/* =============================================================
   BIÈRE DE BIÈRE — Feuille de style principale
   Charte CLAIRE / UX moderne (gris clair) — v0.3
   Le produit (bouteille & étiquettes sombres) est mis en valeur
   sur des surfaces sombres « spotlight » pour trancher avec
   l'interface claire.
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Neutres clairs (UX moderne) */
  --bg:        #f2f3f5;   /* fond de page, gris clair */
  --surface:   #ffffff;   /* cartes / sections claires */
  --surface-2: #e9ebee;   /* sous-cartes, champs, puces */
  --line:      #e3e6ea;   /* filets clairs */
  --line-2:    #d3d8de;

  /* Encre / texte */
  --ink:       #191c20;   /* titres */
  --ink-soft:  #545a62;   /* corps de texte */
  --ink-faint: #868d96;   /* discret / légendes */

  /* Accents marque (repris de l'étiquette) */
  --green-900: #12271c;
  --green-800: #163121;
  --green-700: #1f4531;   /* vert principal */
  --green-600: #27573c;
  --green-500: #2f6b49;
  --green:     #1f4531;

  --gold-900:  #7f6330;
  --gold:      #a67e3b;   /* or lisible sur fond clair */
  --gold-300:  #cbac6c;   /* or clair pour surfaces sombres */
  --gold-100:  #e7d3a3;

  --red:       #b2332a;
  --red-600:   #8f271f;

  /* Surfaces sombres (mise en avant produit) + textes dessus */
  --dark:      #14110b;   /* charcoal chaud (fond bouteille) */
  --dark-2:    #182a20;   /* charcoal-vert (footer / bandeaux) */
  --cream:     #f3ead4;   /* texte clair sur surface sombre */
  --line-gold: #cbac6c33; /* filet doré discret sur sombre */

  /* Typo */
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-heritage: "Cinzel", Georgia, serif;
  --f-body: "EB Garamond", Georgia, serif;

  /* Rythme */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 8px;
  --radius-lg: 16px;

  /* Ombres douces (modernes, froides) */
  --shadow-card: 0 1px 2px rgba(23,28,33,.05), 0 12px 28px -14px rgba(23,28,33,.16);
  --shadow-lift: 0 1px 2px rgba(23,28,33,.06), 0 26px 50px -20px rgba(23,28,33,.24);
  --shadow-dark: 0 30px 70px -28px rgba(0,0,0,.55);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1.05rem, .5vw + 1rem, 1.2rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; line-height: 1.08; }

/* ---------- 3. Utilitaires ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }

.eyebrow {
  font-family: var(--f-heritage);
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before, .eyebrow.center::after {
  content: "";
  width: 2.4rem; height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow.center { justify-content: center; }

h2.title {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  margin-top: 1rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.lead {
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  max-width: 46ch;
  color: var(--ink-soft);
}
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Ornement filet + houblon */
.rule {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: ""; height: 1px; flex: 1; max-width: 8rem;
  background: linear-gradient(90deg, transparent, currentColor);
}
.rule::after { background: linear-gradient(90deg, currentColor, transparent); }
.rule svg { width: 26px; height: 26px; opacity: .9; }

