/* =========================================================
   LES COUREURS DES VIGNES — Design system
   Terroir de Saint-Émilion : calcaire · vigne · vin
   Typo : Archivo Expanded (titres) · Instrument Sans (texte) · Space Mono (données)
   ========================================================= */

:root {
  /* — Couleurs terroir — */
  --limestone: #e7e4d8;   /* fond : plateau calcaire */
  --limestone-2: #ded9c9;
  --chalk: #faf8f1;       /* surfaces surélevées */
  --vine-deep: #14331e;   /* héros, pied de page */
  --vine-deep-2: #0f2717;
  --vine: #2e6b3e;        /* vert principal */
  --vine-2: #1c4a2c;
  --shoot: #a9ce3c;       /* accent énergie : jeune sarment */
  --shoot-dark: #86a828;
  --wine: #6e1a2a;        /* accent : vin de St-Émilion */
  --wine-2: #521320;
  --ink: #1a211b;         /* texte */
  --ink-soft: #47534a;
  --muted: #6d7a70;
  --line: rgba(20, 33, 30, .12);
  --line-light: rgba(250, 248, 241, .16);

  /* — Rayons — */
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* — Ombres — */
  --sh-sm: 0 2px 10px rgba(16, 32, 22, .06);
  --sh: 0 14px 34px rgba(16, 32, 22, .10);
  --sh-lg: 0 34px 70px rgba(16, 32, 22, .20);
  --sh-vine: 0 16px 34px rgba(46, 107, 62, .30);

  /* — Typo — */
  --f-display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --f-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--limestone);
  line-height: 1.62;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.05; }
h1, h2 { font-family: var(--f-display); letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
::selection { background: var(--shoot); color: var(--vine-deep); }

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.surface-chalk { background: var(--chalk); }
.surface-limestone { background: var(--limestone); }
.surface-vine { background: var(--vine-deep); color: var(--chalk); }
.surface-vine h1, .surface-vine h2, .surface-vine h3 { color: var(--chalk); }

/* ---------- Étiquette « données » (mono) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--vine);
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 2px;
  background: var(--shoot); transform: rotate(45deg); flex-shrink: 0;
}
.surface-vine .eyebrow { color: var(--shoot); }
.surface-vine .eyebrow::before { background: var(--shoot); }

/* ---------- En-tête de section ---------- */
.head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head__title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-top: .6rem; }
.head__lead { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 0; }
.surface-vine .head__lead { color: rgba(250, 248, 241, .78); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--vine); --fg: var(--chalk); --bd: transparent;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 15px 26px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--vine { --bg: var(--vine); --fg: var(--chalk); box-shadow: var(--sh-vine); }
.btn--vine:hover { --bg: var(--vine-2); }
.btn--shoot { --bg: var(--shoot); --fg: var(--vine-deep); box-shadow: 0 14px 30px rgba(169, 206, 60, .38); }
.btn--shoot:hover { --bg: #b8db4f; }
.btn--wine { --bg: var(--wine); --fg: var(--chalk); }
.btn--wine:hover { --bg: var(--wine-2); }
.btn--ghost { --bg: transparent; --fg: var(--chalk); --bd: rgba(250, 248, 241, .4); }
.btn--ghost:hover { --bg: var(--chalk); --fg: var(--vine-deep); --bd: var(--chalk); }
.btn--ink { --bg: var(--ink); --fg: var(--chalk); }
.btn--outline-vine { --bg: transparent; --fg: var(--vine); --bd: var(--vine); }
.btn--outline-vine:hover { --bg: var(--vine); --fg: var(--chalk); }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 51, 30, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(15, 39, 23, .96); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--chalk); flex-shrink: 0; }
.brand__badge { width: 48px; height: 48px; border-radius: 50%; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name strong { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; white-space: nowrap; }
.brand__name span { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--shoot); margin-top: 3px; }
.brand__grape { flex: none; margin-left: 6px; }
.logo-coin { background: #fff; border-radius: 50%; padding: 5px; box-shadow: 0 2px 8px rgba(0,0,0,.22); }

.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  color: rgba(250, 248, 241, .8); padding: 9px 15px; border-radius: var(--r-pill);
  font-size: .93rem; font-weight: 500; transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--chalk); background: rgba(250, 248, 241, .1); }
