/* Château d'Orsange — noir, or champagne, ivoire.
   Bodoni Moda pour les titres, Manrope pour le texte et la navigation.
   La scène (bouteille) est fixe au fond ; les chapitres .chap défilent par-dessus, transparents ;
   les sections de photographies .plein la recouvrent. */
:root {
  --noir: #101010;
  --charbon: #262626;
  --or: #BA9B60;
  --ivoire: #F2EBDD;
  --bronze: #776443;
  --texte: rgba(242, 235, 221, .74);
  --filet: rgba(186, 155, 96, .28);
  --serif: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
  --sans: Manrope, 'Helvetica Neue', Arial, sans-serif;
  --gout: clamp(1.25rem, 7.2vw, 8.5rem);
  --lent: cubic-bezier(.22, .61, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--noir); color: var(--ivoire); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 300 1rem/1.75 var(--sans); letter-spacing: .012em; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
:focus-visible { outline: 1px solid var(--or); outline-offset: 5px; }
::selection { background: var(--or); color: var(--noir); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evite { position: fixed; left: 1rem; top: 1rem; z-index: 200; padding: .7rem 1.1rem; background: var(--ivoire); color: var(--noir); font-weight: 500; transform: translateY(-300%); }
.evite:focus { transform: none; }

/* petites capitales espacées : navigation, pagination, étiquettes de fiche */
.menu a, .marque span, .marge a, .menu-btn, .fiche dt, .principes dt, .mesures dt, .etiq, .accueil-g, .defiler, .g-rang, .prof, .chiffres dt, .champ label, .envoyer, .pied-liens a, .pied-lieu, .geste-aide, .pause, .credits summary {
  font: 500 .6875rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase;
}

/* ------------------------------------------------------------------ rideau d'ouverture */
.rideau { display: none; }
.js .rideau { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 1.6rem; background: var(--noir); color: var(--or); transition: opacity 1.4s var(--lent), visibility 0s 1.4s; }
.js.is-ready .rideau, .js.is-late .rideau { opacity: 0; visibility: hidden; pointer-events: none; }
.rideau-fil { width: 7rem; height: 1px; background: rgba(186, 155, 96, .2); overflow: hidden; }
.rideau-fil i { display: block; height: 100%; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--lent); }

/* ------------------------------------------------------------------ en-tête */
.tete { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem clamp(1.25rem, 2.6vw, 2.75rem); pointer-events: none; }
.tete::before { content: ''; position: absolute; inset: 0 0 -2rem 0; background: linear-gradient(rgba(16, 16, 16, .97), rgba(16, 16, 16, .9) 45%, rgba(16, 16, 16, 0)); z-index: -1; }
.tete > * { pointer-events: auto; }
.marque { display: flex; align-items: center; gap: .9rem; color: var(--ivoire); }
.marque svg { color: var(--or); }
.marque span { letter-spacing: .42em; font-size: .75rem; }
.menu ul { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.menu a { display: inline-block; padding: .5rem 0; color: rgba(242, 235, 221, .78); transition: color .4s; position: relative; }
.menu a::after { content: ''; position: absolute; left: 0; right: .26em; bottom: .2rem; height: 1px; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--lent); }
.menu a:hover, .menu a:focus-visible { color: var(--ivoire); }
.menu a:hover::after, .menu a:focus-visible::after { transform: scaleX(1); }
.menu-visite { margin-left: clamp(.5rem, 2vw, 2.5rem); }
.menu-visite a { color: var(--or); }
.menu-visite a::after { transform: scaleX(1); opacity: .5; }
.menu-btn { display: none; }

/* ------------------------------------------------------------------ pagination en marge */
.marge { position: fixed; left: clamp(1.25rem, 2.6vw, 2.75rem); top: 50%; z-index: 25; transform: translateY(-50%); }
.marge ol { display: grid; gap: .35rem; }
.marge a { display: flex; align-items: center; gap: .9rem; padding: .32rem 0; color: rgba(242, 235, 221, .5); transition: color .5s; }
.marge .n { position: relative; padding-bottom: .3rem; letter-spacing: .18em; }
.marge .n::after { content: ''; position: absolute; left: 0; bottom: 0; width: 1.05rem; height: 1px; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--lent); }
.marge .t { opacity: 0; transform: translateX(-.4rem); transition: opacity .5s, transform .6s var(--lent); white-space: nowrap; font-size: .625rem; }
.marge a.is-on { color: var(--ivoire); }
.marge a.is-on .n::after { transform: scaleX(1); }
.marge a:hover, .marge a:focus-visible { color: var(--ivoire); }
.marge a:hover .t, .marge a:focus-visible .t { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ la scène */
.scene { position: fixed; inset: 0; z-index: 1; overflow: hidden; }
#scene { display: none; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; outline-offset: -6px; }
.is-3d #scene { display: block; }
.is-dragging #scene { cursor: grabbing; }
.fixe { display: none; position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none; translate: -50% 0; transform-origin: 50% 50%; opacity: 0; will-change: transform, opacity; pointer-events: none; }
.is-static .fixe { display: block; }
.is-static .scene { pointer-events: none; }
/* sans JavaScript : la bouteille reste en haut de page, à sa place */
html:not(.js) .scene { position: absolute; height: 100svh; }
html:not(.js) .fixe { display: block; opacity: 1; top: 20%; height: 62%; }

/* ------------------------------------------------------------------ chapitres autour de la bouteille */
.chap { position: relative; min-height: 118svh; display: grid; align-items: center; padding: 7rem var(--gout); pointer-events: none; }
.chap .bloc { position: relative; z-index: 2; max-width: 26.5rem; pointer-events: auto; will-change: opacity; }
.chap.gauche .bloc { justify-self: start; }
.chap.droite .bloc { justify-self: end; }
.chap.large-bloc .bloc { max-width: 33rem; }
.chap.detail { min-height: 105svh; }
#maison, #cuvees { min-height: 136svh; }
.titre { font: 400 clamp(2.1rem, 3.5vw, 3.7rem)/1.1 var(--serif); letter-spacing: .005em; color: var(--ivoire); text-wrap: balance; }
.titre-3 { font: 400 clamp(1.8rem, 2.6vw, 2.6rem)/1.15 var(--serif); }
.bloc > p { margin-top: 1.5rem; color: var(--texte); max-width: 60ch; }
.bloc > .titre + p { margin-top: 2rem; }

/* 1. accueil */
.accueil { min-height: 100svh; padding: 0; display: block; --fs: clamp(4.6rem, 17.4vw, 21rem); }
.nom { position: absolute; left: 0; right: 0; bottom: calc(70.5svh - var(--fs) * .4); text-align: center; font-weight: 400; pointer-events: none; }
.nom-pre { display: block; position: relative; z-index: 2; margin-bottom: clamp(.9rem, 2.2vh, 1.6rem); font: italic 400 clamp(1rem, 1.35vw, 1.35rem)/1 var(--serif); letter-spacing: .08em; color: var(--or); }
.nom-mot { display: block; position: relative; z-index: 0; font: 400 var(--fs)/.8 var(--serif); letter-spacing: .035em; text-transform: uppercase; color: var(--ivoire); white-space: nowrap; }
.accueil-g, .accueil-d, .defiler { position: absolute; z-index: 2; pointer-events: auto; }
.accueil-g { left: var(--gout); bottom: clamp(2.2rem, 7vh, 4.5rem); display: grid; gap: .5rem; color: var(--ivoire); }
.accueil-g span + span { color: var(--or); }
.accueil-d { right: var(--gout); bottom: clamp(2.2rem, 7vh, 4.5rem); max-width: 15rem; text-align: right; font: italic 400 1.2rem/1.45 var(--serif); color: var(--ivoire); }
.defiler { left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: grid; justify-items: center; gap: .8rem; color: rgba(242, 235, 221, .8); padding: .4rem 1rem; }
.defiler i { width: 1px; height: 2.6rem; background: linear-gradient(var(--or), rgba(186, 155, 96, 0)); }
.js .nom-pre, .js .nom-mot, .js .accueil-g, .js .accueil-d, .js .defiler { opacity: 0; transition: opacity 2.6s var(--lent); }
.js.is-lit .nom-pre, .js.is-lit .accueil-g, .js.is-lit .accueil-d, .js.is-lit .defiler { opacity: 1; }
.js.is-lit .nom-mot { opacity: .92; }
.js.is-lit .accueil-g { transition-delay: .5s; } .js.is-lit .accueil-d { transition-delay: .9s; } .js.is-lit .defiler { transition-delay: 1.4s; }

/* 2. la maison */
.principes { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--filet); }
.principes div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid var(--filet); }
.principes dt { color: var(--or); }
.principes dd { font-size: .9375rem; line-height: 1.55; color: var(--texte); }

