/* ============================================================================
   STYLE.CSS — Domaine Hauger Fargeaud
   Mise en page & composants. COULEURS et POLICES : exclusivement les variables
   de fondations.css (--c-*, --font-*) ; jamais redéfinies ici.
   Ce fichier n'AJOUTE que des tokens absents de fondations (espacement, échelle
   typographique, motion, layout, teintes dérivées). Importer APRÈS fondations.
   Sommaire :
     0.  Tokens additifs (layout / motion / échelle)
     1.  Reset & base
     2.  Typographie de base
     3.  Primitives de layout (.container, .section, grilles)
     4.  Utilitaires d'animation (révélation au scroll)
     5.  Header + navigation + bascule de langue
     6.  Menu plein écran (mobile)
     7.  Hero (vidéo)
     8.  Blocs éditoriaux (statement, editorial, pull-quote, feature-link)
     9.  Fiche vin (.wine-card)
     10. Encart importateur (.importer-cta)
     11. Lieu-dit (.lieu-dit)
     12. Placeholders média
     13. Formulaire de contact
     14. Carte points de vente
     15. Footer + mention alcool
     16. Portail d'âge (age-gate)
     17. prefers-reduced-motion
   ============================================================================ */

/* ----------------------------------------------------------------------------
   0. TOKENS ADDITIFS — non présents dans fondations.css (donc pas de
      redéfinition). Les couleurs dérivées sont calculées depuis les tokens
      de marque via color-mix (aucune valeur de marque en dur).
   ---------------------------------------------------------------------------- */
:root {
  /* Échelle typographique fluide */
  --fs-hero:    clamp(2.75rem, 1.4rem + 5.6vw, 6rem);
  --fs-display: clamp(2.25rem, 1.3rem + 3.8vw, 4.25rem);
  --fs-h2:      clamp(1.75rem, 1.15rem + 2.4vw, 2.9rem);
  --fs-h3:      clamp(1.3rem, 1.05rem + 1.1vw, 1.7rem);
  --fs-quote:   clamp(1.6rem, 1.05rem + 2.4vw, 3rem);
  --fs-lead:    clamp(1.2rem, 1.02rem + 0.7vw, 1.55rem);
  --fs-body:    clamp(1.05rem, 0.99rem + 0.28vw, 1.2rem);
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.78rem;

  --lh-tight: 1.06;
  --lh-snug:  1.22;
  --lh-body:  1.62;
  --tracking-eyebrow: 0.22em;
  --tracking-wide:    0.12em;

  /* Espacement */
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: clamp(4rem, 2rem + 8vw, 8rem);
  --space-3xl: clamp(6rem, 3rem + 12vw, 12rem);

  /* Layout */
  --container:      1320px;
  --container-wide: 1560px;
  --measure:        68ch;
  --gutter:         clamp(1.25rem, 0.5rem + 3vw, 3.5rem);
  --header-h:       76px;
  --radius-sm:      2px;
  --radius-md:      4px;

  /* Motion (lent, discret) */
  --ease-slow:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   0.25s;
  --dur-base:   0.5s;
  --dur-slow:   0.9s;
  --dur-reveal: 1.1s;

  /* Couches */
  --z-base:    1;
  --z-header:  100;
  --z-menu:    200;
  --z-agegate: 1000;

  /* Teintes dérivées (calculées depuis les tokens de marque) */
  --bx-12:   color-mix(in srgb, var(--c-bordeaux) 12%, transparent);
  --bx-08:   color-mix(in srgb, var(--c-bordeaux) 8%, transparent);
  --tx-12:   color-mix(in srgb, var(--c-texte) 12%, transparent);
  --tx-08:   color-mix(in srgb, var(--c-texte) 8%, transparent);
  --fond-90: color-mix(in srgb, var(--c-fond) 90%, transparent);
  --veil-image: rgba(10, 14, 20, 0.22);

  /* Signature matière : granite rose (teintes d'appui des fonds de section) */
  --granite:      color-mix(in srgb, var(--c-bordeaux) 4%, var(--c-fond));
  --granite-deep: color-mix(in srgb, var(--c-bordeaux) 7%, var(--c-fond));

  /* Pivot sombre : bordeaux profond (mélange des tokens de marque) */
  --pivot-bg: color-mix(in srgb, var(--c-bordeaux) 42%, var(--c-texte));

  /* Échelle additionnelle : déclaration (chapô) et chiffres */
  --fs-statement: clamp(1.5rem, 1.1rem + 1.7vw, 2.5rem);
  --fs-figure:    clamp(2rem, 1.3rem + 2.4vw, 3.5rem);
  --fs-index:     clamp(2.2rem, 1rem + 4.4vw, 4.6rem);
  --fs-ghost:     clamp(9rem, 22vw, 22rem);   /* numéraux en filigrane */

}

/* ----------------------------------------------------------------------------
   1. RESET & BASE
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-texte);
  background: var(--c-fond);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (et non hidden) : hidden créerait un contexte de défilement
     qui casse position:sticky (hero épinglé). */
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
/* fondations.css souligne les <a> par défaut (border-bottom) : on neutralise
   pour les composants ; les liens de prose reçoivent un soulignement dédié. */
a { color: var(--c-bordeaux); text-decoration: none; border-bottom: 0; }
ul[role="list"] { list-style: none; padding: 0; }

/* Focus visible accessible (navigation clavier) */
:focus-visible {
  outline: 2px solid var(--c-bordeaux);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: var(--space-sm); top: -100px;
  background: var(--c-bordeaux); color: var(--c-fond);
  padding: var(--space-xs) var(--space-sm); z-index: var(--z-agegate);
  transition: top var(--dur-fast) var(--ease-slow);
}
.skip-link:focus { top: var(--space-sm); }

/* Texte réservé aux lecteurs d'écran */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------------------------
   2. TYPOGRAPHIE DE BASE
   ---------------------------------------------------------------------------- */
h1, h2, h3 { font-weight: 400; line-height: var(--lh-tight); color: var(--c-bordeaux); }
h1 { font-family: var(--font-titre); font-size: var(--fs-display); }
h2 { font-family: var(--font-titre); font-size: var(--fs-h2); line-height: var(--lh-snug); }
h3 { font-family: var(--font-accent); font-size: var(--fs-h3); line-height: var(--lh-snug); color: var(--c-texte); }

p { max-width: var(--measure); }
p + p { margin-top: 1em; }