.nav__link.is-active { color: var(--vine-deep); background: var(--shoot); }
.nav__cta { margin-left: 10px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: none; background: none; cursor: pointer; padding: 10px;
}
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--chalk); margin: 5px 0; transition: .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Barre de progression ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--shoot), var(--gold) 55%, var(--wine));
  z-index: 200; transition: width .1s linear;
}

/* ---------- HÉROS ---------- */
.hero { position: relative; background: var(--vine-deep); color: var(--chalk); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; animation: kenburns 28s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.17) translate(-1.6%, -1%); } }
.hero::before { /* voile vert : lisibilité du texte sur la photo */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(169, 206, 60, .20), transparent 44%),
    linear-gradient(to top, rgba(8, 23, 14, .93) 2%, transparent 34%),
    linear-gradient(112deg, rgba(8, 23, 14, .95) 0%, rgba(12, 36, 22, .78) 45%, rgba(15, 44, 27, .40) 100%);
}
.hero::after { /* rangs de vigne */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: repeating-linear-gradient(108deg, transparent 0 38px, rgba(250, 248, 241, .05) 38px 39px);
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000);
}
.hero__inner { padding-block: clamp(4rem, 9vw, 7rem) clamp(9rem, 16vw, 13rem); max-width: 860px; position: relative; z-index: 1; }
.hero__eyebrow { color: var(--shoot); margin-bottom: 1.6rem; }
.hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3rem, 8.5vw, 6.4rem); line-height: .92; letter-spacing: -.02em;
  margin: 0 0 1.3rem; text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--shoot); }
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(250, 248, 241, .84); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

/* Bandeau data + tracé du parcours */
.hero__trace { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none; }
.hero__trace svg { width: 100%; height: auto; display: block; }
.trace-path { fill: none; stroke: var(--shoot); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.trace-draw { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); animation: draw 2.4s var(--ease) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.trace-dot { fill: var(--chalk); }
.trace-label { font-family: var(--f-mono); font-size: 15px; fill: rgba(250, 248, 241, .82); letter-spacing: .05em; }

/* ---------- Séparateur « tracé » ---------- */
.trace-divider { display: block; width: 100%; height: 60px; }
.trace-divider .trace-path { stroke-width: 2.5; opacity: .8; }

/* ---------- TERRAINS ---------- */
.terrains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.terrain {
  background: var(--chalk); border-radius: var(--r); padding: 32px 28px;
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.terrain::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--shoot); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.terrain:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.terrain:hover::after { transform: scaleX(1); }
.terrain__icon { width: 54px; height: 54px; margin-bottom: 20px; color: var(--vine); }
.terrain__icon svg { width: 100%; height: 100%; }
.terrain__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wine); }
.terrain__title { font-family: var(--f-body); font-weight: 600; font-size: 1.35rem; margin: .3rem 0 .5rem; }
.terrain__text { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---------- À PROPOS ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__figure {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh);
  aspect-ratio: 4 / 3; background: var(--vine-deep); position: relative;
}
.about__figure svg, .about__figure img { width: 100%; height: 100%; object-fit: cover; }
.about__figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--chalk); background: rgba(20, 51, 30, .6); backdrop-filter: blur(4px);
  padding: 7px 12px; border-radius: var(--r-pill);
}
.about__list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: 2px; }
.about__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.about__item:first-child { border-top: none; }
.about__item svg { width: 20px; height: 20px; color: var(--vine); flex-shrink: 0; margin-top: 3px; }
.about__item span { color: var(--ink-soft); }

/* ---------- MÉTRIQUES ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { border-left: 2px solid var(--line-light); padding-left: 20px; }
.metric__value { font-family: var(--f-mono); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--shoot); line-height: 1; }
.metric__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(250, 248, 241, .62); margin-top: .6rem; }

/* ---------- SÉQUENCE KM (déroulé / étapes) ---------- */
.flow { display: grid; gap: 0; }
.flow__item {
  display: grid; grid-template-columns: 128px 1fr; gap: clamp(1rem, 4vw, 3rem);
  padding: 30px 0; border-top: 1px solid var(--line); align-items: start;
}
.flow__item:last-child { border-bottom: 1px solid var(--line); }
.flow__km { font-family: var(--f-mono); font-weight: 700; color: var(--wine); font-size: 1rem; letter-spacing: .04em; }
.flow__km small { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .16em; margin-top: 3px; }
.flow__title { font-family: var(--f-body); font-weight: 600; font-size: 1.3rem; margin: 0 0 .4rem; }
.flow__text { color: var(--ink-soft); margin: 0; }