/* Boutons */
.btn {
  --bg-btn: var(--green-700);
  --fg-btn: #fff;
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-heritage);
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  padding: .95em 1.7em;
  color: var(--fg-btn);
  background: var(--bg-btn);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn--gold { --bg-btn: var(--gold); --fg-btn: #1c140a; }
.btn--gold:hover { --bg-btn: #b98f45; }
.btn--ghost {
  --bg-btn: transparent; --fg-btn: var(--green-700);
  border-color: var(--line-2);
}
.btn--ghost:hover { --bg-btn: var(--green-700); --fg-btn: #fff; border-color: var(--green-700); }

/* Wordmark réutilisable */
.wordmark { font-family: var(--f-display); font-weight: 900; line-height: 1; white-space: nowrap; color: var(--green-700); }
.wordmark .b { color: var(--green-700); }
.wordmark .de { font-style: italic; font-weight: 500; color: var(--gold); margin-inline: .12em; }

/* ---------- 4. Age gate (clair) ---------- */
.agegate {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: rgba(238,240,243,.82);
  backdrop-filter: blur(12px);
  padding: var(--gutter);
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.agegate[hidden] { display: none; }
.agegate.is-closing { opacity: 0; visibility: hidden; }
.agegate__card {
  max-width: 420px; text-align: center; color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.agegate__mark { color: var(--gold); width: 46px; height: 46px; margin: 0 auto 1.2rem; }
.agegate__card .wordmark { font-size: 1.9rem; margin-bottom: .4rem; }
.agegate__card p { color: var(--ink-soft); font-size: 1.05rem; }
.agegate__q { font-family: var(--f-heritage); letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; color: var(--ink); margin: 1.6rem 0 .4rem; }
.agegate__actions { display: flex; gap: .8rem; justify-content: center; margin-top: 1.3rem; }
.agegate__deny { font-size: .85rem; color: var(--red); margin-top: 1.2rem; }
.agegate__legal { font-size: .78rem; color: var(--ink-faint); margin-top: 1.4rem; line-height: 1.5; }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 1.15rem;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(23,28,33,.4);
  padding-block: .7rem;
}
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__brand svg { width: 26px; height: 26px; color: var(--green-700); }
.nav__brand .wordmark { font-size: 1.25rem; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-family: var(--f-heritage); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding-block: .3rem;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { width: 100%; }
.nav__cta { margin-left: .5rem; }
.nav__cta.is-active::after { display: none; }
.nav__burger {
  display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px;
  color: var(--ink);
}
.nav__burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .3s var(--ease); border-radius: 2px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: var(--surface); padding: 2rem var(--gutter);
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lift); border-left: 1px solid var(--line);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1rem; }
  .nav__cta { margin: .5rem 0 0; }
}

/* ---------- 6. Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  padding-top: 6rem;
  background:
    radial-gradient(70% 55% at 80% 28%, #ffffff 0%, transparent 60%),
    linear-gradient(180deg, #f7f8f9 0%, #e9ebee 100%);
  overflow: hidden;
}
.hero__grain { position: absolute; inset: 0; opacity: .5; pointer-events: none; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E"); }
.hero__inner {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem;
  position: relative; z-index: 2;
}
.hero__copy { color: var(--ink); max-width: 34rem; }
.hero__eyebrow { color: var(--gold); }
.hero__title {
  font-family: var(--f-display); font-weight: 900; color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .98; margin: 1.1rem 0 0;
  letter-spacing: -.01em;
}
.hero__title .de { font-style: italic; font-weight: 500; color: var(--gold); }
.hero__slogan {
  font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--green-700); margin: 1.2rem 0 0; max-width: 30ch;
}
.hero__slogan::before { content: "« "; color: var(--gold); }
.hero__slogan::after { content: " »"; color: var(--gold); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem;
  font-family: var(--f-heritage); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint);
}
.hero__meta li { display: flex; align-items: center; gap: .5rem; }
.hero__meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* Bouteille sur panneau sombre « spotlight » */
.hero__bottle {
  position: relative; justify-self: center;
  padding: clamp(1.6rem, 3.5vw, 3.2rem) clamp(2rem, 5vw, 4rem);
  border-radius: 22px;
  background: radial-gradient(78% 68% at 50% 40%, #2b2015 0%, #171208 60%, #0e0a05 100%);
  box-shadow: var(--shadow-dark), inset 0 0 0 1px rgba(203,172,108,.14);
}
.hero__bottle img {
  width: min(40vh, 400px);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.55));
  -webkit-mask-image: radial-gradient(72% 82% at 50% 46%, #000 62%, transparent 100%);
          mask-image: radial-gradient(72% 82% at 50% 46%, #000 62%, transparent 100%);
  animation: floaty 7s var(--ease) infinite;
}
.hero__halo {
  position: absolute; inset: 8%; z-index: 0;
  background: radial-gradient(50% 50% at 50% 42%, rgba(203,172,108,.28), transparent 70%);
  filter: blur(8px);
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Variante « photo » (image avec fond sombre intégré, ratio différent) :
   on recadre dans le même cadre haut/étroit que le détourage d'origine
   pour retrouver le même effet — seules les marges sombres latérales sont rognées. */
.hero__bottle--photo img {
  aspect-ratio: 445 / 941;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  color: var(--ink-faint); font-family: var(--f-heritage); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem; z-index: 3;
}
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: scrolldot 2s infinite; }
@keyframes scrolldot { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hero__copy { max-width: none; }
  .hero__slogan, .hero__lead { margin-inline: auto; }
  .hero__meta, .hero__actions { justify-content: center; }
  .hero__bottle { order: -1; }
  .hero__bottle img { width: min(52vw, 240px); }
}

/* ---------- 7. Manifesto (bandeau vert — ponctuation de marque) ---------- */
.manifesto {
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  color: var(--cream); text-align: center; position: relative;
}
.manifesto p {
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.3; max-width: 22ch; margin-inline: auto;
}
.manifesto .accent { color: var(--gold-100); font-style: normal; }
.manifesto .rule { margin-bottom: 1.6rem; color: var(--gold-300); }

/* ---------- 8. Sections claires ---------- */
.paper { background: var(--surface); color: var(--ink); }

/* Histoire */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story__crest { justify-self: center; width: min(100%, 380px); color: var(--green-700); }
.story__body p { margin: 0 0 1.15rem; color: var(--ink-soft); }
.story__body .drop::first-letter {
  font-family: var(--f-display); font-weight: 900; font-size: 3.4em; line-height: .7;
  float: left; margin: .08em .12em 0 0; color: var(--green-700);
}
.story__wink {
  margin: 1.6rem 0 0; padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--gold);
  background: var(--surface-2); font-style: italic; color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.story__wink strong { font-style: normal; color: var(--green-700); }
@media (max-width: 820px) { .story__grid { grid-template-columns: 1fr; } .story__crest { order: -1; width: min(70%, 300px); } }

/* Cadre photo (étiquette dans un passe-partout blanc) */
.frame {
  position: relative; padding: clamp(.8rem, 1.6vw, 1.1rem); border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.frame img { border-radius: 8px; }

/* ---------- 9. La bière (produit) — section claire ---------- */
.product { background: var(--bg); color: var(--ink); }
.product__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.product__intro .lead { color: var(--ink-soft); }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin-top: 2rem; }
.spec {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.spec:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.spec svg { width: 26px; height: 26px; color: var(--gold); }
.spec dt { font-family: var(--f-heritage); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin: .7rem 0 .15rem; }
.spec dd { margin: 0; font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.spec--wide { grid-column: 1 / -1; }
.spec--wide dd { font-size: 1.05rem; }
@media (max-width: 820px) { .product__grid { grid-template-columns: 1fr; } .frame { max-width: 400px; margin-inline: auto; } }

/* ---------- 10. Étiquette décryptée (hotspots) ---------- */
.decoder { background: var(--surface); color: var(--ink); }
.decoder__stage { position: relative; width: min(100%, 540px); margin-inline: auto; }
.decoder__stage img { border-radius: var(--radius-lg); box-shadow: var(--shadow-dark); }
.decoder__hint { text-align: center; color: var(--ink-faint); font-family: var(--f-heritage); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.4rem; }
.hotspot {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--gold-300); background: rgba(18,12,6,.55);
  color: var(--gold-100); display: grid; place-items: center;
  transform: translate(-50%, -50%); cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  backdrop-filter: blur(2px);
}
.hotspot::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--gold-300); opacity: .5; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.7); opacity: .6; } 80%,100% { transform: scale(1.5); opacity: 0; } }
.hotspot span { font-family: var(--f-heritage); font-weight: 600; font-size: .85rem; }
.hotspot:hover, .hotspot.is-active { background: var(--gold); color: #1c140a; transform: translate(-50%,-50%) scale(1.12); box-shadow: 0 0 0 6px rgba(166,126,59,.22); }
.hotspot:hover::before, .hotspot.is-active::before { display: none; }

.decoder__panel {
  margin-top: 1.6rem; min-height: 5.5rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-card);
  padding: 1.3rem 1.5rem; max-width: 540px; margin-inline: auto;
  transition: opacity .3s var(--ease);
}
.decoder__panel h3 { font-family: var(--f-display); font-size: 1.4rem; color: var(--green-700); }
.decoder__panel p { margin: .4rem 0 0; color: var(--ink-soft); }
.decoder__panel.is-swapping { opacity: 0; }

