/* ==========================================================================
   France Urbex · landing
   Base reprise de la landing NZ Agency (css/nz.css), recolorée selon la DA v2 :
   Sous-bois (fond, jamais noir), Forêt, Pousse, Lichen, Tuile (seule couleur chaude).
   Titres en Chakra Petch 700 capitales, texte en Geist, données en Geist Mono.
   ========================================================================== */

:root {
  --foret: #005200;
  --pousse: #1b7d18;
  --sous-bois: #0e2412;
  --lichen: #eef5ea;
  --tuile: #d9784f;
  --accent: #6cc868;

  --night: #0e2412;
  --night-2: #0a1c0d;
  --night-3: #16331a;
  --orange: #1b7d18;
  --amber: #6cc868;
  --flame: linear-gradient(100deg, #1b7d18 0%, #2a9426 55%, #3fa83b 100%);
  --flame-text: linear-gradient(100deg, #3fa83b 0%, #6cc868 50%, #d4e4d0 100%);
  --paper: #eef5ea;
  --white: #fafdf8;
  --ink: #0e2412;
  --ink-2: #1f4224;
  --muted: #4a6a4d;
  --line: #d4e4d0;
  --line-night: rgba(238, 245, 234, 0.14);
  --text-night: rgba(238, 245, 234, 0.76);
  --glass: rgba(14, 36, 18, 0.55);
  --glass-line: rgba(238, 245, 234, 0.18);

  --display: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-xl: 40px;
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 12px;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
p, h1, h2, h3, h4, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
strong { font-weight: 700; color: inherit; }

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

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Titres : capitales très larges */
.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.012em;
}
.flame-text {
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s, box-shadow 0.35s var(--ease), color 0.25s;
}
.btn svg { flex: none; }
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn--flame {
  background: var(--flame);
  color: var(--night-2);
  box-shadow: 0 10px 30px -10px rgba(46, 154, 42, 0.7), inset 0 1px 0 rgba(238, 245, 234, 0.35);
}
.btn--flame:hover { filter: brightness(1.06); }
.btn--ghost-night { color: var(--lichen); background: rgba(238, 245, 234, 0.06); box-shadow: inset 0 0 0 1px rgba(238, 245, 234, 0.2); }
.btn--ghost-night:hover { background: rgba(238, 245, 234, 0.12); }
.btn--ink { background: var(--ink); color: var(--lichen); }
.btn--ink:hover { background: #16331a; }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: var(--white); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ==========================================================================
   Navbar : pilule de verre (PC) ; pilule compacte + plein écran (mobile)
   ========================================================================== */
.nav {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding-inline: 12px;
}
.nav-pill {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--nav-h);
  padding: 0 8px 0 16px;
  border-radius: 999px;
  color: var(--lichen);
  border: 1px solid rgba(238, 245, 234, 0.25);
  background: rgba(14, 36, 18, 0.62);
  box-shadow:
    inset 1.5px 1.5px 0 rgba(238, 245, 234, 0.52),
    inset 0 2px 1px rgba(238, 245, 234, 0.29),
    inset -1.5px -1.5px 0 rgba(4, 14, 6, 0.3),
    inset 0 -2px 1px rgba(4, 14, 6, 0.15),
    0 0 0 0.5px rgba(108, 200, 104, 0.4),
    0 0 0 1px rgba(238, 245, 234, 0.12),
    0 12px 40px rgba(4, 14, 6, 0.45),
    0 4px 14px rgba(4, 14, 6, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  transition: transform 0.5s var(--ease), background-color 0.4s;
}
/* Reflet du verre : moitié haute de la pilule */
.nav-pill::before {
  content: "";
  position: absolute;
  inset: 1px 1px 42% 1px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(rgba(238, 245, 234, 0.39) 0%, rgba(238, 245, 234, 0.11) 40%, transparent 80%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.nav-pill > * { position: relative; }
.nav.is-scrolled .nav-pill { background: rgba(14, 36, 18, 0.72); }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 14px;
  text-decoration: none;
  font-family: var(--body);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.nav-brand svg { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 16px -6px rgba(46, 154, 42, 0.7); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: rgba(238, 245, 234, 0.75);
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.nav-links a:hover { color: var(--lichen); background: rgba(238, 245, 234, 0.1); }
.nav-links a[aria-current="true"] { color: var(--lichen); background: rgba(238, 245, 234, 0.15); border-color: rgba(238, 245, 234, 0.35); }
.nav-sep { width: 1px; height: 22px; margin: 0 4px; background: rgba(238, 245, 234, 0.2); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-actions .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.nav-call { color: var(--lichen); }
.nav-call:hover { background: rgba(238, 245, 234, 0.1); }
.nav-cta { background: var(--lichen); color: var(--ink); }
.nav-cta:hover { background: var(--orange); color: var(--lichen); }
.nav-burger { display: none; }

/* Menu plein écran (mobile) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 44px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background:
    radial-gradient(90% 50% at 50% 110%, rgba(46, 154, 42, 0.35), transparent 70%),
    var(--night-2);
  color: var(--lichen);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity 0.35s var(--ease); }
.menu-links { flex: 1; }
.menu-links a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-night);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 8.4vw, 44px);
  line-height: 1.05;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.2s;
}
.menu-links a:active { color: var(--amber); }
.menu.is-open .menu-links a { transform: none; opacity: 1; }
.menu.is-open .menu-links li:nth-child(2) a { transition-delay: 0.05s; }
.menu.is-open .menu-links li:nth-child(3) a { transition-delay: 0.1s; }
.menu.is-open .menu-links li:nth-child(4) a { transition-delay: 0.15s; }
.menu.is-open .menu-links li:nth-child(5) a { transition-delay: 0.2s; }
.menu-ctas { display: grid; gap: 10px; }
.menu-ctas .btn { width: 100%; min-height: 56px; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero nuit
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--lichen);
  background:
    radial-gradient(70% 55% at 78% 100%, rgba(46, 154, 42, 0.28), transparent 70%),
    radial-gradient(60% 60% at 10% 0%, rgba(238, 245, 234, 0.07), transparent 70%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 60%, #12301a 100%);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  padding: calc(var(--nav-h) + 70px) 0 64px;
}
.hero-stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(238, 245, 234, 0.85);
  background: rgba(238, 245, 234, 0.07);
  box-shadow: inset 0 0 0 1px rgba(238, 245, 234, 0.14);
}
.hero-kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(46, 154, 42, 0.2), 0 0 14px var(--orange);
}
.hero-title {
  margin-top: 26px;
  font-size: clamp(30px, 3.8vw, 56px);
}
.hero-title .line { display: block; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; }
.hero-lead {
  max-width: 58ch;
  margin-top: 24px;
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--text-night);
}
.hero-lead strong { color: var(--lichen); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-night);
  font-size: 14px;
  color: rgba(238, 245, 234, 0.7);
}
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--amber); }

/* Entrée du hero : une seule séquence au chargement */
.js .hero [data-in] { opacity: 0; transform: translateY(26px); }
.hero.is-ready [data-in] { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.hero.is-ready [data-in="2"] { transition-delay: 0.35s; }
.hero.is-ready [data-in="3"] { transition-delay: 0.45s; }
.hero.is-ready [data-in="4"] { transition-delay: 0.55s; }
.hero.is-ready [data-in="5"] { transition-delay: 0.3s; }



/* ==========================================================================
   Sections claires
   ========================================================================== */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--white { background: var(--white); }
.head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(21px, 3.8vw, 52px); }
.head p { margin-top: 20px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 62ch; }
.head--center p { margin-inline: auto; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.section--white .tag { background: var(--paper); }


/* Apparition au scroll (réservée aux blocs importants) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: 0.1s; }
.js [data-reveal="3"] { transition-delay: 0.2s; }


/* ---------- Incubateur : trois temps ---------- */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: phase; }
.phase {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--r-lg);
  background: var(--paper);
}
.phase--option { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.phase-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 42px; }
.phase-num { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--ink); }
.phase--option .phase-num { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.phase-badge { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--night); color: var(--lichen); }
.phase--option .phase-badge { background: rgba(46, 154, 42, 0.12); color: #005200; }
.phase h3 { font-size: 22px; font-weight: 800; line-height: 1.25; }
.phase > p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.phase ul { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.phase li { display: flex; gap: 10px; }
.phase li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 2px; background: var(--orange); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border-radius: var(--r-lg);
  background: var(--night);
  color: var(--lichen);
  overflow: hidden;
}
.stat { padding: 30px 28px; }
.stat + .stat { border-left: 1px solid var(--line-night); }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.stat b small { font-size: 0.45em; margin-left: 4px; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--text-night); }

/* ---------- Expertises ---------- */
.skills { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.skill {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.skill:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--ink), 0 30px 50px -36px rgba(14, 36, 18, 0.45); }
.skill-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: var(--ink); margin-bottom: 28px; }
.skill h3 { font-size: 20px; font-weight: 800; line-height: 1.3; }
.skill p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.skill-foot { margin-top: auto; padding-top: 22px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.skill--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 52px 1fr; column-gap: 22px; align-items: start; }
.skill--wide .skill-ico { margin-bottom: 0; grid-row: span 3; }
.skill--main {
  grid-row: span 2;
  color: var(--lichen);
  background:
    radial-gradient(80% 60% at 100% 100%, rgba(46, 154, 42, 0.45), transparent 70%),
    var(--night);
  box-shadow: none;
}
.skill--main:hover { box-shadow: 0 30px 60px -30px rgba(4, 14, 6, 0.6); }
.skill--main .skill-ico { background: var(--flame); color: var(--night-2); }
.skill--main h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.05; hyphens: none; overflow-wrap: normal; }
.skill--main p { color: var(--text-night); font-size: 16px; }
.skill--main .skill-foot { color: var(--amber); }

/* ==========================================================================
   Méthode : parcours épinglé (nuit)
   ========================================================================== */
.journey {
  position: relative;
  color: var(--lichen);
  background:
    radial-gradient(60% 40% at 90% 10%, rgba(238, 245, 234, 0.06), transparent 70%),
    var(--night-2);
  border-radius: var(--r-xl);
  margin-inline: clamp(0px, 1.2vw, 16px);
}
.journey .head { padding-top: clamp(80px, 10vw, 130px); margin-bottom: 20px; }
.journey .tag { background: rgba(238, 245, 234, 0.07); color: rgba(238, 245, 234, 0.85); box-shadow: inset 0 0 0 1px var(--line-night); }
.journey .head p { color: var(--text-night); }
.journey-track { height: 360vh; }
.journey-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}
.journey-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.rail { position: relative; display: grid; gap: 34px; padding-left: 26px; }
.rail-line { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line-night); border-radius: 2px; }
.rail-fill { position: absolute; inset: 0 0 auto; height: calc(var(--p, 0) * 100%); background: var(--flame); border-radius: 2px; }
.rail-step { position: relative; display: grid; gap: 2px; text-align: left; color: rgba(238, 245, 234, 0.45); transition: color 0.3s; }
.rail-step::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--night-2);
  box-shadow: inset 0 0 0 2px rgba(238, 245, 234, 0.3);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.rail-step small { font-size: 12px; font-weight: 700; }