/* 5. le grand vin */
.chap.centre { grid-template-columns: 1fr 1fr; align-items: end; padding-bottom: 20svh; }
.chap.centre .bloc-g { justify-self: start; max-width: 22rem; }
.chap.centre .bloc-d { justify-self: end; text-align: right; max-width: 17rem; }
.geste { font: italic 400 1.5rem/1.2 var(--serif); color: var(--ivoire); }
.bloc > .geste-aide { margin-top: .9rem; color: rgba(242, 235, 221, .66); letter-spacing: .14em; line-height: 1.8; }
.tours { margin-top: 1.4rem; display: inline-flex; gap: 1px; }
.tours button { width: 4.6rem; height: 2.9rem; display: grid; place-items: center; border: 1px solid var(--filet); color: var(--or); transition: background .4s, color .4s, border-color .4s; }
.tours button + button { border-left: 0; }
.tours button:hover { background: var(--or); color: var(--noir); border-color: var(--or); }
.fiche { margin-top: 2rem; border-top: 1px solid var(--filet); }
.fiche div { padding: .9rem 0; border-bottom: 1px solid var(--filet); display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; }
.fiche dt { color: var(--or); }
.fiche dd { font-size: .9375rem; line-height: 1.55; color: var(--texte); }

/* 6. le millésime */
.millesime-an { display: block; font-size: clamp(4.5rem, 9vw, 9.5rem); line-height: .86; letter-spacing: .01em; }
.millesime-nom { display: block; margin-top: 1rem; font: italic 400 1.25rem/1.2 var(--serif); color: var(--or); letter-spacing: .04em; }
.assemblage { margin-top: 2.6rem; }
.etiq { color: var(--or); }
.ass-barre { display: flex; gap: 3px; height: 3px; margin: .9rem 0 1rem; }
.ass-barre i { background: var(--or); min-width: 3px; }
.ass-barre i:nth-child(2) { background: #9a8050; } .ass-barre i:nth-child(3) { background: var(--bronze); } .ass-barre i:nth-child(4) { background: #54472f; }
.assemblage ul { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 2rem; font-size: .9375rem; color: var(--texte); }
.assemblage b { display: inline-block; min-width: 3.4rem; font: 400 1.25rem/1.4 var(--serif); color: var(--ivoire); }
.mesures { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; border-top: 1px solid var(--filet); }
.mesures div { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--filet); }
.mesures dt { color: var(--or); }
.mesures dd { margin-top: .35rem; font-size: .875rem; line-height: 1.55; color: var(--texte); }
.mesures b { display: block; font: 400 1.75rem/1.25 var(--serif); color: var(--ivoire); letter-spacing: .01em; }

