/* ===========================================================================
   CazaLife — site vitrine artisan
   Charte : Design-System-CazaLife.md (tokens importés tels quels via tokens.css)

   Règles tenues partout :
   - texte courant = minuit, secondaire = grège-600 ; sur un aplat de marque, texte minuit ;
   - orange-500 seulement en gros titre (≥ 24px ou ≥ 18,66px gras), tracé, icône, focus ;
     en taille de corps, orange-700 ;
   - CTA primaire = corail + contour 1,5px minuit + libellé minuit ; hover orange-400,
     pressé orange-500 ; une seule action orange par écran/section ;
   - aucune alerte sans icône ; badge de score toujours lettré, jamais sur aplat orange.
   =========================================================================== */

:root {
  --header-h: 72px;
  --container: 1200px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--cz-font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cz-text);
  background: var(--cz-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* aucune colonne de grille ne peut forcer une largeur supérieure à l'écran */
.score-grid > *, .terrain-grid > *, .beta-grid > *, .faq-grid > *, .how-grid > *, .hero-inner > * { min-width: 0; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
sup { font-size: .6em; line-height: 0; }
::selection { background: var(--cz-orange-200); color: var(--cz-minuit-500); }
:focus-visible { outline: 2px solid var(--cz-minuit-500); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cz-minuit-500); color: #fff; padding: 10px 16px; border-radius: 9999px;
  font-weight: 700; text-decoration: none; transition: top var(--cz-dur-fast);
}
.skip:focus { top: 12px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding: 112px 0; position: relative; }

/* icônes en ligne : trait courant, jamais de remplissage */
svg:not(.sprite) {
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------------------------------------------------------------- Typographie */
.display, h1, h2, .card h3, .plan h3, .product h3, .step h3 {
  font-family: var(--cz-font-display);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.08;
  text-wrap: balance;
}
h2 { font-size: clamp(32px, 4vw, 48px); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-sub { margin-top: 18px; font-size: 18px; color: var(--cz-text-muted); text-wrap: pretty; }
.section-sub a { color: var(--cz-orange-700); font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.overline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--cz-orange-700); margin-bottom: 16px;
}
.overline::before { content: ''; width: 18px; height: 2px; background: var(--cz-orange-500); border-radius: 2px; }
.overline.light { color: var(--cz-bleu-500); }
.overline.light::before { background: var(--cz-bleu-500); }
.overline.dark { color: var(--cz-orange-900); }
.overline.dark::before { background: var(--cz-orange-900); }

/* ---------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: var(--cz-radius-button);
  font-weight: 800; font-size: 15px; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--cz-dur-fast) var(--cz-ease), color var(--cz-dur-fast),
              box-shadow var(--cz-dur-base) var(--cz-ease), translate .25s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--ease-out); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn-primary { background: var(--cz-orange-300); color: var(--cz-minuit-500); border-color: var(--cz-minuit-500); }
.btn-primary:hover { background: var(--cz-orange-400); box-shadow: var(--cz-shadow-md); }
.btn-primary:active { background: var(--cz-orange-500); }
.btn-secondary { background: transparent; color: var(--cz-minuit-500); border-color: var(--cz-minuit-500); }
.btn-secondary:hover { background: var(--cz-orange-50); }
.btn-dark { background: var(--cz-minuit-500); color: #fff; border-color: var(--cz-minuit-500); }
.btn-dark:hover { background: var(--cz-minuit-700); box-shadow: var(--cz-shadow-md); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------------------------------------------------------------- Primitives de la charte */
.pastille {
  width: 40px; height: 40px; border-radius: var(--cz-radius-squircle);
  background: var(--cz-orange-50); color: var(--cz-orange-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.pastille svg { width: 20px; height: 20px; }
.pastille.sm { width: 32px; height: 32px; }
.pastille.sm svg { width: 16px; height: 16px; }
.pastille.warn { background: var(--cz-warning-bg); color: var(--cz-warning-700); }

.score {
  display: inline-grid; place-items: center; flex-shrink: 0;
  font-family: var(--cz-font-display); font-weight: 800; line-height: 1;
  border-radius: var(--cz-radius-squircle); color: var(--cz-minuit-500);
}
.score.sm { width: 32px; height: 32px; font-size: 16px; }
.score.md { width: 46px; height: 46px; font-size: 22px; }
.score.lg { width: 64px; height: 64px; font-size: 30px; }
.score-a { background: var(--cz-score-a); color: #fff; }
.score-b { background: var(--cz-score-b); }
.score-c { background: var(--cz-score-c); }
.score-d { background: var(--cz-score-d); }
.score-e { background: var(--cz-score-e); }
.score-f { background: var(--cz-score-f); color: #fff; }
.score-g { background: var(--cz-score-g); color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 9999px;
  background: var(--cz-grege-200); color: var(--cz-grege-600);
  font-size: 11px; font-weight: 700; line-height: 1.2;
}
.chip svg { width: 12px; height: 12px; }
.chip.on { background: var(--cz-minuit-500); color: #fff; }

.banner {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--cz-radius-md);
  color: var(--cz-minuit-500); font-size: 15px; line-height: 1.5;
}
.banner svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.banner-warning { background: var(--cz-warning-bg); border-left: 4px solid var(--cz-warning-700); }
.banner-warning svg { color: var(--cz-warning-700); }
.banner-info { background: var(--cz-info-bg); border-left: 4px solid var(--cz-info); }
.banner-info svg { color: var(--cz-info); }

.wordmark {
  font-family: var(--cz-font-display); font-weight: 800; font-size: 24px;
  letter-spacing: -.01em; line-height: 1; color: var(--cz-minuit-500);
  display: inline-flex;
}
.wordmark .life { color: var(--cz-orange-500); }
.wordmark.light { color: #fff; }

/* ---------------------------------------------------------------- Apparition au défilement */
[data-reveal] {
  transition: opacity .8s var(--ease-out) var(--d, 0ms), transform .8s var(--ease-out) var(--d, 0ms);
}
[data-reveal]:not(.in) { opacity: 0; transform: translateY(26px); }

/* ---------------------------------------------------------------- En-tête */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .35s var(--cz-ease), box-shadow .35s var(--cz-ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--cz-grege-200);
}
.header-inner {
  height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 36px; height: 36px; border-radius: var(--cz-radius-squircle); transition: transform .4s var(--ease-spring); }
.brand:hover .brand-icon { transform: rotate(-8deg) scale(1.06); }
.nav { display: flex; justify-content: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 9999px; font-weight: 700; font-size: 15px;
  text-decoration: none; color: var(--cz-minuit-500);
  transition: background var(--cz-dur-fast), color var(--cz-dur-fast);
}
.nav a:hover, .nav a.is-current { color: var(--cz-orange-700); background: var(--cz-orange-50); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent;
  place-items: center; cursor: pointer; color: var(--cz-minuit-500);
}
.burger svg { width: 24px; height: 24px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease-out); }
.burger .ico-x { opacity: 0; transform: rotate(-90deg); }
.burger[aria-expanded="true"] .ico-menu { opacity: 0; transform: rotate(90deg); }
.burger[aria-expanded="true"] .ico-x { opacity: 1; transform: none; }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: #fff;
  display: flex; flex-direction: column; gap: 4px; padding: 20px 24px 32px;
  overflow: auto;
}
.mobile-nav a:not(.btn) {
  font-family: var(--cz-font-display); font-weight: 800; font-size: 28px; text-decoration: none;
  padding: 12px 8px; border-bottom: 1px solid var(--cz-grege-200);
}
.mobile-nav .btn { margin-top: 24px; }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .6;
  animation: drift 26s ease-in-out infinite alternate;
}
.blob-corail { width: 620px; height: 620px; right: -120px; top: -140px; background: rgba(254, 155, 114, .55); }
.blob-bleu { width: 520px; height: 520px; left: -160px; bottom: -120px; background: rgba(121, 174, 232, .45); animation-delay: -8s; animation-duration: 30s; }
.blob-menthe { width: 380px; height: 380px; right: 30%; bottom: -60px; background: rgba(125, 198, 169, .42); animation-delay: -15s; animation-duration: 22s; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(12, 33, 57, .10) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 35%, #000 10%, transparent 68%);
  mask-image: radial-gradient(ellipse at 60% 35%, #000 10%, transparent 68%);
}
.glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  left: var(--gx, 70%); top: var(--gy, 40%); translate: -50% -50%;
  background: radial-gradient(circle, rgba(254, 155, 114, .42), rgba(254, 155, 114, 0) 62%);
  filter: blur(24px); opacity: 0; transition: opacity .6s;
}
.hero.has-glow .glow { opacity: 1; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 72px;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 9999px;
  background: #fff; border: 1px solid var(--cz-grege-200); box-shadow: var(--cz-shadow-sm);
  font-size: 13px; font-weight: 700; color: var(--cz-grege-600); margin-bottom: 28px;
}
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cz-menthe-500); position: relative; }
.pill .dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--cz-menthe-500); animation: ping 1.8s ease-out infinite;
}
.display { font-size: clamp(40px, 5.2vw, 70px); }
.display .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.display .w {
  display: inline-block; opacity: 0; transform: translateY(105%) rotate(2deg);
  animation: rise .9s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms);
}
.display .accent { color: var(--cz-orange-500); } /* h1 ≥ 24px : l'orange plein est autorisé */
.lead { margin-top: 26px; font-size: clamp(19px, 2vw, 23px); font-weight: 600; line-height: 1.4; }
.lead strong { font-weight: 800; }
.sub { margin-top: 14px; max-width: 54ch; font-size: 17px; color: var(--cz-text-muted); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; font-weight: 700; color: var(--cz-grege-600); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--cz-menthe-700); }