.eyebrow {
  font-family: var(--font-accent);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--c-bleu);
  display: inline-flex; align-items: center; gap: var(--space-xs);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--c-jaune);
}
.lead { font-size: var(--fs-lead); color: var(--c-texte); line-height: 1.45; }

/* Lien éditorial souligné animé */
.link-arrow {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-lead);
  color: var(--c-bordeaux);
  display: inline-flex; align-items: center; gap: 0.6em;
  position: relative;
}
.link-arrow::after {
  content: "→"; font-style: normal;
  transition: transform var(--dur-base) var(--ease-slow);
}
.link-arrow:hover::after { transform: translateX(0.4em); }

/* ----------------------------------------------------------------------------
   3. PRIMITIVES DE LAYOUT
   ---------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 760px; }

.section { padding-block: var(--space-2xl); }
.section--tight { padding-block: var(--space-xl); }
.section--hero-follow { padding-top: var(--space-3xl); }

.measure { max-width: var(--measure); }
.center { text-align: center; margin-inline: auto; }

/* ----------------------------------------------------------------------------
   4. UTILITAIRES D'ANIMATION (révélation au scroll, piloté par animations.js)
   ---------------------------------------------------------------------------- */
/* Variantes par type d'élément — vitesses et gestes différenciés :
   (défaut)        : fondu + glissement 18px (texte courant)
   data-reveal=fade: fondu pur, lent (grandes images)
   data-reveal=mask: dévoilement par rideau vertical (titres, chiffres)
   data-reveal=line: trait qui se trace (filets des marques de chapitre)   */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-reveal) var(--ease-slow),
              transform var(--dur-reveal) var(--ease-slow);
  will-change: opacity, transform;
}
[data-reveal="fade"] {
  transform: none;
  transition-duration: 1.6s;
}
/* mask : le wrapper reste pleinement visible (l'IntersectionObserver doit
   pouvoir le mesurer) ; ce sont ses enfants directs qui montent du rideau. */
[data-reveal="mask"] {
  opacity: 1; transform: none; transition: none;
  overflow: hidden;
}
[data-reveal="mask"] > * {
  transform: translateY(115%);
  transition: transform 1.2s var(--ease-slow);
}
[data-reveal="line"] {
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-slow) 0.15s, opacity 0.3s linear;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="mask"].is-visible > * { transform: none; }
/* Décalage en cascade (stagger) via --i posé sur l'élément */
[data-reveal][style*="--i"] { transition-delay: calc(var(--i) * 110ms); }
[data-reveal="mask"][style*="--i"] > * { transition-delay: calc(var(--i) * 110ms); }

/* ----------------------------------------------------------------------------
   5. HEADER + NAVIGATION
   ---------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background var(--dur-base) var(--ease-slow),
              box-shadow var(--dur-base) var(--ease-slow);
}
.site-header__inner {
  width: 100%; max-width: var(--container-wide);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md);
}
.site-header.is-solid {
  background: var(--fond-90);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 1px 0 var(--tx-08);
}

/* ---- Marque : blason (emblème couleur) + nom typographié --------------------
   Le blason reste en couleurs ; le NOM change de couleur selon le contexte. */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__crest { height: 46px; width: auto; display: block; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__top {
  font-family: var(--font-accent);
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  opacity: 0.75; margin-bottom: 0.4em;
}
.brand__main { font-family: var(--font-accent); font-size: 1.1rem; letter-spacing: 0.01em; }
/* Header : nom blanc sur le hero, bordeaux sur fond blanc. */
.site-header__logo { color: var(--c-fond); }
.site-header.is-solid .site-header__logo { color: var(--c-bordeaux); }

/* Navigation desktop */
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__list { display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.7rem); }
.nav__link {
  font-family: var(--font-body);
  font-size: 0.98rem; letter-spacing: 0.01em;
  color: var(--c-fond);
  position: relative; padding-block: 0.4em;
  transition: color var(--dur-fast) var(--ease-slow);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-slow);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header.is-solid .nav__link { color: var(--c-texte); }
.site-header.is-solid .nav__link[aria-current="page"] { color: var(--c-bordeaux); }

/* Bascule de langue */
.lang-switch {
  font-family: var(--font-accent);
  font-size: 0.85rem; letter-spacing: var(--tracking-wide);
  color: var(--c-fond); border: 1px solid currentColor;
  padding: 0.35em 0.7em; border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-slow),
              color var(--dur-fast) var(--ease-slow);
}
.site-header.is-solid .lang-switch { color: var(--c-bordeaux); }
.lang-switch:hover { background: var(--c-bordeaux); color: var(--c-fond); border-color: var(--c-bordeaux); }

/* Bouton burger (mobile) */
.burger {
  display: none; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
  padding: 10px;
}
.burger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--c-fond);
  transition: transform var(--dur-base) var(--ease-slow),
              opacity var(--dur-fast) var(--ease-slow);
}
.site-header.is-solid .burger span { background: var(--c-texte); }

@media (max-width: 980px) {
  .nav__list { display: none; }
  .burger { display: flex; }
}

/* ----------------------------------------------------------------------------
   6. MENU PLEIN ÉCRAN (mobile)
   ---------------------------------------------------------------------------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--c-bordeaux);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  opacity: 0; visibility: hidden;
  transform: translateY(-1.5%);
  transition: opacity var(--dur-base) var(--ease-slow),
              transform var(--dur-base) var(--ease-slow),
              visibility var(--dur-base);
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transform: none; }
.menu-overlay__close {
  position: absolute; top: 22px; right: var(--gutter);
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  color: var(--c-fond); font-size: 1.8rem; line-height: 1;
}
.menu-overlay__list { display: flex; flex-direction: column; gap: 0.2em; }
.menu-overlay__link {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 8vw, 3.2rem);
  color: var(--c-fond); line-height: 1.18;
  opacity: 0; transform: translateY(14px);
}
.menu-overlay.is-open .menu-overlay__link {
  opacity: 1; transform: none;
  transition: opacity var(--dur-base) var(--ease-slow) calc(var(--i) * 70ms),
              transform var(--dur-base) var(--ease-slow) calc(var(--i) * 70ms);
}
.menu-overlay__footer {
  margin-top: var(--space-xl);
  display: flex; gap: var(--space-md); align-items: center;
  color: var(--c-fond); font-size: var(--fs-small);
}
.menu-overlay__footer a { color: var(--c-fond); }

/* ----------------------------------------------------------------------------
   7. HERO (vidéo)
   ---------------------------------------------------------------------------- */
