@font-face {
  font-family: 'Gilroy';
  src:
    local('Gilroy Light'),
    local('Gilroy-Light'),
    local('Gilroy-Thin'),
    url('../fonts/Gilroy-Medium.woff2') format('woff2'),
    url('../fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src:
    local('Gilroy Regular'),
    local('Gilroy-Regular'),
    local('Gilroy'),
    url('../fonts/Gilroy-Medium.woff2') format('woff2'),
    url('../fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src:
    local('Gilroy Medium'),
    local('Gilroy-Medium'),
    local('Gilroy'),
    url('../fonts/Gilroy-Medium.woff2') format('woff2'),
    url('../fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* We do not define remote webfont files for weights 600 (SemiBold), 700 (Bold), and 800 (ExtraBold)
   to allow:
   1. The browser to load the REAL local Gilroy SemiBold/Bold files if the client has them installed on their machine.
   2. The browser to automatically apply high-quality synthetic bolding to Gilroy-Medium if the font is not installed locally.
*/
@font-face {
  font-family: 'Gilroy';
  src:
    local('Gilroy SemiBold'), local('Gilroy-SemiBold'), local('Gilroy Medium'),
    local('Gilroy');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src:
    local('Gilroy Bold'), local('Gilroy-Bold'), local('Gilroy Medium'),
    local('Gilroy');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src:
    local('Gilroy ExtraBold'), local('Gilroy-ExtraBold'), local('Gilroy-Bold'),
    local('Gilroy');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ══════════════════════════════════════════════════════════
   PM Global — Shared styles across ALL pages
   Banner, Nav, Footer, Cart Drawer, Cookie Popup,
   Typography, Grain Texture, Utilities
   ══════════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────── *
 * Aligned pixel-perfect with the client mockups (exigence-client/*.html).
 * Reference: index.html :root block (lines 23-39).
 *
 * Variables marked [custom] are theme-specific (not in mockup) and kept
 * for components that exist only in PrestaShop integration (cart drawer,
 * sticky footer bar, panel surfaces, etc.).
 */
:root {
  --bg: #ffffff;
  --bg2: #f3f1ec;
  --dk: #0b0e15;
  --dk2: #13161f;
  --text: #0c0c0c;
  --muted: #787878;
  --border: #e2dfda;
  --gold: #b08a26;
  --tr: 0.38s cubic-bezier(0.25, 0.1, 0.25, 1);
  --g: clamp(16px, 3.5vw, 56px);
  --mw: 1540px;
  --nav-h: 55px;
  --fd: 'Bebas Neue', sans-serif;
  --fb: 'Gilroy', sans-serif;
  --fi: 'Cormorant Garamond', serif;

  /* [custom] Theme-only variables (not in mockup) */
  --panel: #f2efe8; /* panel surfaces */
  --clay: #b84a2e; /* accent red */
  --success: #2d7a4f; /* success green */
  --white: #ffffff;
  --hover-bg: #edeae2;
  --banner-h: 32px; /* announcement banner height */
  --fbar-h: 48px; /* sticky footer bar height */

  /* [custom] Overrides for legacy main.css globals that clash with mockup */
  --default-color: #1a1916;
  --heading-color: #1a1916;
  --background-color: #fafaf8;
}

/* Removed HOMEPAGE SPECIFIC OVERRIDES for global unification */

/* ── RESET (supplement to theme reset) ───────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

a:focus {
  outline: unset;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── GRAIN TEXTURE ──────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.024;
}

/* ── FOCUS VISIBLE ────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── ANNOUNCEMENT BANNER ───────────────────────── */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 910;
  height: var(--banner-h);
  background: var(--dk);
  overflow: hidden;
  transition:
    height 0.3s,
    opacity 0.3s;
  /* Override main.css .banner { display:inline-block; padding-left:100%; animation:scroll... } */
  display: block;
  padding-left: 0;
  animation: none;
}
.banner.hidden,
.banner.gone {
  height: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.banner__ticker,
.banner__track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 44px;
  overflow: hidden;
}
.banner span {
  padding-right: 0;
}
.banner__msg {
  position: absolute;
  top: 50%;
  left: 0;
  white-space: nowrap;
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transform: translateY(-50%) translateX(100vw);
}
.banner__msg.run,
.banner__msg.go {
  animation: banScroll 12s linear forwards;
}
@keyframes banScroll {
  from {
    transform: translateY(-50%) translateX(100vw);
  }
  to {
    transform: translateY(-50%) translateX(calc(-100% - 40px));
  }
}
@keyframes bannerTick {
  from {
    transform: translateY(-50%) translateX(100vw);
  }
  to {
    transform: translateY(-50%) translateX(calc(-100% - 40px));
  }
}
.banner__close {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  z-index: 2;
}
.banner__close:hover {
  color: rgba(255, 255, 255, 0.8);
}
.banner__close svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ── NAV — COMMON ──────────────────────────────── */
.nav {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  z-index: 950; /* au-dessus du menu mobile (920) ET du banner (910) */
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--g);
  transition:
    background var(--tr),
    border-color var(--tr),
    top 0.3s ease,
    transform 0.38s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 1px 16px rgba(11, 11, 9, 0.08);
}
.nav--hidden {
  transform: translateY(-100%);
}

/* ── NAV — INNER PAGES (always solid) ──────────── */
/* FIX iOS/Android : backdrop-filter sur un élément position:fixed casse le scroll.
   Solution : blur porté par le ::before, nav lui-même sans backdrop-filter. */
.nav--solid {
  background: rgba(250, 250, 248, 0.97);
  border-bottom: 1px solid var(--border);
  /* overflow:hidden retiré — clippait .nav__lang-drop ; blur contenu via clip-path sur ::before */
}
.nav--solid::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
  pointer-events: none;
  clip-path: inset(
    0
  ); /* contient le blur sans clipper les enfants positionnés */
}

/* ── NAV — HOMEPAGE (transparent → solid on scroll) ── */
.nav--hero .nav__logo img {
  filter: invert(1) brightness(10);
  transition: filter var(--tr);
}
.nav--hero.lit .nav__logo img {
  filter: invert(0) brightness(1);
}
.nav--hero.lit {
  background: rgba(250, 250, 248, 0.97);
  border-bottom: 1px solid var(--border);
  /* overflow:hidden retiré — même fix que .nav--solid */
}
.nav--hero.lit::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
  pointer-events: none;
  clip-path: inset(0);
}
/* Header accueil : transparent au repos (annule la règle .nav globale héritée
   du bloc "BLOG & ARTICLE STYLES"). Reste solide une fois scrollé (.lit). */
.nav--hero:not(.lit) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  overflow: visible;
}

.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: clamp(13px, 1.1vw, 16px);
  width: auto;
  display: block;
  transition:
    filter var(--tr),
    opacity 0.22s ease;
}
/* Logo disparaît quand le menu mobile est ouvert (burger à X visible dans la nav par-dessus) */
.nav__burger.open ~ .nav__logo img {
  opacity: 0;
  pointer-events: none;
}

/* Nav Links */
.nav__links {
  display: flex;
  gap: clamp(20px, 2.8vw, 44px);
  padding: 0;
  margin: 0;
}
.nav__links a {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--tr);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s ease;
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
.nav__links a.active::after {
  transform: scaleX(1);
}

/* Disable focus outline on nav elements to match mockup design */
.nav a:focus,
.nav a:active,
.nav a:focus-visible,
.nav button:focus,
.nav button:active,
.nav button:focus-visible,
.nav__lang:focus,
.nav__lang:active,
.nav__lang:focus-visible,
.mob-menu a:focus,
.mob-menu a:active,
.mob-menu a:focus-visible,
.mob-menu button:focus,
.mob-menu button:active,
.mob-menu button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Inner pages link colors */
.nav--solid .nav__links a {
  color: var(--muted);
}
.nav--solid .nav__links a:hover {
  color: var(--text);
}
.nav--solid .nav__links a.active {
  color: var(--dk);
}

/* Homepage link colors */
.nav--hero .nav__links a {
  color: rgba(255, 255, 255, 0.65);
}
.nav--hero .nav__links a:hover {
  color: #fff !important;
}
.nav--hero.lit .nav__links a {
  color: var(--muted);
}
.nav--hero.lit .nav__links a:hover {
  color: var(--text) !important;
}

/* Nav Icons */
.nav__icons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
}
.nav__icon {
  transition: color var(--tr);
  display: flex;
  cursor: pointer;
}
.nav__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Inner pages icon colors */
.nav--solid .nav__icon {
  color: var(--muted);
}
.nav--solid .nav__icon:hover {
  color: var(--text) !important;
}

/* Homepage icon colors */
.nav--hero .nav__icon {
  color: rgba(255, 255, 255, 0.65);
}
.nav--hero .nav__icon:hover {
  color: #fff !important;
}
.nav--hero.lit .nav__icon {
  color: var(--muted);
}
.nav--hero.lit .nav__icon:hover {
  color: var(--text) !important;
}

/* Cart badge */
.nav__cart {
  position: relative;
}
.nav__cart-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #c0392b;
  color: #fff;
  font-family: var(--fb);
  font-size: 9px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  border-radius: 999px;
  pointer-events: none;
  display: block;
}

/* Language switcher */
.nav__lang {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--tr);
}
.nav__lang svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav__lang-drop {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(250, 250, 248, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  min-width: 80px;
  padding: 6px 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.82) translateY(-8px);
  transform-origin: top right;
  transition:
    opacity 0.14s ease,
    transform 0.14s ease-in;
}
.nav__lang.open .nav__lang-drop {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  transition:
    opacity 0.18s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__lang-drop a {
  display: block;
  padding: 8px 16px;
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--tr);
}
.nav__lang-drop a:hover,
.nav__lang-drop a.active {
  color: var(--dk);
}

