/* ══════════════════════════════════════════════════════════════════════════ */
/* ATELIER MIRAGE — SHARED DESIGN SYSTEM                                       */
/* L'art du dessert · Marseille                                               */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ─── Cross-page View Transitions (MPA) ─── */
@view-transition { navigation: auto; }
#navbar { view-transition-name: am-navbar; }
::view-transition-group(am-navbar) { animation-duration: .5s; }
::view-transition-old(root) { animation: am-xpage-out .42s cubic-bezier(.64,0,.78,0) both; }
::view-transition-new(root) { animation: am-xpage-in  .55s cubic-bezier(.22,1,.36,1) both; }
@keyframes am-xpage-out {
  from { opacity: 1; transform: translateY(0)   scale(1);    filter: blur(0); }
  to   { opacity: 0; transform: translateY(-22px) scale(.995); filter: blur(2px); }
}
@keyframes am-xpage-in {
  from { opacity: 0; transform: translateY(16px) scale(1.005); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0)    scale(1);     filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: am-xpage-fade .2s linear both; }
  @keyframes am-xpage-fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ══════════════════════════════════════
   FONTS — Geometria (police de l'identité, ex-site YC)
══════════════════════════════════════ */
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Bold.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Heavy.ttf') format('truetype');
  font-weight: 900 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geometria';
  src: url('../fonts/Geometria-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* ══════════════════════════════════════
   0. ACCESSIBILITY UTILITIES
══════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ══════════════════════════════════════
   1. TOKENS & BASELINE
══════════════════════════════════════ */
:root {
  /* ── Color Palette — Cream & Warm Black (Designer Pâtisserie) ── */
  /* Inspiré Vincent Salur : presque blanc, juste micro-touche chaude */
  --cream:        #FCF9F3;   /* fond principal, presque blanc Vincent Salur */
  --cream-soft:   #F7F3EA;   /* off-white intermédiaire */
  --cream-deep:   #EFEADC;   /* off-white pour zones décrochées */
  --cream-2:      #F7F3EA;   /* alias rétrocompat */
  --cream-3:      #EFEADC;   /* alias rétrocompat */

  /* Noir-chaud — palette signature texte / logo */
  --ink:        #6D4833;     /* brun-café YC, couleur principale du texte et logo */
  --ink-soft:   #2A231D;     /* légère variation pour hover */
  --ink-muted:  #6B5F50;     /* texte secondaire, descriptions */

  /* Marron — gardé en accent ponctuel uniquement (anciens éléments) */
  --brown-deep: #6D4833;     /* alias → noir-chaud (rétrocompat) */
  --brown:      #4A3525;     /* nuance chaude pour quelques accents */
  --brown-warm: #6B4A2E;     /* variante caramel — usage très rare */
  --brown-soft: #2A231D;     /* alias → ink-soft */

  /* Or — rétrogradé en accent rare, micro-détails uniquement */
  --gold:       #A3781B;     /* or profond — italiques, accents éditoriaux */
  --gold-light: #C9A158;     /* hover subtil */
  --gold-pale:  #F2D888;     /* touches très ponctuelles */
  --gold-shimmer: #D4B896;   /* dorure douce */
  --tan:        #BD8F68;     /* CTA — tan chaud façon YC */
  --tan-deep:   #A87C54;     /* tan — état survol */

  --white:      #FFFFFF;
  --success:    #4A7C59;
  --error:      #8C3A3A;

  /* ── Premium Gradient Tokens ── */
  --gradient-gold: linear-gradient(135deg, #A3781B 0%, #F2D888 50%, #C9A158 100%);
  --gradient-dark: linear-gradient(135deg, #6D4833 0%, #2A231D 100%);
  --gradient-glass: linear-gradient(135deg, rgba(252,249,243,0.6) 0%, rgba(252,249,243,0.2) 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(163,120,27,0.12) 0%, transparent 70%);

  /* ── Typography ── */
  /* Geometria = police unique de l'identité (titres + corps + libellés UI),
     comme le site YC (100 % Geometria). Cormorant/Outfit/Jost = repli. */
  --serif:      'Geometria', 'Cormorant Garamond', Georgia, serif;
  --sans:       'Geometria', 'Outfit', system-ui, sans-serif;
  --mono:       'Geometria', 'Jost', system-ui, sans-serif;

  /* ── Motion Curves ── */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo:  cubic-bezier(0.87, 0, 0.13, 1);
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* ── Elevation System (Shadows) ── */
  --shadow-xs:  0 1px 2px rgba(109,72,51,0.04);
  --shadow-sm:  0 2px 8px rgba(109,72,51,0.06);
  --shadow-md:  0 4px 24px rgba(109,72,51,0.08);
  --shadow-lg:  0 12px 48px rgba(109,72,51,0.1);
  --shadow-xl:  0 24px 64px rgba(109,72,51,0.14);
  --shadow-gold: 0 8px 32px rgba(163,120,27,0.2);

  /* ── Spacing Scale (8px base) ── */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   2rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;
  --space-4xl:  12rem;

  /* ── Border Radius ── */
  --radius-sm:  0.75rem;
  --radius-md:  1.5rem;
  --radius-lg:  2rem;
  --radius-xl:  2.5rem;
  --radius-full: 999px;
}

/* ══════════════════════════════════════
   2. RESET + BASE
══════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size:16px; overflow-x: clip; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* ══════════════════════════════════════
   4. BASE ELEMENT RESETS & SCROLLBAR
══════════════════════════════════════ */
img { display:block; max-width:100%; }
a   { text-decoration:none; color:inherit; }

/* ── Text Selection — Brand Gold ── */
::selection { background: rgba(163,120,27,0.18); color: var(--ink); }

/* ── Normalisation mobile / iOS : pas de bleu ni de style système ── */
html { -webkit-tap-highlight-color: rgba(109,72,51,0.08); }
button { color: inherit; }
a[href^="tel:"], a[href^="mailto:"] { color: inherit; }
input[type="text"], input[type="email"], input[type="tel"], textarea { -webkit-appearance: none; appearance: none; border-radius: 0; caret-color: var(--ink); }
::-moz-selection { background: rgba(163,120,27,0.18); color: var(--ink); }

::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius:2px; }
html { scrollbar-color: var(--gold) var(--cream); scrollbar-width: thin; }

/* ══════════════════════════════════════
   5. SHARED TYPOGRAPHY & BUTTONS
══════════════════════════════════════ */
.section-eyebrow {
  font-family: 'Geometria', sans-serif; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: #8A6D3B; margin-bottom: 1.8rem; display: flex; align-items: center; gap: 1rem;
}
/* ── Section numbering — editorial micro-detail ── */
.section-num {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-right: 1rem;
  opacity: 0.6;
}
.section-h2 { font-family: 'Geometria', sans-serif; font-weight: 500; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.15; letter-spacing: 0.15em; text-transform: uppercase; }
.section-h2 em { font-style: normal; color: inherit; }
.section-desc { font-size: 0.95rem; line-height: 2; color: var(--ink-muted); max-width: 42ch; align-self: end; }
/* ── Award micro-detail: link hover line ── */
.section-desc a, footer a {
  position: relative;
  text-decoration: none;
}
.section-desc a::after, footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
footer .nav-brand::after, footer a.footer-col-link::after { content: none; }
.section-desc a:hover::after, footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Audit CRO: CTA sizing conforme loi de Fitts — zone de clic min 48px, font-size min 0.8rem */
.btn-primary {
  position: relative; display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.15rem 2.6rem;
  background: var(--ink); color: var(--cream); border-radius: 999px; font-family: 'Geometria', sans-serif; font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase; overflow: hidden; transition: transform 0.15s var(--ease-spring);
  border: 1px solid var(--ink); box-shadow: 0 8px 24px rgba(109,72,51,0.2);
  min-height: 48px;
}
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-101%); transition: transform 0.55s var(--ease-out); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:active { transform: scale(0.96); }

.btn-arrow { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid rgba(253,250,247,0.25); display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease-spring), border-color 0.3s; position: relative; z-index: 1; }
.btn-primary:hover .btn-arrow { transform: translateX(5px); border-color: rgba(255,255,255,0.4); }

.btn-secondary {
  position: relative; display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.15rem 2.6rem;
  background: transparent; color: var(--ink); border-radius: 999px; font-family: 'Geometria', sans-serif; font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase; overflow: hidden; transition: all 0.35s var(--ease-out);
  border: 1px solid rgba(109,72,51,0.15); min-height: 48px;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-secondary .btn-arrow { border-color: rgba(109,72,51,0.15); }
.btn-secondary:hover .btn-arrow { transform: translateX(5px); border-color: var(--gold); }

.btn-ghost { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.1rem 2.4rem; border-radius: 999px; font-family: 'Geometria', sans-serif; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream); border: 1px solid rgba(255,255,255,0.18); transition: background 0.35s; min-height: 48px; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-ghost:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Filled gold CTA — high-visibility primary action with shimmer */
.btn-gold-filled { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.15rem 2.6rem; border-radius: 999px; font-family: 'Geometria', sans-serif; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); background: var(--gold); border: 1px solid var(--gold); transition: background 0.35s, transform 0.3s var(--ease-spring), box-shadow 0.35s; min-height: 48px; position: relative; overflow: hidden; }
.btn-gold-filled::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.6s var(--ease-out); }
.btn-gold-filled:hover { background: var(--gold-light); box-shadow: 0 6px 24px rgba(163,120,27,0.35); transform: translateY(-1px); }
.btn-gold-filled:hover::after { left: 120%; }
.btn-gold-filled:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* ══════════════════════════════════════
   6. NAVIGATION — Style Salur (transparente, sans bordure)
══════════════════════════════════════ */
#navbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  background: transparent;
  border: none; border-radius: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  /* La navbar transparente flotte au-dessus du contenu : seuls ses
     éléments interactifs captent les clics, le reste passe au travers. */
  pointer-events: none;
}
#navbar > * { pointer-events: auto; }

/* Navbar minimal — marque dans le hero, juste le burger en haut à droite */
#navbar.navbar--minimal .nav-brand-spacer { display: block; width: 1px; height: 1px; }
#navbar.navbar--minimal { justify-content: flex-end; }

/* ═══════════════════════════════════════════
   NAVBAR YC — Marque centrée façon Yann Couvreur
═══════════════════════════════════════════ */
#navbar.navbar--yc {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  gap: 2rem;
}
.navbar--yc .nav-left {
  display: flex; align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  justify-self: start;
}
.navbar--yc .nav-right {
  display: flex; align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  justify-self: end;
}
.navbar--yc .nav-link {
  font-family: 'Geometria', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s var(--ease-out);
  white-space: nowrap;
}
.navbar--yc .nav-link:hover { color: var(--gold); }

/* Marque centrée — signature + wordmark + tagline empilés, compacts façon YC */
.nav-brand--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-decoration: none;
  justify-self: center;
  transition: opacity 0.3s var(--ease-out);
  line-height: 1;
}
.nav-brand--centered .brand-logo {
  height: clamp(40px, 4vw, 58px);
  width: auto;
  object-fit: contain;
  display: block;
}
/* Wordmark = SVG inline lockup complet (ATELIER MIRAGE + PÂTISSERIE + MARSEILLE)
   en glyphes YC retouchés. Aspect ratio ~4:1 (3 lignes empilées). */
.nav-brand--centered .brand-wordmark {
  display: block;
  height: clamp(38px, 4vw, 50px);
  width: auto;
  color: #6D4833;
  margin-top: 0;
  transition: color 0.3s var(--ease-out);
}
.nav-brand--centered .brand-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-top: -0.35rem;
  font-family: 'Geometria', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(109,72,51,0.62);
  font-weight: 500;
  line-height: 1.5;
}
.nav-brand--centered .brand-tagline-line {
  display: block;
}
/* 2e ligne (la ville) — plus petite et plus espacée, façon « PARIS » chez YC */
.nav-brand--centered .brand-tagline-line:last-child {
  font-size: 0.84em;
  letter-spacing: 0.4em;
  margin-top: 0.14em;
  margin-right: -0.4em;
}

/* Burger à gauche dans la nav YC */
.navbar--yc .nav-burger {
  position: relative;
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.navbar--yc .nav-burger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease-out);
}

/* Responsive : tablette — cacher quelques liens latéraux */
@media (max-width: 1024px) {
  #navbar.navbar--yc { padding: 1.2rem 1.5rem; gap: 1rem; }
  .navbar--yc .nav-link { font-size: 0.58rem; letter-spacing: 0.15em; }
}

/* Responsive : mobile — masquer les liens et garder marque centrée + burger */
@media (max-width: 768px) {
  #navbar.navbar--yc {
    grid-template-columns: auto 1fr auto;
  }
  .navbar--yc .nav-left .nav-link,
  .navbar--yc .nav-right .nav-link {
    display: none;
  }
  .nav-brand--centered .brand-logo { height: 36px; }
  .nav-brand--centered .brand-wordmark { height: 32px; margin-top: 0; }
  .nav-brand--centered .brand-tagline { font-size: 0.5rem; margin-top: -0.2rem; }
}

/* Hero YC — full bleed, démarre au pixel 0 (la navbar transparente flotte par-dessus)
   IMPORTANT : overflow visible + display block pour que position:sticky fonctionne */
.hero.hero--yc {
  padding: 0;
  margin: 0;
  background: var(--mocha, #3D2818);
  display: block;
  overflow: visible;
  align-items: initial;
  justify-content: initial;
  gap: 0;
}
.hero.hero--yc .hero-scroller {
  position: relative;
  width: 100%;
}
.hero.hero--yc .hero-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.hero.hero--yc .hero-sticky .hero-showcase--editorial {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.hero.hero--yc .hero-sticky .hero-showcase-img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  position: relative;
}

/* Desktop : scroller de hauteur naturelle (1 viewport) */
@media (min-width: 769px) {
  .hero.hero--yc .hero-scroller {
    height: 100vh;
  }
}

/* Mobile : scroller de 500vh pour piloter 5 collections via le scroll natif */
@media (max-width: 768px) {
  .hero.hero--yc .hero-scroller {
    height: 500vh;
  }
  /* S'assurer que le body et html laissent passer le sticky */
  html, body {
    overflow-x: clip;
    overflow-y: visible;
  }
}

/* ═══════════════════════════════════════════
   HERO OVERLAY ÉDITORIAL — façon Yann Couvreur
   Composition : eyebrow + 5 catégories + CTA centrés sur l'image
═══════════════════════════════════════════ */
.hero-showcase--editorial {
  position: relative;
  width: 100%;
}
.hero-showcase--editorial .hero-showcase-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 90vh;
  overflow: hidden;
}

/* Images en stack — crossfade par changement d'opacité (timing YC : 0.3s ease-in-out) */
.hero-stack-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.78);   /* assombrit légèrement pour faire ressortir le blanc — YC fait 60% */
  transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
  pointer-events: none;
}
.hero-stack-img.is-active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  padding: 2rem;
  pointer-events: none;
}
.hero-overlay > * { pointer-events: auto; }

.hero-overlay-eyebrow {
  font-family: 'Geometria', sans-serif;
  font-size: clamp(0.68rem, 0.95vw, 0.86rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 9rem 0 clamp(0.9rem, 1.8vw, 1.5rem);
  font-weight: 500;
}
/* Switch desktop/mobile du texte de l'eyebrow */
.hero-overlay-eyebrow__mobile { display: none; }
.hero-overlay-eyebrow__desktop { display: inline; }

/* Brand block dans le hero overlay — façon YC : icône + wordmark + tagline centrés */
/* Spécificité renforcée pour battre la règle legacy `.hero-showcase-img img` */
.hero-overlay .hero-overlay-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero-overlay .hero-overlay-brand-icon {
  height: clamp(36px, 4vw, 52px) !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  position: static !important;
  opacity: 0.95;
}
.hero-overlay .hero-overlay-brand-wordmark {
  height: clamp(11px, 1.2vw, 16px) !important;
  width: auto !important;
  max-width: 280px;
  object-fit: contain !important;
  display: block !important;
  position: static !important;
  margin-top: 0.25rem;
}
.hero-overlay-brand-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  margin-top: 0.4rem;
  font-family: 'Geometria', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(252,249,243,0.55);
  font-weight: 500;
  line-height: 1.6;
}
.hero-overlay-brand-tagline span { display: block; }

/* Menu catégories — typographie sans-serif fine façon YC, plus imposante */
.hero-overlay-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.4rem);
  margin: 0;
}
/* === Hero overlay menu — recette YC exacte ===
   - Geometria 300 (Light)
   - letter-spacing fixe en pixels (pas em)
   - margin-right -0.5em compense le trailing spacing → centre optique
   - Wrapper .hero-overlay-item__txt = cible du fade pour bypasser l'anim d'entrée
*/
.hero-overlay-item {
  font-family: 'Geometria', sans-serif;
  font-weight: 300;
  font-optical-sizing: auto;
  font-size: clamp(1.75rem, 3.5vw, 3.325rem);
  letter-spacing: clamp(8px, 1vw, 15px);
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  line-height: 1.3;
  position: relative;
  padding: 0;
  margin: 0 -0.5em 0 0;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* La cible du fade : le <span> interne (l'anim d'entrée se joue sur le <a>) */
.hero-overlay-item__txt {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}
/* Sélecteurs YC : fade les voisins de l'item survolé (avant + après) */
.hero-overlay-item:hover ~ .hero-overlay-item > .hero-overlay-item__txt,
.hero-overlay-item:has(~ .hero-overlay-item:hover) > .hero-overlay-item__txt {
  opacity: 0.3;
}

/* === Curseur custom flèche — apparaît au survol du menu des collections === */
#hero-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(0, 0, 0) translate(-50%, -50%) scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
#hero-cursor.is-visible {
  opacity: 1;
  transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0) translate(-50%, -50%) scale(1);
}
#hero-cursor svg {
  width: 16px;
  height: 16px;
  display: block;
}
/* Au survol du menu, on masque le curseur natif sur le menu et ses enfants */
.hero-overlay-menu:hover,
.hero-overlay-menu:hover .hero-overlay-item,
.hero-overlay-menu:hover .hero-overlay-item__txt {
  cursor: none;
}
/* Mobile / touch : pas de curseur custom (pas de souris) */
@media (hover: none), (max-width: 768px) {
  #hero-cursor { display: none; }
  .hero-overlay-menu:hover,
  .hero-overlay-menu:hover .hero-overlay-item,
  .hero-overlay-menu:hover .hero-overlay-item__txt { cursor: pointer; }
}

