/* ==========================================================================
   DOMAINE STEINLICHT — FEUILLE DE STYLE
   Site de démonstration VD Studio
   --------------------------------------------------------------------------
   1. Polices          6. En-tête et menu        11. Visites
   2. Variables        7. Pied de page           12. Formulaires
   3. Base             8. Accueil                13. Contact et carte
   4. Typographie      9. Page Domaine           14. Pages légales, 404
   5. Composants      10. Carte des vins         15. Effets signature (linteaux, titres, chiffres…)
                                                 16. Animations, accessibilité, impression
   ========================================================================== */

/* 1. POLICES (auto-hébergées, licence SIL OFL) -------------------------- */
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/spectral-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/spectral-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/spectral-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/spectral-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/spectral-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/spectral-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); }

/* 2. VARIABLES ----------------------------------------------------------- */
:root {
  /* Palette : la pierre calcaire du village, la feuille de vigne, la lie de vin */
  --calcaire: #EEEBE3;        /* fond principal, écru minéral */
  --calcaire-clair: #F6F4EF;
  --oolithe: #DED4C0;         /* beige pierre */
  --oolithe-fonce: #CBBDA2;
  --feuille: #22382B;         /* vert vigne profond */
  --feuille-moyen: #3A5443;
  --sous-bois: #16231B;       /* sections sombres */
  --lie: #6B2632;             /* bordeaux discret */
  --paille: #B49A62;          /* champagne mat, uniquement en détail */
  --paille-clair: #D8C796;
  --encre: #1E2A23;
  --encre-douce: #4D5851;
  --trait: rgba(30, 42, 35, .16);
  --trait-clair: rgba(238, 235, 227, .2);
  --fond-marque: var(--calcaire);

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --marge: clamp(20px, 5vw, 72px);
  --largeur: 1320px;
  --entete: 84px;
  --section: clamp(4.5rem, 10vw, 9.5rem);
  --ease: cubic-bezier(.22, .68, .2, 1);
  --ease-doux: cubic-bezier(.4, 0, .2, 1);
}
@media (max-width: 860px) { :root { --entete: 68px; } }

/* 3. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--calcaire);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-ouvert { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--paille-clair); color: var(--encre); }
[hidden] { display: none !important; }

.conteneur { width: min(var(--largeur), 100% - 2 * var(--marge)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--oolithe { background: var(--oolithe); }
.section--clair { background: var(--calcaire-clair); }
.section--sombre { background: var(--sous-bois); color: var(--calcaire); }
.section--feuille { background: var(--feuille); color: var(--calcaire); }
.section--serree { padding-block: clamp(3.5rem, 7vw, 6rem); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--feuille); color: var(--calcaire); padding: .8rem 1.2rem; text-decoration: none; border-radius: 2px;
  transition: top .2s;
}
.lien-evitement:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--paille); outline-offset: 3px; }
.section--sombre :focus-visible, .section--feuille :focus-visible, .pied :focus-visible, .hero :focus-visible { outline-color: var(--paille-clair); }

/* 4. TYPOGRAPHIE --------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.6vw, 5.75rem); line-height: 1; }
h2 { font-size: clamp(2.2rem, 4.7vw, 4.1rem); line-height: 1.04; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.2; font-weight: 400; }
p { margin: 0 0 1.1em; max-width: 64ch; text-wrap: pretty; }
.chapo { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2.15vw, 1.75rem); line-height: 1.45; max-width: 34em; }
.texte-doux { color: var(--encre-douce); }
.section--sombre .texte-doux, .section--feuille .texte-doux { color: rgba(238, 235, 227, .78); }
.petit { font-size: .875rem; line-height: 1.55; }
.mention-fictive {
  display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: .15em .55em; border: 1px solid currentColor; border-radius: 2px; vertical-align: .15em; opacity: .75; margin-left: .35em; white-space: nowrap;
}
.titre-section { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.titre-section + .chapo { margin-top: -.4rem; }
.legende {
  font-family: var(--serif); font-style: italic; font-size: .875rem; line-height: 1.45; color: var(--encre-douce);
  margin-top: .75rem; max-width: 46ch;
}
.section--sombre .legende, .section--feuille .legende { color: rgba(238, 235, 227, .68); }

/* 5. COMPOSANTS ---------------------------------------------------------- */
/* Boutons : au survol, le vin monte dans le verre (vague qui remplit le bouton) */
.bouton {
  --b-fond: var(--feuille); --b-texte: var(--calcaire); --b-bord: var(--b-fond);
  --b-vin: var(--lie); --b-texte-survol: var(--calcaire);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .9rem 1.55rem;
  background: var(--b-fond); color: var(--b-texte);
  border: 1px solid var(--b-bord); border-radius: 2px;
  font-family: var(--sans); font-size: .98rem; font-weight: 550; letter-spacing: .005em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: color .45s var(--ease-doux) .05s, background-color .45s var(--ease-doux), border-color .45s var(--ease-doux), transform .2s;
}
/* La vague : un grand carré arrondi qui monte en tournant lentement */
.bouton::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: max(250%, 300px); aspect-ratio: 1; margin-left: calc(max(250%, 300px) / -2);
  border-radius: 43%; background: var(--b-vin);
  transition: top .75s var(--ease);
  animation: vague 6s linear infinite paused;
}
/* Reflet de lumière (utilisé par le bouton d'en-tête quand il apparaît) */
.bouton::after {
  content: ""; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 220, .32), transparent);
  transform: skewX(-18deg) translateX(0); opacity: 0;
}
.bouton:hover, .bouton:focus-visible { color: var(--b-texte-survol); border-color: var(--b-vin); }
.bouton:hover::before, .bouton:focus-visible::before { top: -55%; animation-play-state: running; }
.bouton:active { transform: translateY(1px); }
.bouton--clair { --b-fond: var(--calcaire); --b-texte: var(--feuille); }
.bouton--contour { --b-fond: transparent; --b-texte: currentColor; --b-bord: currentColor; }
.bouton--petit { min-height: 42px; padding: .6rem 1.1rem; font-size: .92rem; }
.bouton[disabled] { opacity: .55; cursor: not-allowed; }
.bouton[disabled]::before { display: none; }
.bouton[disabled]:hover { color: var(--b-texte); border-color: var(--b-bord); }
.bouton svg { width: 18px; height: 18px; flex: none; }
/* Flèche qui sort à droite et revient par la gauche */
.bouton__fleche { display: inline-flex; overflow: hidden; margin-right: -.2rem; }
.bouton__fleche svg { width: 18px; height: 18px; }
.bouton:hover .bouton__fleche svg, .bouton:focus-visible .bouton__fleche svg { animation: fleche .65s var(--ease) both; }
@keyframes fleche { 0% { transform: none; } 45% { transform: translateX(120%); } 46% { transform: translateX(-120%); } 100% { transform: none; } }
@keyframes vague { to { transform: rotate(360deg); } }
@keyframes lueur { 0% { transform: skewX(-18deg) translateX(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: skewX(-18deg) translateX(420%); opacity: 0; } }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin-top: 2rem; }

/* Lien souligné qui se trace au survol */
.lien {
  display: inline; color: inherit; text-decoration: none; font-weight: 550;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--paille), var(--paille));
  background-size: 100% 1px, 0 1px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--ease);
}
.lien:hover { background-size: 0 1px, 100% 1px; }
.texte a:not(.bouton) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--paille); }
.texte a:not(.bouton):hover { text-decoration-color: currentColor; }

/* Photographies : cadre avec aperçu flou (aperçus-photos.css) */
.figure { margin: 0; }
.photo { position: relative; overflow: hidden; margin: 0; background-color: var(--oolithe); background-size: cover; background-position: center; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease-doux); }
.photo img.is-missing { opacity: 0; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--vertical { aspect-ratio: 2 / 3; }
.photo--paysage { aspect-ratio: 3 / 2; }
.photo--large { aspect-ratio: 16 / 9; }
.photo__credit {
  position: absolute; right: 12px; bottom: 10px; z-index: 2;
  font-family: var(--serif); font-style: italic; font-size: .75rem; color: rgba(255, 255, 255, .86);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5); max-width: 70%; text-align: right; line-height: 1.3;
}

/* Liste de définition « fiche » (filet entre chaque ligne) */
.fiche-domaine { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); margin: 2.5rem 0 0; }
.fiche-domaine div { border-top: 1px solid var(--trait); padding: 1rem 0 1.1rem; }
.fiche-domaine dt { font-size: .85rem; color: var(--encre-douce); margin-bottom: .2rem; }
.fiche-domaine dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.section--feuille .fiche-domaine div, .section--sombre .fiche-domaine div { border-color: var(--trait-clair); }
@media (max-width: 560px) { .fiche-domaine { grid-template-columns: 1fr; } .fiche-domaine dd { font-size: 1.25rem; } }

/* Marque (logo) */
.marque { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: inherit; }
.marque .linteau { width: 68px; height: auto; flex: none; }
.marque__texte { display: flex; flex-direction: column; line-height: 1; }
.marque__domaine { font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin-bottom: .32rem; }
.marque__nom { font-family: var(--serif); font-size: 1.62rem; font-weight: 400; letter-spacing: .005em; }