/* Piste d'épinglage : le hero reste collé pendant ~75vh de défilement,
   le temps que la vidéo se mette en retrait (initHeroExit). */
.hero-pin { height: 175vh; height: 175svh; }
.hero-pin.no-pin { height: auto; } /* prefers-reduced-motion : flux normal */
.no-pin .hero { position: relative; }

.hero {
  position: sticky; top: 0;
  height: 100vh;
  height: 100svh; /* stabilité mobile (barre d'adresse iOS) */
  display: grid; align-items: end;
  overflow: hidden;
  color: var(--c-fond);
  background: var(--c-fond); /* marge papier révélée quand la vidéo recule */
  /* Clipping fiable des couches GPU (parallax) — voir .layered__media */
  isolation: isolate;
  clip-path: inset(0);
}

/* L'ensemble vidéo + voile recule d'un seul bloc (transform GPU).
   overflow + clip-path : le débord parallax de la vidéo (-8%) doit rester
   DANS le cadre — sinon il dépasse du voile pendant le retrait et crée
   une bande plus claire en lisière. */
.hero__visual {
  position: absolute; inset: 0;
  transform-origin: 50% 62%;
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0);
}
/* Débord vertical (-8%) : permet le parallax sans découvrir les bords. */
.hero__media { position: absolute; inset: -8% 0; z-index: 0; }
.hero__media video,
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* Respiration perpétuelle très lente (registre Opus One) */
  animation: hero-breathe 36s var(--ease-inout) infinite alternate;
}
@keyframes hero-breathe {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
/* Voile directionnel : assoit la typo en bas-gauche, préserve la lumière
   de l'image à droite (pas de voile uniforme qui éteint la photo). */
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* Bande haute : lisibilité du menu sur les zones claires de l'image */
    linear-gradient(to bottom, rgba(10,14,20,0.50) 0%, rgba(10,14,20,0.18) 9%, rgba(10,14,20,0) 18%),
    linear-gradient(to top, rgba(10,14,20,0.52) 0%, rgba(10,14,20,0.08) 40%, rgba(10,14,20,0) 60%),
    linear-gradient(78deg, rgba(10,14,20,0.46) 0%, rgba(10,14,20,0.18) 38%, rgba(10,14,20,0) 62%);
}
.hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container-wide);
  margin-inline: auto; padding-inline: var(--gutter);
  padding-bottom: clamp(5.5rem, 13vh, 10rem);
}
.hero__eyebrow {
  color: var(--c-fond);
  margin-bottom: var(--space-md);
  opacity: 0; animation: hero-in var(--dur-reveal) var(--ease-slow) 1.15s forwards;
}
.hero__eyebrow::before { background: var(--c-jaune); }
.hero__title {
  font-family: var(--font-titre);
  font-size: var(--fs-hero);
  line-height: 1.05;
  color: var(--c-fond);
  /* Les retours de ligne sont posés à la main (spans .line) :
     aucune largeur max qui forcerait des césures parasites. */
  max-width: none;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: block; }
/* Fin de la phrase d'entrée, en contrepoint Bodoni italique */
.hero__sub {
  font-family: var(--font-accent); font-style: italic;
  font-size: var(--fs-lead); line-height: 1.4;
  color: color-mix(in srgb, var(--c-fond) 88%, transparent);
  max-width: 34ch;
  margin-top: var(--space-md);
  opacity: 0; animation: hero-in var(--dur-reveal) var(--ease-slow) 1.35s forwards;
}

@keyframes hero-in { to { opacity: 1; } }

/* Indice de scroll — au fer à gauche : il amorce le fil vertical
   qui se prolonge dans les marques de chapitre. */
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: clamp(1.25rem, 3vh, 2rem);
  z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.6em;
  color: var(--c-fond);
  font-family: var(--font-accent); font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  opacity: 0; animation: hero-in var(--dur-reveal) var(--ease-slow) 1.6s forwards;
}
.scroll-cue__line {
  width: 1px; height: 46px; background: var(--c-fond);
  transform-origin: top; position: relative; overflow: hidden;
}
.scroll-cue__line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--c-jaune);
  animation: cue 2.4s var(--ease-inout) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ----------------------------------------------------------------------------
   8. BLOCS ÉDITORIAUX
   ---------------------------------------------------------------------------- */

/* ---- Marque de chapitre (système identitaire récurrent) -------------------
   Filet de chapitre pleine largeur : numéro Kudryashev + libellé en capitales,
   puis une fine ligne qui se trace jusqu'au bord (data-reveal="line") et se
   clôt par un petit losange jaune. Registre « divider de beau livre ». */
.chapter-mark {
  display: flex; align-items: center; gap: var(--space-md);
  width: 100%;
}
.chapter-mark__num {
  order: 0; flex: 0 0 auto;
  font-family: var(--font-titre); font-style: normal;
  font-size: var(--fs-h3); color: var(--c-bordeaux); line-height: 1;
}
.chapter-mark__label {
  order: 1; flex: 0 0 auto;
  font-family: var(--font-accent);
  font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--c-texte-doux);
}
.chapter-mark__rule {
  order: 2; flex: 1 1 auto; height: 1px;
  background: var(--tx-12);
  transform-origin: left; position: relative;
}
/* losange jaune en bout de ligne — l'unique accent */
.chapter-mark__rule::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 5px; height: 5px; transform: translateY(-50%) rotate(45deg);
  background: var(--c-jaune);
}

/* ---- Section-chapitre : conteneur des numéraux en filigrane --------------- */
.chapter {
  position: relative; overflow: clip;
  /* Clipping fiable des couches GPU (numéraux en parallax) */
  isolation: isolate;
  clip-path: inset(0);
}
/* Numéral géant en contour hairline, derrière le contenu — la profondeur
   éditoriale de chaque chapitre. */
.chapter-ghost {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  top: clamp(-2rem, -4vw, -1rem); right: calc(-0.04 * var(--fs-ghost));
  font-family: var(--font-titre);
  font-size: var(--fs-ghost); line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--bx-12);
  letter-spacing: -0.02em;
}
.chapter-ghost--left { right: auto; left: calc(-0.04 * var(--fs-ghost)); }
.chapter > .container { position: relative; z-index: var(--z-base); }
@supports not (-webkit-text-stroke: 1px black) {
  .chapter-ghost { color: var(--bx-08); }
}

