/* ==========================================================================
   Les Vignes du Feu — feuille de style
   Direction : « Territoire » — papier ivoire, encre charbon, vert forêt profond,
   cuivre pour les filets. Typo : Fraunces (titres) · Instrument Sans (texte) · DM Mono (données).
   Mobile d'abord.
   ========================================================================== */

:root {
  --charbon: #181818;
  --ivoire: #EEE9DF;
  --foret: #344238;
  --terre: #813E2B;
  --cuivre: #B3643D;
  --sable: #D9CFBE;
  --papier: #F4F0E8;
  --encre: #1E1D1A;
  --gris: #6B665C;
  --gris-clair: #A9A398;
  --vigne: #8FA07A;
  --foret-2: #2A362E;
  --nuit: #10130F;
  --ligne: rgba(24, 24, 24, .14);
  --ligne-inv: rgba(238, 233, 223, .16);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', 'SF Mono', Menlo, Consolas, monospace;

  --gutter: clamp(16px, 6vw, 104px);
  --max: 1480px;
  --header: 64px;
  --radius: 2px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .7s;
}

@media (min-width: 900px) { :root { --header: 76px; } }

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0; background: var(--ivoire); color: var(--encre);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
strong { font-weight: 600; }
::selection { background: var(--cuivre); color: var(--ivoire); }
:focus-visible { outline: 2px solid var(--cuivre); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }

/* Corps de page : réserve le bas pour la barre mobile */
body { padding-bottom: 0; }
@media (max-width: 719px) { body.has-ctabar { padding-bottom: 72px; } }

/* --------------------------------------------------------------- utilitaires typo */
.serif { font-family: var(--serif); }
.mono, .kicker, .label {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
}
.kicker { color: var(--cuivre); display: inline-flex; align-items: center; gap: .8em; margin-bottom: 1.4rem; }
.kicker::before { content: ""; width: 2.2em; height: 1px; background: currentColor; }
.kicker--plain::before { display: none; }
.t-display {
  font-family: var(--serif); font-weight: 300; line-height: .96; letter-spacing: -.015em;
  font-size: clamp(2.6rem, 7.6vw, 6.6rem);
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}
.t-1 { font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -.012em; font-size: clamp(2.1rem, 5vw, 4.4rem); font-variation-settings: "opsz" 120, "SOFT" 30, "WONK" 1; }
.t-2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; font-size: clamp(1.7rem, 3.4vw, 2.9rem); font-variation-settings: "opsz" 72, "SOFT" 20; }
.t-3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-variation-settings: "opsz" 36; }
.t-caps { text-transform: uppercase; letter-spacing: .06em; font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--charbon); font-weight: 400; }
.quote { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.35rem, 2.6vw, 2.2rem); line-height: 1.25; font-variation-settings: "opsz" 72, "SOFT" 50, "WONK" 1; }
.measure { max-width: 34em; }
.measure-narrow { max-width: 26em; }
.muted { color: var(--gris); }
.amp { font-family: var(--serif); font-style: italic; font-weight: 300; }