/* 6. EN-TÊTE ET MENU ----------------------------------------------------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--entete);
  color: var(--encre); background: rgba(238, 235, 227, .94);
  border-bottom: 1px solid var(--trait);
  transition: background-color .45s var(--ease-doux), color .45s var(--ease-doux), height .35s var(--ease-doux), transform .45s var(--ease), border-color .45s;
}
@supports (backdrop-filter: blur(1px)) { .entete { background: rgba(238, 235, 227, .82); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); } }
.a-un-hero .entete:not(.is-solide) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; color: var(--calcaire); --fond-marque: transparent; }
.a-un-hero .entete:not(.is-solide)::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 14, 10, .5), rgba(8, 14, 10, 0));
}
.entete.is-cache { transform: translateY(-100%); }
.entete__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav__liste { display: flex; gap: clamp(1.1rem, 2.2vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav__lien {
  position: relative; text-decoration: none; font-size: .96rem; font-weight: 500; padding: .5rem 0;
}
.nav__lien::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__lien:hover::after, .nav__lien[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.entete .bouton--petit { --b-fond: var(--feuille); --b-texte: var(--calcaire); }
.a-un-hero .entete:not(.is-solide) .bouton--petit { --b-fond: var(--calcaire); --b-texte: var(--feuille); }
.entete.is-reflet .entete__cta::after { animation: lueur 1.5s var(--ease) .3s both; }

.menu-bouton {
  display: none; align-items: center; gap: .7rem; min-height: 44px; padding: .4rem .2rem .4rem .6rem;
  background: none; border: 0; cursor: pointer; font-weight: 550; font-size: .95rem;
}
.menu-bouton__icone { position: relative; width: 26px; height: 12px; }
.menu-bouton__icone span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-bouton__icone span:first-child { top: 0; }
.menu-bouton__icone span:last-child { top: 10px; }
.menu-bouton[aria-expanded="true"] .menu-bouton__icone span:first-child { top: 5px; transform: rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-bouton__icone span:last-child { top: 5px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 90; background: var(--sous-bois); color: var(--calcaire);
  padding: calc(var(--entete) + 2rem) var(--marge) 2rem; display: flex; flex-direction: column; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .65s var(--ease), visibility 0s linear .65s;
}
.menu-mobile.is-ouvert { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .65s var(--ease), visibility 0s; }
.menu-mobile__liste { list-style: none; margin: 0; padding: 0; }
.menu-mobile__liste li { border-bottom: 1px solid var(--trait-clair); overflow: hidden; }
.menu-mobile__liste a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; text-decoration: none;
  font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.1;
  transform: translateY(100%); transition: transform .7s var(--ease);
}
.menu-mobile__liste a small { font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--paille-clair); }
.menu-mobile.is-ouvert .menu-mobile__liste a { transform: none; }
.menu-mobile.is-ouvert .menu-mobile__liste li:nth-child(2) a { transition-delay: .05s; }
.menu-mobile.is-ouvert .menu-mobile__liste li:nth-child(3) a { transition-delay: .1s; }
.menu-mobile.is-ouvert .menu-mobile__liste li:nth-child(4) a { transition-delay: .15s; }
.menu-mobile.is-ouvert .menu-mobile__liste li:nth-child(5) a { transition-delay: .2s; }
.menu-mobile__bas { margin-top: auto; padding-top: 2.5rem; display: grid; gap: 1.2rem; }
.menu-mobile__bas p { margin: 0; color: rgba(238, 235, 227, .75); font-size: .95rem; }
body.menu-ouvert .entete { color: var(--calcaire) !important; background: transparent !important; border-color: transparent !important; backdrop-filter: none !important; --fond-marque: var(--sous-bois); transform: none !important; }
body.menu-ouvert .entete::before { display: none; }
body.menu-ouvert .entete .bouton--petit { visibility: hidden; }

@media (max-width: 1080px) {
  .nav__liste, .nav .bouton--petit { display: none; }
  .menu-bouton { display: inline-flex; }
}
@media (max-width: 420px) {
  .marque .linteau { width: 50px; }
  .marque__nom { font-size: 1.38rem; }
  .menu-bouton__texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Barre d'actions mobile */
.barre-mobile {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 80;
  display: none; gap: 8px; padding: 8px; border-radius: 4px;
  background: rgba(22, 35, 27, .94); box-shadow: 0 10px 30px rgba(10, 16, 12, .28);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
@supports (backdrop-filter: blur(1px)) { .barre-mobile { background: rgba(22, 35, 27, .84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.barre-mobile.is-visible { transform: none; }
.barre-mobile .bouton { flex: 1; min-height: 46px; padding: .6rem .8rem; font-size: .93rem; }
.barre-mobile .bouton--contour { --b-texte: var(--calcaire); --b-bord: rgba(238, 235, 227, .45); }
@media (max-width: 860px) { .barre-mobile { display: flex; } }

/* Retour en haut : l'anneau indique la progression de la lecture */
.haut-page {
  position: fixed; right: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 2.4vw, 32px); z-index: 79;
  width: 54px; height: 54px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--feuille); color: var(--calcaire);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(16, 26, 20, .22);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.92);
  transition: opacity .4s var(--ease-doux), transform .45s var(--ease), visibility 0s linear .45s, bottom .45s var(--ease), background-color .3s;
}
.haut-page.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease-doux), transform .45s var(--ease), visibility 0s, bottom .45s var(--ease), background-color .3s; }
.haut-page:hover { background: var(--feuille-moyen); }
.haut-page:hover .haut-page__fleche { transform: translateY(-3px); }
.haut-page svg { grid-area: 1 / 1; }
.haut-page__anneau { width: 54px; height: 54px; transform: rotate(-90deg); }
.haut-page__anneau circle { fill: none; stroke-width: 1.5; }
.haut-page__piste { stroke: rgba(238, 235, 227, .18); }
.haut-page__progression { stroke: var(--paille-clair); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }
.haut-page__fleche { width: 18px; height: 18px; transition: transform .35s var(--ease); }
@media (max-width: 860px) { body.avec-barre .haut-page { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 76px); width: 48px; height: 48px; } body.avec-barre .haut-page__anneau { width: 48px; height: 48px; } }

/* 7. PIED DE PAGE -------------------------------------------------------- */
.pied { background: var(--sous-bois); color: var(--calcaire); padding: clamp(4rem, 8vw, 7rem) 0 2rem; --fond-marque: var(--sous-bois); }
.pied__haut { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem clamp(2rem, 4vw, 4rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--trait-clair); }
.pied .marque .linteau { width: 78px; }
.pied .marque__nom { font-size: 2rem; }
.pied__signature { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.25rem; margin: 1.4rem 0 1rem; color: var(--paille-clair); }
.pied h2 { font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 1rem; color: var(--paille-clair); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pied a { text-decoration: none; color: rgba(238, 235, 227, .86); transition: color .25s; }
.pied a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--paille); }
.pied p, .pied dd, .pied dt { color: rgba(238, 235, 227, .8); font-size: .95rem; }
.pied .horaires { margin: 0; }
.horaires { margin: 0; }
.horaires__ligne { display: grid; gap: .1rem; margin-bottom: .7rem; }
.horaires__ligne dd { margin: 0; color: var(--encre-douce); }
.pied .horaires__ligne dd { color: rgba(238, 235, 227, .8); }
.horaires__ligne dt { font-weight: 600; color: var(--encre); }
.pied .horaires__ligne dt { color: var(--calcaire); }
.horaires__ligne dd { margin: 0; }
.pied__reseaux { margin-top: 1.9rem; }
.pied__reseaux h2 { margin-bottom: .85rem; }
.pied .reseaux { display: flex; flex-wrap: wrap; gap: .7rem; }
.pied .reseau {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(238, 235, 227, .32); background: none; color: var(--calcaire);
  transition: color .4s var(--ease-doux), border-color .4s var(--ease-doux), transform .5s var(--ease);
}
.pied .reseau::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--paille-clair); transform: translateY(101%); transition: transform .55s var(--ease); }
.pied .reseau svg { width: 20px; height: 20px; transition: transform .55s var(--ease); }
.pied .reseau:hover, .pied .reseau:focus-visible { color: var(--sous-bois); border-color: var(--paille-clair); text-decoration: none; transform: translateY(-3px); }
.pied .reseau:hover::before, .pied .reseau:focus-visible::before { transform: none; }
.pied .reseau:hover svg, .pied .reseau:focus-visible svg { transform: rotate(-10deg) scale(1.08); }
.pied .reseaux__note { min-height: 1.5em; margin: .75rem 0 0; font-size: .86rem; line-height: 1.45; color: var(--paille-clair); opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease-doux), transform .4s var(--ease); }
.pied .reseaux__note.is-visible { opacity: 1; transform: none; }