/* ---- Texture vin (gouttelettes) — sur les aplats bordeaux uniquement,
   en soft-light à faible opacité : un relief de matière, pas un motif. ------ */
.texture-vin::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("../img/texture-vin-1.jpg");
  background-image: image-set(
    url("../img/texture-vin-1.webp") type("image/webp"),
    url("../img/texture-vin-1.jpg") type("image/jpeg")
  );
  background-size: cover; background-position: center;
  opacity: 0.13; mix-blend-mode: soft-light;
}

/* ---- Grain de matière (granite) — texture statique, jamais animée --------- */
.grain { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: 0.05; mix-blend-mode: multiply;
}
.pivot.grain::after { opacity: 0.07; mix-blend-mode: soft-light; }

/* ---- Statement : déclaration de chapitre, composée sur 12 colonnes --------
   Texte en lettrine à gauche, colonne photo verticale décalée à droite
   (elle passe devant le numéral filigrane : profondeur éditoriale). */
.statement { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); row-gap: var(--space-lg); }
.statement .chapter-mark { grid-column: 1 / span 3; margin-top: 0.55em; }
.statement__body { grid-column: 4 / span 5; }
.statement__lead {
  font-family: var(--font-accent);
  font-size: var(--fs-lead); line-height: 1.45; color: var(--c-texte);
  max-width: 38ch;
}
.statement__lead strong { color: var(--c-bordeaux); font-weight: 400; }
.statement__after { margin-top: var(--space-lg); }

@media (max-width: 820px) {
  .statement .chapter-mark { grid-column: 1 / -1; margin-top: 0; }
  .statement__body { grid-column: 1 / -1; }
}

/* ---- Ouverture de chapitre (spread éditorial) ------------------------------
   La phrase-thèse en Kudryashev monumental ; un duo d'images à profondeurs
   différentes glisse dessous ; le texte intégral court en lettrine. -------- */
.opening {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter); row-gap: 0;
}
.opening .chapter-mark { grid-column: 1 / -1; margin-bottom: var(--space-lg); }

/* La phrase-thèse : à l'échelle des grands titres du site (fs-display),
   elle passe devant l'image du château. */
.opening__display {
  grid-column: 1 / -1; grid-row: 2;
  position: relative; z-index: 2;
  font-family: var(--font-titre);
  font-size: var(--fs-display);
  line-height: 1.02; color: var(--c-bordeaux);
  font-weight: 400; margin: 0;
}

/* Corps : la phrase intégrale, en lettrine */
.opening__body {
  grid-column: 4 / span 5; grid-row: 3;
  margin-top: clamp(2rem, 5vw, 4rem);
}

/* Image principale : le château remonte derrière le monument */
.opening__media {
  grid-column: 9 / span 4; grid-row: 3;
  position: relative; z-index: var(--z-base);
  margin-top: calc(-1 * clamp(1.5rem, 4vw, 3.5rem));
}
/* Image détail : plus petite, plus basse, parallax plus rapide */
.opening__detail {
  grid-column: 1 / span 3; grid-row: 3;
  align-self: end;
  margin-top: var(--space-2xl);
}

.opening__frame {
  aspect-ratio: 7 / 10; position: relative;
  overflow: hidden; isolation: isolate; clip-path: inset(0);
}
.opening__detail .opening__frame { aspect-ratio: 4 / 5; }
.opening__frame img {
  position: absolute; inset: -5% 0; width: 100%; height: 110%;
  object-fit: cover;
}
.media-caption {
  margin-top: var(--space-sm);
  font-family: var(--font-accent); font-style: italic;
  font-size: var(--fs-small); line-height: 1.45;
  color: var(--c-texte-doux);
  display: flex; gap: 0.6em;
}
.media-caption::before {
  content: ""; flex: 0 0 18px; height: 1px;
  background: var(--c-jaune); align-self: center;
}

@media (max-width: 820px) {
  .opening .chapter-mark { grid-column: 1 / -1; }
  .opening__body { grid-column: 1 / -1; grid-row: 3; }
  .opening__media { grid-column: 1 / -1; grid-row: 4; margin: var(--space-lg) 0 0; max-width: 420px; }
  .opening__detail { display: none; }
}

