/* ============================================
   FUNK FACTORY – Personnalisation CSS (commun)
   Ce fichier n'est JAMAIS écrasé par scraper.py
   Header, footer, bandeaux partagés entre les pages
   Accueil : assets/css/pages/index.css
   ============================================ */

/* Menu / bandeau navigation */
header,
.site-header {
  background: #0d0a14;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Menu compte (style Zalando) */
.header-account {
  position: relative;
  display: flex;
  align-items: center;
}

.header-account__trigger {
  position: relative;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  margin: -8px -4px;
  padding: 12px 10px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.header-account__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 305;
  background: rgba(0, 0, 0, 0.35);
  border: 0;
  padding: 0;
  margin: 0;
}

body.header-account-open .header-account__backdrop {
  display: block;
}

.header-account.is-open .header-account__trigger {
  position: relative;
  z-index: 311;
}

.header-account__panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 310;
  min-width: 300px;
  max-width: min(340px, calc(100vw - 24px));
  padding-top: 12px;
  margin-top: -4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}

.header-account__panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}

.header-account__inner {
  background: #fff;
  border: 2px solid #d0296d;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  padding: 16px;
  overflow: hidden;
}

/* Badge promo compte */
.header-account__badge {
  position: absolute;
  top: 4px;
  right: 2px;
  z-index: 3;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  animation: ff-account-badge-bounce 2.8s ease-in-out infinite;
}

@keyframes ff-account-badge-bounce {
  0%,
  6% {
    top: 4px;
  }
  10% {
    top: -6px;
  }
  14% {
    top: 4px;
  }
  17% {
    top: -2px;
  }
  20% {
    top: 4px;
  }
  24% {
    top: -7px;
  }
  28% {
    top: 4px;
  }
  31% {
    top: -1px;
  }
  34%,
  100% {
    top: 4px;
  }
}

.header-account__promo {
  margin: 0 0 14px;
  padding: 14px 12px 12px;
  background: #fce8f0;
  border-radius: 10px;
}

.header-account__promo-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.header-account__promo-head--success {
  margin-bottom: 8px;
}