/* --------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 150px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 90px); }
.section--dark { background: var(--charbon); color: var(--ivoire); }
.section--forest { background: var(--foret); color: var(--ivoire); }
.section--night { background: var(--nuit); color: var(--ivoire); }
.section--paper { background: var(--papier); }
.section--sable { background: var(--sable); }
.section--dark .kicker, .section--forest .kicker, .section--night .kicker { color: var(--cuivre); }
.section--dark .lead, .section--forest .lead, .section--night .lead { color: var(--ivoire); }
.section--dark .muted, .section--forest .muted, .section--night .muted { color: var(--gris-clair); }

.grid { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) {
  .grid-12 { grid-template-columns: repeat(12, 1fr); }
  .col-1-5 { grid-column: 1 / 6; } .col-1-6 { grid-column: 1 / 7; } .col-1-7 { grid-column: 1 / 8; } .col-1-8 { grid-column: 1 / 9; }
  .col-6-13 { grid-column: 6 / 13; } .col-7-13 { grid-column: 7 / 13; } .col-8-13 { grid-column: 8 / 13; } .col-5-13 { grid-column: 5 / 13; }
  .col-2-12 { grid-column: 2 / 12; } .col-3-11 { grid-column: 3 / 11; } .col-4-13 { grid-column: 4 / 13; } .col-1-4 { grid-column: 1 / 4; }
  .col-9-13 { grid-column: 9 / 13; } .col-1-9 { grid-column: 1 / 9; } .col-4-10 { grid-column: 4 / 10; }
}
.two { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; align-items: start; } .two--sticky > :first-child { position: sticky; top: calc(var(--header) + 24px); } }

.rule { height: 1px; background: var(--ligne); border: 0; margin: 0; }
.section--dark .rule, .section--forest .rule, .section--night .rule { background: var(--ligne-inv); }
.rule--cuivre { background: var(--cuivre); height: 1px; width: 56px; }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(36px, 5vw, 72px); align-items: end; }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } .section-head > .lead { padding-bottom: .6rem; } }
.section-num { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: var(--cuivre); margin-bottom: 1rem; display: flex; gap: .9em; align-items: center; }
.section-num::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; }

/* --------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 52px; padding: .9em 1.7em; border-radius: var(--radius);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .35s var(--ease-out);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn--primary { background: var(--terre); color: var(--ivoire); border-color: var(--terre); }
.btn--primary:hover { background: var(--cuivre); border-color: var(--cuivre); }
.btn--outline { border-color: currentColor; color: var(--charbon); }
.btn--outline:hover { background: var(--charbon); color: var(--ivoire); border-color: var(--charbon); }
.btn--inv { border-color: rgba(238, 233, 223, .6); color: var(--ivoire); }
.btn--inv:hover { background: var(--ivoire); color: var(--charbon); border-color: var(--ivoire); }
.btn--ghost { padding-inline: 0; min-height: 0; border: 0; color: inherit; }
.btn--ghost::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cuivre); transform: scaleX(1); transform-origin: left; transition: transform .5s var(--ease-out); }
.btn--ghost:hover::after { transform: scaleX(0); transform-origin: right; }
.btn--ghost .arrow { transition: transform .5s var(--ease-out); }
.btn--ghost:hover .arrow { transform: translateX(6px); }
.btn:active { transform: translateY(1px); }
.btn--wide { width: 100%; }
.btn--sm { min-height: 42px; padding: .6em 1.2em; font-size: .68rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.arrow { display: inline-block; width: 1.05em; height: 1.05em; }

/* --------------------------------------------------------------- monogramme */
.mark { display: inline-grid; gap: 3px; width: 34px; }
.mark span { display: block; height: 7px; border-radius: 1px; background: currentColor; }
.mark span:nth-child(2) { height: 3px; background: var(--cuivre); margin-inline: 3px; }
.mark--lg { width: 64px; gap: 6px; } .mark--lg span { height: 13px; } .mark--lg span:nth-child(2) { height: 5px; margin-inline: 5px; }
.mark--xl { width: 96px; gap: 9px; } .mark--xl span { height: 19px; } .mark--xl span:nth-child(2) { height: 7px; margin-inline: 8px; }
.wordmark { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1; font-variation-settings: "opsz" 24, "SOFT" 0, "WONK" 0; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
@media (max-width: 899px) { .brand .wordmark { font-size: .9rem; letter-spacing: .08em; } }

/* --------------------------------------------------------------- header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header);
  display: flex; align-items: center; color: var(--ivoire);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header--solid, .header.is-scrolled { background: rgba(238, 233, 223, .92); color: var(--charbon); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--ligne); }
.header.is-hidden { transform: translateY(-100%); }
.nav { display: none; }
@media (min-width: 1100px) {
  .nav { display: flex; gap: 2.4vw; align-items: center; }
  .nav > li { position: relative; }
  .nav > li > a { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: 10px 0; display: inline-block; position: relative; }
  .nav > li > a::after { content: ""; position: absolute; left: 0; bottom: 4px; height: 1px; width: 100%; background: var(--cuivre); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
  .nav > li:hover > a::after, .nav > li > a[aria-current="page"]::after, .nav > li:focus-within > a::after { transform: scaleX(1); transform-origin: left; }
  .nav .sub { position: absolute; top: 100%; left: -18px; min-width: 240px; padding: 14px 0 10px; background: var(--ivoire); color: var(--charbon); border: 1px solid var(--ligne); box-shadow: 0 24px 48px -24px rgba(24, 24, 24, .35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .nav > li:hover .sub, .nav > li:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
  .nav .sub a { display: block; padding: 8px 20px; font-family: var(--serif); font-size: 1.05rem; font-variation-settings: "opsz" 24; }
  .nav .sub a:hover { color: var(--cuivre); }
}
.header-tools { display: flex; align-items: center; gap: 18px; }
.header-tools .tool { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; min-height: 44px; }
.header-tools .tool--reserve { display: none; }
@media (min-width: 900px) { .header-tools .tool--reserve { display: inline-flex; } }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--cuivre); color: var(--ivoire); font-size: .62rem; letter-spacing: 0; }
.cart-count[data-empty="true"] { display: none; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; align-items: flex-end; }
.burger span { display: block; height: 1.5px; background: currentColor; width: 26px; transition: transform .4s var(--ease), opacity .3s, width .3s; }
.burger span:nth-child(2) { width: 18px; }
@media (min-width: 1100px) { .burger { display: none; } }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
body.menu-open .header { background: var(--ivoire); color: var(--charbon); box-shadow: none; }

/* tiroir mobile */
.drawer-nav {
  position: fixed; inset: 0; z-index: 55; background: var(--ivoire); color: var(--charbon);
  padding: calc(var(--header) + 24px) var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
body.menu-open .drawer-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
body.menu-open { overflow: hidden; }
.drawer-nav > ul > li { border-bottom: 1px solid var(--ligne); padding: 14px 0; }
.drawer-nav > ul > li > a { font-family: var(--serif); font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 300; line-height: 1.1; display: block; font-variation-settings: "opsz" 72, "SOFT" 30, "WONK" 1; }
.drawer-nav .sub { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.drawer-nav .sub a { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); padding: 6px 0; }
.drawer-nav .drawer-ctas { display: grid; gap: 12px; margin-top: 28px; }
.drawer-nav .drawer-meta { margin-top: 28px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); line-height: 2; }

/* --------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--ivoire); background: var(--nuit); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: kenburns 24s var(--ease) both; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__fallback { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 80% at 70% 20%, #3b4a3f 0%, #1c241f 45%, var(--nuit) 100%); }
.hero__fallback svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 19, 15, .35) 0%, rgba(16, 19, 15, .05) 35%, rgba(16, 19, 15, .55) 70%, rgba(16, 19, 15, .9) 100%); }
.hero__inner { padding-block: calc(var(--header) + 24px) clamp(40px, 8vh, 96px); }
.hero__coords { position: absolute; top: calc(var(--header) + 14px); right: var(--gutter); font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 233, 223, .75); text-align: right; line-height: 1.9; display: none; }
@media (min-width: 900px) { .hero__coords { display: block; } }
.hero__title { margin: 22px 0 18px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__tagline { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.25; max-width: 22em; font-variation-settings: "opsz" 72, "SOFT" 60, "WONK" 1; margin: 0 0 1.2rem; }
.hero__text { max-width: 36em; color: rgba(238, 233, 223, .82); margin-bottom: 2rem; font-size: clamp(.95rem, 1.2vw, 1.05rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.hero__scroll { position: absolute; bottom: 24px; right: var(--gutter); display: none; align-items: center; gap: 12px; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(238, 233, 223, .6); }
.hero__scroll i { display: block; width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, var(--cuivre)); animation: scrollcue 2.2s ease-in-out infinite; }
@media (min-width: 900px) { .hero__scroll { display: flex; } }
.fade-in { animation: fade 1.6s var(--ease) both; }
.fade-in-late { animation: fade 1.4s var(--ease) .5s both; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes scrollcue { 0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .3; } 50% { transform: scaleY(1); opacity: 1; } }

/* hero de page intérieure */
.page-hero { padding-top: calc(var(--header) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(36px, 6vw, 90px); }
.page-hero .t-display { font-size: clamp(2.4rem, 6.6vw, 5.6rem); }
.page-hero--dark { background: var(--charbon); color: var(--ivoire); }
.page-hero--forest { background: var(--foret); color: var(--ivoire); }
.page-hero__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; } }
.crumbs { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris-clair); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1.6rem; }
.crumbs a:hover { color: var(--cuivre); }