.hero-scene {
  position: relative; height: 700px;
  display: grid; place-items: center;
  perspective: 1400px;
}
.scene-tilt { position: relative; transform-style: preserve-3d; will-change: transform; }
.scene-tilt .phone-slot { transform: translateZ(0); }

.sticker {
  position: absolute; top: -26px; right: -44px; width: 92px; height: 92px;
  transform: translateZ(90px) rotate(8deg);
  animation: floaty 6s ease-in-out infinite;
}
.sticker img { width: 92px; height: 92px; border-radius: var(--cz-radius-squircle); box-shadow: var(--cz-shadow-lg); position: relative; z-index: 1; }
.sticker .ring {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%; border: 2px solid var(--cz-menthe-500); opacity: 0;
  animation: ring 2.8s ease-out infinite;
}
.sticker .r2 { animation-delay: .9s; }
.sticker .r3 { animation-delay: 1.8s; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--cz-grege-200);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--cz-shadow-lg); white-space: nowrap;
  animation: floaty 7s ease-in-out infinite;
  transition: opacity .5s, scale .5s var(--ease-spring);
  opacity: .78; scale: .96;
}
.float-card b { display: block; font-size: 14px; }
.float-card small { display: block; font-size: 12px; color: var(--cz-grege-600); margin-top: 2px; }
.fc-ico { width: 38px; height: 38px; border-radius: var(--cz-radius-squircle); display: grid; place-items: center; flex-shrink: 0; }
.fc-ico svg { width: 20px; height: 20px; }
.fc-ico.ok { background: var(--cz-success-bg); color: var(--cz-success); }
.fc-ico.lock { background: var(--cz-orange-50); color: var(--cz-orange-700); }
.fc-1 { top: 110px; left: -190px; transform: translateZ(70px); animation-delay: -2s; }
.fc-2 { top: 250px; right: -140px; transform: translateZ(80px); animation-delay: -4s; }
.fc-3 { bottom: 120px; left: -160px; transform: translateZ(60px); animation-delay: -1s; }
.hero-scene[data-screen="scan"] .fc-1, .hero-scene[data-screen="fiche"] .fc-1,
.hero-scene[data-screen="saisie"] .fc-2,
.hero-scene[data-screen="score"] .fc-3 { opacity: 1; scale: 1.04; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 2;
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--cz-minuit-500);
  display: grid; justify-content: center; padding-top: 7px; opacity: .55;
  transition: opacity var(--cz-dur-base);
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint span { width: 4px; height: 8px; border-radius: 2px; background: var(--cz-orange-500); animation: wheel 1.8s ease-in-out infinite; }