/* ---- Chiffres : les données du domaine en objets graphiques --------------- */
.figures { background: var(--granite); padding-block: var(--space-2xl); }
.figures__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg) var(--space-md);
}
.figures__item { padding-left: var(--space-md); border-left: 1px solid var(--bx-12); }
.figures__item:first-child { border-left-color: var(--c-jaune); }
.figures__num {
  display: block;
  font-family: var(--font-titre);
  font-size: var(--fs-figure); line-height: 1;
  color: var(--c-bordeaux);
  white-space: nowrap; /* le chiffre tient toujours sur une seule ligne */
}
.figures__num sub {
  font-family: var(--font-accent); font-style: italic;
  font-size: 0.32em; vertical-align: baseline; color: var(--c-texte-doux);
}
.figures__label {
  display: block; margin-top: var(--space-xs);
  font-family: var(--font-accent);
  font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--c-texte-doux);
  max-width: 18ch;
}
@media (max-width: 820px) {
  .figures__grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Composition stratifiée : image ample + panneau texte en chevauchement.
   Le panneau (fond papier, sans carte ni ombre) recouvre le coin bas de
   l'image : la strate remplace le zig-zag 50/50. ------------------------- */
.layered {
  display: grid; grid-template-columns: repeat(12, 1fr);
  row-gap: 0; column-gap: var(--gutter);
}
.layered .chapter-mark { grid-column: 1 / -1; margin-bottom: var(--space-lg); }
.layered__media {
  grid-column: 1 / span 7; grid-row: 2;
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  /* Verrouillage du clipping : les enfants composités (translate3d du
     parallax) peuvent échapper à overflow:hidden dans Safari/WebKit.
     isolation + clip-path forcent un découpage fiable de la couche GPU. */
  isolation: isolate;
  clip-path: inset(0);
}
.layered__media img {
  /* Débord de 10% pour le parallax — au-delà, le recadrage devient visible
     et les sujets paraissent étirés. */
  position: absolute; inset: -5% 0; width: 100%; height: 110%;
  object-fit: cover;
}
.layered__panel {
  grid-column: 6 / span 7; grid-row: 2;
  align-self: end; z-index: var(--z-base);
  background: var(--c-fond);
  padding: clamp(1.75rem, 4vw, 4rem) 0 0 clamp(1.75rem, 4vw, 4rem);
  margin-bottom: clamp(-1px, -2vw, -1px); /* affleure le bas de l'image */
  max-width: 56ch;
}
.layered__panel h2 { margin-bottom: var(--space-md); max-width: 18ch; }
/* Miroir exact de la composition : image cols 6-12, panneau cols 1-7,
   chevauchement de 2 colonnes (identique à la version non inversée). */
.layered--reverse .layered__media { grid-column: 6 / span 7; }
.layered--reverse .layered__panel {
  grid-column: 1 / span 7;
  /* max-width rétracte le panneau : on l'ancre au bord droit de sa zone
     pour qu'il chevauche réellement l'image (miroir de la version standard) */
  justify-self: end;
  padding: clamp(1.75rem, 4vw, 4rem) clamp(1.75rem, 4vw, 4rem) 0 0;
}
@media (max-width: 820px) {
  .layered__media, .layered--reverse .layered__media { grid-column: 1 / -1; aspect-ratio: 3 / 4; }
  .layered__panel, .layered--reverse .layered__panel {
    grid-column: 1 / -1; grid-row: 3;
    padding: var(--space-lg) 0 0 0; margin: 0; max-width: none;
  }
}

/* Editorial : texte / image en alternance (zig-zag) */
.editorial {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.editorial__media { position: relative; overflow: hidden; }
.editorial__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.editorial__media--wide img { aspect-ratio: 4 / 3; }
.editorial__text { max-width: 52ch; }
.editorial__text .eyebrow { margin-bottom: var(--space-sm); }
.editorial__text h2 { margin-bottom: var(--space-md); }
/* Variante inversée : image à droite */
.editorial--reverse .editorial__media { order: 2; }
@media (max-width: 820px) {
  .editorial { grid-template-columns: 1fr; gap: var(--space-lg); }
  .editorial--reverse .editorial__media { order: 0; }
}

/* Pull-quote : citation isolée Bodoni italique (signature fondateur) */
.pull-quote {
  text-align: center; padding-block: var(--space-3xl);
  margin-inline: auto; padding-inline: var(--gutter);
}
.pull-quote blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-quote);
  line-height: 1.18; color: var(--c-bordeaux);
  max-width: 22ch; margin-inline: auto; text-wrap: balance;
}
.pull-quote cite {
  display: block; margin-top: var(--space-lg);
  font-family: var(--font-body); font-style: normal;
  font-size: var(--fs-small); letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--c-texte-doux);
}
.pull-quote cite::before { content: "— "; }

/* ---- Interlude : image plein cadre 100vh/100vw (respiration Opus One) -----
   L'image traverse l'écran en parallax ; une seule phrase posée en bas. */
.interlude {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  display: grid; align-items: end;
  color: var(--c-fond);
  /* Clipping fiable des couches GPU (parallax) — voir .layered__media */
  isolation: isolate;
  clip-path: inset(0);
}
.interlude__media { position: absolute; inset: -10% 0; z-index: 0; }
.interlude__media img { width: 100%; height: 100%; object-fit: cover; }
.interlude__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top,
              rgba(10,14,20,0.55) 0%, rgba(10,14,20,0.12) 38%, rgba(10,14,20,0) 60%),
    linear-gradient(75deg,
              rgba(10,14,20,0.35) 0%, rgba(10,14,20,0) 48%);
}
.interlude__caption {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container-wide);
  margin-inline: auto; padding-inline: var(--gutter);
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
}
.interlude__caption .eyebrow { color: var(--c-fond); }
.interlude__caption .eyebrow::before { background: var(--c-jaune); }
.interlude__quote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.7rem, 1rem + 2.9vw, 3.4rem);
  line-height: 1.18; color: var(--c-fond);
  max-width: 19ch; text-wrap: balance;
  margin-top: var(--space-md);
}
.interlude__caption .link-arrow { color: var(--c-fond); margin-top: var(--space-lg); }

/* ---- Pivot sombre : le moment-signature au cœur du récit ------------------
   Pleine hauteur, bordeaux profond, citation Bodoni en très grand. */
.pivot {
  background: var(--pivot-bg); color: var(--c-fond);
  min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: var(--space-2xl) var(--gutter);
  position: relative; overflow: hidden;
}
.pivot__inner { max-width: 880px; position: relative; }
.pivot__blason { height: 80px; width: auto; margin-inline: auto; margin-bottom: var(--space-lg); }
.pivot__context {
  font-family: var(--font-accent);
  font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: color-mix(in srgb, var(--c-fond) 62%, transparent);
  margin-bottom: var(--space-xl); max-width: none;
}
.pivot blockquote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.9rem, 1.1rem + 3.6vw, 4rem);
  line-height: 1.16; color: var(--c-fond);
  margin-inline: auto;
  /* Les retours de ligne sont posés à la main (.qline) */
  max-width: none;
}
.pivot blockquote .qline { display: block; }
/* Révélation mot à mot (les spans .w sont créés par animations.js) */
.pivot blockquote.is-split { opacity: 1; transform: none; }
.pivot blockquote .w {
  display: inline-block; opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.7s var(--ease-slow) calc(var(--w) * 90ms),
              transform 0.7s var(--ease-slow) calc(var(--w) * 90ms);
}
.pivot blockquote.is-visible .w { opacity: 1; transform: none; }
.pivot cite {
  display: block; margin-top: var(--space-lg);
  font-style: normal; font-family: var(--font-body);
  font-size: var(--fs-small); letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c-fond) 62%, transparent);
}
.pivot cite::before { content: "— "; }
.pivot__after {
  margin-top: var(--space-xl);
  font-family: var(--font-body); font-size: var(--fs-lead);
  color: color-mix(in srgb, var(--c-fond) 85%, transparent);
  max-width: none;
}
.pivot .link-arrow { color: var(--c-fond); margin-top: var(--space-md); }

/* ---- Index éditorial : l'exploration en lignes numérotées -----------------
   Pleine largeur, très typographique. L'aperçu photo est une fenêtre
   flottante qui suit le curseur (désactivée en pointeur grossier
   et sous prefers-reduced-motion). */
