/* =====================================================================
   LOWASIS — Design system
   Charte de marque, juin 2026. Palette et typographies issues du logo.
   ===================================================================== */

/* ---------------------------------------------------------------- 1. Tokens */
:root {
  /* Palette de marque */
  --marine:        #062E54;
  --marine-700:    #0B3C6B;
  --marine-300:    #47739B;
  --encre:         #0A2036;
  --vert:          #4E9A2E;
  --vert-clair:    #6DBB4A;
  --vert-feuille:  #2F681E;
  --eau:           #1BA3D1;
  --eau-clair:     #7FD0EE;
  --papier:        #F4F2EA;
  --papier-pur:    #FBFAF6;
  --brume:         #DEE9E8;
  --gravier:       #CBC3AD;
  --bois:          #A07F52;
  --floraison:     #D49AA8;

  /* Rôles sémantiques */
  --bg:            var(--papier);
  --bg-elevated:   #FFFFFF;
  --bg-sunken:     #EBE8DE;
  --ink:           var(--marine);
  --ink-soft:      #47566B;
  --ink-faint:     #5C6672;  /* AA 4.5:1 sur tous les fonds clairs */
  --line:          rgba(6, 46, 84, .12);
  --line-strong:   rgba(6, 46, 84, .22);
  --accent:        var(--vert);
  --accent-ink:    var(--vert-feuille);   /* texte vert lisible : 6:1 sur papier */
  --vert-fond:     #41802C;               /* fond de bouton : blanc 4.9:1 */
  --eau-ink:       #0F7590;               /* bleu eau lisible : 4.7:1 sur papier */

  /* Typographie */
  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", monospace;

  /* Échelle typographique fluide */
  --t-hero:  clamp(2.85rem, 1.6rem + 5.4vw, 6.5rem);
  --t-h1:    clamp(2.35rem, 1.45rem + 3.6vw, 4.25rem);
  --t-h2:    clamp(1.85rem, 1.25rem + 2.4vw, 3.15rem);
  --t-h3:    clamp(1.3rem, 1.06rem + .95vw, 1.85rem);
  --t-h4:    clamp(1.08rem, .98rem + .4vw, 1.25rem);
  --t-lead:  clamp(1.08rem, .99rem + .45vw, 1.35rem);
  --t-body:  1.0625rem;
  --t-small: .935rem;
  --t-micro: .78rem;

  /* Espacement (échelle 4/8 intentionnelle) */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;   --s-11: 11rem;
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter:    clamp(1.25rem, .6rem + 2.6vw, 3rem);
  --maxw:      76rem;
  --maxw-text: 42rem;

  /* Rayons */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  /* Ombres teintées (jamais de gris neutre) */
  --sh-1: 0 1px 2px rgba(6,46,84,.05), 0 2px 6px rgba(6,46,84,.05);
  --sh-2: 0 2px 4px rgba(6,46,84,.05), 0 8px 20px -6px rgba(6,46,84,.11);
  --sh-3: 0 4px 8px rgba(6,46,84,.06), 0 18px 40px -12px rgba(6,46,84,.18);
  --sh-4: 0 8px 16px rgba(6,46,84,.07), 0 34px 70px -20px rgba(6,46,84,.26);
  --sh-green: 0 6px 14px -4px rgba(78,154,46,.38), 0 16px 36px -14px rgba(78,154,46,.4);

  /* Mouvement */
  --ease-out:    cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.42, .48, 1);
  --dur-1: .18s; --dur-2: .32s; --dur-3: .6s; --dur-4: .95s;

  --header-h: 74px;
}

/* ------------------------------------------------------------- 2. Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.7;
  font-feature-settings: "kern", "liga", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); line-height: 1.3; letter-spacing: -.015em; }
p, li, dd, td, th { text-wrap: pretty; overflow-wrap: break-word; hyphens: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
:focus-visible {
  outline: 3px solid var(--eau);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--vert); color: #fff; }

.skip-link {
  position: absolute; top: -100px; left: var(--s-4); z-index: 999;
  background: var(--marine); color: var(--papier);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-sm);
  transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus-visible { top: var(--s-4); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------- 3. Structure */
.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 58rem); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.stack > * + * { margin-top: var(--s-4); }