.hero-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Geometria', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 1.1rem 2.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.5s var(--ease-spring);
}
.hero-overlay-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(163,120,27,0.25);
}
.hero-overlay-cta svg { transition: transform 0.4s var(--ease-out); }
.hero-overlay-cta:hover svg { transform: translateX(4px); }

/* Variante DARK de l'overlay (texte cream sur fond chocolat des photos) */
.hero-overlay--dark .hero-overlay-eyebrow {
  color: rgba(255,251,244,0.95);
}
.hero-overlay--dark .hero-overlay-item {
  color: var(--white);
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Au hover, on garde le blanc (pas de gold) — comme YC */
.hero-overlay--dark .hero-overlay-item:hover {
  color: var(--white);
}
.hero-overlay--dark .hero-overlay-item:hover ~ .hero-overlay-item > .hero-overlay-item__txt,
.hero-overlay--dark .hero-overlay-item:has(~ .hero-overlay-item:hover) > .hero-overlay-item__txt {
  opacity: 0.3;
}
.hero-overlay--dark .hero-overlay-item::before,
.hero-overlay--dark .hero-overlay-item::after {
  background: var(--gold-light);
}
.hero-overlay--dark .hero-overlay-cta {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.hero-overlay--dark .hero-overlay-cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(201,161,88,0.35);
}

/* ═══════════════════════════════════════════
   ANIMATION D'ENTRÉE — stagger fade-in award-winning
═══════════════════════════════════════════ */
@keyframes am-rise-in {
  from { opacity: 0; transform: translateY(20px); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes am-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-overlay--dark .hero-overlay-eyebrow {
  animation: am-rise-in 0.9s var(--ease-out) 0.2s both;
}
.hero-overlay--dark .hero-overlay-item:nth-child(1) { animation: am-rise-in 0.9s var(--ease-out) 0.35s both; }
.hero-overlay--dark .hero-overlay-item:nth-child(2) { animation: am-rise-in 0.9s var(--ease-out) 0.45s both; }
.hero-overlay--dark .hero-overlay-item:nth-child(3) { animation: am-rise-in 0.9s var(--ease-out) 0.55s both; }
.hero-overlay--dark .hero-overlay-item:nth-child(4) { animation: am-rise-in 0.9s var(--ease-out) 0.65s both; }
.hero-overlay--dark .hero-overlay-item:nth-child(5) { animation: am-rise-in 0.9s var(--ease-out) 0.75s both; }
.hero-overlay--dark .hero-overlay-cta {
  animation: am-rise-in 0.9s var(--ease-out) 0.95s both;
}

/* Navbar elements — fade subtle au load */
.navbar--yc-dark .nav-left,
.navbar--yc-dark .nav-brand--centered,
.navbar--yc-dark .nav-right {
  animation: am-fade-in 1s var(--ease-out) 0.4s both;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-overlay--dark .hero-overlay-eyebrow,
  .hero-overlay--dark .hero-overlay-item,
  .hero-overlay--dark .hero-overlay-cta,
  .navbar--yc-dark .nav-left,
  .navbar--yc-dark .nav-brand--centered,
  .navbar--yc-dark .nav-right { animation: none; }
}

/* ═══════════════════════════════════════════
   HERO SCROLL CUE — flèche descendante seule (YC style)
═══════════════════════════════════════════ */
.hero-scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: none; /* visible uniquement en mobile */
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 6;
  pointer-events: none;
  opacity: 1;
  text-align: center;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
/* Masqué dès qu'on quitte la 1re catégorie (idx > 0) — façon YC */
.hero-scroll-cue.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}
.hero-scroll-cue__label {
  font-family: 'Geometria', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #ffffff !important;
  opacity: 1;
  margin: 0;
  text-transform: none;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hero-scroll-cue__arrow {
  color: #ffffff !important;
  stroke: #ffffff;
  opacity: 1;
  animation: am-scroll-bounce 2s var(--ease-out) infinite;
}
.hero-scroll-cue__arrow path { stroke: #ffffff; }
/* Compatibilité ancien sélecteur (autres pages qui pourraient encore avoir un <svg> direct) */
.hero-scroll-cue > svg:not(.hero-scroll-cue__arrow) {
  color: rgba(252,249,243,0.55);
  animation: am-scroll-bounce 2s var(--ease-out) infinite;
}
@keyframes am-scroll-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue__arrow,
  .hero-scroll-cue > svg { animation: none; }
}

/* ═══════════════════════════════════════════
   HERO PAGINATION — dots verticaux à droite (mobile YC)
═══════════════════════════════════════════ */
.hero-pagination {
  position: absolute;
  top: 50%;
  right: 1.2rem;
  transform: translateY(-50%);
  display: none; /* mobile only */
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  z-index: 7;
  padding: 0.5rem;
}
/* Dashes verticaux façon YC : 1px × 15px (default) → 32px (hover) → 50px (active)
   avec bordure blanche semi-transparente pour la visibilité */
.hero-dot {
  width: 1px;
  height: 15px;
  background: rgba(255,255,255,0.3);
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 5px;
  background-clip: padding-box;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.hero-dot::after {
  /* Hit area élargie pour le tactile */
  content: '';
  position: absolute;
  inset: -8px -10px;
}
.hero-dot:hover {
  background: rgba(255,255,255,0.5);
  height: 32px;
}
.hero-dot.is-active {
  background: rgba(255,255,255,1);
  border-color: rgba(255,255,255,1);
  height: 50px;
}

/* ═══════════════════════════════════════════
   HERO BOTTOM BRAND — wordmark + ville en bas (mobile YC)
═══════════════════════════════════════════ */
.hero-bottom-brand {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: none; /* mobile only */
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 6;
  opacity: 0;
  animation: am-fade-in 1s var(--ease-out) 1.2s forwards;
}
.hero-bottom-wordmark {
  height: 14px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.85;
}
.hero-bottom-locale {
  font-family: 'Geometria', sans-serif;
  font-size: 0.45rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(252,249,243,0.55);
}

/* ═══════════════════════════════════════════
   HERO MOBILE CTA — bouton « COMMANDER » outlined façon YC
   (visible uniquement sur mobile, sous le titre de catégorie active)
═══════════════════════════════════════════ */
.hero-mobile-cta {
  display: none; /* mobile only */
  font-family: 'Geometria', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
  margin-top: clamp(2.5rem, 5vh, 4rem);
  align-self: center;
  pointer-events: auto;
  -webkit-font-smoothing: antialiased;
}
.hero-mobile-cta:hover,
.hero-mobile-cta:focus-visible {
  background: var(--white);
  color: var(--ink);
}

/* ═══════════════════════════════════════════
   HERO MOBILE STACK (façon YC) — 5 sections empilées de 100vh
   Masqué sur desktop (l'ancien hero sticky reprend la main).
═══════════════════════════════════════════ */
.hero-mobile-stack { display: none; }
.home-mobile-sections { display: none; }

@media (max-width: 768px) {
  /* Le hero desktop sticky est complètement masqué sur mobile */
  .hero.hero--yc { display: none !important; }

  /* Sur mobile, on masque aussi :
     - la grille produits (.home-collection)
     - la section événements/bespoke (.home-bespoke) → remplacée par une YC-style section + page dédiée
     - la section partenaires (.home-feature#partners) → remplacée par une YC-style section + page dédiée
     - la section cinematic #selection (livraison + fruits du démon) → cachée sur mobile (demande karim) */
  .home-collection { display: none !important; }
  .home-bespoke { display: none !important; }
  .home-feature#partners { display: none !important; }
  .home-feature#selection { display: none !important; }

  /* Les nouveaux blocs mobile (hero + sections contenu) prennent la main */
  .hero-mobile-stack {
    display: block;
    position: relative;
    width: 100%;
    background: var(--ink);
  }
  .home-mobile-sections {
    display: block;
    position: relative;
    width: 100%;
    background: var(--ink);
  }
}

/* Une section = 1 viewport (--vhpx pour matcher YC, fallback 100vh/svh).
   Le trick YC : image en `position: fixed` clippée par `clip-path: inset(0)`
   de la section parente → l'image ne bouge pas dans le viewport, mais n'est
   visible qu'à l'intérieur de la zone de sa section. Effet : photo statique
   pendant que le contenu scrolle, et la photo suivante apparaît par le bas. */
.hero-mobile-section {
  position: relative;
  width: 100%;
  height: var(--vhpx, 100vh);   /* JS-driven, fallback 100vh */
  overflow: hidden;
  clip-path: inset(0);          /* ← LE TRUC MAGIQUE YC : clippe les fixed descendants */
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);  /* séparateur fin blanc entre sections (#FFFFFF66) */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-mobile-section:last-of-type {
  border-bottom: none;          /* pas de séparateur après la dernière */
}
.hero-mobile-section__bg {
  position: fixed;              /* ← FIXED dans le viewport (et non absolute) */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);     /* assombrissement subtil pour le contraste avec le blanc */
  z-index: 1;
  pointer-events: none;
}
.hero-mobile-section__link {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  padding: 0 6vw;
  transform: translateY(-6vh);  /* léger décalage vers le haut comme YC (translateY -75px ≈ -6vh) */
}
.hero-mobile-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.hero-mobile-section__eyebrow {
  font-family: 'Geometria', sans-serif;
  font-weight: 600;
  font-size: clamp(0.68rem, 0.95vw, 0.86rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
.hero-mobile-section__title {
  font-family: 'Geometria', sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 11vw, 3.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
.hero-mobile-section__cta {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: 'Geometria', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--white);
  border-radius: 2px;
  padding: 0.75rem 1.75rem;
  transition: background 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}
.hero-mobile-section__link:hover .hero-mobile-section__cta,
.hero-mobile-section__link:focus-visible .hero-mobile-section__cta {
  background: var(--white);
  color: var(--ink);
}

/* Scroll-cue UNIQUEMENT dans la 1re section, positionné en bas */
.hero-mobile-section__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  text-align: center;
}
.hero-mobile-section__scroll-cue-label {
  font-family: 'Geometria', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin: 0;
}
.hero-mobile-section__scroll-cue-arrow {
  color: #ffffff;
  animation: am-yc-bounce 2s ease infinite;
}
@keyframes am-yc-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mobile-section__scroll-cue-arrow { animation: none; }
}

/* Pagination verticale : fixed à droite, dashes 1px×15px → 50px active (YC exact) */
.hero-mobile-pagination {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.hero-mobile-pagination.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.hero-mobile-dot {
  width: 1px;
  height: 15px;
  background: rgba(255,255,255,0.3);
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 5px;
  background-clip: padding-box;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.hero-mobile-dot::after {
  /* Hit area élargie pour le tactile */
  content: '';
  position: absolute;
  inset: -8px -10px;
}
.hero-mobile-dot:hover {
  background: rgba(255,255,255,0.5);
  height: 32px;
}
.hero-mobile-dot.is-active {
  background: rgba(255,255,255,1);
  border-color: rgba(255,255,255,1);
  height: 50px;
}

/* ═══════════════════════════════════════════
   MOBILE — Hero en mode carousel YC (1 catégorie à la fois)
   [LEGACY] - règles conservées pour compatibilité du desktop overlay
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Pagination + scroll cue + CTA mobile visibles (bottom brand masqué — demande karim) */
  .hero-pagination { display: flex; }
  .hero-bottom-brand { display: none; }
  .hero-scroll-cue { display: flex; }
  .hero-mobile-cta { display: inline-block; }

  /* Menu : on cache toutes les catégories sauf l'active */
  .hero-overlay-menu {
    position: relative;
    display: block;
    min-height: 5rem;
    width: 100%;
    text-align: center;
    gap: 0;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
  }
  .hero-overlay-item {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
    font-size: clamp(2.2rem, 11vw, 3.8rem);
    letter-spacing: 0.05em;
    font-weight: 300;
    white-space: nowrap;
    animation: none !important;
  }
  /* Swap eyebrow text : « Découvrez nos » sur mobile, « Les collections » sur desktop */
  .hero-overlay-eyebrow__desktop { display: none; }
  .hero-overlay-eyebrow__mobile { display: inline; }
  /* Eyebrow plus gras sur mobile pour matcher YC (taille standard) */
  .hero-overlay-eyebrow {
    font-weight: 600;
    font-size: clamp(0.68rem, 0.95vw, 0.86rem);
  }
  .hero-overlay-item.is-active-mobile {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }
  .hero-overlay-item::before,
  .hero-overlay-item::after { display: none; }

  /* Eyebrow mobile carousel — taille reprise depuis la règle plus haut (clamp 1.05-1.3rem) */
  .hero-overlay-eyebrow {
    letter-spacing: 0.15em;
    margin-bottom: clamp(1.5rem, 4vh, 2.2rem);
  }

  /* Padding plus respirant pour aérer le carousel */
  .hero-overlay {
    padding: 1.5rem 3rem;
    justify-content: center;
  }

  /* CTA légèrement plus compact (typo conservée 0.7rem / 600 / 0.15em) */
  .hero-overlay-cta {
    padding: 0.85rem 2.2rem;
  }

  /* L'image hero mobile peut être plus haute */
  .hero.hero--yc .hero-showcase--editorial .hero-showcase-img {
    height: 100vh;
  }
}

/* Desktop : on garde l'état actuel (stack avec hover crossfade) */
@media (min-width: 769px) {
  .hero-overlay-item.is-active-mobile { /* no-op */ }
}

/* Mobile — réduit le padding et serre l'overlay */
@media (max-width: 768px) {
  .hero-overlay { padding: 1.5rem 1rem; }
  .hero-overlay-eyebrow { margin-bottom: 1.2rem; }
  .hero-overlay-menu { gap: 0.4rem; margin-bottom: 1.8rem; }
  .hero-overlay-item { font-size: clamp(1.3rem, 6vw, 2rem); }
  .hero-overlay-cta { padding: 0.9rem 2rem; }
  .hero-scroll-cue { bottom: 1.2rem; }
}

/* ═══════════════════════════════════════════
   ANNOUNCEMENT BAR — façon Yann Couvreur
═══════════════════════════════════════════ */
.announcement-bar {
  position: relative;
  width: 100%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  z-index: 1001;
  border-bottom: 1px solid rgba(109,72,51,0.06);
}
.announcement-track {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 1.2rem;
  overflow: hidden;
  max-width: 900px;
}
.announcement-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geometria', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  margin: 0;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.announcement-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.announcement-nav {
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.announcement-nav:hover { color: var(--gold); transform: translateX(2px); }
.announcement-prev:hover { transform: translateX(-2px); }

/* Mobile : texte plus compact, flèches collées */
@media (max-width: 768px) {
  .announcement-bar { padding: 0.65rem 0.5rem; gap: 0.3rem; }
  .announcement-slide { font-size: 0.5rem; letter-spacing: 0.15em; }
}

/* ═══════════════════════════════════════════
   NAVBAR YC — Variante DARK (sur fond chocolat)
═══════════════════════════════════════════ */
.navbar--yc-dark .nav-link {
  color: var(--cream);
}
.navbar--yc-dark .nav-link:hover {
  color: var(--gold-light);
}
.navbar--yc-dark .nav-burger span {
  background: var(--cream);
}
.navbar--yc-dark .nav-icon {
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.navbar--yc-dark .nav-icon:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* Burger 2 lignes façon YC — deux traits fins, espacés */
.navbar--yc .nav-burger--2lines,
.nav-burger--2lines {
  position: relative;
  width: 13px !important;
  height: 5px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.navbar--yc .nav-burger--2lines span:nth-child(1),
.navbar--yc .nav-burger--2lines span:nth-child(2),
.nav-burger--2lines span:nth-child(1),
.nav-burger--2lines span:nth-child(2) {
  display: block !important;
  width: 100% !important;
  height: 1.5px !important;
  background: var(--ink);
  border-radius: 0;
  transition: transform 0.4s var(--ease-out), background 0.3s var(--ease-out);
  transform-origin: center;
}
.navbar--yc .nav-burger--2lines span:nth-child(3),
.nav-burger--2lines span:nth-child(3) { display: none !important; }
/* Menu ouvert : le burger 2 traits ne s'anime pas (pas de translateY hérité du burger 3 traits) */
.nav-burger--2lines.open span,
.nav-burger--2lines.open span:nth-child(1),
.nav-burger--2lines.open span:nth-child(2) {
  transform: none !important;
  opacity: 1 !important;
}

/* ═══════════════════════════════════════════
   NAVBAR DARK — transparente, flotte sur le hero façon Yann Couvreur
   Au scroll : passe en fond noir-chaud avec backdrop-blur subtil
═══════════════════════════════════════════ */
#navbar.navbar--yc-dark {
  background: transparent;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.6rem clamp(1.5rem, 4vw, 3rem);
  transition: background 0.5s var(--ease-out), padding 0.4s var(--ease-out), backdrop-filter 0.5s var(--ease-out);
}
/* Quand le hero a défilé, la navbar devient solide pour rester lisible */
#navbar.navbar--yc-dark.scrolled {
  background: rgba(109,72,51,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(252,249,243,0.06);
}

/* Liens menu — typographie raffinée */
.navbar--yc-dark .nav-link {
  color: #fffdf9;
  font-family: 'Geometria', sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.4s var(--ease-out);
}
.navbar--yc-dark .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transform: translateX(-50%);
  transition: width 0.4s var(--ease-out);
}
.navbar--yc-dark .nav-link:hover { color: var(--gold-light); }
.navbar--yc-dark .nav-link:hover::after { width: 100%; }

/* Burger 2 lignes sur navbar foncée — cream, ultra-fin, raffiné façon YC */
.navbar--yc-dark .nav-burger--2lines span,
.navbar--yc-dark .nav-burger--2lines span:nth-child(1),
.navbar--yc-dark .nav-burger--2lines span:nth-child(2) {
  background: var(--cream);
  height: 1px;
}
.navbar--yc-dark .nav-burger--2lines:hover span { background: var(--gold-light); }
/* La ligne du bas raccourcit légèrement au hover, signature subtile */
.navbar--yc-dark .nav-burger--2lines:hover span:nth-child(2) { transform: scaleX(0.6); transform-origin: left; }

/* Tagline Pâtisserie / Marseille — compacte mais bien lisible sur fond foncé */
.navbar--yc-dark .nav-brand--centered .brand-tagline {
  color: rgba(255,251,244,0.78);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
}

/* Icônes — cream subtil, hover gold */
.navbar--yc-dark .nav-icon {
  color: var(--cream);
  opacity: 0.85;
  transition: color 0.3s var(--ease-out), opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.navbar--yc-dark .nav-icon:hover {
  color: var(--gold-light);
  opacity: 1;
  transform: translateY(-1px);
}

/* Au scroll — légère réduction du padding pour effet "compaction" */
#navbar.navbar--yc-dark.scrolled {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
/* Navbar quand le menu est ouvert */
#navbar.menu-open .brand-logo { filter: brightness(0) invert(1) sepia(1) saturate(0.5) hue-rotate(350deg) brightness(0.85); }
#navbar.menu-open .brand-atelier { color: var(--cream); }
#navbar.menu-open .brand-mirage { color: var(--gold-light); }

/* Brand — left aligned, large à la Salur */
.nav-brand { display: flex; align-items: center; gap: 1.2rem; }
.brand-logo { height: 88px; width: auto; object-fit: contain; transition: all 0.3s; }
.brand-name { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; gap: 2px; }
.brand-atelier { font-family: 'Geometria', sans-serif; font-weight: 500; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); display: block; }
.brand-mirage { font-family: 'Geometria', sans-serif; font-weight: 500; font-size: 1.2rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); display: block; }

/* Wordmark = SVG inline lockup complet (3 lignes : ATELIER MIRAGE / PÂTISSERIE / MARSEILLE) */
.brand-wordmark {
  display: block;
  height: 60px;
  width: auto;
  color: #6D4833;
  transition: color 0.3s var(--ease-out);
}
#navbar.scrolled .brand-wordmark { height: 48px; }
/* Variante sombre — sur le hero (transparente), wordmark en cream */
.navbar--yc-dark:not(.nav-solid) .brand-wordmark { color: var(--cream); }

/* Burger — toujours visible */
.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  justify-content: center; align-items: center; padding: 0; background: transparent;
  border: none; cursor: pointer; min-width: 44px; min-height: 44px;
  position: relative; z-index: 1005;
}
.nav-burger::after { content: ''; display: block; position: absolute; top: -8px; bottom: -8px; left: -8px; right: -8px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.4s var(--ease-out), background 0.3s, opacity 0.3s; transform-origin: center; pointer-events: none; }
/* X animation + couleur crème quand ouvert */
.nav-burger.open span { background: var(--cream); }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- NAV LINKS (hidden — tout passe dans le burger) --- */



/* ══════════════════════════════════════
   7. FORMULAIRES (B2B & ÉVÉNEMENTS)
══════════════════════════════════════ */
.eyebrow { font-family: 'Geometria', sans-serif; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; display: flex; align-items: center; gap: 1rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
.full-width { grid-column: span 2; }

.input-group { position: relative; margin-top: 1rem; padding-top: 1.2rem; }
.input-group label { position: absolute; top: 1.2rem; left: 0; font-family: 'Geometria', sans-serif; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-muted); transition: transform 0.4s var(--ease), color 0.4s var(--ease); transform-origin: left top; pointer-events: none; }
.input-group input, .input-group textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(109,72,51,0.15); padding: 1rem 0 0.8rem; font-family: var(--mono); font-size: 1.05rem; color: var(--ink); outline: none; transition: border-color 0.4s var(--ease); }
.input-group input:focus-visible, .input-group textarea:focus-visible { outline: none; }
.input-group textarea { min-height: 80px; resize: none; overflow: hidden; }

.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label, 
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label { transform: translateY(-1.8rem) scale(0.85); color: var(--gold); }
.input-group input:focus, .input-group textarea:focus { border-bottom-color: var(--gold); }

/* L'icône de validation est verrouillée en taille ici */
.validation-icon { position: absolute; right: 0; bottom: 1rem; width: 16px !important; height: 16px !important; opacity: 0; transform: scale(0.5); transition: all 0.4s var(--ease-spring); color: var(--gold); }
.input-group input:valid:not(:placeholder-shown) ~ .validation-icon { opacity: 1; transform: scale(1); }

.custom-select-wrapper { position: relative; user-select: none; margin-top: 1rem; }
.custom-select-wrapper label { position: absolute; top: -0.8rem; left: 0; font-family: 'Geometria', sans-serif; font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); }
.custom-select { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0 0.8rem; border-bottom: 1px solid rgba(109,72,51,0.15); font-family: var(--mono); font-size: 1.05rem; color: var(--ink); cursor: pointer; transition: border-color 0.4s var(--ease); }
.custom-select:hover { border-bottom-color: var(--gold); }
.custom-select::after { content: ''; width: 8px; height: 8px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(-3px) rotate(45deg); transition: transform 0.4s var(--ease-spring); }
.custom-select.open::after { transform: translateY(2px) rotate(-135deg); border-color: var(--gold); }

