/* =========================================================================
   PROJECT199 — main.css
   Design system « Vert profond & Or » — feuille de style UNIQUE de tout le site
   (accueil + pages intérieures + miroirs EN). Registre luxe/cinématique :
   fond sombre végétal, accents or, Cormorant Garamond (titres) + Jost (corps).

   Réutilisé tel quel par js/main.js — mêmes accroches :
     .site-header.is-scrolled · #primary-nav.is-open · .nav-toggle[aria-expanded]
     [data-reveal]→.js-reveal/.is-in · .counter [data-count-to] · [data-parallax]
     .cookie-banner.is-visible · form[data-ajax] .input .form-status .hp-field
     .skip-link · .visually-hidden · .no-scroll · :focus-visible
   Le décor (anneaux, particules, dégradés) est en CSS pur.

   Sommaire
   1. Tokens (+ alias hérités)   2. Reset/base + décor   3. Typographie
   4. Layout   5. Header/nav/langue/menu mobile   6. Boutons & liens
   7. Hero cinématique + hero investisseurs   8. Éditorial / encarts / citations
   9. Cartes, piliers, icônes, média encadré   10. Composants techniques
      (couches, produits, fonctions, mesures)   11. Roadmap / étapes
   12. Formulaires   13. Footer   14. Bannière cookies   15. Noms de marque
   16. Reveal & animations   17. Responsive   18. Accessibilité/reduced-motion
   ========================================================================= */

/* =========================================================================
   1. TOKENS
   ========================================================================= */
:root {
  /* Fonds — vert profond → quasi-noir */
  --abyss:        #060A07;
  --green-deep:   #0A1F0F;
  --green-rich:   #0D2B14;
  --green-mid:    #1A4A22;
  --green-accent: #2D7A3A;

  /* Or / métal */
  --gold:        #C4A85A;
  --gold-light:  #D4BB7A;
  --gold-dim:    rgba(196, 168, 90, 0.5);
  --gold-line:   rgba(196, 168, 90, 0.18);
  --gold-faint:  rgba(196, 168, 90, 0.08);

  /* Texte (contraste AA sur fond sombre) */
  --ivory:       #F5F0E8;
  --titanium-lt: #B8B8AE;
  --titanium:    #8C8C82;

  /* Surfaces */
  --surface:   rgba(245, 240, 232, 0.03);
  --surface-2: rgba(245, 240, 232, 0.05);
  --line:      rgba(196, 168, 90, 0.12);
  --line-soft: rgba(245, 240, 232, 0.08);

  /* Alias hérités de l'ancien thème clair (sécurité pour tout var(--c-*)
     restant dans le balisage des pages migrées ; remappés en teintes luxe). */
  --c-lin: var(--green-deep); --c-lin-deep: var(--green-rich); --c-cream: var(--surface);
  --c-sage: #8C9A7A; --c-olive: var(--green-accent);
  --c-clay: var(--gold); --c-clay-soft: var(--gold-light);
  --c-ink: var(--ivory); --c-ink-soft: var(--titanium-lt);
  --c-brass: var(--gold); --c-brass-line: var(--gold-dim);

  /* Typographie */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: var(--serif);
  --font-sans:  var(--sans);

  /* Échelle fluide */
  --fs-200: clamp(0.66rem, 0.62rem + 0.15vw, 0.74rem);
  --fs-300: clamp(0.8rem, 0.76rem + 0.2vw, 0.92rem);
  --fs-400: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --fs-500: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  --fs-600: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem);
  --fs-700: clamp(2.1rem, 1.5rem + 3vw, 3.8rem);
  --fs-800: clamp(3rem, 1.8rem + 6vw, 7rem);
  --fs-199: clamp(5rem, 3rem + 12vw, 13rem);

  --lh-tight: 1.02; --lh-snug: 1.16; --lh-body: 1.85;

  --sp-1: 0.4rem; --sp-2: 0.8rem; --sp-3: 1.25rem; --sp-4: 2rem;
  --sp-5: 3rem;   --sp-6: 4.5rem; --sp-7: 7rem;     --sp-8: 10rem;
  --section-y: clamp(5rem, 3rem + 7vw, 9rem);

  --maxw: 1280px; --maxw-text: 64ch; --maxw-narrow: 860px;
  --nav-h: 84px;

  --t-fast: 180ms ease;
  --t-med:  340ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 900ms cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}