/* Le nom du domaine, gravé en grand : la lumière le parcourt (ou suit la souris) */
.pied { overflow: hidden; padding-bottom: 0; }
.pied .pied__geant {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 -.13em; padding: 0; max-width: none; text-align: center; white-space: nowrap;
  font-family: var(--serif); font-weight: 300; font-size: clamp(4.4rem, 20.5vw, 21rem); line-height: .8; letter-spacing: -.045em;
  color: rgba(238, 235, 227, .07); user-select: none; -webkit-user-select: none; pointer-events: none;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pied .pied__geant {
    color: transparent; -webkit-background-clip: text; background-clip: text;
    background-image:
      radial-gradient(circle at var(--mx) var(--my), rgba(236, 219, 168, .8), rgba(216, 199, 150, .22) 16%, rgba(216, 199, 150, 0) 32%),
      linear-gradient(rgba(238, 235, 227, .075), rgba(238, 235, 227, .075));
  }
}
@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 30%; }
.js .pied__geant.is-visible { animation: soleil-pied 16s ease-in-out infinite alternate; }
.js .pied__geant.suit-pointeur { animation: none; transition: --mx .6s var(--ease), --my .6s var(--ease); }
@keyframes soleil-pied { 0% { --mx: 6%; --my: 80%; } 50% { --mx: 50%; --my: 10%; } 100% { --mx: 94%; --my: 80%; } }

.pied__sante {
  margin: 2.2rem 0 0; padding: 1.1rem 1.3rem; border: 1px solid var(--trait-clair); border-radius: 2px;
  font-size: 1rem; font-weight: 600; color: var(--calcaire); max-width: none; text-align: center;
}
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.6rem; font-size: .86rem; color: rgba(238, 235, 227, .66); }
.pied__bas p { margin: 0; max-width: 70ch; font-size: .86rem; color: rgba(238, 235, 227, .66); }
.pied__bas a { color: var(--calcaire); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--paille); }
@media (max-width: 980px) { .pied__haut { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 560px) { .pied__haut { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .pied { padding-bottom: 7rem; } }

/* 8. ACCUEIL ------------------------------------------------------------- */
/* A. Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; max-height: 1180px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--sous-bois); }
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo .photo { position: absolute; inset: 0; }
.hero__photo img { transform-origin: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 0% 100%, rgba(8, 15, 11, .78) 0%, rgba(8, 15, 11, .35) 45%, rgba(8, 15, 11, 0) 70%),
    linear-gradient(180deg, rgba(8, 15, 11, .35) 0%, rgba(8, 15, 11, 0) 25%, rgba(8, 15, 11, .1) 55%, rgba(8, 15, 11, .62) 100%);
}
.hero__contenu { position: relative; z-index: 2; width: min(var(--largeur), 100% - 2 * var(--marge)); margin-inline: auto; padding-bottom: clamp(3.2rem, 8vh, 6rem); padding-top: calc(var(--entete) + 3rem); }
.hero__lieu { font-size: clamp(.92rem, 1.2vw, 1.02rem); font-weight: 500; margin: 0 0 clamp(1rem, 2vh, 1.6rem); color: rgba(255, 255, 255, .9); display: flex; align-items: center; gap: .8rem; }
.hero__lieu::before { content: ""; width: 34px; height: 1px; background: var(--paille-clair); flex: none; }
.hero h1 { font-size: inherit; line-height: inherit; letter-spacing: 0; }
.hero__domaine { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1; margin-bottom: .2rem; padding-left: .2em; }
.hero__nom { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(4.1rem, 14.2vw, 13rem); line-height: .86; letter-spacing: -.035em; margin-left: -.04em; }
.hero__signature { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.35rem, 2.4vw, 2.1rem); margin: clamp(1rem, 2.4vh, 1.6rem) 0 0; color: rgba(255, 255, 255, .92); max-width: none; }
.hero .actions { margin-top: clamp(1.6rem, 3.5vh, 2.4rem); }
.hero .bouton--contour { --b-texte: #fff; --b-bord: rgba(255, 255, 255, .6); }
.hero__pied { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.hero__pied .conteneur { display: flex; justify-content: flex-end; gap: 2rem; padding-bottom: 1rem; }
.hero__note { font-family: var(--serif); font-style: italic; font-size: .78rem; color: rgba(255, 255, 255, .74); margin: 0; text-align: right; max-width: 40ch; line-height: 1.35; }
.hero__photo { transform: translate3d(0, calc(var(--sortie, 0) * 24%), 0); }
.hero__contenu { transform: translate3d(0, calc(var(--sortie, 0) * -12vh), 0); opacity: calc(1 - var(--sortie, 0) * 1.35); }
/* Lumière dorée de fin de journée, qui dérive lentement sur la photo */
.hero__lumiere {
  position: absolute; inset: -25% -15%; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(36% 32% at 72% 26%, rgba(255, 204, 128, .30), rgba(255, 204, 128, .10) 48%, rgba(255, 204, 128, 0) 72%);
}
.js .hero__lumiere { animation: lumiere-entree 3.2s var(--ease-doux) .1s both, lumiere-derive 18s ease-in-out 3.3s infinite alternate; }
@keyframes lumiere-entree { from { opacity: 0; transform: translate3d(-10%, 8%, 0); } to { opacity: 1; transform: none; } }
@keyframes lumiere-derive { to { transform: translate3d(6%, -4%, 0) scale(1.08); } }
/* Le nom monte derrière un masque, puis un rayon de soleil le traverse */
.hero__nom { overflow: hidden; padding: .12em .08em .1em; margin: -.12em 0 -.1em -.12em; }
.hero__nom-texte { display: inline-block; }
.js .hero__nom-texte { animation: nom-entree 1.5s var(--ease) .3s both; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .js .hero__nom-texte {
    color: transparent; -webkit-background-clip: text; background-clip: text;
    background-image: linear-gradient(105deg, #fff 0%, #fff 41%, #F3D99A 46.5%, #FFF7E2 50%, #F3D99A 53.5%, #fff 59%, #fff 100%);
    background-size: 320% 100%; background-position: 100% 0;
    animation: nom-entree 1.5s var(--ease) .3s both, nom-lumiere 3s var(--ease-doux) 1.35s both;
  }
}
@keyframes nom-entree { from { transform: translateY(108%); } to { transform: none; } }
@keyframes nom-lumiere { from { background-position: 100% 0; } to { background-position: 0 0; } }
/* Invitation à défiler (grands écrans) */
.hero__defiler {
  position: absolute; z-index: 2; right: max(var(--marge), (100vw - var(--largeur)) / 2); bottom: clamp(6rem, 17vh, 10rem);
  display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: .4rem;
  color: rgba(255, 255, 255, .86); text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.hero__defiler-texte { writing-mode: vertical-rl; }
.hero__defiler-trait { position: relative; width: 1px; height: 72px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.hero__defiler-trait::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--paille-clair); animation: defiler 2.4s var(--ease-doux) infinite; }
.hero__defiler:hover { color: #fff; }
@keyframes defiler { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (max-width: 860px) { .hero__defiler { display: none; } }
@media (max-width: 860px) {
  .hero { min-height: 92svh; }
  .hero__contenu { padding-bottom: 4.6rem; }
  .hero .actions .bouton { flex: 1 1 auto; }
  .hero__pied .conteneur { justify-content: flex-start; }
  .hero__note { text-align: left; }
}

/* B. Introduction */
.intro__grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(1rem, 2.4vw, 2rem); align-items: center; }
.intro__texte { grid-column: 1 / span 6; }
.intro__texte .chapo { font-size: clamp(1.55rem, 2.9vw, 2.45rem); line-height: 1.3; letter-spacing: -.008em; max-width: 22em; margin-bottom: 1.8rem; }
.intro__texte p:not(.chapo) { max-width: 54ch; }
.intro__photo { grid-column: 8 / -1; padding-top: 1.5rem; }
@media (max-width: 860px) {
  .intro__texte, .intro__photo { grid-column: 1 / -1; }
  .intro__photo { margin-top: 3.5rem; padding-top: 0; width: min(86%, 420px); margin-left: auto; }
}

/* Chiffres clés : ils défilent jusqu'à leur valeur à l'apparition */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem clamp(1.5rem, 3vw, 3rem); margin: clamp(4rem, 8vw, 7rem) 0 0; }
.chiffres__item { position: relative; border-top: 1px solid var(--trait); padding-top: clamp(1.4rem, 2.5vw, 2rem); }
.chiffres__item::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--paille); transform-origin: left; }
.chiffres dd { margin: 0; }
.chiffres__valeur { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .55rem; font-family: var(--serif); }
.chiffres__n { display: inline-block; font-weight: 300; font-size: clamp(3.3rem, 6.4vw, 5.8rem); line-height: .95; letter-spacing: -.035em; color: var(--feuille); font-variant-numeric: lining-nums tabular-nums; }
.chiffres__u { font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: var(--encre-douce); }
.chiffres__l { display: block; margin-top: .8rem; font-size: .95rem; line-height: 1.5; color: var(--encre-douce); max-width: 24ch; }
@media (max-width: 860px) { .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* C. La vigneronne */
.vigneronne__grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem clamp(1rem, 2.4vw, 2rem); align-items: center; }
.vigneronne__photo { grid-column: 1 / span 5; }
.vigneronne__texte { grid-column: 7 / -1; }
.vigneronne__role { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--paille-clair); margin: .6rem 0 1.8rem; }
.citation { margin: 2.2rem 0 0; padding: 0; border: 0; }
.citation p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.4; max-width: 28em; position: relative; }
.citation p::before { content: "«\00A0"; }
.citation p::after { content: "\00A0»"; }
.citation footer { font-size: .9rem; color: rgba(238, 235, 227, .7); }
@media (max-width: 860px) {
  .vigneronne__photo { grid-column: 1 / span 10; max-width: 440px; }
  .vigneronne__texte { grid-column: 1 / -1; }
}

