/*
 * Champagne Hespéria — feuille du site complet (accueil d'une page, FR / EN).
 * Reprise de la maquette « Champagne Hespéria — accueil » (Fichiers preview/index.html du 24 novembre 2026),
 * styles identiques ; seules les polices changent de source : auto-hébergées (Fontsource 5.3.0, licence SIL OFL 1.1)
 * au lieu de Google Fonts (règle de l'atelier : rien de tiers sans raison).
 * Charte (guideline Justine, octobre 2026) : Or antique #968259, fond #F6F0E8 — couleurs jamais modifiées.
 */
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/josefin-sans-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/josefin-sans-ext-300.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/josefin-sans-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/josefin-sans-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Josefin Slab'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/josefin-slab-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Josefin Slab'; font-style: italic; font-weight: 600; font-display: swap; src: url('/fonts/josefin-slab-600-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Josefin Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/josefin-slab-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Josefin Slab'; font-style: italic; font-weight: 700; font-display: swap; src: url('/fonts/josefin-slab-700-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Charte Hespéria : crème, or antique (principal), une seule ambiance (couleurs exactes de la charte).
   Mise en page : coordonnées de la maquette Figma 1440 px, mises à l'échelle (--u pour l'accueil, --w pour le récit). */
:root {
  --or: #968259;
  --or-fonce: #695B3F;
  --fond: #F6F0E8;
  --f-display: "Josefin Slab", Rockwell, Georgia, serif;
  --f-body: "Josefin Sans", "Century Gothic", Futura, system-ui, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-ink: cubic-bezier(.19, .7, .22, 1);
  --u: 1px; --w: 1px;
  color-scheme: only light;
}
html { background: var(--fond); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--fond); color: var(--or); font-family: var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* calques fixes : fond caché (WebGL, avec le grain du papier), cadre doré */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
/* (déc. 2026) jamais d'écran noir : le fond animé apparaît en fondu sur le crème de la page quand il est prêt */
#bg { opacity: 0; transition: opacity 420ms var(--ease-out); }
#bg.pret { opacity: 1; }
@media (prefers-reduced-motion: reduce) { #bg { transition: none; } }
/* cadre : filets avec ornements d'angle (haut gauche, bas droit) et passage du bouton « Découvrir » en bas */
.cadre { position: fixed; inset: 15px; pointer-events: none; z-index: 5; --filet: var(--or); }
.cadre i { position: absolute; background: var(--filet); }
.cd-t { top: 0; left: 14px; width: calc(50% - 14px - 64px); height: 1px; }
.cd-ta, .cd-tb { top: 0; width: 20px; height: 1px; transition: transform 480ms var(--ease-out); }
.dock-open .cd-ta, .dock-open .cd-tb { transition-duration: 900ms; }
.cd-ta { left: calc(50% - 64px); transform-origin: 0 50%; }
.cd-tb { left: calc(50% + 44px); transform-origin: 100% 50%; }
.dock-open .cd-ta, .dock-open .cd-tb { transform: scaleX(0); }
.cd-tm { top: 0; left: calc(50% - 44px); width: 88px; height: 1px; transform-origin: 50% 50%; transition: transform 500ms var(--ease-out); }
.cd-t2 { top: 0; left: calc(50% + 64px); right: 0; height: 1px; }
.docked .cd-tm { transform: scaleX(0); }
.dock { position: fixed; z-index: 7; left: 50%; top: 6px; width: 58px; height: auto; opacity: 0; translate: -50% -6px; pointer-events: none;
  transition: opacity 500ms var(--ease-out), translate 500ms var(--ease-out), scale 160ms var(--ease-out); }
.docked .dock { opacity: 1; translate: -50% 0; pointer-events: auto; }
.dock:active { scale: .97; }
.dock:focus-visible { outline: 1px solid var(--or); outline-offset: 4px; }
/* au survol, l'emblème descend à sa place et le logo complet se dessine autour */
.dock-emb { position: relative; display: block; width: 100%; height: auto; transition: transform 480ms var(--ease-ink); }
.dock-txt { position: absolute; left: -24.1px; top: 0; width: 107.9px; max-width: none; height: auto; opacity: 0; transform: translateY(-4px); filter: blur(2px);
  transition: opacity 360ms var(--ease-out), transform 480ms var(--ease-ink), filter 360ms var(--ease-out); }
.dock-plate { position: absolute; left: 50%; top: -6px; width: 200px; height: 160px; margin-left: -100px; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 45%, var(--fond) 62%, rgba(246, 240, 232, 0)); transition: opacity 420ms var(--ease-out); }
.dock-open .dock-emb { transform: translateY(23.3px); transition-duration: 900ms; }
.dock-open .dock-txt { opacity: 1; transform: none; filter: none; transition-duration: 900ms, 1000ms, 900ms; transition-delay: 220ms; }
.dock-open .dock-plate { opacity: 1; transition-duration: 700ms; }
/* le logo complet s'affiche plus grand (agrandi depuis le filet du haut) */
.dock { transform-origin: 50% 0; }
.dock-open .dock { scale: 1.45; transition: opacity 500ms var(--ease-out), translate 500ms var(--ease-out), scale 900ms var(--ease-ink); }
.dock-open .dock:active { scale: 1.41; transition-duration: 500ms, 500ms, 160ms; }
/* bande crème sous le menu fixe, pour qu'il reste lisible au-dessus du contenu */
.hdr-bg { position: fixed; z-index: 9; left: 0; right: 0; top: 0; height: calc(124 * var(--u)); min-height: 96px; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, var(--fond) 60%, rgba(246, 240, 232, 0)); transition: opacity 500ms var(--ease-out); }
.docked .hdr-bg { opacity: 1; }
.cd-l { left: 0; top: 14px; bottom: 0; width: 1px; }
.cd-r { right: 0; top: 0; bottom: 16px; width: 1px; }
.cd-b1 { bottom: 0; left: 0; width: calc(50% - 55.5px); height: 1px; }
.cd-bm { bottom: 0; left: calc(50% - 55.5px); width: 111px; height: 1px; transform-origin: 50% 50%; transition: transform 500ms var(--ease-out); }
.cd-b2 { bottom: 0; left: calc(50% + 55.5px); right: 16px; height: 1px; }
.cd-hg, .cd-bd { position: absolute; width: 27px; height: 27px; }
.cd-hg { left: -9px; top: -9px; }
.cd-bd { right: -9px; bottom: -9px; }
.cta-on .cd-bm { transform: scaleX(0); }
.scroll-cta { position: fixed; z-index: 7; left: 50%; bottom: 5.8px; width: 96px; opacity: 0; translate: -50% 8px; pointer-events: none;
  transition: opacity 500ms var(--ease-out), translate 500ms var(--ease-out), scale 160ms var(--ease-out); }