.custom-options { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-radius: 0 0 1.5rem 1.5rem; box-shadow: 0 20px 50px rgba(109,72,51,0.1); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.4s var(--ease); z-index: 100; overflow: hidden; padding: 0.5rem 0; }
.custom-select.open + .custom-options { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-option { padding: 1rem 1.5rem; font-family: var(--mono); font-size: 0.95rem; color: var(--ink-muted); cursor: pointer; transition: background 0.3s, color 0.3s; }
.custom-option:hover, .custom-option.selected { background: var(--cream); color: var(--ink); }
select { display: none; }

.submit-wrap { margin-top: 4rem; display: flex; align-items: center; justify-content: space-between; }
.submit-btn { padding: 1.2rem 2.5rem; background: var(--ink); color: var(--cream); border: none; border-radius: 999px; font-family: 'Geometria', sans-serif; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; gap: 1.2rem; transition: all 0.4s var(--ease-spring); position: relative; overflow: hidden; }
.submit-btn::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-101%); transition: transform 0.5s var(--ease); z-index: 0; }
.submit-btn:hover::before { transform: translateX(0); }
.submit-btn span, .submit-btn svg { position: relative; z-index: 1; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(163,120,27,0.25); }
.submit-btn:active { transform: translateY(1px) scale(0.98); }

.privacy-note { font-family: 'Geometria', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em; color: var(--ink-muted); text-transform: uppercase; max-width: 150px; }

.success-overlay { position: absolute; inset: 0; background: var(--white); border-radius: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem; opacity: 0; pointer-events: none; z-index: 10; }
.success-overlay.active { opacity: 1; pointer-events: auto; }
.success-mark { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; color: var(--gold); }
.success-mark svg { width: 24px; height: 24px; }

/* ══════════════════════════════════════
   8. PAGE SECTIONS (HERO, ATELIER, ETC)
══════════════════════════════════════ */
/* ── HERO — Cinematic Showcase (Award-winner) ── */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 0 0;
  background: var(--white);
  gap: 0;
}

/* ── Headline éditorial centré ── */
.hero-headline {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: clamp(1rem, 2vh, 2rem);
}
.hero-h1 {
  font-family: 'Geometria', sans-serif;
  font-weight: 500;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-h1 em { font-style: normal; color: inherit; }

/* Hero — variante "brand mark" : proportions Yann Couvreur (signature et wordmark minimalistes) */
.hero-brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  font-size: 0;
  line-height: 1;
  letter-spacing: normal;
  margin: 0;
}
.hero-brand-icon {
  width: auto;
  height: clamp(48px, 5.5vw, 75px);
  object-fit: contain;
  display: block;
}
.hero-brand-wordmark {
  width: auto;
  height: clamp(14px, 1.6vw, 22px);
  object-fit: contain;
  display: block;
  max-width: 92vw;
}

/* Descripteur "Pâtisserie / Marseille" en Cormorant Garamond, façon Yann Couvreur */
.hero-brand-tagline {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-align: center;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.hero-brand-tagline span { display: block; }

.hero-headline--brand {
  margin: 0 0 clamp(2rem, 5vh, 4rem);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-hook {
  margin-top: 0.8rem;
  font-family: var(--sans);
  font-size: clamp(0.88rem, 1.1vw, 1.05rem);
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── Showcase — Lineup cinématique ── */
.hero-showcase {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-showcase-img {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 2.5/1;
}
.hero-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  will-change: transform;
}

/* ── Réflection miroir réelle ── */
.hero-showcase-reflection {
  width: 100%;
  max-width: 100%;
  height: clamp(40px, 6vw, 80px);
  overflow: hidden;
  pointer-events: none;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.04) 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.04) 40%, transparent 100%);
}
.hero-showcase-reflection img {
  width: 110%;
  height: auto;
  object-fit: cover;
  object-position: center 40%;
  margin-left: -5%;
  transform: scaleY(-1);
  transform-origin: top center;
  filter: blur(3px);
}

/* ── Ligne dorée — désactivée (choix épuré) ── */
.hero-showcase::after { display: none; }


/* ── Bottom: CTAs ── */
.hero-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: clamp(2rem, 3.5vh, 3.5rem);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ── Scroll hint ── */
.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}
.scroll-hint-line { width: 1px; height: 3.5rem; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollLine 2.5s ease-in-out infinite; }
.scroll-hint-label { font-family: 'Geometria', sans-serif; font-size: 0.52rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); }

/* Audit v5: paddings restaurés — respiration haute pâtisserie (Grolet / Couvreur) */
.atelier { padding: 6rem 0 5rem; overflow: hidden; position: relative; }
.atelier::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background: linear-gradient(to right, transparent, rgba(109,72,51,0.08), transparent); }
.atelier-header { padding: 0 6vw; display: grid; grid-template-columns: 1fr 1fr; gap:4rem; align-items:end; margin-bottom: 3.5rem; }
.atelier-steps-outer { padding-left: 6vw; overflow: hidden; }
.atelier-steps { display: flex; gap: 3rem; width: max-content; will-change: transform; }
.atelier-step { width: 380px; flex-shrink: 0; }
.atelier-step-num { font-family: 'Geometria', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; display:flex; align-items:center; gap:1rem; }
.atelier-step-num::after { content:''; flex:1; height:1px; background:rgba(163,120,27,0.2); }
.atelier-step-img { width:100%; aspect-ratio: 4/3; border-radius: 2rem; overflow:hidden; background: var(--cream-2); margin-bottom: 2rem; position:relative; }
.atelier-step-img img { width:100%; height:100%; object-fit:cover; mix-blend-mode:normal; }
.atelier-step-title { font-family: var(--serif); font-size: 1.8rem; font-weight:300; letter-spacing:-0.01em; line-height:1.1; color:var(--ink); margin-bottom:1rem; }
.atelier-step-desc { font-size:0.85rem; line-height:1.85; color:var(--ink-muted); }

.philosophy { padding: 6rem 6vw; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: center; position: relative; }
.philosophy::before { content:''; position:absolute; top:0; left:6vw; right:6vw; height:1px; background: linear-gradient(to right, transparent, rgba(109,72,51,0.08) 30%, rgba(109,72,51,0.08) 70%, transparent); }
.philosophy-quote { font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 3.8vw, 4rem); line-height: 1.15; font-weight: 300; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 3rem; }
.philosophy-quote em { color: var(--gold-light); font-style:normal; }
.philosophy-body { font-size: 0.875rem; line-height: 1.95; color: var(--ink-muted); max-width: 46ch; }
.philosophy-divider { display: flex; align-items:center; gap:1.5rem; margin:2.5rem 0; }
.philosophy-divider-line { flex:1; height:1px; background:rgba(109,72,51,0.08); }
.philosophy-divider-text { font-family: 'Geometria', sans-serif; font-size:0.55rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--gold); }
.philosophy-visual { position:relative; height:520px; }
.phil-img-a { position:absolute; top:0; right:0; width:72%; border-radius: 40% 60% 60% 40% / 30% 30% 70% 70%; overflow:hidden; filter: drop-shadow(0 30px 70px rgba(109,72,51,0.14)); }
.phil-img-a img { width:100%; height:360px; object-fit:cover; }
.phil-img-b { position:absolute; bottom:0; left:0; width:52%; border-radius: 2.5rem; overflow:hidden; filter: drop-shadow(0 20px 50px rgba(109,72,51,0.1)); }
.phil-img-b img { width:100%; height:230px; object-fit:cover; }
.phil-stats { position:absolute; top:48%; left:35%; background: rgba(250,245,239,0.8); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.5); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 10px 40px rgba(109,72,51,0.07); border-radius: 1.4rem; padding: 1.4rem 1.8rem; }
.phil-stats-val { font-family:var(--serif); font-size:2.5rem; font-weight:300; line-height:1; color:var(--ink); }
.phil-stats-label { font-family: 'Geometria', sans-serif; font-size:0.56rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); margin-top:0.4rem; }

/* --- BOUTON ASMR VIDÉO --- */
.asmr-toggle {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(26, 23, 20, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-family: 'Geometria', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  z-index: 10;
}

.asmr-toggle:hover {
  background: rgba(26, 23, 20, 0.8);
  transform: scale(1.05);
}

.boutique { padding: 9rem 6vw 4rem; position: relative; }
.boutique::before { content:''; position:absolute; top:0; left:6vw; right:6vw; height:1px; background: linear-gradient(to right, transparent, rgba(109,72,51,0.08) 30%, rgba(109,72,51,0.08) 70%, transparent); }
.boutique-header { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:end; margin-bottom:3rem; }

/* Filtres — version minimale éditoriale (texte + soulignement) façon YC */
.boutique-filters { display:flex; gap:clamp(1.4rem, 3vw, 2.8rem); flex-wrap:wrap; margin-bottom:4rem; align-items:center; }
.filter-pill {
  font-family: 'Geometria', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  min-height: auto;
  border: none;
  border-radius: 0;
  color: var(--ink-muted);
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: color 0.35s var(--ease-out);
}
.filter-pill::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.filter-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.filter-pill:hover { color: var(--ink); }
.filter-pill:hover::after { width: 100%; }
.filter-pill.active { color: var(--ink); }
.filter-pill.active::after { width: 100%; }

/* Grille produits — uniforme 3 colonnes, éditoriale et claire */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2.2rem; perspective: 1200px; }
.shop-grid .shop-card { grid-column: auto; }
/* ── Product Cards — Premium Elevation Design ── */
.shop-card {
  position: relative;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.5s var(--ease-out);
}
.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}
.shop-card-img-wrap { position:relative; width:100%; aspect-ratio:4/5; border-radius:1rem; overflow:hidden; background: var(--cream-2); margin-bottom:1rem; }
/* 1. L'IMAGE PRINCIPALE (Le fruit) */
.shop-card-img-wrap img.shop-card-main { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  mix-blend-mode: normal; 
  
  /* LE FIX : Le mouvement reste lent (0.8s) mais l'opacité est très rapide (0.3s) */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease; 
}

/* 2. L'IMAGE DE TEXTURE (Le zoom découpé) */
.shop-card-img-wrap img.shop-card-zoom { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  mix-blend-mode: normal; 
  opacity: 0; 
  transform: scale(1.1); 
  
  /* LE FIX : Même chose, fondu rapide et mouvement lent */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease; 
  z-index: 1; 
  pointer-events: none; 
}

/* Les états au survol (Ça, ça ne change pas !) */
.shop-card:hover .shop-card-img-wrap img.shop-card-main { 
  transform: scale(1.03); 
}

/* Ne masquer l'image principale que si une image zoom existe */
.shop-card:hover .shop-card-img-wrap:has(img.shop-card-zoom) img.shop-card-main { 
  opacity: 0; 
}