.rail-step span { font-weight: 800; font-size: 16px; }
.rail-step.is-done, .rail-step.is-active { color: var(--lichen); }
.rail-step.is-done::before, .rail-step.is-active::before { background: var(--orange); box-shadow: 0 0 0 5px rgba(46, 154, 42, 0.22); }

.panels, .scenes { position: relative; min-height: 340px; }
.panel, .scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.panel { display: flex; flex-direction: column; justify-content: center; }
.scene { display: grid; place-items: center; }
.panel.is-active, .scene.is-active { opacity: 1; transform: none; pointer-events: auto; }
.panel-num { font-family: var(--display); font-weight: 700; font-size: clamp(80px, 10vw, 150px); line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px rgba(108, 200, 104, 0.8); }
.panel h3 { margin-top: 18px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.02; }
.panel p { margin-top: 18px; color: var(--text-night); max-width: 46ch; }

.scard {
  width: min(360px, 100%);
  padding: 22px;
  border-radius: 22px;
  background: rgba(238, 245, 234, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-night);
  display: grid;
  gap: 12px;
}
.scard-label { font-size: 12px; font-weight: 800; color: var(--amber); }
.sline { height: 10px; border-radius: 6px; background: rgba(238, 245, 234, 0.14); }
.schips { display: flex; flex-wrap: wrap; gap: 6px; }
.schips span { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(238, 245, 234, 0.08); }
.squote { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-night); font-weight: 700; }
.ssplit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(420px, 100%); }
.ssplit .scard { width: auto; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 26px; height: 26px; border-radius: 8px; }
.swatches i:nth-child(1) { background: var(--orange); }
.swatches i:nth-child(2) { background: var(--amber); }
.swatches i:nth-child(3) { background: var(--lichen); }
.swatches i:nth-child(4) { background: #6f8f70; }
.sbox { height: 70px; border-radius: 12px; background: linear-gradient(135deg, rgba(46, 154, 42, 0.35), rgba(238, 245, 234, 0.12)); }
.scode { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; line-height: 1.7; color: rgba(238, 245, 234, 0.8); }
.scode b { color: var(--amber); font-weight: 600; }
.stores { display: grid; gap: 12px; width: min(360px, 100%); }
.store { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(238, 245, 234, 0.07); box-shadow: inset 0 0 0 1px var(--line-night); font-size: 14px; color: var(--text-night); line-height: 1.35; }
.store strong { color: var(--lichen); }
.store-ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--flame); color: var(--night-2); flex: none; }
.stars { color: var(--amber); letter-spacing: 3px; }
.chart path.area { fill: url(#chartFill); }
.chart path.stroke { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side .head { margin-bottom: 30px; }
.faq-side .head h2 { font-size: clamp(26px, 2.7vw, 38px); }
.ask {
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--night);
  color: var(--lichen);
}
.ask p:first-child { font-weight: 800; font-size: 18px; }
.ask p + p { margin-top: 8px; font-size: 15px; color: var(--text-night); }
.ask .btn { margin-top: 20px; }
.faq-list { display: grid; gap: 10px; }
.qa { border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s; }
.qa.is-open { box-shadow: inset 0 0 0 1.5px var(--ink); }
.qa-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  text-align: left;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
}
.qa-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); transition: background-color 0.3s, transform 0.4s var(--ease); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.qa-icon::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.qa.is-open .qa-icon { background: var(--orange); color: var(--lichen); }
.qa.is-open .qa-icon::after { transform: rotate(0deg); }
.qa-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.qa.is-open .qa-body { grid-template-rows: 1fr; }
.qa-body > div { overflow: hidden; }
.qa-body p { padding: 0 24px 24px; color: var(--muted); font-size: 16px; }
.qa-body strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 20px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: grid; gap: 7px; min-width: 0; }
.form-group label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.required { color: var(--orange); text-decoration: none; border: 0; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px transparent;
  color: var(--ink);
  font: 500 16px/1.4 var(--body);
  transition: box-shadow 0.2s, background-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8aa58a; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--orange), 0 0 0 4px rgba(46, 154, 42, 0.12); }
.contact-form .error { box-shadow: inset 0 0 0 1.5px #d9784f !important; }
.select-wrap { position: relative; min-width: 0; }
.contact-form select { min-width: 0; text-overflow: ellipsis; }
.select-wrap .select-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field-error { min-height: 0; font-size: 13px; font-weight: 600; color: #b4532c; }
.field-error:empty { display: none; }
.field-hint { font-size: 13px; color: var(--muted); }
.checkbox-label { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 600 !important; color: var(--muted) !important; cursor: pointer; }
.checkbox-label input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.checkbox-custom { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--paper); box-shadow: inset 0 0 0 1.5px #a9c4a6; display: grid; place-items: center; transition: background-color 0.2s, box-shadow 0.2s; }
.checkbox-label input:checked + .checkbox-custom { background: var(--orange); box-shadow: none; }
.checkbox-label input:checked + .checkbox-custom::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.checkbox-label input:focus-visible + .checkbox-custom { outline: 3px solid var(--orange); outline-offset: 2px; }
.checkbox-label input.error + .checkbox-custom { box-shadow: inset 0 0 0 1.5px #d9784f; }
.btn-submit { width: 100%; min-height: 58px; font-size: 16px; }
.btn-submit .btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(238, 245, 234, 0.25); border-top-color: var(--night-2); animation: spin 0.8s linear infinite; }
.btn-submit.loading { pointer-events: none; opacity: 0.85; }
.btn-submit.loading .btn-spinner { display: block; }
.btn-submit.loading .btn-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-feedback { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; font-size: 15px; font-weight: 600; }
.form-feedback[hidden] { display: none; }
.form-success { background: #dcefd8; color: #005200; }
.form-error-msg { background: #f8e4da; color: #8f3f1f; }
.honeypot { display: none !important; }

.contact-aside { display: grid; gap: 20px; }
.info {
  padding: clamp(24px, 3.5vw, 34px);
  border-radius: var(--r-lg);
  background: var(--night);
  color: var(--lichen);
}
.info h3 { font-size: 22px; font-weight: 800; }
.info > p { margin-top: 10px; color: var(--text-night); font-size: 15px; }
.info-list { margin-top: 24px; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: center; }
.info-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(238, 245, 234, 0.07); color: var(--amber); flex: none; }
.info-list small { display: block; font-size: 12px; font-weight: 700; color: rgba(238, 245, 234, 0.55); }
.info-list a, .info-list span { font-weight: 700; text-decoration: none; }
.info-list a:hover { color: var(--amber); }
.promises { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-night); display: grid; gap: 8px; font-size: 14px; color: var(--text-night); }
.promises li { display: flex; gap: 10px; align-items: center; }
.promises svg { color: var(--amber); flex: none; }
.book-card { padding: clamp(24px, 3.5vw, 34px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.book-card h3 { font-size: 20px; font-weight: 800; }
.book-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.book-card .btn { margin-top: 20px; width: 100%; }


/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  color: var(--lichen);
  background:
    radial-gradient(60% 70% at 50% 120%, rgba(46, 154, 42, 0.35), transparent 70%),
    var(--night-2);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: clamp(64px, 8vw, 96px) 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-brand .nav-brand { color: var(--lichen); margin: 0; font-size: 20px; }
.footer-brand .nav-brand svg { width: 42px; height: 42px; border-radius: 11px; }
.footer-brand p { margin-top: 18px; max-width: 30ch; color: var(--text-night); font-size: 15px; }
.footer h4 { font-size: 14px; font-weight: 800; margin: 0 0 14px; color: var(--lichen); }
.footer ul { display: grid; gap: 10px; }
.footer li a, .footer li span { font-size: 15px; color: var(--text-night); text-decoration: none; }
.footer li a:hover { color: var(--amber); }
.footer-word {
  margin-top: clamp(48px, 7vw, 90px);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 10.6vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238, 245, 234, 0.22);
  user-select: none;
}
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-night); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: rgba(238, 245, 234, 0.55); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--lichen); }


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links a { padding: 10px 10px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { min-height: 520px; margin-top: 10px; }
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill--main { grid-row: auto; grid-column: span 2; }
  .skill--wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  .nav-links, .nav-sep, .nav-actions .btn { display: none; }
  .nav-pill { padding: 0 6px 0 16px; gap: 0; }
  .nav-brand { margin-right: 18px; }
  .nav-burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(238, 245, 234, 0.1);
  }
  .nav-burger span { position: relative; display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: background-color 0.2s; }
  .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease); }
  .nav-burger span::before { transform: translateY(-6px); }
  .nav-burger span::after { transform: translateY(6px); }
  .nav.is-menu .nav-burger span { background: transparent; }
  .nav.is-menu .nav-burger span::before { transform: rotate(45deg); }
  .nav.is-menu .nav-burger span::after { transform: rotate(-45deg); }
  .nav.is-menu .nav-pill { background: rgba(238, 245, 234, 0.08); }

  .hero { padding-top: calc(var(--nav-h) + 60px); border-radius: 0 0 30px 30px; }
  .hero-stage { min-height: 470px; }
  .chip { font-size: 12px; padding: 10px 12px 10px 10px; }
  .chip strong { font-size: 13px; }

  .journey .bg-word { display: none; }
  .stat { padding: 22px 18px; }
  .stat b { font-size: clamp(22px, 7.4vw, 40px); }

  .phases { grid-template-columns: 1fr; }
  .phase-top { margin-bottom: 26px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-night); }

  .skills { grid-template-columns: minmax(0, 1fr); }
  .skill--main h3 { font-size: clamp(13px, 4.7vw, 30px); }
  .skill--main, .skill--wide { grid-column: auto; }
  .skill--wide { display: flex; }
  .skill--wide .skill-ico { margin-bottom: 28px; }

  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .head h2 { font-size: clamp(21px, 7vw, 30px); }
  .hero-ctas .btn { width: 100%; }
  .hero-stage { min-height: 430px; }
  .form-row { grid-template-columns: 1fr; }
  .qa-btn { padding: 18px 18px; font-size: 16px; }
  .qa-body p { padding: 0 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-in] { opacity: 1; transform: none; }
}