/* D. Terroir */
.bandeau { position: relative; height: clamp(320px, 62vh, 720px); overflow: hidden; background: var(--sous-bois); }
.bandeau .photo { position: absolute; inset: -12% 0; height: 124%; }
.bandeau .photo img { will-change: transform; }
.terroir__entete { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 2.4vw, 2rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.terroir__entete h2 { grid-column: 1 / span 6; }
.terroir__entete p { grid-column: 7 / -1; margin: 0; }
@media (max-width: 860px) { .terroir__entete h2, .terroir__entete p { grid-column: 1 / -1; } }

.coupe { margin: 0; padding: clamp(1rem, 2.5vw, 2rem) 0 0; border-top: 1px solid var(--trait); }
.coupe svg { width: 100%; height: auto; overflow: visible; }
.coupe figcaption { margin-top: .8rem; }
.coupe__relief { fill: url(#coupe-sol); }
.coupe__ligne { fill: none; stroke: var(--encre); stroke-width: 1.4; }
.coupe__rang { stroke: var(--feuille); stroke-width: 2.2; stroke-linecap: round; }
.coupe__maison { fill: var(--calcaire-clair); stroke: var(--encre); stroke-width: 1.1; }
.coupe__toit { fill: var(--lie); opacity: .85; }
.coupe__repere { stroke: var(--encre-douce); stroke-width: .8; stroke-dasharray: 2 3; }
.coupe__texte { font-family: var(--sans); font-size: 13px; fill: var(--encre); }
.coupe__texte--titre { font-weight: 650; }
.coupe__texte--doux { fill: var(--encre-douce); }
.coupe__point { fill: var(--paille); }
.coupe__soleil { fill: none; stroke: var(--paille); stroke-width: 1.5; }
.coupe__pluie { stroke: var(--encre-douce); stroke-width: 1; stroke-linecap: round; opacity: .55; }
.coupe__defile { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.coupe__astuce { display: none; }
@media (max-width: 700px) { .coupe__defile svg { width: 760px; max-width: none; } .coupe__astuce { display: inline; } }

.terroir__faits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 6vw, 5rem); }
.terroir__faits h3 { margin-bottom: .8rem; }
.terroir__faits p { font-size: 1rem; color: var(--encre-douce); }
@media (max-width: 860px) { .terroir__faits { grid-template-columns: 1fr; } }

/* E. Cuvées (étagère de bouteilles) */
.cuvees-accueil__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem clamp(2rem, 5vw, 5rem); align-items: end; }
.cuvees-accueil__texte p { color: var(--encre-douce); }
.etagere { list-style: none; margin: 0; padding: 0 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 2rem); position: relative; }
.etagere::after { content: ""; position: absolute; left: -2%; right: -2%; top: calc(var(--h-bouteille, 360px) + 2px); height: 1px; background: var(--encre); opacity: .35; }
.etagere__lien { display: flex; flex-direction: column; align-items: center; text-decoration: none; text-align: center; padding-bottom: .5rem; }
.etagere__bouteille { height: var(--h-bouteille, 360px); display: flex; align-items: flex-end; justify-content: center; width: 100%; }
.etagere__bouteille svg { height: 100%; width: auto; filter: drop-shadow(0 18px 18px rgba(20, 30, 22, .18)); transition: transform .6s var(--ease), filter .6s var(--ease); }
.etagere__lien:hover svg, .etagere__lien:focus-visible svg { transform: translateY(-10px); filter: drop-shadow(0 28px 22px rgba(20, 30, 22, .22)); }
.etagere__nom { font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin-top: 1.4rem; line-height: 1.2; }
.etagere__detail { font-size: .85rem; color: var(--encre-douce); margin-top: .25rem; }
.etagere__lien:focus-visible { outline-offset: 6px; }
.js .etagere[data-revele] { opacity: 1; transform: none; }
.js .etagere[data-revele] .etagere__item { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease-doux), transform 1.15s var(--ease); transition-delay: calc(.1s + var(--i, 0) * 130ms); }
.js .etagere.is-revele .etagere__item { opacity: 1; transform: none; }
.js .etagere[data-revele]::after { transform: scaleX(0); transform-origin: left; transition: transform 1.5s var(--ease); }
.js .etagere.is-revele::after { transform: none; }
.js .etagere.is-revele [data-eclat="entree"] { animation: eclat 1.4s var(--ease-doux) calc(1s + var(--i, 0) * 160ms) both; }
@media (max-width: 1080px) { .cuvees-accueil__grille { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .etagere { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.6rem; --h-bouteille: 280px; }
  .etagere::after { display: none; }
  .etagere__bouteille { border-bottom: 1px solid rgba(30, 42, 35, .35); }
}

/* F. Expériences (liste + visuel qui suit la lecture) */
.experiences__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem clamp(2rem, 5vw, 5rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4rem); }
.experiences__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.experience-ligne { border-bottom: 1px solid var(--trait); }
.experience-ligne__lien { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 2rem; padding: 1.6rem 0 1.7rem; text-decoration: none; position: relative; }
.experience-ligne__titre { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; transition: transform .5s var(--ease), color .3s; }
.experience-ligne__meta { font-size: .9rem; color: var(--encre-douce); align-self: center; text-align: right; white-space: nowrap; }
.experience-ligne__resume { grid-column: 1 / -1; margin: 0; color: var(--encre-douce); font-size: 1rem; max-width: 52ch; }
.experience-ligne__photo { display: none; }
.experience-ligne__lien::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--lie); transition: width .6s var(--ease); }
.experience-ligne__lien:hover::before, .experience-ligne.is-active .experience-ligne__lien::before { width: 100%; }
.experience-ligne__lien:hover .experience-ligne__titre, .experience-ligne.is-active .experience-ligne__titre { transform: translateX(10px); color: var(--lie); }
.experiences__visuel { position: sticky; top: calc(var(--entete) + 2rem); }
.experiences__cadre { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--oolithe); }
.experiences__cadre .photo { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease-doux); }
.experiences__cadre .photo.is-active { opacity: 1; }
.experiences__cadre .photo img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.experiences__cadre .photo.is-active img { transform: none; }
@media (max-width: 860px) {
  .experiences__grille { grid-template-columns: 1fr; }
  .experiences__visuel { display: none; }
  .experience-ligne__photo { display: block; grid-column: 1 / -1; margin-bottom: .8rem; aspect-ratio: 16 / 10; max-height: 340px; width: 100%; }
  .experience-ligne__meta { text-align: left; grid-column: 1 / -1; white-space: normal; }
  .experience-ligne__lien { grid-template-columns: 1fr; }
}

/* G. Localisation */
.venir__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2rem, 5vw, 5rem); align-items: center; }
.acces { list-style: none; margin: 1.8rem 0 0; padding: 0; border-top: 1px solid var(--trait); }
.acces li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--trait); font-size: .98rem; }
.acces strong { font-weight: 600; }
.plan { margin: 0; background: var(--calcaire-clair); border: 1px solid var(--trait); padding: clamp(.8rem, 2vw, 1.5rem); }
.plan svg { width: 100%; height: auto; }
.plan figcaption { margin-top: .6rem; }
.plan__route { fill: none; stroke: var(--lie); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 7; }
.plan__vosges { fill: var(--oolithe); }
.plan__courbe { fill: none; stroke: var(--oolithe-fonce); stroke-width: 1; }
.plan__ville { fill: var(--calcaire-clair); stroke: var(--encre); stroke-width: 1.4; }
.plan__nom { font-family: var(--sans); font-size: 14px; fill: var(--encre); font-weight: 500; }
.plan__nom--grand { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.plan__nom--doux { fill: var(--encre-douce); font-size: 12.5px; font-weight: 400; }
.plan__repere { fill: var(--feuille); }
.plan__halo { fill: var(--paille); opacity: .3; }
@media (max-width: 860px) { .venir__grille { grid-template-columns: 1fr; } .acces li { grid-template-columns: 6rem minmax(0, 1fr); } }

/* H. Invitation finale */
.invitation { position: relative; min-height: clamp(520px, 86vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--sous-bois); }
.invitation .photo { position: absolute; inset: -10% 0; height: 120%; }
.invitation::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 15, 11, .78) 0%, rgba(8, 15, 11, .5) 45%, rgba(8, 15, 11, .15) 100%); }
.invitation .conteneur { position: relative; z-index: 2; padding-block: var(--section); }
.invitation h2 { max-width: 12em; }
.invitation p { color: rgba(255, 255, 255, .88); margin-top: 1.4rem; }
.invitation .bouton--contour { --b-texte: #fff; --b-bord: rgba(255, 255, 255, .6); }
.invitation .photo__credit { right: var(--marge); }

/* En-têtes de pages intérieures */
.entete-page { position: relative; min-height: clamp(460px, 74vh, 820px); display: flex; align-items: flex-end; color: #fff; background: var(--sous-bois); overflow: hidden; }
.entete-page .photo { position: absolute; inset: 0; }
.entete-page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 15, 11, .45) 0%, rgba(8, 15, 11, .05) 35%, rgba(8, 15, 11, .7) 100%); }
.entete-page .conteneur { position: relative; z-index: 2; padding-block: calc(var(--entete) + 3rem) clamp(3rem, 7vh, 5.5rem); }
.entete-page h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: .95; letter-spacing: -.025em; }
.entete-page .chapo { margin: 1.4rem 0 0; color: rgba(255, 255, 255, .9); }
.fil { font-size: .88rem; margin: 0 0 1.2rem; color: rgba(255, 255, 255, .85); }
.fil a { color: inherit; text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.fil span[aria-hidden] { margin: 0 .5rem; opacity: .7; }
.entete-simple { padding: calc(var(--entete) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--trait); }
.entete-simple .fil { color: var(--encre-douce); }
.entete-simple h1 { max-width: 14em; }
.entete-simple .chapo { margin-top: 1.4rem; color: var(--encre-douce); }

/* 9. PAGE DOMAINE -------------------------------------------------------- */
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.deux-colonnes--inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
@media (max-width: 860px) { .deux-colonnes, .deux-colonnes--inverse { grid-template-columns: 1fr; } }

.portrait__grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem clamp(1rem, 2.4vw, 2rem); }
.portrait__photo { grid-column: 1 / span 5; position: sticky; top: calc(var(--entete) + 2rem); align-self: start; }
.portrait__texte { grid-column: 7 / -1; }
.parcours { list-style: none; margin: 2.2rem 0 0; padding: 0; border-top: 1px solid var(--trait-clair); }
.parcours li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--trait-clair); }
.parcours time { font-family: var(--serif); font-size: 1.25rem; color: var(--paille-clair); line-height: 1.35; }
.parcours p { margin: 0; color: rgba(238, 235, 227, .85); }
@media (max-width: 860px) { .portrait__photo { grid-column: 1 / span 10; position: static; max-width: 440px; } .portrait__texte { grid-column: 1 / -1; } }