.scroll-cta img { display: block; width: 100%; height: auto; animation: invite 2600ms cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes invite { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.cta-on .scroll-cta { opacity: 1; translate: -50% 0; pointer-events: auto; }
.cta-on .scroll-cta:hover { opacity: .75; }
.scroll-cta:active { scale: .97; }
.scroll-cta:focus-visible { outline: 1px solid var(--or); outline-offset: 4px; }
main { position: relative; z-index: 1; }

/* ---------- Accueil (100 % de la hauteur d'écran) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.hero nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-l, .nav-r { position: fixed; z-index: 10; top: calc(44 * var(--u)); font-size: max(10.5px, calc(11.5 * var(--u))); letter-spacing: .22em; text-transform: uppercase; gap: calc(33 * var(--u)); opacity: 0; transition: opacity 1000ms var(--ease-out) 1200ms; }
.is-ready .nav-l, .is-ready .nav-r { opacity: 1; }
.nav-l { left: calc(56 * var(--u)); }
.nav-r { right: calc(67 * var(--u) - .22em); }
nav a { color: var(--or); text-decoration: none; position: relative; display: inline-block; padding-block: 6px; }
nav a::after { content: ""; position: absolute; left: 0; right: .22em; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
nav a:hover::after, nav a[aria-current="true"]::after { transform: scaleX(1); }
.lang { display: flex; gap: calc(12 * var(--u)); }
.lang span { opacity: .6; }
.logo { position: absolute; left: 50%; top: calc(133 * var(--u)); width: calc(227 * var(--u)); height: auto; margin-left: calc(-113.5 * var(--u)); }
.hero h1 { position: absolute; left: 0; right: 0; top: calc(509 * var(--u)); margin: 0; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: calc(24 * var(--u)); line-height: calc(35.3 * var(--u)); letter-spacing: .1em; text-transform: uppercase; }
.hero .lead { position: absolute; left: 0; right: 0; top: calc(620 * var(--u)); margin: 0; text-align: center; font-size: max(14px, calc(16 * var(--u))); letter-spacing: .03em; text-wrap: balance; }

/* ---------- Récit ---------- */
.story { position: relative; width: calc(1440 * var(--w)); margin-inline: auto; height: calc(var(--h, 3800) * var(--w)); }
.abs { position: absolute; left: calc(var(--x) * var(--w)); top: calc(var(--y) * var(--w)); width: calc(var(--wd) * var(--w)); }
.abs[style*="--ht"] { height: calc(var(--ht) * var(--w)); }
.t-mythe { font-family: var(--f-display); font-weight: 600; font-size: calc(24 * var(--w)); line-height: calc(35.3 * var(--w)); letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.t-chard { font-family: var(--f-display); font-weight: 600; font-size: calc(22 * var(--w)); line-height: calc(35.3 * var(--w)); letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.t-reims { position: absolute; left: 0; right: 0; top: calc(1806 * var(--w)); margin: 0; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: calc(23 * var(--w)); line-height: calc(35.3 * var(--w)); letter-spacing: .1em; text-transform: uppercase; }
.t-reims-sous { position: absolute; left: 0; right: 0; top: calc(1851 * var(--w)); margin: 0; text-align: center; font-size: max(14px, calc(16 * var(--w))); line-height: 1.7; letter-spacing: .03em; text-wrap: balance; }
.t-para { font-size: max(14px, calc(15.5 * var(--w))); line-height: 1.7; letter-spacing: .02em; margin: 0; color: var(--or); }
.label { position: absolute; left: 0; right: 0; top: calc(2183 * var(--w)); text-align: center; font-size: max(9px, calc(10 * var(--w))); letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.photo { overflow: hidden; }
.photo canvas, .photo img.fallback { width: 100%; height: 100%; display: block; object-fit: cover; }
.arche { border-radius: calc(171 * var(--w)); }
.orn { pointer-events: none; }
.orn img { width: 100%; height: 100%; }
.will-blot { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.px { will-change: transform; }

/* ---------- Texte « encre » : chaque lettre s'imprègne comme une goutte sur un buvard ---------- */
.ink .w { display: inline-block; white-space: nowrap; }
/* seulement opacité et transformation (calculées par la carte graphique) : un flou animé sur chaque lettre faisait saccader le défilement */
.ink .c { display: inline-block; opacity: 0; transform: translateY(.06em) scale(1.35, 1.12); transform-origin: 50% 70%;
  transition: opacity 1100ms var(--ease-ink) var(--d, 0ms), transform 1300ms var(--ease-ink) var(--d, 0ms); }
.ink.inked .c { opacity: 1; transform: none; }
.ink-l .c { filter: blur(.16em); transition: opacity 1000ms var(--ease-ink) var(--d, 0ms), filter 1300ms var(--ease-ink) var(--d, 0ms), transform 1300ms var(--ease-ink) var(--d, 0ms); }
.ink-l.inked .c { filter: blur(0); }
.ink-w .w { filter: blur(.14em); transition: filter 1300ms var(--ease-ink) var(--d, 0ms); }
.ink-w.inked .w { filter: blur(0); }
.ink.dry .w { filter: none; transition: none; }
.ink .ci { display: inline-block; }
.ink.dry .c { filter: none; transform: none; transition: none; }

/* ---------- Suite de la maquette ---------- */
.center { text-align: center; }
.right { text-align: right; }
p, dd { text-wrap: pretty; }
.t-sous { font-size: max(14px, calc(16 * var(--w))); line-height: 1.7; letter-spacing: .03em; margin: 0; text-wrap: balance; }
.cap { font-size: max(9px, calc(10 * var(--w))); letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.arch-frame { box-sizing: border-box; border: 1px solid var(--or); border-radius: calc(145 * var(--w)); }
.arch-in { border-radius: calc(120 * var(--w)); }
.embleme { object-fit: contain; }
.stair { width: max-content !important; }
.stair p { white-space: nowrap; }
.fr-line { overflow: visible; pointer-events: none; }
.fr-line path { fill: none; stroke: var(--or); stroke-width: 1.2; stroke-dasharray: 0 100000; }
.fr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(39 * var(--w)); }
/* repères : ancre sans taille posée sur le trait ; chaque variante s'anime quand le trait l'atteint */
.fr-dot { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.fr-mk { position: absolute; left: calc(-30 * var(--w)); top: calc(-15 * var(--w)); width: calc(60 * var(--w)); height: calc(30 * var(--w)); overflow: visible; }
.fr-mk .mk-a { fill: var(--fond); stroke: var(--or); stroke-width: 1; transform-box: view-box; transform-origin: 30px 15px; transform: scale(.2); opacity: 0;
  transition: transform 800ms var(--ease-out), opacity 500ms var(--ease-out); }
.on .fr-mk .mk-a { transform: none; opacity: 1; }

.fr-lab { font-size: max(10px, calc(12.2 * var(--w))); line-height: 1; letter-spacing: .156em; text-transform: uppercase; margin: 0 0 calc(12 * var(--w)); }
.fr-e .t-para { margin: 0; }
.frise-ph { border-radius: calc(185 * var(--w)); }

/* ---------- Nos cuvées : arches (le fond révélé au survol reste sous l'arche) ---------- */
.cuvees { position: relative; width: calc(1440 * var(--w)); margin-inline: auto; padding: calc(300 * var(--w)) 0 calc(130 * var(--w)); }
/* pied de page */
.pied { position: relative; width: calc(1440 * var(--w)); margin-inline: auto; padding: calc(126 * var(--w)) 0 calc(56 * var(--w)); text-align: center; display: flex; flex-direction: column; align-items: center; }
.pied-logo { width: calc(150 * var(--w)); height: auto; }
.pied-mid { width: max-content; min-width: calc(760 * var(--w)); display: flex; flex-direction: column; }
.pied-filet { display: flex; align-items: center; gap: calc(9 * var(--w)); margin-top: calc(40 * var(--w)); }
.pied-filet i { flex: 1; height: 1px; background: var(--or); }
.pied-filet img { width: calc(30 * var(--w)); min-width: 24px; height: auto; transform: rotate(45deg); }
.pied .ink:not(.inked) a { background-size: 0 1px; }
.pied-cols { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: calc(26 * var(--w)); }
.pied-col { min-width: calc(261 * var(--w)); padding-inline: calc(16 * var(--w)); box-sizing: border-box; }
.pied-col p { margin: 0; }
.pied-v { white-space: nowrap; margin-top: calc(10 * var(--w)) !important; font-size: max(14px, calc(14.7 * var(--w))); line-height: 1.6; letter-spacing: .06em; }
.pied a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size 300ms var(--ease-out), opacity 300ms var(--ease-out); }
.pied a:hover { background-size: 0 1px; background-position: 100% 100%; }
.pied a:focus-visible { outline: 1px solid var(--or); outline-offset: 3px; }
.pied-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(28 * var(--w)); margin: calc(120 * var(--w)) 0 0; font-size: max(9.5px, calc(10.6 * var(--w))); letter-spacing: .2em; text-transform: uppercase; }
.pied-evin { margin: calc(24 * var(--w)) 0 0; font-size: max(9.5px, calc(10.6 * var(--w))); letter-spacing: .2em; text-transform: uppercase; }
.cuv-grid { display: flex; justify-content: center; gap: calc(69 * var(--w)); margin-top: calc(96 * var(--w)); }
.cuv-col { width: calc(374 * var(--w)); display: flex; flex-direction: column; gap: calc(48 * var(--w)); }
.cuv-col-b { margin-top: calc(150 * var(--w)); gap: calc(56 * var(--w)); }
.cuvee { position: relative; box-sizing: border-box; border: 0; border-radius: calc(187 * var(--w));
  padding: calc(30 * var(--w)) calc(38 * var(--w)) 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cuvee::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--or); border-radius: inherit; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse calc(50 * var(--w)) calc(16 * var(--w)) at 50% 100%, transparent 98%, #000 100%); mask-image: radial-gradient(ellipse calc(50 * var(--w)) calc(16 * var(--w)) at 50% 100%, transparent 98%, #000 100%); }
.cuv-btl { width: calc(87 * var(--w)); height: calc(240 * var(--w)); object-fit: contain; }
.cuvee .cap { margin-top: calc(18 * var(--w)); }
.cuv-nom { font-family: var(--f-display); font-weight: 600; font-size: calc(16 * var(--w)); line-height: calc(24 * var(--w)); letter-spacing: .14em; text-transform: uppercase; margin: calc(12 * var(--w)) 0 0; }
.cuvee .cuv-sous { margin-top: calc(10 * var(--w)); }
.cuv-txt { width: calc(240 * var(--w)); font-size: max(12px, calc(13 * var(--w))); line-height: calc(22 * var(--w)); letter-spacing: .06em; margin: calc(18 * var(--w)) 0 0; }
.cuv-fiche { align-self: stretch; margin: calc(22 * var(--w)) 0 0; border-bottom: 1px solid var(--or); text-align: left; }
.fi-r { display: flex; justify-content: space-between; align-items: baseline; gap: calc(16 * var(--w)); border-top: 1px solid var(--or); padding: calc(10 * var(--w)) 0 calc(10 * var(--w)); }
.fi-r dt { font-size: max(8.5px, calc(9 * var(--w))); letter-spacing: .2em; text-transform: uppercase; }
.fi-r dd { margin: 0; max-width: calc(150 * var(--w)); text-align: right; font-size: max(11px, calc(12.2 * var(--w))); line-height: 1.45; letter-spacing: .06em; }
.cuv-cta { display: block; width: calc(88 * var(--w)); margin: calc(88 * var(--w)) 0 calc(-8.9 * var(--w)); transition: transform 160ms var(--ease-out); }
.cuv-cta svg { display: block; width: 100%; height: auto; overflow: visible; fill: var(--or); }
.cuv-cta .dc-t, .cuv-cta .dc-f { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 650ms var(--ease-ink), opacity 650ms var(--ease-ink); }
.cuv-cta:hover .dc-t, .cuv-cta:focus-visible .dc-t { transform: translateY(-2.5px); }
.cuv-cta:hover .dc-f, .cuv-cta:focus-visible .dc-f { transform: scale(1.08, 1.12); }
/* au survol de l'arche : la bouteille se soulève, une branche de vigne pousse depuis l'angle */
@property --pousse { syntax: '<length>'; inherits: false; initial-value: 0px; }
.cuv-btl { transition: transform 900ms var(--ease-ink); }
.cuvee:hover .cuv-btl { transform: translateY(calc(-8 * var(--w))); }
.cuv-orn { position: absolute; width: calc(168.2 * var(--w)); height: calc(204.4 * var(--w)); fill: var(--or); pointer-events: none; overflow: visible;
  -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 var(--pousse), transparent calc(var(--pousse) + 60px)); mask-image: radial-gradient(circle at 100% 100%, #000 var(--pousse), transparent calc(var(--pousse) + 60px));
  --pousse: 0px; opacity: 0; transition: --pousse 700ms var(--ease-out), opacity 500ms var(--ease-out); }
.cuvee:hover .cuv-orn { --pousse: calc(300 * var(--w)); opacity: 1; transition: --pousse 1500ms var(--ease-ink), opacity 300ms var(--ease-out); }
.co-1 { left: calc(-61.6 * var(--w)); top: calc(-78.6 * var(--w)); }
.co-2 { left: calc(289.6 * var(--w)); top: calc(-87.7 * var(--w)); transform: rotate(90deg); }
.co-3 { left: calc(-103.5 * var(--w)); bottom: calc(-122.7 * var(--w)); transform: rotate(-90deg); }
.co-4 { left: calc(308.4 * var(--w)); bottom: calc(-126.9 * var(--w)); transform: rotate(180deg); }
@media (hover: none) { .cuv-orn { display: none; } }
.cuv-cta:active { transform: scale(.97); }
.cuv-cta:focus-visible { outline: 1px solid var(--or); outline-offset: 4px; }


/* ---------- Petits écrans : récit en colonne ---------- */
.fxsel { position: fixed; z-index: 7; left: calc(max(14px, env(safe-area-inset-left, 0px)) + 14px); bottom: calc(env(safe-area-inset-bottom, 0px) + 26px);
  display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--or);
  background: rgba(246, 240, 232, .92); border: 1px solid rgba(150, 130, 89, .5); padding: 6px 6px 6px 12px; }
.fxsel div { display: flex; border: 1px solid rgba(150, 130, 89, .5); }
.fxsel span + span, .fxsel div + span { margin-left: 8px; }
#txtgl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
html.txt4 .ink.inked .ci { opacity: .32; transition: opacity 600ms var(--ease-out); }
.ink.gl-on .ci { color: transparent !important; text-shadow: none !important; }
.fxsel button { font: inherit; letter-spacing: .1em; color: var(--or); background: none; border: 0; padding: 6px 10px; cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.fxsel button + button { border-left: 1px solid rgba(150, 130, 89, .5); }
.fxsel button[aria-pressed="true"] { background: var(--or); color: var(--fond); }
.fxsel button:active { transform: scale(.97); }
.fxsel button:focus-visible { outline: 1px solid var(--or); outline-offset: 2px; }
@media (hover: none) { .fxsel { display: none; } }
@media (max-width: 900px) {
  :root { --u: 1px; --w: 1px; }
  .hero .nav-l { display: none; }
  .nav-r { right: 34px; top: 30px; font-size: 11px; }
  .nav-r li:first-child { transition: opacity 260ms var(--ease-out); }
  .docked .nav-r li:first-child { opacity: 0; pointer-events: none; }
  .logo { top: 90px; width: 180px; margin-left: -90px; }
  .hero h1 { top: auto; bottom: 30vh; padding: 0 30px; font-size: 20px; line-height: 31px; text-wrap: balance; }
  .hero .lead { top: auto; bottom: calc(30vh - 50px); padding: 0 30px; font-size: 15px; }
  .story { width: auto; height: auto; display: flex; flex-direction: column; gap: 56px; padding: 40px max(34px, env(safe-area-inset-right, 0px)) 120px max(34px, env(safe-area-inset-left, 0px)); }
  .abs, .label, .t-reims, .t-reims-sous { position: relative; left: auto; top: auto; width: auto; height: auto !important; }
  .t-mythe { font-size: 21px; line-height: 31px; }
  .t-chard { font-size: 20px; line-height: 31px; }
  .t-reims { font-size: 20px; line-height: 31px; margin-top: 40px; }
  .t-reims-sous { font-size: 15px; margin-top: -36px; }
  .t-para { font-size: 15px; line-height: 1.7; }
  .photo { width: 100%; aspect-ratio: 4 / 5; }
  .arche { width: 78%; align-self: flex-end; border-radius: 999px; }
  .couchant { width: 70%; }
  .paysage { aspect-ratio: 1 / 1; }
  .orn { display: none; }
  .t-sous { font-size: 15px; margin-top: -30px; }
  .cap, .cap.right { font-size: 10px; text-align: left; }
  .right { text-align: left; }
  .arch-frame { width: 74%; aspect-ratio: 290 / 430; padding: 8.6%; border-radius: 999px; }
  .arch-frame .photo { width: 100%; aspect-ratio: 240 / 380; border-radius: 999px; }
  .pf-cap, .pf-cap.center { width: 74%; text-align: center; margin-bottom: -42px; }
  .pf-2, .af-2 { align-self: flex-end; }
  .pf-2 { margin-top: -30px; }
  .photo.duo-m { aspect-ratio: 562 / 360; }
  .photo.futs { aspect-ratio: 683 / 446; }
  .photo.panier { width: 72%; align-self: flex-end; aspect-ratio: 440 / 446; margin-top: -30px; }
  .embleme { width: 110px; align-self: center; }
  .stair { width: auto !important; }
  .stair p { white-space: normal; }
  .fr-line, .fr-dot { display: none !important; }
  .fr-list { gap: 30px; }
  .photo.frise-ph { border-radius: 999px; }
  .cuvees { width: auto; padding: 70px 34px 110px; }
  .cuv-grid { flex-direction: column; align-items: center; gap: 48px; margin-top: 44px; }
  .cuv-col, .cuv-col-b { display: contents; }
  .cuvee { order: var(--o); width: min(374px, 100%); }
  .cuvee { border-radius: 999px; padding: 40px 30px 0; }
  .cuvee::before { -webkit-mask-image: radial-gradient(ellipse 50px 16px at 50% 100%, transparent 98%, #000 100%); mask-image: radial-gradient(ellipse 50px 16px at 50% 100%, transparent 98%, #000 100%); }
  .cuv-btl { width: 92px; height: 254px; }
  .cuvee .cap { margin-top: 20px; }
  .cuv-nom { font-size: 17px; line-height: 26px; margin-top: 10px; }
  .cuvee .cuv-sous { margin-top: 12px; }
  .cuv-txt { width: auto; max-width: 260px; font-size: 14px; line-height: 23px; margin-top: 18px; }
  .cuv-fiche { margin-top: 24px; }
  .fi-r { padding: 12px 0; }
  .fi-r dt { font-size: 10px; }
  .fi-r dd { max-width: 150px; font-size: 13px; }
  .cuv-cta { width: 88px; margin: 84px 0 -8.9px; }
  .cuv-orn { display: none; }
  .pied { width: auto; padding: 30px 34px 70px; }
  .pied-logo { width: 120px; }
  .pied-mid { width: 100%; min-width: 0; }
  .pied-filet { margin-top: 30px; }
  .pied-cols { grid-auto-flow: row; gap: 22px; margin-top: 26px; }
  .pied-col { min-width: 0; padding: 0; }
  .pied-v { font-size: 15px; }
  .pied-legal { gap: 10px 20px; margin-top: 50px; font-size: 10px; }
  .pied-evin { font-size: 10px; line-height: 1.7; }
  .photo.frise-ph { width: 70%; aspect-ratio: 369 / 884; max-height: 80vh; align-self: flex-end; }
  .l2 { margin-top: -56px; }
  .br-d { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ink .c, .ink .w { transition: none; }
  .nav-l, .nav-r { transition: none; }
  .scroll-cta img { animation: none; }
  .cuv-btl, .cuv-orn, .cuv-cta .dc-t, .cuv-cta .dc-f { transition: none; }
  .scroll-cta, .cd-bm, .cd-tm, .cd-ta, .cd-tb, .dock, .dock-emb, .dock-txt, .dock-plate, .hdr-bg { transition: none; }
}

/* retours du 17 nov. : grappe en ovale sous « Ensemble pour préserver le précieux », ancres sous le menu */
.grappe { border-radius: calc(130 * var(--w)); }
@media (max-width: 900px) { .stair p, .fam-titre p { text-wrap: balance; } }
[id] { scroll-margin-top: 150px; }
@media (max-width: 900px) { .photo.grappe { width: 62%; aspect-ratio: 260 / 412; align-self: center; border-radius: 999px; } }

/* bloc « Une histoire de famille » plus aéré : deux temps, texte centré verticalement sur la photo */
.fam-titre p { white-space: nowrap; }
.filet-v { display: block; background: var(--or); }
.fam-txt { display: flex; flex-direction: column; justify-content: center; }
.fam-txt2 .t-mythe { margin-top: calc(40 * var(--w)); white-space: nowrap; }
.fam-txt2 .t-para { max-width: calc(500 * var(--w)); }
.fam-txt2 .t-mythe + .t-para { margin-top: calc(40 * var(--w)); }
@media (max-width: 900px) {
  .fam-titre p { white-space: normal; }
  .cap.fam-head { text-align: center; }
  .filet-v { display: none; }
  .fam-txt2 .t-mythe { margin-top: 28px; white-space: normal; text-wrap: balance; }
  .fam-txt2 .t-para { max-width: none; }
  .fam-txt2 .t-mythe + .t-para { margin-top: 28px; }
  .photo.panier2 { width: 82%; aspect-ratio: 440 / 520; }
  .cap.fam-cap { margin-top: -42px; }
  .cap.right.fam-cap { text-align: right; }
}

/* ---------- Volet latéral des cuvées ---------- */
button.cuv-cta { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.cv-scrim { position: fixed; inset: 0; z-index: 30; background: rgba(105, 91, 63, .22); opacity: 0; pointer-events: none; transition: opacity 240ms var(--ease-out); }
.cv-open .cv-scrim { opacity: 1; pointer-events: auto; }
.cv-panel { position: fixed; z-index: 31; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); box-sizing: border-box; background: var(--fond); border-left: 1px solid var(--or); color: var(--or);
  overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden;
  transition: transform 280ms var(--ease-out), visibility 0s linear 280ms; }
.cv-open .cv-panel { transform: none; visibility: visible; transition: transform 280ms var(--ease-out), visibility 0s; }
.cv-in { position: relative; margin: 16px; min-height: calc(100% - 32px); box-sizing: border-box; border: 1px solid rgba(150, 130, 89, .55); padding: 64px 44px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cv-close { position: absolute; top: 10px; right: 10px; min-width: 44px; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: none; border: 0; cursor: pointer; color: var(--or);
  font: inherit; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; transition: transform 160ms var(--ease-out); }
.cv-close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.2; }
.cv-close:active { transform: scale(.97); }
.cv-close:focus-visible, .cv-pdf:focus-visible { outline: 1px solid var(--or); outline-offset: 3px; }
.cv-btl { width: 104px; height: 288px; object-fit: contain; }
.cv-in .cap { margin-top: 22px; }
.cv-nom { font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; margin: 10px 0 0; text-wrap: balance; }
.cv-sous { margin-top: 10px !important; }
.cv-txt { max-width: 380px; font-size: 15px; line-height: 1.7; letter-spacing: .03em; margin: 20px 0 0; text-wrap: pretty; }
.cv-sec { align-self: stretch; margin-top: 34px; text-align: left; }
.cv-sec h3 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.cv-sec dl { margin: 0; border-bottom: 1px solid var(--or); }
.cv-sec .fi-r dt { font-size: 9.5px; }
.cv-sec .fi-r dd { max-width: 260px; font-size: 13px; }
.cv-sec .fi-r.lng { display: block; }
.cv-sec .fi-r.lng dd { max-width: none; margin-top: 8px; text-align: left; font-size: 14px; line-height: 1.7; letter-spacing: .03em; text-wrap: pretty; }
.cv-sec .cv-p { margin: 0; padding: 14px 0; border-top: 1px solid var(--or); border-bottom: 1px solid var(--or); text-align: left; font-size: 14px; line-height: 1.7; letter-spacing: .03em; text-wrap: pretty; }
.cv-todo { opacity: .55; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.cv-pdf { margin-top: 40px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 22px; border: 1px solid var(--or); color: var(--or); text-decoration: none;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.cv-pdf svg { width: 12px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.cv-pdf:hover { background: var(--or); color: var(--fond); }
.cv-pdf:active { transform: scale(.97); }
.cv-pdf small { font-size: 9px; letter-spacing: .2em; opacity: .75; }
@media (max-width: 900px) {
  .cv-panel { border-left: 0; }
  .cv-in { margin: 10px; min-height: calc(100% - 20px); padding: 60px 22px 32px; }
  .cv-sec .fi-r dd { max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) { .cv-scrim, .cv-panel, .cv-open .cv-panel, .cv-close, .cv-pdf { transition: none; } }

/* ---------- Version mobile retravaillée (23 nov.) ---------- */
@media (max-width: 900px) {
  /* en-tête : « Contact » à gauche, langues à droite ; plus rien ne passe sur le logo */
  .nav-r { left: 40px; right: 34px; justify-content: space-between; pointer-events: none; }
  .nav-r a { pointer-events: auto; }
  .docked .nav-r li:first-child { opacity: 1; pointer-events: auto; }
  /* grands titres : le texte s'enchaîne et se répartit en lignes équilibrées, sans coupures de la version ordinateur */
  .t-mythe br, .t-chard br { display: none; }
  .t-mythe, .t-chard { font-size: 20px; line-height: 30px; }
  .stair p, .fam-titre p { display: inline; }
  .stair, .fam-titre, .t-mythe, .t-chard, .t-reims { text-wrap: balance; }
  .fam-titre { text-align: center; }
  /* portraits : le cadre épouse la photo (marge régulière tout autour), sur tous les navigateurs */
  .arch-frame { aspect-ratio: auto; padding: 20px; width: 72%; }
  .arch-frame .photo { aspect-ratio: 240 / 380; }
  /* photos un peu plus présentes */
  .couchant { width: 84%; }
  .photo.panier2 { width: 86%; }
  .photo.grappe { width: 68%; }
  .arche { width: 84%; }
  /* pied de page : intitulés centrés comme les coordonnées */
  .pied-col .cap { text-align: center; }
}

/* ---------- Version mobile : retours du 23 nov. ---------- */
@media (max-width: 900px) {
  /* tout est centré */
  .story { gap: 36px; text-align: center; }
  .story .t-mythe, .story .t-chard, .story .t-para, .story .cap, .story .right, .story .label, .fr-list, .fr-lab { text-align: center; }
  .story > * { align-self: center; }
  .fam-txt, .fam-txt2 { align-items: center; }
  /* espacements resserrés : sous-titre, titre et texte vont ensemble */
  .story > .cap + .t-mythe, .story > .cap + .fam-titre { margin-top: -16px; }
  .story > .t-mythe + .t-para, .story > .t-chard + .t-para { margin-top: -14px; }
  .t-reims { margin-top: 0; }
  .t-reims-sous { margin-top: -18px; }
  .l2 { margin-top: -36px; }
  .label { margin-bottom: -22px; }
  .story > .photo + .cap, .cap.fam-cap { margin-top: -22px; }
  .pf-cap, .pf-cap.center { margin-bottom: -22px; }
  .pf-2 { margin-top: -6px; }
  .fam-txt2 .t-mythe, .fam-txt2 .t-mythe + .t-para { margin-top: 22px; }
  .fr-lab { margin-bottom: 8px; }
  /* photos centrées, plus grandes, rien de coupé */
  .photo { position: relative; }
  .photo canvas, .photo img.fallback { position: absolute; inset: 0; }
  .arche, .grappe, .frise-ph, .arch-frame .photo { -webkit-clip-path: inset(0 round 999px); clip-path: inset(0 round 999px); }
  .arche { width: 84%; }
  .couchant { width: 84%; }
  .paysage { aspect-ratio: 2400 / 2812; }
  .photo.futs, .photo.panier2 { width: 100%; aspect-ratio: 4 / 5; }
  .photo.grappe { width: 74%; }
  .photo.frise-ph { width: 86%; aspect-ratio: 3 / 4; max-height: none; }
  .arch-frame, .af-2, .pf-2 { align-self: center; }
}

/* ---------- Paragraphes : l'encre arrive mot par mot (même flou, même mouvement, même rythme ; les titres gardent
   la lettre par lettre). Déc. 2026 : aussi sur ordinateur — mesuré sur le PC de Joris, premier défilement complet :
   204 images saccadées → 7 (environ 350 lettres animées à la fois dans la seconde moitié de la page, chacune sur
   son propre calque) ---------- */
.ink-w .c { opacity: 1; transform: none; transition: none; }
.ink-w .w { opacity: 0; transform: translateY(.06em) scale(1.05, 1.03); transform-origin: 50% 70%;
  transition: opacity 1000ms var(--ease-ink) var(--d, 0ms), filter 1300ms var(--ease-ink) var(--d, 0ms), transform 1300ms var(--ease-ink) var(--d, 0ms); }
.ink-w.inked .w { opacity: 1; transform: none; }
.ink.dry .w { opacity: 1; transform: none; filter: none; transition: none; }
/* ---------- Téléphone ---------- */
@media (hover: none) {
  .px { will-change: auto; }
  /* textes courants : sans flou (le flou animé coûte cher au téléphone) ; les titres le gardent */
  .ink-w:not(h1, h2, .t-mythe, .t-chard, .t-reims, .cuv-nom) .w { filter: none; }
}
@media (max-width: 900px) {
  .photo.frise-ph { align-self: center; }
}

/* ---------- Encre : lettres armées seulement à l'approche de l'écran ---------- */
.ink:not(.near):not(.inked) { visibility: hidden; }
.ink:not(.near):not(.inked) .c, .ink:not(.near):not(.inked) .w { opacity: 1; transform: none; filter: none; transition: none; }
.ink.nt .c, .ink.nt .w { transition: none !important; }

/* ====================================================================================================
   Ajouts du site (hors maquette), dans le même langage graphique
   ==================================================================================================== */
/* Bouton « Découvrir » en anglais : le mot dessiné de la maquette est en français ; en attendant un « Discover »
   dessiné dans le même style (à demander à Justine), le mot est écrit en Josefin Slab, dans le même cadre. */
.cuv-cta .dc-mot { font-family: var(--f-display); font-weight: 600; font-size: 15.5px; letter-spacing: .14em; }

/* Volet des cuvées : lien de la fiche technique PDF (admin › Cuvées) */
.cv-pdf { align-self: center; margin-top: 34px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--or);
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: opacity 200ms var(--ease-out); }
.cv-pdf:hover { opacity: .7; }
.cv-pdf:focus-visible { outline: 1px solid var(--or); outline-offset: 4px; }

/* Pages légales, page introuvable, page d'essai du formulaire : texte sobre dans le cadre fin */
body.page-texte::before { content: ''; position: fixed; inset: 15px; border: 1px solid var(--or); pointer-events: none; z-index: 5; }
.tx-tete { display: flex; justify-content: center; padding: 64px 24px 0; }
.tx-tete img { width: 132px; height: auto; }
.tx { max-width: 760px; margin: 0 auto; padding: 48px 32px 40px; box-sizing: border-box; line-height: 1.65; font-size: 15px; }
.tx h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 4vw, 36px); letter-spacing: .06em; text-align: center; margin: 0 0 40px; }
.tx h2, .tx h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: .06em; margin: 36px 0 10px; }
.tx a { color: var(--or); }
.tx-retour { margin-top: 48px; text-align: center; }
.tx-note { font-size: 13px; border: 1px solid var(--or); padding: 12px 16px; margin: 0 0 32px; }
.tx-pied { padding: 0 24px 56px; text-align: center; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.tx-pied p { margin: 0 0 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.tx-pied a { color: var(--or); text-decoration: none; }
.tx-pied p:last-child { text-transform: none; letter-spacing: .04em; font-size: 12px; }