/* Inner pages lang colors */
.nav--solid .nav__lang {
  color: var(--muted);
}
.nav--solid .nav__lang:hover {
  color: var(--text) !important;
}

/* Homepage lang colors */
.nav--hero .nav__lang {
  color: rgba(255, 255, 255, 0.65);
}
.nav--hero .nav__lang:hover {
  color: #fff !important;
}
.nav--hero.lit .nav__lang {
  color: var(--muted);
}
.nav--hero.lit .nav__lang:hover {
  color: var(--text) !important;
}

/* ── HAMBURGER ────────────────────────────────── */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  /* Remove from grid flow on desktop so 3-col grid works with logo|links|icons */
  position: absolute;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  transition:
    background var(--tr),
    transform var(--tr),
    opacity var(--tr);
  transform-origin: center;
}
.nav--solid .nav__burger span {
  background: var(--text);
}
.nav--hero .nav__burger span {
  background: rgba(255, 255, 255, 0.75);
}
.nav--hero.lit .nav__burger span {
  background: var(--text);
}

.nav__burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1058px) {
  .nav__links {
    display: none;
  }
  /* Show burger as grid column 1 (left), restore to grid flow */
  .nav__burger {
    display: flex;
    position: static;
  }
  /* Center the logo */
  .nav__logo {
    justify-content: center;
  }
  /* Hide desktop-only icons on mobile */
  .nav__desk-only {
    display: none !important;
  }
  /* Cart stays on the right */
  .nav__icons {
    justify-content: flex-end;
  }
}

/* ── MOBILE MENU (style index-mobile (1) : slide depuis la gauche) ── */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--dk);
  z-index: 920; /* au-dessus du banner (910), en-dessous de la nav (950) : le burger-X reste visible */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__mobile.open {
  transform: translateX(0);
  pointer-events: auto;
}

/* Liens + séparateurs : arrivent en cascade depuis la gauche */
.nav__mobile-link,
.nav__mobile-sep,
.nav__mobile-icons,
.nav__mobile-lang {
  opacity: 0;
  transform: translateX(-28px);
  transition-delay: 0s; /* pas de délai au closing → snap instantané */
}
.nav__mobile.open .nav__mobile-link,
.nav__mobile.open .nav__mobile-sep,
.nav__mobile.open .nav__mobile-icons,
.nav__mobile.open .nav__mobile-lang {
  opacity: 1;
  transform: translateX(0);
}

/* Délais cascade à l'ouverture uniquement */
.nav__mobile.open .nav__mobile-link:nth-child(2) {
  transition-delay: 0.12s;
}
.nav__mobile.open .nav__mobile-link:nth-child(4) {
  transition-delay: 0.17s;
}
.nav__mobile.open .nav__mobile-link:nth-child(6) {
  transition-delay: 0.22s;
}
.nav__mobile.open .nav__mobile-link:nth-child(8) {
  transition-delay: 0.27s;
}
.nav__mobile.open .nav__mobile-link:nth-child(10) {
  transition-delay: 0.32s;
}
.nav__mobile.open .nav__mobile-link:nth-child(12) {
  transition-delay: 0.37s;
}
.nav__mobile.open .nav__mobile-link:nth-child(14) {
  transition-delay: 0.42s;
}
.nav__mobile.open .nav__mobile-icons {
  transition-delay: 0.47s;
}
.nav__mobile.open .nav__mobile-lang {
  transition-delay: 0.52s;
}