.shop-card:hover .shop-card-img-wrap img.shop-card-zoom {
  opacity: 1;
  transform: scale(1);
}
.shop-card-zoom-hint { position:absolute; bottom:1.5rem; left:1.5rem; font-family: 'Geometria', sans-serif; font-size:0.48rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); opacity:0; transition:opacity 0.4s; z-index:2; display:flex; align-items:center; gap:0.4rem; }
.shop-card:hover .shop-card-zoom-hint { opacity:0.7; }
.shop-card-badge-new { position:absolute; top:1.2rem; right:1.2rem; font-family: 'Geometria', sans-serif; font-size:0.52rem; letter-spacing: 0.15em; text-transform:uppercase; padding:0.4rem 0.9rem; border-radius:999px; background:var(--gold); color:var(--white); z-index:2; box-shadow: none; }
/* Bouton « Ajouter au panier » révélé au survol — façon quick-buy YC */
.shop-card-add {
  position:absolute; left:0.8rem; right:0.8rem; bottom:0.8rem;
  padding:0.8rem 1rem; z-index:3;
  background:var(--cream); color:var(--ink); border:none;
  font-family: 'Geometria', sans-serif; font-size:0.6rem; letter-spacing: 0.15em; text-transform:uppercase;
  text-align:center; cursor:pointer; user-select:none;
  opacity:0; transform:translateY(10px);
  transition:opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.3s, color 0.3s;
}
.shop-card:hover .shop-card-add,
.shop-card:focus-within .shop-card-add { opacity:1; transform:translateY(0); }
.shop-card-add:hover { background:var(--ink); color:var(--cream); }
.shop-card-add.is-added { background:var(--gold); color:var(--cream); }
@media (hover: none) {
  /* Sur tactile (pas de survol), on n'affiche PAS le bouton en surimpression —
     façon Yann Couvreur : image + nom + prix, on tape la carte pour ouvrir la fiche. */
  .shop-card-add { display: none; }
}
.shop-card-name { font-family: 'Geometria', sans-serif; font-size:0.8rem; font-weight:500; letter-spacing: 0.15em; text-transform:uppercase; margin-bottom:0.4rem; padding: 0 0.6rem; color: var(--ink); }
.shop-card-sub { font-family: 'Geometria', sans-serif; font-size:0.6rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); margin-bottom:1rem; padding: 0 0.6rem; }
.shop-card-footer { display:flex; justify-content:space-between; align-items:center; padding: 0 0.6rem 0.6rem; }
.shop-card-price { font-family:var(--mono); font-size:0.75rem; font-weight:300; color:var(--ink-muted); letter-spacing: 0.03em; }
.shop-card-price em { font-family:var(--serif); font-size:1.4rem; font-weight:300; color:var(--ink); font-style: normal; margin: 0 0.15rem; }
.shop-card-price span { font-family:var(--mono); font-size:0.62rem; color:var(--gold); letter-spacing:0.08em; margin-left:0.1rem; }

/* ── AWARD · "Servi chez" chip — preuve sociale locale, discrète ── */
.shop-card-servi {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0.35em;
  margin: 0 0.6rem 1rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(45, 42, 38, 0.09);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.5);
  font-family: 'Geometria', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.2;
  transition: border-color .35s ease, background .35s ease, color .35s ease;
  max-width: calc(100% - 1.2rem);
}
.shop-card-servi-label { opacity: 0.55; font-weight: 400; }
.shop-card-servi-name {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
}
.shop-card-servi-city { opacity: 0.6; }
.shop-card:hover .shop-card-servi {
  border-color: rgba(45, 42, 38, 0.22);
  background: rgba(255, 252, 245, 0.85);
}
@media (max-width: 768px) {
  .shop-card-servi { margin-left: 3vw; margin-right: 3vw; font-size: 0.52rem; }
  .shop-card-servi-name { font-size: 0.76rem; }
}

/* ── KPI, Testimonials, Video Reveal, Guarantees — Desktop base rules ── */
/* Base paddings — overridden in homepage.css */

/* ── Collection Banner — Full-width Lineup ── */
.collection-banner {
  position: relative; overflow: hidden;
  background: var(--ink); padding: 0; margin: 0;
}
.collection-banner img {
  width: 100%; height: auto; display: block;
  object-fit: cover; max-height: 480px;
  filter: saturate(0.85);
}
.collection-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(109,72,51,0.55) 0%, rgba(109,72,51,0.15) 40%, rgba(109,72,51,0.15) 60%, rgba(109,72,51,0.55) 100%);
  display: flex; align-items: center; justify-content: center;
}
.collection-banner-text {
  text-align: center; color: var(--cream);
}
.collection-banner-text .eyebrow {
  font-family: 'Geometria', sans-serif; font-size: 0.55rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem;
}
.collection-banner-text h3 {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 300;
  line-height: 1.05; letter-spacing: -0.02em;
}
.collection-banner-text h3 em { font-style: italic; color: var(--gold-light); }
@media (max-width:768px) {
  .collection-banner img { max-height: 280px; }
}

.newsletter-h { font-family:var(--serif); font-size:clamp(1.8rem,3vw,2.8rem); font-weight:300; line-height:1.1; }
.newsletter-h em { font-style:italic; color:var(--gold-light); }
.newsletter-input-wrap { display:flex; align-items:center; border-bottom:1px solid rgba(109,72,51,0.2); transition:border-color 0.3s; }
.newsletter-input-wrap:focus-within { border-bottom-color:var(--gold); }
.newsletter-input { flex:1; padding:1rem 1.5rem; border:none; outline:none; background:transparent; font-family:var(--sans); font-size:0.875rem; color:var(--ink); }
.newsletter-submit { padding:0.8rem 1.6rem; background:var(--ink); color:var(--cream); border:none; border-radius:999px; font-family: 'Geometria', sans-serif; font-weight:600; font-size:0.7rem; letter-spacing: 0.15em; text-transform:uppercase; cursor:pointer; transition:background 0.3s; }
.newsletter-submit:hover { background:var(--gold); }

/* ── Footer — Épuré, aéré ── */
footer { border-top: 1px solid rgba(109,72,51,0.06); position: relative; background: #F7F2E9; }
footer::before { display: none; }
.footer-brand-block { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; margin-bottom: 1.5rem; width: 100%; margin-left: auto; margin-right: auto; }
.footer-logo-wrap { margin-bottom: 0; text-align: center; display: flex; justify-content: center; }
.footer-logo-img { height: 56px; width: auto; object-fit: contain; opacity: 0.9; display: block; margin: 0 auto; }
.footer-brand-text { text-align: center; margin-bottom: 0; }
.footer-atelier { font-family: 'Geometria', sans-serif; font-weight: 500; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 3px; }
.footer-mirage { font-family: 'Geometria', sans-serif; font-weight: 500; font-size: 1.5rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); display: block; }

/* Wordmark image — pied de page (horizontal) */
.footer-brand-wordmark { height: 22px; width: auto; max-width: 420px; object-fit: contain; display: block; margin: 0 auto; }
.footer-brand-tagline { display: flex; flex-direction: column; align-items: center; margin-top: 0.55rem; font-family: 'Geometria', sans-serif; font-weight: 500; font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); line-height: 1.6; }
.footer-brand-tagline span { display: block; }
.footer-brand-tagline span:last-child { font-size: 0.84em; letter-spacing: 0.4em; margin-top: 0.1em; margin-right: -0.4em; }
.footer-tagline { font-family: 'Geometria', sans-serif; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 2.5rem; }
.footer-contact { margin-bottom: 2.5rem; }
.footer-contact a { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-muted); transition: color 0.3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-address { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--ink-muted); opacity: 0.6; margin-bottom: 2.5rem; }
.footer-bottom { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; padding-top: 2.5rem; border-top: 1px solid rgba(109,72,51,0.06); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--ink-muted); }
.footer-bottom a { color: var(--ink-muted); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-nav { display:flex; justify-content:center; flex-wrap:wrap; gap:1rem 2.5rem; margin-bottom:2.5rem; padding: 2rem 0; border-top: 1px solid rgba(109,72,51,0.05); border-bottom: 1px solid rgba(109,72,51,0.05); }
.footer-nav a { font-family: 'Geometria', sans-serif; font-size:0.68rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); transition: color 0.3s; display: inline-block; }
.footer-nav a:hover { color:var(--gold); }

/* --- SOCIAL LINKS IN FOOTER --- */
.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(109,72,51,0.1);
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--gold);
  background: rgba(163,120,27,0.08);
}
.footer-social a svg { color: var(--ink-muted); transition: color 0.3s; }
.footer-social a:hover svg { color: var(--gold); }

/* ═══════════ FOOTER YC — réassurance + colonnes + newsletter + barre légale ═══════════ */
.footer-reassurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: transparent;
  border-bottom: 1px solid rgba(109,72,51,0.08);
}
.reassurance-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  text-align: center; gap: 0.85rem;
  padding: 2.6rem 2rem;
}
.reassurance-item + .reassurance-item { border-left: 1px solid rgba(109,72,51,0.08); }
.reassurance-item svg { width: 34px; height: 34px; color: rgba(109,72,51,0.46); }
.reassurance-title {
  font-family: 'Geometria', sans-serif; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink);
}
.reassurance-text {
  font-family: 'Geometria', sans-serif; font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.01em; color: var(--ink-muted); line-height: 1.6; max-width: 34ch;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.6rem 2.5rem;
  max-width: 1500px; margin: 0 auto;
  padding: 3.6rem 6vw 2.4rem;
  text-align: left;
}
.footer-col--newsletter { width: 380px; }
.footer-col--partners { width: 380px; }
.footer-partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; width: 100%; }
.footer-col--partners .footer-col-title { white-space: nowrap; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col-title {
  font-family: 'Geometria', sans-serif; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink);
  margin: 0 0 1.5rem;
}
.footer-col-title--sub { margin-top: 2rem; }
.footer-col a {
  font-family: var(--sans); font-size: 0.92rem; font-weight: 300;
  color: var(--ink-muted); text-decoration: none;
  padding: 0.4rem 0; transition: color 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--gold); }
.footer-partner {
  font-family: var(--sans); font-size: 0.92rem; font-weight: 300;
  color: var(--ink-muted); padding: 0.4rem 0;
}
.footer-col a.footer-col-link {
  display: block; width: 100%; box-sizing: border-box; text-align: center;
  font-family: 'Geometria', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream); background: var(--tan);
  padding: 0.95rem 1.6rem; margin-top: 1.6rem;
  text-decoration: none; border: none;
  transition: background 0.3s var(--ease-out);
}
.footer-col a.footer-col-link:hover { background: var(--tan-deep); }
.footer-col-note {
  font-family: 'Geometria', sans-serif; font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.01em; color: var(--ink-muted); line-height: 1.6;
  margin: 0.5rem 0 0; max-width: 30ch;
}

.footer-newsletter { display: flex; gap: 0.5rem; margin-top: 1.2rem; width: 100%; max-width: 380px; }
.footer-newsletter-fine {
  font-family: 'Geometria', sans-serif; font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.01em; color: var(--ink-muted); line-height: 1.6;
  margin: 0.9rem 0 0;
}
.footer-newsletter input {
  flex: 1; min-width: 0;
  font-family: var(--sans); font-size: 0.86rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(109,72,51,0.18);
  background: #ffffff; color: var(--ink);
}
.footer-newsletter input::placeholder { color: rgba(109,72,51,0.4); }
.footer-newsletter input:focus { outline: none; border-color: var(--gold); }
.footer-newsletter button {
  font-family: 'Geometria', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0 1.5rem; border: none; cursor: pointer;
  background: var(--tan); color: var(--cream);
  transition: background 0.3s var(--ease-out);
}
.footer-newsletter button:hover { background: var(--tan-deep); }

footer .footer-brand-block { margin: 0.4rem auto 1.4rem; }

.footer-legal {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0.7rem 1.6rem;
  max-width: 1180px; margin: 0 auto;
  padding: 1.6rem 6vw 2.2rem;
  border-top: 1px solid rgba(109,72,51,0.08);
}
.footer-legal span, .footer-legal a {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 300;
  letter-spacing: 0.03em; color: var(--ink-muted);
}
.footer-legal a { text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold); }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.5rem; }

@media (max-width: 768px) {
  .footer-reassurance { grid-template-columns: 1fr; }
  .reassurance-item { padding: 2.1rem 1.6rem; }
  .reassurance-item + .reassurance-item { border-left: none; border-top: 1px solid rgba(109,72,51,0.08); }
  .footer-cols { flex-direction: column; gap: 2.6rem; padding: 3.2rem 7vw 2.4rem; }
  .footer-col--newsletter, .footer-col--partners { width: auto; }
  .footer-partners-grid { grid-template-columns: 1fr; }
  .footer-newsletter { max-width: none; }
  .footer-legal { flex-direction: column; gap: 1rem; padding-bottom: 2.4rem; }
}

/* ══════════════════════════════════════
   9. COMPONENTS (MODALS, CARTS, ETC)
══════════════════════════════════════ */
#preloader { position:fixed; inset:0; z-index:99999; background:var(--cream); display:flex; align-items:center; justify-content:center; flex-direction:column; gap:1.5rem; transition:opacity 0.6s var(--ease-out), visibility 0.6s; }
#preloader.done { opacity:0; visibility:hidden; pointer-events:none; }
#preloader img { height:42px; filter:brightness(0) saturate(100%); animation:preloaderPulse 1.5s ease-in-out infinite; }
#preloader .preloader-line { width:60px; height:1px; background:var(--gold); transform:scaleX(0); animation:preloaderLine 1.2s var(--ease-out) 0.3s forwards; }

#order-gateway { position: fixed; inset: 0; z-index: 10000; background: rgba(26, 23, 20, 0.88); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2); color: var(--cream); display: flex; align-items: center; padding: 6vw; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.6s var(--ease-out), visibility 0.6s; will-change: opacity, visibility; }
#order-gateway.open { opacity: 1; pointer-events: auto; visibility: visible; }
.order-close { position: absolute; top: 2.5rem; right: 4vw; background: transparent; border: none; color: rgba(250,245,239,0.6); font-family: 'Geometria', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; display: flex; align-items: center; gap: 1rem; padding: 1rem; transition: color 0.3s; cursor:pointer; }
.order-close:hover { color: var(--cream); }
.order-gateway-inner { width: 100%; max-width: 1400px; margin: 0 auto; }
.order-header { margin-bottom: 6rem; }
.order-eyebrow { font-family: 'Geometria', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.order-h2 { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.02em; }
.order-h2 em { font-style: italic; color: var(--gold-light); }
.order-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6vw; }
.order-path { border-top: 1px solid rgba(250,245,239,0.15); padding-top: 2.5rem; transform: translateY(30px); opacity: 0; transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out); }
#order-gateway.open .order-path { transform: translateY(0); opacity: 1; }
#order-gateway.open .order-path:nth-child(1) { transition-delay: 0.1s; }
#order-gateway.open .order-path:nth-child(2) { transition-delay: 0.2s; }
#order-gateway.open .order-path:nth-child(3) { transition-delay: 0.3s; }
.order-path-num { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.25em; color: rgba(250,245,239,0.4); margin-bottom: 2rem; }
.order-path-title { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; margin-bottom: 1.5rem; color: var(--white); }
.order-path-desc { font-family: 'Geometria', sans-serif; font-size: 0.875rem; font-weight: 400; line-height: 1.8; color: rgba(250,245,239,0.78); margin-bottom: 3rem; max-width: 35ch; }
.order-path-link { display: inline-flex; flex-direction: column; gap: 0.6rem; font-family: 'Geometria', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); }
.link-line { width: 100%; height: 1px; background: rgba(201,170,124,0.3); position: relative; overflow: hidden; }
.link-line::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 100%; background: var(--gold-light); transform: translateX(-101%); transition: transform 0.5s var(--ease-out); }
.order-path-link:hover .link-line::after { transform: translateX(0); }

/* ── Menu Overlay — tiroir latéral façon Yann Couvreur ── */
#mobile-overlay {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(109,72,51,0.38);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
#mobile-overlay.open { opacity: 1; pointer-events: all; visibility: visible; }

.menu-panel {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(86vw, 420px);
  background: var(--cream);
  display: flex; flex-direction: column;
  padding: 7rem 2.8rem 2.2rem;
  box-sizing: border-box; overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 0 60px rgba(109,72,51,0.16);
}
#mobile-overlay.open .menu-panel { transform: translateX(0); }

.menu-primary { display: flex; flex-direction: column; }
.menu-primary a {
  font-family: 'Geometria', sans-serif; font-size: 1.6rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 0.5rem 0;
  transition: color 0.25s var(--ease-out);
}
.menu-primary a:hover { color: var(--gold); }

.menu-sep { height: 1px; background: rgba(109,72,51,0.12); margin: 1.8rem 0; }

.menu-secondary { display: flex; flex-direction: column; }
.menu-secondary a {
  font-family: 'Geometria', sans-serif; font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-muted); text-decoration: none; padding: 0.5rem 0;
  transition: color 0.25s var(--ease-out);
}
.menu-secondary a:hover { color: var(--ink); }