/* =========================================================================
   2. RESET / BASE + DÉCOR GLOBAL
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-400);
  line-height: var(--lh-body);
  color: var(--titanium-lt);
  background: var(--abyss);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(45, 122, 58, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(26, 74, 34, 0.20), transparent 65%),
    radial-gradient(circle at 50% 30%, rgba(196, 168, 90, 0.05), transparent 55%),
    linear-gradient(180deg, var(--abyss) 0%, var(--green-deep) 45%, var(--abyss) 100%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.04;
  background-image:
    linear-gradient(var(--green-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--green-accent) 1px, transparent 1px);
  background-size: 64px 64px;
}

img, svg, picture { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--gold); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-light); }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: 0; }
::selection { background: var(--gold); color: var(--abyss); }

* { scrollbar-width: thin; scrollbar-color: var(--green-accent) var(--abyss); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb { background: var(--green-mid); }
::-webkit-scrollbar-thumb:hover { background: var(--green-accent); }

/* =========================================================================
   3. TYPOGRAPHIE
   ========================================================================= */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: var(--lh-snug);
  color: var(--ivory);
  letter-spacing: 0.005em;
}
h1 { font-size: var(--fs-800); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }
h4 { font-size: var(--fs-500); font-weight: 400; }
em { font-style: italic; color: var(--gold); }
strong { color: var(--ivory); font-weight: 500; }

p { max-width: var(--maxw-text); }
p + p { margin-top: var(--sp-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.8em;
  font-family: var(--sans); font-size: var(--fs-200); font-weight: 400;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--sp-2);
}
.eyebrow::before { content: ""; width: 2.4em; height: 1px; background: var(--gold-dim); }
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--fs-500); line-height: 1.75; color: var(--titanium-lt);
  font-weight: 300; max-width: 54ch;
}
.muted { color: var(--titanium); }
.text-center { text-align: center; }
.text-center p, .text-center .lead { margin-inline: auto; }

.section-label, .eyebrow.section-label {
  display: block; font-size: var(--fs-200); letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: var(--sp-3);
}

/* =========================================================================
   4. LAYOUT
   ========================================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 0.5rem + 3.5vw, 4rem); }
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); position: relative; }
/* La 1re section d'une page intérieure passe sous le header fixe : on dégage. */
main > .section:first-of-type { padding-top: calc(var(--nav-h) + var(--sp-5)); }

.section--rich     { background: var(--green-deep); }
.section--gradient { background: linear-gradient(180deg, var(--green-deep), var(--abyss)); }
.section--alt      { background: var(--green-deep); }
.section--cream    { background: var(--surface); }
.section--sage     { background: linear-gradient(160deg, rgba(26, 74, 34, 0.35), rgba(13, 43, 20, 0.5)); }
.section__head { max-width: 60ch; margin-bottom: var(--sp-6); }
.section__head.text-center { margin-inline: auto; }

.divider, .rule-brass {
  height: 1px; border: 0;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}
.divider { margin-inline: clamp(1.25rem, 0.5rem + 3.5vw, 4rem); }

.grid { display: grid; gap: 2px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.split--media-right .split__media { order: 2; }
.split__media img { width: 100%; border: 1px solid var(--gold-line); }
.editorial-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); }

/* =========================================================================
   5. HEADER / NAV / LANGUE / MENU MOBILE
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), height var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med);
}
.site-header.is-scrolled {
  height: 66px; background: rgba(6, 10, 7, 0.86);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom-color: var(--gold-line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ivory); flex-shrink: 0; }
.brand:hover { color: var(--ivory); }
.brand__logo { height: 30px; width: auto; display: block; }
.brand__logo .leaf { transform-origin: 86% 62%; transition: transform var(--t-med); }
.brand:hover .brand__logo .leaf { transform: rotate(-9deg) translateY(-1px); }
/* Logo doré partout (CSS prime sur les attributs SVG des pages migrées) */
.logo-199 { fill: var(--gold); }
.brand__logo .leaf-a { fill: var(--gold); }
.brand__logo .leaf-b { fill: #8A7338; }
.brand__logo .leaf path[fill="none"] { stroke: var(--gold); }

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 0.5rem + 2vw, 2.8rem); }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 0.4rem + 1.8vw, 2.4rem); }
.nav__link {
  position: relative; font-size: var(--fs-300); font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--titanium-lt); padding-block: 0.5rem;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ivory); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-300); font-weight: 400; letter-spacing: 0.1em; }