/* ---------- FORMULES ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 22px; align-items: stretch; justify-content: center; }
.plan {
  background: var(--chalk); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 28px; display: flex; flex-direction: column; box-shadow: var(--sh-sm); position: relative;
}
.plan--featured { border: 2px solid var(--vine); box-shadow: var(--sh); }
.plan__flag {
  position: absolute; top: -13px; left: 28px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--vine); color: var(--chalk); padding: 6px 14px; border-radius: var(--r-pill);
}
.plan__name { font-family: var(--f-body); font-weight: 600; font-size: 1.25rem; }
.plan__price { font-family: var(--f-display); font-weight: 800; font-size: 2.8rem; color: var(--vine-deep); line-height: 1; margin-top: .4rem; }
.plan__price span { font-family: var(--f-mono); font-size: .9rem; font-weight: 400; color: var(--muted); }
.plan__list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 10px; flex-grow: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .96rem; }
.plan__list svg { width: 18px; height: 18px; color: var(--vine); flex-shrink: 0; margin-top: 3px; }

/* ---------- ÉVÉNEMENTS ---------- */
.events { display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: 96px 1fr auto; gap: clamp(1rem, 3vw, 2rem); align-items: center;
  background: var(--chalk); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.event:hover { transform: translateX(6px); box-shadow: var(--sh); }
.event__date {
  text-align: center; border-radius: var(--r-sm); padding: 12px 8px;
  background: var(--vine-deep); color: var(--chalk);
}
.event__date b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.event__date span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--shoot); }
.event__title { font-family: var(--f-body); font-weight: 600; font-size: 1.2rem; margin: 0 0 .3rem; }
.event__body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: .6rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--vine); }
.event--wine .event__date { background: var(--wine); }
.event--wine .event__date span { color: #e9b8c0; }

/* ---------- CITATION ---------- */
.quote { max-width: 820px; margin-inline: auto; text-align: center; }
.quote__mark { font-family: var(--f-display); font-size: 4rem; color: var(--shoot); line-height: .5; }
.quote__text { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.25; letter-spacing: -.01em; margin: 1rem 0 1.5rem; text-wrap: balance; }
.surface-vine .quote__text { color: var(--chalk); }
.quote__author { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--shoot); }

/* ---------- BANDEAU CITATION IMMERSIF (parallaxe) ---------- */
.quote-band {
  position: relative; color: var(--chalk); overflow: hidden;
  padding-block: clamp(6rem, 13vw, 10rem);
  background: var(--vine-deep) url(../assets/quote.jpg) center / cover no-repeat fixed;
}
.quote-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(110, 26, 42, .34), transparent 55%),
    linear-gradient(rgba(9, 24, 14, .74), rgba(11, 32, 19, .82));
}
.quote-band > * { position: relative; z-index: 1; }
.quote-band .quote__text { color: var(--chalk); }
.quote-band .quote__mark { color: var(--shoot); }

/* ---------- BANDEAU CTA ---------- */
.cta-band {
  background: var(--wine); color: var(--chalk); border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 90% 0%, rgba(169, 206, 60, .22), transparent 50%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--chalk); }
.cta-band p { color: rgba(250, 248, 241, .85); max-width: 540px; margin-inline: auto; margin-bottom: 1.8rem; }
.cta-band .hero__actions { justify-content: center; margin-top: 0; }
.cta-band > * { z-index: 1; }
.cta-band::after {
  content: ""; position: absolute; right: -14px; bottom: -28px; width: 200px; height: 210px; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2044%2046'%3E%3Cg%20fill='%23ffffff'%3E%3Ccircle%20cx='13'%20cy='22'%20r='5.4'/%3E%3Ccircle%20cx='24'%20cy='20'%20r='5.4'/%3E%3Ccircle%20cx='35'%20cy='22'%20r='5.4'/%3E%3Ccircle%20cx='18'%20cy='31'%20r='5.4'/%3E%3Ccircle%20cx='30'%20cy='31'%20r='5.4'/%3E%3Ccircle%20cx='24'%20cy='40'%20r='5.4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .1; pointer-events: none;
}