/* Fonds */
.bg-paper  { background: var(--papier); }
.bg-white  { background: var(--bg-elevated); }
.bg-sunken { background: var(--bg-sunken); }
.bg-mist   { background: linear-gradient(170deg, var(--brume) 0%, #EEF4F2 55%, var(--papier) 100%); }
.bg-deep {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(27,163,209,.24) 0%, transparent 58%),
    radial-gradient(95% 80% at 92% 12%, rgba(78,154,46,.22) 0%, transparent 55%),
    radial-gradient(140% 120% at 50% 115%, rgba(11,60,107,.7) 0%, transparent 70%),
    linear-gradient(168deg, var(--marine) 0%, var(--encre) 100%);
  color: var(--papier);
}
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4 { color: var(--papier); }
.bg-deep .lead, .bg-deep p, .bg-deep li { color: rgba(244,242,234,.94); }
.bg-deep .eyebrow { color: var(--eau-clair); }
.bg-deep .rule { background: rgba(244,242,234,.18); }

/* Grain subtil sur les fonds sombres — donne de la matière */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ 4. Textes */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
  display: flex; align-items: center; gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; flex: none;
  background: var(--accent); border-radius: 2px;
}
.bg-deep .eyebrow::before { background: var(--eau-clair); }
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: var(--maxw-text);
}
.muted { color: var(--ink-soft); }
.small { font-size: var(--t-small); }
.micro {
  font-family: var(--font-mono); font-size: .8rem; line-height: 1.6;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft);
}
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.rule { height: 1px; background: var(--line); border: 0; }
.section-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 1.6rem + 3vw, 4rem); }
.section-head.center { margin-inline: auto; }

/* Soulignement organique des mots clés */
.hl {
  color: var(--accent);
  background-image: linear-gradient(90deg, rgba(127,208,238,.55), rgba(109,187,74,.48));
  background-repeat: no-repeat;
  background-position: 0 99%;
  background-size: 0% .26em;
  border-radius: 2px;
  transition: background-size var(--dur-4) var(--ease-out) .2s;
}
.is-visible .hl, .hl.is-visible { background-size: 100% .26em; }
.bg-deep .hl { color: var(--vert-clair); background-image: linear-gradient(90deg, rgba(127,208,238,.42), rgba(109,187,74,.34)); }