.nav__mobile-link {
  font-family: var(--fd);
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 7px 0;
  display: block;
  min-height: 44px;
  text-align: center;
  text-decoration: none;
  transition:
    color var(--tr),
    opacity 0.35s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Premier lien : marge haute pour ne pas chevaucher la nav (52px) + banner (28px) = 80px */
.nav__mobile-link:nth-child(2) {
  margin-top: 80px;
}
.nav__mobile-link:hover,
.nav__mobile-link:active {
  color: #fff;
}
.nav__mobile-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.06);
  margin: 4px auto;
  transition:
    opacity 0.35s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__mobile-icons {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  transition:
    opacity 0.35s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__mobile-icons a {
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--tr);
}
.nav__mobile-icons a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.nav__mobile-lang {
  display: flex;
  gap: 0;
  margin-top: 28px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: center;
  transition:
    opacity 0.35s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__mobile-lang a {
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  padding: 10px 20px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.nav__mobile-lang a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.nav__mobile-lang a.active {
  color: #fff;
}

/* Close button intégré dans le panneau — masqué.
   Le burger-X dans la nav (z-index 950, au-dessus du menu 920) joue ce rôle. */
.nav__mobile-close {
  display: none;
}

/* ── NAV : état quand le menu mobile est ouvert ──────── */
/* Le panneau est à z-index 920, la nav reste à 950 par-dessus.
   On rend la nav transparente pour que seuls le burger-X + icônes soient visibles. */
.nav.menu-is-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.nav.menu-is-open .nav__burger span {
  background: rgba(255, 255, 255, 0.85) !important;
}
.nav.menu-is-open .nav__icon {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ── PUSH (spacer for fixed banner+nav) ────────── */
.pm-push {
  height: calc(var(--banner-h) + var(--nav-h));
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0 var(--g) clamp(56px, 8vh, 96px);
  background: transparent;
  color: var(--text);
}
.hero__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(11, 14, 21, 0.02) 0%,
    rgba(11, 14, 21, 0.18) 40%,
    rgba(11, 14, 21, 0.9) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--mw);
  margin: 0 auto;
  width: 100%;
}
.hero__h1 {
  font-family: var(--fd);
  font-weight: 400;
  font-size: clamp(64px, 10.5vw, 160px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 36px;
  opacity: 0;
  animation: heroUp 0.9s 0.35s ease forwards;
}
.hero__h1 span {
  display: block;
}
.hero__h1 em {
  font-style: normal;
  font-size: 0.76em;
  opacity: 0.58;
  letter-spacing: 0.02em;
}
/* Override main.css .hero h1 (specificity 0,1,1 > .hero__h1 0,1,0) */
.hero h1 {
  font-family: var(--fd);
  font-weight: 400;
  font-size: clamp(64px, 10.5vw, 160px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 36px;
  max-width: none;
}
.hero__sub {
  font-family: var(--fi);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 18px;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroUp 0.7s 0.52s ease forwards;
}
/* Override main.css .hero p (specificity 0,1,1 > .hero__sub 0,1,0) */
.hero p {
  font-family: var(--fi);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  margin: 18px 0 28px;
}
.hero__ctas {
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0;
  animation: heroUp 0.7s 0.72s ease forwards;
}
.hero__cta {
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 130px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 12px 24px;
  background: transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.26s ease,
    border-color 0.26s ease,
    color 0.26s ease;
  overflow: hidden;
}
/* Override main.css .hero a / .hero small (specificity 0,1,1) */
.hero a {
  font-size: 12px;
  font-weight: 300;
}
.hero small {
  font-size: 12px;
  font-weight: 300;
}
.hero__cta:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
.hero__cta svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.22s ease 0.06s,
    transform 0.22s ease 0.06s,
    max-width 0.22s ease,
    margin-left 0.22s ease;
  overflow: hidden;
}
.hero__cta:hover svg {
  opacity: 1;
  max-width: 16px;
  margin-left: 9px;
  transform: translateX(0);
}
.hero__tagline {
  margin-top: clamp(24px, 3vw, 36px);
  font-family: var(--fi);
  font-size: clamp(11px, 1vw, 13px);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.hero__tagline span {
  display: block;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: clamp(28px, 5vh, 44px);
  right: var(--g);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroUp 0.6s 0.85s ease forwards;
}
.hero__scroll span {
  font-family: var(--fb);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  to {
    top: 100%;
  }
}
@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── MARQUEE ──────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  background: var(--bg);
  cursor: default;
  user-select: none;
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  /* animation: marqueeScroll 52s linear infinite; */
}
/* .marquee:hover .marquee__track {
  animation-play-state: paused;
} */
.marquee__item {
  font-family: var(--fd);
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0 clamp(22px, 3vw, 44px);
}
.marquee__sep {
  color: var(--gold);
  font-size: 7px;
  line-height: 13.3px;
  display: block;
}
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── Scroll cue (mobile only — centered bottom line) ─ */
.hero__scroll-cue {
  display: none;
}

/* ── HERO + MARQUEE — RESPONSIVE ──────────────── */
@media (max-width: 768px) {
  .hero {
    padding-bottom: clamp(88px, 14vh, 120px);
  }
  .hero__h1 {
    font-size: clamp(72px, 22vw, 98px);
  }
  .hero__h1 em {
    font-size: 0.78em;
    opacity: 0.52;
    letter-spacing: 0.02em;
  }
  .hero__sub {
    font-size: 13px;
    margin-top: 14px;
    margin-bottom: 26px;
    line-height: 1.68;
  }
  .hero__scroll {
    display: none;
  }
  .hero__scroll-cue {
    display: block;
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0;
    animation: heroUp 0.5s 0.9s ease forwards;
  }
  .hero__scroll-cue .hero__scroll-line {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
  }
  .hero__scroll-cue .hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    animation: scrollLine 2s ease infinite;
  }
}

/* ── FOOTER ───────────────────────────────────── */
.pm-footer {
  background: var(--dk);
  padding: clamp(52px, 6vw, 84px) var(--g) 28px;
  border: none;
}
.footer__inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: clamp(40px, 6vw, 110px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}
.footer__brand-name {
  font-family: var(--fd);
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 22px;
}
.footer__nl-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  gap: 8px;
  margin-bottom: 18px;
}
.footer__nl-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font: 300 9.5px/1 var(--fb);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}
.footer__nl-input::placeholder {
  color: rgba(255, 255, 255, 0.16);
}
.footer__nl-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.28);
  display: flex;
  transition: color 0.18s;
}
.footer__nl-btn:hover {
  color: #fff;
}
.footer__nl-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.footer__desc {
  font: 300 11px/1.95 var(--fb);
  color: rgba(255, 255, 255, 0.18);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 48px);
}
.fch {
  font: 400 9px/1 var(--fb);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 14px;
}
.fcol ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.fcol ul li {
  margin-bottom: 9px;
}
.fcol ul a {
  font: 300 11px/1 var(--fb);
  color: rgba(255, 255, 255, 0.36);
  transition: color 0.18s;
}
.fcol ul a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer__bot {
  max-width: var(--mw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__tagline {
  font: 300 italic 11px/1 var(--fi);
  color: rgba(255, 255, 255, 0.16);
}
.fcopy {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.1);
}

/* ── CART DRAWER ─────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgba(11, 11, 9, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  cursor: pointer;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
/* "Continuer vos achats" hint on the left of the overlay (from maquette) */
.cart-continue {
  position: absolute;
  left: clamp(28px, 5vw, 72px);
  top: 50%;
  transform: translateY(-50%) translateX(-12px);
  opacity: 0;
  transition:
    opacity 0.3s 0.25s,
    transform 0.3s 0.25s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.cart-overlay.open .cart-continue {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
.cart-continue__arrow {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-continue__arrow svg {
  width: 18px;
  height: 10px;
  stroke: rgba(250, 250, 248, 0.4);
  stroke-width: 1;
  fill: none;
  flex-shrink: 0;
}
.cart-continue__msg {
  font-family: var(--fi);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  color: rgba(250, 250, 248, 0.72);
  line-height: 1.3;
}
@media (max-width: 767px) {
  .cart-continue {
    display: none;
  }
}

.cart-drawer {
  position: fixed;
  top: var(--banner-h);
  right: 0;
  bottom: 0;
  z-index: 999999;
  width: clamp(340px, 38vw, 520px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition:
    transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.3s ease;
}
@media (max-width: 900px) {
  .cart-drawer {
    width: max(82vw, 300px);
  }
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer__head {
  flex-shrink: 0;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.cart-drawer__title {
  font: 400 10px/1 var(--fb);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dk);
}
.cart-drawer__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--dk);
  color: var(--bg);
  font: 400 9px/1 var(--fb);
  padding: 0 5px;
  margin-left: 8px;
}
.cart-drawer__close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--dk);
  font-size: 26px;
  line-height: 1;
  transition: opacity 0.16s;
}
.cart-drawer__close:hover {
  opacity: 0.4;
}
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 0;
  position: relative;
}
/* Premium Cart Drawer Loading Overlay */
.cart-drawer.loading .cart-drawer__body {
  pointer-events: none;
}
.cart-drawer.loading .cart-drawer__body > * {
  opacity: 0.44;
  filter: blur(1.5px);
  transition:
    opacity 0.25s ease,
    filter 0.25s ease;
}
.cart-drawer.loading .cart-drawer__body::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(26, 25, 22, 0.15);
  border-top-color: var(--dk);
  border-radius: 50%;
  animation: pmSpinner 0.6s linear infinite;
  z-index: 10;
}
@keyframes pmSpinner {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 14px;
  padding: 40px;
}
@keyframes bagSway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  28% {
    transform: rotate(-4deg);
  }
  72% {
    transform: rotate(3.5deg);
  }
}
.cart-empty__icon {
  width: 56px;
  height: 64px;
  stroke: var(--border);
  stroke-width: 1;
  fill: none;
  transform-origin: 50% 5px;
  animation: bagSway 4.2s ease-in-out 0.4s infinite;
}
/* .cart-empty p {
  font: 300 10px/1.7 var(--fb);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
} */
.cart-empty p {
  font-family: var(--fi);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: clamp(20px, 2.5vw, 28px);
  max-width: 400px;
}
.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}
.cart-item__img {
  width: 72px;
  height: 96px;
  flex-shrink: 0;
  background: var(--bg2);
  overflow: hidden;
}
.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
}
.cart-item__name {
  font: 600 12px/1.2 var(--fb);
  color: var(--dk);
}
.cart-item__meta {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.cart-item__price {
  font: 400 16px/1 var(--fd);
  color: var(--dk);
}
.cart-item__qty {
  display: flex;
  align-items: center;
}
.cart-qty__btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--dk);
  transition: background 0.14s;
  flex-shrink: 0;
  line-height: 1;
}
.cart-qty__btn:hover {
  background: var(--bg2);
}
.cart-qty__val {
  min-width: 32px;
  text-align: center;
  font: 400 11px/1 var(--fb);
  color: var(--dk);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__remove {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.16s;
}
.cart-item__remove:hover {
  color: #b84a2e;
}
.cart-drawer__footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.cart-subtotal__label {
  font: 300 9.5px/1 var(--fb);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cart-subtotal__amount {
  font: 400 22px/1 var(--fd);
  color: var(--dk);
}
.cart-shipping {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.cart-returns {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.cart-returns svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.3;
  fill: none;
  flex-shrink: 0;
}
.cart-checkout,
.cart-applepay,
.mollie-cart-applepay {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cart-checkout {
  background: #000;
  color: #fff;
  font: 400 10px/1 var(--fb);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 9px;
  transition: color 0.34s;
  border: 1px solid #000;
}
.cart-checkout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateX(-102%);
  transition: transform 0.42s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 0;
}
.cart-checkout:hover::before {
  transform: translateX(0);
}
.cart-checkout:hover {
  color: #000;
}
.cart-checkout span {
  position: relative;
  z-index: 1;
}

.cart-applepay,
.mollie-cart-applepay {
  background: #000;
  color: #fff;
  gap: 7px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    color 0.34s,
    box-shadow 0.34s;
  border: 1px solid #000;
}
.cart-applepay::before,
.mollie-cart-applepay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateX(-102%);
  transition: transform 0.42s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 0;
}
.cart-applepay:hover::before,
.mollie-cart-applepay:hover::before {
  transform: translateX(0);
}
.cart-applepay:hover,
.mollie-cart-applepay:hover {
  color: #000;
}
.cart-applepay:active,
.mollie-cart-applepay:active {
  transform: scale(0.99);
}
.cart-applepay__inner,
.mollie-cart-applepay__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cart-applepay__logo,
.mollie-cart-applepay__logo {
  width: 17px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
  margin-top: -1px;
}

@keyframes badgePop {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.7);
  }
  60% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
.nav__cart-badge.pop {
  animation: badgePop 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* ── Check-in animation (for Add to cart) ── */
@keyframes checkIn {
  from {
    opacity: 0;
    transform: scale(0) rotate(-20deg);
  }
  65% {
    transform: scale(1.3) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
.check-in {
  animation: checkIn 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

/* ── COOKIE POPUP — EDITION TENNIS ── */
.ck-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.4s ease;
}
.ck-overlay.show {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}
.ck-popup {
  background: #f5ede0;
  border: 1px solid rgba(194, 80, 42, 0.18);
  width: 100%;
  max-width: 880px;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ck-overlay.show .ck-popup {
  transform: translateY(0);
  opacity: 1;
}
.ck-score {
  background: #c2502a;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ck-score__label {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.ck-score__board {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  flex-shrink: 0;
}
.ck-score__cell {
  font: 400 12px/1 var(--fd);
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.72);
}
.ck-score__cell:last-child {
  border-right: none;
}
.ck-score__cell.hi {
  color: #fff;
}
.ck-close {
  position: absolute;
  top: 52px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(194, 80, 42, 0.45);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c2502a;
  transition:
    border-color 0.2s,
    color 0.2s;
  z-index: 2;
}
.ck-close:hover {
  border-color: #c2502a;
  color: #8a2e10;
}
.ck-close svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.ck-body {
  padding: 22px 26px 0;
}
.ck-ref {
  font: 300 8px/1.4 var(--fb);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(28, 9, 5, 0.3);
  margin-bottom: 14px;
}
.ck-ref em {
  font-style: italic;
  font-family: var(--fi);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #c2502a;
  text-transform: none;
}
.ck-title {
  font: 400 clamp(34px, 9vw, 52px)/0.9 var(--fd);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c0905;
  margin: 0 0 6px;
}
.ck-tagline {
  font: 300 italic clamp(19px, 5vw, 30px)/1.2 var(--fi);
  color: #c2502a;
  margin: 0 0 20px;
}
.ck-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.ck-divider__ball {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.ck-divider__line {
  flex: 1;
  height: 0;
  border-top: 1.5px dashed rgba(194, 80, 42, 0.4);
}
.ck-desc {
  font: 300 12px/1.8 var(--fb);
  color: rgba(28, 9, 5, 0.55);
  margin: 0 0 20px;
}
.ck-desc p {
  margin: 0 0 8px;
}
.ck-desc p:last-child {
  margin: 0;
}
.ck-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ck-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font: 400 10px/1 var(--fb);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.ck-btn--ace {
  background: #c2502a;
  color: #fff;
  border: none;
}
.ck-btn--ace:hover {
  background: #8a2e10;
}
.ck-btn--filet {
  background: transparent;
  color: #c2502a;
  border: 1.5px solid rgba(194, 80, 42, 0.5);
}
.ck-btn--filet:hover {
  color: #8a2e10;
  border-color: #c2502a;
}
.ck-fine {
  padding: 16px 26px;
  border-top: 1px solid rgba(194, 80, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.ck-fine svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #c2502a;
  fill: none;
  stroke-width: 1.5;
  opacity: 0.6;
}
.ck-fine__text {
  font: 300 italic 10px/1.5 var(--fi);
  color: rgba(28, 9, 5, 0.38);
}
.ck-main {
  display: flex;
  flex: 1;
}
.ck-left {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.ck-right {
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
}
.ck-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── REVEAL AU SCROLL ─────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.82s ease,
    transform 0.82s ease;
}
.rv.on {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.06s;
}
.d2 {
  transition-delay: 0.12s;
}
.d3 {
  transition-delay: 0.18s;
}
.d4 {
  transition-delay: 0.24s;
}
.d5 {
  transition-delay: 0.3s;
}
.d6 {
  transition-delay: 0.36s;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer__bot {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .ck-overlay {
    padding: 10px;
  }
  .ck-popup {
    max-width: 100%;
  }
  .ck-right {
    display: none;
  }
  .ck-score {
    padding: 8px 14px;
  }
  .ck-body {
    padding: 16px 18px 0;
  }
  .ck-title {
    font-size: clamp(26px, 11vw, 36px);
  }
  .ck-tagline {
    font-size: clamp(16px, 5.5vw, 22px);
    margin-bottom: 14px;
  }
  .ck-divider {
    margin-bottom: 14px;
  }
  .ck-desc {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .ck-btn {
    padding: 12px 14px;
  }
  .ck-fine {
    padding: 12px 18px;
    margin-top: 14px;
  }
  .ck-close {
    top: 46px;
    right: 10px;
  }
}

/* ── TOUCH: CTAs always visible ─────────────── */
@media (hover: none) {
  .split__link {
    opacity: 1;
    transform: none;
  }
  .pitem__actions {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════════
   INNER PAGE OVERRIDES
   Hide/restyle PrestaShop default elements that conflict
   with the new unified header, footer, nav
   ══════════════════════════════════════════════════════════ */

/* Body typography for ALL pages — aligned pixel-perfect with mockup index.html (lines 42-50) */
body {
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix legacy theme.css `body, html { height: 100% }` which combined with
   `overflow-x: hidden` makes body the scroll container instead of html.
   This breaks IntersectionObserver, window.scrollY, sticky headers etc.
   Replace with `min-height: 100%` to preserve visual intent (body fills
   viewport when content is short) while keeping natural document scroll. */
html,
body {
  height: auto !important;
  min-height: 100%;
}
/* overflow-x intentionnellement absent sur body — voir fix définitif en fin de fichier */

/* Hide old PrestaShop headers */
#header-base,
#checkout-header,
#header-placeholder {
  display: none !important;
}

/* Hide legacy old footers */
#spe-footer,
#checkout-footer,
#ft,
footer.page-footer {
  display: none !important;
}

/* Override wrapper top padding (was pushed by old fixed header) */
#wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Ensure full-container has no overflow clip */
.full-container {
  overflow: visible;
}

/* Content wrapper — let pages breathe */
#content-wrapper {
  max-width: var(--mw);
  margin: 0 auto;
  /* padding: 24px var(--g) 48px; */
}

/* Homepage overrides — already handled by pm_homepage module CSS */
body#index #wrapper,
body#index #content-wrapper {
  padding: 0 !important;
  max-width: 100%;
}

/* Hide PS default breadcrumb on homepage */
body#index .breadcrumb {
  display: none;
}

/* ── BEST SELLERS — Homepage mobile fix ── */
/* Fix: images not filling container on iPhone */
body#index .featured-products {
  overflow: hidden;
}
body#index .featured-products .products {
  padding: 0;
}
body#index .featured-products .products .product-miniature {
  padding: 0 4px;
}
body#index
  .featured-products
  .products
  .product-miniature
  .thumbnail-container {
  overflow: hidden;
  background: var(--bg2);
  /* Fix: ensure container has explicit height so images fill it on iOS */
  width: 100%;
  display: block;
}
body#index
  .featured-products
  .products
  .product-miniature
  .thumbnail-container
  img,
body#index .featured-products .products .product-miniature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media (max-width: 768px) {
  body#index .featured-products .products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 8px;
    padding: 0 var(--g);
  }
  body#index .featured-products .products .product-miniature {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
  }
  /* Force the thumbnail to fill the miniature on mobile */
  body#index
    .featured-products
    .products
    .product-miniature
    .thumbnail-container {
    aspect-ratio: 3/4;
    position: relative;
  }
  body#index
    .featured-products
    .products
    .product-miniature
    .thumbnail-container
    img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

/* ── BLOG SECTION — Homepage scroll bug fix ── */
/* Only neutralise fixed/sticky on the section itself — do NOT apply to all children
   as that breaks .barticle__panel (position:absolute) and causes vertical scroll jumps on iOS */
body#index .blog {
  position: relative;
  overflow: hidden;
}
/* Only the elements that were actually getting sticky/fixed treatment need reset */
body#index .blog > *,
body#index .blog__inner {
  position: relative;
}
/* Mobile: ensure horizontal carousel doesn't create vertical scroll issues */
@media (max-width: 768px) {
  body#index .blog__grid {
    touch-action: pan-x pinch-zoom;
    will-change: scroll-position;
  }
}

