/* ==========================================================================
   Château Dédieu — feuille de style
   Couleurs de la carte de visite (aubergine, doré) + mauve et prune.
   Mise en page inspirée de reor.app : nav en pilule, sections « feuilles »
   arrondies qui glissent les unes sur les autres, chapitres au défilement.
   ========================================================================== */

@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* Cyrillique (page russe) : la Libre Caslon et la Josefin Sans n'ont pas de lettres russes,
   on prend les polices les plus proches. Grâce à unicode-range, elles ne sont téléchargées
   que sur une page qui contient du cyrillique. */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-cyrillic-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-cyrillic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  /* Aubergine de la carte de visite */
  --night: #3a1f26;
  --night-deep: #2a151b;
  --night-lit: #4a2a31;
  --night-edge: #5d3a42;
  --band: #4b2a31;            /* bandeau plus clair du bas de la carte */

  /* Mauve et prune */
  --mauve: #a77086;
  --mauve-dark: #8a5670;
  --mauve-soft: #f3e6eb;
  --plum: #8d3c74;
  --plum-dark: #6e2b5a;

  /* Doré (écritures de la carte) */
  --gold: #c9a46a;
  --gold-light: #e2c48f;
  --gold-dark: #9c7a43;

  /* Clairs */
  --paper: #fbf6f3;
  --surface: #f5ece8;
  --white: #fff;
  --line: #eadcd8;
  --ink: #2c1a20;
  --muted: #6e5a61;
  --on-night: #f4e9e5;
  --on-night-muted: #c7adb3;

  /* Typographie */
  --f-title: "Libre Caslon Text", "Lora", "Iowan Old Style", Georgia, serif;
  --f-sub: "Josefin Sans", "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--night);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2, h3, .num, .figure-num, .step-num { font-variant-numeric: lining-nums; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.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: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--night); padding: .6rem 1rem; border-radius: 999px;
  font-family: var(--f-sub); font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.mark { fill: currentColor; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Grain de papier, comme la carte de visite */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .22; mix-blend-mode: soft-light; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Titres ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--f-sub);
  font-size: 13px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--plum);
}
.h2 {
  font-family: var(--f-title);
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -.015em;
  text-wrap: balance;
  color: var(--night);
}
.h2 em { font-style: italic; color: var(--plum); }
.lead {
  max-width: 58ch;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted);
  text-wrap: pretty;
}

.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); }

/* Titres sur fond sombre */
[data-tone="night"] .eyebrow { color: var(--gold); }
[data-tone="night"] .h2 { color: var(--on-night); }
[data-tone="night"] .h2 em { color: var(--gold-light); }
[data-tone="night"] .lead { color: var(--on-night-muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 13px 24px 11px;     /* la Josefin Sans est un peu haute : on compense */
  border: 0; border-radius: 999px;
  font-family: var(--f-sub); font-size: 15px; font-weight: 600; letter-spacing: .04em;
  white-space: nowrap; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
}
.btn .icon { margin-top: -2px; }
.btn-gold { background: var(--gold); color: var(--night-deep); box-shadow: 0 4px 0 var(--gold-dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-dark); }
.btn-ghost { color: var(--on-night); box-shadow: inset 0 0 0 1.5px rgba(226, 196, 143, .5); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold-light); color: var(--gold-light); }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; justify-content: center;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) 12px;
  pointer-events: none;
}
.nav-inner {
  position: relative;
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: var(--maxw);
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  color: var(--on-night);
  background: rgba(42, 21, 27, .62);
  border: 1px solid rgba(226, 196, 143, .18);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background .4s, color .4s, border-color .4s;
}
html[data-nav="light"] .nav-inner {
  color: var(--ink);
  background: rgba(255, 255, 255, .85);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 30px; height: 30px; color: var(--gold); }
html[data-nav="light"] .brand .mark { color: var(--plum); }
.wordmark { font-family: var(--f-title); font-size: 19px; letter-spacing: .005em; white-space: nowrap; }