/* ==========================================================================
   Motion design (js/motion.js)
   ========================================================================== */

/* Halo orange qui suit la souris dans le hero */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--gx, 70%) var(--gy, 40%), rgba(46, 154, 42, 0.22), transparent 70%);
  pointer-events: none;
}

/* Titres découpés en lettres : montée, rotation et flou qui se dissipe */
.split .w { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; will-change: transform; }
.js .split .ch {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.7em) rotate(8deg) scale(0.92);
  transition: opacity 0.8s var(--ease), filter 0.8s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i) * 16ms);
}
.js .split .ch--block { transform: translateY(0.4em); }
.js .split.is-in .ch { opacity: 1; filter: none; transform: none; }

/* Cartes inclinables avec reflet */
.tilt { position: relative; transform-style: preserve-3d; transition: transform 0.5s var(--ease), box-shadow 0.35s var(--ease); will-change: transform; }
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--px, 50%) var(--py, 0%), rgba(238, 245, 234, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.tilt:hover::after { opacity: 1; }
.skill--main.tilt::after, .ask.tilt::after, .info.tilt::after { background: radial-gradient(360px circle at var(--px, 50%) var(--py, 0%), rgba(108, 200, 104, 0.35), transparent 60%); mix-blend-mode: screen; }

/* Grands mots en contour derrière les sections */
.has-bg-word { position: relative; overflow: clip; }
.bg-word {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(90px, 19vw, 300px);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14, 36, 18, 0.07);
  pointer-events: none;
  user-select: none;
}
.journey .bg-word { -webkit-text-stroke-color: rgba(238, 245, 234, 0.06); top: 18%; }
.has-bg-word > .wrap { position: relative; z-index: 1; }

.footer-word span { display: inline-block; transition: color 0.2s; }


/* ---------- Scènes de la méthode : animées quand l'étape s'active ---------- */
.scene .sline { transform-origin: left; }
.scene.is-active .sline { animation: grow-x 0.9s var(--ease) both; }
.scene.is-active .sline:nth-of-type(2) { animation-delay: 0.1s; }
.scene.is-active .sline:nth-of-type(3) { animation-delay: 0.2s; }
.scene.is-active .schips span { animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.scene.is-active .schips span:nth-child(2) { animation-delay: 0.08s; }
.scene.is-active .schips span:nth-child(3) { animation-delay: 0.16s; }
.scene.is-active .schips span:nth-child(4) { animation-delay: 0.24s; }
.scene.is-active .squote { animation: rise 0.7s var(--ease) 0.35s both; }
.scene.is-active .swatches i { animation: pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.scene.is-active .swatches i:nth-child(2) { animation-delay: 0.07s; }
.scene.is-active .swatches i:nth-child(3) { animation-delay: 0.14s; }
.scene.is-active .swatches i:nth-child(4) { animation-delay: 0.21s; }
.scene.is-active .sbox { animation: grow-y 0.8s var(--ease) 0.2s both; transform-origin: bottom; }
.scene.is-active .scode { animation: type 1.4s steps(40, end) 0.3s both; }
.scene.is-active .store { animation: slide-in 0.7s var(--ease) both; }
.scene.is-active .store:nth-child(2) { animation-delay: 0.12s; }
.scene.is-active .store-ok { animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both; }
.scene.is-active .stars { animation: stars 1s steps(5, end) 0.5s both; }
.chart .stroke { stroke-dasharray: 1; stroke-dashoffset: 1; }
.scene.is-active .chart .stroke { animation: draw 1.6s var(--ease) forwards; }
.chart .area { opacity: 0; }
.scene.is-active .chart .area { animation: fade 1s ease 0.6s forwards; }
.chart-dot { fill: #fff; stroke: var(--orange); stroke-width: 2.5; opacity: 0; }
.scene.is-active .chart-dot { opacity: 1; transition: opacity 0.2s; }
.chart-count { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(40px); } }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes stars { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Entrées pilotées par le scroll ---------- */
.scrub-in { will-change: transform, opacity; }
.hero-inner { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .chart .stroke { stroke-dashoffset: 0; }
  .chart .area { opacity: 1; }
}

/* ---------- Grande carte « Développement d'application » ---------- */
.skill--main { gap: 0; }
.main-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.main-top .skill-ico { margin-bottom: 0; }
.main-badge { padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--amber); background: rgba(46, 154, 42, 0.14); box-shadow: inset 0 0 0 1px rgba(46, 154, 42, 0.3); }
.main-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.main-stack li { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: rgba(238, 245, 234, 0.85); background: rgba(238, 245, 234, 0.07); box-shadow: inset 0 0 0 1px rgba(238, 245, 234, 0.1); }
.main-foot { margin-top: auto; padding-top: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.main-stat { display: flex; align-items: flex-end; gap: 10px; }
.main-stat b { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 6vw, 84px); line-height: 0.8; background: var(--flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-stat span { font-size: 14px; font-weight: 700; line-height: 1.3; color: rgba(238, 245, 234, 0.72); }
.skill--main .skill-foot { display: none; }
@media (max-width: 560px) {
  .main-foot .btn { width: 100%; }
}

/* ==========================================================================
   France Urbex · ajouts propres au projet
   ========================================================================== */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: square; stroke-linejoin: miter; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 0.86em; letter-spacing: 0; font-variant-numeric: tabular-nums; }
::selection { background: var(--pousse); color: var(--lichen); }
body { font-weight: 500; }
h1, h2, h3, h4 { text-wrap: balance; }

/* Titres : Chakra Petch 700 en capitales */
.display { line-height: 1.02; letter-spacing: 0; }
.flame-text { background: var(--flame-text); -webkit-background-clip: text; background-clip: text; }
[data-theme="light"] .flame-text { background-image: linear-gradient(100deg, #005200 0%, #1b7d18 55%, #3fa83b 100%); }
.tuile-text { display: block; color: #c2603a; }
.btn { font-weight: 600; }
.btn .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.btn--flame { color: var(--lichen); box-shadow: 0 10px 30px -10px rgba(27, 125, 24, 0.9), inset 0 1px 0 rgba(238, 245, 234, 0.3); }
.btn--ink:hover { background: var(--night-3); }

/* ---------- Écran d'ouverture : les vagues de l'écran de chargement ---------- */
.intro { display: none; }
.has-intro .intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--foret);
  animation: intro-out 0.9s cubic-bezier(0.76, 0, 0.24, 1) 1.25s forwards;
}
.intro-waves { position: absolute; inset: -10%; width: 120%; height: 120%; fill: var(--pousse); animation: intro-waves 2.4s var(--ease) both; }
.intro-mark { position: relative; display: grid; justify-items: center; gap: 6px; color: var(--lichen); animation: intro-mark 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both; }
.intro-mark img { width: clamp(120px, 18vw, 190px); height: auto; filter: drop-shadow(0 24px 30px rgba(4, 14, 6, 0.45)); }
.intro-mark b { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 44px); line-height: 1; text-transform: uppercase; }
@keyframes intro-waves { from { transform: translate3d(-4%, 6%, 0) scale(1.15); } to { transform: none; } }
@keyframes intro-mark { from { opacity: 0; transform: translateY(30px) scale(0.6) rotate(-8deg); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0 round 0 0 60px 60px); transform: translateY(-6%); visibility: hidden; } }

/* ---------- Navbar ---------- */
.nav-pill { border-color: var(--glass-line); background: var(--glass); }
.nav.is-scrolled .nav-pill { background: rgba(14, 36, 18, 0.74); }
.nav-brand { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0; text-transform: uppercase; color: var(--lichen); }
.nav-brand img { width: 40px; height: 40px; margin: -4px -2px -4px -6px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(4, 14, 6, 0.5)); }
.nav-links a, .nav-call { color: rgba(238, 245, 234, 0.8); }
.nav-cta { background: var(--lichen); color: var(--ink); }
.nav-cta:hover { background: var(--pousse); color: var(--lichen); }
.menu { overflow: hidden; background: var(--night-2); }
.menu-waves { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--foret); opacity: 0.5; z-index: -1; }
.menu > *:not(.menu-waves) { position: relative; }
.menu-ctas { margin-top: 22px; }
.menu-links a { font-weight: 700; color: var(--lichen); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(70% 55% at 78% 100%, rgba(46, 154, 42, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(10, 28, 13, 0.86) 0%, rgba(14, 36, 18, 0.8) 60%, rgba(14, 36, 18, 0.92) 100%),
    var(--night);
  padding: calc(var(--nav-h) + 76px) 0 76px;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
}
.hero > .wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); }
.hero-waves { position: absolute; inset: -8% -5%; width: 110%; height: 116%; z-index: -2; fill: var(--foret); opacity: 0.85; animation: drift 24s ease-in-out infinite alternate; }
.hero-stars { z-index: -1; }
@keyframes drift { from { transform: translate3d(-1.5%, 1.5%, 0) scale(1.02); } to { transform: translate3d(1.5%, -2%, 0) scale(1.09); } }
.hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.hero-kicker { background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: var(--lichen); }
.hero-kicker .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(108, 200, 104, 0.2), 0 0 14px var(--accent); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 8px rgba(108, 200, 104, 0), 0 0 14px var(--accent); } }
.hero-title { font-size: clamp(36px, 4.7vw, 68px); line-height: 0.98; }
.hero-title .line { white-space: nowrap; }
.hero-lead { max-width: 54ch; }
.hero-lead strong { color: var(--lichen); }
.hero-ctas { align-items: center; }
.hero-proof .ic { width: 16px; height: 16px; stroke-width: 2.6; color: var(--accent); }