/* --------------------------------------------------------------- révélations au scroll */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
html.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
html.js [data-reveal-stagger].is-in > :nth-child(2) { transition-delay: .1s; }
html.js [data-reveal-stagger].is-in > :nth-child(3) { transition-delay: .2s; }
html.js [data-reveal-stagger].is-in > :nth-child(4) { transition-delay: .3s; }
html.js [data-reveal-stagger].is-in > :nth-child(5) { transition-delay: .4s; }
html.js [data-reveal-stagger].is-in > :nth-child(6) { transition-delay: .5s; }
html.js [data-reveal-stagger].is-in > :nth-child(7) { transition-delay: .6s; }
html.js [data-reveal-stagger].is-in > :nth-child(8) { transition-delay: .7s; }

/* ligne de parcelle qui se dessine */
.drawline { width: 100%; height: auto; display: block; overflow: visible; }
.drawline path, .drawline polyline, .drawline polygon, .drawline line { fill: none; stroke: var(--cuivre); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .drawline.is-in path, html.js .drawline.is-in polyline, html.js .drawline.is-in polygon, html.js .drawline.is-in line { animation: draw 2.4s var(--ease) forwards; }
html.js .drawline.is-in .d2 { animation-delay: .5s; }
html.js .drawline.is-in .d3 { animation-delay: 1s; }
html:not(.js) .drawline path, html:not(.js) .drawline polyline, html:not(.js) .drawline polygon, html:not(.js) .drawline line { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------- grain */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* --------------------------------------------------------------- intro / récit */
.intro { display: grid; gap: 24px; }
@media (min-width: 900px) { .intro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } }
.story { position: relative; }
.story__text p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.35; font-variation-settings: "opsz" 48, "SOFT" 30; margin-bottom: 1.1em; color: var(--ivoire); }
.story__text p.em { font-style: italic; color: var(--cuivre); font-variation-settings: "opsz" 48, "SOFT" 70, "WONK" 1; }
.story__side { display: grid; gap: 20px; align-content: start; }
.story__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--foret-2); position: relative; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); transition: transform 1.6s var(--ease-out); }
.story__photo:hover img { transform: scale(1.03); }
.story__photo figcaption, .photo figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(238, 233, 223, .8); background: rgba(16, 19, 15, .45); padding: 4px 8px; backdrop-filter: blur(6px); }
.photo { position: relative; overflow: hidden; background: var(--sable); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--4x5 { aspect-ratio: 4 / 5; } .photo--3x2 { aspect-ratio: 3 / 2; } .photo--16x9 { aspect-ratio: 16 / 9; } .photo--1x1 { aspect-ratio: 1; } .photo--21x9 { aspect-ratio: 21 / 9; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo img { transition: transform 1.8s var(--ease-out); }
.photo:hover img { transform: scale(1.025); }

/* schéma forêt → vigne → forêt */
.schema { display: grid; gap: 0; }
.schema svg { width: 100%; height: auto; display: block; }
.schema__labels { display: grid; grid-template-columns: repeat(3, 1fr); font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); margin-top: 14px; }
.schema__labels span:nth-child(2) { text-align: center; color: var(--cuivre); } .schema__labels span:nth-child(3) { text-align: right; }

/* chiffres */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--ligne); }
.figures > div { padding-top: 18px; border-top: 1px solid transparent; }
.figures .num { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 20; }
.figures .num small { font-size: .42em; margin-left: .15em; font-family: var(--mono); letter-spacing: .1em; }
.figures .lab { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-top: 10px; }
.section--dark .figures, .section--forest .figures { border-color: var(--ligne-inv); } .section--dark .figures .lab, .section--forest .figures .lab { color: var(--gris-clair); }