.header-account__promo-count {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  background: #d0296d;
  color: #fff;
  border-radius: 50%;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.header-account__promo-count--ok {
  background: #d0296d;
}

.header-account__promo-intro {
  min-width: 0;
  flex: 1;
}

.header-account__promo-title {
  margin: 0 0 2px;
  color: #1a1a1a;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.header-account__promo-lead {
  margin: 0 0 4px;
  color: #1a1a1a;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.header-account__promo-text {
  margin: 0;
  color: #4a4a4a;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.header-account__promo-label {
  display: block;
  margin: 0 0 6px;
  color: #1a1a1a;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.header-account__promo-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #cfc8c0;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.3;
}

.header-account__promo-input:focus {
  outline: 2px solid rgba(208, 41, 109, 0.35);
  border-color: #d0296d;
}

.header-account__promo-error {
  margin: 0 0 8px;
  color: #b00020;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.header-account__promo-submit {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.15s ease;
}

.header-account__promo-submit:hover {
  background: #222;
}

.header-account__promo-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.header-account__promo-legal {
  margin: 10px 0 0;
  color: #6a6a6a;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.header-account__promo-legal a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.header-account__promo-legal a:hover {
  color: #d0296d;
}

.header-account__promo-envelope {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.header-account__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.header-account__cta {
  display: block;
  width: 100%;
  padding: 13px 18px;
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.header-account__cta:hover {
  background: #222;
  color: #fff;
}

.header-account__links {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #ece6dc;
}

.header-account__links li + li {
  margin-top: 2px;
}

.header-account__links a {
  display: block;
  padding: 10px 6px;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.header-account__links a:hover {
  color: #d0296d;
  background: rgba(208, 41, 109, 0.06);
}

.header-account.is-open .header-account__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .header-account:hover .header-account__panel,
  .header-account:focus-within .header-account__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .header-account__panel {
    position: fixed;
    /* Réinitialiser top:100% (sinon = 100% du viewport → panneau hors écran) */
    top: 72px;
    right: 12px;
    left: auto;
    margin-top: 0;
    padding-top: 0;
    min-width: min(280px, calc(100vw - 24px));
  }

  /* Mobile / tactile : uniquement .is-open (pas :hover / :focus-within) */
  .header-account:not(.is-open) .header-account__panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
  }

  .header-account__panel::before {
    display: none;
  }

  body:not(.header-nav-open) nav.main-nav {
    pointer-events: none;
  }

  .header-actions {
    position: relative;
    z-index: 310;
  }

  body.header-account-open .header-account__backdrop {
    z-index: 309;
  }

  .header-account.is-open .header-account__panel {
    z-index: 312;
  }
}

.header-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 101;
}
.header-menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.header-cta-mobile {
  display: none;
}
.header-nav-backdrop {
  display: none;
}

/* Méga-menu Blog (desktop) */
@media (min-width: 901px) {
  nav.main-nav {
    gap: 8px;
  }

  nav.main-nav > a:not(.header-cta-mobile) {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    position: relative;
    border-radius: 999px;
    z-index: 0;
  }

  nav.main-nav > a:not(.header-cta-mobile)::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(208, 41, 109, 0.42);
    opacity: 0;
    transform: scale(0.92);
    transform-origin: center;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: -1;
  }

  nav.main-nav > a:not(.header-cta-mobile):hover::before,
  nav.main-nav > a:not(.header-cta-mobile).active::before {
    opacity: 1;
    transform: scale(1);
  }

  .nav-item--mega {
    position: static;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    position: relative;
    border-radius: 999px;
    z-index: 0;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(208, 41, 109, 0.42);
    opacity: 0;
    transform: scale(0.92);
    transform-origin: center;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: -1;
  }

  .nav-item--mega:hover .nav-link::after,
  .nav-item--mega:focus-within .nav-link::after,
  .nav-item--mega.is-open .nav-link::after,
  .nav-link:hover::after {
    opacity: 1;
    transform: scale(1);
  }

  .nav-link-chevron {
    width: 10px;
    height: 10px;
    opacity: 0.75;
    transition: transform 0.22s ease;
  }

  .nav-item--mega:hover .nav-link-chevron,
  .nav-item--mega:focus-within .nav-link-chevron,
  .nav-item--mega.is-open .nav-link-chevron {
    transform: rotate(180deg);
  }

  .nav-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    /* Pont invisible : évite la fermeture en quittant le lien vers les vignettes */
    padding-top: 18px;
    margin-top: -18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    background: linear-gradient(180deg, #100818 0%, #0d0a14 100%);
    border-bottom: 1px solid rgba(208, 41, 109, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  }

  .nav-mega::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 18px;
  }

  .nav-item--mega:hover .nav-mega,
  .nav-item--mega:focus-within .nav-mega,
  .nav-item--mega.is-open .nav-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-mega-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 32px 22px;
  }

  .nav-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
  }

  .nav-mega-kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d0296d;
  }

  .nav-mega-all {
    font-size: 12px;
    font-weight: 600;
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-mega-all:hover {
    color: #d0296d;
  }

  .nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .nav-mega-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
  }

  .nav-mega-card:hover {
    border-color: rgba(208, 41, 109, 0.45);
    background: rgba(208, 41, 109, 0.08);
    transform: translateY(-2px);
  }

  /* Homme / Femme — contour blanc visible (2px) */
  .nav-mega--homme .nav-mega-card,
  .nav-mega--femme .nav-mega-card {
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-mega--homme .nav-mega-card:hover,
  .nav-mega--femme .nav-mega-card:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.07);
  }

  .nav-mega-card-thumb {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1a1224;
  }

  .nav-mega-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
  }

  .nav-mega-card:hover .nav-mega-card-thumb img {
    transform: scale(1.04);
  }

  .nav-mega-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d1b4e, #6b1a4e);
  }

  .nav-mega-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 10px 12px;
  }

  .nav-mega-card-meta {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
  }

  .nav-mega-card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #f2f2f2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nav-mega-empty {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
  }

  /* Méga-menu Univers — maquette : cartes + sidebar + bandeau */
  .nav-mega--univers {
    background: linear-gradient(180deg, #120a18 0%, #0a0810 100%);
    border-bottom: none;
  }

  .nav-mega-inner--univers {
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 24px 22px;
  }

  .univers-mega__layout {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .univers-mega__cards {
    width: 100%;
  }

  .univers-mega__cards .univers-cards--mega {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    gap: 10px;
  }

  .nav-mega--univers .univers-card {
    border-width: 2px;
    border-radius: 4px;
    overflow: visible;
  }

  .nav-mega--univers .univers-card__media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 2px 2px 0 0;
  }

  .nav-mega--univers .univers-card__body {
    min-height: 118px;
    gap: 10px;
    padding: 16px 14px 14px;
  }

  .nav-mega--univers .univers-card__title {
    display: block;
    font-size: 38px;
    line-height: 0.95;
    letter-spacing: 0.05em;
  }

  .nav-mega--univers .univers-card__tagline {
    display: block;
    font-size: 12px;
    line-height: 1.55;
    white-space: normal;
  }

  .nav-mega--univers .univers-card__arrow {
    display: block;
    margin-top: auto;
    padding-top: 6px;
    font-size: 17px;
  }

  .univers-mega__band {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    margin: 20px 0 0;
    min-height: 106px;
    border: 2px solid #c9a84a;
    border-radius: 10px;
    background: #ebe0c8;
  }

  .univers-mega__band-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    margin: 0;
    line-height: 0;
    pointer-events: none;
    border-radius: 8px;
    overflow: hidden;
  }

  .univers-mega__band-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .univers-mega__band-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 22px;
    min-height: 106px;
  }

  .univers-mega__band-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 520px;
    padding-left: 220px;
  }

  .univers-mega__band-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #1a1a1a;
  }

  .univers-mega__band-title span {
    color: #d0296d;
  }

  .univers-mega__band-text {
    font-size: 12px;
    line-height: 1.45;
    color: #4a4035;
  }

  .univers-mega__band-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    border-radius: 6px;
    background: #d0296d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s;
  }

  .univers-mega__band-btn:hover {
    background: #b8225c;
    transform: translateY(-1px);
  }

  .univers-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .univers-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    background: #0c0c12;
    border: 2px solid transparent;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .univers-card--pink {
    border-color: #d0296d;
  }

  .univers-card--gold {
    border-color: #c9a84a;
  }

  .univers-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  }

  .univers-card__media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #050508;
  }

  .univers-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.35s ease;
  }

  .univers-card:hover .univers-card__media img {
    transform: scale(1.03);
  }

  .univers-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 118px;
    padding: 18px 16px 16px;
    background: #0a0a10;
  }

  /* Styles par défaut (pages Univers) — le méga-menu surcharge ci-dessus */
  .univers-card__title {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #fff;
  }

  .univers-card__tagline {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: #c9a84a;
    white-space: normal;
  }

  .univers-card__arrow {
    display: block;
    margin-top: auto;
    font-size: 18px;
    line-height: 1;
    color: #d0296d;
  }
}