.index__rows { border-top: 1px solid var(--tx-12); }
.index__row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline; column-gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--tx-12);
  transition: opacity var(--dur-base) var(--ease-slow);
}
.index__num {
  font-family: var(--font-accent); font-style: italic;
  font-size: 1.1rem; color: var(--c-texte-doux);
  transition: color var(--dur-fast) var(--ease-slow);
}
.index__title {
  font-family: var(--font-titre);
  font-size: var(--fs-index); line-height: 1.1;
  color: var(--c-texte);
  transition: color var(--dur-base) var(--ease-slow),
              transform var(--dur-base) var(--ease-slow);
}
.index__sub {
  grid-column: 2; margin-top: 0.35em;
  font-family: var(--font-accent); font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--c-texte-doux);
}
.index__arrow {
  font-size: var(--fs-h3); color: var(--c-bordeaux);
  opacity: 0; transform: translateX(-0.5em);
  transition: opacity var(--dur-base) var(--ease-slow),
              transform var(--dur-base) var(--ease-slow);
}
.index__row:hover .index__title,
.index__row:focus-visible .index__title { color: var(--c-bordeaux); transform: translateX(0.18em); }
.index__row:hover .index__num { color: var(--c-bordeaux); }
.index__row:hover .index__arrow,
.index__row:focus-visible .index__arrow { opacity: 1; transform: none; }
.index__row.is-dim { opacity: 0.35; }

/* Fenêtre flottante : suit le curseur avec inertie (lerp JS). */
.index__float {
  position: fixed; left: 0; top: 0; z-index: var(--z-header);
  width: clamp(220px, 23vw, 330px); aspect-ratio: 3 / 4;
  overflow: hidden; pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease-slow);
  will-change: transform;
}
.index__float.is-on { opacity: 1; }
.index__float img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity var(--dur-base) var(--ease-slow);
}
.index__float img.is-active { opacity: 1; }
@media (max-width: 820px), (pointer: coarse) {
  .index__float { display: none; }
}

/* ----------------------------------------------------------------------------
   9. FICHE VIN
   ---------------------------------------------------------------------------- */
.wines-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.wine-card { display: flex; flex-direction: column; }
.wine-card__bottle {
  background: var(--bx-08);
  aspect-ratio: 3 / 5; display: grid; place-items: center;
  overflow: hidden;
}
.wine-card__bottle img { height: 88%; width: auto; object-fit: contain; }
.wine-card__appellation {
  margin-top: var(--space-md);
  font-family: var(--font-accent); font-size: var(--fs-small);
  letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--c-bleu);
}
.wine-card__name { font-family: var(--font-titre); color: var(--c-bordeaux); font-size: var(--fs-h3); margin-top: 0.25em; }
.wine-card__desc { color: var(--c-texte-doux); margin-top: var(--space-sm); font-size: 1rem; }
.wine-card__pairing {
  margin-top: var(--space-sm); padding-top: var(--space-sm);
  border-top: 1px solid var(--tx-12);
  font-style: italic; font-size: 0.95rem; color: var(--c-texte-doux);
}
@media (max-width: 820px) { .wines-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ----------------------------------------------------------------------------
   10. ENCART IMPORTATEUR (réutilisable)
   ---------------------------------------------------------------------------- */
.importer-cta {
  background: var(--c-bordeaux); color: var(--c-fond);
  padding-block: var(--space-2xl);
}
.importer-cta__inner {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl); align-items: center;
}
.importer-cta .eyebrow { color: var(--c-jaune); }
.importer-cta .eyebrow::before { background: var(--c-jaune); }
.importer-cta h2 { color: var(--c-fond); }
.importer-cta p { color: rgba(255,255,255,0.82); }
.importer-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
@media (max-width: 760px) { .importer-cta__inner { grid-template-columns: 1fr; gap: var(--space-lg); } }

/* Variante invitation éditoriale (réutilisable en bas des autres pages) :
   fond granite, composition généreuse — pas un bandeau utilitaire. */
.invite { background: var(--granite-deep); padding-block: var(--space-2xl); }
.invite__inner {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg) var(--gutter); align-items: center;
}
.invite .chapter-mark { grid-column: 1 / -1; }
.invite__text { grid-column: 1 / span 8; }
.invite__text p {
  font-family: var(--font-accent); font-style: italic;
  font-size: var(--fs-statement); line-height: 1.35;
  color: var(--c-bordeaux); max-width: 24ch; margin: 0;
}
.invite__action { grid-column: 10 / span 3; justify-self: end; }
@media (max-width: 820px) {
  .invite__text { grid-column: 1 / -1; }
  .invite__action { grid-column: 1 / -1; justify-self: start; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body); font-size: 1rem; letter-spacing: 0.01em;
  padding: 0.85em 1.6em; border: 1px solid var(--c-bordeaux);
  background: var(--c-bordeaux); color: var(--c-fond); cursor: pointer;
  border-radius: var(--radius-sm);
  transition: transform var(--dur-fast) var(--ease-slow),
              background var(--dur-fast) var(--ease-slow),
              color var(--dur-fast) var(--ease-slow);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--c-bordeaux); }
.btn--ghost:hover { background: var(--c-bordeaux); color: var(--c-fond); }
.btn--on-bordeaux { background: var(--c-fond); color: var(--c-bordeaux); border-color: var(--c-fond); }
.btn--on-bordeaux.btn--ghost { background: transparent; color: var(--c-fond); }
.btn--on-bordeaux.btn--ghost:hover { background: var(--c-fond); color: var(--c-bordeaux); }

/* ----------------------------------------------------------------------------
   11. LIEU-DIT (page Parcellaire)
   ---------------------------------------------------------------------------- */
.lieu-dit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.lieu-dit--reverse .lieu-dit__media { order: 2; }
.lieu-dit__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.lieu-dit__altitude { font-family: var(--font-titre); color: var(--c-jaune); font-size: var(--fs-h2); }
@media (max-width: 820px) { .lieu-dit { grid-template-columns: 1fr; } .lieu-dit--reverse .lieu-dit__media { order: 0; } }

/* ----------------------------------------------------------------------------
   12. PLACEHOLDERS MÉDIA
   ---------------------------------------------------------------------------- */
.media-placeholder { background: var(--bx-08); display: grid; place-items: center; }
.media-placeholder span {
  font-family: var(--font-accent); font-size: var(--fs-small);
  color: var(--c-texte-doux); text-align: center; padding: var(--space-md);
}