/* Inner page breadcrumb styling */
.breadcrumb {
  font-family: var(--fb);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 12px 0;
}
.breadcrumb a {
  color: var(--muted);
  transition: color var(--tr);
}
.breadcrumb a:hover {
  color: var(--text);
}

/* Inner page headings */
h1,
h2,
h3 {
  font-family: var(--fd);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Footer is rendered outside #wrapper — ensure full-width */
footer.pm-footer {
  margin: 0;
  width: 100%;
}

/* Links in content */
a:hover {
  text-decoration: none;
}

/* ── MA TAILLE SIZE WIZARD MODAL HIGH-FIDELITY OVERRIDES ── */
#wrap_smartsizes.modal.fade .modal-dialog,
#wrap_smartsizes.modal.show .modal-dialog,
#wrap_smartsizes.show .modal-dialog {
  transform: translateY(0%) !important;
  -webkit-transform: translateY(0%) !important;
}
#wrap_smartsizes a:hover {
  color: rgb(0, 0, 0);
}
#wrap_smartsizes .wizard > .actions > ul > li:first-child a {
  background: rgb(238, 238, 238) !important;
  color: rgb(170, 170, 170) !important;
}
#wrap_smartsizes .wizard > .actions > ul > li:first-child:hover a {
  color: rgb(0, 0, 0) !important;
}
#wrap_smartsizes .wizard > .actions > ul > li a:hover {
  color: rgb(255, 255, 255) !important;
}
.wizard > .steps .current a,
.wizard > .steps .current a:hover,
.wizard > .steps .current a:active {
  color: rgb(255, 255, 255) !important;
  background: rgb(35, 35, 35) !important;
}
.actions ul > li:first-child a {
  background: rgb(192, 192, 197) !important;
}
#autosizes .reponse.little {
  min-height: 38px;
  min-width: 81px;
}
.row_q {
  display: flex;
  flex-wrap: wrap;
}
.avec_input {
  width: 100%;
  display: flex;
  margin-top: 10px;
}
#wrap_smartsizes #autosizes .steps ul[role='tablist'] li {
  width: 15% !important;
}
.wizard > .steps > ul > li:last-child,
.wizard > .actions > ul > li:last-child {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   CHECKOUT PAGE — Layout, Header & Footer overrides
   Match the client mockup: dark minimal header, centered 2-col layout
   ══════════════════════════════════════════════════════════════════ */

/* 1. Hide main site nav, banner, push spacer, and footer on checkout */
body#checkout .banner,
body#checkout #banner,
body#checkout .nav,
body#checkout #nav,
body#checkout .pm-push {
  display: none !important;
}

/* 2. Checkout minimal header — injected by JS (pm-global.js) */
.pm-checkout-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--ink, #1a1916);
  color: #fff;
  padding: 14px 32px;
  font-family: var(--ff-sans, 'Montserrat', sans-serif);
}
.pm-checkout-header a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.pm-checkout-header a:hover {
  color: #fff;
}
.pm-checkout-header__left {
  justify-self: start;
}
.pm-checkout-header__left svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -2px;
  margin-right: 4px;
}
.pm-checkout-header__brand {
  justify-self: center;
  font-family: var(--ff-display, 'Bebas Neue', sans-serif);
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  color: #fff;
  text-decoration: none;
}
.pm-checkout-header__right {
  justify-self: end;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 5px;
}
.pm-checkout-header__right svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 3. Center the checkout layout via parent flex */
body#checkout .full-container {
  display: flex !important;
  justify-content: center !important;
  padding-left: 20px;
  padding-right: 20px;
}
body#checkout .checkout-wrap {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 5. On smaller screens, stack to single column */
body#checkout .checkout-wrap {
  width: 100%;
  max-width: 780px;
  box-sizing: border-box;
}
@media (max-width: 991px) {
  body#checkout .full-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  body#checkout .checkout-wrap {
    grid-template-columns: 1fr !important;
    padding: 16px 0 80px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Prevent any child overflowing the viewport */
  body#checkout * {
    max-width: 100%;
    box-sizing: border-box;
  }
  body#checkout .full-container {
    overflow-x: hidden;
  }
}

/* ══════════════════════════════════════════════════════════
   ORDER CONFIRMATION — Featured/Cross-sell product grid
   Modules like ps_featuredproducts inject products inside
   a `.products` div that lacks grid styling in this theme.
   ══════════════════════════════════════════════════════════ */
#content-hook-order-confirmation-footer .products,
#content-hook_order_confirmation .products,
.page-order-confirmation .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 24px) clamp(14px, 2vw, 32px);
  padding: 0;
  margin: 0;
}

#content-hook-order-confirmation-footer section,
.page-order-confirmation section {
  max-width: var(--mw, 1480px);
  margin: 40px auto;
  padding: 0 var(--g, 40px);
}