/* --------------------------------------------------------------- vins */
.wines { display: grid; gap: 28px; }
@media (min-width: 720px) { .wines { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); } }
.wine-card { display: grid; grid-template-rows: auto 1fr; position: relative; }
.wine-card__visual { background: var(--papier); aspect-ratio: 3 / 4; display: grid; place-items: end center; padding: 8% 0 0; overflow: hidden; position: relative; border: 1px solid var(--ligne); }
.wine-card__visual::before { content: ""; position: absolute; inset: auto 12% 0; height: 38%; background: radial-gradient(60% 60% at 50% 100%, rgba(24, 24, 24, .12), transparent 70%); }
.wine-card__visual svg { height: 88%; width: auto; transition: transform .8s var(--ease-out); transform-origin: bottom center; position: relative; }
.wine-card:hover .wine-card__visual svg { transform: translateY(-10px) rotate(-1.5deg); }
.wine-card__num { position: absolute; top: 14px; left: 16px; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; color: var(--cuivre); }
.wine-card__tag { position: absolute; top: 14px; right: 16px; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terre); border: 1px solid currentColor; padding: 4px 8px; }
.wine-card__body { padding: 22px 0 0; display: grid; gap: 8px; align-content: start; }
.wine-card__name { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.05; font-variation-settings: "opsz" 48, "SOFT" 20; }
.wine-card__kind { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.wine-card__desc { color: var(--gris); font-size: .95rem; }
.wine-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.price { font-family: var(--serif); font-size: 1.35rem; font-variation-settings: "opsz" 24; }
.price small { font-family: var(--mono); font-size: .6em; letter-spacing: .08em; margin-left: .3em; }
.section--dark .wine-card__visual, .section--night .wine-card__visual { background: #1f2320; border-color: var(--ligne-inv); }
.section--dark .wine-card__desc, .section--dark .wine-card__kind { color: var(--gris-clair); }
.section--dark .wine-card__foot { border-color: var(--ligne-inv); }
.section--dark .btn--outline { color: var(--ivoire); border-color: rgba(238, 233, 223, .5); } .section--dark .btn--outline:hover { background: var(--ivoire); color: var(--charbon); border-color: var(--ivoire); }

/* fiche produit */
.product { display: grid; gap: 32px; padding-top: calc(var(--header) + clamp(28px, 5vw, 72px)); }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: start; } }
.product__visual { background: var(--papier); border: 1px solid var(--ligne); aspect-ratio: 4 / 5; display: grid; place-items: end center; padding-top: 6%; position: relative; overflow: hidden; }
@media (min-width: 900px) { .product__visual { position: sticky; top: calc(var(--header) + 20px); } }
.product__visual svg { height: 90%; width: auto; animation: floatin 1.4s var(--ease-out) both; transform-origin: bottom center; }
.product__visual::before { content: ""; position: absolute; inset: auto 15% 0; height: 34%; background: radial-gradient(60% 60% at 50% 100%, rgba(24, 24, 24, .12), transparent 70%); }
.product__visual .wine-card__num { top: 18px; left: 20px; }
@keyframes floatin { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.product__head { display: grid; gap: 14px; }
.product__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.product__price { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 300; margin-top: 8px; font-variation-settings: "opsz" 48; }
.product__price small { font-family: var(--mono); font-size: .38em; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-left: .5em; }
.product__buy { display: grid; gap: 14px; margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--ligne); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--charbon); height: 52px; }
.qty button { width: 46px; height: 100%; font-family: var(--mono); font-size: 1rem; display: grid; place-items: center; }
.qty button:hover { background: var(--charbon); color: var(--ivoire); }
.qty input { width: 52px; text-align: center; border: 0; background: transparent; font-family: var(--mono); height: 100%; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.buy-row .btn--primary { flex: 1 1 200px; }
.buy-note { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); line-height: 1.9; }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px 18px; padding: 14px 0; border-top: 1px solid var(--ligne); }
.spec dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); padding-top: 3px; }
.spec dd { margin: 0; }
.product-sections { display: grid; gap: clamp(40px, 6vw, 80px); }
.product-section { display: grid; gap: 18px; }
@media (min-width: 900px) { .product-section { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px; } }
.product-section h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; }
.pairings { display: grid; gap: 10px; }
.pairings li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--ligne); font-family: var(--serif); font-size: 1.15rem; font-variation-settings: "opsz" 24; }
.pairings li::before { content: attr(data-n); font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; color: var(--cuivre); }