/* 7. les cuvées */
.gamme { margin-top: 2.2rem; display: grid; border-top: 1px solid var(--filet); }
.gamme button { display: grid; grid-template-columns: 3.6rem 1fr auto; align-items: baseline; gap: 1rem; padding: .8rem 0; text-align: left; border-bottom: 1px solid var(--filet); color: rgba(242, 235, 221, .6); transition: color .5s, padding .7s var(--lent); position: relative; }
.gamme button::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; background: var(--or); transform: translate(-1.2rem, -50%) rotate(45deg) scale(0); transition: transform .6s var(--lent); }
.g-an { font: 400 1rem/1 var(--serif); color: var(--or); letter-spacing: .06em; }
.g-nom { font: 400 clamp(1.3rem, 1.9vw, 1.75rem)/1.2 var(--serif); }
.g-rang { font-size: .625rem; color: rgba(242, 235, 221, .66); }
.gamme button:hover { color: var(--ivoire); }
.gamme button.is-on { color: var(--ivoire); padding-left: 1.3rem; }
.gamme button.is-on::before { transform: translate(0, -50%) rotate(45deg) scale(1); }
.cuvee { margin-top: 1.6rem; }
.cuvee > p { color: var(--texte); min-height: 3.5em; }
.cuvee .fiche div { padding: .7rem 0; }
.cuvee .fiche { margin-top: 1.2rem; }