/* Frise : les dates comme gravées sur un linteau */
.frise-cadre { position: relative; margin-top: clamp(3rem, 6vw, 5rem); }
.frise { position: relative; list-style: none; margin: 0; padding: 0; }
.frise::before { content: ""; position: absolute; left: calc(50% - .5px); top: 0; bottom: 0; width: 1px; background: var(--trait); }
.frise__progression { position: absolute; z-index: 1; left: calc(50% - 1px); top: 0; width: 2px; height: 100%; background: var(--paille); transform-origin: top; transform: scaleY(var(--p, 0)); }
.frise__etape { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(3rem, 8vw, 7rem); padding: 0 0 clamp(3rem, 6vw, 4.5rem); }
.frise__etape:last-child { padding-bottom: 0; }
.frise__etape::before { content: ""; position: absolute; left: 50%; top: 1.2rem; width: 13px; height: 13px; margin-left: -6.5px; background: var(--calcaire); border: 1.5px solid var(--paille); transform: rotate(45deg); transition: background-color .5s; }
.frise__etape.is-atteinte::before { background: var(--paille); }
.frise__date { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 7vw, 6rem); line-height: .9; letter-spacing: .02em; text-align: right; color: var(--feuille); font-variant-numeric: lining-nums; margin: 0; max-width: none; }
.frise__texte h3 { margin: .4rem 0 .6rem; }
.frise__texte p { color: var(--encre-douce); font-size: 1rem; }
.frise__etape:nth-child(even) .frise__date { order: 2; text-align: left; }
.frise__etape:nth-child(even) .frise__texte { order: 1; text-align: right; }
.frise__etape:nth-child(even) .frise__texte p { margin-left: auto; }
@media (max-width: 760px) {
  .frise::before, .frise__progression { left: 6px; }
  .frise__etape { grid-template-columns: 1fr; padding-left: 2.4rem; }
  .frise__etape::before { left: 0; margin-left: 0; top: 1rem; }
  .frise__date, .frise__etape:nth-child(even) .frise__date { order: 0; text-align: left; font-size: 3.2rem; }
  .frise__etape:nth-child(even) .frise__texte { order: 1; text-align: left; }
  .frise__etape:nth-child(even) .frise__texte p { margin-left: 0; }
}

/* Pratiques au vignoble */
.pratiques { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 4rem); }
.pratiques li { border-top: 1px solid var(--trait); padding: 1.5rem 0 1.2rem; }
.pratiques h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.pratiques p { font-size: 1rem; color: var(--encre-douce); margin: 0; }
@media (max-width: 640px) { .pratiques { grid-template-columns: 1fr; } }
.photos-duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: end; margin-top: clamp(3rem, 6vw, 5rem); }
.photos-duo .photo:last-child { margin-bottom: -3rem; }
@media (max-width: 640px) { .photos-duo { grid-template-columns: 1fr; } .photos-duo .photo:last-child { margin-bottom: 0; width: 80%; margin-left: auto; } }

/* Saisons (onglets) */
.saisons__onglets { display: flex; gap: 0; border-bottom: 1px solid var(--trait); margin: clamp(2rem, 4vw, 3rem) 0 0; overflow-x: auto; scrollbar-width: none; }
.saisons__onglets::-webkit-scrollbar { display: none; }
.saisons__onglet {
  flex: 1 0 auto; position: relative; background: none; border: 0; cursor: pointer; padding: 1rem 1.4rem 1.1rem; text-align: left;
  font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 300; color: var(--encre-douce); transition: color .3s;
}
.saisons__onglet small { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 500; margin-top: .15rem; }
.saisons__onglet::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lie); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.saisons__onglet[aria-selected="true"] { color: var(--encre); }
.saisons__onglet[aria-selected="true"]::after { transform: scaleX(1); }
.saisons__onglet:hover { color: var(--encre); }
.saisons__panneau { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 5vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem); align-items: start; }
.saisons__panneau[hidden] { display: none; }
.saisons__panneau .photo { aspect-ratio: 4 / 5; }
.saisons__panneau h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 300; margin-bottom: 1rem; }
.taches { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.taches li { position: relative; padding: .75rem 0 .75rem 1.7rem; border-top: 1px solid var(--trait); }
.taches li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 7px; height: 7px; border: 1.3px solid var(--paille); transform: rotate(45deg); }
.taches strong { font-weight: 600; }
.js .saisons__panneau.is-entree > * { animation: apparition .7s var(--ease) both; }
.js .saisons__panneau.is-entree > *:nth-child(2) { animation-delay: .08s; }
@keyframes apparition { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .saisons__panneau { grid-template-columns: 1fr; } .saisons__panneau .photo { aspect-ratio: 3 / 2; } .saisons__onglet { padding-inline: 1rem; } }
@media (max-width: 560px) { .saisons__onglets { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 0; } .saisons__onglet { border-bottom: 1px solid var(--trait); padding: .8rem .9rem .9rem; } .saisons__onglet::after { bottom: -1px; } }

/* Étapes de la vinification (séquence réelle, donc numérotée) */
.etapes { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; counter-reset: etape; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.etapes li { counter-increment: etape; border-top: 1px solid var(--trait-clair); padding: 1.4rem 0 1.8rem; }
.etapes li::before { content: counter(etape, upper-roman); display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--paille-clair); margin-bottom: .5rem; letter-spacing: .05em; }
.etapes h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.etapes p { margin: 0; font-size: 1rem; color: rgba(238, 235, 227, .8); }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } }

.valeurs { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; }
.valeurs li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(2rem, 5vw, 5rem); padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--trait); }
.valeurs h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 300; }
.valeurs p { margin: 0; color: var(--encre-douce); }
@media (max-width: 760px) { .valeurs li { grid-template-columns: 1fr; } }

/* 10. CARTE DES VINS ----------------------------------------------------- */
.vins-entete { padding: calc(var(--entete) + clamp(3rem, 7vw, 5.5rem)) 0 0; background: var(--oolithe); overflow: hidden; }
.vins-entete__grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; }
.vins-entete__texte { padding-bottom: clamp(3rem, 6vw, 5rem); }
.vins-entete .fil { color: var(--encre-douce); }
.vins-entete .chapo { margin-top: 1.4rem; color: var(--encre-douce); }
.vins-entete__bouteilles { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.2rem, 1.2vw, 1rem); height: clamp(260px, 38vw, 470px); margin-bottom: -2px; }
.vins-entete__bouteilles svg { height: 100%; width: auto; filter: drop-shadow(0 20px 20px rgba(20, 30, 22, .18)); }
.vins-entete__bouteilles svg:nth-child(odd) { height: 92%; }
.vins-entete__bouteilles .bouteille--cremant { height: 82% !important; }
@media (max-width: 860px) {
  .vins-entete__grille { grid-template-columns: 1fr; }
  .vins-entete__texte { padding-bottom: 0; }
  .vins-entete__bouteilles { height: 240px; justify-content: flex-start; overflow: hidden; }
}
.pdf-lien { display: inline-flex; align-items: center; gap: .6rem; }