/* Boutons des stores : pas encore disponibles, donc non cliquables */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 16px;
  color: var(--lichen);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  cursor: default;
  user-select: none;
  text-align: left;
}
.store-logo { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.store b { display: block; font-family: var(--body); font-weight: 700; font-size: 17px; line-height: 1.2; white-space: nowrap; }
.store--light { background: var(--lichen); color: var(--ink); box-shadow: 0 24px 40px -22px rgba(4, 14, 6, 0.7); -webkit-backdrop-filter: none; backdrop-filter: none; }
.store--light small { color: var(--pousse); }

/* Scène : le téléphone en 3D au-dessus de la carte (--lift piloté au scroll, --tilt par la souris) */
.hero-stage { --lift: 0; position: relative; display: grid; place-items: center; min-height: 620px; perspective: 1100px; }
.rocket {
  position: relative;
  transform: translateY(calc(var(--lift) * -110px)) rotate(calc(var(--lift) * -4deg)) var(--tilt, rotateY(-16deg) rotateX(7deg));
  transform-style: preserve-3d;
  will-change: transform;
}
.rocket .phone { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }

/* Sol en perspective : quadrillage de la carte, repères et ondes */
.ground {
  position: absolute;
  left: 50%;
  bottom: -70px;
  z-index: -1;
  width: 170%;
  height: 380px;
  transform: translateX(-50%);
  perspective: 700px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(52% 78% at 50% 70%, #000 25%, transparent 78%);
  mask-image: radial-gradient(52% 78% at 50% 70%, #000 25%, transparent 78%);
  opacity: calc(1 - var(--lift) * 0.6);
}
.ground-plane {
  position: absolute;
  inset: 0;
  transform: rotateX(64deg);
  transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(108, 200, 104, 0.3) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(108, 200, 104, 0.3) 1.5px, transparent 1.5px);
  background-size: 58px 58px;
  animation: jq-grid 6s linear infinite;
}
.ping { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px 4px rgba(108, 200, 104, 0.8); }
.ping::before, .ping::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 3s ease-out infinite; animation-delay: inherit; }
.ping::after { animation-name: ping2; }
@keyframes ping { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(8); opacity: 0; } }
@keyframes ping2 { 0%, 45% { transform: scale(0.4); opacity: 0; } 46% { opacity: 0.9; } 100% { transform: scale(8); opacity: 0; } }
@keyframes jq-grid { to { background-position: 0 58px, 0 0; } }

/* Téléphone : toutes les dimensions de l'écran sont en em, calculées sur la largeur --pw */
.phone {
  --pw: 276px;
  position: relative;
  width: var(--pw);
  aspect-ratio: 9 / 19;
  padding: 1em;
  font-size: calc(var(--pw) / 28);
  border-radius: 4.6em;
  background: linear-gradient(160deg, #2e5733, #0e2412 40%, #06120a);
  box-shadow:
    inset 0 0 0 1.5px rgba(238, 245, 234, 0.2),
    0 40px 80px -30px rgba(4, 14, 6, 0.9),
    0 0 0 1px rgba(4, 14, 6, 0.5),
    0 0 80px -20px rgba(108, 200, 104, 0.35);
  transform-style: preserve-3d;
}
.phone::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #050e07; transform: translateZ(-16px); box-shadow: 0 0 0 1px rgba(238, 245, 234, 0.08); }
.phone::after { content: ""; position: absolute; inset: 1em; border-radius: 3.6em; background: linear-gradient(115deg, rgba(238, 245, 234, 0.16) 0%, transparent 28%, transparent 70%, rgba(238, 245, 234, 0.06) 100%); pointer-events: none; }
.phone-screen, .phone-screens { position: relative; height: 100%; overflow: hidden; border-radius: 3.6em; background: var(--night); color: var(--lichen); padding: 0; display: block; }
.phone-island { position: absolute; top: 2.1em; left: 50%; width: 8.4em; height: 2.4em; border-radius: 2em; background: #040b05; transform: translateX(-50%); }
.phone-screen > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; font-size: 13px; line-height: 1.3; white-space: nowrap; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line), 0 20px 40px -20px rgba(4, 14, 6, 0.8); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%); border-radius: 20px; color: rgba(238, 245, 234, 0.8); }
/* Sans souris, les étiquettes flottent seules (avec souris, js/motion.js les anime). */
@media (hover: none) { .chip { animation: float 7s ease-in-out infinite; } }
.chip strong { color: var(--lichen); font-weight: 700; font-size: 14px; }
.chip-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: rgba(108, 200, 104, 0.16); color: var(--accent); }
.chip img { width: 44px; height: 44px; margin: -4px 0 -4px -2px; object-fit: contain; }
.chip--stores { top: 5%; left: -34%; transform: translateY(calc(var(--lift) * -60px)); }
.chip--alert { top: 38%; right: -26%; transform: translateY(calc(var(--lift) * -140px)); animation-delay: -2.4s; }
.chip--alert .chip-ico { background: rgba(217, 120, 79, 0.2); color: var(--tuile); }
.chip--growth { bottom: 0; left: -34%; right: auto; transform: translateY(calc(var(--lift) * -220px)); animation-delay: -4.2s; }

/* ==========================================================================
   Écrans de l'app (maquettes HTML/CSS d'après la DA, page 4)
   ========================================================================== */