/* ------------------------------------------------------------------ sections de photographies */
.plein { position: relative; z-index: 3; background: var(--noir); }
.histoire::before, .chais::before { content: ''; position: absolute; left: 0; right: 0; height: 24svh; pointer-events: none; bottom: 100%; background: linear-gradient(rgba(16, 16, 16, 0), var(--noir)); }
.terroir::after { content: ''; position: absolute; left: 0; right: 0; height: 24svh; pointer-events: none; top: 100%; background: linear-gradient(var(--noir), rgba(16, 16, 16, 0)); }
.cadre { overflow: hidden; background: #0b0b0b; }
.cadre img, .pleine img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); will-change: transform; }
.js .rv { opacity: 0; transform: translateY(1.4rem); transition: opacity 1.6s var(--lent), transform 1.9s var(--lent); }
.js .rv.is-in { opacity: 1; transform: none; }
.js figure.rv { transform: none; transition-duration: 2.2s; }

/* 3. histoire */
.histoire { padding: 16svh var(--gout) 18svh; }
.entete { display: grid; grid-template-columns: 7fr 4fr; gap: 3rem; align-items: end; }
.entete .titre { font-size: clamp(2.4rem, 5.6vw, 6rem); line-height: 1.02; }
.entete p { color: var(--texte); max-width: 24rem; padding-bottom: .6rem; }
.date { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: end; margin-top: clamp(6rem, 17svh, 12rem); }
.date .cadre { grid-row: 1; aspect-ratio: 16 / 10; }
.date-a .cadre { grid-column: 1 / 9; }
.date-a .date-txt { grid-column: 9 / 13; grid-row: 1; }
.date-b .cadre { grid-column: 6 / 13; aspect-ratio: 3 / 2; }
.date-b .date-txt { grid-column: 1 / 6; grid-row: 1; padding-right: 2rem; }
.date-txt { position: relative; z-index: 1; padding-bottom: 1.5rem; }
.an { font: 400 clamp(5rem, 13.5vw, 15rem)/.82 var(--serif); letter-spacing: -.01em; color: var(--ivoire); white-space: nowrap; }
.date-a .an { margin-left: -1.05em; }
.date-b .an { margin-right: -1em; text-align: right; }
.date-txt h3, .dates-breves h3 { margin-top: 2rem; font: 400 1.6rem/1.2 var(--serif); }
.date-txt p:not(.an), .dates-breves p:not(.an) { margin-top: .9rem; color: var(--texte); max-width: 23rem; }
.date-b .date-txt h3, .date-b .date-txt p:not(.an) { margin-left: 0; }
.dates-breves { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem clamp(3rem, 8vw, 8rem); margin-left: calc(100% / 12 * 3); margin-top: clamp(6rem, 17svh, 12rem); }
.dates-breves article { border-top: 1px solid var(--filet); padding-top: 1.8rem; }
.dates-breves .an { font-size: clamp(3.2rem, 5.4vw, 5.6rem); line-height: 1; color: var(--or); }
.dates-breves h3 { margin-top: 1.2rem; }