.lang-switch__sep { color: var(--line); }
.lang-switch a { color: var(--titanium); }
.lang-switch a:hover { color: var(--gold); }
.lang-switch [aria-current="true"] { color: var(--gold); }

.nav__cta {
  font-size: var(--fs-200); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-dim); padding: 0.7rem 1.4rem;
  transition: background var(--t-med), color var(--t-med), border-color var(--t-med);
}
.nav__cta:hover { background: var(--gold); color: var(--abyss); border-color: var(--gold); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); position: relative; flex-shrink: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 1.5px; background: var(--ivory);
  transform: translate(-50%, -50%); transition: transform var(--t-med), opacity var(--t-fast);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); background: var(--gold); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, 0) rotate(-45deg); background: var(--gold); }

/* =========================================================================
   6. BOUTONS & LIENS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--sans); font-size: var(--fs-300); font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; line-height: 1; padding: 1.05em 2.2em; border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-med), color var(--t-med), border-color var(--t-med);
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--gold, .btn--primary, .btn--clay { background: var(--gold); color: var(--abyss); }
.btn--gold:hover, .btn--primary:hover, .btn--clay:hover { background: var(--gold-light); color: var(--abyss); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(245, 240, 232, 0.28); color: var(--ivory); }
.btn--ghost:hover { border-color: rgba(245, 240, 232, 0.7); color: var(--ivory); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.2em 2.6em; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--fs-300);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}
.link-arrow svg { transition: transform var(--t-med); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =========================================================================
   7. HERO CINÉMATIQUE + HERO INVESTISSEURS
   ========================================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem); padding-bottom: var(--sp-7); overflow: hidden;
}
/* Image de fond du hero (macro SenseLayer, sombre) + voile pour la lisibilité */
.hero__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,10,7,0.74) 0%, rgba(6,10,7,0.62) 45%, rgba(6,10,7,0.88) 100%),
    radial-gradient(ellipse 60% 70% at 30% 40%, rgba(6,10,7,0.25), transparent 70%);
}
.hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 70% 70%, rgba(45, 122, 58, 0.22), transparent 70%),
    radial-gradient(ellipse 35% 35% at 22% 22%, rgba(196, 168, 90, 0.10), transparent 60%);
}

.hero__rings { position: absolute; right: -8%; top: 50%; width: min(70vw, 720px); aspect-ratio: 1; transform: translateY(-50%); z-index: 1; pointer-events: none; }
.ring { position: absolute; border-radius: 50%; border: 1px solid; }
.ring--1 { inset: 0;   border-color: rgba(196, 168, 90, 0.12); animation: spin 80s linear infinite; }
.ring--2 { inset: 9%;  border-color: rgba(45, 122, 58, 0.22);  animation: spin 56s linear infinite reverse; }
.ring--3 { inset: 19%; border-color: rgba(196, 168, 90, 0.10); animation: spin 110s linear infinite; }
.ring--4 { inset: 30%; border-color: rgba(245, 240, 232, 0.06); animation: spin 70s linear infinite reverse; }
.ring__dot { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 14px 2px rgba(196, 168, 90, 0.6); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle { position: absolute; bottom: -10px; width: 2px; height: 2px; border-radius: 50%; background: var(--gold); opacity: 0; animation: rise linear infinite; }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.7; } 85% { opacity: 0.4; }
  100% { transform: translateY(-104vh) translateX(36px); opacity: 0; }
}
.particle:nth-child(1)  { left: 6%;  animation-duration: 20s; animation-delay: 0s;  }
.particle:nth-child(2)  { left: 14%; animation-duration: 27s; animation-delay: 3s; width: 3px; height: 3px; }
.particle:nth-child(3)  { left: 23%; animation-duration: 17s; animation-delay: 6s;  }
.particle:nth-child(4)  { left: 31%; animation-duration: 31s; animation-delay: 1s;  }
.particle:nth-child(5)  { left: 39%; animation-duration: 22s; animation-delay: 8s; width: 3px; height: 3px; }
.particle:nth-child(6)  { left: 47%; animation-duration: 25s; animation-delay: 4s;  }
.particle:nth-child(7)  { left: 56%; animation-duration: 19s; animation-delay: 11s; }
.particle:nth-child(8)  { left: 64%; animation-duration: 29s; animation-delay: 2s;  }
.particle:nth-child(9)  { left: 72%; animation-duration: 23s; animation-delay: 9s; width: 3px; height: 3px; }
.particle:nth-child(10) { left: 80%; animation-duration: 18s; animation-delay: 5s;  }
.particle:nth-child(11) { left: 88%; animation-duration: 33s; animation-delay: 7s;  }
.particle:nth-child(12) { left: 94%; animation-duration: 21s; animation-delay: 13s; }