/* ---------- 11. Parcours (timeline) ---------- */
/* #parcours porte aussi la classe .paper (blanc) : l'id (plus spécifique)
   force le gris clair pour l'alternance blanc/gris des sections. */
#parcours { background: var(--bg); }
.timeline { max-width: 1000px; margin: 3.5rem auto 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px;
  transform: translateX(-50%);
  background: var(--line-2);
}
.timeline__fill {
  position: absolute; left: 50%; top: 6px; width: 2px; height: 0;
  transform: translateX(-50%);
  background: linear-gradient(var(--gold), var(--gold-900)); transition: height .2s linear;
}
.tl {
  position: relative; width: 50%; box-sizing: border-box; padding: 0 2.8rem 2.6rem;
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.tl.is-in { opacity: 1; transform: none; }
/* Alternance : événements impairs à gauche, pairs à droite de la barre centrale */
article.tl:nth-of-type(odd)  { text-align: right; }
article.tl:nth-of-type(even) { margin-left: 50%; text-align: left; }
.tl::before {
  content: ""; position: absolute; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--bg);
  transition: background .3s var(--ease);
}
article.tl:nth-of-type(odd)::before  { right: -8px; }
article.tl:nth-of-type(even)::before { left: -8px; }
.tl.is-in::before { background: var(--gold); }
.tl__year { font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; color: var(--green-700); }
.tl__tag { font-family: var(--f-heritage); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-left: .8rem; }
.tl h3 { font-family: var(--f-display); font-size: 1.3rem; margin: .3rem 0 .3rem; color: var(--ink); }
.tl p { margin: 0; color: var(--ink-soft); max-width: 52ch; }
article.tl:nth-of-type(odd)  p { margin-left: auto; }
article.tl:nth-of-type(even) p { margin-right: auto; }
.tl--future .tl__year { color: var(--gold); }
.tl--future::before { border-style: dashed; background: transparent; }
/* Mobile : la timeline repasse sur une seule colonne (barre à gauche) */
@media (max-width: 720px) {
  .timeline { max-width: 780px; padding-left: 2.4rem; }
  .timeline::before,
  .timeline__fill { left: 9px; transform: none; }
  .tl { width: 100%; margin-left: 0; padding: 0 0 2.6rem .4rem; text-align: left; }
  article.tl:nth-of-type(odd),
  article.tl:nth-of-type(even) { text-align: left; margin-left: 0; }
  article.tl:nth-of-type(odd)::before,
  article.tl:nth-of-type(even)::before { left: calc(-2.4rem + 2px); right: auto; }
  article.tl:nth-of-type(odd)  p,
  article.tl:nth-of-type(even) p { margin-left: 0; margin-right: 0; }
}