/* ---------- Motif grappe de raisin (accent bordeaux) ---------- */
.grape-mark, .footer__brand::after {
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2044%2052'%3E%3Cpath%20d='M23%2015C22%2010%2024%207%2028%205'%20stroke='%23a9ce3c'%20stroke-width='2.6'%20fill='none'%20stroke-linecap='round'/%3E%3Cpath%20d='M27%206C31%203%2038%204%2041%208C36%2013%2029%2012%2026%208Z'%20fill='%23a9ce3c'/%3E%3Cg%20fill='%23b23a54'%3E%3Ccircle%20cx='13'%20cy='27'%20r='5.4'/%3E%3Ccircle%20cx='24'%20cy='25'%20r='5.4'/%3E%3Ccircle%20cx='35'%20cy='27'%20r='5.4'/%3E%3Ccircle%20cx='18'%20cy='36'%20r='5.4'/%3E%3Ccircle%20cx='30'%20cy='36'%20r='5.4'/%3E%3Ccircle%20cx='24'%20cy='45'%20r='5.4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.footer__brand::after { content: ""; width: 32px; height: 38px; margin-left: 2px; flex-shrink: 0; }
.grape-divider { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 4px 0; }
.grape-divider::before, .grape-divider::after { content: ""; height: 2px; flex: 0 1 190px; border-radius: 2px; }
.grape-divider::before { background: linear-gradient(to right, transparent, rgba(110, 26, 42, .42)); }
.grape-divider::after { background: linear-gradient(to left, transparent, rgba(110, 26, 42, .42)); }
.grape-mark { width: 40px; height: 46px; flex-shrink: 0; }

/* ---------- HÉROS DE PAGE (pages internes) ---------- */
.page-hero { background: var(--vine-deep) url(../assets/hero.jpg) center / cover no-repeat; color: var(--chalk); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(110% 90% at 88% 10%, rgba(169, 206, 60, .16), transparent 48%),
    linear-gradient(150deg, rgba(9, 26, 15, .90), rgba(13, 40, 24, .82));
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45;
  background-image: repeating-linear-gradient(108deg, transparent 0 38px, rgba(250, 248, 241, .05) 38px 39px);
}
.page-hero__inner { padding-block: clamp(3.5rem, 8vw, 5.5rem); max-width: 720px; }
.page-hero__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: .95; letter-spacing: -.02em; margin: 1rem 0 .8rem; }
.page-hero__lead { font-size: 1.15rem; color: rgba(250, 248, 241, .82); margin: 0; max-width: 560px; }

/* ---------- TABLEAU PLANNING ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--sh-sm); background: var(--chalk); }
.planning { width: 100%; border-collapse: collapse; min-width: 660px; }
.planning th, .planning td { padding: 18px 22px; text-align: left; }
.planning thead th { background: var(--vine-deep); color: var(--chalk); font-family: var(--f-mono); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.planning tbody tr { border-top: 1px solid var(--line); }
.planning tbody td:first-child { font-weight: 600; }
.planning .day { font-family: var(--f-mono); color: var(--wine); font-weight: 700; }
.tag { display: inline-block; padding: 4px 12px; border-radius: var(--r-pill); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; }
.tag--debut { background: rgba(46, 107, 62, .14); color: var(--vine); }
.tag--tous { background: rgba(169, 206, 60, .22); color: var(--shoot-dark); }
.tag--conf { background: rgba(110, 26, 42, .12); color: var(--wine); }

/* ---------- Bloc rendez-vous (sortie hebdo) ---------- */
.rdv { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--chalk); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.rdv__item { padding: 30px 28px; border-right: 1px solid var(--line); }
.rdv__item:last-child { border-right: none; }
.rdv__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); }
.rdv__value { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--vine-deep); margin-top: .5rem; line-height: 1.1; }
.rdv__value small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .92rem; color: var(--muted); margin-top: .45rem; }
@media (max-width: 680px) {
  .rdv { grid-template-columns: 1fr; }
  .rdv__item { border-right: none; border-bottom: 1px solid var(--line); }
  .rdv__item:last-child { border-bottom: none; }
}

/* ---------- Encart d'information ---------- */
.callout { display: flex; gap: 18px; align-items: flex-start; background: var(--chalk); border: 1px solid var(--line); border-left: 4px solid var(--shoot); border-radius: var(--r); padding: 24px 28px; box-shadow: var(--sh-sm); margin-top: 22px; }
.callout__ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(46, 107, 62, .12); color: var(--vine); display: grid; place-items: center; }
.callout__ic svg { width: 24px; height: 24px; }
.callout__body h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.18rem; margin: 0 0 .35rem; }
.callout__body p { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .callout { flex-direction: column; gap: 14px; } }