.nav-links { display: flex; gap: 2px; margin-left: auto; font-family: var(--f-sub); font-size: 15px; font-weight: 500; }
.nav-links a { padding: 10px 14px 8px; border-radius: 999px; opacity: .82; transition: opacity .2s, background .2s; }
.nav-links a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
.nav-links .nav-links-cta { display: none; }
.btn-nav { min-height: 40px; padding: 10px 18px 8px; font-size: 14px; }

/* Sélecteur de langue FR / EN / RU */
.lang {
  display: flex; gap: 2px; padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(226, 196, 143, .22);
  font-family: var(--f-sub); font-size: 13px; font-weight: 600; letter-spacing: .08em;
}
.lang a { padding: 7px 9px 5px; border-radius: 999px; opacity: .7; transition: opacity .2s, background .2s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; background: rgba(226, 196, 143, .18); color: var(--gold-light); }
html[data-nav="light"] .nav-inner > .lang { border-color: var(--line); }
html[data-nav="light"] .nav-inner > .lang a[aria-current] { background: var(--mauve-soft); color: var(--plum); }
.lang-menu { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-left: auto;
  border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; margin: 0 auto;
  background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .btn-nav, .nav-inner > .lang { display: none; }
  .nav-links .lang-menu { display: flex; align-self: center; margin: 4px 0 8px; }
  .nav-links .lang-menu a { padding: 9px 16px 7px; font-size: 15px; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px;
    border-radius: var(--r-lg);
    background: var(--night-deep); color: var(--on-night);
    border: 1px solid rgba(226, 196, 143, .18);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 16px 12px; font-size: 17px; }
  .nav-links .nav-links-cta { display: block; margin-top: 4px; background: var(--gold); color: var(--night-deep); opacity: 1; text-align: center; font-weight: 600; }
}

/* ---------- Accueil (la carte de visite) ---------- */
.s-hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  color: var(--on-night);
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(201, 164, 106, .16), transparent 70%),
    radial-gradient(45% 45% at 88% 85%, rgba(141, 60, 116, .35), transparent 70%),
    radial-gradient(40% 40% at 6% 70%, rgba(167, 112, 134, .22), transparent 70%),
    var(--night);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .16; filter: grayscale(.4) sepia(.3);
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%);
}

.hero {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  padding-block: calc(env(safe-area-inset-top, 0px) + 112px) 56px;
  text-align: center;
}
.kicker {
  font-family: var(--f-sub); font-size: 13px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--on-night-muted);
  animation: fade 1s var(--ease) both;
}
.hero-mark {
  width: clamp(96px, 12vw, 132px); aspect-ratio: 1;
  margin-block: 8px 4px;
  perspective: 600px;
  animation: mark-in 1.4s var(--ease) both .1s;
}
.hero-mark svg {
  width: 100%; height: 100%;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  filter: drop-shadow(0 10px 30px rgba(201, 164, 106, .22));
}
.hero-title { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span {
  display: inline-block;
  font-family: var(--f-title);
  font-size: clamp(46px, 8vw, 104px);
  line-height: 1.02;
  letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-light) 30%, #f3dfb6 45%, var(--gold) 60%, var(--gold-dark) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: rise 1.1s var(--ease) both .25s, sheen 3.2s ease-in-out 1.2s both;
}
.hero-sub {
  font-family: var(--f-sub); font-size: clamp(17px, 2vw, 24px); font-weight: 400;
  letter-spacing: .06em;
  color: var(--gold);
  animation: fade 1s var(--ease) both .55s;
}
.hero .lead { color: var(--on-night-muted); text-align: center; margin-top: 6px; animation: fade 1s var(--ease) both .7s; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; animation: fade 1s var(--ease) both .85s; }