/* ------------------------------------------------------------ 5. Boutons */
.btn {
  --btn-bg: var(--vert-fond); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-3);
  padding: .95rem 1.7rem;
  font-family: var(--font-display); font-weight: 600; font-size: .97rem;
  letter-spacing: -.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  text-decoration: none;
  box-shadow: var(--sh-green);
  transition: transform var(--dur-2) var(--ease-spring),
              box-shadow var(--dur-2) var(--ease-out),
              background-color var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
}
.btn svg { flex: none; transition: transform var(--dur-2) var(--ease-spring); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -6px rgba(78,154,46,.45), 0 24px 48px -18px rgba(78,154,46,.5); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:focus-visible { outline: 3px solid var(--eau); outline-offset: 3px; }

.btn--ghost {
  background: transparent; color: var(--marine);
  border-color: var(--line-strong); box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(6,46,84,.05); border-color: var(--marine);
  box-shadow: var(--sh-2); transform: translateY(-2px);
}
.bg-deep .btn--ghost, .callout--deep .btn--ghost, .hero .btn--ghost { color: var(--papier); border-color: rgba(244,242,234,.45); }
.bg-deep .btn--ghost:hover, .callout--deep .btn--ghost:hover, .hero .btn--ghost:hover { background: rgba(244,242,234,.14); border-color: var(--papier); }

.btn--marine { background: var(--marine); box-shadow: 0 6px 14px -4px rgba(6,46,84,.35), 0 16px 36px -14px rgba(6,46,84,.4); }
.btn--marine:hover { box-shadow: 0 10px 20px -6px rgba(6,46,84,.42), 0 24px 48px -18px rgba(6,46,84,.5); }
.btn--sm { padding: .6rem 1.15rem; font-size: .87rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  color: var(--accent-ink); text-decoration: none;
  font-size: .95rem;
  border-bottom: 1.5px solid transparent;
  transition: color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.link-arrow svg { transition: transform var(--dur-2) var(--ease-spring); }
.link-arrow:hover { color: var(--vert-fond); border-bottom-color: currentColor; }
.link-arrow:hover svg { transform: translateX(4px); }
.bg-deep .link-arrow { color: var(--eau-clair); }

/* ------------------------------------------------------------- 6. Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out),
              backdrop-filter var(--dur-3) var(--ease-out);
}
.header::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--line); opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}
/* voile sombre derrière la nav quand elle flotte sur une photo (lisibilité AA) */
.header--on-dark:not(.is-stuck)::before {
  content: ""; position: absolute; inset: 0 0 auto 0; z-index: -1; pointer-events: none;
  height: calc(var(--header-h) + 46px);
  background: linear-gradient(to bottom, rgba(6,29,48,.72) 0%, rgba(6,29,48,.46) 55%, rgba(6,29,48,0) 100%);
  transition: opacity var(--dur-3) var(--ease-out);
}
.header.is-stuck {
  background: rgba(251,250,246,.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 24px -8px rgba(6,46,84,.22);
}
.header.is-stuck::after { opacity: 1; }
.header__inner {
  width: min(100% - var(--gutter) * 2, var(--maxw));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { width: auto; height: 34px; transition: transform var(--dur-2) var(--ease-spring); }
.brand:hover img { transform: scale(1.035); }
.brand .logo-light { display: none; }
.header:not(.is-stuck).header--on-dark .logo-dark  { display: none; }
.header:not(.is-stuck).header--on-dark .logo-light { display: block; }

.nav { display: flex; align-items: center; gap: clamp(.4rem, .1rem + 1vw, 1.35rem); }
.nav a {
  position: relative; text-decoration: none;
  font-size: .935rem; font-weight: 500;
  padding: .5rem .25rem; letter-spacing: -.005em;
  color: var(--ink);
  transition: color var(--dur-2) var(--ease-out);
}
.header--on-dark:not(.is-stuck) .nav a { color: rgba(244,242,234,.92); }
.nav a::after {
  content: ""; position: absolute; left: .25rem; right: .25rem; bottom: .2rem;
  height: 2px; border-radius: 2px; background: var(--vert);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--accent-ink); }
.header--on-dark:not(.is-stuck) .nav a[aria-current="page"] { color: var(--eau-clair); }
.header--on-dark:not(.is-stuck) .nav a[aria-current="page"]::after { background: var(--eau-clair); }
.header__cta { flex: none; }

.burger {
  display: none; width: 46px; height: 46px; flex: none;
  border-radius: var(--r-md); align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong);
  transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.burger:hover { background: rgba(6,46,84,.05); }
.burger span {
  display: block; position: relative; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-1) linear;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur-2) var(--ease-spring);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }
.header--on-dark:not(.is-stuck) .burger { color: var(--papier); border-color: rgba(244,242,234,.35); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--papier-pur);
  padding: var(--s-6) var(--gutter) var(--s-8);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--s-2);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility var(--dur-2);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.4rem; letter-spacing: -.02em;
  text-decoration: none; padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--dur-2) var(--ease-out), padding-left var(--dur-2) var(--ease-out);
}
.mobile-nav a:hover { color: var(--accent-ink); padding-left: var(--s-3); }
.mobile-nav .btn { margin-top: var(--s-5); }

/* Barre de progression de lecture */
.progress {
  position: fixed; top: 0; left: 0; z-index: 101;
  height: 3px; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--eau), var(--vert));
  will-change: transform;
}

/* --------------------------------------------------------------- 7. Héro */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + var(--s-7));
  padding-bottom: clamp(5rem, 3.5rem + 6vw, 9rem);
  overflow: hidden;
  color: var(--papier);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* <picture> n'a pas de hauteur propre : sans cela, height:100% sur l'img résout en auto */
.hero__media picture, .pathway picture, .page-head .hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  transform: scale(1.06); will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(6,29,48,.93) 0%, rgba(6,33,56,.66) 38%, rgba(6,46,84,.18) 72%, rgba(6,46,84,.38) 100%),
    radial-gradient(90% 70% at 15% 90%, rgba(6,46,84,.55) 0%, transparent 60%);
}
.hero__scrim::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(27,163,209,.16), rgba(78,154,46,.13));
  mix-blend-mode: multiply;
}
.hero__inner { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.hero h1 {
  font-size: var(--t-hero); color: var(--papier);
  max-width: 15ch; letter-spacing: -.042em; line-height: .97;
  text-shadow: 0 2px 40px rgba(6,29,48,.4);
}
.hero h1 em { font-style: normal; color: var(--vert-clair); display: block; }
.hero__lead {
  margin-top: var(--s-5); max-width: 46ch;
  font-size: var(--t-lead); line-height: 1.6;
  color: rgba(244,242,234,.97);
  text-shadow: 0 1px 16px rgba(6,29,48,.55);
}
.hero .btn-row { margin-top: var(--s-6); }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: .42rem .95rem .42rem .5rem; margin-bottom: var(--s-5);
  border-radius: var(--r-pill);
  background: rgba(244,242,234,.1);
  border: 1px solid rgba(244,242,234,.24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: var(--t-micro); font-family: var(--font-mono);
  letter-spacing: .12em; text-transform: uppercase; color: rgba(244,242,234,.94);
}
.hero__badge b {
  background: var(--vert); color: #fff; font-weight: 600;
  padding: .18rem .55rem; border-radius: var(--r-pill); letter-spacing: .1em;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.1rem; translate: -50% 0;
  display: grid; place-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244,242,234,.6); text-decoration: none;
}
.hero__scroll i {
  display: block; width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(244,242,234,.6), transparent);
  animation: drip 2.4s var(--ease-out) infinite;
}
@keyframes drip { 0%,100% { transform: scaleY(.35); transform-origin: top; opacity: .3; } 45% { transform: scaleY(1); opacity: 1; } }