/* ---------- Présentation événement (Trail des Vignes) ---------- */
.trail-feature { display: grid; grid-template-columns: minmax(0, 430px) 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
.trail-feature__poster { position: relative; aspect-ratio: 1 / 1.414; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg); background: var(--vine-deep); }
.trail-feature__poster img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.poster-ph { position: absolute; inset: 0; z-index: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 28px; }
.poster-ph svg { width: 44px; height: 44px; color: var(--shoot); }
.poster-ph b { color: var(--chalk); font-size: 1.05rem; }
.poster-ph small { color: rgba(250, 248, 241, .62); font-family: var(--f-mono); font-size: .72rem; line-height: 1.7; }
.poster-ph code { background: rgba(250, 248, 241, .12); padding: 2px 6px; border-radius: 5px; color: var(--chalk); }

.trail-badge { display: inline-block; font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--chalk); background: var(--wine); padding: 6px 14px; border-radius: var(--r-pill); }
.trail-feature__info h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.01em; margin: .9rem 0 .1rem; }
.trail-tagline { font-family: var(--f-display); font-weight: 700; font-style: italic; color: var(--vine); font-size: 1.25rem; margin: 0 0 1rem; }
.trail-when { display: flex; align-items: center; gap: 12px; background: var(--chalk); border: 1px solid var(--line); border-left: 4px solid var(--shoot); border-radius: var(--r-sm); padding: 13px 16px; margin: 1.2rem 0; color: var(--vine-deep); }
.trail-when svg { width: 24px; height: 24px; color: var(--vine); flex-shrink: 0; }
.trail-when b { font-family: var(--f-mono); }
.trail-epreuves { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: 10px; }
.trail-epreuves li { display: flex; gap: 14px; align-items: center; background: var(--chalk); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; }
.trail-epreuves .ic { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: rgba(46, 107, 62, .12); color: var(--vine); }
.trail-epreuves .ic svg { width: 22px; height: 22px; }
.trail-epreuves b { display: block; font-size: 1rem; }
.trail-epreuves small { color: var(--muted); font-size: .9rem; }
.trail-solidaire { display: flex; align-items: center; gap: 12px; background: rgba(214, 68, 118, .1); border: 1px solid rgba(214, 68, 118, .3); color: #b03a63; border-radius: var(--r-sm); padding: 13px 16px; margin-bottom: 1.4rem; }
.trail-solidaire svg { width: 22px; height: 22px; flex-shrink: 0; }
.trail-solidaire strong { color: #9c2f55; }
.trail-reserve { display: flex; flex-wrap: wrap; gap: 12px; }
.trail-infos { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); margin: 1.2rem 0 0; }
@media (max-width: 820px) {
  .trail-feature { grid-template-columns: 1fr; }
  .trail-feature__poster { max-width: 440px; margin-inline: auto; width: 100%; }
}

/* ---------- Blog : liste d'articles ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { display: flex; flex-direction: column; background: var(--chalk); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--vine-deep); position: relative; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.06); }
.article-card__tag { position: absolute; top: 14px; left: 14px; z-index: 1; font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--wine); color: var(--chalk); padding: 5px 12px; border-radius: var(--r-pill); }
.article-card__body { display: flex; flex-direction: column; flex-grow: 1; padding: 24px 24px 26px; }
.article-card__date { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
.article-card__title { font-family: var(--f-body); font-weight: 600; font-size: 1.28rem; line-height: 1.25; margin: .5rem 0 .6rem; }
.article-card__excerpt { color: var(--ink-soft); font-size: .96rem; margin: 0 0 1.2rem; flex-grow: 1; }
.article-card__link { font-family: var(--f-body); font-weight: 600; color: var(--vine); display: inline-flex; align-items: center; gap: .4rem; }
.article-card:hover .article-card__link { gap: .7rem; }
.article-card__link svg { transition: transform .25s var(--ease); }

/* ---------- Blog : page article ---------- */
.article { max-width: 740px; margin-inline: auto; }
.article-back { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--vine); margin-bottom: 1.6rem; }
.article-back svg { transition: transform .25s var(--ease); }
.article-back:hover svg { transform: translateX(-4px); }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 1rem; }
.article__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.06; letter-spacing: -.01em; margin: 0 0 1.6rem; }
.article__cover { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); margin-bottom: 2rem; aspect-ratio: 16 / 9; background: var(--vine-deep); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article__body { font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); }
.article__body p { margin: 0 0 1.3rem; }
.article__body h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; color: var(--ink); margin: 2.2rem 0 .8rem; }
.article__body strong { color: var(--ink); }
.article__body ul { margin: 0 0 1.3rem; padding-left: 1.2rem; }
.article__body li { margin-bottom: .5rem; }
.article__body a { color: var(--vine); font-weight: 600; }
.article__footer { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .articles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .articles { grid-template-columns: 1fr; } }