/* ---------- 12. Valeurs ---------- */
.values { background: var(--surface); color: var(--ink); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.value {
  text-align: center; padding: 2.4rem 1.6rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.value__icon { width: 54px; height: 54px; color: var(--green-700); margin: 0 auto 1.1rem; }
.value h3 { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: .5rem; color: var(--ink); }
.value p { color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .values__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- 13. Newsletter (carte claire surélevée) ---------- */
.cta { background: var(--bg); color: var(--ink); }
.cta > .wrap {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(2.5rem, 6vw, 4rem);
}
.cta .lead { color: var(--ink-soft); margin-inline: auto; }
.form {
  display: flex; gap: .7rem; max-width: 480px; margin: 2rem auto 0; flex-wrap: wrap; justify-content: center;
}
.form input[type="email"] {
  flex: 1 1 240px; min-width: 0; padding: .95em 1.1em;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--ink); font-family: var(--f-body); font-size: 1rem;
}
.form input::placeholder { color: var(--ink-faint); }
.form input:focus { outline: none; border-color: var(--green-700); background: #fff; box-shadow: 0 0 0 3px rgba(31,69,49,.12); }
.form__note { font-size: .82rem; color: var(--ink-faint); margin-top: 1rem; }
.form__ok { color: var(--green-700); font-family: var(--f-heritage); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; margin-top: 1.4rem; }
.form__ok[hidden] { display: none; }

/* ---------- 14. Infos / Contact ---------- */
.infos { background: var(--surface); color: var(--ink); }
.infos__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.infos__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; }
.infoblock h3 { font-family: var(--f-heritage); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.infoblock h3 svg { width: 18px; height: 18px; }
.infoblock p, .infoblock address { margin: 0; font-style: normal; color: var(--ink-soft); }
.infoblock a:hover { color: var(--green-700); }
.infos .frame { max-width: 320px; }
@media (max-width: 820px) { .infos__grid { grid-template-columns: 1fr; } .infos .frame { margin-inline: auto; } .infos__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .infos__cols { grid-template-columns: 1fr; } }

/* ---------- 15. Footer (ancre sombre) ---------- */
.footer { background: var(--dark-2); color: #c8cfc9; padding-block: 3rem 2.2rem; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer__brand { display: flex; align-items: center; gap: .7rem; }
.footer__brand svg { width: 30px; height: 30px; color: var(--gold-300); }
.footer__brand .wordmark { font-size: 1.4rem; color: var(--cream); }
.footer__brand .wordmark .b { color: var(--cream); }
.footer__brand .wordmark .de { color: var(--gold-300); }
.footer__legal { font-size: .82rem; line-height: 1.6; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid #ffffff1a; color: #9aa39c; }
.footer__legal .warn { color: var(--gold-300); font-family: var(--f-heritage); letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 1rem; }

/* ---------- 16. Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="right"] { transform: translateX(-34px); }
[data-reveal="left"] { transform: translateX(34px); }
[data-reveal].is-in { transform: none; }
[data-delay="1"] { transition-delay: .12s; }
[data-delay="2"] { transition-delay: .24s; }
[data-delay="3"] { transition-delay: .36s; }

/* ---------- 17. Back-to-top ---------- */
.totop {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.9); color: var(--green-700); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  backdrop-filter: blur(8px); box-shadow: var(--shadow-card);
}
.totop.is-show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--green-700); color: #fff; }
.totop svg { width: 20px; height: 20px; }

/* ---------- 18. Divers ---------- */
::selection { background: var(--gold); color: #1c140a; }
:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; }