/* 4. terroir, 8. chais : la photographie en pleine page */
.pleine { position: relative; height: 100svh; min-height: 38rem; overflow: hidden; }
.pleine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(16, 16, 16, .55), rgba(16, 16, 16, 0) 24%, rgba(16, 16, 16, 0) 42%, rgba(16, 16, 16, .86) 82%, var(--noir)); pointer-events: none; }
.pleine-txt { position: absolute; z-index: 1; left: var(--gout); right: var(--gout); bottom: clamp(3rem, 11svh, 7rem); display: grid; grid-template-columns: 7fr 4fr; gap: 3rem; align-items: end; }
.pleine-txt .titre { font-size: clamp(2.2rem, 5vw, 5.4rem); line-height: 1.04; }
.pleine-txt p { color: rgba(242, 235, 221, .84); max-width: 25rem; padding-bottom: .5rem; }
.sol, .gestes { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: center; padding: clamp(5rem, 15svh, 10rem) var(--gout) clamp(6rem, 20svh, 13rem); }
.sol .cadre { grid-column: 2 / 6; aspect-ratio: 4 / 5; }
.sol-txt { grid-column: 7 / 13; }
.sol-txt h3, .gestes-txt h3 { font: 400 clamp(1.7rem, 2.5vw, 2.5rem)/1.15 var(--serif); }
.strates { margin-top: 2.2rem; border-top: 1px solid var(--filet); }
.strates li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.2rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--filet); }
.prof { color: var(--or); letter-spacing: .18em; }
.strates strong, .gestes strong { font: 400 1.3rem/1.2 var(--serif); letter-spacing: .01em; }
.strates p, .gestes li p { margin-top: .3rem; font-size: .9375rem; line-height: 1.6; color: var(--texte); max-width: 30rem; }
.chiffres { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.6rem 3.2rem; }
.chiffres div { display: flex; flex-direction: column-reverse; gap: .3rem; }
.chiffres dt { color: rgba(242, 235, 221, .66); font-size: .625rem; }
.chiffres dd { font: 400 2.2rem/1.1 var(--serif); color: var(--ivoire); }
.gestes-txt { grid-column: 1 / 6; }
.gestes .cadre { grid-column: 7 / 13; aspect-ratio: 3 / 2; }
.gestes ol { margin-top: 2.2rem; counter-reset: geste; border-top: 1px solid var(--filet); }
.gestes li { counter-increment: geste; position: relative; padding: 1.15rem 0 1.15rem 3.4rem; border-bottom: 1px solid var(--filet); }
.gestes li::before { content: counter(geste, upper-roman); position: absolute; left: 0; top: 1.3rem; font: italic 400 1.05rem/1.2 var(--serif); color: var(--or); letter-spacing: .06em; }