.outils-carte { position: sticky; top: calc(var(--entete) - 1px); z-index: 20; background: rgba(238, 235, 227, .95); border-bottom: 1px solid var(--trait); transition: top .45s var(--ease); }
@supports (backdrop-filter: blur(1px)) { .outils-carte { background: rgba(238, 235, 227, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
body.entete-masquee .outils-carte { top: 0; }
.outils-carte__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-block: .9rem; }
.filtres { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; min-inline-size: 0; }
.filtres legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.filtre {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .45rem .95rem; border-radius: 2px; cursor: pointer;
  border: 1px solid var(--trait); background: transparent; font-size: .93rem; font-weight: 550; color: var(--encre);
  transition: background-color .3s, color .3s, border-color .3s;
}
.filtre span { font-weight: 400; color: var(--encre-douce); font-size: .82rem; transition: color .3s; }
.filtre:hover { border-color: var(--feuille); }
.filtre[aria-pressed="true"] { background: var(--feuille); color: var(--calcaire); border-color: var(--feuille); }
.filtre[aria-pressed="true"] span { color: var(--paille-clair); }
.filtre-sucre { display: flex; align-items: center; gap: .6rem; font-size: .93rem; }
.filtre-sucre label { font-weight: 550; }
.filtre-sucre select { min-height: 42px; padding: .4rem 2.2rem .4rem .8rem; border: 1px solid var(--trait); border-radius: 2px; background: var(--calcaire-clair) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E2A23' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right .8rem center; appearance: none; -webkit-appearance: none; cursor: pointer; }
.compteur { font-size: .9rem; color: var(--encre-douce); margin: 0; }

.grille-vins { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.6rem); }
.cuvee { transition: opacity .45s var(--ease-doux), transform .45s var(--ease); }
.cuvee.is-masquee { display: none; }
.cuvee.is-entree { animation: apparition .6s var(--ease) both; }
.cuvee__inner { height: 100%; display: flex; flex-direction: column; }
.cuvee__visuel {
  position: relative; display: flex; justify-content: center; align-items: flex-end; height: 380px; padding-top: 2rem;
  background: linear-gradient(180deg, var(--oolithe) 0%, #E5DCCB 100%); overflow: hidden;
}
.cuvee__visuel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(60, 48, 30, .08)); }
.cuvee__visuel svg { height: 330px; width: auto; transform: translateY(18px); transition: transform .7s var(--ease); filter: drop-shadow(0 16px 14px rgba(20, 30, 22, .2)); }
.cuvee__visuel .bouteille--cremant { height: 284px; }
.cuvee:hover .cuvee__visuel svg { transform: translateY(6px); }
.cuvee__texte { padding: 1.3rem 0 0; display: flex; flex-direction: column; flex: 1; }
.cuvee__appellation { font-size: .85rem; color: var(--encre-douce); margin: 0 0 .3rem; }
.cuvee__nom { font-size: 1.85rem; font-weight: 300; line-height: 1.1; margin-bottom: .55rem; }
.cuvee__meta { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .9rem; }
.cuvee__meta span { font-size: .8rem; font-weight: 550; padding: .2rem .55rem; border: 1px solid var(--trait); border-radius: 2px; }
.cuvee__accroche { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.45; color: var(--encre-douce); margin-bottom: 1.2rem; }
.cuvee__pied { margin: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--trait); }
.cuvee__prix { font-family: var(--serif); font-size: 1.35rem; }
.cuvee__prix sup { font-size: .65em; color: var(--encre-douce); margin-left: .1em; }
.lien-fiche {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 0;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--feuille);
}
.lien-fiche::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.lien-fiche:hover::after { width: 36px; }
.cuvee__inner::before { content: none; }
@media (max-width: 640px) {
  .grille-vins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem .8rem; }
  .cuvee__visuel { height: 250px; padding-top: 1.2rem; }
  .cuvee__visuel svg { height: 222px; transform: translateY(12px); }
  .cuvee__visuel .bouteille--cremant { height: 190px; }
  .cuvee__nom { font-size: 1.35rem; }
  .cuvee__meta span { font-size: .72rem; padding: .15rem .4rem; }
  .cuvee__accroche { display: none; }
  .cuvee__pied { flex-direction: column; align-items: flex-start; gap: 0; }
  .cuvee__prix { font-size: 1.2rem; }
  .filtres { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--marge)); padding-inline: var(--marge); width: calc(100% + 2 * var(--marge)); }
  .filtres::-webkit-scrollbar { display: none; }
  .filtre { flex: none; }
  .outils-carte__inner { gap: .6rem 1rem; padding-block: .7rem; }
  .compteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.etat-vide { padding: 3rem 0; text-align: center; }
.etat-vide p { margin-inline: auto; }

/* Fiche détaillée (dialogue) */
.fiche {
  width: min(1080px, 100% - 24px); max-height: min(92vh, 980px); max-height: min(92dvh, 980px); padding: 0; border: 0; border-radius: 3px;
  background: var(--calcaire-clair); color: var(--encre); box-shadow: 0 30px 80px rgba(8, 14, 10, .4); overflow: hidden;
}
.fiche::backdrop { background: rgba(14, 22, 17, .62); backdrop-filter: blur(3px); }
.fiche[open] { animation: fiche-entree .5s var(--ease); }
.fiche[open]::backdrop { animation: fondu .4s var(--ease-doux); }
@keyframes fiche-entree { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
.fiche__cadre { display: flex; flex-direction: column; max-height: inherit; }
.fiche__barre { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .8rem .7rem 1.4rem; border-bottom: 1px solid var(--trait); flex: none; }
.fiche__navigation { display: flex; gap: .3rem; }
.fiche__btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; min-width: 42px; padding: .4rem .8rem; border: 1px solid var(--trait); background: transparent; border-radius: 2px; cursor: pointer; font-size: .9rem; font-weight: 550; justify-content: center; transition: background-color .25s, border-color .25s; }
.fiche__btn:hover { border-color: var(--feuille); background: rgba(34, 56, 43, .06); }
.fiche__btn svg { width: 16px; height: 16px; }
.fiche__position { font-size: .88rem; color: var(--encre-douce); }
.fiche__contenu { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(90deg, #E2D9C7 0 36.364%, transparent 36.364%); }
.fiche__visuel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem 1.2rem; position: sticky; top: 0; align-self: start; height: min(calc(92vh - 66px), 914px); height: min(calc(92dvh - 66px), 914px); }
.fiche__visuel svg { height: min(520px, 60vh); width: auto; filter: drop-shadow(0 20px 18px rgba(20, 30, 22, .22)); }
.fiche__visuel .bouteille--cremant { height: min(450px, 52vh); }
.fiche__note { font-family: var(--serif); font-style: italic; font-size: .8rem; color: var(--encre-douce); margin: 1rem 0 0; text-align: center; }
.fiche__texte { padding: clamp(1.5rem, 3vw, 2.6rem); }
.fiche__appellation { color: var(--encre-douce); font-size: .9rem; margin: 0 0 .3rem; }
.fiche__nom { font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1; margin-bottom: .8rem; }
.fiche__accroche { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: var(--encre-douce); }
.fiche__liste { margin: 1.6rem 0 0; }
.fiche__ligne { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--trait); font-size: .98rem; }
.fiche__ligne dt { font-weight: 600; }
.fiche__ligne dd { margin: 0; color: var(--encre-douce); }
.fiche__ligne dd strong { color: var(--encre); font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.fiche__actions { margin: 1.8rem 0 0; }
.echelle { display: inline-grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; width: min(100%, 340px); }
.echelle__cran { position: relative; padding-top: 10px; font-size: .78rem; text-align: center; color: var(--encre-douce); }
.echelle__cran::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--trait); border-radius: 1px; }
.echelle__cran.is-actif { color: var(--encre); font-weight: 650; }
.echelle__cran.is-actif::before { background: var(--lie); }
.echelle--brut { display: inline; font-size: .95rem; }
@media (max-width: 760px) {
  .fiche { width: 100%; max-height: 100%; height: 100%; max-width: 100%; border-radius: 0; margin: 0; }
  .fiche__contenu { display: block; }
  .fiche__contenu { background: none; }
  .fiche__visuel { position: static; padding: 1.5rem 1rem .8rem; min-height: 0; height: auto; background: linear-gradient(180deg, var(--oolithe), #E3D9C6); }
  .fiche__visuel svg { height: 300px; }
  .fiche__visuel .bouteille--cremant { height: 258px; }
  .fiche__ligne { grid-template-columns: 1fr; gap: .2rem; }
  .fiche__btn .fiche__btn-texte { display: none; }
}

.comprendre { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 5rem); }
.comprendre dl { margin: 0; }
.comprendre dl div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--trait); }
.comprendre dt { font-family: var(--serif); font-size: 1.3rem; }
.comprendre dd { margin: 0; color: var(--encre-douce); }
@media (max-width: 860px) { .comprendre { grid-template-columns: 1fr; } .comprendre dl div { grid-template-columns: 1fr; gap: .2rem; } }

/* 11. VISITES ------------------------------------------------------------ */
.principes { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1.2rem, 2.5vw, 2.4rem); }
.principes li { border-top: 1px solid var(--trait); padding: 1.2rem 0; }
.principes strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin-bottom: .3rem; }
.principes span { font-size: .96rem; color: var(--encre-douce); }
@media (max-width: 960px) { .principes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .principes { grid-template-columns: 1fr; } }