/* --------------------------------------------------------------- carte */
.map-block { display: grid; gap: 22px; }
@media (min-width: 1000px) { .map-block { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; } }
.map { position: relative; background: var(--sable); border: 1px solid var(--ligne); overflow: hidden; }
.map svg { width: 100%; height: auto; display: block; }
.map--mini { border: 0; }
.map .forest { fill: var(--foret); }
.map .forest-tex { fill: url(#canopy); }
.map .lande { fill: #DCD2C0; }
.map .burned { fill: url(#burn); }
.map .burned-edge { fill: none; stroke: var(--terre); stroke-width: 1; stroke-dasharray: 4 4; opacity: .7; }
.map .parcel { fill: #E7DCC5; stroke: var(--cuivre); stroke-width: 1.2; cursor: pointer; transition: fill .4s var(--ease), stroke-width .3s; }
.map .parcel-rows { fill: url(#rows); pointer-events: none; }
.map .parcel-g:hover .parcel, .map .parcel-g.is-active .parcel, .map .parcel-g:focus-visible .parcel { fill: #F1E4C6; stroke-width: 2.2; }
.map .parcel-g.is-dim { opacity: .35; }
.map .parcel-g.is-hl .parcel { fill: #F3E3BE; stroke: var(--terre); stroke-width: 2.4; }
.map .parcel-g { outline: none; }
.map .plabel { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; fill: var(--terre); pointer-events: none; text-anchor: middle; }
.map .pname { font-family: var(--serif); font-style: italic; font-size: 13px; fill: var(--charbon); opacity: .75; pointer-events: none; text-anchor: middle; }
.map .flabel { font-family: var(--serif); font-style: italic; font-size: 16px; fill: rgba(238, 233, 223, .78); text-anchor: middle; pointer-events: none; }
.map .blabel { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; fill: rgba(238, 233, 223, .75); text-anchor: middle; pointer-events: none; }
.map .building { fill: var(--charbon); }
.map .road { fill: none; stroke: #F4F0E8; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.map .road-edge { fill: none; stroke: rgba(24, 24, 24, .25); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map .track { fill: none; stroke: #F4F0E8; stroke-width: 2; stroke-dasharray: 6 5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.map .compass, .map .scale { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; fill: var(--charbon); }
.map .scale line { stroke: var(--charbon); stroke-width: 1.5; }
.map--mini .pname, .map--mini .blabel { display: none; }
.map--mini .plabel { font-size: 15px; }
html.js .map[data-animate] .parcel-g { opacity: 0; transform: translateY(6px); transition: opacity .7s var(--ease), transform .8s var(--ease-out); }
html.js .map[data-animate].is-in .parcel-g { opacity: 1; transform: none; }
html.js .map[data-animate].is-in .parcel-g:nth-of-type(2) { transition-delay: .12s; }
html.js .map[data-animate].is-in .parcel-g:nth-of-type(3) { transition-delay: .24s; }
html.js .map[data-animate].is-in .parcel-g:nth-of-type(4) { transition-delay: .36s; }
html.js .map[data-animate].is-in .parcel-g:nth-of-type(5) { transition-delay: .48s; }
html.js .map[data-animate].is-in .parcel-g:nth-of-type(6) { transition-delay: .6s; }
html.js .map[data-animate].is-in .parcel-g:nth-of-type(7) { transition-delay: .72s; }
html.js .map[data-animate].is-in .parcel-g.is-dim { opacity: .35; }
.map-panel { background: var(--papier); border: 1px solid var(--ligne); padding: 24px; min-height: 240px; display: grid; gap: 12px; align-content: start; position: relative; }
.map-panel .kicker { margin-bottom: 4px; }
.map-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; font-variation-settings: "opsz" 48, "SOFT" 20; }
.map-panel .spec { border-top-color: var(--ligne); }
.map-panel__hint { color: var(--gris); font-size: .95rem; }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-top: 14px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 18px; height: 12px; display: inline-block; border: 1px solid rgba(24, 24, 24, .2); }
.map-legend .l-forest { background: var(--foret); } .map-legend .l-vine { background: #E7DCC5; border-color: var(--cuivre); } .map-legend .l-build { background: var(--charbon); } .map-legend .l-burn { background: repeating-linear-gradient(45deg, var(--foret) 0 3px, var(--terre) 3px 4px); }
.map-panel .btn { justify-self: start; margin-top: 6px; }
.section--dark .map, .section--night .map { border-color: var(--ligne-inv); }
.section--dark .map-panel { background: #1f2320; border-color: var(--ligne-inv); color: var(--ivoire); }
.section--dark .map-panel .spec dt { color: var(--gris-clair); } .section--dark .map-panel .spec { border-color: var(--ligne-inv); }
.section--dark .map-panel__hint, .section--dark .map-legend { color: var(--gris-clair); }

/* liste des parcelles */
.parcel-list { display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.parcel-row { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 18px 0; border-bottom: 1px solid var(--ligne); align-items: baseline; }
@media (min-width: 720px) { .parcel-row { grid-template-columns: 52px minmax(0, 2fr) minmax(0, 2fr) minmax(0, 2fr) 70px minmax(0, 2fr); gap: 18px; } }
.parcel-row .n { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--cuivre); }
.parcel-row .name { font-family: var(--serif); font-size: 1.25rem; font-variation-settings: "opsz" 24; }
.parcel-row .meta { color: var(--gris); font-size: .95rem; }
.parcel-row .cuvee a { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--cuivre); padding-bottom: 2px; }
@media (max-width: 719px) { .parcel-row .meta, .parcel-row .cuvee { grid-column: 2; } }

/* avant / après */
.compare { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--foret); border: 1px solid var(--ligne); user-select: none; }
.compare svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--ivoire); pointer-events: none; }
.compare__handle::before { content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--ivoire); color: var(--charbon); display: grid; place-items: center; font-size: .8rem; letter-spacing: .1em; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__tag { position: absolute; top: 14px; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivoire); background: rgba(16, 19, 15, .55); padding: 6px 10px; pointer-events: none; }
.compare__tag--before { left: 14px; } .compare__tag--after { right: 14px; }

/* --------------------------------------------------------------- listes "fait / ne fait pas" */
.does { display: grid; gap: 24px; }
@media (min-width: 900px) { .does { grid-template-columns: 1fr 1fr; gap: 48px; } }
.does h3 { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; margin-bottom: 14px; }
.does ul li { padding: 14px 0; border-top: 1px solid var(--ligne-inv); display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.does ul li::before { content: "—"; color: var(--cuivre); font-family: var(--mono); }
.does .no li::before { content: "×"; color: var(--gris-clair); }

/* --------------------------------------------------------------- visites */
.visits { display: grid; gap: 20px; }
@media (min-width: 900px) { .visits { grid-template-columns: repeat(3, 1fr); } }
.visit { border: 1px solid var(--ligne); padding: 26px 24px 24px; display: grid; gap: 12px; align-content: start; background: var(--papier); position: relative; }
.visit--featured { background: var(--foret); color: var(--ivoire); border-color: var(--foret); }
.visit--featured .muted { color: var(--gris-clair); }
.visit__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.visit--featured .visit__meta { color: var(--gris-clair); }
.visit h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 400; font-variation-settings: "opsz" 36, "SOFT" 20; }
.visit__steps { display: grid; gap: 8px; margin: 8px 0 6px; }
.visit__steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: .95rem; align-items: baseline; }
.visit__steps li::before { content: attr(data-n); font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; color: var(--cuivre); }
.visit__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ligne); }
.visit--featured .visit__foot { border-color: var(--ligne-inv); }
.visit--featured .btn--outline { color: var(--ivoire); border-color: rgba(238, 233, 223, .5); } .visit--featured .btn--outline:hover { background: var(--ivoire); color: var(--charbon); }

/* --------------------------------------------------------------- formulaires */
.form { display: grid; gap: 22px; }
.form-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label, .field > .lab { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--charbon); padding: 10px 0; border-radius: 0; transition: border-color .3s; min-height: 44px; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: 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='%23181818' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--cuivre); }
.field input::placeholder, .field textarea::placeholder { color: var(--gris-clair); }
.section--dark .field input, .section--dark .field select, .section--dark .field textarea, .section--forest .field input, .section--forest .field select, .section--forest .field textarea { border-bottom-color: rgba(238, 233, 223, .5); color: var(--ivoire); }
.section--dark .field label, .section--forest .field label { color: var(--gris-clair); }
.section--forest .field select, .section--dark .field select { background-image: 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='%23EEE9DF' stroke-width='1.4'/%3E%3C/svg%3E"); }
.section--forest .field select option, .section--dark .field select option { color: var(--charbon); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--gris); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid currentColor; margin: 3px 0 0; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--cuivre); border-color: var(--cuivre); }
.check input:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--ivoire); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.section--forest .check, .section--dark .check { color: var(--gris-clair); }
.form-note { font-size: .82rem; color: var(--gris); }
.form-success { border: 1px solid var(--cuivre); padding: 28px; display: grid; gap: 10px; }
.form-success h3 { font-weight: 400; font-size: 1.6rem; }
.choice { display: grid; gap: 10px; }
.choice label { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 16px; border: 1px solid var(--ligne); cursor: pointer; transition: border-color .3s, background .3s; }
.choice label:has(input:checked) { border-color: var(--cuivre); background: rgba(179, 100, 61, .06); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .c-name { font-family: var(--serif); font-size: 1.1rem; }
.choice .c-sub { font-size: .85rem; color: var(--gris); }
.choice .c-price { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; align-self: center; }

/* --------------------------------------------------------------- journal */
.posts { display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.post-row { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--ligne); align-items: start; }
@media (min-width: 900px) { .post-row { grid-template-columns: 180px minmax(0, 1fr) 160px; gap: 40px; } }
.post-row .meta { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); line-height: 2; }
.post-row .meta b { font-weight: 400; color: var(--cuivre); display: block; }
.post-row h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 400; margin-bottom: 8px; font-variation-settings: "opsz" 48, "SOFT" 20; }
.post-row h3 a:hover { color: var(--terre); }
.post-row p { color: var(--gris); margin: 0; max-width: 42em; }
.post-row .more { justify-self: start; align-self: end; }
@media (min-width: 900px) { .post-row .more { justify-self: end; } }
.post-row[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button, .filters a { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--ligne); transition: all .3s; min-height: 40px; display: inline-flex; align-items: center; }
.filters .is-on, .filters button:hover, .filters a:hover { background: var(--charbon); color: var(--ivoire); border-color: var(--charbon); }
.article { display: grid; gap: 24px; }
.article__body p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; }
.article__body p:first-child::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: .8; padding: .08em .12em 0 0; color: var(--terre); font-variation-settings: "opsz" 144; }