/* Bandeau de chiffres sous le héro */
.statbar {
  position: relative; z-index: 2;
  margin-top: calc(var(--s-7) * -1);
  background: var(--bg-elevated);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-4);
  padding: clamp(1.75rem, 1rem + 2.4vw, 2.75rem) clamp(1.25rem, .5rem + 2.4vw, 2.75rem);
  display: grid; gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.statbar > * + * { position: relative; }
.statbar > * + *::before {
  content: ""; position: absolute; left: calc(var(--s-5) / -2); top: 8%; bottom: 8%;
  width: 1px; background: var(--line);
}
.stat__value {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 1.5rem + 2.1vw, 3.1rem);
  line-height: 1; letter-spacing: -.045em; color: var(--marine);
  display: flex; align-items: baseline; gap: .06em;
}
.stat__value small { font-size: .42em; font-weight: 600; letter-spacing: -.02em; color: var(--ink-soft); }
.stat__label {
  margin-top: var(--s-3); font-size: var(--t-small);
  color: var(--ink-soft); line-height: 1.45;
}
.stat--accent .stat__value { color: var(--accent-ink); }
.stat--eau .stat__value { color: var(--eau-ink); }

/* --------------------------------------------------------------- 8. Cartes */
.grid { display: grid; gap: clamp(1.25rem, .7rem + 1.8vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); }

.card {
  position: relative; background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.1rem);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: rgba(78,154,46,.4); }
.card h3 { font-size: var(--t-h3); margin-bottom: var(--s-3); overflow-wrap: break-word; hyphens: auto; }
.card p, .card li { color: var(--ink-soft); font-size: .98rem; line-height: 1.68; text-wrap: auto; }
.bg-deep .card {
  background: rgba(244,242,234,.055);
  border-color: rgba(244,242,234,.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: none;
}
.bg-deep .card p, .bg-deep .card li, .bg-deep .card .muted { color: rgba(244,242,234,.94); }
.bg-deep .card h3, .bg-deep .card h4 { color: var(--papier); }
.bg-deep .card__num, .bg-deep .micro, .bg-deep .figure-note { color: rgba(244,242,234,.82); }
.bg-deep .card--hover:hover { background: rgba(244,242,234,.09); border-color: rgba(127,208,238,.45); transform: translateY(-4px); }

.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: var(--s-5);
  background: linear-gradient(150deg, rgba(78,154,46,.14), rgba(27,163,209,.12));
  border: 1px solid rgba(78,154,46,.22);
  color: var(--accent-ink);
}
.bg-deep .card__icon { color: var(--eau-clair); border-color: rgba(127,208,238,.3); background: linear-gradient(150deg, rgba(127,208,238,.16), rgba(78,154,46,.12)); }
.card .stat__value { margin-bottom: 0; }
.card__num {
  font-family: var(--font-mono); font-size: var(--t-micro);
  letter-spacing: .16em; color: var(--ink-faint); margin-bottom: var(--s-3);
}