/* 9. visite privée : charbon, grain de pierre */
.visite { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: start; padding: clamp(6rem, 18svh, 11rem) var(--gout); background-color: var(--charbon);
  background-image: linear-gradient(rgba(16, 16, 16, 1), rgba(16, 16, 16, 0) 14rem), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95  0 0 0 0 .92  0 0 0 0 .86  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E"); }
.visite-txt { grid-column: 1 / 6; }
.visite-txt .titre { font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: 1.04; }
.visite-txt > p { margin-top: 2rem; color: rgba(242, 235, 221, .8); max-width: 27rem; }
.visite address { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--filet); font-style: normal; display: grid; gap: .25rem; font-size: .9375rem; color: rgba(242, 235, 221, .8); max-width: 27rem; }
.visite address span:first-child { font: 400 1.25rem/1.4 var(--serif); color: var(--ivoire); }
.visite address a { justify-self: start; border-bottom: 1px solid var(--filet); transition: border-color .4s, color .4s; }
.visite address a:hover { color: var(--or); border-color: var(--or); }
.demande { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem 2rem; }
.champ { grid-column: 1 / -1; display: grid; gap: .35rem; }
.champ.demi { grid-column: auto; }
.champ label { color: var(--or); }
.champ .opt { letter-spacing: .1em; color: rgba(242, 235, 221, .66); text-transform: none; }
.champ input, .champ select, .champ textarea { width: 100%; font: 300 1.0625rem/1.5 var(--sans); color: var(--ivoire); background: transparent; border: 0; border-bottom: 1px solid rgba(242, 235, 221, .42); border-radius: 0; padding: .55rem 0 .65rem; letter-spacing: .01em; transition: border-color .4s; color-scheme: dark; }
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--or) 50%), linear-gradient(135deg, var(--or) 50%, transparent 50%); background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.champ select option { background: var(--charbon); color: var(--ivoire); }
.champ textarea { resize: vertical; min-height: 5.5rem; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--ivoire); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 0; border-color: var(--or); box-shadow: 0 1px 0 var(--or); }
.champ [aria-invalid="true"] { border-color: #e2a08a; }
.aide { font-size: .75rem; color: rgba(242, 235, 221, .66); }
.envoyer { grid-column: 1 / -1; justify-self: start; margin-top: .6rem; padding: 1.15rem 2.6rem; border: 1px solid var(--or); color: var(--or); letter-spacing: .3em; transition: background .5s var(--lent), color .5s var(--lent); }
.envoyer:hover, .envoyer:focus-visible { background: var(--or); color: var(--noir); }
.retour { grid-column: 1 / -1; min-height: 1.75em; font-size: .9375rem; color: var(--ivoire); }

/* 10. pied de page */
.pied { padding: clamp(5rem, 14svh, 9rem) var(--gout) 2.2rem; text-align: center; }
.pied-nom { font: 400 clamp(2rem, 5.2vw, 5rem)/1.1 var(--serif); letter-spacing: .02em; }
.pied-lieu { margin-top: 1.2rem; color: var(--or); }
.pied-bas { margin-top: clamp(3.5rem, 9svh, 6rem); padding-top: 1.8rem; border-top: 1px solid var(--filet); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.pied-liens { display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
.pied-liens a, .pause { color: rgba(242, 235, 221, .72); padding: .4rem 0; transition: color .4s; white-space: nowrap; }
.pied-liens a:hover, .pause:hover { color: var(--or); }
.evin { order: 3; flex: 1 0 100%; margin-top: 1.4rem; font-size: .8125rem; color: rgba(242, 235, 221, .72); }
.credits { margin-top: 2.2rem; text-align: left; font-size: .8125rem; line-height: 1.6; color: rgba(242, 235, 221, .7); }
.credits summary { display: inline-block; cursor: pointer; color: rgba(242, 235, 221, .72); padding: .4rem 0; list-style: none; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary::after { content: ' +'; color: var(--or); }
.credits[open] summary::after { content: ' –'; }
.credits ul { margin-top: 1rem; display: grid; gap: .5rem; max-width: 62rem; }
.credits a { border-bottom: 1px solid var(--filet); }
.credits a:hover { color: var(--or); }
.credits p { margin-top: 1rem; }
.fictif { margin-top: 2.4rem; font-size: .75rem; letter-spacing: .08em; color: rgba(242, 235, 221, .66); }
.fictif a { border-bottom: 1px solid var(--filet); }
.fictif a:hover { color: var(--or); }

/* ------------------------------------------------------------------ écrans moyens et téléphones */
@media (max-width: 1180px) {
  .marge { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: .8rem; padding: .7rem 0; color: var(--ivoire); position: relative; z-index: 2; }
  .menu-btn-l { width: 1.6rem; height: 7px; border-top: 1px solid var(--or); border-bottom: 1px solid var(--or); transition: height .4s var(--lent); }
  .menu-ouvert .menu-btn-l { height: 1px; }
  .marque { position: relative; z-index: 2; }
  .js .menu { position: fixed; inset: 0; z-index: 1; display: grid; align-content: center; padding: 5rem var(--gout) 3rem; background: var(--noir); opacity: 0; visibility: hidden; transition: opacity .6s var(--lent), visibility 0s .6s; }
  .js.menu-ouvert .menu { opacity: 1; visibility: visible; transition-delay: 0s; }
  .js .menu ul { display: grid; gap: .2rem; justify-items: start; }
  .js .menu a { font: 400 clamp(1.9rem, 6.6vw, 3rem)/1.3 var(--serif); letter-spacing: .01em; text-transform: none; color: var(--ivoire); padding: .2rem 0; }
  .js .menu a::after { display: none; }
  .js .menu-visite { margin: 1.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--filet); width: 100%; }
  .js .menu-visite a { color: var(--or); }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .menu ul { flex-wrap: wrap; justify-content: flex-end; gap: .2rem 1rem; }
}
@media (max-width: 859px) {
  body { font-size: .9375rem; line-height: 1.65; }
  .tete { padding: 1rem 1.25rem; }
  /* la bouteille en haut, le texte en carte basse : il ne monte jamais sur elle */
  .chap { min-height: 112svh; align-items: end; padding: 0 1.25rem 1.6rem; }
  .chap.detail { min-height: 104svh; }
  .chap .bloc, .chap.large-bloc .bloc { max-width: none; width: 100%; justify-self: stretch; }
  .chap .bloc::before { content: ''; position: absolute; z-index: -1; inset: -4.5rem -1.25rem -1.6rem; background: linear-gradient(rgba(16, 16, 16, 0), rgba(16, 16, 16, .93) 4.5rem); pointer-events: none; }
  .titre { font-size: 1.75rem; line-height: 1.14; }
  .titre-3 { font-size: 1.6rem; }
  .bloc > p, .bloc > .titre + p { margin-top: .8rem; }
  .bloc > p.large { display: none; }
  .principes { margin-top: 1.1rem; }
  .principes div { grid-template-columns: 7.2rem 1fr; padding: .5rem 0; }
  .principes dd, .fiche dd { font-size: .8125rem; line-height: 1.45; }
  .fiche { margin-top: 1.1rem; }
  .fiche div { grid-template-columns: 5.6rem 1fr; padding: .55rem 0; }

  .accueil { --fs: 18vw; min-height: 100svh; }
  #maison, #cuvees { min-height: 130svh; padding-bottom: calc(26svh + 1.6rem); }
  .nom { bottom: calc(84.5svh - var(--fs) * .4); }
  .nom-pre { font-size: 1rem; margin-bottom: .7rem; }
  .nom-mot { letter-spacing: .02em; }
  .accueil-g { left: 1.25rem; right: 1.25rem; bottom: 5.4rem; justify-items: center; text-align: center; font-size: .625rem; }
  .accueil-d { left: 1.25rem; right: 1.25rem; bottom: 9.2rem; max-width: none; text-align: center; font-size: 1.05rem; }
  .defiler { bottom: .6rem; }
  .defiler i { height: 1.5rem; }

  .chap.centre { grid-template-columns: 1fr; align-items: end; align-content: end; padding-bottom: 1.6rem; gap: 1.1rem; }
  .chap.centre .bloc-g, .chap.centre .bloc-d { max-width: none; justify-self: stretch; text-align: left; }
  .chap.centre .bloc-g::before { bottom: -12rem; }
  .chap.centre .bloc-d::before { display: none; }
  .chap.centre .bloc-d { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .geste { font-size: 1.2rem; }
  .geste-aide { display: none; }
  .tours { margin-top: 0; }
  .tours button { width: 4rem; height: 2.75rem; }

  .millesime-an { display: inline; font-size: 3.4rem; line-height: 1; }
  .millesime-nom { display: inline; margin-left: .7rem; font-size: 1.05rem; }
  .assemblage { margin-top: 1rem; }
  .ass-barre { margin: .5rem 0 .6rem; }
  .assemblage ul { gap: 0 .8rem; font-size: .75rem; }
  .assemblage li { white-space: nowrap; }
  .assemblage b { font-size: 1rem; min-width: 2.55rem; }
  .mesures { margin-top: .9rem; gap: 0 1.2rem; }
  .mesures div { padding: .55rem 0 .6rem; }
  .mesures b { font-size: 1.25rem; }
  .mesures dd { font-size: .75rem; line-height: 1.4; margin-top: .15rem; }
  .mesures dt, .fiche dt, .principes dt, .etiq { font-size: .625rem; letter-spacing: .2em; }

  .gamme { margin-top: .9rem; }
  .gamme button { grid-template-columns: 2.9rem 1fr; padding: .55rem 0; gap: .6rem; min-height: 2.75rem; align-items: center; }
  .gamme button::before { transform: translate(-.9rem, -50%) rotate(45deg) scale(0); width: 5px; height: 5px; }
  .gamme button.is-on { padding-left: .9rem; }
  .g-nom { font-size: 1.15rem; }
  .g-rang { display: none; }
  .cuvee { margin-top: .8rem; }
  .cuvee > p { min-height: 0; font-size: .875rem; line-height: 1.5; display: none; }
  .cuvee .fiche { margin-top: 0; border-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
  .cuvee .fiche div { grid-template-columns: 1fr; gap: .1rem; align-content: start; }

  .histoire { padding: 12svh 1.25rem 12svh; }
  .entete, .pleine-txt { grid-template-columns: 1fr; gap: 1.4rem; }
  .entete .titre { font-size: 2.5rem; }
  .date { display: block; margin-top: 5.5rem; }
  .date .cadre { aspect-ratio: 4 / 3; margin: 0 -1.25rem; }
  .date-txt { padding: 0; margin-top: -2.6rem; }
  .date-b .date-txt { padding-right: 0; }
  .an { font-size: 6.2rem; }
  .date-a .an, .date-b .an { margin: 0; text-align: left; }
  .date-txt h3, .dates-breves h3 { margin-top: 1.2rem; font-size: 1.45rem; }
  .dates-breves { grid-template-columns: 1fr; gap: 2.6rem; margin-top: 5.5rem; margin-left: 0; }
  .dates-breves .an { font-size: 3.6rem; }
  .pleine { min-height: 34rem; }
  .pleine-txt { left: 1.25rem; right: 1.25rem; bottom: 2.6rem; }
  .pleine-txt .titre { font-size: 2.2rem; }
  .sol, .gestes { display: block; padding: 4.5rem 1.25rem 6rem; }
  .sol .cadre { aspect-ratio: 4 / 4.4; margin: 0 2.5rem 3rem 0; }
  .gestes .cadre { margin: 3rem -1.25rem 0 2.5rem; }
  .strates li { grid-template-columns: 5.6rem 1fr; gap: .8rem; }
  .chiffres { gap: 1.2rem 2rem; }
  .chiffres dd { font-size: 1.7rem; }
  .visite { display: block; padding: 5.5rem 1.25rem 5rem; }
  .visite-txt .titre { font-size: 2.5rem; }
  .demande { margin-top: 3.5rem; gap: 1.5rem 1.2rem; }
  .envoyer { justify-self: stretch; text-align: center; }
  .pied { padding: 4.5rem 1.25rem 1.8rem; }
  .pied-bas, .pied-liens { justify-content: center; }
}
@media (max-width: 859px) and (max-height: 720px) {
  .principes, .chap.detail .fiche div + div, .accueil-d, .cuvee .fiche div:nth-child(n+3) { display: none; }
  .titre { font-size: 1.5rem; }
  .bloc > p { font-size: .875rem; line-height: 1.55; }
  .mesures dd { font-size: 0; }
  .mesures b { font-size: 1.15rem; }
  .millesime-an { font-size: 2.6rem; }
  .gamme button { padding: .3rem 0; }
}
@media (max-width: 859px) { html:not(.js) .menu { display: none; } }
/* très grands écrans : on tient la mesure */
@media (min-width: 1700px) { :root { --gout: 10vw; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01s !important; transition-delay: 0s !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .fixe { transition: opacity .4s linear !important; }
}

.vers { font: italic 400 .62em/1 var(--serif); color: var(--or); padding: 0 .15em; }