.menu-panel-footer {
  margin-top: auto; padding-top: 1.8rem;
  border-top: 1px solid rgba(109,72,51,0.1);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.menu-footer-label {
  font-family: 'Geometria', sans-serif; font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 0.4rem;
}
.menu-panel-footer a {
  font-family: var(--mono); font-size: 0.85rem; font-weight: 300;
  color: var(--ink-muted); text-decoration: none;
  transition: color 0.25s var(--ease-out);
}
.menu-panel-footer a:hover { color: var(--gold); }

/* burger -> croix quand le menu est ouvert */
#navBurger span { transition: transform 0.3s var(--ease-out); }
#navBurger.open span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
#navBurger.open span:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }

@media (max-width: 768px) {
  .menu-panel { padding: 5.5rem 2rem 1.8rem; }
  .menu-primary a { font-size: 1.35rem; }
}

#cart-overlay { position:fixed; inset:0; z-index:10002; background:rgba(109,72,51,0.35); backdrop-filter:blur(4px); opacity:0; pointer-events:none; transition:opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
#cart-overlay.open { opacity:1; pointer-events:auto; }
.cart-header { display:flex; justify-content:space-between; align-items:center; padding:2rem 2rem 1.5rem; border-bottom:1px solid rgba(109,72,51,0.06); }
.cart-title { font-family:var(--serif); font-size:1.5rem; font-weight:300; }
.cart-close { width:1.3rem; height:1.3rem; border-radius:50%; border:1px solid rgba(109,72,51,0.1); background:transparent; color:var(--ink-muted); -webkit-appearance:none; appearance:none; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background 0.3s, color 0.3s; }
.cart-close:hover { background:var(--cream-3); }
.cart-items { flex:1; overflow-y:auto; padding:1.5rem 2rem; }
.cart-shipping-tracker { padding: 1.5rem 2rem 0; border-bottom: 1px solid rgba(109,72,51,0.04); padding-bottom: 1.2rem; background: var(--cream); }
.cart-shipping-tracker p { font-family: 'Geometria', sans-serif; font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); text-align: center; margin-bottom: 0.8rem; }
.cart-shipping-tracker p span { color: var(--gold); font-weight: 600; }
.shipping-bar-bg { width: 100%; height: 2px; background: rgba(109,72,51,0.06); border-radius: 2px; overflow: hidden; }
.shipping-bar-fill { height: 100%; background: var(--gold); width: 0%; transition: width 0.6s; }
.cart-item { display:grid; grid-template-columns:60px 1fr auto; gap:1rem; align-items:center; padding:1.2rem 0; border-bottom:1px solid rgba(109,72,51,0.05); }
.cart-item-img { width:60px; height:60px; border-radius:1rem; background:var(--cream-2); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.cart-item-img img { width:85%; mix-blend-mode:normal; }
.cart-item-name { font-family:var(--serif); font-size:1rem; font-weight:300; }
.cart-item-sub { font-family: 'Geometria', sans-serif; font-size:0.5rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); margin-top:0.2rem; }
.cart-item-qty { display:flex; align-items:center; gap:0.6rem; margin-top:0.5rem; }
.cart-qty-btn { width:2.6rem; height:2.6rem; border-radius:50%; border:1px solid rgba(109,72,51,0.12); background:transparent; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:0.75rem; color:var(--ink-muted); transition:border-color 0.3s; }
.cart-qty-btn:hover { border-color:var(--gold); }
.cart-qty-num { font-family:var(--mono); font-size:0.7rem; min-width:1.2rem; text-align:center; }
.cart-item-price { font-family:var(--serif); font-size:1rem; font-weight:300; white-space:nowrap; }

.cart-checkout { display:block; width:100%; padding:1.15rem 1rem; background:var(--ink); color:var(--cream); border-radius:999px; font-family: 'Geometria', sans-serif; font-weight:600; font-size:0.7rem; letter-spacing: 0.15em; text-transform:uppercase; cursor:pointer; text-align:center; transition:all 0.3s; border:none; }
.cart-checkout:hover { background:var(--gold); transform:translateY(-2px); }
.cart-whatsapp { display:flex; align-items:center; justify-content:center; gap:0.6rem; width:100%; padding:1.1rem 1rem; background:transparent; color:var(--ink); border:1px solid rgba(109,72,51,0.3); border-radius:999px; font-family: 'Geometria', sans-serif; font-size:0.65rem; letter-spacing: 0.15em; text-transform:uppercase; cursor:pointer; transition:all 0.3s; margin-top:0.8rem; }
.cart-whatsapp:hover { border-color:var(--ink); background:rgba(109,72,51,0.03); transform:translateY(-2px); }
.wa-input { width: 100%; padding: 0.8rem 1.2rem; border: 1px solid rgba(109,72,51,0.15); border-radius: 999px; font-family: var(--sans); font-size: 0.8rem; background: transparent; color: var(--ink); outline: none; margin-bottom:0.6rem; }
.wa-input:focus { border-color: var(--gold); }
/* État panier vide — façon YC (.empty-state) : bloc centré, mot
   géant en filigrane, titre + bouton. */
.cart-empty {
  position: relative;
  min-height: calc(100dvh - 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  overflow: hidden;
}
.cart-empty::before {
  content: attr(data-bg);
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Geometria', sans-serif;
  font-size: min(9rem, 40vw);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.06;
  pointer-events: none;
  white-space: nowrap;
}
.cart-empty-title {
  position: relative;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 1.4rem;
}
.cart-empty-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.1rem;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  font-family: 'Geometria', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.cart-empty-btn:hover { background: var(--gold); transform: translateY(-2px); }

/* Panier — tiroir + bouton nav (ajouté par cart.js) */
.cart-panel {
  position:absolute; top:0; right:0;
  width:min(580px, 94vw); height:100%;
  background:var(--cream);
  display:flex; flex-direction:column;
  transform:translateX(100%);
  transition:transform 0.5s cubic-bezier(0.16,1,0.3,1);
  box-shadow:-24px 0 60px rgba(109,72,51,0.14);
}
#cart-overlay.open .cart-panel { transform:translateX(0); }
.cart-foot { padding:1.4rem 2rem 2rem; border-top:1px solid rgba(109,72,51,0.06); }
.cart-total { display:flex; justify-content:space-between; font-family:var(--serif); font-weight:300; font-size:1.2rem; color:var(--ink); margin-bottom:1.2rem; }
.cart-foot-note { font-family: 'Geometria', sans-serif; font-size:0.5rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); text-align:center; margin-top:0.9rem; }
.cart-toggle { position:relative; display:flex; align-items:center; background:none; border:none; padding:0; cursor:pointer; color:inherit; }
/* Nav foncée (hero sombre de l'accueil) — icône panier en crème pour rester visible */
.navbar--yc-dark .cart-toggle { color: var(--cream); }
.navbar--yc-dark .cart-toggle:hover { color: var(--gold-light); }
.cart-count { position:absolute; top:-7px; right:-9px; min-width:16px; height:16px; padding:0 4px; border-radius:999px; background:var(--ink); color:var(--cream); font-family:var(--mono); font-size:0.5rem; line-height:16px; text-align:center; }
.cart-toggle--float { position:fixed; bottom:1.6rem; right:1.6rem; z-index:9000; width:3.4rem; height:3.4rem; border-radius:50%; background:var(--ink); color:var(--cream); justify-content:center; box-shadow:0 10px 30px rgba(109,72,51,0.25); }

/* Panier — tiroir complet : header, note, CGV, livraison, toast */
.cart-title { display:flex; align-items:center; gap:0.5rem; }
.cart-title svg { opacity:0.75; }
.cart-head-count { font-family:var(--mono); font-size:0.8rem; font-weight:400; color:var(--ink-muted); }
.cart-header-spacer { width:1.3rem; flex-shrink:0; }
.cart-foot > * + * { margin-top:1.1rem; }
.cart-total { margin-bottom:0; }
.cart-note-toggle { display:flex; align-items:center; gap:0.5rem; background:none; border:none; padding:0; cursor:pointer; font-family: 'Geometria', sans-serif; font-size:0.92rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); transition:color 0.3s; }
.cart-note-toggle:hover, .cart-note-toggle.is-open { color:var(--gold); }
.cart-note-area { width:100%; min-height:64px; resize:vertical; padding:0.8rem 1rem; border:1px solid rgba(109,72,51,0.15); border-radius:0.4rem; font-family:var(--mono); font-size:0.8rem; color:var(--ink); background:var(--white); outline:none; }
.cart-note-area:focus { border-color:var(--gold); }
.cart-cgv { display:flex; align-items:flex-start; gap:0.55rem; font-family:var(--mono); font-size:0.62rem; line-height:1.5; color:var(--ink-muted); cursor:pointer; }
.cart-cgv input { margin-top:0.15rem; accent-color:var(--gold); flex-shrink:0; }
.cart-cgv a { color:var(--ink); text-decoration:underline; }
.cart-fulfillment { display:grid; grid-template-columns:1fr 1fr; gap:0.6rem; }
.cart-fulfill-btn { display:flex; flex-direction:column; align-items:center; gap:0.5rem; padding:1rem 0.6rem; background:transparent; border:1px solid rgba(109,72,51,0.14); border-radius:0.4rem; cursor:pointer; font-family: 'Geometria', sans-serif; font-size:0.92rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); text-align:center; transition:border-color 0.3s, color 0.3s, background 0.3s; }
.cart-fulfill-btn svg { opacity:0.7; transition:opacity 0.3s; }
.cart-fulfill-btn:hover { border-color:var(--ink-muted); }
.cart-fulfill-btn.is-active { border-color:var(--gold); color:var(--ink); background:rgba(168,137,92,0.06); }
.cart-fulfill-btn.is-active svg { opacity:1; }
.cart-address p { font-family:var(--mono); font-size:0.92rem; line-height:1.6; color:var(--ink-muted); margin-bottom:0.6rem; }
.cart-address-input { width:100%; padding:0.85rem 1rem; border:1px solid rgba(109,72,51,0.15); border-radius:999px; font-family:var(--mono); font-size:0.8rem; color:var(--ink); background:var(--white); outline:none; }
.cart-address-input:focus { border-color:var(--gold); }
.cart-address-msg { font-family:var(--mono); font-size:0.6rem; line-height:1.5; margin:0.5rem 0 0; }
.cart-address-msg.is-ok { color:var(--ink); }
.cart-address-msg.is-ko { color:var(--ink); }
.cart-deliv-label { display:block; font-family: 'Geometria', sans-serif; font-size:0.58rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); margin:0.9rem 0 0.4rem; }
.cart-deliv-field { width:100%; padding:0.8rem 1rem; border:1px solid rgba(109,72,51,0.15); border-radius:0.4rem; font-family:var(--mono); font-size:0.8rem; color:var(--ink); background:var(--white); outline:none; }
.cart-deliv-field:focus { border-color:var(--gold); }
.cart-deliv-instr { min-height:64px; resize:vertical; }
/* Cart — registre typographique crisp (façon YC) */
.cart-title { font-family: 'Geometria', sans-serif; font-size:0.96rem; font-weight: 500; letter-spacing: 0.15em; text-transform:uppercase; }
.cart-item-name { font-family: 'Geometria', sans-serif; font-size:0.78rem; font-weight:500; letter-spacing: 0.15em; text-transform:uppercase; line-height:1.3; }
.cart-item-price { font-family:var(--sans); font-size:0.85rem; font-weight:400; color:var(--ink); }
.cart-item { grid-template-columns:72px 1fr auto; }
.cart-item-img { width:72px; height:72px; border-radius:0.3rem; }
.cart-total { font-family: 'Geometria', sans-serif; font-size:0.72rem; font-weight:500; letter-spacing: 0.15em; text-transform:uppercase; align-items:center; }
.cart-total-amt { font-family:var(--sans); font-size:1rem; font-weight:500; letter-spacing:0; }
.cart-shipping-tracker p { text-transform:none; font-size:0.92rem; font-weight:400; letter-spacing:0.005em; line-height:1.5; text-align:left; margin-bottom:0.4rem; }
.cart-checkout { background:#B89070; border-radius:2px; }
.cart-checkout:hover { background:#a67d5e; transform:translateY(-2px); }
.cart-qty-btn { width:2rem; height:2rem; }
.cart-address-field { position:relative; }
.cart-address-icon { position:absolute; left:1rem; top:50%; transform:translateY(-50%); color:var(--ink-muted); pointer-events:none; }
.cart-address-input { padding-left:2.6rem; }
#cart-toast { position:fixed; left:50%; bottom:1.8rem; transform:translateX(-50%) translateY(20px); z-index:10010; display:flex; align-items:center; gap:0.5rem; background:var(--ink); color:var(--cream); font-family:var(--mono); font-size:0.7rem; letter-spacing:0.04em; padding:0.85rem 1.25rem; border-radius:2px; box-shadow:0 16px 44px rgba(109,72,51,0.34); opacity:0; pointer-events:none; transition:opacity 0.4s cubic-bezier(0.16,1,0.3,1), transform 0.45s cubic-bezier(0.16,1,0.3,1); max-width:90vw; }
#cart-toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
.cart-toast-ico { flex-shrink:0; color:var(--gold-light); }
.cart-toast-msg { line-height:1.3; }
/* Mobile : on remonte le toast au-dessus du bouton flottant « Filtrer et trier » + bouton cookies */
@media (max-width: 768px) {
  #cart-toast { bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
}

/* Cart — specs UI précises (brief design) */
.cart-panel { width:min(580px, 100vw); background:#F9F6F0; overflow:hidden; }
.cart-header { padding:0.9rem 1.5rem 0.9rem; }
.cart-shipping-tracker { padding:1.2rem 1.5rem 0.5rem; border-bottom:none; }
.cart-items { padding:0.3rem 1.5rem 1.2rem; }
.cart-foot { padding:1.4rem 1.5rem 1.7rem; }
.cart-title { font-weight:400; }
.cart-item { grid-template-columns:5rem 1fr auto; gap:0.9rem; border-bottom:none; padding:0.35rem 0; }
.cart-item-img { width:5rem; height:5rem; border-radius:2px; }
.cart-item-img img { width:100%; height:100%; object-fit:cover; }
.cart-item-name { font-size:0.82rem; }
.cart-item-sub { font-size:0.6rem; font-weight:300; }
.cart-item-price { font-family:var(--sans); font-size:0.875rem; font-weight:600; }
.cart-item-qty { display:inline-flex; align-items:center; gap:0; border:1px solid rgba(109,72,51,0.18); border-radius:2px; height:28px; margin-top:0.55rem; }
.cart-qty-btn { width:26px; height:26px; border:none; border-radius:0; background:transparent; color:var(--ink-muted); font-size:0.85rem; }
.cart-qty-btn:hover { border:none; background:rgba(109,72,51,0.05); }
.cart-qty-num { min-width:26px; font-size:0.72rem; }
.cart-total-amt { font-size:0.95rem; font-weight:600; }
.cart-foot-note { font-size:0.68rem; }
.cart-fulfill-btn { padding:0.7rem 0.5rem; gap:0.35rem; }
.cart-fulfill-btn svg { width:auto; height:18px; }

/* Note de commande — popover façon YC */
.cart-note-scrim {
  position:absolute; inset:0; z-index:5;
  background:rgba(109,72,51,0.32);
  opacity:0; pointer-events:none;
  transition:opacity 0.42s cubic-bezier(0.16,1,0.3,1);
}
.cart-note-scrim.is-open { opacity:1; pointer-events:auto; }
.cart-note-popover {
  position:absolute; inset:0; z-index:6;
  background:#F9F6F0;
  padding:1.7rem 1.5rem 1.8rem;
  display:flex; flex-direction:column;
  transform:translateY(100%);
  transition:transform 0.42s cubic-bezier(0.16,1,0.3,1);
}
.cart-note-popover.is-open { transform:translateY(0); }
.cart-note-pop-head { position:relative; display:flex; align-items:center; justify-content:center; margin-bottom:1.3rem; }
.cart-note-pop-head span { font-family: 'Geometria', sans-serif; font-size:0.72rem; font-weight:500; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink); }
.cart-note-close { position:absolute; right:0; top:50%; transform:translateY(-50%); width:1.5rem; height:1.5rem; display:flex; align-items:center; justify-content:center; border:1px solid rgba(109,72,51,0.1); border-radius:50%; background:transparent; color:var(--ink-muted); cursor:pointer; transition:background 0.3s; }
.cart-note-close:hover { background:var(--cream-3); }
.cart-note-field { position:relative; }
.cart-note-area { width:100%; min-height:150px; resize:none; padding:1.55rem 1rem 0.7rem; border:1px solid rgba(109,72,51,0.18); border-radius:3px; font-family:var(--mono); font-size:0.82rem; line-height:1.5; color:var(--ink); background:var(--white); outline:none; box-sizing:border-box; }
.cart-note-area:focus { border-color:var(--gold); }
.cart-note-floating { position:absolute; left:1rem; top:0.95rem; font-family:var(--mono); font-size:0.82rem; color:var(--ink-muted); pointer-events:none; transition:top 0.18s ease, font-size 0.18s ease, letter-spacing 0.18s ease, color 0.18s ease; }
.cart-note-area:focus + .cart-note-floating,
.cart-note-area:not(:placeholder-shown) + .cart-note-floating {
  top:0.5rem; font-size:0.55rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--gold);
}
.cart-note-save { align-self:center; margin-top:1.2rem; padding:0.85rem 2rem; background:var(--ink); color:var(--cream); border:none; border-radius:2px; font-family: 'Geometria', sans-serif; font-size:0.62rem; letter-spacing: 0.15em; text-transform:uppercase; cursor:pointer; transition:background 0.3s; }
.cart-note-save:hover { background:#B89070; }

/* Alignement YC — typographie & disposition du footer panier */
.cart-note-toggle { justify-content:center; width:100%; }
.cart-header { flex:none; }
.cart-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; }
.cart-items { padding-bottom:0.55rem; overflow:visible; }
.cart-foot { padding-top:0.7rem; }
.cart-fulfill-btn { text-transform:none; letter-spacing:0.01em; }
.cart-cgv { font-size:0.68rem; }
.cart-total { font-family: 'Geometria', sans-serif; font-size:0.86rem; font-weight:500; letter-spacing: 0.15em; text-transform:uppercase; }
.cart-total-amt { font-family:var(--mono); font-size:0.86rem; font-weight:500; letter-spacing:0; }
.cart-checkout { letter-spacing:0.15em; }
.cart-foot > * + * { margin-top:1rem; }
.cart-foot-note { font-family:var(--mono); font-size:0.72rem; font-weight:400; letter-spacing:0.005em; text-transform:none; color:var(--ink-muted); text-align:center; line-height:1.5; margin-top:0.75rem; }

/* Alignement YC — lignes produit du panier */
.cart-item { padding:0.5rem 0; }
a.cart-item-img { text-decoration:none; }
.cart-item-info { display:flex; flex-direction:column; min-width:0; }
a.cart-item-name { color:var(--ink); text-decoration:none; transition:color 0.25s; }
a.cart-item-name:hover { color:var(--gold); }
.cart-item-actions { display:flex; align-items:center; gap:1.1rem; margin-top:0.6rem; }
.cart-item-qty { margin-top:0; }
.cart-qty-btn svg { display:block; }
.cart-item-remove { display:inline-flex; align-items:center; gap:0.4rem; padding:0; background:none; border:none; cursor:pointer; color:var(--ink-muted); font-family:var(--mono); font-size:0.62rem; letter-spacing:0.04em; transition:color 0.25s; }
.cart-item-remove:hover { color:var(--ink); }
.cart-item-remove svg { width:13px; height:13px; flex-shrink:0; }
.cart-item-price { font-family:var(--mono); font-size:0.82rem; font-weight:500; letter-spacing:0.02em; }

/* Sélecteur de date — calendrier sur-mesure */
.cart-datepicker { position:relative; }
.cart-deliv-date { box-sizing:border-box; text-align:left; cursor:pointer; }
.cart-cal { position:absolute; left:0; right:0; bottom:calc(100% + 0.4rem); z-index:20; background:var(--white); border:1px solid rgba(109,72,51,0.14); border-radius:4px; padding:0.85rem 0.9rem; box-shadow:0 14px 36px rgba(109,72,51,0.16); display:none; }
.cart-cal.open { display:block; }
.cart-cal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:0.6rem; }
.cart-cal-title { font-family: 'Geometria', sans-serif; font-size:0.66rem; font-weight:500; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink); }
.cart-cal-nav { width:1.6rem; height:1.6rem; flex-shrink:0; border:1px solid rgba(109,72,51,0.12); border-radius:50%; background:transparent; color:var(--ink-muted); font-size:0.85rem; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:border-color 0.2s, color 0.2s; }
.cart-cal-nav:hover { border-color:var(--gold); color:var(--gold); }
.cart-cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:1px; }
.cart-cal-wd { font-family:var(--mono); font-size:0.5rem; letter-spacing:0.04em; color:var(--ink-muted); text-align:center; padding-bottom:0.35rem; }
.cart-cal-day { aspect-ratio:1; display:flex; align-items:center; justify-content:center; border:none; background:transparent; border-radius:50%; cursor:pointer; font-family:var(--mono); font-size:0.7rem; color:var(--ink); transition:background 0.16s, color 0.16s; }
.cart-cal-day:hover:not(.is-disabled):not(.is-selected) { background:var(--cream-3); }
.cart-cal-day.is-disabled { color:rgba(109,72,51,0.2); cursor:default; }
.cart-cal-day.is-selected { background:var(--ink); color:var(--cream); }