#content-hook-order-confirmation-footer section > h1,
#content-hook-order-confirmation-footer section > h2 {
  font-family: var(--fd, 'Bebas Neue', sans-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--dk, #0b0b09);
}

#content-hook-order-confirmation-footer section > a {
  display: inline-block;
  margin-top: 20px;
  font: 300 11px/1 var(--fb, 'Gilroy', sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #8a8580);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.28s;
}
#content-hook-order-confirmation-footer section > a:hover {
  color: var(--dk, #0b0b09);
}

@media (max-width: 991px) {
  #content-hook-order-confirmation-footer .products,
  #content-hook_order_confirmation .products,
  .page-order-confirmation .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  #content-hook-order-confirmation-footer .products,
  #content-hook_order_confirmation .products,
  .page-order-confirmation .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
  }
}

/* Masquer le widget des meilleures ventes non stylisé sur la page de confirmation de commande */
#order-confirmation #content-hook-order-confirmation-footer {
  display: none !important;
}

/* #order-confirmation section,
#order-confirmation .section {
  background: none;
} */

/* === BLOG & ARTICLE STYLES === */
/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── VARIABLES ── */
:root {
  --bg: #ffffff;
  --bg2: #f4f4f4;
  --bg3: #ebebeb;
  --bg4: #f3f1ec;
  --dk: #0c0c0c;
  --text: #0c0c0c;
  --muted: #888888;
  --border: #e0e0e0;
  --gold: #b08a26;
  --tr: 0.38s cubic-bezier(0.25, 0.1, 0.25, 1);
  --g: clamp(16px, 3.5vw, 56px);
  --mw: 1540px;
  --nav-h: 55px;
  --ban-h: 32px;
  --fd: 'Bebas Neue', sans-serif;
  --fb: 'Gilroy', sans-serif;
  --fi: 'Cormorant Garamond', serif;
}

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  /* overflow-x: hidden supprimé — casse position:fixed sur iOS Safari */
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  opacity: 0.022;
}

/* ── BANNER ── */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 910;
  height: var(--ban-h);
  background: #000;
  overflow: hidden;
  transition:
    height 0.28s,
    opacity 0.28s;
}
.banner.hidden {
  height: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.banner__ticker {
  position: absolute;
  inset: 0 50px 0 0;
  overflow: hidden;
}
.banner__msg {
  position: absolute;
  top: 50%;
  left: 0;
  white-space: nowrap;
  font: 300 11px/1 var(--fb);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transform: translateY(-50%) translateX(100vw);
}
.banner__msg.run {
  animation: bannerTick 9s linear forwards;
}
@keyframes bannerTick {
  from {
    transform: translateY(-50%) translateX(100vw);
  }
  to {
    transform: translateY(-50%) translateX(calc(-100% - 20px));
  }
}
.banner__close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.18s;
}
.banner__close:hover {
  color: rgba(255, 255, 255, 0.9);
}
.banner__close svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  z-index: 950; /* idem règle principale — utilise --banner-h (sync JS) */
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--g);
  transition:
    background var(--tr),
    border-color var(--tr),
    top 0.3s,
    transform 0.38s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.3s;
  background: rgba(255, 255, 255, 0.97);
  /* backdrop-filter retiré du nav — porté par ::before (fix iOS/Android scroll) */
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: clamp(13px, 1.2vw, 17px);
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  gap: clamp(20px, 2.8vw, 44px);
}
.nav__links a {
  font: 300 11px/1 var(--fb);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--tr);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s;
}
.nav__links a:hover {
  color: var(--text);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
.nav__links a.active {
  color: var(--dk);
}
.nav__links a.active::after {
  transform: scaleX(1);
}
.nav__icons {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
}
.nav__icon {
  color: var(--muted);
  transition: color var(--tr);
  display: flex;
  cursor: pointer;
}
.nav__icon:hover {
  color: var(--dk);
}
.nav__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav__cart {
  position: relative;
}
.nav__cart-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #c0392b;
  color: #fff;
  font: 400 9px/16px var(--fb);
  text-align: center;
  border-radius: 999px;
  pointer-events: none;
}
.nav__lang {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  transition: color var(--tr);
  cursor: pointer;
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__lang:hover {
  color: var(--dk);
}
.nav__lang svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.nav__lang-drop {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  min-width: 80px;
  padding: 6px 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.82) translateY(-8px);
  transform-origin: top right;
  transition:
    opacity 0.14s,
    transform 0.14s;
}
.nav__lang.open .nav__lang-drop {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.nav__lang-drop a {
  display: block;
  padding: 8px 16px;
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--tr);
}
.nav__lang-drop a:hover,
.nav__lang-drop a.active {
  color: var(--dk);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--muted);
  transition: all 0.24s;
}

/* ── PUSH ── */
.push {
  height: calc(var(--banner-h) + var(--nav-h));
}

/* ── BREADCRUMB ── */
.bc {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 14px var(--g) 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.bc a:hover {
  color: var(--text);
}
.bc__sep {
  opacity: 0.3;
}
.bc__cur {
  color: var(--text);
}

/* ── BLOG HERO ── */
.blog-hero__alune {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  padding: clamp(18px, 2.2vw, 32px) 0 14px;
  display: block;
}
.blog-hero {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--g) 0;
}
.blog-hero__featured {
  position: relative;
  height: clamp(380px, 52vw, 620px);
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.blog-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.blog-hero__featured:hover .blog-hero__img {
  transform: scale(1.025);
}
.blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 14, 21, 0.82) 0%,
    rgba(11, 14, 21, 0.3) 50%,
    transparent 100%
  );
}
.blog-hero__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(24px, 3.5vw, 52px);
}
.blog-hero__cat {
  display: inline-block;
  margin-bottom: 16px;
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding: 0;
}
.blog-hero__title {
  font-family: var(--fd);
  font-size: clamp(28px, 4.5vw, 64px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.92;
  margin-bottom: 16px;
  max-width: 800px;
}
.blog-hero__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.blog-hero__meta-sep {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
}
.blog-hero__excerpt {
  font-family: var(--fi);
  font-style: italic;
  font-size: clamp(12px, 1.1vw, 14px);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 520px;
  margin-top: 12px;
  display: none;
}
@media (min-width: 900px) {
  .blog-hero__excerpt {
    display: block;
  }
}
.blog-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 20px;
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 11px 22px;
  transition: all 0.26s;
  overflow: hidden;
}
.blog-hero__cta svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  transform: translateX(-4px);
  transition:
    all 0.22s 0.06s,
    max-width 0.22s,
    margin-left 0.22s;
  overflow: hidden;
}
.blog-hero__featured:hover .blog-hero__cta {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.blog-hero__featured:hover .blog-hero__cta svg {
  opacity: 1;
  max-width: 14px;
  margin-left: 8px;
  transform: translateX(0);
}

/* ── SEARCH + FILTERS ── */
.blog-controls {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 32px var(--g) 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.blog-search svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}
.blog-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font: 300 11px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  placeholder-color: var(--muted);
}
.blog-search__input::placeholder {
  color: rgba(120, 120, 120, 0.45);
}
.blog-search__clear {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
  display: none;
}
.blog-search__clear.visible {
  display: block;
}
.blog-search__clear:hover {
  color: var(--dk);
}
.blog-cats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-cat {
  font: 300 8.5px/1 var(--fb);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.18s;
  background: none;
}
.blog-cat:hover {
  border-color: var(--dk);
  color: var(--dk);
}
.blog-cat.active {
  background: var(--dk);
  color: var(--bg);
  border-color: var(--dk);
}
.blog-results-count {
  font: 300 8.5px/1 var(--fb);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

/* ── ARTICLE GRID ── */
.blog-grid {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 28px var(--g) clamp(48px, 6vw, 96px);
}
.blog-grid__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 4vw, 60px) clamp(20px, 2.5vw, 40px);
}
.bcard {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: opacity 0.22s;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.bcard.hidden {
  display: none;
}
.bcard__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg3);
  margin-bottom: 18px;
}
.bcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.bcard:hover .bcard__img {
  transform: scale(1.02);
}
.bcard__num {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.08em;
  color: rgba(12, 12, 12, 0.2);
  display: block;
  margin-bottom: 12px;
}
.bcard__cat {
  display: inline-block;
  margin-bottom: 10px;
  font: 300 7.5px/1 var(--fb);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.36);
}
.bcard__title {
  font-family: var(--fd);
  font-size: clamp(18px, 1.9vw, 26px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dk);
  line-height: 0.95;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}
.bcard:hover .bcard__title {
  opacity: 0.7;
}
.bcard__excerpt {
  font-family: var(--fi);
  font-style: italic;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bcard__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(120, 120, 120, 0.6);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}
.bcard__meta-sep {
  width: 1px;
  height: 8px;
  background: var(--border);
}
.bcard__read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.36);
  margin-top: 10px;
  transition: color 0.22s;
}
.bcard:hover .bcard__read-more {
  color: var(--dk);
}
.bcard__read-more svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s;
}
.bcard:hover .bcard__read-more svg {
  transform: translateX(3px);
}

/* ── NO RESULTS ── */
.blog-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 0;
  display: none;
}
.blog-empty.visible {
  display: block;
}
.blog-empty p {
  font-family: var(--fi);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
}