.hero__blob {
  position: absolute; z-index: 0; pointer-events: none; width: 46vw; max-width: 560px; aspect-ratio: 1;
  left: -12%; bottom: -18%;
  background: radial-gradient(circle at 50% 50%, rgba(45, 122, 58, 0.28), transparent 68%);
  filter: blur(10px); will-change: transform;
}

.hero__content { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { margin: var(--sp-4) 0; }
.hero .lead { margin-bottom: var(--sp-5); }

/* Hero à deux colonnes (investisseurs) — sobre, plus court */
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: center; position: relative; z-index: 2; }
.hero--invest {
  min-height: auto; align-items: stretch;
  padding-top: calc(var(--nav-h) + var(--sp-6)); padding-bottom: var(--sp-6);
  background: linear-gradient(165deg, var(--green-rich), var(--abyss));
}
.hero--invest .hero__content { max-width: none; }
.hero__media img { width: 100%; border: 1px solid var(--gold-line); }

/* Compteur 199 */
.counter { display: flex; align-items: baseline; gap: 0.5rem; margin: var(--sp-4) 0 var(--sp-2); }
.counter__num {
  font-family: var(--serif); font-weight: 300; font-size: var(--fs-199); line-height: 0.82;
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
  text-shadow: 0 0 60px rgba(196, 168, 90, 0.25);
}
.counter__unit { font-family: var(--serif); font-style: italic; font-size: var(--fs-600); color: var(--ivory); }
.counter__note { display: block; font-size: var(--fs-200); letter-spacing: 0.18em; text-transform: uppercase; color: var(--titanium); margin-bottom: var(--sp-5); }

.hero__scroll { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.hero__scroll span { font-size: var(--fs-200); letter-spacing: 0.3em; text-transform: uppercase; color: var(--titanium); }
.hero__scroll i { display: block; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.12); } }

/* =========================================================================
   8. ÉDITORIAL / ENCARTS / CITATIONS
   ========================================================================= */
.disclaimer {
  font-size: var(--fs-300); color: var(--titanium-lt);
  background: var(--gold-faint); border: 1px solid var(--line); border-left: 2px solid var(--gold);
  padding: var(--sp-4); max-width: var(--maxw-text);
}
.disclaimer strong { color: var(--ivory); }

.quote { border-left: 2px solid var(--gold); padding-left: clamp(1.5rem, 0.5rem + 2vw, 3rem); margin: var(--sp-4) 0; }
.quote p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1rem + 2.4vw, 2.4rem); line-height: 1.45; color: var(--ivory); max-width: 34ch; }

/* Bloc citation centré (ex. accueil light hérité) */
.editorial { text-align: center; max-width: 32ch; margin-inline: auto; }
.editorial blockquote { font-family: var(--serif); font-weight: 300; font-size: var(--fs-700); line-height: 1.2; color: var(--ivory); margin-bottom: var(--sp-3); }
.editorial figcaption { font-size: var(--fs-300); color: var(--titanium); }
.editorial::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 6rem; line-height: 0.5; color: var(--gold-dim); margin-bottom: var(--sp-2); }