/* Livraison — suggestions d'adresse & flux progressif */
.cart-addr-suggest { position:absolute; left:0; right:0; top:calc(100% + 0.3rem); z-index:21; list-style:none; margin:0; padding:0.3rem 0; background:var(--white); border:1px solid rgba(109,72,51,0.14); border-radius:4px; box-shadow:0 14px 32px rgba(109,72,51,0.16); max-height:210px; overflow-y:auto; display:none; }
.cart-addr-suggest.open { display:block; }
.cart-addr-suggest li { padding:0.55rem 0.9rem; font-family:var(--mono); font-size:0.72rem; line-height:1.45; color:var(--ink); cursor:pointer; transition:background 0.15s; }
.cart-addr-suggest li:hover { background:var(--cream-3); }
.cart-address p.cart-address-msg { font-size:0.72rem; line-height:1.45; margin:0.6rem 0 0; }
.cart-deliv-date.is-placeholder { color:var(--ink-muted); }
.cart-deliv-step { margin-top:0.9rem; }
.cart-slots { display:flex; flex-wrap:wrap; gap:0.4rem; }
.cart-slot-opt { padding:0.5rem 0.7rem; border:1px solid rgba(109,72,51,0.18); border-radius:2px; background:transparent; font-family:var(--mono); font-size:0.68rem; letter-spacing:0.01em; color:var(--ink-muted); cursor:pointer; transition:border-color 0.2s, background 0.2s, color 0.2s; }
.cart-slot-opt:hover { border-color:var(--ink-muted); color:var(--ink); }
.cart-slot-opt.is-active { background:var(--ink); border-color:var(--ink); color:var(--cream); }

/* ----------------------------------------------------------------
   Tiroir panier — calage fin sur le CSS réel du thème YC (Focal)
   Échelle typo réelle : --text-xs .6875rem / --text-sm .75rem /
   --text-base .8125rem ; sous-titres uppercase .15em ;
   rayons .125rem ; sélecteur quantité min-height 2rem.
----------------------------------------------------------------- */

/* Texte courant du panier — --text-base YC */
.cart-shipping-tracker p,
.cart-address p {
  font-size: 0.8125rem;
  letter-spacing: 0.015em;
  line-height: 1.5;
}

/* Sous-titres / libellés uppercase — subheading YC unifié */
.cart-deliv-label,
.cart-cal-title,
.cart-note-pop-head span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
}

/* Bouton « Ajouter une note » — libellé subheading YC */
.cart-note-toggle { font-size: 0.6875rem; letter-spacing: 0.15em; }

/* Boutons — taille de libellé bouton YC (.6875rem) */
.cart-checkout,
.cart-note-save { font-size: 0.6875rem; }
.cart-fulfill-btn { font-size: 0.75rem; }

/* Petites légendes — --text-sm / --text-xs YC */
.cart-addr-suggest li,
.cart-address p.cart-address-msg,
.cart-foot-note,
.cart-cgv { font-size: 0.75rem; }
.cart-item-remove { font-size: 0.6875rem; }

/* Sélecteur de quantité — min-height 2rem (YC .quantity-selector) */
.cart-item-qty { height: 2rem; }

/* Rayons unifiés à 2px (YC --button/--input-border-radius .125rem) */
.cart-cal,
.cart-addr-suggest,
.cart-note-area,
.cart-deliv-field { border-radius: 2px; }

/* Barre de livraison gratuite — cadrée à 26rem, alignée à GAUCHE.
   Réel YC : .cart-header .free-shipping-bar { width:100%; max-width:26rem }
   — pas de margin auto, donc calée à gauche. */
.cart-shipping-tracker .ship-msg,
.cart-shipping-tracker .shipping-bar-bg { max-width: 26rem; margin-inline: 0; }

/* En-tête du tiroir — titre « Panier » CENTRÉ, croix de fermeture à GAUCHE (façon YC) */
.cart-header { position: relative; justify-content: center; }
.cart-close { position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); }

/* Lignes produit — calage sur le .line-item réel YC :
   gouttière 1rem, prix aligné en haut (.line-item__info align-items:start) */
.cart-item { column-gap: 1rem; }
.cart-item-price { align-self: flex-start; }
/* Filet de sécurité mobile : la rangée quantité + supprimer passe à la
   ligne au lieu de déborder sur les très petits écrans */
.cart-item-actions { flex-wrap: wrap; gap: 0.5rem 1.1rem; }

/* ----------------------------------------------------------------
   Cross-sell « Vous aimerez aussi » — façon .cart-drawer__cross-sell YC
----------------------------------------------------------------- */
.cart-crosssell {
  margin: 0 1.5rem;
  padding: 1.3rem 0 0.5rem;
  border-top: 1px solid rgba(109,72,51,0.08);
}
.cart-crosssell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.cart-crosssell-title {
  margin: 0;
  font-family: 'Geometria', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.cart-crosssell-nav { display: flex; gap: 0.35rem; }
.cx-nav {
  width: 1.6rem; height: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(109,72,51,0.16);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cx-nav:hover { border-color: var(--gold); color: var(--gold); }
/* Carrousel — une seule grande carte par vue, défilement scroll-snap (façon YC) */
.cart-crosssell-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  column-gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}
.cart-crosssell-track::-webkit-scrollbar { display: none; }
.cx-card {
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.cx-card-img {
  flex-shrink: 0;
  width: 4.5rem; height: 4.5rem;
  display: block;
  border-radius: 2px;
  overflow: hidden;
  background: var(--cream-soft);
}
.cx-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s var(--ease-out);
}
.cx-card-img:hover img { transform: scale(1.05); }
.cx-card-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cx-card-name {
  font-family: 'Geometria', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s;
}
.cx-card-name:hover { color: var(--gold); }
.cx-card-price {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.cx-card-add {
  flex-shrink: 0;
  width: 2.1rem; height: 2.1rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(109,72,51,0.2);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.cx-card-add:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ----------------------------------------------------------------
   Animations du tiroir — entrée échelonnée des lignes + retrait animé
----------------------------------------------------------------- */
@keyframes cart-item-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
#cart-overlay.cart-revealing .cart-item {
  opacity: 0;
  animation: cart-item-in 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 0.06s);
}
@keyframes cart-item-out {
  to { opacity: 0; transform: translateX(28px); }
}
.cart-item.is-removing {
  animation: cart-item-out 0.3s cubic-bezier(0.4,0,1,1) forwards;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #cart-overlay.cart-revealing .cart-item { opacity: 1; animation: none; }
  .cart-item.is-removing { animation: none; }
}

/* Sélecteur de quantité — calage sur .quantity-selector YC */
.cart-item-qty { transition: border-color 0.2s; }
.cart-item-qty:hover { border-color: rgba(109,72,51,0.3); }
.cart-qty-btn {
  width: 2rem; height: 2rem;
  color: var(--ink-muted);
  transition: color 0.18s, background 0.18s;
}
.cart-qty-btn:hover { background: transparent; color: var(--ink); }
.cart-qty-btn:active { background: rgba(109,72,51,0.05); }

#product-modal {
  position:fixed; inset:0; z-index:10005; 
  background:rgba(109,72,51,0.4); 
  backdrop-filter: blur(0px); 
  display:flex; align-items:center; justify-content:center; 
  opacity:0; pointer-events:none; 
  transition: opacity 0.5s var(--ease-out), backdrop-filter 0.5s var(--ease-out); 
}
#product-modal.open { 
  opacity:1; pointer-events:auto; backdrop-filter: blur(12px); 
}
.pm-inner { 
  background:var(--cream); border-radius:2.5rem; 
  max-width:800px; width:92vw; max-height:90vh; overflow-y:auto; 
  display:grid; grid-template-columns:1fr 1fr; 
  box-shadow:0 40px 80px rgba(109,72,51,0.15); 
  transform: translateY(40px) scale(0.92); opacity: 0;
  transition: transform 0.7s var(--ease-spring), opacity 0.4s var(--ease-out); 
  position:relative; 
}
#product-modal.open .pm-inner { transform: translateY(0) scale(1); opacity: 1; }

.pm-img { background:var(--cream-2); border-radius:2.5rem 0 0 2.5rem; min-height:400px; position:relative; overflow:hidden; }
.pm-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; mix-blend-mode:normal; transition:opacity 0.4s var(--ease-out); }
.pm-img img.pm-img-zoom { opacity:0; }
.pm-img.zoom-active img.pm-img-main { opacity:0; }
.pm-img.zoom-active img.pm-img-zoom { opacity:1; }
.pm-toggle-wrap { position:absolute; bottom:1.5rem; left:50%; transform:translateX(-50%); display:flex; gap:0.3rem; background:rgba(250,245,239,0.7); backdrop-filter:blur(12px); border-radius:999px; padding:0.25rem; z-index:5; }
.pm-toggle-btn { font-family: 'Geometria', sans-serif; font-size:0.5rem; letter-spacing: 0.15em; text-transform:uppercase; padding:0.4rem 0.9rem; border-radius:999px; border:none; background:transparent; color:var(--ink-muted); cursor:pointer; transition:all 0.3s; }
.pm-toggle-btn.active { background:var(--ink); color:var(--cream); }
.pm-body { padding:3.5rem; display:flex; flex-direction:column; justify-content:center; }
.pm-close { position:absolute; top:1rem; right:1rem; width:2.8rem; height:2.8rem; border-radius:50%; border:1px solid rgba(109,72,51,0.1); background:var(--cream); display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:10; box-shadow:0 4px 16px rgba(109,72,51,0.12); }
.pm-close svg { width: 14px; height: 14px; }
.pm-name { font-family:var(--serif); font-size:2.2rem; font-weight:300; margin-bottom:0.3rem; }
.pm-sub { font-family: 'Geometria', sans-serif; font-size:0.6rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--ink-muted); margin-bottom:1.5rem; }
.pm-desc { font-family: 'Geometria', sans-serif; font-size:0.875rem; font-weight:400; line-height:1.8; color:var(--ink); margin-bottom:2rem; }
.pm-section-label { font-family: 'Geometria', sans-serif; font-size:0.55rem; letter-spacing: 0.15em; text-transform:uppercase; color:var(--gold); margin-bottom:0.6rem; }
.pm-allergens { display:flex; flex-wrap:wrap; gap:0.4rem; margin-bottom:1.5rem; }
.pm-allergen-tag { font-family:var(--mono); font-size:0.55rem; letter-spacing:0.1em; padding:0.3rem 0.7rem; border-radius:999px; border:1px solid rgba(109,72,51,0.1); color:var(--ink-muted); }
.pm-price { font-family:var(--serif); font-size:1.8rem; font-weight:300; }
.pm-add-cart {
  display: inline-flex; align-items: center; gap: 0.8rem;
  margin-top: 2rem; padding: 1rem 2.2rem;
  background: var(--ink); color: var(--cream);
  border: 1px solid var(--ink); border-radius: 999px;
  font-family: 'Geometria', sans-serif; font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s var(--ease-spring), transform 0.15s var(--ease-spring);
}
.pm-add-cart:hover { background: var(--gold); }
.pm-add-cart:active { transform: scale(0.96); }
.pm-add-cart svg { stroke: var(--cream); }