/* ----------------------------------------------------------------------------
   13. FORMULAIRE DE CONTACT
   ---------------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-md); max-width: 560px; }
.form__field { display: grid; gap: var(--space-2xs); }
.form__field label {
  font-family: var(--font-accent); font-size: var(--fs-small);
  letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--c-texte-doux);
}
.form__field input,
.form__field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--c-texte);
  background: var(--c-fond); border: 1px solid var(--tx-12);
  padding: 0.8em 0.9em; border-radius: var(--radius-sm); width: 100%;
  transition: border-color var(--dur-fast) var(--ease-slow);
}
.form__field input:focus,
.form__field textarea:focus { border-color: var(--c-bordeaux); outline: none; }
.form__field textarea { resize: vertical; min-height: 150px; }

/* ----------------------------------------------------------------------------
   14. CARTE POINTS DE VENTE
   ---------------------------------------------------------------------------- */
.store-locator { display: grid; grid-template-columns: 360px 1fr; gap: var(--space-lg); }
.store-locator__panel { display: flex; flex-direction: column; gap: var(--space-md); min-height: 0; }
.store-search input { width: 100%; }
.store-list { display: flex; flex-direction: column; gap: var(--space-xs); overflow-y: auto; max-height: 480px; }
.store-item {
  border: 1px solid var(--tx-12); padding: var(--space-sm);
  cursor: pointer; transition: border-color var(--dur-fast) var(--ease-slow);
}
.store-item:hover, .store-item.is-active { border-color: var(--c-bordeaux); }
.store-item h3 { font-size: 1.05rem; color: var(--c-bordeaux); }
.store-item .store-item__meta { font-size: var(--fs-small); color: var(--c-texte-doux); }
.store-map { min-height: 480px; height: 100%; background: var(--bx-08); }
@media (max-width: 820px) { .store-locator { grid-template-columns: 1fr; } .store-map { min-height: 360px; } }

/* ----------------------------------------------------------------------------
   15. FOOTER + MENTION ALCOOL
   ---------------------------------------------------------------------------- */
.site-footer { background: var(--c-texte); color: rgba(255,255,255,0.78); padding-block: var(--space-2xl) var(--space-lg); }
.site-footer a { color: rgba(255,255,255,0.78); transition: color var(--dur-fast) var(--ease-slow); }
.site-footer a:hover { color: var(--c-fond); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-lg); padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.site-footer h4 {
  font-family: var(--font-accent); font-size: var(--fs-small);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--c-fond); margin-bottom: var(--space-sm); font-weight: 400;
}
.site-footer__brand .brand { color: var(--c-fond); margin-bottom: var(--space-md); }
.site-footer__brand .brand__crest { height: 60px; }
.site-footer ul { display: flex; flex-direction: column; gap: 0.45em; font-size: 0.98rem; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md);
  padding-top: var(--space-lg); font-size: var(--fs-small);
}
.alcohol-warning {
  font-style: italic; color: rgba(255,255,255,0.6);
  border-top: 1px solid var(--c-jaune); padding-top: var(--space-xs); margin-top: var(--space-sm);
}

/* Bandeau légal permanent : la mention alcool reste visible sur tout le site.
   Fin, fond papier translucide, ne capte aucun clic. */
.alcohol-banner {
  max-width: none; /* neutralise la mesure de lecture des <p> */
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-menu); /* au-dessus du contenu et du header, sous l'age-gate */
  pointer-events: none;
  text-align: center;
  padding: 0.4em var(--gutter);
  background: var(--fond-90);
  backdrop-filter: saturate(140%) blur(6px);
  border-top: 1px solid var(--tx-08);
  font-family: var(--font-accent); font-style: italic;
  font-size: 0.72rem; letter-spacing: 0.05em;
  color: var(--c-texte-doux);
  transition: opacity var(--dur-base) var(--ease-slow),
              transform var(--dur-base) var(--ease-slow);
}
/* Masqué sur le hero (géré par main.js) ; réapparaît dès le récit entamé */
.alcohol-banner.is-off { opacity: 0; transform: translateY(100%); }
/* Le bandeau ne doit jamais masquer la dernière ligne du footer */
body { padding-bottom: 2rem; }
@media (max-width: 640px) {
  .alcohol-banner { font-size: 0.68rem; }
  body { padding-bottom: 3.8rem; } /* bandeau sur deux lignes */
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------------
   16. PORTAIL D'ÂGE (age-gate)
   ---------------------------------------------------------------------------- */
.age-gate {
  position: fixed; inset: 0; z-index: var(--z-agegate);
  background: var(--c-bordeaux); color: var(--c-fond);
  display: grid; place-items: center; text-align: center;
  padding: var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-slow), visibility var(--dur-base);
}
.age-gate.is-open { opacity: 1; visibility: visible; }
.age-gate__inner { max-width: 540px; position: relative; }
.age-gate__logo { height: 64px; margin-inline: auto; margin-bottom: var(--space-lg); }
.age-gate h1 { color: var(--c-fond); font-size: var(--fs-h2); margin-bottom: var(--space-md); }
.age-gate p { color: rgba(255,255,255,0.85); margin-inline: auto; margin-bottom: var(--space-lg); }
.age-gate__actions { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }
.age-gate__deny {
  margin-top: var(--space-lg); font-size: var(--fs-small);
  color: rgba(255,255,255,0.6); display: none;
}
.age-gate__deny.is-shown { display: block; }
/* Verrou du scroll quand une couche plein écran est ouverte */
body.is-locked { overflow: hidden; }

/* ----------------------------------------------------------------------------
   18. PAGES INTÉRIEURES (sans hero vidéo)
   ---------------------------------------------------------------------------- */

/* En-tête de page : HERO D'ARRIVÉE plein cadre (image + voile + titre blanc).
   Même registre que le hero de l'accueil — on doit sentir qu'on entre sur
   une nouvelle page. Le header passe transparent dessus, solide au scroll. */