@media (max-width: 900px) {
  .header-menu-btn {
    display: flex;
    order: 3;
  }
  .logo-wrap {
    order: 1;
    flex: 1;
    min-width: 0;
  }
  .header-actions {
    order: 2;
    gap: 8px;
  }
  .header-cta-desktop {
    display: none !important;
  }
  .header-inner {
    height: 58px;
    padding: 0 16px;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .logo-wrap img {
    height: 44px;
    width: auto;
    max-width: 100px;
  }
  nav.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(300px, 88vw);
    z-index: 100;
    flex: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 76px 18px 24px;
    background: #0d0a14;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
    overflow-y: auto;
  }
  body.header-nav-open nav.main-nav {
    transform: translateX(0);
    visibility: visible;
  }
  nav.main-nav a:not(.header-cta-mobile) {
    font-size: 13px;
    font-weight: 600;
    color: #e8e8e8;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: normal;
    letter-spacing: 0.05em;
  }
  nav.main-nav a:not(.header-cta-mobile):hover {
    color: #fff;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    color: #e8e8e8;
    padding: 10px 0 6px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .nav-link-chevron {
    display: none;
  }

  .nav-item--mega {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2px;
  }

  .nav-mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-mega--femme,
  .nav-mega--homme {
    display: none;
  }

  .nav-item--mega:has(.nav-mega--femme) .nav-link,
  .nav-item--mega:has(.nav-mega--homme) .nav-link {
    padding-bottom: 10px;
  }

  .nav-mega:not(.nav-mega--univers):not(.nav-mega--femme):not(.nav-mega--homme) .nav-mega-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 10px;
    padding: 0 0 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-mega:not(.nav-mega--univers):not(.nav-mega--femme):not(.nav-mega--homme) .nav-mega-kicker {
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c9a84a;
  }

  .nav-mega:not(.nav-mega--univers):not(.nav-mega--femme):not(.nav-mega--homme) .nav-mega-all {
    font-size: 11px;
    color: #fff;
    text-decoration: none;
  }

  .nav-mega-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 8px;
  }

  .nav-mega-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-mega-card-thumb {
    display: none;
  }

  .nav-mega-card-body {
    padding: 0;
    min-width: 0;
    flex: 1;
  }

  .nav-mega-card-meta {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 2px;
  }

  .nav-mega-card-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: #eee;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nav-mega--univers .nav-mega-inner--univers {
    padding: 0;
  }

  .nav-mega--univers .univers-mega__layout {
    width: 100%;
  }

  /* Menu mobile : mêmes cartes univers que collection homme/femme, en plus compact */
  .nav-mega--univers .univers-cards--mega {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-bottom: 8px;
  }

  .nav-mega--univers .univers-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-radius: 8px;
    border: 2px solid transparent;
    box-sizing: border-box;
    text-decoration: none;
    overflow: hidden;
    background: #0a0a10;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  .nav-mega--univers .univers-card--pink {
    border-color: #d0296d;
    box-shadow: 0 0 0 1px rgba(208, 41, 109, 0.35);
  }

  .nav-mega--univers .univers-card--gold {
    border-color: #c9a84a;
    box-shadow: 0 0 0 1px rgba(201, 168, 74, 0.35);
  }

  .nav-mega--univers .univers-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 10px 8px 6px;
    background: #0a0a10;
  }

  .nav-mega--univers .univers-card__media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .nav-mega--univers .univers-card__body {
    flex: 1 1 auto;
    min-height: 72px;
    padding: 0 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #0a0a10;
  }

  .nav-mega--univers .univers-card__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #fff;
  }

  .nav-mega--univers .univers-card__tagline {
    font-size: 10px;
    line-height: 1.35;
    color: #c9a84a;
  }

  .nav-mega--univers .univers-card__arrow {
    margin-top: auto;
    padding-top: 4px;
    font-size: 14px;
    color: #fff;
  }

  .nav-mega--univers .univers-mega__band {
    margin-top: 10px;
    min-height: 0;
    border: 1px solid #c9a84a;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-mega--univers .univers-mega__band-bg {
    display: none;
  }

  .nav-mega--univers .univers-mega__band-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 10px;
    gap: 8px;
    min-height: 0;
  }

  .nav-mega--univers .univers-mega__band-copy {
    padding-left: 0;
    max-width: none;
    width: 100%;
  }

  .nav-mega--univers .univers-mega__band-title {
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
  }

  .nav-mega--univers .univers-mega__band-title span {
    color: #d0296d;
  }

  .nav-mega--univers .univers-mega__band-text {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-mega--univers .univers-mega__band-btn {
    width: 100%;
    justify-content: center;
    font-size: 10px;
    padding: 9px 12px;
  }

  .header-cta-mobile {
    display: flex !important;
    margin-top: 14px;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-bottom: none;
    border-radius: 999px;
    padding: 8px 14px;
    line-height: 1.25;
    font-size: 9.5px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: normal;
    width: 100%;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .header-nav-backdrop.is-visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
  }
  body.header-nav-open .header-menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.header-nav-open .header-menu-bar:nth-child(2) {
    opacity: 0;
  }
  body.header-nav-open .header-menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .announcement {
    font-size: 11px;
    padding: 6px 12px;
    gap: 12px;
  }
  .header-inner {
    height: 52px;
    padding: 0 12px;
  }
  nav.main-nav {
    padding-top: 68px;
  }
  nav.main-nav a:not(.header-cta-mobile) {
    font-size: 12px;
    padding: 8px 0;
  }
  .nav-link {
    font-size: 12px;
    padding: 8px 0 5px;
  }
  .header-cta-mobile {
    font-size: 9px;
    padding: 7px 12px;
    max-width: 200px;
  }
}