#chat-bubble { position: fixed; bottom: 2rem; right: 2rem; z-index: 800; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--ink); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 32px rgba(109,72,51,0.18); transition: transform 0.3s, background 0.3s, opacity 0.5s var(--ease-out), visibility 0.5s; opacity: 0; visibility: hidden; pointer-events: none; }
#chat-bubble.is-revealed { opacity: 1; visibility: visible; pointer-events: auto; }
#chat-bubble:hover { transform: scale(1.08); }
#chat-bubble svg { stroke: var(--cream); }
#chat-bubble .chat-icon-close { display:none; }
#chat-bubble.open .chat-icon-msg { display:none; }
#chat-bubble.open .chat-icon-close { display:block; }
#chat-bubble.open { background: var(--gold); }
#chat-badge { position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); animation: breathe 2s ease-in-out infinite; }
#chat-bubble.open #chat-badge { display: none; }
#chat-window { position: fixed; bottom: 5.5rem; right: 2rem; z-index: 800; width: min(380px, calc(100vw - 2rem)); max-height: min(520px, calc(100dvh - 8rem)); background: var(--cream); border-radius: 1.8rem; border: 1px solid rgba(109,72,51,0.08); box-shadow: 0 24px 80px rgba(109,72,51,0.15); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none; transition: opacity 0.35s, transform 0.35s; }
#chat-window.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-header { padding: 1.4rem 1.6rem; border-bottom: 1px solid rgba(109,72,51,0.06); display: flex; align-items: center; gap: 1rem; }
.chat-header-avatar { width: 2rem; height: 2rem; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; }
.chat-msg { max-width: 85%; padding: 0.75rem 1.1rem; font-size: 0.82rem; line-height: 1.65; border-radius: 1.2rem; }
.chat-msg.bot { background: var(--cream-3); color: var(--ink); border-bottom-left-radius: 0.3rem; align-self: flex-start; }
.chat-msg.user { background: var(--ink); color: var(--cream); border-bottom-right-radius: 0.3rem; align-self: flex-end; }
.chat-typing { align-self: flex-start; padding: 0.75rem 1.1rem; background: var(--cream-3); border-radius: 1.2rem; display: none; gap: 0.3rem; align-items: center; }
.chat-typing.show { display: flex; }
.chat-typing-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-muted); animation: typingBounce 1.2s infinite; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1.4rem 0.8rem; }
.chat-quick-btn { font-family: 'Geometria', sans-serif; font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid rgba(109,72,51,0.12); background: transparent; color: var(--ink-muted); cursor: pointer; transition: all 0.2s; }
.chat-quick-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chat-quick-btn.wa-btn { border-color: var(--gold) !important; color: var(--ink) !important; }
.chat-quick-btn.wa-btn:hover { background: var(--gold) !important; color: var(--white) !important; }
.chat-input-area { padding: 0.8rem 1rem; border-top: 1px solid rgba(109,72,51,0.06); display: flex; align-items: center; gap: 0.6rem; }
.chat-input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--sans); font-size: 0.82rem; color: var(--ink); }
.chat-send { width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* ══════════════════════════════════════
   10. KEYFRAME ANIMATIONS
══════════════════════════════════════ */
@keyframes scrollLine { 0% { transform:scaleY(0); transform-origin:top; } 50% { transform:scaleY(1); transform-origin:top; } 50.1%{ transform:scaleY(1); transform-origin:bottom; } 100% { transform:scaleY(0); transform-origin:bottom; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes typingBounce { 0%,60%,100% { transform:translateY(0); } 30% { transform:translateY(-4px); } }
@keyframes pulseHint { 0%,100% { box-shadow: 0 8px 32px rgba(109,72,51,0.18); } 50% { box-shadow: 0 0 0 10px rgba(163,120,27,0.2), 0 8px 32px rgba(109,72,51,0.18); } }
#chat-bubble.pulse-hint { animation: pulseHint 2s ease-in-out 3; }

/* ════════════════════════════════════════════════════════
   11. ACCESSIBILITÉ : Ajustement global des micro-typographies 
════════════════════════════════════════════════════════ */
/* Audit A11Y: Micro-typography minimum 0.75rem (12px) pour lisibilité WCAG */
/* CTAs retirés (.btn-primary, .btn-ghost, .newsletter-submit) : ils sont à 0.7rem (Geometria 600) */
.nav-link, .section-eyebrow,
.atelier-step-num, .philosophy-divider-text, .order-eyebrow,
.order-path-num, .order-path-link, .filter-pill, .shop-card-sub,
.shop-card-price span, .pm-sub, .pm-section-label,
.pm-allergen-tag, .cta-banner-eyebrow,
.footer-nav a, .chat-quick-btn {
    font-size: 0.78rem;
}

.scroll-hint-label, .shop-card-zoom-hint, .shop-card-badge-new,
.cart-item-sub, .pm-toggle-btn {
    font-size: 0.72rem;
}

.cart-checkout, .cart-whatsapp {
    font-size: 0.8rem;
}

/* ══════════════════════════════════════
   12. RESPONSIVE MEDIA QUERIES
══════════════════════════════════════ */

/* --- TABLETTE --- */
@media (max-width: 1024px) {
  .cart-text-label { display: none; }
  

  .atelier-steps-outer { padding-left: 6vw; padding-right: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .atelier-steps-outer::-webkit-scrollbar { display: none; } 
  .atelier-steps { display: flex; width: max-content; gap: 2rem; padding-right: 6vw; }
  .atelier-step { width: 320px; flex-shrink: 0; }
}

/* --- MOBILE --- */

/* --- INDICATEUR DE SWIPE (Masqué par défaut) --- */
/* Hint de swipe — masqué : la grille mobile est en 2 colonnes verticales, pas de swipe */
.mobile-swipe-hint {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-swipe-hint-DEPRECATED {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.6rem;
        font-family: 'Geometria', sans-serif;
        font-size: 0.55rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--ink-muted);
        margin-bottom: 1.5rem;
    }
    
    .mobile-swipe-hint svg {
        width: 16px;
        height: 16px;
        /* La petite animation qui invite au mouvement */
        animation: swipeHintAnim 2s ease-in-out infinite; 
    }

    @keyframes swipeHintAnim {
        0%, 100% { transform: translateX(0); opacity: 0.5; }
        50% { transform: translateX(6px); opacity: 1; color: var(--gold); }
    }
}
@media (max-width: 768px) {
  #navbar { padding: 1rem 1.2rem; }
  
  
  .brand-logo { height: 64px; }
  .brand-atelier { font-size: 0.52rem; letter-spacing: 0.35em; }
  .brand-mirage { font-size: 0.95rem; letter-spacing: 0.15em; }
  .brand-wordmark { height: 44px; }
  #navbar.scrolled .brand-wordmark { height: 36px; }
  .footer-brand-wordmark { height: 17px; max-width: 320px; }

  /* Filtres minimalistes — visibles sur mobile (texte léger, wrap propre) */
  .boutique-filters { display: flex; gap: 1.1rem 1.6rem; margin-bottom: 2.5rem; }
  .filter-pill { font-size: 0.56rem; letter-spacing: 0.16em; }
  
  /* Plus de respiration sur les bords mobile */
  .boutique { padding-left: 7vw; padding-right: 7vw; }
  .atelier-header { padding: 0 7vw; }
  .cta-banner { margin-left: 5vw; margin-right: 5vw; padding-left: 7vw; padding-right: 7vw; }

  .atelier-header, .boutique-header { grid-template-columns:1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.4rem; }
  .shop-grid .shop-card { grid-column: auto; }
  .philosophy { grid-template-columns:1fr; gap:4rem; padding-left:7vw; padding-right:7vw; }
  .philosophy-visual { height:350px; }
  .phil-img-a { width:60%; }
  .phil-img-b { width:45%; }
  
  .cta-banner { grid-template-columns:1fr; text-align:center; }
  .order-grid { grid-template-columns:1fr; }
  .pm-inner { grid-template-columns:1fr; }
  .pm-img { border-radius:2.5rem 2.5rem 0 0; min-height:250px; }
  /* Audit UX: chatbot repositionné pour ne pas chevaucher le CTA sticky mobile */
  #chat-bubble { bottom: 4.5rem; right: 1.2rem; }
  #chat-window { bottom: 8rem; right: 1.2rem; width: calc(100vw - 2.4rem); max-height: calc(100dvh - 10rem); }
  

  .engagements-quote { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  
  .atelier-steps { gap: 1.2rem; }
  .atelier-step { width: 82vw; max-width: 280px; }

  

  /* Le Bouton Sticky sur la modale Produit */
  .pm-body { padding: 2rem 1.5rem 2.5rem; }
  #pmAddCart {
    position: sticky;
    bottom: 1rem;
    width: 100%;
    justify-content: center;
    z-index: 100;
    margin-top: 1.5rem;
    box-shadow: 0 12px 35px rgba(26, 23, 20, 0.4);
  }

/* --- GRILLE MOBILE — 2 colonnes verticales, éditoriale façon YC --- */
  .shop-grid .shop-card,
  .shop-grid .shop-card:nth-child(1),
  .shop-grid .shop-card:nth-child(2) {
      grid-column: auto;
      flex: none;
      padding: 0;
      box-sizing: border-box;
  }
  .shop-grid .shop-card .shop-card-img-wrap,
  .shop-grid .shop-card:nth-child(1) .shop-card-img-wrap,
  .shop-grid .shop-card:nth-child(2) .shop-card-img-wrap {
      border-radius: 0.9rem;
      aspect-ratio: 4/5;
  }
  /* Padding interne léger sur le texte des cartes mobile */
  .shop-card-name, .shop-card-sub, .shop-card-footer { padding: 0 0.2rem; }
}

/* --- PETIT MOBILE --- */
@media (max-width: 480px) {
  .hero { padding: 1.5rem 0 1.2rem; }
  .hero-h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .hero-hook { font-size: 0.78rem; }
  .hero-headline { margin-bottom: 0.8rem; }
  .hero-bottom { margin-top: 0.8rem; }
  .hero-showcase-reflection { height: 20px; }
  /* Sur très petit écran, plus de padding texte */
  .shop-card-name, .shop-card-sub, .shop-card-footer { padding: 0 3vw; }
}

/* ══════════════════════════════════════
   13. CORRECTIFS SPÉCIFIQUES & PC
══════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  /* Touch device adjustments */
}

@media (min-width: 1024px) {
  body .atelier-steps-outer { padding: 0 7vw; overflow: visible; }
  .atelier-steps { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 2.5vw !important; width: 100% !important; }
  .atelier-step { width: 100% !important; min-width: auto !important; }
  .atelier-step-img { aspect-ratio: 4/3; height: auto; }
}

/* ════════════════════════════════════════════════════════
   14. UX : LOUPE INTERACTIVE DANS LA MODALE PRODUIT
════════════════════════════════════════════════════════ */
#pmImgWrap.loupe-active img.pm-img-main { 
  opacity: 0; 
}
#pmImgWrap.loupe-active img.pm-img-zoom {
  opacity: 1;
  transform: scale(2.2); 
  transition: none; 
  z-index: 2;
}

/* --- SECTION SAVOIR-FAIRE : MINIMALISME LUXE --- */
/* --- STABILISATION LUXE PHILOSOPHY (RECADRAGE ACTIF) --- */
.philosophy-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end; /* Aligne le cadre vidéo proprement sur la droite */
  align-items: center;
}

/* LE CADRE DE DÉCOUPE */
.video-philosophy-frame {
  width: 100%;
  max-width: 500px; 
  height: 560px; /* <-- C'est ici qu'on ajoute de la hauteur (avant c'était 360px) */
  border-radius: 2.5rem; 
  overflow: hidden; 
  
  box-shadow: 0 30px 60px rgba(109,72,51,0.15);
  
  /* Fix pour Safari */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0); 
}

/* LA VIDÉO ELLE-MÊME, REPOSITIONNÉE POUR LE CROP ET LE CADRAGE HAUT */
.cropped-action-video {
  position: relative; 
  
  /* 1. On remonte de 15px pour être certain de masquer la bande noire */
  top: -15px; 
  left: 0;
  width: 100%;
  height: calc(100% + 30px); /* On compense la taille pour ne pas créer de trou en bas */
  
  object-fit: cover; 
  
  /* 2. LE SECRET EST ICI : On force l'affichage sur le HAUT de l'image (à 15% du sommet) au lieu de 50% (le milieu) */
  object-position: center 15%; 
}

/* Responsive pour mobile (Section Savoir-Faire) */
@media (max-width: 992px) {
  .philosophy-visual {
      justify-content: center;
      margin-top: 3rem;
  }
  
  /* LE CORRECTIF : On réduit le cadre gigantesque sur téléphone */
  .video-philosophy-frame {
      height: 420px; /* Une hauteur parfaite pour un smartphone */
  }
}

/* Pour les tous petits écrans (iPhone SE etc.) */
@media (max-width: 480px) {
  .video-philosophy-frame {
      height: 380px;
  }
}

/* --- SECTION PREUVE SOCIALE (MARQUEE INFINI) --- */
/* --- L'EMBALLAGE DU LOGO ET SON TOOLTIP --- */
.logo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

/* Le texte généré automatiquement à partir de data-name */
.logo-wrapper::after {
  content: attr(data-name);
  position: absolute;
  bottom: -30px; /* Se place juste en dessous du logo */
  left: 50%;
  transform: translateX(-50%) translateY(10px); /* Légèrement décalé vers le bas au repos */
  
  color: var(--ink); /* Ta couleur de texte foncée */
  font-family: 'Geometria', sans-serif;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  
  opacity: 0; /* Invisible par défaut */
  pointer-events: none; /* Empêche le texte de bloquer la souris */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* L'animation d'apparition du texte au survol de la boîte */
.logo-wrapper:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* Remonte doucement à sa place */
}

/* (RAPPEL) : On s'assure que c'est bien l'image qui grossit au survol de la boîte */
.logo-wrapper:hover img {
  filter: grayscale(100%) opacity(100%);
  transform: scale(1.08);
}

.trust-label {
  text-align: center;
  font-family: 'Geometria', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  opacity: 0.4;
  margin-bottom: 2.5rem;
}

/* --- SECTION ESPACE PRO : GRILLE DES PARTENAIRES --- */
.partners-gallery-section {
  width: 100%;
  padding: 4rem 5%;
  margin-bottom: 4rem;
}

.partners-header {
  text-align: center;
  margin-bottom: 4rem; /* Un bel espace avant la grille */
}

/* La Grille : Centre les éléments et les passe à la ligne automatiquement */
.partners-grid {
  display: flex;
  flex-wrap: wrap; /* C'est ça qui crée les lignes */
  justify-content: center;
  align-items: center;
  gap: 5rem 6rem; /* 5rem d'espace vertical, 6rem d'espace horizontal */
  max-width: 900px;
  margin: 0 auto;
}

/* Le design des logos de la grille (Identique à l'accueil) */
.partners-grid img {
  height: 85px;
  width: 85px; 
  object-fit: cover;
  
  filter: opacity(100%); 
  
  /* La découpe en rond parfait */
  -webkit-clip-path: circle(50% at 50% 50%);
  clip-path: circle(50% at 50% 50%);
  
  transition: filter 0.4s ease-out, transform 0.4s ease-out;
}

/* L'effet au survol dans la grille */
.partners-grid .logo-wrapper:hover img {
  filter: grayscale(100%) opacity(100%);
  transform: scale(1.08); 
  -webkit-clip-path: circle(50% at 50% 50%);
  clip-path: circle(50% at 50% 50%);
}

/* Adaptation pour les téléphones */
@media (max-width: 992px) {
  .partners-grid {
      gap: 4rem 3rem; /* On réduit les espaces sur mobile */
  }
  .partners-grid img {
      height: 65px;
      width: 65px;
  }
}

/* --- LE TÉMOIGNAGE ESPACE PRO --- */
.pro-testimonial {
  max-width: 750px;
  margin: 2rem auto 4rem auto; /* Centre le bloc et donne de l'air avant la grille */
  text-align: center;
}

.pro-testimonial .quote {
  font-family: var(--serif); /* Ta police de luxe */
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  font-style: italic; /* L'italique donne le ton de la citation */
}

.pro-testimonial .author {
  font-family: 'Geometria', sans-serif; /* Ta police technique/moderne */
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  opacity: 0.5; /* Discret pour laisser la vedette à la citation */
}

/* --- hero-img-wrapper (legacy, pages produits) --- */
.hero-img-wrapper {
  width: 100%;
  height: 50vh;
  min-height: 400px;
  max-height: 550px;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(109,72,51,0.08);
  margin: 3rem 0 5rem 0;
  border: 1px solid rgba(109,72,51,0.05);
}
.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-img-wrapper:hover img { transform: scale(1.04); }

/* --- LES 3 ARGUMENTS (Style Éditorial) --- */
.b2b-list { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 6rem; /* On augmente encore l'espace entre les colonnes */
  width: 100%;
  text-align: left; 
}

.b2b-item { 
  position: relative; 
  padding-top: 2.5rem; /* Espace pour le numéro et la ligne */
  border-top: 1px solid rgba(109,72,51,0.1); /* Ligne fine sur toute la largeur */
}

/* La petite ligne dorée qui vient par-dessus la ligne grise */
.b2b-item::before { 
  content: ''; 
  position: absolute; 
  left: 0; 
  top: -1px; 
  width: 40px; 
  height: 1px; 
  background: var(--gold); 
  transition: width 0.5s ease;
}

.b2b-item:hover::before { width: 100%; } /* La ligne s'allonge au survol, petit effet sympa */

/* La numérotation luxe */
.b2b-num {
  position: absolute;
  top: 0.8rem;
  left: 0;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.b2b-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-bottom: 1rem; }
.b2b-desc { 
  font-family: var(--sans); 
  font-size: 0.95rem; 
  color: var(--ink-muted); 
  line-height: 1.8; /* Plus d'interligne pour faciliter la lecture */
  max-width: 90%; /* Empêche le texte de s'étaler jusqu'au bord */
}

/* --- LE VERROUILLAGE DU FORMULAIRE --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 colonnes parfaitement égales */
  column-gap: 4rem; /* L'espace horizontal que tu mesurais dans la vidéo */
  row-gap: 2.5rem; /* L'espace vertical entre chaque ligne */
  margin-bottom: 3.5rem;
}
/* --- 2. LE FORMULAIRE NOIR : L'ESPACE VIP --- */
.form-side { 
  width: 100%;
  max-width: 950px;
  background: var(--white); 
  color: var(--ink); 
  border-radius: 2.5rem; 
  padding: 5rem 5rem 6rem 5rem; 
  box-shadow: 0 20px 60px rgba(109,72,51,0.07); 
  border: 1px solid rgba(109,72,51,0.06);
  position: relative; 
  margin-bottom: 5rem;
}
.full-width { grid-column: 1 / -1; }
.wa-pro-wrap { 
  margin-top: 4.5rem;
  padding-top: 3.5rem; 
  border-top: 1px solid rgba(109,72,51,0.08); 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}
/* --- TRANSITION DE PAGE (APP-LIKE) --- */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--cream, #FCF9F3);
  z-index: 99999;
  pointer-events: none;
  /* FALLBACK : si GSAP ne charge pas, le CSS anime tout seul */
  animation: pageTransitionFadeOut 0.8s ease-out 0.5s forwards;
}
@keyframes pageTransitionFadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* Ajustement Mobile pour le texte */
@media (max-width: 992px) {
  .pro-testimonial .quote {
      font-size: 1.2rem;
      padding: 0 1rem;
  }
}
/* Adaptation Mobile de l'espace VIP */
@media (max-width: 640px) {
  .form-side {
      padding: 4rem 2rem 5rem 2rem; /* On garde de l'air en bas même sur téléphone */
  }
  .b2b-list {
      gap: 4rem;
      max-width: 100%;
  }
}
/* ══════════════════════════════════════
   15. ACCESSIBILITY: REDUCED MOTION
══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Audit A11Y: disable parallax and GSAP transforms for vestibular disorders */
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-headline, .hero-h1, .hero-hook, .hero-showcase, .hero-bottom,
  .hero-showcase-reflection, .hero-actions { opacity: 1 !important; transform: none !important; }
  .scroll-hint { display: none !important; }
}