/* ---------------------------------------------------------------- Téléphone */
.phone { --pw: 300px; --ph: 612px; width: var(--pw); height: var(--ph); position: relative; }
.phone-frame {
  position: absolute; inset: 0; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #1B3450, #0C2139 40%, #081726);
  box-shadow: 0 34px 80px rgba(12, 33, 57, .32), inset 0 0 0 1.5px rgba(255, 255, 255, .06);
}
.phone-notch {
  position: absolute; top: 20px; left: 50%; width: 88px; height: 26px; translate: -50% 0;
  background: #081726; border-radius: 20px; z-index: 6;
}
.phone-screens { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; }
.scr {
  position: absolute; inset: 0; padding: 60px 18px 20px;
  display: flex; flex-direction: column;
  font-size: 12.5px; line-height: 1.4; color: var(--cz-minuit-500);
  opacity: 0; transform: scale(.985) translateY(8px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.phone[data-screen="scan"] .scr-scan, .phone[data-screen="fiche"] .scr-fiche,
.phone[data-screen="saisie"] .scr-saisie, .phone[data-screen="score"] .scr-score { opacity: 1; transform: none; }
.scr-status {
  position: absolute; top: 18px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 800; z-index: 5;
}
.sig { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.sig i { width: 3px; background: currentColor; border-radius: 1px; height: 5px; }
.sig i:nth-child(2) { height: 7px; } .sig i:nth-child(3) { height: 10px; }
.scr h4 { font-family: var(--cz-font-display); font-weight: 800; font-size: 22px; line-height: 1.25; margin-top: 4px; }
.scr-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 14px; }
.scr-top .back { width: 24px; height: 24px; display: grid; place-items: center; }
.scr-top .back svg { width: 18px; height: 18px; transform: rotate(90deg); }
.scr-top > span:last-child { min-width: 24px; }
.uid { font-family: var(--cz-font-mono); font-size: 10px; color: var(--cz-grege-600); background: var(--cz-grege-100); padding: 3px 8px; border-radius: 9999px; }
.scr-label { font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--cz-grege-600); margin: 14px 0 8px; display: flex; justify-content: space-between; }
.scr-label em { font-style: normal; font-family: var(--cz-font-mono); }
.scr-cta {
  margin-top: auto; display: block; text-align: center;
  background: var(--cz-orange-300); color: var(--cz-minuit-500); border: 1.5px solid var(--cz-minuit-500);
  border-radius: 9999px; padding: 12px; font-weight: 800; font-size: 13px;
}
.scr-ghost { margin-top: 22px; font-weight: 700; color: var(--cz-minuit-300); font-size: 12.5px; }

/* écran scan — le seul écran plein minuit */
.scr-scan {
  align-items: center; justify-content: center; text-align: center; color: #fff;
  background: radial-gradient(120% 78% at 50% 34%, #143254 0%, #0C2139 46%, #081726 100%);
}
.scr-scan p { color: var(--cz-minuit-300); margin-top: 8px; font-size: 12.5px; max-width: 24ch; }
.waves { position: relative; width: 176px; height: 176px; display: grid; place-items: center; margin-bottom: 26px; }
.waves .w { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cz-menthe-500); opacity: 0; animation: wave 2.6s ease-out infinite; }
.waves .w2 { animation-delay: .85s; } .waves .w3 { animation-delay: 1.7s; }
.core {
  width: 68px; height: 68px; border-radius: 50%; background: var(--cz-orange-500);
  display: grid; place-items: center; box-shadow: var(--cz-shadow-orange);
  animation: breathe 2.6s ease-in-out infinite;
}
.core svg { width: 32px; height: 32px; color: var(--cz-minuit-500); stroke-width: 2.1; }

/* écran fiche */
.dev-head {
  display: flex; gap: 12px; align-items: center; padding: 12px;
  border: 1px solid var(--cz-grege-200); border-radius: 16px; box-shadow: var(--cz-shadow-sm);
}
.dev-head > div { flex: 1; min-width: 0; }
.dev-head b { display: block; font-size: 14px; }
.dev-head small { display: block; font-size: 11px; color: var(--cz-grege-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rows li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--cz-grege-200); }
.rows li > div { flex: 1; min-width: 0; }
.rows b { display: block; font-size: 12.5px; }
.rows small { display: block; font-size: 11px; color: var(--cz-grege-600); }
.rows .chev { width: 16px; height: 16px; color: var(--cz-grege-500); transform: rotate(-90deg); }

/* écran saisie */
.field { border: 1px solid var(--cz-grege-300); border-radius: 14px; padding: 10px 12px; min-height: 66px; font-size: 12px; line-height: 1.45; color: var(--cz-minuit-500); }
.field .typed::after { content: ''; display: inline-block; width: 1.5px; height: 12px; background: var(--cz-orange-500); margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(2) infinite; }
.photo-row { display: flex; gap: 8px; margin-top: 10px; }
.photo { width: 54px; height: 54px; border-radius: 12px; border: 1.5px dashed var(--cz-grege-300); display: grid; place-items: center; color: var(--cz-grege-500); }
.photo svg { width: 20px; height: 20px; }
.photo.has { border: 0; background: linear-gradient(135deg, #D6DDE6, #8895A6 60%, #5E6F84); }
.offline {
  display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 8px 10px;
  border-radius: 10px; background: var(--cz-warning-bg); border-left: 3px solid var(--cz-warning-700);
  font-size: 11px; font-weight: 700;
}
.offline svg { width: 14px; height: 14px; color: var(--cz-warning-700); flex-shrink: 0; }

/* écran score */
.scr-score { align-items: center; text-align: center; justify-content: center; }
.scr-score p { color: var(--cz-grege-600); margin-top: 6px; max-width: 26ch; }
.score-big { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.scr-score .score.lg { width: 78px; height: 78px; font-size: 38px; }
.score-big .was { opacity: .45; scale: .78; }
.score-big .arr { width: 22px; height: 22px; color: var(--cz-grege-500); }
.phone[data-screen="score"] .score-big .now { animation: pop .8s var(--ease-spring) .25s both; }
.sealed {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  background: var(--cz-success-bg); color: var(--cz-minuit-500);
  padding: 6px 12px; border-radius: 9999px; font-size: 11.5px; font-weight: 700;
}
.sealed svg { width: 14px; height: 14px; color: var(--cz-success); }
.scr-mascotte { width: 104px; margin: 14px auto 0; }

/* ---------------------------------------------------------------- Bandeau */
.marquee {
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--cz-grege-200); border-bottom: 1px solid var(--cz-grege-200);
  background: var(--cz-grege-50);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 30px; width: max-content;
  font-family: var(--cz-font-display); font-weight: 700; font-size: 16px; color: var(--cz-grege-600);
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--cz-orange-500); flex-shrink: 0; }

/* ---------------------------------------------------------------- Manifeste */
.manifesto { padding: 140px 0 120px; }
.manifesto-text {
  font-family: var(--cz-font-display); font-weight: 800;
  font-size: clamp(28px, 4.3vw, 54px); line-height: 1.16; letter-spacing: -.015em;
  max-width: 1040px; text-wrap: pretty;
}
.manifesto-text em { font-style: normal; }
.mw { opacity: .15; transition: opacity .45s var(--ease-out), color .45s; }
.mw.lit { opacity: 1; }
.manifesto-text em .mw.lit { color: var(--cz-orange-500); } /* ≥ 28px : gros texte */

/* ---------------------------------------------------------------- Comment ça marche */
.how { padding-top: 40px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.how-sticky {
  position: sticky; top: calc(var(--header-h) + 16px);
  height: calc(100vh - var(--header-h) - 32px);
  display: grid; place-items: center;
}
.how-phone-wrap { position: relative; }
.how-halo {
  position: absolute; inset: -60px -80px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(125, 198, 169, .45), transparent 66%);
  filter: blur(36px); transition: background .8s var(--cz-ease);
}
.how[data-screen="fiche"] .how-halo { background: radial-gradient(circle, rgba(254, 155, 114, .5), transparent 66%); }
.how[data-screen="saisie"] .how-halo { background: radial-gradient(circle, rgba(121, 174, 232, .5), transparent 66%); }
.how[data-screen="score"] .how-halo { background: radial-gradient(circle, rgba(125, 198, 169, .55), transparent 66%); }
.how-steps { padding-top: 8vh; }
.step {
  display: grid; grid-template-columns: 60px 1fr; gap: 26px; align-items: start;
  min-height: 62vh; padding: 10vh 0;
  opacity: .34; transition: opacity .6s var(--cz-ease);
}
.step.is-active { opacity: 1; }
.step-num {
  width: 60px; height: 60px; border-radius: var(--cz-radius-squircle);
  background: var(--cz-orange-50); color: var(--cz-orange-700);
  display: grid; place-items: center;
  transition: background .5s var(--cz-ease), color .5s, transform .5s var(--ease-spring), box-shadow .5s;
}
.step-num svg { width: 26px; height: 26px; }
.step.is-active .step-num { background: var(--cz-orange-500); color: var(--cz-minuit-500); transform: scale(1.08) rotate(-4deg); box-shadow: var(--cz-shadow-md); }
.step-index { font-family: var(--cz-font-mono); font-size: 13px; color: var(--cz-grege-500); display: block; margin-bottom: 8px; }
.step h3 { font-size: clamp(24px, 2.4vw, 30px); }
.step p { margin-top: 12px; color: var(--cz-text-muted); font-size: 17px; max-width: 46ch; }

/* ---------------------------------------------------------------- Chiffres */
.stats { padding: 32px 0 96px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 32px; border-left: 1px solid var(--cz-grege-200); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block; font-family: var(--cz-font-display); font-weight: 800;
  font-size: clamp(44px, 5.6vw, 72px); line-height: 1; color: var(--cz-orange-500); letter-spacing: -.02em;
}
.stat b > span { font: inherit; color: inherit; display: inline; margin: 0; }
.stat .to { font-size: .7em; vertical-align: .08em; margin: 0 .04em; }
.stat > span { display: block; margin-top: 10px; font-size: 15px; color: var(--cz-text-muted); max-width: 22ch; }

/* ---------------------------------------------------------------- Fonctionnalités */
.features { background: var(--cz-grege-50); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-wide { grid-column: span 2; }
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--cz-grege-200); border-radius: var(--cz-radius-lg);
  padding: 30px; box-shadow: var(--cz-shadow-sm);
}
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--cz-text-muted); font-size: 15.5px; text-wrap: pretty; }
.card-ico {
  width: 50px; height: 50px; border-radius: var(--cz-radius-squircle);
  background: var(--cz-orange-50); color: var(--cz-orange-700);
  display: grid; place-items: center; margin-bottom: 20px;
  transition: transform .5s var(--ease-spring);
}
.card-ico svg { width: 24px; height: 24px; }
.card:hover .card-ico { transform: rotate(-8deg) scale(1.08); }