/* Bloc « plante vivante » */
.living { text-align: center; max-width: 30ch; margin-inline: auto; }
.living::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 7rem; line-height: 0.5; color: var(--gold-dim); margin-bottom: var(--sp-3); }
.living blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 1.2rem + 3vw, 3.4rem); line-height: 1.2; color: var(--ivory); margin-bottom: var(--sp-4); }
.living blockquote em { color: var(--gold); }
.living figcaption { font-size: var(--fs-300); color: var(--titanium); letter-spacing: 0.08em; }

/* =========================================================================
   9. CARTES, PILIERS, ICÔNES, MÉDIA ENCADRÉ
   ========================================================================= */
.card {
  display: flex; flex-direction: column; height: 100%; color: inherit;
  background: var(--surface); border: 1px solid var(--line-soft);
  padding: clamp(1.6rem, 1rem + 1.5vw, 2.6rem); position: relative; overflow: hidden;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(to right, var(--gold), var(--gold-dim)); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med); }
.card:hover { background: var(--surface-2); border-color: var(--gold-line); transform: translateY(-4px); }
.card:hover::after { transform: scaleX(1); }
.card:hover h3 { color: var(--gold); }
.card__icon { width: 54px; height: 54px; margin-bottom: var(--sp-4); border: 1px solid var(--gold-dim); display: grid; place-items: center; }
.card__icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.card__media { display: block; margin-bottom: var(--sp-4); border: 1px solid var(--gold-line); aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-deep); }
.card__media picture { display: block; width: 100%; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media img { transition: transform var(--t-slow); }
.card h3 { font-size: var(--fs-500); margin-bottom: var(--sp-2); transition: color var(--t-fast); }
.card p { font-size: var(--fs-300); color: var(--titanium-lt); margin-bottom: var(--sp-4); }
.card .link-arrow { margin-top: auto; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: var(--sp-4); }
.pillar { padding: var(--sp-4); border: 1px solid var(--line-soft); transition: border-color var(--t-med), background var(--t-med); }
.pillar:hover { border-color: var(--gold-line); background: var(--surface); }
.pillar__icon { color: var(--gold); margin-bottom: var(--sp-2); }
.pillar h4 { font-family: var(--sans); font-size: var(--fs-300); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.pillar p { font-size: var(--fs-300); color: var(--titanium-lt); }

.framed { position: relative; border: 1px solid var(--gold-line); padding: 10px; background: var(--surface); }
.framed img { width: 100%; display: block; }
/* Média encadré de tête de section (techno) — pleine largeur contrainte, centré */
.section__figure { margin: 0 0 var(--sp-5); }
.section__figure img { width: 100%; display: block; }

/* =========================================================================
   10. COMPOSANTS TECHNIQUES (couches, produits, fonctions, mesures)
   ========================================================================= */
/* Couches Eden.Grow en coupe */
.layers { counter-reset: layer; max-width: var(--maxw-narrow); }
.layer { display: grid; grid-template-columns: 2.6rem 1fr; gap: var(--sp-3); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.layer__num { counter-increment: layer; font-family: var(--serif); font-size: var(--fs-500); color: var(--gold); line-height: 1; }
.layer__num::before { content: counter(layer, decimal-leading-zero); }
.layer h4 { margin-bottom: 0.2rem; font-size: var(--fs-400); font-family: var(--sans); font-weight: 500; color: var(--ivory); }
.layer p { margin: 0; font-size: var(--fs-300); color: var(--titanium-lt); }

/* Grille produits (sticks / green line) */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px; }
.product {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-top: 2px solid var(--prod-accent, var(--gold));
  padding: var(--sp-3); transition: transform var(--t-fast), border-color var(--t-med), background var(--t-med);
}
.product:hover { transform: translateY(-3px); border-color: var(--gold-line); background: var(--surface-2); }
.product__name { font-weight: 500; font-size: var(--fs-400); color: var(--ivory); margin-bottom: 0.25rem; display: block; }
.product__desc { font-size: var(--fs-300); color: var(--titanium-lt); margin: 0; }

/* Groupes de fonctions A/B/C */
.func-group { margin-bottom: var(--sp-6); }
.func-group__label { display: flex; align-items: center; gap: 0.8rem; margin-bottom: var(--sp-4); }
.func-group__tag { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 1px solid var(--gold-dim); color: var(--gold); font-family: var(--serif); font-size: var(--fs-500); }
.func-group h3 { margin: 0; font-size: var(--fs-500); }

/* SenseLayer — données mesurées */
.metric { background: var(--surface); border: 1px solid var(--line-soft); padding: var(--sp-4); display: flex; flex-direction: column; gap: 0.4rem; transition: border-color var(--t-med), background var(--t-med); }
.metric:hover { border-color: var(--gold-line); background: var(--surface-2); }
.metric__icon { color: var(--gold); }
.metric h4 { font-family: var(--sans); font-size: var(--fs-400); font-weight: 500; color: var(--ivory); margin: 0; }
.metric p { font-size: var(--fs-300); color: var(--titanium-lt); margin: 0; }

/* =========================================================================
   11. ROADMAP / ÉTAPES
   ========================================================================= */
.timeline { border-left: 1px solid var(--gold-line); margin-left: 0.5rem; }
.timeline__item { position: relative; padding: 0 0 var(--sp-5) var(--sp-5); }
.timeline__item::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--abyss); }
.timeline__year { font-family: var(--serif); color: var(--gold); font-size: var(--fs-500); margin-bottom: 0.2rem; }
.timeline__item h4 { margin-bottom: 0.3rem; font-family: var(--sans); font-weight: 500; font-size: var(--fs-400); color: var(--ivory); }
.timeline__item p { font-size: var(--fs-300); color: var(--titanium-lt); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line-soft); padding: var(--sp-4); }
.step__n { counter-increment: step; font-family: var(--serif); color: var(--gold); font-size: var(--fs-600); display: block; margin-bottom: var(--sp-2); }
.step__n::before { content: counter(step) "."; }
.step h4 { color: var(--ivory); margin-bottom: 0.4rem; }
.step p { font-size: var(--fs-300); color: var(--titanium-lt); }