/* ══════════════════════════════════════
   15b. ACCESSIBILITY: FOCUS-VISIBLE STATES
══════════════════════════════════════ */
/* Audit A11Y: custom focus ring — gold ring on all interactive elements */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Buttons with border-radius get matching focus shape */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-gold-filled:focus-visible,
.filter-pill:focus-visible,
.lead-magnet-submit:focus-visible,
.submit-btn:focus-visible,
.pm-add-cart:focus-visible,
.chat-send:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* Dark-background elements get cream focus ring */
.btn-ghost:focus-visible,
.cta-banner .btn-gold-filled:focus-visible,
.cart-checkout:focus-visible {
  outline-color: var(--cream);
}
/* Ensure burger menu has visible focus */
.nav-burger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}
/* --- SKIP TO CONTENT (Accessibility) --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 0 0 1rem 1rem;
  font-family: 'Geometria', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 100000;
  transition: top 0.3s;
}
.skip-to-content:focus {
  top: 0;
}

/* ══════════════════════════════════════
   FOUNDER SECTION (Audit QW5)
══════════════════════════════════════ */
.founder-section {
  padding: 3rem 6vw;
  position: relative;
}
.founder-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6vw;
  right: 6vw;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(109,72,51,0.08) 30%, rgba(109,72,51,0.08) 70%, transparent);
}
.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6vw;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.founder-img-wrap {
  position: relative;
  border-radius: var(--radius-xl, 2.5rem);
  overflow: hidden;
}
/* Subtle gold frame on founder portrait */
.founder-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl, 2.5rem);
  border: 1px solid rgba(163,120,27,0.12);
  pointer-events: none;
}
.founder-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl, 2.5rem);
  object-fit: cover;
  object-position: center top;
  transition: transform 1s var(--ease-out);
}
.founder-img-wrap:hover .founder-img {
  transform: scale(1.03);
}
.founder-role {
  font-family: 'Geometria', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.founder-bio {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--ink-muted);
  max-width: 50ch;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .founder-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .founder-img {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ══════════════════════════════════════
   PRESS SECTION
   ══════════════════════════════════════ */
.press-section {
  padding: 2.5rem 6vw;
  text-align: center;
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}
/* ── Press Cards — Editorial Quotation Design ── */
.press-card {
  background: var(--white);
  border: 1px solid rgba(109,72,51,0.04);
  border-radius: var(--radius-lg, 2rem);
  padding: 2.5rem 2rem 2rem;
  text-align: left;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(109,72,51,0.06));
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.4s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
/* Gold accent bar at top */
.press-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gradient-gold, var(--gold));
  border-radius: 0 0 2px 0;
  transition: width 0.5s var(--ease-out);
}
.press-card:hover::before { width: 100%; }
.press-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg, 0 12px 48px rgba(109,72,51,0.1));
  border-color: rgba(163,120,27,0.08);
}
.press-source {
  font-family: 'Geometria', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.press-quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--ink);
  flex: 1;
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid var(--gold-pale, #E8D5B8);
}
.press-date {
  font-family: 'Geometria', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
@media (max-width: 768px) {
  .press-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

/* ══════════════════════════════════════
   MICRO-CONFIGURATEUR DE DEVIS
   ══════════════════════════════════════ */
/* ── Margin Simulator ── */
.configurator-section {
  text-align: center;
}
.configurator-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.configurator-title em { font-style: italic; color: var(--gold); }
.configurator-subtitle {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 52ch;
  margin: 0 auto 3rem;
}
.margin-sim {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.margin-sim-controls {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: center;
}
.margin-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.margin-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.margin-slider-label {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
}
.margin-slider-value {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.margin-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: rgba(109,72,51,0.1);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}
.margin-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(163,120,27,0.35);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.margin-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(163,120,27,0.45);
}
.margin-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(163,120,27,0.35);
  cursor: pointer;
}
.margin-slider-hints {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  opacity: 0.5;
}
.margin-cost-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: var(--cream-2);
  border-radius: 1rem;
  border: 1px solid rgba(109,72,51,0.04);
}
.margin-cost-line span:first-child {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.margin-cost-fixed {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 400;
}
/* Results panel */
.margin-sim-results {
  position: sticky;
  top: 6rem;
  align-self: flex-start;
}
.margin-sim-results-inner {
  background: var(--white);
  border: 1px solid rgba(109,72,51,0.06);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(109,72,51,0.06);
}
.config-summary-header {
  font-family: 'Geometria', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.margin-result-big {
  text-align: center;
  padding: 1.5rem 0;
}
.margin-result-big-value {
  display: block;
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: all 0.3s var(--ease-out);
}
.margin-result-big-label {
  display: block;
  font-family: 'Geometria', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}
.config-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.config-summary-divider {
  width: 100%;
  height: 1px;
  background: rgba(109,72,51,0.06);
  margin: 0.75rem 0;
}
.config-summary-total {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.margin-highlight {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
}
.margin-highlight-gold {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
}
.margin-sim-insight {
  background: rgba(163,120,27,0.06);
  border-radius: 0.75rem;
  padding: 1rem 1.2rem;
  margin-top: 0.5rem;
}
.margin-sim-insight p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--ink-muted);
  font-style: italic;
  margin: 0;
}
.config-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  margin-top: 1.5rem;
  border-radius: 99px;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Geometria', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.config-cta-btn:hover {
  background: var(--gold);
  color: var(--white);
}
.config-disclaimer {
  font-size: 0.65rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .margin-sim {
    grid-template-columns: 1fr;
  }
  .margin-sim-results {
    position: static;
  }
}

/* ══════════════════════════════════════
   ACCESSIBILITY — Focus-visible & Reduced Motion
══════════════════════════════════════ */

/* Global focus-visible ring for interactive elements */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip-to-content visible on focus */
.skip-link:focus-visible {
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  position: fixed !important;
  top: 1rem;
  left: 1rem;
  z-index: 100000;
  padding: 0.75rem 1.5rem;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ══════════════════════════════════════
   MOBILE SAFE AREA & CHAT WIDGET FIX
══════════════════════════════════════ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .chat-toggle {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 0.75rem !important;
    width: 48px !important;
    height: 48px !important;
    z-index: 9990;
  }
}

/* ══════════════════════════════════════════════════════════════
   15. ACCESSIBILITÉ RENFORCÉE — WCAG 2.1 AA Compliance
══════════════════════════════════════════════════════════════ */

/* --- :focus-visible — Restitution de l'anneau de focus pour la navigation clavier --- */
/* Audit critique : outline:none global supprimait l'accessibilité clavier */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Exceptions contextuelles pour les éléments qui ont déjà un traitement visuel */
.filter-pill:focus-visible { outline-offset: 2px; }
.shop-card:focus-visible { outline-offset: 4px; border-radius: var(--radius-xl); }

/* --- prefers-reduced-motion — WCAG 2.3.3 Motion Actuation --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .hero-showcase-img img { opacity: 1 !important; transform: none !important; }
  .hero-headline, .hero-h1, .hero-hook, .hero-actions, .hero-bottom,
  .hero-showcase, .hero-showcase-reflection { opacity: 1 !important; transform: none !important; }
  .scroll-hint { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .shop-card:hover { transform: none; }
  body::after { display: none; } /* Grain overlay désactivé */
}

/* --- Contraste amélioré — Corrections WCAG AA ratios --- */
/* hero-hook : ink au lieu de gold pour ratio >7:1 */
.hero-hook { color: var(--ink-soft); font-weight: 500; }
/* hero-reassurance : augmentation taille minimum */
.hero-reassurance { font-size: 0.78rem; color: #8A6D3B; }
/* Pricing section: gold-light insuffisant → gold pour ratio AA */
.engagements-sub { color: var(--gold); }
/* ink-muted renforcé pour small text AA compliance */
/* Audit: #6B6560 on #FCF9F3 ≈ 4.6:1 — passé à #5A524D pour ≈ 5.5:1 */
:root { --ink-muted: #5A524D; }

/* --- Font-weight 400 minimum pour texte fonctionnel --- */
/* Audit: font-weight 300 illisible sur écrans basse résolution */
.filter-pill, .shop-card-sub,
.guarantee-desc, .footer-nav a, .chat-quick-btn,
.cta-banner-eyebrow, .section-eyebrow,
.pm-sub, .pm-section-label, .pm-allergen-tag,
.lead-magnet-eyebrow, .footer-tagline,
.breadcrumb a, .breadcrumb .current {
  font-weight: 500;
}

/* --- Safe-area insets pour iPhone à encoche --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom)); }
  #chat-bubble { bottom: calc(2rem + env(safe-area-inset-bottom)); }
  #chat-window { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  #mobile-overlay { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
}

/* --- Z-index normalisé (système à couches) --- */
/* Layer 1: Content (0-99) */
/* Layer 2: Sticky elements (100-199) */
/* Layer 3: Navigation (200-299) */
/* Layer 4: Overlays/Modals (300-399) */
/* Layer 5: System (400+) */
/* Note: appliqué sélectivement pour ne pas casser les stacking contexts existants */

/* ══════════════════════════════════════
   AUDIT 3.3: Mobile spacing reduction (-50%)
══════════════════════════════════════ */
@media (max-width: 768px) {
  .hero { padding: 1.5rem 0 0; min-height: auto; }
  .hero-headline { margin-bottom: 0.8rem; }
  .hero-h1 { font-size: clamp(2.6rem, 9vw, 3.8rem); }
  .hero-hook { font-size: 0.82rem; margin-top: 0.5rem; }
  .hero-showcase { flex: 0 0 auto; }
  .hero-showcase-img { width: 100%; flex: 0 0 auto; }
  .hero-showcase-img img { width: 100%; height: 100%; object-fit: cover; }
  .hero-showcase-reflection { width: 100%; height: clamp(25px, 4vw, 50px); }
  .hero-bottom { margin-top: 1rem; }
  .boutique { padding: 3rem 0; }
}

/* ══════════════════════════════════════════════════════════════
   AWWWARDS UPGRADE — Phase 1 & 2 · Avril 2026
   Custom cursor, line-reveal, tilt 3D, magnetic buttons
══════════════════════════════════════════════════════════════ */

/* ── CUSTOM CURSOR — Désactivé (choix utilisateur) ── */

/* ── LINE REVEAL — Masque overflow pour les titres ── */
.line-wrap {
  overflow: hidden;
  display: block;
}
.line-inner {
  display: block;
  transform: translateY(105%);
  will-change: transform;
}

/* ── TILT 3D — Perspective sur les cartes ── */
/* Le tilt est géré uniquement par le JS mousemove, pas de preserve-3d
   pour éviter de décaler les images et badges à l'intérieur */

/* ── MAGNETIC BUTTONS — Subtile attraction ── */
.btn-magnetic {
  will-change: transform;
  transition: transform 0.4s var(--ease-out);
}

/* ── HERO CHARS ANIMATION ── */
.hero-h1 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(-40deg);
  transform-origin: center bottom;
}

/* ── MOBILE: disable tilt ── */
@media (hover: none) and (pointer: coarse) {
  .shop-card { transform: none !important; }
}

/* ════════════════════════════════════════════════════════════════
   PASSE DE COHÉRENCE YC — boutons d'action en 2px
   Rayon réel du thème YC : --button-border-radius = .125rem (2px).
   On remplace les pilules (999px) des CTA principaux pour rester
   cohérent avec le tiroir panier déjà passé en 2px.
════════════════════════════════════════════════════════════════ */
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-gold-filled,
.hero-overlay-cta,
.submit-btn,
.engagements-cta a,
.newsletter-submit,
.pm-add-cart,
.cart-address-input { border-radius: 2px; }

/* ════════════════════════════════════════════════════════════════
   FOOTER — accordéons repliables sur mobile (façon YC)
   ≤768px : chaque colonne se replie, on tape le titre pour ouvrir.
   Desktop : aucun effet (tout reste déployé).
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer-cols .footer-col > .footer-col-title:first-child {
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    -webkit-user-select: none;
    user-select: none;
  }
  .footer-cols .footer-col > .footer-col-title:first-child::after {
    content: '';
    width: 7px;
    height: 7px;
    flex: none;
    margin-right: 0.15rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s var(--ease-out);
  }
  .footer-cols .footer-col.is-open > .footer-col-title:first-child::after {
    transform: rotate(-135deg);
  }
  /* Corps de colonne = tout ce qui suit le premier titre */
  .footer-cols .footer-col > .footer-col-title:first-child ~ * {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
    transition: max-height 0.4s var(--ease-out), opacity 0.3s ease;
  }
  .footer-cols .footer-col.is-open > .footer-col-title:first-child ~ * {
    max-height: 1500px;
    opacity: 1;
  }
}

/* ════════════════════════════════════════════════════════════════
   NAVBAR ACCUEIL — sticky façon YC
   Transparente sur le hero (contenu crème) ; passé le hero elle
   devient une barre claire (contenu encre, logo permuté) ; elle se
   masque en descendant et réapparaît en remontant.
════════════════════════════════════════════════════════════════ */
#navbar.navbar--sticky {
  position: fixed;
  transition: transform 0.45s var(--ease-out), background 0.4s var(--ease-out),
              padding 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  will-change: transform;
}
/* Passé le hero — barre blanche, contenu encre */
#navbar.navbar--sticky.nav-solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
#navbar.navbar--sticky.nav-solid .nav-link,
#navbar.navbar--sticky.nav-solid .cart-toggle { color: var(--ink); }
#navbar.navbar--sticky.nav-solid .nav-link:hover,
#navbar.navbar--sticky.nav-solid .cart-toggle:hover { color: var(--gold); }
#navbar.navbar--sticky.nav-solid #navBurger span { background: var(--ink) !important; }
#navbar.navbar--sticky.nav-solid .nav-brand--centered .brand-tagline { color: rgba(109,72,51,0.62); }
/* Barre claire — on masque l'emblème AM (comme YC masque le renard au scroll),
   on ne garde que le mot-symbole */
#navbar.navbar--sticky.nav-solid .brand-logo { display: none; }
/* Emblème masqué → on annule la marge négative du mot-symbole (calée pour
   l'emblème) sinon le bloc est tiré vers le haut et n'est plus centré */
#navbar.navbar--sticky.nav-solid .brand-wordmark { margin-top: 0; }
/* L'emblème AM n'apparaît QUE sur le hero de l'accueil (nav sticky transparente).
   Toutes les autres navs : mot-symbole seul, emblème masqué + marge annulée. */
#navbar:not(.navbar--sticky) .brand-logo { display: none; }
#navbar:not(.navbar--sticky) .brand-wordmark { margin-top: 0; }
/* Masquée quand on descend, réapparaît quand on remonte */
#navbar.navbar--sticky.nav-hidden { transform: translateY(-100%); }

/* Variante sombre + sticky : tant qu'on est sur le hero, .scrolled (legacy
   d'avant le sticky) ne doit pas opacifier la nav. Seule .nav-solid, ajoutée
   par nav-sticky.js une fois le hero franchi, fait basculer en crème. */
#navbar.navbar--sticky.navbar--yc-dark.scrolled:not(.nav-solid) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

/* Variante sombre + sticky passée en .nav-solid (post-hero) : on rebascule
   tous les éléments (burger, texte) en sombre pour rester lisibles sur
   le fond crème. */
#navbar.navbar--sticky.navbar--yc-dark.nav-solid .nav-link,
#navbar.navbar--sticky.navbar--yc-dark.nav-solid .nav-icon { color: var(--ink); opacity: 1; }
#navbar.navbar--sticky.navbar--yc-dark.nav-solid .nav-link:hover,
#navbar.navbar--sticky.navbar--yc-dark.nav-solid .nav-icon:hover { color: var(--gold); }
#navbar.navbar--sticky.navbar--yc-dark.nav-solid .nav-burger--2lines span,
#navbar.navbar--sticky.navbar--yc-dark.nav-solid #navBurger span { background: var(--ink) !important; }
#navbar.navbar--sticky.navbar--yc-dark.nav-solid .nav-brand--centered .brand-tagline { color: rgba(109,72,51,0.62); }

/* ════════════════════════════════════════════════════════════════
   CTA — fond tan plein (#BD8F68) façon YC : texte crème, sans liseré.
════════════════════════════════════════════════════════════════ */
.btn-primary,
.submit-btn,
.newsletter-submit,
.cart-checkout,
.cart-empty-btn,
.hero-overlay-cta,
.engagements-cta a,
.cart-note-save,
.pm-add-cart {
  background: var(--tan);
  color: var(--cream);
  border: 1px solid var(--tan);
}
.btn-primary:hover,
.submit-btn:hover,
.newsletter-submit:hover,
.cart-checkout:hover,
.cart-empty-btn:hover,
.hero-overlay-cta:hover,
.engagements-cta a:hover,
.cart-note-save:hover,
.pm-add-cart:hover {
  background: var(--tan-deep);
  border-color: var(--tan-deep);
  color: var(--cream);
}
/* Boutons « Ajouter au panier » révélés au survol — tan plein */
.shop-card-add:hover,
.cx-card-add:hover {
  background: var(--tan);
  color: var(--cream);
  border: 1px solid var(--tan);
}