/* Cartes de la gamme */
.range-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-1);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.range-card:hover { transform: translateY(-5px); box-shadow: var(--sh-4); border-color: rgba(78,154,46,.4); }
.range-card__top { padding: var(--s-5) var(--s-5) var(--s-4); border-bottom: 1px solid var(--line); }
.range-card__name { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.range-card__name span { color: var(--accent-ink); }
.range-card__role { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin-top: var(--s-3); display: block; }
.range-card__viz {
  background: linear-gradient(165deg, var(--brume), #E9F1EE);
  padding: var(--s-5); display: grid; place-items: center; min-height: 184px;
}
.range-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); flex: 1; }
.range-card__specs { display: grid; gap: var(--s-3); }
.spec { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-size: var(--t-small); }
.spec dt { color: var(--ink-faint); font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; flex: none; }
.spec dd { font-family: var(--font-mono); font-weight: 500; color: var(--marine); text-align: right; white-space: nowrap; }
.range-card__price { margin-top: auto; padding-top: var(--s-4); border-top: 1px dashed var(--line-strong); font-family: var(--font-mono); font-size: .95rem; color: var(--accent-ink); font-weight: 600; }
.range-card__for { font-size: var(--t-small); color: var(--ink-soft); line-height: 1.55; text-wrap: auto; }

/* Cercles de la gamme (échelle relative) */
.disc { border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--vert-clair), var(--vert-feuille)); box-shadow: inset 0 -6px 16px rgba(6,46,84,.28), var(--sh-2); position: relative; }
.disc::after { content: ""; position: absolute; inset: 26%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--eau-clair), var(--eau)); }

/* --------------------------------------------------- 9. Blocs média/texte */
.split {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 55rem) { .split--reverse > *:first-child { order: 0; } }

.media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3); isolation: isolate;
}
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.media--tall img { aspect-ratio: 3 / 4; }
.media--wide img { aspect-ratio: 16 / 9; }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6,29,48,.42), transparent 55%);
}
.media--tint::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(150deg, rgba(27,163,209,.2), rgba(78,154,46,.16));
  mix-blend-mode: multiply;
}
a.media:hover img, .media--zoom:hover img { transform: scale(1.05); }
.media:has(.media__caption)::after {
  background: linear-gradient(to top, rgba(6,29,48,.9) 0%, rgba(6,29,48,.4) 38%, transparent 66%);
}
.media__caption {
  position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); z-index: 2;
  color: var(--papier); font-size: var(--t-small); line-height: 1.4;
  text-shadow: 0 1px 3px rgba(6,29,48,.95), 0 2px 16px rgba(6,29,48,.8);
}

.figure-note {
  margin-top: var(--s-3); font-size: .82rem;
  color: var(--ink-soft); font-family: var(--font-mono); letter-spacing: .02em;
}

/* --------------------------------------------------------- 10. Liste check */
.checks { display: grid; gap: var(--s-4); }
.checks li { position: relative; padding-left: 2.35rem; line-height: 1.62; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px;
  border-radius: 50%; background: rgba(78,154,46,.14);
  border: 1.5px solid rgba(78,154,46,.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E9A2E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.bg-deep .checks li::before { border-color: rgba(127,208,238,.5); background-color: rgba(127,208,238,.12); }

/* Étapes numérotées */
.steps { counter-reset: step; display: grid; gap: var(--s-5); }
.step {
  position: relative; padding-left: clamp(3.5rem, 2rem + 4vw, 4.75rem);
  padding-bottom: var(--s-5);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: clamp(1.28rem, .55rem + 1.9vw, 1.72rem); top: 3.1rem; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, rgba(78,154,46,.4), rgba(78,154,46,.06));
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: clamp(2.6rem, 1.2rem + 3.6vw, 3.5rem); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
  color: var(--accent-ink); background: var(--bg-elevated);
  border: 1.5px solid rgba(78,154,46,.4);
  box-shadow: var(--sh-1);
}
.step h3 { font-size: var(--t-h4); margin-bottom: var(--s-2); }
.step p { color: var(--ink-soft); font-size: 1rem; line-height: 1.62; }
.bg-deep .step::before { background: rgba(244,242,234,.08); color: var(--eau-clair); border-color: rgba(127,208,238,.4); }
.bg-deep .step p, .bg-deep .step h3 { color: var(--papier); }
.bg-deep .step p { color: rgba(244,242,234,.96); }
.bg-deep .step:not(:last-child)::after { background: linear-gradient(to bottom, rgba(127,208,238,.35), rgba(127,208,238,.04)); }

/* -------------------------------------------------------- 11. Comparaison */
.versus { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.versus__col { padding: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); border-radius: var(--r-lg); border: 1px solid var(--line); }
.versus__col--no { background: var(--bg-sunken); }
.versus__col--yes {
  background: var(--bg-elevated); border-color: rgba(78,154,46,.35);
  box-shadow: var(--sh-3);
}
.versus__tag {
  font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: var(--s-4); display: inline-block;
  padding: .28rem .7rem; border-radius: var(--r-pill);
}
.versus__col--no .versus__tag { background: rgba(6,46,84,.08); color: var(--ink-soft); }
.versus__col--yes .versus__tag { background: rgba(78,154,46,.14); color: var(--accent-ink); }
.versus__col ul { display: grid; gap: var(--s-3); font-size: .98rem; line-height: 1.6; color: var(--ink-soft); text-wrap: auto; }
.versus__col--no li { padding-left: 1.6rem; position: relative; }
.versus__col--no li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }

/* --------------------------------------------------- 12. Parcours (2 voies) */
.pathway {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); min-height: 22rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.75rem, 1rem + 2.4vw, 2.75rem);
  color: var(--papier); text-decoration: none;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  box-shadow: var(--sh-2);
}
.pathway img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.pathway::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(6,29,48,.95) 8%, rgba(6,36,62,.78) 48%, rgba(6,46,84,.4) 100%);
  transition: opacity var(--dur-3) var(--ease-out);
}
.pathway:hover { transform: translateY(-5px); box-shadow: var(--sh-4); }
.pathway:hover img { transform: scale(1.06); }
.pathway h3 { font-size: var(--t-h3); color: var(--papier); margin-bottom: var(--s-3); text-shadow: 0 2px 14px rgba(6,29,48,.75); }
.pathway p { color: rgba(244,242,234,.95); font-size: var(--t-small); max-width: 34ch; text-shadow: 0 1px 8px rgba(6,29,48,.7); }
.pathway .link-arrow { color: var(--eau-clair); margin-top: var(--s-5); }
.pathway:hover .link-arrow svg { transform: translateX(4px); }

/* ------------------------------------------------------- 13. Galerie module */
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  box-shadow: var(--sh-1); isolation: isolate; background: var(--bg-sunken);
}
.tile img { aspect-ratio: 1; width: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.tile { background: var(--brume); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,29,48,.9) 0%, rgba(6,29,48,.42) 24%, transparent 50%); }
.tile figcaption {
  position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); z-index: 1;
  color: var(--papier); font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; letter-spacing: -.015em;
  text-shadow: 0 1px 3px rgba(6,29,48,.9), 0 2px 14px rgba(6,29,48,.7);
}
.tile figcaption small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--t-micro); color: rgba(244,242,234,.92); letter-spacing: 0; margin-top: 2px; }
.tile:hover img { transform: scale(1.07); }

/* -------------------------------------------------------------- 14. Citation */
.quote {
  position: relative; padding-left: clamp(1.5rem, .8rem + 2.4vw, 2.75rem);
  border-left: 3px solid var(--vert);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.85rem);
  line-height: 1.35; letter-spacing: -.025em;
}
.quote footer { margin-top: var(--s-4); font-family: var(--font-body); font-size: var(--t-small); font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }
.bg-deep .quote, .bg-deep .quote footer { color: var(--papier); }

/* -------------------------------------------------------------- 15. Tableau */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-elevated); }
table { border-collapse: collapse; width: 100%; min-width: 44rem; font-size: 1rem; line-height: 1.55; }
th, td { padding: var(--s-4) var(--s-5); text-align: left; border-bottom: 1px solid var(--line); color: var(--ink); }
thead th { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; background: var(--bg-sunken); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color var(--dur-1) linear; }
tbody tr:hover { background: rgba(78,154,46,.04); }
td.num { font-family: var(--font-mono); font-size: .94rem; font-feature-settings: "tnum"; white-space: nowrap; color: var(--ink); }
/* colonne descriptive : texte courant, plus lisible que la mono */
td.ref { color: var(--ink-soft); font-size: .95rem; }
td.ref em { font-style: italic; }