.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
              opacity .8s var(--ease-out) var(--d, 0ms);
}
.tilt:hover { box-shadow: var(--cz-shadow-md); z-index: 1; }
.tilt::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(254, 155, 114, .18), transparent 62%);
  transition: opacity .4s;
}
.tilt:hover::after { opacity: 1; }

.mini-rows, .mini-dash { margin-top: 24px; border: 1px solid var(--cz-grege-200); border-radius: 14px; overflow: hidden; background: #fff; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--cz-grege-200); font-size: 13px; }
.mini-rows .mini-row:first-child { border-top: 0; }
.mini-row > div { flex: 1; min-width: 0; }
.mini-row b { display: block; }
.mini-row small { display: block; font-size: 12px; color: var(--cz-grege-600); }
.mini-row.due { background: var(--cz-warning-bg); }
.mini-time { font-family: var(--cz-font-mono); font-size: 12px; color: var(--cz-grege-600); }
.mini-dash-head { display: flex; justify-content: space-between; padding: 12px 14px; font-size: 13px; background: var(--cz-grege-50); }
.mini-dash-head span { color: var(--cz-grege-600); }
.score-strip { display: flex; gap: 8px; margin-top: 24px; }
.score-strip .score { transition: transform .4s var(--ease-spring); }
.card:hover .score-strip .score { transform: translateY(-4px); }
.card:hover .score-strip .score:nth-child(2n) { transition-delay: .05s; }
.card:hover .score-strip .score:nth-child(3n) { transition-delay: .1s; }
.pose-visual { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.pose-visual img { width: 64px; height: 64px; border-radius: var(--cz-radius-squircle); box-shadow: var(--cz-shadow-md); }
.pose-arrow svg { width: 26px; height: 26px; color: var(--cz-grege-500); }
.pose-arrow { animation: nudge 1.6s ease-in-out infinite; }
.pose-lock { width: 48px; height: 48px; border-radius: var(--cz-radius-squircle); background: var(--cz-success-bg); color: var(--cz-success); display: grid; place-items: center; }
.pose-lock svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- Score A→G */
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks svg { width: 22px; height: 22px; color: var(--cz-menthe-700); flex-shrink: 0; margin-top: 2px; }
.score-panel {
  background: var(--cz-grege-50); border: 1px solid var(--cz-grege-200); border-radius: var(--cz-radius-xl);
  padding: 36px;
}
.score-row { display: flex; justify-content: space-between; gap: 8px; }
.score-row .score {
  border: 0; cursor: pointer; padding: 0;
  transition: transform .45s var(--ease-spring), box-shadow .45s, opacity .3s;
  opacity: .72;
}
.score-row .score:hover { opacity: 1; }
.score-row .score[aria-selected="true"] { opacity: 1; transform: translateY(-8px) scale(1.18); box-shadow: 0 14px 28px rgba(12, 33, 57, .18); }
.score-desc { margin-top: 30px; min-height: 120px; }
.score-desc-inner { animation: fadeUp .5s var(--ease-out) both; }
.score-desc-inner b { display: block; font-family: var(--cz-font-display); font-weight: 800; font-size: 26px; }
.score-desc-inner p { margin-top: 8px; color: var(--cz-text-muted); }
.score-example {
  display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 22px;
  border-top: 1px dashed var(--cz-grege-300); font-size: 14px; color: var(--cz-grege-600);
}
.score-example svg { width: 20px; height: 20px; color: var(--cz-orange-700); }
.score-example b { color: var(--cz-minuit-500); }

/* ---------------------------------------------------------------- Terrain (sombre) */
.terrain {
  color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 78% 12%, #17395F 0%, #0C2139 42%, #081726 100%);
}
.terrain-bg { position: absolute; inset: 0; pointer-events: none; }
.tw {
  position: absolute; border-radius: 50%; border: 1px solid rgba(125, 198, 169, .28);
  right: -10%; top: 50%; translate: 0 -50%;
  animation: slowpulse 9s ease-in-out infinite;
}
.tw1 { width: 40vw; height: 40vw; } .tw2 { width: 62vw; height: 62vw; animation-delay: -3s; } .tw3 { width: 84vw; height: 84vw; animation-delay: -6s; }
.terrain-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.terrain h2 { color: #fff; }
.terrain .section-sub { color: var(--cz-minuit-300); }
.terrain-list { margin-top: 34px; display: grid; gap: 22px; }
.terrain-list li { display: flex; gap: 16px; align-items: flex-start; }
.t-ico { width: 46px; height: 46px; border-radius: var(--cz-radius-squircle); background: rgba(121, 174, 232, .14); color: var(--cz-bleu-500); display: grid; place-items: center; flex-shrink: 0; }
.t-ico svg { width: 22px; height: 22px; }
.terrain-list b { display: block; font-size: 17px; }
.terrain-list span:not(.t-ico) { display: block; color: var(--cz-minuit-300); font-size: 15.5px; margin-top: 2px; }
.terrain .banner { margin-top: 34px; }
.terrain-visual { position: relative; height: 520px; display: grid; place-items: center; }
.terrain-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.terrain-rings i { position: absolute; border-radius: 50%; border: 2px solid rgba(125, 198, 169, .5); width: 260px; height: 260px; opacity: 0; animation: wave 3.6s ease-out infinite; }
.terrain-rings i:nth-child(2) { animation-delay: 1.2s; } .terrain-rings i:nth-child(3) { animation-delay: 2.4s; }
.mascotte-blanche { width: 250px; position: relative; animation: floaty 7s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.queue-card {
  position: absolute; right: 0; bottom: 10px; width: 300px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: var(--cz-radius-lg); padding: 16px 18px; font-size: 13px;
  animation: floaty 8s ease-in-out infinite; animation-delay: -3s;
}
.queue-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.queue-head svg { width: 18px; height: 18px; color: var(--cz-bleu-500); }
.queue-head span { margin-left: auto; color: var(--cz-minuit-300); font-size: 12px; }
.queue-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.queue-row em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--cz-menthe-500); }
.q-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cz-menthe-500); }
.queue-row.pending .q-dot { background: var(--cz-bleu-500); box-shadow: 0 0 0 0 rgba(121, 174, 232, .6); animation: ping-dot 1.6s ease-out infinite; }
.queue-row.pending em { color: var(--cz-bleu-500); }