.offre { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2.4vw, 2rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--trait); scroll-margin-top: calc(var(--entete) + 1rem); }
.offre:first-of-type { border-top: 0; }
.offre__photo { grid-column: 1 / span 6; }
.offre__texte { grid-column: 8 / -1; }
.offre:nth-of-type(even) .offre__photo { grid-column: 7 / -1; order: 2; }
.offre:nth-of-type(even) .offre__texte { grid-column: 1 / span 5; order: 1; }
.offre__texte h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1rem; }
.offre__infos { margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.offre__infos div { border-top: 1px solid var(--trait); padding: .75rem 0; }
.offre__infos div.large { grid-column: 1 / -1; }
.offre__infos dt { font-size: .82rem; color: var(--encre-douce); }
.offre__infos dd { margin: .1rem 0 0; font-weight: 550; }
.offre__infos .mention-fictive { font-weight: 600; }
@media (max-width: 860px) {
  .offre__photo, .offre__texte, .offre:nth-of-type(even) .offre__photo, .offre:nth-of-type(even) .offre__texte { grid-column: 1 / -1; order: 0; }
}

/* 12. FORMULAIRES -------------------------------------------------------- */
.bloc-formulaire { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 960px) { .bloc-formulaire { grid-template-columns: 1fr; } }
.avertissement-demo {
  display: flex; gap: .9rem; align-items: flex-start; margin: 0 0 1.8rem; padding: 1rem 1.2rem;
  background: rgba(180, 154, 98, .14); border-left: 3px solid var(--paille); font-size: .95rem; line-height: 1.5; max-width: none;
}
.avertissement-demo svg { width: 20px; height: 20px; flex: none; margin-top: .1rem; color: var(--lie); }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.champ { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.champ--large { grid-column: 1 / -1; }
.champ label, .champ legend { font-weight: 600; font-size: .95rem; }
.champ .aide { font-size: .84rem; color: var(--encre-douce); margin: 0; }
.champ .optionnel { font-weight: 400; color: var(--encre-douce); font-size: .86rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1px solid rgba(30, 42, 35, .32); border-radius: 2px;
  background: var(--calcaire-clair); transition: border-color .25s, box-shadow .25s; font-size: 1rem;
}
.champ select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background: var(--calcaire-clair) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E2A23' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right .95rem center; }
.champ textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--feuille); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--feuille); box-shadow: 0 0 0 3px rgba(180, 154, 98, .35); }
.champ.is-erreur input, .champ.is-erreur select, .champ.is-erreur textarea { border-color: var(--lie); }
.champ .erreur { font-size: .86rem; color: var(--lie); font-weight: 550; margin: 0; display: flex; gap: .4rem; align-items: center; }
.champ .erreur:empty { display: none; }
.case { grid-column: 1 / -1; display: flex; gap: .8rem; align-items: flex-start; font-size: .94rem; line-height: 1.5; }
.case input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--feuille); flex: none; }
.case.is-erreur { color: var(--lie); }
.formulaire__bas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .4rem; }
.formulaire__bas p { margin: 0; font-size: .86rem; color: var(--encre-douce); }
.bouton.is-chargement { pointer-events: none; }
.bouton.is-chargement .bouton__texte { opacity: .5; }
.bouton.is-chargement::before { content: ""; position: static; z-index: auto; margin: 0; width: 16px; height: 16px; aspect-ratio: auto; background: none; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rotation .8s linear infinite running; }
@keyframes rotation { to { transform: rotate(360deg); } }
.groupe-nombres { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; grid-column: 1 / -1; }
.compteur-champ { display: flex; align-items: stretch; }
.compteur-champ input { text-align: center; border-radius: 0; min-width: 0; -moz-appearance: textfield; }
.compteur-champ input::-webkit-outer-spin-button, .compteur-champ input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.compteur-champ button { width: 50px; flex: none; border: 1px solid rgba(30, 42, 35, .32); background: var(--calcaire); cursor: pointer; font-size: 1.3rem; line-height: 1; transition: background-color .2s; }
.compteur-champ button:hover { background: var(--oolithe); }
.compteur-champ button:first-child { border-right: 0; border-radius: 2px 0 0 2px; }
.compteur-champ button:last-child { border-left: 0; border-radius: 0 2px 2px 0; }
.choix-creneau { display: flex; flex-direction: row; gap: .5rem; flex-wrap: wrap; border: 0; padding: 0; margin: 0; min-width: 0; }
.choix-creneau legend { margin-bottom: .4rem; padding: 0; }
.choix-creneau label { position: relative; font-weight: 500; }
.choix-creneau input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix-creneau span { display: inline-flex; min-height: 46px; align-items: center; padding: .5rem 1rem; border: 1px solid rgba(30, 42, 35, .32); border-radius: 2px; transition: background-color .25s, color .25s, border-color .25s; }
.choix-creneau input:checked + span { background: var(--feuille); color: var(--calcaire); border-color: var(--feuille); }
.choix-creneau input:focus-visible + span { outline: 2px solid var(--paille); outline-offset: 2px; }
@media (max-width: 640px) { .formulaire, .groupe-nombres { grid-template-columns: 1fr; } }

.recap {
  grid-column: 1 / -1; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--feuille); color: var(--calcaire); border-radius: 2px;
}
.recap:focus { outline: 2px solid var(--paille); outline-offset: 3px; }
.recap h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.recap p { color: rgba(238, 235, 227, .86); }
.recap dl { margin: 1.2rem 0; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .5rem 1rem; font-size: .95rem; }
.recap dt { color: var(--paille-clair); }
.recap dd { margin: 0; overflow-wrap: anywhere; }
.recap .bouton { margin-top: .4rem; }
@media (max-width: 520px) { .recap dl { grid-template-columns: 1fr; gap: 0; } .recap dd { margin-bottom: .6rem; } }

/* 13. CONTACT ET CARTE --------------------------------------------------- */
.contact-entete { padding-top: calc(var(--entete) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.contact-entete__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: end; }
.contact-entete .fil { color: var(--encre-douce); }
.contact-entete .chapo { margin-top: 1.4rem; color: var(--encre-douce); }
.contact-entete .photo { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .contact-entete__grille { grid-template-columns: 1fr; } .contact-entete .photo { aspect-ratio: 3 / 2; } }
.coordonnees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.coordonnees h2 { font-size: 1.6rem; font-weight: 400; margin-bottom: 1rem; }
.coordonnees__bloc { border-top: 1px solid var(--trait); padding-top: 1.4rem; }
.coordonnees__bloc p { margin-bottom: .6rem; }
.coordonnees__valeur { font-family: var(--serif); font-size: 1.3rem; }
.coordonnees .horaires__ligne dt { color: var(--encre); }
.coordonnees .horaires__ligne dd { color: var(--encre-douce); }
@media (max-width: 960px) { .coordonnees { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .coordonnees { grid-template-columns: 1fr; } }

.carte { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 0; border: 1px solid var(--trait); background: var(--calcaire-clair); }
.carte__zone { position: relative; min-height: 460px; background: #E7E2D6; }
.carte__zone iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.carte__apercu { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.carte__apercu svg.plan-fond { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .32; }
.carte__apercu-contenu { position: relative; background: rgba(246, 244, 239, .94); padding: 1.4rem 1.6rem; max-width: 380px; border: 1px solid var(--trait); }
.carte__apercu-contenu p { font-size: .92rem; color: var(--encre-douce); margin: .6rem auto 1rem; }
.carte__infos { padding: clamp(1.4rem, 3vw, 2.2rem); border-left: 1px solid var(--trait); display: flex; flex-direction: column; gap: 1rem; }
.carte__infos h2 { font-size: 1.7rem; font-weight: 400; }
.carte__infos p { font-size: .95rem; color: var(--encre-douce); margin: 0; }
.carte__infos .bouton { width: 100%; }
.carte__liens { display: grid; gap: .6rem; margin-top: auto; }
.badge-demo { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: var(--lie); }
.badge-demo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lie); }
@media (max-width: 860px) { .carte { grid-template-columns: 1fr; } .carte__infos { border-left: 0; border-top: 1px solid var(--trait); } .carte__zone { min-height: 380px; } }

/* 14. PAGES LÉGALES, 404 ------------------------------------------------- */
.texte-legal > * { max-width: 760px; }
.texte-legal h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 400; margin: 2.8rem 0 1rem; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal h3 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; }
.texte-legal p, .texte-legal li { color: var(--encre-douce); }
.texte-legal ul { padding-left: 1.2rem; }
.texte-legal li { margin-bottom: .4rem; }
.texte-legal strong { color: var(--encre); }
.encadre-fictif { padding: 1.3rem 1.5rem; background: var(--oolithe); border-left: 3px solid var(--lie); margin: 0 0 2.5rem; }
.encadre-fictif p { margin: 0; color: var(--encre); }
.credits { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 1rem; }
.credits th, .credits td { text-align: left; padding: .7rem .8rem .7rem 0; border-top: 1px solid var(--trait); vertical-align: top; }
.credits th { font-weight: 600; font-size: .84rem; color: var(--encre-douce); }
@media (max-width: 640px) { .credits thead { display: none; } .credits tr { display: block; border-top: 1px solid var(--trait); padding: .6rem 0; } .credits td { display: block; border: 0; padding: .1rem 0; } }

.page-404 { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--entete) + 3rem) 0 4rem; }
.page-404__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: center; }
.page-404__code { font-family: var(--serif); font-weight: 300; font-size: clamp(6rem, 18vw, 14rem); line-height: .85; color: var(--feuille); letter-spacing: -.02em; margin: 0 0 1rem; }
.page-404 .linteau { width: min(100%, 360px); color: var(--feuille); margin-inline: auto; }
@media (max-width: 760px) { .page-404__grille { grid-template-columns: 1fr; } .page-404 .linteau { width: 220px; margin: 0; } }