/* ------------------------------------------------------------------ 16. FAQ */
.faq { display: grid; gap: var(--s-3); }
details.qa {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-elevated); overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
details.qa[open] { border-color: rgba(78,154,46,.35); box-shadow: var(--sh-2); }
details.qa summary {
  cursor: pointer; list-style: none; padding: var(--s-5);
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -.015em; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  transition: color var(--dur-2) var(--ease-out);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { color: var(--accent-ink); }
.mobile-nav a:hover { color: var(--accent-ink); }
details.qa summary::after {
  content: ""; flex: none; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E9A2E' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform var(--dur-2) var(--ease-spring);
}
details.qa[open] summary::after { transform: rotate(135deg); }
details.qa .qa__body { padding: 0 var(--s-5) var(--s-5); color: var(--ink-soft); font-size: var(--t-small); }

/* ------------------------------------------------------------- 17. Bandeau */
.callout {
  border-radius: var(--r-xl); padding: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  position: relative; overflow: hidden; isolation: isolate;
}
.callout--deep {
  background:
    radial-gradient(90% 120% at 8% 0%, rgba(27,163,209,.3) 0%, transparent 58%),
    radial-gradient(80% 100% at 95% 100%, rgba(78,154,46,.28) 0%, transparent 55%),
    linear-gradient(150deg, var(--marine), var(--encre));
  color: var(--papier);
  box-shadow: var(--sh-4);
}
.callout--deep h2, .callout--deep h3 { color: var(--papier); }
.callout--deep p, .callout--deep li { color: rgba(244,242,234,.94); }

/* ------------------------------------------------------------ 18. Partenaires */
.logos { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: .55rem 1.05rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: var(--bg-elevated);
  font-size: var(--t-small); font-weight: 500; color: var(--ink-soft);
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.chip:hover { transform: translateY(-2px); border-color: rgba(78,154,46,.45); color: var(--marine); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); flex: none; }
.bg-deep .chip { background: rgba(244,242,234,.09); border-color: rgba(244,242,234,.32); color: rgba(244,242,234,.95); }
.bg-deep .chip:hover { border-color: rgba(127,208,238,.5); color: var(--papier); }

/* ------------------------------------------------------------ 19. Formulaire */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--t-small); font-weight: 500; }
.field label .req { color: var(--accent-ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--bg-elevated); font-size: var(--t-small);
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--vert);
  box-shadow: 0 0 0 4px rgba(78,154,46,.16);
}
.field-row { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
/* Champ leurre anti-robots : hors écran, hors focus, hors lecteurs d'écran */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px;
      overflow: hidden; opacity: 0; pointer-events: none; }

/* Retour d'envoi du formulaire */
.form-msg {
  margin-top: var(--s-4); padding: .85rem 1.1rem; border-radius: var(--r-sm);
  font-size: var(--t-small); line-height: 1.5; border: 1.5px solid transparent;
}
.form-msg--pending { background: rgba(6,46,84,.05);  border-color: var(--line-strong); color: var(--ink-soft); }
.form-msg--ok      { background: rgba(65,128,44,.1); border-color: rgba(65,128,44,.45); color: var(--accent-ink); font-weight: 500; }
.form-msg--error   { background: rgba(176,58,46,.08); border-color: rgba(176,58,46,.4);  color: #8E2B22; }
.form-msg a { color: inherit; }

.consent { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--t-micro); color: var(--ink-soft); line-height: 1.55; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.consent input { width: 18px; height: 18px; margin-top: .18rem; flex: none; accent-color: var(--vert); }

/* ------------------------------------------------------------- 20. Footer */
.footer { background: var(--encre); color: rgba(244,242,234,.88); padding-block: var(--s-8) var(--s-6); position: relative; }
.footer__grid { display: grid; gap: var(--s-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer__brand img { height: 40px; width: auto; margin-bottom: var(--s-5); }
.footer p { color: rgba(244,242,234,.88); }
.footer h4, .footer__h { color: var(--papier); font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1.3; letter-spacing: -.005em; margin-bottom: var(--s-4); }
.footer a { color: rgba(244,242,234,.88); text-decoration: none; transition: color var(--dur-2) var(--ease-out); }
.footer a:hover { color: var(--vert-clair); }
.footer li + li { margin-top: var(--s-3); }
.footer ul { font-size: var(--t-small); }
.footer__bottom {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid rgba(244,242,234,.12);
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5);
  justify-content: space-between; align-items: center;
  font-size: var(--t-micro); color: rgba(244,242,234,.72);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-5); }

/* ---------------------------------------------------------- 21. Animations */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(.965); }
[data-reveal].is-visible { transform: none; }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal-delay="4"] { transition-delay: .36s; }
[data-reveal-delay="5"] { transition-delay: .45s; }