/* Bandeau du bas, avec le défilé des étapes de l'année */
.hero-band {
  position: relative;
  background: var(--band);
  border-top: 1px solid rgba(226, 196, 143, .12);
  padding-block: 18px;
  overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.hero-band:hover .marquee-track { animation-play-state: paused; }
.marquee-row {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--f-title); font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--gold-light); white-space: nowrap;
}
.marquee-row i { width: 7px; height: 7px; border-radius: 50%; background: var(--mauve); flex: none; }
.marquee-row i:nth-of-type(3n+2) { background: var(--gold); }
.marquee-row i:nth-of-type(3n) { background: var(--plum); }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes mark-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifeste ---------- */
.s-manifeste {
  color: var(--on-night);
  background:
    radial-gradient(50% 60% at 15% 30%, rgba(141, 60, 116, .22), transparent 70%),
    var(--night);
  padding-block: clamp(80px, 11vw, 140px) clamp(120px, 14vw, 180px);
}
.manifeste { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.stat {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--night-lit), var(--night-deep));
  border: 1.5px solid var(--night-edge);
  box-shadow: 0 6px 0 var(--night-deep), 0 0 70px -20px rgba(201, 164, 106, .35);
}
.stat .num {
  font-family: var(--f-title);
  font-size: clamp(64px, 8vw, 104px); line-height: 1;
  color: var(--gold);
}
.stat p { font-size: 18px; color: var(--on-night); }
.stat small { font-family: var(--f-sub); font-size: 14px; color: var(--on-night-muted); letter-spacing: .02em; }
.manifesto { display: flex; flex-direction: column; gap: 22px; }
.manifesto p { max-width: 54ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--on-night-muted); }
.manifesto p b { color: var(--on-night); font-weight: 600; }

/* ---------- Sections « feuilles » qui glissent sur la précédente ---------- */
.sheet { position: relative; border-radius: 40px 40px 0 0; margin-top: -48px; }

/* ---------- Histoire : chapitres ---------- */
.s-histoire { background: var(--paper); padding-top: clamp(80px, 10vw, 128px); z-index: 1; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.story-media {
  position: sticky; top: 0;
  height: 100svh;
  display: flex; align-items: center;
  padding-top: 40px;
}
.story-frame {
  position: relative;
  width: 100%; aspect-ratio: 4 / 5; max-height: 74svh;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--night);
  box-shadow: 0 30px 60px -30px rgba(58, 31, 38, .55);
}
.story-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.story-shot.is-active { opacity: 1; transform: none; }
.story-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(42, 21, 27, .75), transparent 45%);
}
.story-cap {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1;
  display: flex; align-items: baseline; gap: 14px;
  color: var(--on-night);
  font-family: var(--f-title); font-size: clamp(22px, 2.2vw, 30px);
}
.story-num { font-style: italic; color: var(--gold-light); min-width: 1.6em; }

.chapters { display: flex; flex-direction: column; }
.chapter { min-height: 88svh; display: flex; align-items: center; }
.card {
  width: 100%; max-width: 500px;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 2px solid var(--line);
  box-shadow: 0 6px 0 var(--line);
  transition: border-color .35s, box-shadow .35s, transform .35s;
}
.chapter.is-active .card { border-color: var(--gold); box-shadow: 0 6px 0 var(--gold-dark); transform: translateY(-2px); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-label { font-family: var(--f-sub); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.card-count { font-family: var(--f-sub); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card h3 { font-family: var(--f-title); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: var(--night); }
.card p { color: var(--muted); }
.bar { height: 6px; margin-top: 6px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--mauve), var(--plum)); }
.chapter-img { display: none; }

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .chapters { gap: 20px; padding-bottom: 0; }
  .chapter { min-height: 0; }
  .card { max-width: none; }
  .chapter-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 4px; }
}

/* ---------- Le vigneron ---------- */
.s-vigneron { background: var(--paper); padding-block: clamp(32px, 5vw, 64px) clamp(96px, 12vw, 160px); }
.vigneron { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 104px); align-items: center; }
.portrait { margin: 0; }
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  border-radius: 200px 200px var(--r-xl) var(--r-xl);
  background:
    radial-gradient(70% 50% at 50% 30%, rgba(201, 164, 106, .18), transparent 70%),
    linear-gradient(170deg, var(--mauve) 0%, var(--plum) 55%, var(--night) 100%);
  color: var(--gold-light);
  text-align: center;
  font-family: var(--f-sub); font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
}
.portrait-placeholder .mark { width: 72px; height: 72px; opacity: .9; }
.vigneron-copy { display: flex; flex-direction: column; gap: 22px; }
.quote { margin: 0; padding-left: 24px; border-left: 2px solid var(--gold); }
.quote p { font-family: var(--f-title); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--plum-dark); }
.vigneron-copy > p { color: var(--muted); max-width: 56ch; }
.signature { font-family: var(--f-title); font-style: italic; font-size: 22px; color: var(--gold-dark); }
.signature::before { content: ""; display: inline-block; width: 36px; height: 1px; margin: 0 12px 6px 0; background: currentColor; vertical-align: middle; }