/* ── PAGINATION ── */
.blog-pagination {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--g) clamp(64px, 8vw, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pg-btn,
.pg-num {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s;
  background: none;
}
.pg-btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.pg-btn:hover,
.pg-num:hover {
  border-color: var(--dk);
  color: var(--dk);
}
.pg-num.active {
  background: var(--dk);
  color: var(--bg);
  border-color: var(--dk);
}
.pg-btn:disabled {
  opacity: 0.25;
  pointer-events: none;
}
.pg-ellipsis {
  font: 300 10px/1 var(--fb);
  color: var(--muted);
  padding: 0 4px;
}

/* ── NEWSLETTER BAND ── */
.blog-nl {
  background: var(--bg);
  border-top: 2px solid var(--dk);
  border-bottom: 1px solid var(--border);
  padding: clamp(48px, 5vw, 80px) var(--g);
  text-align: center;
}
.blog-nl__tag {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.blog-nl__h {
  font-family: var(--fd);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dk);
  margin-bottom: 8px;
}
.blog-nl__sub {
  font-family: var(--fi);
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--muted);
  margin-bottom: 28px;
}
.blog-nl__form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: var(--bg);
}
.blog-nl__input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  padding: 14px 18px;
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.blog-nl__input::placeholder {
  color: rgba(120, 120, 120, 0.45);
}
.blog-nl__btn {
  padding: 0 20px;
  background: var(--dk);
  color: #fff;
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.blog-nl__btn:hover {
  opacity: 0.8;
}

/* ── FOOTER ── */
footer {
  background: var(--dk);
  padding: clamp(52px, 6vw, 88px) var(--g) 0;
}
.footer__inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__brand-name {
  font-family: var(--fd);
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 20px;
}
.footer__nl-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 12px;
  margin-bottom: 24px;
  gap: 10px;
}
.footer__nl-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer__nl-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.footer__nl-btn {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.18s;
  display: flex;
  align-items: center;
}
.footer__nl-btn:hover {
  color: #fff;
}
.footer__nl-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.footer__desc {
  font: 300 11px/1.95 var(--fb);
  color: rgba(255, 255, 255, 0.24);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.fch {
  font-family: var(--fd);
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1;
}
.fcol ul li {
  margin-bottom: 11px;
}
.fcol ul a {
  font: 300 12px/1 var(--fb);
  color: rgba(255, 255, 255, 0.36);
  transition: color var(--tr);
}
.fcol ul a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer__bot {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 20px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__tagline {
  font-family: var(--fi);
  font-style: italic;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}
.fcopy {
  font: 300 11px/1 var(--fb);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.16);
}

/* ── BLOG HEADER ── */
.blog-header {
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) var(--g) 0;
  background: var(--bg);
}
.blog-header__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 48px);
}
.blog-header__title {
  font-family: var(--fd);
  font-size: clamp(58px, 12vw, 168px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--dk);
  line-height: 0.84;
  flex-shrink: 0;
}
.blog-header__right {
  text-align: right;
  flex-shrink: 0;
  padding-bottom: 0.18em;
}
.blog-header__subtitle {
  font: 300 8.5px/1 var(--fb);
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.blog-header__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font: 300 7.5px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.28);
  margin-top: 10px;
}
.blog-header__dot {
  opacity: 0.25;
}
.blog-header__rule {
  border: none;
  border-top: 2px solid var(--dk);
  margin: clamp(18px, 2.5vw, 36px) 0 0;
}

/* ── BLOG STRIP (sticky) ── */
.blog-strip {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.blog-strip__inner {
  max-width: var(--mw);
  margin: 0 auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--g);
}
.blog-strip__cta {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 300 8.5px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dk);
  transition: opacity 0.2s;
}
.blog-strip__cta:hover {
  opacity: 0.45;
}
.blog-strip__cta svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}
.blog-strip__label {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.22);
}

/* ── PULL QUOTE ── */
.blog-pq {
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(28px, 3.5vw, 52px) var(--g);
  border-bottom: 1px solid var(--border);
}
.blog-pq__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 clamp(12px, 1.8vw, 28px);
  align-items: start;
  max-width: 860px;
}
.blog-pq__mark {
  font-family: var(--fi);
  font-size: clamp(80px, 9vw, 120px);
  line-height: 0.75;
  color: rgba(12, 12, 12, 0.07);
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 2px;
  user-select: none;
}
.blog-pq__text {
  font-family: var(--fi);
  font-style: italic;
  font-size: clamp(15px, 1.7vw, 21px);
  line-height: 1.55;
  color: var(--dk);
  margin-bottom: 12px;
}
.blog-pq__cite {
  font: 300 8.5px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.blog-pq__cite a {
  border-bottom: 1px solid rgba(12, 12, 12, 0.15);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.blog-pq__cite a:hover {
  border-color: var(--dk);
  color: var(--dk);
}

/* ── STYLE QUIZ ── */
.bquiz {
  background: var(--dk);
  color: #fff;
  padding: clamp(52px, 6.5vw, 96px) var(--g);
}
.bquiz__inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.bquiz__tag {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 22px;
}
.bquiz__h {
  font-family: var(--fd);
  font-size: clamp(34px, 4.5vw, 60px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.9;
  margin-bottom: 18px;
}
.bquiz__sub {
  font-family: var(--fi);
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 15px);
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.65;
}
.bquiz__q {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}
.bquiz__opts {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.bquiz__opt {
  text-align: left;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font: 300 9.5px/1 var(--fb);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.16s;
}
.bquiz__opt:hover {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.bquiz__prog {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-top: 26px;
  overflow: hidden;
}
.bquiz__prog-bar {
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.bquiz__result {
  animation: qfadeUp 0.35s ease forwards;
}
@keyframes qfadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bquiz__res-label {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 14px;
}
.bquiz__res-name {
  font-family: var(--fd);
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.92;
  margin-bottom: 14px;
}
.bquiz__res-desc {
  font-family: var(--fi);
  font-style: italic;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.46);
  margin-bottom: 26px;
}
.bquiz__res-cta {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.75);
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.bquiz__res-cta:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.bquiz__restart {
  display: block;
  margin-top: 18px;
  background: none;
  border: none;
  cursor: pointer;
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  transition: color 0.18s;
}
.bquiz__restart:hover {
  color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 720px) {
  .bquiz__inner {
    grid-template-columns: 1fr;
  }
}

/* ── MOBILE NAV ── (idem règles principales : slide depuis la gauche) */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 920;
  background: var(--dk); /* 920 > banner 910, < nav 950 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__mobile.open {
  transform: translateX(0);
  pointer-events: auto;
}
.nav__mobile-close {
  display: none;
} /* burger-X joue ce rôle */

/* ── REVEAL ANIMATION ── */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.rv.on {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .blog-grid__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav__lang,
  .nav__icon:not(.nav__cart):not(.nav__size-btn) {
    display: none;
  }
  .blog-grid__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-hero__cat {
    font-size: 7.5px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__cols {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px) {
  .blog-grid__inner {
    grid-template-columns: 1fr;
  }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

:root {
  --bg: #ffffff;
  --bg2: #f4f4f4;
  --bg3: #ebebeb;
  --dk: #0c0c0c;
  --text: #0c0c0c;
  --muted: #888888;
  --border: #e0e0e0;
  --tr: 0.38s cubic-bezier(0.25, 0.1, 0.25, 1);
  --g: clamp(16px, 3.5vw, 56px);
  --mw: 1540px;
  --fd: 'Bebas Neue', sans-serif;
  --fb: 'Gilroy', sans-serif;
  --fi: 'Cormorant Garamond', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  /* overflow-x: hidden supprimé — casse position:fixed sur iOS Safari */
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  opacity: 0.022;
}

/* ── READING PROGRESS ── */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 2px;
  pointer-events: none;
}
.read-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--dk);
  transition: width 0.08s linear;
}

/* ── ARTICLE HEADER ── */
.art-header {
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) var(--g) 0;
}
.art-back {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.art-back__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  font: 300 8.5px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.55);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.art-back__btn:hover {
  border-color: var(--dk);
  color: var(--dk);
}
.art-back__btn svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  flex-shrink: 0;
}
.art-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.28);
  margin-bottom: clamp(22px, 3vw, 42px);
}
.art-breadcrumb a:hover {
  color: var(--dk);
  transition: color 0.18s;
}
.art-breadcrumb__sep {
  opacity: 0.3;
  font-size: 10px;
}
.art-header__inner {
  max-width: 1080px;
}
.art-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(14px, 2vw, 22px);
}
.art-num {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.08em;
  color: rgba(12, 12, 12, 0.2);
}
.art-cat {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.35);
  border-left: 1px solid var(--border);
  padding-left: 14px;
}
.art-title {
  font-family: var(--fd);
  font-size: clamp(42px, 7.5vw, 108px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--dk);
  line-height: 0.88;
  margin-bottom: clamp(18px, 2.5vw, 32px);
}
.art-deck {
  font-family: var(--fi);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: rgba(12, 12, 12, 0.5);
  max-width: 680px;
  margin-bottom: clamp(20px, 2.5vw, 34px);
}
.art-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.35);
  padding-bottom: clamp(28px, 3.5vw, 52px);
  border-bottom: 1px solid var(--border);
}
.art-meta__sep {
  opacity: 0.3;
}

/* ── HERO ── */
.art-hero {
  max-width: var(--mw);
  margin: 0 auto;
}
.art-hero img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
}
.art-hero__caption {
  padding: 10px var(--g) 0;
  font: 300 7.5px/1.6 var(--fb);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.22);
}