/* --------------------------------------------------------------- boutique */
.shop-nav { position: sticky; top: var(--header); z-index: 20; background: rgba(238, 233, 223, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.shop-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.shop-nav .wrap::-webkit-scrollbar { display: none; }
.shop-nav button { flex: 0 0 auto; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; border: 1px solid transparent; min-height: 40px; transition: all .3s; }
.shop-nav button.is-on { border-color: var(--charbon); }
.shop-nav button:hover { color: var(--terre); }
.products { display: grid; gap: 28px 20px; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; } }
.product-card[hidden] { display: none; }
.box-visual { aspect-ratio: 3 / 4; background: var(--papier); border: 1px solid var(--ligne); display: grid; place-items: center; position: relative; overflow: hidden; }
.box-visual svg { width: 78%; height: auto; transition: transform .8s var(--ease-out); }
.product-card:hover .box-visual svg { transform: translateY(-6px); }
.wine-card__actions { display: flex; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--charbon); color: var(--ivoire); padding: 14px 20px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; z-index: 80; opacity: 0; transition: opacity .35s, transform .45s var(--ease-out); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 719px) { body.has-ctabar .toast { bottom: 88px; } }

/* panier (tiroir) */
.cart-drawer { position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); z-index: 70; background: var(--ivoire); color: var(--charbon); transform: translateX(100%); transition: transform .55s var(--ease-out); display: grid; grid-template-rows: auto 1fr auto; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .4); }
.cart-drawer.is-open { transform: none; }
.cart-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--ligne); }
.cart-drawer__head h2 { font-size: 1.4rem; font-weight: 400; }
.cart-drawer__body { overflow-y: auto; padding: 8px 24px; }
.cart-drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--ligne); display: grid; gap: 12px; }
.cart-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(16, 19, 15, .5); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.cart-scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ligne); align-items: center; }
.cart-line__thumb { height: 72px; display: grid; place-items: center; background: var(--papier); }
.cart-line__thumb svg { height: 64px; width: auto; }
.cart-line__name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; }
.cart-line__sub { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin-top: 4px; }
.cart-line .qty { height: 36px; margin-top: 8px; } .cart-line .qty button { width: 32px; } .cart-line .qty input { width: 36px; }
.cart-line__price { font-family: var(--serif); text-align: right; display: grid; gap: 6px; }
.cart-line__remove { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); border-bottom: 1px solid currentColor; justify-self: end; }
.cart-empty { padding: 40px 0; text-align: center; color: var(--gris); display: grid; gap: 14px; justify-items: center; }
.totals { display: grid; gap: 8px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .tot { font-family: var(--serif); font-size: 1.3rem; padding-top: 8px; border-top: 1px solid var(--ligne); }
.ship-progress { display: grid; gap: 8px; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.ship-progress i { display: block; height: 3px; background: var(--ligne); position: relative; overflow: hidden; }
.ship-progress i::after { content: ""; position: absolute; inset: 0; background: var(--cuivre); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .6s var(--ease-out); }
.evin { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); line-height: 1.8; }

/* page panier / tunnel */
.checkout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .checkout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; } .checkout__summary { position: sticky; top: calc(var(--header) + 24px); } }
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.steps li { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-clair); display: inline-flex; align-items: center; gap: 8px; }
.steps li::before { content: attr(data-n); width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: .6rem; }
.steps li.is-on { color: var(--charbon); } .steps li.is-on::before { background: var(--charbon); color: var(--ivoire); border-color: var(--charbon); }
.steps li.is-done { color: var(--cuivre); }
.steps li + li { margin-left: 6px; }
.checkout__summary { background: var(--papier); border: 1px solid var(--ligne); padding: 24px; display: grid; gap: 14px; }
.checkout__summary h2 { font-size: 1.4rem; font-weight: 400; }
.step-pane[hidden] { display: none; }
.step-pane { display: grid; gap: 22px; }
.card-mock { border: 1px solid var(--ligne); padding: 20px; display: grid; gap: 18px; background: var(--papier); }
.card-mock .brand-row { display: flex; gap: 10px; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.demo-note { border-left: 2px solid var(--cuivre); padding: 10px 16px; font-size: .88rem; color: var(--gris); }
.order-done { display: grid; gap: 18px; text-align: left; }
.order-done .num { font-family: var(--mono); letter-spacing: .14em; color: var(--cuivre); }

/* --------------------------------------------------------------- barre CTA mobile */
.ctabar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; background: var(--ivoire); border-top: 1px solid var(--ligne); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
.ctabar .btn { min-height: 48px; padding-inline: 1em; }
@media (min-width: 720px) { .ctabar { display: none; } }

/* --------------------------------------------------------------- porte d'âge */
.agegate { position: fixed; inset: 0; z-index: 100; background: var(--nuit); color: var(--ivoire); display: grid; place-items: center; padding: var(--gutter); text-align: center; }
.agegate[hidden] { display: none; }
.agegate__inner { max-width: 520px; display: grid; gap: 22px; justify-items: center; animation: fade 1s var(--ease) both; }
.agegate h2 { font-weight: 300; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; font-variation-settings: "opsz" 72, "SOFT" 40, "WONK" 1; }
.agegate p { color: var(--gris-clair); max-width: 32em; margin: 0; font-size: .95rem; }
.agegate .btn-row { justify-content: center; }
.agegate__refused { color: var(--cuivre); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.agegate__legal { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); line-height: 1.8; max-width: 40em; }
body.gated { overflow: hidden; }

/* --------------------------------------------------------------- équipe */
.team { display: grid; gap: 22px; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(4, 1fr); } }
.person { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--ligne); }
.person .ini { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--cuivre); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--terre); }
.person h3 { font-size: 1.35rem; font-weight: 400; }
.person .role { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.person p { color: var(--gris); font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------- terroir / cartes texte */
.cards3 { display: grid; gap: 22px; }
@media (min-width: 900px) { .cards3 { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.tcard { padding-top: 18px; border-top: 1px solid var(--ligne); display: grid; gap: 10px; }
.tcard h3 { font-size: 1.5rem; font-weight: 400; font-variation-settings: "opsz" 36, "SOFT" 20; }
.tcard p { color: var(--gris); margin: 0; }
.section--forest .tcard, .section--dark .tcard { border-color: var(--ligne-inv); } .section--forest .tcard p, .section--dark .tcard p { color: var(--gris-clair); }

/* timeline */
.timeline { display: grid; gap: 0; border-left: 1px solid var(--ligne); margin-left: 6px; }
.timeline li { padding: 6px 0 28px 28px; position: relative; display: grid; gap: 6px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--cuivre); }
.timeline .when { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cuivre); }
.timeline h3 { font-size: 1.3rem; font-weight: 400; }
.timeline p { color: var(--gris); margin: 0; max-width: 40em; }
.section--dark .timeline { border-color: var(--ligne-inv); } .section--dark .timeline p { color: var(--gris-clair); }

/* FAQ */
.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-variation-settings: "opsz" 24; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--cuivre); font-size: 1.2rem; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--gris); max-width: 46em; }