/* ---------- Le vignoble ---------- */
.s-vignoble { background: var(--surface); padding-block: clamp(96px, 12vw, 160px); }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 clamp(32px, 5vw, 56px); }
.figure {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1.5px solid var(--line);
}
.figure dt { font-family: var(--f-sub); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.figure dd { margin: 0; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.figure-num { font-family: var(--f-title); font-size: clamp(40px, 4.4vw, 56px); line-height: 1; color: var(--night); }
.figure-num-text { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.2; }
.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-xl); }
.wide-photo figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Une année au domaine ---------- */
.s-saisons { background: var(--paper); padding-block: clamp(96px, 12vw, 160px) clamp(140px, 16vw, 200px); }
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.season {
  display: flex; flex-direction: column;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 2px solid var(--line);
  box-shadow: 0 6px 0 var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease);
}
.season:hover { transform: translateY(-4px); }
.season-art {
  position: relative;
  height: 150px;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 18px 20px;
  color: var(--gold-light);
}
.season-art .icon { width: 44px; height: 44px; stroke-width: 1.3; }
.season-pill {
  padding: 7px 14px 5px; border-radius: 999px;
  font-family: var(--f-sub); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 255, 255, .16); color: var(--white);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.season-hiver .season-art { background: linear-gradient(150deg, var(--night-edge), var(--night-deep)); }