/* ---------------------------------------------------------------- Puces */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--cz-grege-200); border-radius: var(--cz-radius-xl);
  box-shadow: var(--cz-shadow-sm);
}
.product-visual {
  position: relative; height: 250px; display: grid; place-items: center;
  background: radial-gradient(80% 90% at 50% 100%, var(--cz-orange-100), var(--cz-grege-50) 70%);
}
.product-visual.dark { background: radial-gradient(80% 90% at 50% 100%, #17395F, #0C2139 75%); }
.sticker-img {
  width: 128px; height: 128px; border-radius: var(--cz-radius-squircle);
  box-shadow: var(--cz-shadow-lg); rotate: -6deg; animation: floaty 6s ease-in-out infinite;
}
.tag-rigid {
  width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #2A4A6E, #0C2139 70%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45), inset 0 0 0 6px #1B3450, inset 0 0 0 7px rgba(255, 255, 255, .12);
  animation: floaty 6s ease-in-out infinite; animation-delay: -2s;
}
.tag-rigid img { width: 64px; }
.badge {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 9999px; background: #fff; border: 1.5px solid var(--cz-minuit-500);
  color: var(--cz-minuit-500); font-size: 12px; font-weight: 800;
}
.badge svg { width: 14px; height: 14px; }
.product-body { padding: 28px 30px 30px; }
.product-body .overline { margin-bottom: 8px; }
.product h3 { font-size: 26px; margin-bottom: 8px; }
.product-body > p { color: var(--cz-text-muted); font-size: 15.5px; }
.specs { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.specs li { display: flex; align-items: center; gap: 10px; }
.specs svg { width: 18px; height: 18px; color: var(--cz-orange-700); }
.prices { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--cz-grege-200); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.price-main b { display: block; font-family: var(--cz-font-display); font-weight: 800; font-size: 34px; line-height: 1; }
.price-main span { font-size: 13px; color: var(--cz-grege-600); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.packs li { background: var(--cz-grege-50); border: 1px solid var(--cz-grege-200); border-radius: 12px; padding: 8px 10px; text-align: center; }
.packs span { display: block; font-size: 11px; color: var(--cz-grege-600); font-weight: 700; }
.packs b { display: block; font-size: 14px; margin-top: 2px; }
.chips-section .banner { margin-top: 28px; }
.shop-foot { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.shop-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 700; font-size: 15px; color: var(--cz-grege-600); }
.shop-meta li { display: inline-flex; align-items: center; gap: 8px; }
.shop-meta svg { width: 20px; height: 20px; color: var(--cz-orange-700); }

/* ---------------------------------------------------------------- Tarifs */
.pricing { background: var(--cz-grege-50); }
.billing {
  display: flex; width: max-content; margin: -16px auto 40px; padding: 4px;
  background: var(--cz-grege-200); border-radius: 9999px;
}
.billing-opt {
  border: 0; background: transparent; padding: 10px 22px; border-radius: 9999px;
  font-weight: 800; font-size: 15px; color: var(--cz-grege-600); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--cz-dur-base) var(--cz-ease), color var(--cz-dur-base);
}
.billing-opt.is-on { background: var(--cz-minuit-500); color: #fff; box-shadow: var(--cz-shadow-sm); }
.save { background: var(--cz-menthe-500); color: var(--cz-minuit-500); padding: 2px 9px; border-radius: 9999px; font-size: 12px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--cz-grege-200);
  border-radius: var(--cz-radius-xl); padding: 34px; display: flex; flex-direction: column;
  box-shadow: var(--cz-shadow-sm);
}
.plan-pro { border: 2px solid var(--cz-orange-500); box-shadow: var(--cz-shadow-lg); }
.plan-flag {
  position: absolute; top: -17px; left: 30px;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  background: var(--cz-orange-500); color: var(--cz-minuit-500);
  border-radius: 9999px; font-size: 13px; font-weight: 800;
}
.plan-flag svg { width: 14px; height: 14px; }
.plan h3 { font-size: 28px; }
.plan-for { color: var(--cz-text-muted); font-size: 15px; margin-top: 4px; min-height: 44px; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-family: var(--cz-font-display); font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -.02em; }
.plan-price b > span { font: inherit; color: inherit; }
.plan-price > span { color: var(--cz-grege-600); font-size: 15px; font-weight: 700; }
[data-price].flip { animation: flip .45s var(--ease-out); display: inline-block; }
.plan-billed { font-size: 13.5px; color: var(--cz-grege-600); margin-top: 6px; min-height: 20px; }
.plan-list { margin: 26px 0 30px; display: grid; gap: 12px; font-size: 15.5px; }
.plan-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-list svg { width: 20px; height: 20px; color: var(--cz-menthe-700); flex-shrink: 0; }
.soon {
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--cz-bleu-50); color: var(--cz-bleu-700); border: 1px solid var(--cz-bleu-100);
  padding: 2px 8px; border-radius: 9999px;
}
.plan .btn { margin-top: auto; }
.pricing-note {
  margin: 30px auto 0; max-width: 920px; display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--cz-grege-600); font-weight: 600;
}
.pricing-note svg { width: 20px; height: 20px; color: var(--cz-orange-700); flex-shrink: 0; }
.pricing-note a { color: var(--cz-orange-700); font-weight: 800; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--cz-grege-200); }
.faq-item h3 { font-size: inherit; }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; background: none; border: 0; text-align: left; cursor: pointer;
  font-size: 18px; font-weight: 700; color: var(--cz-minuit-500);
  transition: color var(--cz-dur-fast);
}
.faq-item button:hover { color: var(--cz-orange-700); }
.faq-item button svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--cz-orange-500); transition: transform .4s var(--ease-out); }
.faq-item.is-open button svg { transform: rotate(180deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 44px 22px 4px; color: var(--cz-text-muted); font-size: 16px; }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }

/* ---------------------------------------------------------------- Bêta */
.beta { position: relative; overflow: hidden; padding: 120px 0; background: var(--cz-corail); color: var(--cz-minuit-500); }
.beta::before, .beta::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, .28);
}
.beta::before { width: 720px; height: 720px; right: -220px; top: -320px; }
.beta::after { width: 460px; height: 460px; left: -160px; bottom: -240px; }
.beta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.beta h2 { color: var(--cz-minuit-500); }
.beta-copy > p { margin-top: 18px; font-size: 18px; max-width: 44ch; text-wrap: pretty; }
.beta-mascotte { width: 220px; margin-top: 36px; animation: floaty 6s ease-in-out infinite; }
.beta-form { background: #fff; border-radius: var(--cz-radius-xl); padding: 34px; box-shadow: var(--cz-shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-wrap { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.field-wrap.wide { grid-column: 1 / -1; }
.field-wrap small { font-weight: 600; color: var(--cz-grege-600); }
.field-wrap input, .field-wrap select {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--cz-grege-300); border-radius: var(--cz-radius-md);
  background: #fff; font: inherit; font-weight: 600; color: var(--cz-minuit-500);
  transition: border-color var(--cz-dur-fast), box-shadow var(--cz-dur-fast);
}
.field-wrap input::placeholder { color: var(--cz-grege-500); font-weight: 400; }
.field-wrap input:focus, .field-wrap select:focus {
  outline: none; border-color: var(--cz-orange-500); box-shadow: 0 0 0 3px var(--cz-orange-100);
}
.beta-form .btn { margin-top: 20px; }
.form-error {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px;
  background: var(--cz-error-bg); border-left: 4px solid var(--cz-error); border-radius: var(--cz-radius-sm);
  font-size: 14px; font-weight: 600; color: var(--cz-minuit-500);
}
.form-error svg { width: 20px; height: 20px; color: var(--cz-error); flex-shrink: 0; }
.form-legal { margin-top: 14px; font-size: 12.5px; color: var(--cz-grege-600); text-align: center; }
.form-success { text-align: center; padding: 20px 0 8px; animation: fadeUp .5s var(--ease-out); }
.ok-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: var(--cz-radius-squircle); background: var(--cz-success-bg); color: var(--cz-success); display: grid; place-items: center; animation: pop .7s var(--ease-spring) .1s both; }
.ok-ico svg { width: 30px; height: 30px; stroke-width: 2.5; }
.form-success b { font-family: var(--cz-font-display); font-weight: 800; font-size: 24px; display: block; }
.form-success p { margin-top: 8px; color: var(--cz-text-muted); }
.beta-form.is-sent .form-grid, .beta-form.is-sent .btn, .beta-form.is-sent .form-legal, .beta-form.is-sent .form-error { display: none; }