/* ---------- FORMULAIRE ---------- */
.form-card { background: var(--chalk); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 42px); box-shadow: var(--sh); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field__label { display: block; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--limestone); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--vine); background: var(--chalk); box-shadow: 0 0 0 3px rgba(46, 107, 62, .16);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--check { display: flex; gap: 11px; align-items: flex-start; }
.field--check input { width: auto; margin-top: 4px; accent-color: var(--vine); }
.field--check label { font-family: var(--f-body); font-size: .9rem; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.form__note { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); margin-top: 12px; }
.alert { padding: 15px 18px; border-radius: var(--r-sm); margin-bottom: 18px; background: rgba(46, 107, 62, .12); border: 1px solid rgba(46, 107, 62, .3); color: var(--vine); font-weight: 500; }
.alert--error { background: rgba(110, 26, 42, .10); border-color: rgba(110, 26, 42, .35); color: var(--wine); }

/* ---------- Coordonnées ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--r-sm); background: rgba(46, 107, 62, .12); color: var(--vine); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-size: .95rem; }
.contact-list span { color: var(--ink-soft); font-size: .92rem; }
.contact-list .day { font-family: var(--f-mono); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--vine-deep); position: relative; box-shadow: var(--sh-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.gallery .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(250, 248, 241, .55); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; }

/* ---------- PIED DE PAGE ---------- */
.site-footer { background: var(--vine-deep); color: rgba(250, 248, 241, .72); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; margin-bottom: 3rem; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.footer__brand img { width: 54px; height: 54px; border-radius: 50%; }
.footer__brand strong { color: var(--chalk); font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.footer__col h4 { color: var(--chalk); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col a { display: block; padding: 6px 0; color: rgba(250, 248, 241, .72); transition: color .2s; }
.footer__col a:hover { color: var(--shoot); }
.social { display: flex; gap: 10px; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(250, 248, 241, .08); color: var(--chalk); transition: background .2s, transform .2s; }
.social a:hover { background: var(--vine); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--line-light); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; color: rgba(250, 248, 241, .55); }

/* ---------- Animations au scroll (uniquement si JS actif) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }
.narrow { max-width: 760px; margin-inline: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .terrains, .plans, .metrics { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .quote-band { background-attachment: scroll; }
}
/* Menu horizontal seulement quand il y a la place ; sinon hamburger */
@media (max-width: 1200px) {
  .nav__list {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(15, 39, 23, .98); padding: 14px 22px 26px; gap: 2px;
    transform: translateY(-140%); transition: transform .35s var(--ease); box-shadow: var(--sh-lg);
  }
  .nav__list.open { transform: translateY(0); }
  .nav__link { padding: 14px; font-size: 1.05rem; }
  .nav__cta { margin: 8px 0 0; }
  .menu-toggle { display: block; }
}

@media (max-width: 680px) {
  .brand__name strong { font-size: 1.05rem; white-space: normal; }
  .brand__grape { width: 26px; height: auto; }
  .terrains, .plans, .metrics, .form__row, .footer__grid, .gallery { grid-template-columns: 1fr; }
  .flow__item { grid-template-columns: 1fr; gap: .5rem; }
  .event { grid-template-columns: 76px 1fr; }
  .event__cta { grid-column: 1 / -1; }
  .hero__data b { font-size: 1.3rem; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .trace-draw { stroke-dashoffset: 0; }
  .hero-rise { opacity: 1; transform: none; }
  .hero__title em::after { transform: scaleX(1); }
  .trace-node circle { opacity: 1; }
  .trace-runner { display: none; }
  .hero__media img { animation: none; transform: scale(1.04); }
  .quote-band { background-attachment: scroll; }
}