/* ── ARTICLE BODY ── */
.art-body {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(44px, 5.5vw, 80px) var(--g);
}
.art-lead {
  font-family: var(--fi);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.9;
  color: var(--dk);
  margin-bottom: clamp(36px, 4.5vw, 56px);
  border-bottom: 1px solid var(--border);
  padding-bottom: clamp(36px, 4.5vw, 56px);
}
.art-lead strong {
  font-weight: 400;
  border-bottom: 1px solid rgba(12, 12, 12, 0.18);
}
.art-section {
  margin-bottom: clamp(44px, 5.5vw, 68px);
}
.art-h2 {
  font-family: var(--fd);
  font-size: clamp(26px, 3.5vw, 44px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dk);
  line-height: 0.9;
  border-top: 2px solid var(--dk);
  padding-top: clamp(14px, 1.8vw, 24px);
  margin-bottom: clamp(18px, 2.2vw, 28px);
}
.art-h3 {
  font: 300 8.5px/1 var(--fb);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dk);
  margin: clamp(22px, 2.5vw, 32px) 0 12px;
}
.art-p {
  font-family: var(--fi);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  color: rgba(12, 12, 12, 0.82);
  margin-bottom: 16px;
}
.art-p em {
  color: var(--dk);
  font-style: italic;
}
.art-p a {
  border-bottom: 1px solid rgba(12, 12, 12, 0.18);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.art-p a:hover {
  color: var(--dk);
  border-color: var(--dk);
}
.art-ul {
  margin: 16px 0 22px;
}
.art-ul li {
  font-family: var(--fi);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  color: rgba(12, 12, 12, 0.82);
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.art-ul li:first-child {
  border-top: 1px solid var(--border);
}
.art-ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  font-size: 13px;
  color: rgba(12, 12, 12, 0.22);
  top: 12px;
}
.art-ul li em {
  color: var(--dk);
  font-style: normal;
  font-weight: 400;
}

/* ── PULL QUOTE ── */
.art-pq {
  margin: clamp(40px, 5vw, 64px) 0;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.art-pq__mark {
  font-family: var(--fi);
  font-size: clamp(72px, 8vw, 108px);
  line-height: 0.55;
  color: rgba(12, 12, 12, 0.06);
  display: block;
  margin-bottom: 6px;
  user-select: none;
}
.art-pq__text {
  font-family: var(--fi);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.5;
  color: var(--dk);
}

/* ── TIP BOX ── */
.art-tip {
  background: var(--bg2);
  border-left: 2px solid var(--dk);
  padding: clamp(16px, 2vw, 26px) clamp(20px, 2.5vw, 34px);
  margin: clamp(22px, 2.5vw, 34px) 0;
}
.art-tip__label {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.38);
  margin-bottom: 12px;
}
.art-tip p {
  font-family: var(--fi);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.88;
  color: rgba(12, 12, 12, 0.72);
}

/* ── SUMMARY BOX ── */
.art-summary {
  background: var(--dk);
  color: #fff;
  padding: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 42px);
  margin: clamp(40px, 5vw, 64px) 0 0;
}
.art-summary__label {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}
.art-summary li {
  font-family: var(--fi);
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.art-summary li:last-child {
  border-bottom: none;
}
.art-summary li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--fi);
}

/* ── FAQ ── */
.art-faq {
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(52px, 6.5vw, 96px) var(--g);
  border-top: 2px solid var(--dk);
}
.art-faq__inner {
  max-width: 980px;
}
.art-faq__tag {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.3);
  margin-bottom: clamp(14px, 1.8vw, 22px);
}
.art-faq__h {
  font-family: var(--fd);
  font-size: clamp(32px, 4.5vw, 60px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dk);
  line-height: 0.9;
  margin-bottom: clamp(28px, 3.5vw, 52px);
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: clamp(16px, 2vw, 22px) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-btn__q {
  font-family: var(--fi);
  font-weight: 400;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.4;
  color: var(--dk);
  text-align: left;
}
.faq-btn__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: rgba(12, 12, 12, 0.28);
  stroke-width: 1.5;
  fill: none;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    stroke 0.2s;
}
.faq-btn[aria-expanded='true'] .faq-btn__icon {
  transform: rotate(45deg);
  stroke: var(--dk);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer.open {
  max-height: 400px;
}
.faq-answer__inner {
  padding: 0 0 clamp(16px, 2vw, 24px) 0;
  font-family: var(--fi);
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.88;
  color: rgba(12, 12, 12, 0.62);
}

/* ── AUTHOR ── */
.art-author {
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 52px) var(--g);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.art-author__inner {
  max-width: 980px;
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 36px);
}
.art-author__logo img {
  height: clamp(11px, 0.85vw, 14px);
  width: auto;
  opacity: 0.35;
  display: block;
  margin-top: 3px;
}
.art-author__name {
  font: 300 8.5px/1 var(--fb);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dk);
  margin-bottom: 12px;
}
.art-author__bio {
  font-family: var(--fi);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.88;
  color: rgba(12, 12, 12, 0.48);
}

/* ── RELATED ARTICLES ── */
.art-related {
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(52px, 6.5vw, 96px) var(--g);
  border-top: 2px solid var(--dk);
}
.art-related__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(28px, 3.5vw, 52px);
  gap: 20px;
}
.art-related__label {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.3);
  margin-bottom: 12px;
}
.art-related__h {
  font-family: var(--fd);
  font-size: clamp(28px, 3.8vw, 52px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dk);
  line-height: 0.9;
}
.art-related__all {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.38);
  transition: color 0.2s;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  flex-shrink: 0;
}
.art-related__all:hover {
  color: var(--dk);
  border-bottom-color: var(--dk);
}
.art-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 40px);
}

.rcard {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.rcard__img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 16px;
}
.rcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.rcard__img-wrap:hover .rcard__img {
  transform: scale(1.04);
}
.rcard__cat {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.35);
  display: block;
  margin-bottom: 10px;
}
.rcard__title {
  font-family: var(--fd);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dk);
  line-height: 0.95;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}
.rcard__title:hover {
  opacity: 0.55;
}
.rcard__excerpt {
  font-family: var(--fi);
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.75;
  color: rgba(12, 12, 12, 0.48);
  margin-bottom: 14px;
}
.rcard__meta {
  font: 300 7.5px/1 var(--fb);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.26);
}