.s { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--body); font-weight: 500; line-height: 1.3; color: var(--lichen); background: var(--night); text-align: left; }
.s .ic { width: 1.5em; height: 1.5em; }
.s b { font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.s small { font-size: 0.95em; color: #a9c4a6; }
.s em { font-style: normal; }
.s-h { display: block; font-size: 1.3em; line-height: 1.1; }
.s-title { display: block; font-size: 1.75em; line-height: 1; }
.s-tabs {
  position: absolute; left: 1.2em; right: 1.2em; bottom: 1.2em; height: 5.6em;
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center;
  border-radius: 2.2em; background: rgba(14, 36, 18, 0.72); box-shadow: inset 0 0 0 1px var(--glass-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.s-tabs span { display: grid; justify-items: center; gap: 0.25em; font-size: 0.92em; font-weight: 600; color: rgba(238, 245, 234, 0.82); }
.s-tabs .ic { width: 2em; height: 2em; }
.s-tabs .is-on { color: var(--accent); }
.s-search { display: flex; align-items: center; gap: 0.7em; margin: 4.4em 1em 0; height: 3.5em; padding: 0 1.1em; border-radius: 1.6em; font-size: 1.15em; color: rgba(238, 245, 234, 0.78); background: rgba(14, 36, 18, 0.72); box-shadow: inset 0 0 0 1px var(--glass-line); position: relative; z-index: 2; }
.s-search--flat { margin: 0; background: #16331a; box-shadow: none; }
.s-card { position: relative; padding: 1em 1.1em; border-radius: 1.4em; background: #16331a; box-shadow: inset 0 0 0 1px rgba(238, 245, 234, 0.06); }
.s-card small { display: flex; align-items: center; gap: 0.5em; }
.s-card p { margin: 0.35em 0 0.6em; font-size: 1.02em; color: rgba(238, 245, 234, 0.86); }
.s-row { display: flex; align-items: center; gap: 0.8em; padding: 0.85em 1em; border-radius: 1.1em; background: #16331a; font-size: 1.08em; font-weight: 600; }
.s-row em { margin-left: auto; font-size: 0.9em; color: #a9c4a6; }
.s-row .s-count { padding: 0.1em 0.85em; border-radius: 1em; background: var(--pousse); color: var(--lichen); font-weight: 700; }
.s-alert { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.3em 0.6em; border-radius: 0.6em; background: var(--tuile); color: #2a1208; font-size: 0.9em; font-weight: 700; white-space: nowrap; }
.s-alert .ic { width: 1.25em; height: 1.25em; stroke-width: 2.2; }
.s-alert--full { display: flex; padding: 0.6em 0.8em; border-radius: 0.8em; font-size: 1em; }
.s-round { position: absolute; top: 4.6em; left: 1.2em; display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 50%; background: rgba(14, 36, 18, 0.72); box-shadow: inset 0 0 0 1px var(--glass-line); }
.s-round--in { position: static; flex: none; background: #16331a; }
.s-join { display: inline-block; margin-top: 0.7em; padding: 0.45em 0.95em; border-radius: 0.8em; background: var(--pousse); font-size: 0.95em; font-weight: 700; }

/* Carte */
.s-map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-fab { position: absolute; z-index: 2; display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: 50%; background: rgba(14, 36, 18, 0.72); box-shadow: inset 0 0 0 1px var(--glass-line); }
.pin { position: absolute; display: grid; place-items: center; width: 2.9em; height: 2.9em; margin: -2.9em 0 0 -1.45em; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--night); box-shadow: inset 0 0 0 0.2em var(--lichen), 0.3em 0.3em 0.8em rgba(4, 14, 6, 0.5); }
.pin .ic { rotate: 45deg; width: 1.4em; height: 1.4em; }
.pin--hist { background: var(--lichen); color: var(--pousse); box-shadow: 0.3em 0.3em 0.8em rgba(4, 14, 6, 0.5); }
.pin--sel { width: 4em; height: 4em; margin: -4em 0 0 -2em; background: var(--pousse); animation: pin-hop 2.6s var(--ease) infinite; }
.pin--sel .ic { width: 1.9em; height: 1.9em; }
@keyframes pin-hop { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -0.7em; } }
.cluster { position: absolute; display: grid; place-items: center; width: 3.4em; height: 3.4em; margin: -1.7em; border-radius: 50%; background: var(--pousse); box-shadow: inset 0 0 0 0.18em var(--lichen); font-family: var(--body); font-weight: 700; font-size: 1.1em; }
.cluster::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0.2em rgba(108, 200, 104, 0.6); animation: ring 2.8s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.1); opacity: 0; } }
.me { position: absolute; width: 3.2em; height: 3.2em; margin: -1.6em; border-radius: 1em; background: rgba(238, 245, 234, 0.22); }
.me::after { content: ""; position: absolute; inset: 0.85em; border-radius: 0.45em; background: #fff; box-shadow: 0 0 1em rgba(238, 245, 234, 0.8); }
.s-peek { position: absolute; left: 1.2em; right: 1.2em; bottom: 7.8em; display: flex; align-items: center; gap: 1em; padding: 1em; border-radius: 1.8em; background: rgba(14, 36, 18, 0.78); box-shadow: inset 0 0 0 1px var(--glass-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.s-peek b { display: block; font-size: 1.22em; line-height: 1.05; }
.s-peek small { display: block; margin-top: 0.25em; }
.s-peek-row { display: flex; align-items: center; gap: 0.6em; margin-top: 0.45em; }
.s-peek-row small { margin: 0; }
.s-thumb { flex: none; width: 5em; height: 5em; border-radius: 1em; background: repeating-linear-gradient(135deg, #1f4224 0 0.5em, #16331a 0.5em 1em); }

/* Fiche lieu */
.s-photo { position: relative; flex: none; height: 33%; }
.s-photo svg { width: 100%; height: 100%; }
.s-sheet { position: relative; flex: 1; display: flex; flex-direction: column; gap: 0.8em; margin-top: -1.8em; padding: 1.5em 1.3em 1.6em; border-radius: 2em 2em 0 0; background: var(--night); }
.s-tags { display: flex; flex-wrap: wrap; gap: 0.5em; }
.s-tags span { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.3em 0.7em; border-radius: 0.7em; background: #16331a; font-weight: 600; }
.s-tags .ic { width: 1.3em; height: 1.3em; }
.s-tags i { width: 0.7em; height: 0.7em; border-radius: 50%; }
.s-meteo b { display: block; margin-top: 0.15em; font-size: 1.7em; text-transform: none; }
.s-meteo em { position: absolute; right: 1.2em; bottom: 1.2em; font-size: 0.85em; color: #a9c4a6; }
.s-btn { display: flex; align-items: center; justify-content: center; gap: 0.6em; margin-top: auto; height: 3.6em; border-radius: 1.1em; background: var(--pousse); font-size: 1.2em; font-weight: 700; box-shadow: 0 1em 2em -1em rgba(27, 125, 24, 0.9); }

/* Communauté : clans */
.s-clan { padding: 5.2em 1.2em 0; gap: 0.9em; }
.s-subtabs { display: flex; justify-content: space-between; border-bottom: 1px solid #2e5733; }
.s-subtabs span { position: relative; padding-bottom: 0.8em; font-family: var(--display); font-weight: 700; font-size: 1.1em; text-transform: uppercase; color: #6f8f70; }
.s-subtabs .is-on { color: var(--lichen); }
.s-subtabs .is-on::after { content: ""; position: absolute; left: 50%; bottom: -1px; margin-left: -0.45em; border: 0.45em solid transparent; border-bottom-color: var(--pousse); border-top: 0; }
.s-clancard { display: flex; justify-content: space-between; gap: 0.8em; }
.s-clancard p { margin-bottom: 0; font-size: 0.95em; color: #a9c4a6; }
.s-crest { flex: none; display: grid; justify-items: center; align-content: space-between; gap: 0.5em; }
.s-crest svg { width: 4em; height: 4.6em; }
.s-crest path { fill: #0a1c0d; stroke: var(--pousse); stroke-width: 2; }
.s-crest .in { fill: var(--lichen); stroke: none; }
.s-crest span { display: flex; gap: 0.3em; }
.s-crest i { padding: 0.15em 0.5em; border-radius: 0.5em; background: #0a1c0d; font-style: normal; font-size: 0.85em; font-weight: 700; }
.s-event small { margin-top: 0.4em; }
.s-event small .ic { width: 1.3em; height: 1.3em; }
.s-event-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.3em; font-size: 0.95em; color: #a9c4a6; }
.s-event-foot b { font-family: var(--body); color: var(--lichen); }
.s-plus { position: absolute; right: 1.4em; bottom: 8em; display: grid; place-items: center; width: 4.2em; height: 4.2em; border-radius: 1.2em; background: var(--pousse); box-shadow: 0 1em 2em -0.8em rgba(4, 14, 6, 0.9); }
.s-plus .ic { width: 2em; height: 2em; stroke-width: 2.4; }

/* Mes succès */
.s-succes { padding: 5em 1.2em 1.2em; gap: 1.4em; }
.s-head { display: flex; align-items: center; gap: 0.9em; }
.s-head em { margin-left: auto; font-family: var(--mono); font-weight: 500; font-size: 1.05em; color: var(--accent); }
.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em 0.8em; }
.s-grid > span { display: grid; align-content: start; justify-items: center; gap: 0.5em; text-align: center; font-size: 0.85em; font-weight: 600; line-height: 1.2; color: #6f8f70; }
.s-grid i { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 1.8em; background: #16331a; font-style: normal; }
.s-grid img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(0.55); }
.s-grid .is-won { color: var(--lichen); }
.s-grid .is-won i { box-shadow: inset 0 0 0 0.22em var(--pousse); }
.s-grid .is-won img { filter: none; }
.s-grid .is-empty i { background: none; border: 0.14em dashed #2e5733; color: #2e5733; font-family: var(--display); font-weight: 700; font-size: 2em; border-radius: 0.9em; }

/* Profil */
.s-profil { padding: 5em 1.2em 0; gap: 0.9em; }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9em; }
.s-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 0.4em; min-height: 8.6em; }
.s-tile > .ic { width: 2.2em; height: 2.2em; }
.s-tile em { font-weight: 700; color: var(--accent); }
.s-tile--dash { background: none; box-shadow: none; border: 0.12em dashed var(--pousse); color: var(--accent); }
.s-tile--dash small { color: var(--accent); }
.s-big { font-size: 3.6em; line-height: 0.9; }
.s-avatar { display: grid; justify-items: center; align-content: center; gap: 0.5em; }
.s-avatar span { display: grid; place-items: center; width: 6.2em; height: 6.2em; border-radius: 50%; background: #16331a; box-shadow: inset 0 0 0 0.22em var(--pousse); color: var(--accent); }
.s-avatar .ic { width: 2.8em; height: 2.8em; }
.s-tile-top { display: flex; justify-content: space-between; align-items: baseline; }
.s-tile-top em { font-family: var(--mono); font-weight: 500; font-size: 0.9em; color: var(--lichen); }
.s-bar { display: block; height: 0.6em; border-radius: 1em; background: #1f4224; overflow: hidden; }
.s-bar i { display: block; width: 25%; height: 100%; border-radius: inherit; background: var(--accent); }
.s-voir { align-self: flex-end; }

/* ==========================================================================
   La carte et les fiches (grille reprise des expertises)
   ========================================================================== */
.head h2 { font-size: clamp(28px, 4.6vw, 64px); }
.head p { font-weight: 500; }
.bg-word { font-weight: 700; }
.bg-word--count { top: 96px; left: auto; right: 2%; transform: none; font-size: clamp(150px, 25vw, 380px); -webkit-text-stroke: 2px rgba(27, 125, 24, 0.2); }
.skill h3, .phase h3, .rule h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.skill h3 { font-size: 21px; }
.skill p { font-weight: 500; }
.skill:hover { box-shadow: inset 0 0 0 1.5px var(--pousse), 0 30px 50px -36px rgba(14, 36, 18, 0.5); }
.skill-ico { border-radius: 14px; color: var(--pousse); }
.skill-ico .ic { width: 26px; height: 26px; }
.skill-ico--pousse { background: var(--pousse); color: var(--lichen); }
.skill-foot { color: var(--pousse); font-weight: 600; }
.skill--main {
  background:
    radial-gradient(80% 60% at 100% 100%, rgba(46, 154, 42, 0.55), transparent 70%),
    radial-gradient(60% 50% at 0% 0%, rgba(0, 82, 0, 0.6), transparent 70%),
    var(--night);
  overflow: hidden;
}
.skill--main .skill-ico { color: var(--lichen); }
.skill--main h3 { font-weight: 700; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.04; }
.main-badge { color: var(--accent); background: rgba(108, 200, 104, 0.12); box-shadow: inset 0 0 0 1px rgba(108, 200, 104, 0.3); font-weight: 600; }
.main-stack li { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); border-radius: 12px; padding: 8px 12px 8px 10px; }
.main-stack .ic { width: 17px; height: 17px; }
.main-stack .is-histoire { background: var(--pousse); color: var(--lichen); box-shadow: none; }
.main-stat b { font-weight: 700; background: var(--flame-text); -webkit-background-clip: text; background-clip: text; line-height: 0.85; }
/* Mini carte en perspective dans la grande carte */
.main-map { position: relative; flex: 1; min-height: 170px; margin: 26px -28px 0; perspective: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 96%); mask-image: linear-gradient(to top, #000 30%, transparent 96%); }
.main-map .ground-plane { inset: -10% -30% 0; }
.skill--main .main-foot { margin-top: 0; padding-top: 18px; }
.main-coords { padding: 8px 12px; border-radius: 10px; background: rgba(238, 245, 234, 0.07); color: var(--accent); font-size: 13px; }
.states { margin-top: 18px; display: grid; gap: 8px; }
.states li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--night); color: var(--lichen); font-size: 14px; font-weight: 600; }
.states li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.alert { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--tuile); color: #2a1208; font-size: 14px; font-weight: 700; }
.skill .alert { margin-top: 22px; }
.alert .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.meteo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--night); color: var(--lichen); }
.meteo b { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; }
.meteo span { font-family: var(--mono); font-size: 12px; color: #a9c4a6; }

/* ==========================================================================
   Visite de l'app : un téléphone épinglé, cinq écrans pilotés par le scroll
   ========================================================================== */
.journey {
  background:
    radial-gradient(60% 40% at 90% 10%, rgba(46, 154, 42, 0.2), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(0, 82, 0, 0.5), transparent 70%),
    var(--night-2);
}
.journey .tag, .jq .tag { background: var(--glass); color: var(--lichen); box-shadow: inset 0 0 0 1px var(--glass-line); }
.journey-track { height: 460vh; }
.journey-grid { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 0.9fr); }
.rail-step small { font-family: var(--mono); font-weight: 500; }
.rail-step span { font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.rail-step.is-done::before, .rail-step.is-active::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(108, 200, 104, 0.22); }
.rail-fill { background: linear-gradient(var(--pousse), var(--accent)); }
.panel-num { font-weight: 700; -webkit-text-stroke: 1.5px rgba(108, 200, 104, 0.8); }
.panel h3 { font-weight: 700; font-size: clamp(26px, 3vw, 42px); }
.scenes { min-height: 0; display: grid; place-items: center; perspective: 1300px; }
.tour { position: relative; transform-style: preserve-3d; transform: rotateY(calc((var(--p, 0) - 0.5) * -34deg)) rotateX(6deg); will-change: transform; }
.tour .phone { --pw: clamp(210px, 34vh, 320px); }
.scene.phone-screen { position: absolute; inset: 0; height: auto; display: block; transform: translateX(16%) scale(0.96); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.scene.phone-screen.is-active { transform: none; }
.tchip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--lichen);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 20px 40px -20px rgba(4, 14, 6, 0.8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateZ(70px) translateY(20px) scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tchip .ic { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(108, 200, 104, 0.16); color: var(--accent); }
.tchip--a { top: 13%; right: 95%; }
.tchip--b { bottom: 17%; right: 95%; }
.tchip.is-active { opacity: 1; transform: translateZ(70px); transition-delay: 0.25s; }

/* ==========================================================================
   Communauté
   ========================================================================== */
.phase { border-radius: var(--r-lg); }
.phase-num { font-weight: 700; }
.phase-badge { font-weight: 600; background: var(--pousse); color: var(--lichen); }
.phase--option .phase-badge { background: rgba(27, 125, 24, 0.12); color: var(--foret); }
.phase h3 { font-size: 24px; }
.phase li::before { background: var(--pousse); }
.stats { background: radial-gradient(70% 120% at 100% 100%, rgba(46, 154, 42, 0.45), transparent 70%), var(--night); }
.stat b { font-weight: 700; color: var(--lichen); }
.stat:first-child b { color: var(--accent); }

/* ==========================================================================
   Succès : cartes en 3D (repris de la section « jeu » de NZ Agency)
   ========================================================================== */
.jq { position: relative; padding: clamp(80px, 11vw, 140px) 0; background: var(--night); color: var(--lichen); overflow: hidden; isolation: isolate; border-radius: var(--r-xl); margin-inline: clamp(0px, 1.2vw, 16px); }
.jq-glow {
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 80%;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 22% 70%, rgba(46, 154, 42, 0.5), transparent 70%),
    radial-gradient(45% 55% at 82% 85%, rgba(0, 82, 0, 0.8), transparent 70%);
  filter: blur(20px);
  animation: jq-breathe 9s ease-in-out infinite alternate;
}
@keyframes jq-breathe { from { transform: translate3d(-2%, 2%, 0) scale(1); } to { transform: translate3d(3%, -3%, 0) scale(1.12); } }
.jq .head p { color: var(--text-night); }
.jq .head { position: relative; }
.jq-grid {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -10%;
  height: 70%;
  z-index: -1;
  background-image: linear-gradient(rgba(108, 200, 104, 0.26) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(108, 200, 104, 0.26) 1.5px, transparent 1.5px);
  background-size: 58px 58px;
  transform: perspective(700px) rotateX(64deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  animation: jq-grid 5s linear infinite;
  opacity: 0.5;
}
/* objets flottants en profondeur, déplacés par le scroll */
.jq-floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; perspective: 1000px; }
.jq-fl { --py: 0px; position: absolute; display: grid; place-items: center; translate: 0 var(--py); animation: jq-sway 9s ease-in-out infinite; }
.jq-fl img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(4, 14, 6, 0.6)); }
.jq-fl b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--lichen); background: radial-gradient(circle at 30% 25%, #3fa83b, var(--pousse) 60%, var(--foret)); box-shadow: 0 0 30px rgba(108, 200, 104, 0.5), inset 0 2px 0 rgba(238, 245, 234, 0.35); }
.jq-fl--1 { left: 1.2%; top: 44%; width: 74px; height: 74px; }
.jq-fl--2 { right: 1.6%; top: 24%; width: 54px; height: 54px; animation-name: jq-flip; animation-duration: 6s; animation-timing-function: linear; }
.jq-fl--3 { left: 62%; top: 4%; width: 48px; height: 48px; animation-name: jq-flip; animation-duration: 8s; animation-timing-function: linear; animation-direction: reverse; }
.jq-fl--4 { right: 1%; top: 70%; width: 82px; height: 82px; animation-duration: 12s; animation-delay: -4s; }
.jq-fl--5 { left: 2%; top: 88%; width: 44px; height: 44px; animation-duration: 7s; animation-delay: -2s; }
.jq-fl--5 b { background: none; border: 2px dashed rgba(108, 200, 104, 0.6); box-shadow: none; color: var(--accent); }
@keyframes jq-sway { 0%, 100% { transform: rotateZ(-10deg) rotateY(-24deg) translateY(0); } 50% { transform: rotateZ(8deg) rotateY(24deg) translateY(-16px); } }
@keyframes jq-flip { from { transform: rotateY(0deg) rotateZ(-12deg); } to { transform: rotateY(360deg) rotateZ(-12deg); } }
.jq > .wrap { position: relative; z-index: 1; }

/* Bannière « Succès ! » : elle descend du haut avec un petit rebond */
.toast { position: absolute; right: 0; top: 0; display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; border-radius: 22px; background: var(--glass); box-shadow: inset 0 0 0 1.5px var(--pousse), 0 0 0 5px rgba(27, 125, 24, 0.25), 0 30px 50px -24px rgba(4, 14, 6, 0.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.toast img { width: 56px; height: 56px; object-fit: contain; }
.toast b { display: block; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.1; text-transform: uppercase; }
.toast small { display: block; font-size: 13px; color: var(--text-night); }
.js .toast[data-reveal] { opacity: 0; transform: translateY(-90px) scale(0.7); transition: opacity 0.4s var(--ease) 0.5s, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s; }
.js .toast[data-reveal].is-in { opacity: 1; transform: none; }
.js .toast.is-in img { animation: toast-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both; }
@keyframes toast-pop { 40% { scale: 1.35; rotate: -8deg; } }

.jq-3d { perspective: 1400px; transform-origin: 50% 100%; }
.js .jq-3d[data-reveal] { opacity: 0; transform: translateY(80px) rotateX(-38deg) scale(0.9); transition: opacity 0.9s var(--ease), transform 1.2s var(--ease); }
.js .jq-3d[data-reveal].is-in { opacity: 1; transform: none; }
.js .jq-3d[data-reveal="2"] { transition-delay: 0.1s; }
.js .jq-3d[data-reveal="3"] { transition-delay: 0.2s; }
.js .jq-3d[data-reveal="4"] { transition-delay: 0.3s; }

.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.badge, .jq-gain {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease);
}
.badge.is-tilting, .jq-gain.is-tilting { transition: transform 0.08s linear; }
.badge::after, .jq-gain::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 60% at var(--gx) var(--gy), rgba(238, 245, 234, 0.5), transparent 62%); opacity: 0; transition: opacity 0.4s; pointer-events: none; mix-blend-mode: soft-light; }
.badge.is-tilting::after, .jq-gain.is-tilting::after { opacity: 1; }
.badge .z1, .jq-gain .z1 { transform: translateZ(20px); }
.badge .z2, .jq-gain .z2 { transform: translateZ(40px); }
.badge .z3, .jq-gain .z3 { transform: translateZ(70px); }
.badge { display: flex; flex-direction: column; align-items: center; padding: 22px 18px 24px; border-radius: 24px; text-align: center; background: linear-gradient(160deg, rgba(31, 66, 36, 0.9), rgba(14, 36, 18, 0.9)); box-shadow: inset 0 0 0 1px var(--glass-line), 0 40px 50px -34px rgba(4, 14, 6, 0.9); }
.badge::before { content: "À débloquer"; position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #a9c4a6; background: rgba(10, 28, 13, 0.8); transform: translateZ(50px); }
.badge.is-won::before { content: "Obtenu"; color: var(--lichen); background: var(--pousse); }
.badge.is-secret::before { content: "Caché"; }
.badge-art { display: grid; place-items: center; width: min(100%, 168px); aspect-ratio: 1; margin-bottom: 18px; border-radius: 22px; background: var(--night-2); overflow: hidden; }
.badge-art img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(0.6); transition: filter 0.5s; }
.badge:hover .badge-art img { filter: grayscale(0.4) brightness(0.85); }
.badge.is-won { box-shadow: inset 0 0 0 1.5px var(--pousse), 0 40px 50px -30px rgba(27, 125, 24, 0.7); }
.badge.is-won .badge-art { box-shadow: 0 0 0 2px var(--pousse), 0 20px 30px -14px rgba(4, 14, 6, 0.9); }
.badge.is-won .badge-art img { filter: none; }
.badge.is-secret .badge-art { background: none; border: 2px dashed #2e5733; }
.badge-art b { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; color: #2e5733; animation: beat-q 3s ease-in-out infinite; }
@keyframes beat-q { 50% { color: var(--accent); scale: 1.12; } }
.badge h3 { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.1; text-transform: uppercase; }
.badge p { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--text-night); }

.jq-gains { margin-top: clamp(64px, 8vw, 100px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1500px; }
.jq-gain { min-height: 230px; padding: 28px 26px 26px; border-radius: var(--r-lg); color: var(--lichen); overflow: visible; display: flex; flex-direction: column; justify-content: flex-end; }
.jq-gain--orange { background: linear-gradient(150deg, #2a9426 0%, var(--pousse) 50%, var(--foret) 100%); box-shadow: 0 2px 0 rgba(238, 245, 234, 0.3) inset, 0 44px 60px -36px rgba(27, 125, 24, 0.9); }
.jq-gain--amber { background: linear-gradient(150deg, #9be097 0%, var(--accent) 50%, #3fa83b 100%); color: var(--night-2); box-shadow: 0 2px 0 rgba(238, 245, 234, 0.4) inset, 0 44px 60px -36px rgba(108, 200, 104, 0.7); }
.jq-gain--light { background: linear-gradient(150deg, #fafdf8 0%, var(--lichen) 60%, #d4e4d0 100%); color: var(--ink); box-shadow: 0 44px 60px -36px rgba(238, 245, 234, 0.35); }
.jq-gain-n { position: absolute; right: 18px; bottom: 6px; font-size: 104px; line-height: 1; color: rgba(4, 14, 6, 0.14); pointer-events: none; }
.jq-gain-ico { position: absolute; left: 26px; top: -22px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(160deg, #1f4224, #0a1c0d); color: var(--accent); box-shadow: 0 1px 0 rgba(238, 245, 234, 0.2) inset, 0 20px 30px -12px rgba(4, 14, 6, 0.75); rotate: -8deg; animation: jq-float 5.5s ease-in-out infinite; }
.jq-gain-ico .ic { width: 28px; height: 28px; stroke-width: 2.2; }
.jq-gain--amber .jq-gain-ico { animation-delay: -2.4s; }
.jq-gain--light .jq-gain-ico { animation-delay: -3.8s; }
.jq-gain h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }
.jq-gain p { margin-top: 10px; font-weight: 600; line-height: 1.4; max-width: 26ch; }
@keyframes jq-float { 50% { translate: 0 -9px; rotate: 4deg; } }
@keyframes jq-idle { 0%, 100% { transform: rotateX(0deg) rotateY(0deg); } 25% { transform: rotateX(2.5deg) rotateY(-3deg); } 75% { transform: rotateX(-2deg) rotateY(3deg); } }

/* ==========================================================================
   Responsabilité
   ========================================================================== */
.rules-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.rules-side { position: sticky; top: 120px; }
.rules-side .head { margin-bottom: 30px; }
.rules-side .head h2 { font-size: clamp(32px, 4.4vw, 62px); }
.rules-links { display: flex; flex-wrap: wrap; gap: 10px; }
.tag--tuile::before { background: var(--tuile); }
.rules { display: grid; gap: 14px; counter-reset: rule; }
.rule { position: relative; display: flex; gap: 20px; padding: 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); counter-increment: rule; overflow: hidden; }
.rule::before { content: "0" counter(rule); position: absolute; right: 18px; bottom: -14px; font-family: var(--display); font-weight: 700; font-size: 96px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(217, 120, 79, 0.3); pointer-events: none; }
.rule-ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(217, 120, 79, 0.16); color: #b4532c; }
.rule-ico .ic { width: 26px; height: 26px; }
.rule h3 { font-size: 21px; }
.rule p { margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 44ch; }

/* ---------- FAQ ---------- */
.faq-side .head h2 { font-size: clamp(30px, 3.2vw, 46px); }
.ask { background: radial-gradient(80% 80% at 100% 100%, rgba(46, 154, 42, 0.45), transparent 70%), var(--night); border-radius: var(--r-lg); }
.ask p:first-child { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.15; text-transform: uppercase; }
.qa-btn { font-weight: 600; }
.qa.is-open { box-shadow: inset 0 0 0 1.5px var(--pousse); }
.qa.is-open .qa-icon { background: var(--pousse); color: var(--lichen); }
.qa-body a, .doc a, .field-hint a { color: var(--pousse); font-weight: 600; text-underline-offset: 3px; }

/* ==========================================================================
   Téléchargement : les vagues de l'icône, en grand
   ========================================================================== */
.cta { position: relative; isolation: isolate; overflow: hidden; margin: 0 clamp(0px, 1.2vw, 16px) 16px; padding: clamp(80px, 11vw, 150px) 0; border-radius: var(--r-xl); background: var(--foret); color: var(--lichen); text-align: center; }
.cta-waves { position: absolute; left: 0; top: -20%; z-index: -1; width: 100%; height: 140%; fill: var(--pousse); }
.cta-inner { display: grid; justify-items: center; }
.cta-icon { perspective: 900px; margin-bottom: 34px; }
.cta-icon img { width: clamp(110px, 12vw, 150px); height: auto; border-radius: 24%; box-shadow: 0 40px 60px -24px rgba(4, 14, 6, 0.8), 0 0 0 1px rgba(238, 245, 234, 0.2), -10px 12px 0 -2px rgba(4, 14, 6, 0.35); animation: icon-turn 7s ease-in-out infinite; }
@keyframes icon-turn { 0%, 100% { transform: rotateY(-22deg) rotateX(8deg); } 50% { transform: rotateY(22deg) rotateX(-4deg) translateY(-10px); } }
.cta .head { margin-bottom: 36px; }
.cta .head h2 { font-size: clamp(34px, 6vw, 88px); }
.cta .head p { color: rgba(238, 245, 234, 0.9); }
.cta-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: radial-gradient(60% 70% at 50% 120%, rgba(46, 154, 42, 0.4), transparent 70%), var(--night-2); }
.footer-brand .nav-brand { font-size: 22px; }
.footer-brand .nav-brand img { width: 52px; height: 52px; }
.footer h4 { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--lichen); }
.footer-word { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 9.6vw, 142px); letter-spacing: 0; text-transform: uppercase; -webkit-text-stroke: 1.5px rgba(238, 245, 234, 0.2); }
.footer-word span { white-space: pre; }

/* ==========================================================================
   Pages secondaires : règlement, confidentialité, formulaires
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + 80px) 0 clamp(48px, 7vw, 84px); border-radius: 0 0 var(--r-xl) var(--r-xl); color: var(--lichen); background: linear-gradient(180deg, rgba(10, 28, 13, 0.82), rgba(14, 36, 18, 0.9)), var(--night); }
.page-hero .hero-waves { animation-duration: 30s; }
.page-hero .tag { background: var(--glass); color: var(--lichen); box-shadow: inset 0 0 0 1px var(--glass-line); }
.page-hero h1 { font-size: clamp(32px, 5vw, 64px); max-width: 18ch; }
.page-hero p { margin-top: 18px; max-width: 62ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--text-night); }
.page-body { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }
.wrap--narrow { width: min(860px, 100% - 2 * var(--gutter)); }
.doc { padding: clamp(24px, 5vw, 56px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.doc h2 { margin: 40px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2vw, 24px); line-height: 1.15; text-transform: uppercase; }
.doc h2:first-child, .doc .maj + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h2 .mono { display: block; margin-bottom: 6px; font-size: 13px; color: var(--pousse); text-transform: none; }
.doc h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.doc p { margin-bottom: 14px; }
.doc ul, .doc ol { margin: 0 0 18px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--pousse); }
.doc strong { color: var(--ink); }
.doc .maj { display: block; margin-bottom: 28px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.doc table { width: 100%; min-width: 560px; margin: 0 0 18px; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-2); line-height: 1.5; }
.doc th { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--paper); }
.doc-scroll { overflow-x: auto; }
/* Informations que seul l'éditeur peut renseigner : elles doivent sauter aux yeux. */
.a-completer { display: inline-block; padding: 1px 8px; border: 1px dashed var(--tuile); border-radius: 6px; color: #8f3f1f; background: #f8e4da; font-size: 0.9em; font-weight: 600; }
.encart { margin: 24px 0; padding: 18px 20px; border-radius: 16px; background: var(--paper); }
.encart p:last-child { margin-bottom: 0; }
.encart--tuile { background: #f8e4da; box-shadow: inset 0 0 0 1px rgba(217, 120, 79, 0.4); }
.steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.steps li { position: relative; margin: 0; padding: 16px 18px 16px 62px; border-radius: 16px; background: var(--paper); counter-increment: step; font-weight: 600; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--pousse); color: var(--lichen); font-family: var(--display); font-weight: 700; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { box-shadow: inset 0 0 0 1.5px var(--pousse), 0 0 0 4px rgba(27, 125, 24, 0.14); }
.contact-form label { font-weight: 600; }
.required { color: #b4532c; }
.form-row--count { display: flex; justify-content: space-between; gap: 12px; }
.btn-submit .btn-spinner { border-color: rgba(238, 245, 234, 0.3); border-top-color: var(--lichen); }
.form-feedback p { margin: 0; }
.info h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.info { background: radial-gradient(80% 60% at 100% 100%, rgba(46, 154, 42, 0.45), transparent 70%), var(--night); border-radius: var(--r-lg); }
.info-ico { color: var(--accent); border-radius: 12px; }
.info-list a:hover { color: var(--accent); }
.promises .ic { width: 16px; height: 16px; stroke-width: 2.6; color: var(--accent); }
.promises a { color: inherit; text-underline-offset: 3px; }
.promises a:hover { color: var(--lichen); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; display: block !important; }
/* Page d'état (désinscription, 404) */
.status { display: grid; justify-items: center; gap: 18px; padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 48px); text-align: center; }
.status img { width: 150px; height: auto; animation: float 6s ease-in-out infinite; }
.status h2 { margin: 0; padding: 0; border: 0; font-size: clamp(22px, 3vw, 32px); }
.status p { max-width: 46ch; margin: 0; }
.status .btn { margin-top: 8px; text-decoration: none; color: var(--lichen); }
.status-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--pousse); animation: spin 0.8s linear infinite; }

/* ==========================================================================
   Responsive (ajouts)
   ========================================================================== */
@media (max-width: 1180px) {
  .chip--stores { left: -14%; }
  .chip--alert { right: -8%; }
  .chip--growth { left: -14%; }
}
@media (max-width: 1080px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { min-height: 600px; }
  .chip--stores { left: 6%; }
  .chip--alert { right: 6%; }
  .chip--growth { left: 8%; }
  .journey-grid { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 0.9fr); }
  .tchip { display: none; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toast { position: relative; width: max-content; max-width: 100%; margin: -24px 0 40px; }
}
@media (max-width: 900px) {
  .hero-stage { min-height: 540px; }
  .phone { --pw: 236px; }
  .chip--stores { top: 4%; left: 0; }
  .chip--alert { top: 32%; right: 0; }
  .chip--growth { bottom: 1%; left: 0; }
  .ground { width: 220%; }
  .bg-word--count { top: 150px; right: -4%; }

  /* Visite : toujours épinglée, le téléphone en haut et le texte en dessous */
  .journey .head { margin-bottom: 0; }
  .journey-track { height: 420vh; }
  .journey-sticky { height: 100svh; align-items: stretch; padding: calc(var(--nav-h) + 30px) 0 16px; }
  .journey-grid { grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0, 1fr); gap: 16px; align-items: start; }
  .rail { display: flex; gap: 6px; padding: 0; }
  .rail-line, .rail-step::before { display: none; }
  .rail-step { flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: var(--line-night); font-size: 0; transition: background-color 0.3s; }
  .rail-step.is-done, .rail-step.is-active { background: var(--accent); }
  .scenes { grid-row: 2; }
  .tour .phone { --pw: clamp(150px, 25svh, 230px); }
  .panels { grid-row: 3; min-height: 0; height: 100%; }
  .panel { justify-content: flex-start; }
  .panel-num { display: none; }
  .panel h3 { margin-top: 0; font-size: clamp(21px, 6vw, 30px); }
  .panel p { margin-top: 10px; font-size: 15px; line-height: 1.5; }

  .rules-layout { grid-template-columns: 1fr; }
  .rules-side { position: static; }
  .jq-gains { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .badge .z1, .badge .z2, .badge .z3, .jq-gain .z1, .jq-gain .z2, .jq-gain .z3 { transform: none; }
  .jq-gain { min-height: 190px; animation: jq-idle 7s ease-in-out infinite; }
  .jq-gains .jq-3d:nth-child(2) .jq-gain { animation-delay: -2.3s; }
  .jq-gains .jq-3d:nth-child(3) .jq-gain { animation-delay: -4.6s; }
  .jq-fl--1 { left: -5%; top: 14%; opacity: 0.5; }
  .jq-fl--4 { right: -6%; top: 60%; opacity: 0.5; }
  .jq-fl--2 { top: 6%; }
  .jq-fl--3 { display: none; }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(27px, 8.2vw, 46px); }
  .hero-title .line { white-space: normal; }
  .head h2 { font-size: clamp(28px, 8.6vw, 38px); }
  .hero-ctas .store { flex: 1; min-width: 0; padding: 0 12px; gap: 9px; }
  .hero-ctas .store b { font-size: 15px; }
  .hero-ctas .store-logo { width: 22px; height: 22px; }
  .hero-stage { min-height: 500px; }
  .phone { --pw: 214px; }
  .chip { font-size: 11.5px; padding: 8px 12px 8px 8px; border-radius: 16px; }
  .chip strong { font-size: 12.5px; }
  .chip-ico { width: 30px; height: 30px; }
  .chip img { width: 34px; height: 34px; }
  .badges { gap: 10px; }
  .badge { padding: 16px 10px 18px; border-radius: 20px; }
  .badge::before { top: 8px; right: 8px; font-size: 10px; }
  .badge h3 { font-size: 15px; }
  .badge p { font-size: 13px; }
  .badge-art { margin-bottom: 12px; border-radius: 16px; }
  .rule { padding: 22px; gap: 14px; }
  .rules-links .btn, .cta-stores .store { width: 100%; justify-content: center; }
  .doc th, .doc td { padding: 10px 8px; }
}
@media (max-height: 560px) and (max-width: 900px) {
  /* Petit écran en paysage : pas d'épinglage, les textes s'empilent */
  .journey-track { height: auto; }
  .journey-sticky { position: static; height: auto; padding-bottom: 60px; }
  .scenes, .rail { display: none; }
  .panels { display: grid; gap: 14px; height: auto; }
  .panel { position: static; opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .has-intro .intro { display: none; }
  .js .jq-3d[data-reveal], .js .toast[data-reveal] { opacity: 1; transform: none; }
  .rocket .phone, .chip, .jq-fl, .jq-glow, .jq-grid, .ground-plane, .ping::before, .ping::after, .hero-waves, .cta-icon img, .jq-gain, .jq-gain-ico, .pin--sel, .cluster::after, .status img, .badge-art b, .hero-kicker .dot { animation: none; }
  .tour { transform: none; }
}