/* ---------------------------------------------------------------- Pied de page */
.site-footer { background: var(--cz-minuit-700); color: var(--cz-minuit-300); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand .wordmark { font-size: 30px; }
/* La baseline est un élément du logotype : gris #878787, jamais réutilisé comme texte d'interface */
.baseline { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #878787; }
.footer-brand p { margin-top: 20px; max-width: 34ch; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav b { color: #fff; margin-bottom: 6px; }
.footer-nav a { text-decoration: none; transition: color var(--cz-dur-fast); }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

/* ---------------------------------------------------------------- Animations */
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } 100% { transform: translate(30px, -20px) scale(.96); } }
@keyframes wave { 0% { transform: scale(.55); opacity: .85; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes ping-dot { 0% { box-shadow: 0 0 0 0 rgba(121, 174, 232, .6); } 100% { box-shadow: 0 0 0 10px rgba(121, 174, 232, 0); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes slowpulse { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes flip { 0% { transform: translateY(-40%) rotateX(60deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .hero-inner { gap: 24px; }
  .hero-scene { height: 640px; }
  .scene-tilt { scale: .9; }
  .fc-1 { left: -150px; } .fc-2 { right: -90px; } .fc-3 { left: -120px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 22px; }
}

@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .nav, .header-actions .btn { display: none; }
  .burger { display: grid; }
  .header-inner { grid-template-columns: 1fr auto; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--header-h) + 32px); }
  .hero-scene { height: 620px; perspective: none; margin-top: 16px; }
  .scene-tilt { transform: none !important; scale: 1; }
  .fc-1 { left: -120px; top: 90px; } .fc-2 { right: -110px; top: 250px; bottom: auto; } .fc-3 { left: -110px; bottom: 90px; }
  .sticker { right: -20px; top: -14px; }
  .scroll-hint { display: none; }

  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .how-sticky {
    top: var(--header-h); height: 336px; z-index: 3; align-items: start;
    background: linear-gradient(#fff 93%, rgba(255, 255, 255, 0));
  }
  .how-phone-wrap { transform: scale(.5); transform-origin: top center; margin-top: 4px; }
  .how-halo { display: none; }
  .how-steps { padding-top: 24px; }
  .step { min-height: 0; padding: 28px 0; grid-template-columns: 52px 1fr; gap: 18px; }
  .step-num { width: 52px; height: 52px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .score-grid, .terrain-grid, .products, .plans, .faq-grid, .beta-grid { grid-template-columns: 1fr; gap: 40px; }
  .terrain-visual { height: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), 100% - 32px); }
  .section { padding: 72px 0; }
  .display { font-size: clamp(36px, 11vw, 46px); }
  .lead { font-size: 18px; }
  .hero-cta .btn { width: 100%; }
  .hero-scene { height: 590px; }
  .phone { --pw: 270px; --ph: 550px; }
  .float-card { display: none; } /* pas la place à côté du téléphone : l'écran seul porte la démo */
  .sticker { right: -8px; top: -10px; width: 76px; height: 76px; }
  .sticker img { width: 76px; height: 76px; }
  .sticker .ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
  .manifesto { padding: 96px 0 72px; }
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .card { padding: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px 14px; }
  .stat:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .score-panel { padding: 20px; }
  .score-row { gap: 5px; }
  .score-row .score.lg { width: 36px; height: 36px; font-size: 18px; }
  .score-row .score[aria-selected="true"] { transform: translateY(-6px) scale(1.14); }
  .terrain-visual { height: 500px; align-items: start; padding-top: 16px; }
  .mascotte-blanche { width: 210px; }
  .queue-card { left: 0; right: 0; margin: 0 auto; width: min(300px, 100%); }
  .prices { grid-template-columns: 1fr; }
  .billing-opt { padding: 9px 14px; font-size: 14px; }
  .plan { padding: 26px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .beta { padding: 80px 0; }
  .beta-form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-item button { font-size: 16.5px; }
}

/* ---------------------------------------------------------------- Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal]:not(.in) { opacity: 1; transform: none; }
  .display .w { opacity: 1; transform: none; }
  .mw { opacity: 1; }
  .float-card, .sticker .ring, .waves .w, .terrain-rings i { animation: none; }
  .float-card { opacity: 1; }
  .glow { display: none; }
}