/* pages pratiques */
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--gris); }
.prose ul { list-style: none; padding: 0; } .prose ul li { padding: 6px 0 6px 20px; position: relative; } .prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--cuivre); }
.prose strong { color: var(--charbon); }
.prose a { border-bottom: 1px solid var(--cuivre); }
.notice { border: 1px solid var(--cuivre); padding: 18px 20px; display: grid; gap: 6px; font-size: .95rem; margin-bottom: 32px; }
.notice b { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: var(--cuivre); }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.contact-info { display: grid; gap: 22px; }
.contact-info .blk { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.contact-info .blk b { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: var(--gris); margin-bottom: 4px; }
.contact-info .blk a:hover { color: var(--terre); }
.hours { display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }

/* engagement */
.pledges { display: grid; gap: 0; border-top: 1px solid var(--ligne-inv); counter-reset: pledge; }
.pledge { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--ligne-inv); }
@media (min-width: 900px) { .pledge { grid-template-columns: 80px minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: start; } }
.pledge .n { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; color: var(--cuivre); }
.pledge h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 400; }
.pledge p { color: var(--gris-clair); margin: 0; }

/* newsletter */
.news { display: grid; gap: 22px; }
@media (min-width: 900px) { .news { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; } }
.news form { display: grid; gap: 16px; }
.news .row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 479px) { .news .row { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- footer */
.footer { background: var(--charbon); color: var(--ivoire); padding: clamp(56px, 8vw, 110px) 0 28px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: 48px; } }
.footer h4 { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; color: var(--gris-clair); margin-bottom: 16px; }
.footer ul li { padding: 5px 0; }
.footer ul a { transition: color .3s; } .footer ul a:hover { color: var(--cuivre); }
.footer .brand { margin-bottom: 18px; }
.footer address { font-style: normal; color: var(--gris-clair); line-height: 1.7; }
.footer address a:hover { color: var(--cuivre); }
.footer .hours { color: var(--gris-clair); margin-top: 12px; font-size: .92rem; max-width: 22em; }
.footer__bottom { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--ligne-inv); display: grid; gap: 14px; }
@media (min-width: 900px) { .footer__bottom { grid-template-columns: 1fr auto; align-items: end; } }
.footer__legal { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-clair); line-height: 1.9; max-width: 70em; }
.footer__legal strong { font-weight: 400; color: var(--ivoire); }
.footer__social { display: flex; gap: 18px; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.footer__social a:hover { color: var(--cuivre); }
.footer .bands { display: flex; gap: 0; margin-top: 30px; height: 26px; }
.footer .bands i { flex: 1; background: var(--foret); } .footer .bands i:nth-child(2) { flex: 0 0 34%; background: repeating-linear-gradient(90deg, var(--cuivre) 0 2px, transparent 2px 9px); align-self: center; height: 12px; }

/* --------------------------------------------------------------- divers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: 8px; z-index: 200; background: var(--ivoire); color: var(--charbon); padding: 8px 12px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.center { text-align: center; }
.stack { display: grid; gap: 1rem; }
.pill { display: inline-block; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid currentColor; padding: 4px 8px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: var(--header); }

/* --------------------------------------------------------------- mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js [data-reveal-stagger] > *, html.js .map[data-animate] .parcel-g { opacity: 1; transform: none; }
  .drawline path, .drawline polyline, .drawline polygon, .drawline line { stroke-dashoffset: 0 !important; }
  .hero__title .line > span { transform: none; }
}

/* --------------------------------------------------------------- hero de secours (carte de nuit) + tracé du parcours */
.hero__fallback .map { background: transparent; border: 0; }
.hero__fallback .map .lande { fill: #1a211c; }
.hero__fallback .map .forest { fill: #22302a; }
.hero__fallback .map .parcel { fill: #4a3f30; stroke: #B3643D; stroke-width: 1.4; }
.hero__fallback .map .road, .hero__fallback .map .track { stroke: rgba(238, 233, 223, .3); }
.hero__fallback .map .road-edge, .hero__fallback .map .plabel, .hero__fallback .map .pname, .hero__fallback .map .flabel, .hero__fallback .map .blabel, .hero__fallback .map .compass, .hero__fallback .map .scale { display: none; }
.hero__fallback .map .building { fill: #EEE9DF; opacity: .6; }
.hero__fallback .map svg { animation: kenburns 30s var(--ease) both; }
.hero__fallback::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 45%, transparent 0%, rgba(16, 19, 15, .6) 100%); }
.map .route { fill: none; stroke: var(--terre); stroke-width: 3.5; stroke-dasharray: 12 9; stroke-linecap: round; stroke-linejoin: round; }
.map .route-pt { fill: var(--ivoire); stroke: var(--terre); stroke-width: 2.5; }
.map .route-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; fill: var(--terre); text-anchor: middle; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); animation: none; }
.hero__photo.is-loaded { opacity: 1; animation: kenburns 24s var(--ease) both; }
.hero__fallback .map { position: absolute; inset: 0; height: 100%; overflow: hidden; }
.hero__fallback .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare .map { position: absolute; inset: 0; background: transparent; border: 0; overflow: hidden; }
.compare .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tcard, .stack { align-content: start; }

/* --------------------------------------------------------------- garde-fous mobile (aucun débordement horizontal) */
.grid > *, .two > *, .form-grid > *, .field, .intro > *, .news > *, .contact-grid > *, .checkout > *, .map-block > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
.btn--ghost { white-space: normal; text-align: left; }
@media (max-width: 719px) { .btn { white-space: normal; text-align: center; } }
.wine-card__foot, .wine-card__actions, .visit__foot { flex-wrap: wrap; }
@media (min-width: 900px) { .col-5-9 { grid-column: 5 / 9; } }
.choice input, .field .choice input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
html.js .hero__coords, html.js .hero__scroll { opacity: 0; transition: opacity 1.2s var(--ease) .6s; }
html.js body.is-ready .hero__coords, html.js body.is-ready .hero__scroll { opacity: 1; }
.brand { white-space: nowrap; flex-shrink: 0; }