/* ── NEWSLETTER ── */
.blog-nl {
  background: var(--bg2);
  text-align: center;
  padding: clamp(52px, 6.5vw, 96px) var(--g);
}
.blog-nl__tag {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.3);
  margin-bottom: 18px;
}
.blog-nl__h {
  font-family: var(--fd);
  font-size: clamp(34px, 5vw, 68px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dk);
  line-height: 0.9;
  margin-bottom: 14px;
}
.blog-nl__sub {
  font-family: var(--fi);
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 15px);
  color: rgba(12, 12, 12, 0.42);
  line-height: 1.65;
  margin-bottom: clamp(24px, 3vw, 38px);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.blog-nl__form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: var(--bg);
}
.blog-nl__input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  padding: 14px 18px;
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.blog-nl__input::placeholder {
  color: rgba(120, 120, 120, 0.4);
}
.blog-nl__btn {
  padding: 0 20px;
  background: var(--dk);
  color: #fff;
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.blog-nl__btn:hover {
  opacity: 0.8;
}

/* ── FOOTER ── */
footer {
  background: var(--dk);
  padding: clamp(52px, 6vw, 88px) var(--g) 0;
}
.footer__inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__brand-name {
  font-family: var(--fd);
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 20px;
}
.footer__nl-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 12px;
  margin-bottom: 24px;
  gap: 10px;
}
.footer__nl-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer__nl-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.footer__nl-btn {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.18s;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}
.footer__nl-btn:hover {
  color: #fff;
}
.footer__nl-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.footer__desc {
  font: 300 11px/1.95 var(--fb);
  color: rgba(255, 255, 255, 0.24);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.fch {
  font-family: var(--fd);
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1;
}
.fcol ul li {
  margin-bottom: 11px;
}
.fcol ul a {
  font: 300 12px/1 var(--fb);
  color: rgba(255, 255, 255, 0.36);
  transition: color var(--tr);
}
.fcol ul a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer__bot {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 20px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__tagline {
  font-family: var(--fi);
  font-style: italic;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}
.fcopy {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.16);
}

/* ── REVEAL ── */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.rv.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .art-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rcard:last-child {
    display: none;
  }
}
@media (max-width: 640px) {
  .art-related__grid {
    grid-template-columns: 1fr;
  }
  .rcard:last-child {
    display: block;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}
/* ── iPhone : safe-area (encoche) + position du badge panier (mobile) — alignement maquette index-mobile.html ── */
@media (max-width: 768px) {
  .banner {
    height: calc(var(--banner-h) + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
  }
  .nav {
    top: calc(var(--banner-h) + env(safe-area-inset-top, 0px)) !important;
  }
  /* Header mobile : logo centré hors-flux, burger à gauche, icônes (panier) à droite.
     Corrige le panier qui se superposait au logo sur les pages internes (CMS / À propos…)
     où le logo restait dans la grille et décalait les icônes au centre. */
  .nav__logo {
    position: absolute !important;
    /* left: 50% !important; orig */
    left: 44% !important;
    transform: translateX(-50%) !important;
  }
  .nav__burger {
    grid-column: 1 !important;
    justify-self: start !important;
  }
  .nav__icons {
    grid-column: 3 !important;
    justify-self: end !important;
  }
  .nav__icons {
    gap: 0;
  }
  .nav__cart-badge {
    top: 6px !important;
    right: 6px !important;
    min-width: 15px !important;
    height: 15px !important;
    line-height: 15px !important;
    font-size: 8px !important;
    padding: 0 3px !important;
  }
}

/* ── FIX HEADER FIXE iOS Safari — SOLUTION DÉFINITIVE ────────────────────────
   Problème racine : tout overflow-x autre que visible sur <body> (même "clip")
   peut rendre body le scroll container sur iOS Safari, cassant position:fixed.

   Structure HTML PrestaShop :
     <main>
       <header.tpl>  ← .nav position:fixed z-index:950
       <section id="#wrapper">  ← contenu page (SIBLING du nav, pas ancêtre)
     </main>

   Solution :
   · body → overflow-x: visible (jamais hidden ni clip)
   · #wrapper → overflow-x: clip  (sibling du nav → n'affecte pas position:fixed)
   Placé en DERNIER pour écraser toute règle précédente.
   ─────────────────────────────────────────────────────────────────────────── */
body {
  overflow-x: visible !important;
  overflow-y: visible !important;
}
/* Clipping des débordements horizontaux du contenu, sans toucher au nav fixe */
#wrapper {
  overflow-x: clip;
}

/* ── FIX BACKDROP-FILTER iOS/Android — GARDE-FOU FINAL ────────────────
   backdrop-filter sur un élément position:fixed casse le scroll sur iOS
   Safari et Android Chrome. On force le nav à n'en JAMAIS avoir — l'effet
   de flou est uniquement porté par le ::before (position:absolute, sans fix).
   Cette règle écrase tout ce qui précède, y compris les blocs BLOG/ARTICLE.
   ─────────────────────────────────────────────────────────────────────── */
.nav {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ── SEARCH DROPDOWN ────────────────────────────────────────────────────────
   Panel pleine largeur qui glisse sous la nav quand on clique sur l'icône
   loupe. z-index:1050 > nav(950) > cart-drawer. Positionnement : top calculé
   via les CSS vars --banner-h et --nav-h mises à jour en JS.
   ─────────────────────────────────────────────────────────────────────────── */
.srch {
  position: fixed;
  top: calc(var(--banner-h) + var(--nav-h));
  left: 0;
  right: 0;
  /* z-index: 1050; */
  z-index: 900;
  background: #fff;
  overflow: hidden;
  max-height: 0;
  pointer-events: none;
  transition: max-height 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.srch.open {
  max-height: 520px;
  pointer-events: auto;
}
.srch__inner {
  position: relative;
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(18px, 2.5vw, 32px) var(--g) clamp(16px, 2vw, 26px);
  border-bottom: 1px solid #e8e8e8;
}
.srch__input {
  display: block;
  width: calc(100% - 40px); /* espace pour le bouton close */
  background: none;
  border: none;
  outline: 0;
  box-shadow: none;
  -webkit-appearance: none;
  font-family: var(--fd);
  font-size: clamp(26px, 5vw, 56px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  caret-color: #111;
  padding: 0;
  line-height: 1;
}
.srch__input::placeholder {
  color: #d8d8d8;
}
.srch__input:focus {
  outline: 0;
  box-shadow: none;
  border: none;
}
.srch__close {
  position: absolute;
  top: clamp(18px, 2.5vw, 32px);
  right: var(--g);
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: color 0.15s;
}
.srch__close:hover {
  color: #111;
}
.srch__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.3;
  fill: none;
}
.srch__results {
  margin-top: clamp(18px, 2.5vw, 32px);
}
.srch__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid #f0f0f0;
  text-decoration: none;
  transition: opacity 0.12s;
}
.srch__item:hover {
  opacity: 0.5;
}
.srch__item-name {
  font: 300 10.5px/1 var(--fb);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
}
.srch__item-cat {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 5px;
}
.srch__item-arrow {
  width: 10px;
  height: 10px;
  stroke: #bbb;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}
.srch__empty {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ccc;
  padding: 14px 0;
}

/* ── SEARCH OVERLAY MOBILE ─────────────────────────────────────────────────
   Overlay plein écran qui glisse depuis le haut (translateY -100% → 0).
   Déclenché depuis le lien "Rechercher" du menu mobile.
   ─────────────────────────────────────────────────────────────────────────── */
.srch-m {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1050;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.srch-m.open {
  transform: translateY(0);
  pointer-events: auto;
}
.srch-m__inner {
  padding: clamp(56px, 14vw, 72px) var(--g) clamp(28px, 6vw, 44px);
  position: relative;
}
.srch-m__input {
  display: block;
  width: 100%;
  background: none;
  border: none;
  outline: 0;
  box-shadow: none;
  -webkit-appearance: none;
  font-family: var(--fd);
  font-size: clamp(32px, 11vw, 52px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  caret-color: #111;
  padding: 0 40px 16px 0; /* espace pour le close */
  line-height: 1;
  border-bottom: 1px solid #e8e8e8;
}
.srch-m__input::placeholder {
  color: #d8d8d8;
}
.srch-m__input:focus {
  outline: 0;
  box-shadow: none;
}
.srch-m__close {
  position: absolute;
  top: clamp(16px, 4vw, 22px);
  right: var(--g);
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  transition: color 0.15s;
}
.srch-m__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.3;
  fill: none;
}
.srch-m__results {
  margin-top: clamp(20px, 4vw, 32px);
}
.srch-m__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid #f0f0f0;
  text-decoration: none;
  transition: opacity 0.12s;
}
.srch-m__item:active {
  opacity: 0.5;
}
.srch-m__item-name {
  font: 300 11px/1 var(--fb);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
}
.srch-m__item-cat {
  font: 300 8px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 5px;
}
.srch-m__item-arrow {
  width: 11px;
  height: 11px;
  stroke: #bbb;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}
.srch-m__empty {
  font: 300 9px/1 var(--fb);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ccc;
  padding: 16px 0;
}

/* ── PRODUCT CARD SIZE STRIP & TOAST (shared: homepage + category) ── */
.pcard__szstrip {
  height: 0;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 0 4px;
  overflow: visible;
}
.pcard__sz {
  flex: 1;
  height: 26px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  background: #fafaf8;
  border: none;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0 0 6px 6px;
  font: 300 9.5px/1 var(--fb);
  letter-spacing: 0.04em;
  color: var(--dk);
  cursor: pointer;
  transition:
    height 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.pcard__sz:hover {
  height: 32px;
}
.pcard__sz.added {
  background: var(--success) !important;
  border-color: var(--success) !important;
  color: var(--white) !important;
}
.pcard__sz--dis {
  height: 5px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0 0 4px 4px;
  pointer-events: none;
  opacity: 0.5;
  overflow: hidden;
  font-size: 0;
  color: transparent;
}
@keyframes sizeCheck {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}
.pcard__sz.added {
  animation: sizeCheck 0.35s ease;
}
.pm-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 1100;
  background: var(--dk);
  color: rgba(255, 255, 255, 0.9);
  font: 300 10px/1 var(--fb);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 24px;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.24s,
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.pm-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Fix: homepage .pitem cards — push body text down to clear the 26px size strip buttons */
.pitem__body {
  padding-top: 36px;
}
@media (max-width: 480px) {
  .pitem__body {
    padding-top: 30px;
  }
  .pcard__sz {
    font-size: 8px;
    padding-bottom: 4px;
    height: 22px;
  }
  .pcard__sz--dis {
    height: 4px;
  }
}

/* ── Fixes #24 & #29 — iOS Safari : burger + cart icon taps ─────────────
   Sur iOS Safari :
   1) Les <svg> à l'intérieur d'un <a> ou <button> peuvent capter le tap et
      ne pas le propager → pointer-events:none force le tap sur l'élément parent.
   2) Le highlight de tap bleu (flicker iOS) peut gêner la perception du clic.
   3) touch-action:manipulation supprime le délai de 300ms du double-tap.
   4) will-change:transform pré-composite le layer pour éviter que l'animation
      du drawer ou du menu soit "gelée" au premier frame sur iOS.
   ─────────────────────────────────────────────────────────────────────── */
.nav__icon,
.nav__burger {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav__icon svg,
.nav__icon path,
.nav__icon line,
.nav__icon polyline,
.nav__icon circle,
.nav__icon rect {
  pointer-events: none;
}
.nav__burger span {
  pointer-events: none;
}
/* Force GPU compositing on animated panels — prevents iOS "frozen frame" on first open */
.cart-drawer {
  will-change: transform;
  -webkit-transform: translateX(102%);
  transform: translateX(102%);
}
.cart-drawer.open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.nav__mobile {
  will-change: transform;
}

/* ══════════════════════════════════════════════════════════════════════
   GUIDE DES TAILLES — conteneurs iframe (cf. pm-global.js pmOpenSizeGuide)
   'modal' = popup centrée (footer) · 'sheet' = bottom-sheet (page produit)
   ══════════════════════════════════════════════════════════════════════ */
#pmGuideWrap {
  position: fixed;
  inset: 0;
  z-index: 99990;
  pointer-events: none;
  /* iOS Safari : une iframe seulement pointer-events:none peut encore capter
     les gestes tactiles -> visibility:hidden coupe tout apres la transition */
  visibility: hidden;
  transition: visibility 0s linear 0.45s;
}
#pmGuideWrap.open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s;
}
#pmGuideWrap .pm-guide-bg {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 9, 0.55);
  opacity: 0;
  transition: opacity 0.3s;
}
#pmGuideWrap.open .pm-guide-bg {
  opacity: 1;
}
#pmGuideWrap .pm-guide-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #fff;
}

/* Popup centrée (footer / liens "Ma taille") */
#pmGuideWrap.pm-guide-modal .pm-guide-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -47%);
  width: min(780px, calc(100vw - 32px));
  height: min(86vh, 900px);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
#pmGuideWrap.pm-guide-modal.open .pm-guide-box {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Bottom-sheet (page produit, "sort du bas de l'écran") */
#pmGuideWrap.pm-guide-sheet .pm-guide-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(88vh, 860px);
  background: #fff;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  transform: translateY(103%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
#pmGuideWrap.pm-guide-sheet.open .pm-guide-box {
  transform: translateY(0);
}

@media (max-width: 767px) {
  #pmGuideWrap.pm-guide-modal .pm-guide-box {
    width: calc(100vw - 16px);
    height: 92vh;
  }
  #pmGuideWrap.pm-guide-sheet .pm-guide-box {
    height: 92vh;
  }
}

.map__icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.map__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

footer.form-footer {
  background: none;
}
.form-eye {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #ccc;
  transition: color 0.18s;
  z-index: 3;
}
.form-eye svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.3;
  fill: none;
  display: block;
}