.season-printemps .season-art { background: linear-gradient(150deg, #c495a8, var(--mauve-dark)); color: var(--white); }
.season-ete .season-art { background: linear-gradient(150deg, var(--gold-light), var(--gold-dark)); color: var(--night); }
.season-ete .season-pill { background: rgba(58, 31, 38, .14); color: var(--night); }
.season-automne .season-art { background: linear-gradient(150deg, #a8508c, var(--plum-dark)); }
.season-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 26px; }
.season-body h3 { font-family: var(--f-title); font-size: 25px; color: var(--night); }
.season-body p { color: var(--muted); font-size: 16px; }

/* ---------- Négoce & export ---------- */
.s-negoce {
  z-index: 2;
  color: var(--on-night);
  background:
    radial-gradient(60% 40% at 85% 10%, rgba(141, 60, 116, .3), transparent 70%),
    radial-gradient(50% 40% at 10% 60%, rgba(201, 164, 106, .08), transparent 70%),
    var(--night);
  padding-block: clamp(96px, 12vw, 150px) clamp(140px, 16vw, 200px);
}
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promise {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(226, 196, 143, .14);
}
.promise .icon { width: 30px; height: 30px; color: var(--gold); margin-top: 2px; }
.promise div { display: flex; flex-direction: column; gap: 4px; }
.promise b { font-family: var(--f-title); font-weight: 400; font-size: 21px; color: var(--on-night); }
.promise span { color: var(--on-night-muted); font-size: 16px; }

.process { margin-top: clamp(64px, 9vw, 112px); }
.process-title {
  font-family: var(--f-title); font-size: clamp(26px, 2.8vw, 34px); color: var(--on-night);
  margin-bottom: 28px;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1.5px solid rgba(226, 196, 143, .3); }
.step-num { font-family: var(--f-title); font-style: italic; font-size: 44px; line-height: 1; color: var(--gold); }
.steps b { font-family: var(--f-sub); font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night); }
.steps li > span:last-child { color: var(--on-night-muted); font-size: 16px; }

.faq-wrap { margin-top: clamp(64px, 9vw, 112px); max-width: 860px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(226, 196, 143, .14);
  transition: background .2s;
}
.faq details[open] { background: rgba(255, 255, 255, .06); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-family: var(--f-title); font-size: 20px; color: var(--on-night);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(226, 196, 143, .35);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--on-night-muted); max-width: 64ch; }

/* ---------- Contact professionnels ---------- */
.s-contact {
  z-index: 3;
  color: var(--on-night);
  background:
    radial-gradient(60% 60% at 30% 40%, rgba(201, 164, 106, .16), transparent 70%),
    linear-gradient(180deg, var(--plum) 0%, var(--plum-dark) 50%, var(--night) 100%);
  padding-block: clamp(96px, 12vw, 150px) clamp(96px, 12vw, 140px);
}
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.s-contact .h2 { font-size: clamp(30px, 3.6vw, 46px); }
.s-contact .h2 em { color: var(--gold-light); }
.s-contact .lead { color: rgba(244, 233, 229, .82); }
.contact-intro { display: flex; flex-direction: column; gap: 20px; }
.contact-direct { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.contact-direct li { display: flex; align-items: center; gap: 14px; }
.contact-direct .icon { width: 22px; height: 22px; color: var(--gold-light); }
.contact-direct a { border-bottom: 1px solid rgba(226, 196, 143, .4); transition: border-color .2s, color .2s; }
.contact-direct a:hover { color: var(--gold-light); border-color: var(--gold-light); }

.contact-form {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 0 rgba(42, 21, 27, .35), 0 40px 80px -40px rgba(0, 0, 0, .5);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-sub); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--white); color: var(--ink);
  font: inherit; font-size: 17px;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238d3c74' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(141, 60, 116, .14);
}
.form-error { color: #9b1c3a; font-weight: 600; }
.form-note { font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Pied de page ---------- */
.footer { background: var(--night-deep); color: var(--on-night-muted); padding-block: 64px 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-brand .mark { width: 52px; height: 52px; color: var(--gold); margin-bottom: 10px; }
.footer-name { font-family: var(--f-title); font-size: 26px; color: var(--gold-light); }
.footer-sub { font-family: var(--f-sub); letter-spacing: .06em; color: var(--gold); }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; font-family: var(--f-sub); font-size: 15px; }
.footer-links a { padding-block: 4px; transition: color .2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(226, 196, 143, .14);
  font-size: 14px;
}

/* ---------- Page mentions légales ---------- */
.page { background: var(--paper); padding-block: 140px 96px; }
.page .wrap { max-width: 820px; }
.page h1 { font-family: var(--f-title); font-size: clamp(36px, 5vw, 52px); color: var(--night); margin-bottom: 32px; }
.page h2 { font-family: var(--f-title); font-size: 24px; color: var(--plum-dark); margin: 36px 0 10px; }
.page p { color: var(--muted); }
.page p + p { margin-top: 12px; }
.page a { color: var(--plum); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Mode brouillon (?brouillon dans l'adresse) : textes provisoires en pointillés ---------- */
.show-demo [data-demo] { outline: 2px dashed var(--mauve); outline-offset: 4px; border-radius: 6px; }
.show-demo body::after {
  content: "Mode brouillon : les zones en pointillés sont des textes provisoires";
  position: fixed; left: 50%; bottom: 16px; z-index: 50; transform: translateX(-50%);
  padding: 10px 18px 8px; border-radius: 999px;
  background: var(--mauve); color: var(--white);
  font-family: var(--f-sub); font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4);
}
.show-demo:lang(en) body::after { content: "Draft mode: dashed areas are placeholder text"; }
.show-demo:lang(ru) body::after { content: "Режим черновика: пунктиром отмечены временные тексты"; }

/* Russe : mots longs, on autorise la césure dans les paragraphes */
:lang(ru) p, :lang(ru) .lead { -webkit-hyphens: auto; hyphens: auto; }

/* ---------- Tablettes et mobiles ---------- */
@media (max-width: 1080px) {
  .seasons, .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}
@media (max-width: 860px) {
  .manifeste, .vigneron, .contact { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .sheet { border-radius: 28px 28px 0 0; margin-top: -32px; }
  .seasons, .figures, .promises, .steps, .field-row { grid-template-columns: 1fr; }
  .season-art { height: 120px; }
  .hero-actions .btn { width: 100%; }
  .wide-photo img { aspect-ratio: 4 / 3; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  .show-demo body::after { white-space: normal; width: calc(100% - 32px); text-align: center; }
}