.page-hero {
  position: relative;
  min-height: 82vh; min-height: 82svh;
  display: grid; align-items: end;
  overflow: clip; isolation: isolate; clip-path: inset(0);
  color: var(--c-fond);
  background: var(--c-texte);
}
.page-hero__media { position: absolute; inset: -6% 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* bande haute : lisibilité du menu */
    linear-gradient(to bottom, rgba(10,14,20,0.50) 0%, rgba(10,14,20,0.15) 12%, rgba(10,14,20,0) 26%),
    /* assise du titre */
    linear-gradient(to top, rgba(10,14,20,0.64) 0%, rgba(10,14,20,0.12) 46%, rgba(10,14,20,0) 66%),
    /* appui directionnel gauche */
    linear-gradient(76deg, rgba(10,14,20,0.42) 0%, rgba(10,14,20,0.10) 42%, rgba(10,14,20,0) 64%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container-wide); margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: calc(var(--header-h) + var(--space-md));
  padding-bottom: clamp(3rem, 8vh, 6rem);
}
.page-hero__eyebrow { color: var(--c-fond); margin-bottom: var(--space-md); }
.page-hero__eyebrow::before { background: var(--c-jaune); }
.page-hero__title {
  font-family: var(--font-titre);
  font-size: var(--fs-display); line-height: 1.04;
  color: var(--c-fond); max-width: 18ch; text-wrap: balance; margin: 0;
}
.page-hero__lead {
  font-family: var(--font-accent); font-style: italic;
  font-size: var(--fs-lead); line-height: 1.45;
  color: color-mix(in srgb, var(--c-fond) 86%, transparent);
  max-width: 46ch; margin-top: var(--space-md);
}

/* Cover : grande image d'ouverture pleine largeur, parallax léger. */
.cover {
  position: relative; width: 100%; overflow: clip;
  aspect-ratio: 21 / 9; isolation: isolate; clip-path: inset(0);
  background: var(--granite);
}
.cover img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
@media (max-width: 820px) { .cover { aspect-ratio: 4 / 3; } }

/* Section partagée : texte d'un côté, grande image 50vw × 100vh de l'autre.
   Pleine largeur (hors conteneur) ; alterne via .split--reverse. */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split__media {
  position: relative; height: 100vh; height: 100svh;
  overflow: clip; isolation: isolate; clip-path: inset(0);
  background: var(--granite);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--space-2xl) clamp(1.5rem, 4vw, 4.5rem);
}
.split__body > * { max-width: 46ch; }
.split__body .chapter-mark { max-width: none; margin-bottom: var(--space-lg); }
.split__body h2 { margin-bottom: var(--space-md); }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split__media { height: 58vh; order: 0 !important; }
  .split__body { padding: var(--space-xl) var(--gutter); }
}

/* Grand fait chiffré (70 %, 95 %…) : le nombre ET son intitulé forment UNE
   seule déclaration (colonne gauche) ; le texte d'appui à droite.
   Le chiffre et la suite de la phrase ne sont jamais séparés. */
.bigfact {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.bigfact__statement { align-self: center; }
.bigfact__num {
  display: block;
  font-family: var(--font-titre);
  font-size: clamp(4rem, 1.5rem + 11vw, 11rem); line-height: 0.86;
  color: var(--c-bordeaux);
}
.bigfact__num sub {
  font-family: var(--font-accent); font-style: italic;
  font-size: 0.26em; vertical-align: baseline; color: var(--c-texte-doux);
}
.bigfact__head {
  font-family: var(--font-titre); color: var(--c-bordeaux);
  font-size: var(--fs-h2); line-height: var(--lh-snug);
  margin-top: var(--space-2xs); max-width: 16ch;
}
.bigfact__body h2 { margin-bottom: var(--space-sm); }
@media (max-width: 820px) {
  .bigfact { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* Duo : deux colonnes (les deux fondateurs). */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
/* Portrait au-dessus de chaque personne (placeholder en attendant les photos) */
.duo__media {
  aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: var(--space-md);
  background: var(--bx-08); isolation: isolate; clip-path: inset(0);
}
.duo__media img { width: 100%; height: 100%; object-fit: cover; }
.duo__name {
  font-family: var(--font-titre); color: var(--c-bordeaux);
  font-size: var(--fs-h3); margin-bottom: var(--space-2xs);
}
.duo__role {
  font-family: var(--font-accent); font-style: italic;
  font-size: var(--fs-small); color: var(--c-texte-doux);
  margin-bottom: var(--space-sm);
}
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; gap: var(--space-xl); } }

/* Prose éditoriale (sections de texte courant). */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-bottom: var(--space-sm); }
.prose h3 { margin-top: var(--space-lg); }
.prose strong { color: var(--c-bordeaux); font-weight: 400; }
.prose a:not(.link-arrow):not(.btn) {
  color: var(--c-bordeaux); border-bottom: 1px solid var(--bx-12);
}

/* Note discrète (cuvées à venir, mentions futures). */
.note {
  border-left: 2px solid var(--c-jaune);
  padding-left: var(--space-md);
  font-family: var(--font-accent); font-style: italic;
  color: var(--c-texte-doux); max-width: 52ch;
}

/* Emplacement réservé (future carte des lieux-dits). */
.future-slot {
  border: 1px dashed var(--bx-12); background: var(--granite);
  display: grid; place-items: center; text-align: center;
  aspect-ratio: 16 / 7; padding: var(--space-lg);
}
.future-slot span {
  font-family: var(--font-accent); font-style: italic;
  color: var(--c-texte-doux); max-width: 40ch;
}

/* Document légal (mentions, confidentialité). */
.legal { padding-top: calc(var(--header-h) + clamp(2.5rem, 8vh, 5rem)); }
.legal h1 { margin-bottom: var(--space-lg); }
.legal h2 {
  font-family: var(--font-accent); font-size: var(--fs-h3);
  color: var(--c-bordeaux); margin-top: var(--space-xl); margin-bottom: var(--space-xs);
}
.legal p, .legal li { color: var(--c-texte); }
.legal ul { margin: var(--space-xs) 0 0 1.2em; display: flex; flex-direction: column; gap: 0.3em; }
.legal__todo {
  background: var(--bx-08); color: var(--c-bordeaux);
  padding: 0.05em 0.4em; border-radius: var(--radius-sm); font-style: italic;
}

/* ----------------------------------------------------------------------------
   17. PREFERS-REDUCED-MOTION
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-reveal="mask"] > * { transform: none !important; }
  .hero__eyebrow, .hero__sub, .scroll-cue { opacity: 1 !important; animation: none !important; }
  .scroll-cue__line::after { animation: none; }
  .hero__media video, .hero__media img { animation: none; }
  .index__float { display: none; }
  .pivot blockquote .w { opacity: 1 !important; transform: none !important; }
}