/* Logo footer – taille */
.footer-brand-logo,
.site-logo.footer-brand-logo {
  height: 56px;
  width: auto !important;
  max-width: 130px;
  object-fit: contain;
}

/* Bandeau social – image responsive (PageSpeed) */
.bandeau-social {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 48px 40px;
  background: #ebe6dc;
}
.bandeau-social-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  margin: 0;
  line-height: 0;
}
.bandeau-social-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bandeau-social-inner {
  position: relative;
  z-index: 1;
}

/* @funkfactory – couleur + trait Grunge */
.bandeau-handle {
  color: #d0296d;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.bandeau-handle::after {
  content: '';
  display: block;
  width: 100%;
  height: 18px;
  background-image: url('../../img/Grunge-underline.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -4px;
  left: 0;
}

@media (max-width: 768px) {
  .bandeau-social {
    min-height: 0;
    padding: 20px 16px;
  }

  .bandeau-social-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .bandeau-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bandeau-suivez {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .bandeau-handle {
    font-size: 22px;
    margin-bottom: 6px;
    padding-bottom: 10px;
  }

  .bandeau-handle::after {
    height: 12px;
    bottom: -2px;
  }

  .bandeau-desc {
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.45;
  }

  .bandeau-icons {
    gap: 10px;
    justify-content: center;
  }

  .bandeau-icons img {
    width: 24px;
    height: 24px;
  }

  .bandeau-photos {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .bandeau-photo {
    outline-width: 2px;
  }
}

@media (max-width: 400px) {
  .bandeau-social {
    padding: 16px 12px;
  }

  .bandeau-social-inner {
    gap: 12px;
  }

  .bandeau-handle {
    font-size: 20px;
  }

  .bandeau-photos {
    gap: 3px;
    max-width: 100%;
  }

  .bandeau-photo {
    outline-width: 1px;
  }
}

/* Footer mobile — compact, centré (même esprit que bandeau social) */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
    padding: 20px 16px 14px;
    text-align: center;
  }

  .footer-brand,
  .footer-newsletter-col {
    grid-column: 1 / -1;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand-logo,
  .site-logo.footer-brand-logo {
    height: 48px;
    width: auto !important;
    max-width: 110px;
    margin-bottom: 6px;
  }

  .footer-tagline {
    font-size: 11px;
    line-height: 1.45;
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-tagline br {
    display: none;
  }

  .footer-newsletter-col {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-newsletter-col h2,
  .footer-col h2 {
    margin-bottom: 6px;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #f2f2f2;
  }

  .footer-tagline {
    color: #d0d0d0;
  }

  .newsletter-lead {
    font-size: 11px;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #d0d0d0;
  }

  .newsletter-form {
    gap: 5px;
  }

  .newsletter-input {
    padding: 8px 10px;
    font-size: 12px;
  }

  .newsletter-funky-hint {
    font-size: 10px;
    color: #c4c4c4;
  }

  .newsletter-funky-hint strong {
    color: #f0f0f0;
  }

  .newsletter-disclaimer {
    display: none;
  }

  .newsletter-btn {
    align-self: stretch;
    padding: 8px 14px;
    font-size: 10px;
    width: 100%;
  }

  .footer-col {
    text-align: left;
  }

  .footer-col a {
    font-size: 11px;
    line-height: 1.35;
    color: #fff;
    padding: 3px 0;
    margin-bottom: 7px;
    min-height: 0;
    display: block;
  }

  .footer-col .footer-cookie-link {
    color: #fff;
    font-size: 11px;
    padding: 3px 0;
    margin-bottom: 7px;
    min-height: 0;
    display: block;
    text-align: left;
  }

  .footer-bottom {
    padding: 10px 16px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .footer-copy,
  .footer-love {
    font-size: 10px;
    color: #fff;
  }

  .footer-tagline,
  .newsletter-lead {
    color: #fff;
  }
}

@media (max-width: 400px) {
  .footer-main {
    padding: 16px 12px 12px;
    gap: 10px 8px;
  }

  .footer-brand-logo,
  .site-logo.footer-brand-logo {
    height: 42px;
    width: auto !important;
    max-width: 100px;
  }

  .footer-tagline {
    font-size: 10px;
  }

  .newsletter-lead {
    font-size: 10px;
  }

  .footer-col a,
  .footer-col .footer-cookie-link {
    font-size: 10px;
    margin-bottom: 6px;
    min-height: 0;
    padding: 2px 0;
  }
}