/* Cycle de l'eau — schéma animé */
/* Schéma du cycle : lisible en grand, défilable sur petit écran */
.cycle-fig { margin: 0; }
.cycle-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: var(--s-2); }
.cycle-svg { width: 100%; height: auto; display: block; }
@media (max-width: 56rem) {
  .cycle-svg { min-width: 780px; }
  .cycle-scroll { mask-image: linear-gradient(to right, #000 0 92%, transparent 100%); }
}
.cycle-hint {
  display: none; margin-top: var(--s-3);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(244,242,234,.62);
}
@media (max-width: 56rem) { .cycle-hint { display: block; } }

.cycle-svg .flow {
  stroke-dasharray: 7 9;
  animation: flow 1.9s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -32; } }
.cycle-svg .rain { animation: fall 2.4s var(--ease-out) infinite; }
.cycle-svg .rain { transform-box: fill-box; }
.cycle-svg .rain:nth-of-type(2) { animation-delay: .45s; }
.cycle-svg .rain:nth-of-type(3) { animation-delay: .9s; }
.cycle-svg .rain:nth-of-type(4) { animation-delay: 1.35s; }
/* gouttes du goutte-à-goutte */
.cycle-svg .drip { animation: drop 2.2s var(--ease-out) infinite; transform-box: fill-box; transform-origin: center; }
.cycle-svg .drip:nth-of-type(2) { animation-delay: .45s; }
.cycle-svg .drip:nth-of-type(3) { animation-delay: .9s; }
.cycle-svg .drip:nth-of-type(4) { animation-delay: 1.35s; }
@keyframes drop {
  0% { transform: translateY(-3px); opacity: 0; }
  25% { opacity: 1; }
  70% { opacity: .9; }
  100% { transform: translateY(16px); opacity: 0; }
}
@keyframes fall {
  0%   { transform: translateY(-10px); opacity: .35; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: translateY(30px); opacity: .35; }
}
.cycle-svg .vapor { animation: rise 3.4s var(--ease-out) infinite; transform-box: fill-box; transform-origin: center bottom; }
.cycle-svg .vapor:nth-of-type(2) { animation-delay: .7s; }
.cycle-svg .vapor:nth-of-type(3) { animation-delay: 1.4s; }
.cycle-svg .vapor:nth-of-type(4) { animation-delay: 2.1s; }
.cycle-svg .vapor:nth-of-type(5) { animation-delay: 1s; }
@keyframes rise {
  0%   { transform: translateY(8px) scale(.85); opacity: .3; }
  35%  { opacity: .95; }
  100% { transform: translateY(-34px) scale(1.3); opacity: 0; }
}

/* Thermomètre / barres comparatives */
.bars { display: grid; gap: var(--s-5); }
.bar__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-2); font-size: var(--t-small); }
.bar__head b { font-family: var(--font-mono); font-weight: 500; }
.bar__track { height: 12px; border-radius: var(--r-pill); background: rgba(6,46,84,.09); overflow: hidden; }
.bg-deep .bar__track { background: rgba(244,242,234,.12); }
.bar__fill {
  height: 100%; border-radius: var(--r-pill);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.35s var(--ease-out);
}
.is-visible .bar__fill { transform: scaleX(var(--v, 1)); }
.bar__fill--hot  { background: linear-gradient(90deg, #E0A26A, #C9603F); }
.bar__fill--cool { background: linear-gradient(90deg, var(--eau-clair), var(--vert)); }

/* -------------------------------------------------------- 22. Utilitaires */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.pt-header { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5.5rem)); }
.maxw-text { max-width: var(--maxw-text); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: var(--t-h3); margin-top: var(--s-7); }
.prose h3 { font-size: var(--t-h4); margin-top: var(--s-6); }
.prose ul { display: grid; gap: var(--s-3); padding-left: 1.2rem; list-style: disc; color: var(--ink-soft); line-height: 1.65; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }

/* En-tête de page intérieure */
.page-head { position: relative; overflow: hidden; }
.page-head h1 { font-size: var(--t-h1); max-width: 18ch; }
.page-head .lead { margin-top: var(--s-5); }
.breadcrumb { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s-5); color: rgba(244,242,234,.82); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--eau-clair); }

/* --------------------------------------------------------- 23. Responsive */
@media (max-width: 62rem) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
}
@media (max-width: 40rem) {
  .statbar > * + *::before { display: none; }
  .statbar { gap: var(--s-6); }
  .hero { min-height: 78svh; padding-bottom: clamp(4rem, 3rem + 4vw, 6rem); }
  .hero__badge { font-size: .68rem; }
}

/* --------------------------------------------- 24. Préférences & impression */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .bar__fill { transform: scaleX(var(--v, 1)) !important; }
  .hl::after { transform: scaleX(1) !important; }
}
@media print {
  .header, .mobile-nav, .progress, .hero__scroll, .burger { display: none !important; }
  body { background: #fff; color: #000; }
  .bg-deep, .callout--deep { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