/* Bandeau local (affiché uniquement en aperçu local si des photos manquent) */
.alerte-photos { position: fixed; left: 12px; right: 12px; top: calc(var(--entete) + 10px); z-index: 150; margin: 0 auto; max-width: 720px; padding: .9rem 1.1rem; background: var(--lie); color: #fff; font-size: .92rem; line-height: 1.45; border-radius: 3px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; gap: 1rem; align-items: flex-start; }
.alerte-photos button { margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.6); color: #fff; border-radius: 2px; cursor: pointer; padding: .2rem .6rem; }

/* 15. EFFETS SIGNATURE --------------------------------------------------- */
/* Linteaux autour des photos : la clé apparaît, le linteau s'étire, les jambages descendent */
.figure--encadree { position: relative; }
.encadre {
  --e: clamp(10px, 1.4vw, 16px);
  position: absolute; z-index: 1; pointer-events: none;
  top: calc(-1 * var(--e) - 5px); left: calc(-1 * var(--e)); right: calc(-1 * var(--e));
  height: min(42%, 240px); color: var(--paille);
}
.encadre::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1.5px; background: currentColor; transform-origin: 50% 50%; }
.encadre::after {
  content: ""; position: absolute; top: 5px; left: 0; right: 0; bottom: 0;
  border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  -webkit-mask: linear-gradient(#000 35%, transparent); mask: linear-gradient(#000 35%, transparent);
}
.encadre__cle { position: absolute; top: 1.25px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; background: currentColor; transform: rotate(45deg); }
.section--feuille .encadre, .section--sombre .encadre { color: var(--paille-clair); }
.js .encadre[data-revele] { opacity: 1; transform: none; transition: transform .8s var(--ease); }
.js .encadre[data-revele]::before { transform: scaleX(0); transition: transform 1.2s var(--ease) .25s; }
.js .encadre[data-revele]::after { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease) 1.05s; }
.js .encadre[data-revele] .encadre__cle { transform: rotate(45deg) scale(0); transition: transform .55s cubic-bezier(.3, 1.6, .5, 1) .1s; }
.js .encadre.is-revele::before { transform: none; }
.js .encadre.is-revele::after { clip-path: inset(0 0 0 0); }
.js .encadre.is-revele .encadre__cle { transform: rotate(45deg) scale(1); }
@media (hover: hover) {
  .figure--encadree .photo[data-revele] img { transition: transform 1.6s var(--ease), opacity .6s; }
  .figure--encadree:hover .photo[data-revele].is-revele img { transform: scale(1.04); }
  .js .figure--encadree:hover .encadre.is-revele { transform: translateY(-4px); }
}
@media (max-width: 640px) { .encadre { --e: 8px; } }

/* Bouteilles : un éclat de lumière traverse le verre */
.bouteille__eclat { opacity: 0; }
@media (hover: hover) {
  .etagere__lien:hover [data-eclat="survol"], .etagere__lien:focus-visible [data-eclat="survol"],
  .cuvee__inner:hover [data-eclat="survol"] { animation: eclat 1.15s var(--ease-doux) both; }
}
@keyframes eclat { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(175px); opacity: 0; } }

/* Grands titres : chaque mot monte derrière un masque */
.titre-mots .mot { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .05em .16em; margin: -.1em -.05em -.16em; }
.titre-mots .mot__in { display: inline-block; }
.js .titre-mots[data-revele] { opacity: 1; transform: none; }
.js .titre-mots[data-revele] .mot__in { transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js .titre-mots.is-revele .mot__in { transform: none; }
.js h1.titre-mots .mot__in { animation: mot-entree 1.2s var(--ease) both; animation-delay: calc(.15s + var(--i, 0) * 80ms); }
@keyframes mot-entree { from { transform: translateY(112%); } to { transform: none; } }

/* Chiffres clés : arrivée en cascade, filet doré qui se trace */
.js .chiffres[data-revele] { opacity: 1; transform: none; }
.js .chiffres[data-revele] .chiffres__item { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-doux), transform 1s var(--ease); }
.js .chiffres[data-revele] .chiffres__item::before { transform: scaleX(0); transition: transform 1.2s var(--ease) .5s; }
.js .chiffres.is-revele .chiffres__item { opacity: 1; transform: none; }
.js .chiffres.is-revele .chiffres__item::before { transform: none; }
.js .chiffres .chiffres__item:nth-child(2) { transition-delay: .14s; }
.js .chiffres .chiffres__item:nth-child(3) { transition-delay: .28s; }
.js .chiffres .chiffres__item:nth-child(4) { transition-delay: .42s; }

/* Pages intérieures : la photo d'en-tête se pose, le fil d'Ariane et le chapeau suivent le titre */
.js .entete-page > .photo img { animation: hero-photo 2.4s var(--ease) both; }
.js .entete-page .fil, .js .entete-page .chapo { animation: hero-texte 1.1s var(--ease) both; }
.js .entete-page .chapo { animation-delay: .55s; }

/* Transition entre les pages (navigateurs compatibles) : la nouvelle page monte comme un rideau.
   L'en-tête fait partie du rideau : il est découvert en dernier, police déjà chargée, sans fondu
   entre l'ancien et le nouveau bouton (qui provoquait un effet gras / non gras). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root) { animation: vt-sortie .55s var(--ease-doux) both; }
::view-transition-new(root) { animation: vt-entree .85s var(--ease) both; }
@keyframes vt-sortie { to { opacity: .35; transform: translateY(-4vh) scale(.985); } }
@keyframes vt-entree { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* 16. ANIMATIONS, ACCESSIBILITÉ, IMPRESSION ------------------------------ */
/* Apparitions au défilement (activées seulement si JavaScript est présent) */
.js [data-revele] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-doux), transform 1s var(--ease); }
.js [data-revele].is-revele { opacity: 1; transform: none; }
.js [data-revele="photo"] { opacity: 1; transform: none; clip-path: inset(12% 0 0 0); transition: clip-path 1.3s var(--ease); }
.js [data-revele="photo"] img { transform: scale(1.08); transition: transform 1.6s var(--ease), opacity .6s; }
.js [data-revele="photo"].is-revele { clip-path: inset(0 0 0 0); }
.js [data-revele="photo"].is-revele img { transform: none; }
.js [data-delai="1"] { transition-delay: .1s; }
.js [data-delai="2"] { transition-delay: .2s; }
.js [data-delai="3"] { transition-delay: .3s; }

/* Séquence d'ouverture de l'accueil (un seul moment orchestré) */
.js .hero__photo img { animation: hero-photo 2.6s var(--ease) both; }
.js .hero [data-entree] { animation: hero-texte 1.1s var(--ease) both; }
.js .hero [data-entree="1"] { animation-delay: .25s; }
.js .hero [data-entree="2"] { animation-delay: .4s; }
.js .hero [data-entree="3"] { animation-delay: .7s; }
.js .hero [data-entree="4"] { animation-delay: .9s; }
.js .hero [data-entree="5"] { animation-delay: 1.1s; }
@keyframes hero-photo { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes hero-texte { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.js .coupe__trace { stroke-dasharray: var(--longueur, 2000); stroke-dashoffset: var(--longueur, 2000); transition: stroke-dashoffset 2.4s var(--ease); }
.js .coupe.is-revele .coupe__trace { stroke-dashoffset: 0; }
.js .coupe .coupe__annotation { opacity: 0; transition: opacity .8s var(--ease-doux); }
.js .coupe.is-revele .coupe__annotation { opacity: 1; }
.js .coupe.is-revele .coupe__annotation:nth-of-type(2) { transition-delay: .5s; }
.js .coupe.is-revele .coupe__annotation:nth-of-type(3) { transition-delay: .9s; }
.js .coupe.is-revele .coupe__annotation:nth-of-type(4) { transition-delay: 1.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-revele], .js [data-revele="photo"] { opacity: 1; transform: none; clip-path: none; }
  .js [data-revele="photo"] img { transform: none; }
  .js .coupe__trace { stroke-dashoffset: 0; }
  .js .coupe .coupe__annotation { opacity: 1; }
  .js .encadre[data-revele]::before, .js .encadre[data-revele] .encadre__cle { transform: none; }
  .js .encadre[data-revele] .encadre__cle { transform: rotate(45deg); }
  .js .encadre[data-revele]::after { clip-path: none; }
  .js .etagere[data-revele] .etagere__item, .js .chiffres[data-revele] .chiffres__item { opacity: 1; transform: none; }
  .js .etagere[data-revele]::after, .js .chiffres[data-revele] .chiffres__item::before { transform: none; }
  .hero__photo, .hero__contenu { transform: none; opacity: 1; }
  .hero__lumiere, .hero__defiler-trait::after, .pied__geant, .bouteille__eclat { animation: none !important; }
  .bouton::before { transition: none; }
}

@media print {
  .entete, .menu-mobile, .barre-mobile, .haut-page, .alerte-photos { display: none !important; }
  body { background: #fff; }
  .hero, .entete-page, .invitation { min-height: 0; color: #000; background: #fff; }
  .hero::after, .entete-page::after, .invitation::after { display: none; }
}
#fiche-titre:focus, main:focus, .recap h3:focus { outline: none; }