/* =========================================================================
   12. FORMULAIRES
   ========================================================================= */
.form { max-width: 540px; }
.form--wide { max-width: 720px; }
.form__row { display: grid; gap: var(--sp-3); }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.field { margin-bottom: var(--sp-3); display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: var(--fs-300); font-weight: 500; letter-spacing: 0.06em; color: var(--ivory); }
.field .req { color: var(--gold); }

.input, .textarea {
  width: 100%; font: inherit; font-size: var(--fs-400); color: var(--ivory);
  background: var(--surface); border: 1px solid var(--line); padding: 0.95em 1.1em;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--titanium); }
.input:focus, .textarea:focus { outline: none; border-color: var(--gold); background: rgba(196, 168, 90, 0.05); box-shadow: 0 0 0 1px var(--gold); }
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }

.inline-form { display: flex; flex-wrap: wrap; gap: 2px; justify-content: center; max-width: 560px; margin: var(--sp-5) auto 0; }
.inline-form .input { flex: 1 1 260px; }
.inline-form .btn { flex: 0 0 auto; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; margin-top: var(--sp-3); padding: 0.8em 1.2em; font-size: var(--fs-300); }
.inline-form .form-status { flex-basis: 100%; }
.form-status.is-visible { display: block; }
.form-status--ok  { background: rgba(45, 122, 58, 0.16); border: 1px solid var(--green-accent); color: #BFEAC4; }
.form-status--err { background: rgba(196, 168, 90, 0.10); border: 1px solid var(--gold-dim); color: var(--gold-light); }
.form-note { font-size: var(--fs-200); color: var(--titanium); margin-top: var(--sp-3); letter-spacing: 0.04em; }

/* =========================================================================
   13. FOOTER
   ========================================================================= */
.site-footer { background: var(--abyss); border-top: 1px solid var(--gold-line); padding-block: var(--sp-6) var(--sp-4); margin-top: var(--sp-7); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.footer__tagline { font-size: var(--fs-300); color: var(--titanium); max-width: 32ch; margin-top: var(--sp-3); }
.footer h5 { font-family: var(--sans); font-size: var(--fs-200); letter-spacing: 0.2em; text-transform: uppercase; color: var(--titanium); margin-bottom: var(--sp-3); }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { font-size: var(--fs-300); color: var(--titanium-lt); letter-spacing: 0.06em; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: center; justify-content: space-between; padding-top: var(--sp-4); border-top: 1px solid var(--line-soft); font-size: var(--fs-200); color: var(--titanium); letter-spacing: 0.08em; }
.footer__bottom .lang-switch a { color: var(--titanium); }

/* =========================================================================
   14. BANNIÈRE COOKIES
   ========================================================================= */
.cookie-banner {
  position: fixed; z-index: 200; left: 50%; bottom: clamp(0.8rem, 2vw, 1.6rem);
  transform: translateX(-50%) translateY(180%); width: min(680px, calc(100% - 2rem));
  background: rgba(13, 43, 20, 0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--gold-line); box-shadow: var(--shadow);
  padding: var(--sp-3) var(--sp-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  opacity: 0; transition: transform var(--t-slow), opacity var(--t-slow);
}
.cookie-banner.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-banner p { margin: 0; flex: 1 1 280px; font-size: var(--fs-300); color: var(--titanium-lt); }
.cookie-banner a { text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--sp-2); flex-shrink: 0; }
.cookie-banner .btn { padding: 0.7em 1.3em; }

/* =========================================================================
   15. NOMS DE SOUS-MARQUE
   ========================================================================= */
.brandname { font-weight: 500; white-space: nowrap; color: inherit; }
.brandname .dot { color: var(--gold); font-weight: 600; margin-inline: 0.02em; }
.brandname--eden .dot, .brandname--stick .dot, .brandname--green .dot, .brandname--sense .dot { color: var(--gold); }

/* =========================================================================
   16. REVEAL & ANIMATIONS
   ========================================================================= */
.js-reveal { opacity: 0; transform: translateY(34px); transition: opacity var(--t-slow), transform var(--t-slow); will-change: opacity, transform; }
.js-reveal.is-in { opacity: 1; transform: none; }
.js-reveal[data-delay="1"] { transition-delay: 0.12s; }
.js-reveal[data-delay="2"] { transition-delay: 0.24s; }
.js-reveal[data-delay="3"] { transition-delay: 0.36s; }
.js-reveal[data-delay="4"] { transition-delay: 0.48s; }

/* =========================================================================
   17. RESPONSIVE
   ========================================================================= */
@media (max-width: 1000px) {
  .split, .editorial-cols, .hero__grid { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: -1; }
  .hero__grid .hero__media { order: -1; max-width: 520px; }
  .cards, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__rings { opacity: 0.5; right: -25%; }
}

@media (max-width: 760px) {
  :root { --nav-h: 70px; }
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6, 10, 7, 0.98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--gold-line); padding: var(--sp-2) 0 var(--sp-4);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform var(--t-med), opacity var(--t-med), visibility var(--t-med);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 1rem clamp(1.25rem, 0.5rem + 3.5vw, 4rem); border-bottom: 1px solid var(--line-soft); }
  .nav__link::after { display: none; }
  .lang-switch { padding: var(--sp-3) clamp(1.25rem, 0.5rem + 3.5vw, 4rem) 0; }
  .nav__cta { margin: var(--sp-3) clamp(1.25rem, 0.5rem + 3.5vw, 4rem) 0; text-align: center; }
  .grid--3, .grid--auto { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .cards, .grid--2, .grid--3, .grid--4, .grid--auto, .pillars, .product-grid, .form__row--2 { grid-template-columns: 1fr; }
  .btn-row .btn, .inline-form .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__rings { display: none; }
  .editorial blockquote { font-size: var(--fs-600); }
}

@media (max-width: 360px) { :root { --nav-h: 64px; } .brand__logo { height: 26px; } }

/* =========================================================================
   18. ACCESSIBILITÉ / REDUCED-MOTION / UTILITAIRES
   ========================================================================= */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; left: 0; top: -60px; z-index: 300; background: var(--gold); color: var(--abyss); padding: 0.7rem 1.2rem; font-weight: 500; transition: top var(--t-fast); }
.skip-link:focus { top: 0; color: var(--abyss); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js-reveal { opacity: 1; transform: none; }
  .hero__particles, .hero__rings, .hero__blob, .hero__scroll i { display: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  body::before, body::after, .site-header, .cookie-banner, .hero__particles, .hero__rings { display: none !important; }
}
