/* Gradifon — site vitrine. Identité reprise du logiciel (Inter, indigo, rail sombre). */
/* Passe UI bureau (≥ 1024 px) : les blocs modifiés sont annotés [UI]. Les media queries < 860 px
   sont conservées telles quelles (responsive.css, chargé après, possède le mobile). */

:root {
  --ink: #0b1220;
  --ink-2: #111a2e;
  --paper: #f6f7f9;
  --card: #ffffff;
  --line: #e2e6ee;
  --line-strong: #d5dbe6;           /* [UI] bordure des contrôles sur fond clair (boutons fantômes, champs) */
  --text: #0f172a;
  --muted: #5b6577;
  --faint: #6b7689;                /* [A11y] ≥ 4,5:1 sur blanc (ex-#94a0b4 échouait) */
  --indigo: #4f46e5;
  --indigo-2: #6366f1;
  --violet: #7c3aed;
  --green: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  /* [UI] palette fond sombre, centralisée (héros, .section--dark, .cta, nav) */
  --dark-text: #e6eaf2;
  --dark-muted: #aab4c8;
  --dark-faint: #8b96ad;
  --dark-line: rgb(255 255 255 / 0.1);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;                /* [UI] bloc CTA */
  --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 12px 32px -16px rgb(15 23 42 / 0.16);
  --shadow-hover: 0 1px 2px rgb(15 23 42 / 0.04), 0 18px 40px -18px rgb(15 23 42 / 0.22);
  --shadow-lg: 0 30px 80px -30px rgb(11 18 32 / 0.55);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1140px;
  --gutter: 20px;
  --nav-h: 68px;                    /* [UI] hauteur de nav partagée (nav + menu mobile) */
  --head-gap: clamp(36px, 4.5vw, 48px); /* [UI] espace tête de section → contenu, unique sur tout le site */
  --grid-gap: 20px;                 /* [UI] gouttière unique entre cartes */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv02', 'cv03', 'cv04';
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
/* [UI] échelle : h1/h2 serrés, h3/h4 plus aérés (titres de cartes sur 2 lignes) */
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
h3 { line-height: 1.25; letter-spacing: -0.015em; }
h4 { line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; } /* [UI] l'attribut hidden gagne toujours (release, form__ok) */
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0.02em; }
/* [UI] anneau de focus : plus de border-radius forcé (il déformait les boutons au focus), couleur adaptée au fond */
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
.nav :focus-visible, .hero :focus-visible, .section--dark :focus-visible, .cta :focus-visible, .tokens :focus-visible { outline-color: #a5b4fc; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--indigo); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700;
}
.skip:focus { left: 8px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(64px, 8.5vw, 104px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--dark { background: var(--ink); color: var(--dark-text); }
.section--white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* [UI] tête de page sombre (Fonctionnalités, Télécharger, Contact, Tarifs, Mentions) : mêmes marges partout,
   et la section qui suit se rapproche. Remplace les paddings inline du HTML (mêmes valeurs). */
main > .section--dark:first-child { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(48px, 6vw, 72px); }
main > .section--dark:first-child + .section { padding-top: clamp(32px, 4vw, 56px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; line-height: 1.2;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo);
}
.eyebrow::before { content: ''; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .tokens .eyebrow { color: #a5b4fc; }
/* [UI] échelle de titres : h1 de page, h2 de section, lead */
.h1 { font-size: clamp(36px, 4.6vw, 52px); margin-top: 16px; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 16px; letter-spacing: -0.025em; text-wrap: balance; }
h1.h2 { font-size: clamp(36px, 4.6vw, 52px); letter-spacing: -0.03em; line-height: 1.08; } /* compat markup actuel */
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); max-width: 58ch; margin-top: 16px; }
.section--dark .lead { color: var(--dark-muted); }
.section-head { max-width: 760px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }
/* [UI] espace tête → contenu, sans style inline : même valeur pour toutes les grilles */
.section-head + .grid, .section-head + .steps, .section-head + .shots, .section-head + .faq,
.section-head + .access, .section-head + .tests, .section-head + .dl, .section-head + .plans { margin-top: var(--head-gap); }
.section__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; } /* [UI] rangée de boutons hors héros */

/* ---------- Boutons ---------- */
/* [UI] hauteurs fixes par taille (icône ou non), hover/active distincts, fantôme lisible sur fond clair */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px; border-radius: 14px; font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: 0.05s; }
.btn--primary {
  background: var(--indigo); color: #fff;
  box-shadow: 0 8px 20px -10px rgb(79 70 229 / 0.9);
}
.btn--primary:hover { background: var(--indigo-2); box-shadow: 0 12px 28px -10px rgb(79 70 229 / 0.9); }
.btn--primary:active { background: #4338ca; box-shadow: 0 4px 12px -8px rgb(79 70 229 / 0.9); }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: #b9c2d0; background: #f8f9fb; }
.btn--ghost:active { background: #eef0f4; }
.section--dark .btn--ghost, .nav .btn--ghost, .hero .btn--ghost, .cta .btn--ghost { background: transparent; color: #eef1f7; border-color: rgb(255 255 255 / 0.22); }
.section--dark .btn--ghost:hover, .nav .btn--ghost:hover, .hero .btn--ghost:hover, .cta .btn--ghost:hover { background: rgb(255 255 255 / 0.07); border-color: rgb(255 255 255 / 0.38); color: #fff; }
.section--dark .btn--ghost:active, .nav .btn--ghost:active, .hero .btn--ghost:active, .cta .btn--ghost:active { background: rgb(255 255 255 / 0.12); }
.section--dark .btn--primary:focus-visible, .nav .btn--primary:focus-visible, .hero .btn--primary:focus-visible, .cta .btn--primary:focus-visible { outline-color: #c7d2fe; }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; border-radius: 16px; }
.btn--sm { min-height: 36px; padding: 7px 14px; font-size: 14px; border-radius: 11px; }
.btn--block { width: 100%; margin-top: 22px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--lg svg { width: 20px; height: 20px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(11 18 32 / 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--dark-text); border-bottom: 1px solid rgb(255 255 255 / 0.06);
}
/* [UI] grille 1fr / auto / 1fr : les liens sont réellement centrés entre la marque et les CTA */
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: #fff; justify-self: start; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand > span { display: flex; flex-direction: column; line-height: 1.05; }
.brand small { display: block; font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-faint); line-height: 1; margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; line-height: 1.2; color: #c3cbdb;
  transition: color 0.15s, background 0.15s;
}
.nav__links a:hover { color: #fff; background: rgb(255 255 255 / 0.06); }
.nav__links a[aria-current='page'] { color: #fff; background: rgb(255 255 255 / 0.09); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.nav__cta { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgb(255 255 255 / 0.14);
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav__burger svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 16px;
    background: var(--ink); border-bottom: 1px solid rgb(255 255 255 / 0.08);
  }
  .nav__links a { padding: 12px 14px; font-size: 16px; }
  .nav.is-open .nav__links { display: flex; }
  .nav__burger { display: inline-flex; }
  .nav__cta .btn--ghost { display: none; }
}
@media (max-width: 480px) {
  .nav__cta .btn { padding: 9px 12px; font-size: 13.5px; }
  .brand small { display: none; }
}

/* ---------- Héros ---------- */
/* [UI] centrage optique : h1 ramené à 58 px max (3 lignes au lieu de 4), mesure du lead 46ch,
   colonne texte légèrement plus large (1fr / 1.1fr), rangée de chiffres en grille alignée. */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding: clamp(64px, 8vw, 100px) 0 clamp(72px, 9vw, 112px);
}
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background:
    radial-gradient(60% 60% at 70% 30%, rgb(99 102 241 / 0.28), transparent 70%),
    radial-gradient(40% 50% at 20% 60%, rgb(124 58 237 / 0.18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(80% 60% at 50% 20%, #000, transparent);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000, transparent);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__inner > :first-child { max-width: 560px; } /* colonne texte (à nommer .hero__copy) */
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; line-height: 1.3;
  background: rgb(255 255 255 / 0.06); border: 1px solid var(--dark-line); font-size: 13px; font-weight: 600; color: #c7cfe0;
}
.hero__pill b { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--indigo); color: #fff; font-size: 11px; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(38px, 4.4vw, 58px); margin-top: 22px; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #a5b4fc, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--dark-muted); margin-top: 20px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero__meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 14px 16px;
  margin-top: 32px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.08);
  color: var(--dark-faint); font-size: 13px; line-height: 1.35;
}
.hero__meta > div { min-width: 0; }
.hero__meta b { display: block; color: #fff; font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.access + .hero__actions { margin-top: 32px; } /* section Accès : remplace le style inline */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__inner > :first-child { max-width: 640px; }
  .hero__visual { max-width: 720px; }
}

/* ---------- Maquette du logiciel (visuel héros) ---------- */
.hero__visual { position: relative; }
.mock {
  --mock-scale: 1;
  position: relative; display: grid; grid-template-columns: 56px 1fr;
  border-radius: 18px; overflow: hidden; background: var(--paper); color: var(--text);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgb(255 255 255 / 0.08);
  font-size: 12px; line-height: 1.35; min-height: 420px;
}
.mock__rail { background: var(--ink); display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 8px; }
.mock__rail img { width: 28px; height: 28px; border-radius: 8px; margin-bottom: 8px; }
.mock__rail i {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #7f8aa3;
}
.mock__rail i.on { background: rgb(255 255 255 / 0.1); color: #fff; box-shadow: inset 2px 0 0 var(--indigo-2); } /* [UI] rappel du filet actif du logiciel */
.mock__rail i svg { width: 16px; height: 16px; }
.mock__rail .mock__dev {
  margin-top: 8px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: rgb(16 185 129 / 0.16); color: #34d399; font-size: 10px; font-weight: 800;
}
.mock__main { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.mock__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mock__title { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.mock__sub { color: var(--muted); font-size: 11px; margin-top: 3px; }
.mock__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
/* [UI] chips : liseré 1px comme dans le logiciel (color-mix ignoré par les vieux navigateurs, sans effet) */
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; line-height: 1.3;
  font-size: 10.5px; font-weight: 700; background: #eef0f4; color: #475569;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.chip--ok { background: #ecfdf5; color: #047857; }
.chip--warn { background: #fffbeb; color: #b45309; }
.chip--bad { background: #fff1f2; color: #be123c; }
.chip--info { background: #eef2ff; color: #4338ca; }
.mock__grade {
  flex: none; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center;
  padding: 8px 12px 8px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.mock__grade b {
  grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, #10b981, #059669); color: #fff; font-size: 20px; font-weight: 800;
}
.mock__grade span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.mock__grade strong { font-size: 14px; letter-spacing: -0.01em; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mcard { background: #fff; border: 1px solid rgb(226 230 238 / 0.8); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); min-width: 0; }
.mcard__k { font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.mcard__v { font-size: 13.5px; font-weight: 700; margin-top: 4px; letter-spacing: -0.01em; }
.mcard__v.mono { font-size: 12px; letter-spacing: 0; white-space: nowrap; }
.mcard__s { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.mcard__s.ok, .mcard__v.ok, .is-ok { color: #047857; } /* [UI] .is-ok remplace le style inline color:#047857 */
.is-bad { color: #be123c; }
.mcard--wide { grid-column: span 2; }
.mcard--ring { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; grid-row: span 2; }
.ring { position: relative; width: 64px; height: 64px; }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring .ring__bg { stroke: #eef0f4; }
.ring .ring__fg { stroke: var(--green); stroke-dasharray: 163.4; stroke-dashoffset: 163.4; transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.6s; }
.is-live .ring .ring__fg { stroke-dashoffset: 14.7; }
.ring__val { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: -0.02em; }
/* [UI] variante grande (page Fonctionnalités) : remplace les tailles inline 96px / 20px */
.ring--lg, .ring--lg svg { width: 96px; height: 96px; }
.ring--lg .ring__val { font-size: 20px; }
.mock__tests { background: #fff; border: 1px solid rgb(226 230 238 / 0.8); border-radius: 14px; padding: 10px 140px 10px 12px; box-shadow: var(--shadow); }
.mock__tests header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 11.5px; }
.mock__tests header span { color: var(--muted); font-weight: 600; }
.bar { height: 6px; border-radius: 999px; background: #eef0f4; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--indigo), var(--violet)); border-radius: 999px; transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.9s; }
.is-live .bar i { width: 64%; }
.mock__tlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 12px; margin: 8px 0 0; padding: 0; font-size: 10.5px; color: var(--muted); }
.mock__tlist li { list-style: none; display: flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s; }
.is-live .mock__tlist li { opacity: 1; transform: none; }
.mock__tlist li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; flex: none; background: #ecfdf5; box-shadow: inset 0 0 0 1px #6ee7b7; }
.mock__tlist li.run::before { background: #eef2ff; box-shadow: inset 0 0 0 1px #a5b4fc; animation: pulse 1.2s ease-in-out infinite; }
.mock__tlist li.fail::before { background: #fff1f2; box-shadow: inset 0 0 0 1px #fda4af; }
.mock__tlist li.todo::before { background: #f1f5f9; box-shadow: inset 0 0 0 1px #cbd5e1; }
.mock__tlist li strong { color: var(--text); font-weight: 600; }
.mock__tlist li.fail strong { color: #be123c; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

/* téléphone compagnon */
.phone {
  position: absolute; right: -14px; bottom: -34px; width: 168px; aspect-ratio: 9 / 19;
  border-radius: 26px; background: #0b1220; padding: 8px;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.1), inset 0 0 0 2px #1f2a44;
  transform: rotate(-4deg);
}
.phone::before { content: ''; position: absolute; top: 14px; left: 50%; width: 46px; height: 5px; margin-left: -23px; border-radius: 999px; background: #1f2a44; }
.phone__screen { width: 100%; height: 100%; border-radius: 20px; background: #fff; color: var(--text); overflow: hidden; display: flex; flex-direction: column; }
.phone__bar { padding: 22px 12px 8px; font-size: 10px; font-weight: 700; display: flex; justify-content: space-between; color: var(--muted); }
.phone__bar b { color: var(--text); }
.phone__title { padding: 0 12px; font-size: 12px; font-weight: 800; letter-spacing: -0.01em; }
.phone__hint { padding: 2px 12px 8px; font-size: 9px; color: var(--muted); }
.touchgrid { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 2px; padding: 0 8px 10px; }
.touchgrid i { border-radius: 3px; background: #eef0f4; transition: background 0.2s; }
.touchgrid i.hit { background: var(--indigo-2); }
@media (max-width: 960px) { .phone { right: 8px; } }
@media (max-width: 560px) {
  .mock { grid-template-columns: 44px 1fr; font-size: 11px; }
  .mock__grid { grid-template-columns: repeat(2, 1fr); }
  .mcard--wide { grid-column: span 2; }
  .mcard--ring { grid-row: auto; grid-column: span 2; }
  .mock__tlist { grid-template-columns: 1fr; }
  .mock__tests { padding-right: 12px; }
  .phone { display: none; }
  .mock__grade { display: none; }
}

/* ---------- Grilles génériques ---------- */
.grid { display: grid; gap: var(--grid-gap); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* [UI] cartes : padding 28/26, titre avec interligne 1.25, hover plus doux, hauteur égale par la grille */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: #d9dfe9; }
.card h3 { font-size: 19px; margin-top: 16px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.55; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: #eef2ff; color: var(--indigo);
}
.icon svg { width: 22px; height: 22px; }
.icon b { font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; } /* [UI] chiffres 1/2/3 sans style inline */
.icon--green { background: #ecfdf5; color: #059669; }
.icon--amber { background: #fffbeb; color: #b45309; }
.icon--rose { background: #fff1f2; color: #be123c; }
.icon--ink { background: var(--ink); color: #fff; }

/* Étapes */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); margin: var(--head-gap) 0 0; padding: 0; list-style: none; }
.step { position: relative; padding: 24px 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; line-height: 1; color: var(--indigo);
}
.step h3 { font-size: 17px; margin-top: 14px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
/* [UI] premier / dernier bloc : padding réduit (évitait le cumul tête sombre + section + feature sur Fonctionnalités) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: clamp(8px, 2vw, 24px); }
.feature:last-of-type { padding-bottom: clamp(8px, 2vw, 24px); }
.feature--flip .feature__text { order: 2; }
.feature__text { min-width: 0; }
.feature h3 { font-size: clamp(24px, 2.8vw, 30px); margin-top: 14px; line-height: 1.15; letter-spacing: -0.025em; }
.feature p { color: var(--muted); margin-top: 14px; font-size: 16px; line-height: 1.6; max-width: 52ch; }
.feature ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.feature li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #ecfdf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; box-shadow: inset 0 0 0 1px #a7f3d0; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature--flip .feature__text { order: 0; } }

/* Panneau illustratif (cartes UI) */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; font-size: 13px; }
.panel--dark { background: var(--ink-2); border-color: rgb(255 255 255 / 0.08); color: var(--dark-text); }
.panel--ring { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; } /* [UI] panneau batterie sans style inline */
.panel__k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); line-height: 1.3; }
.panel--dark .panel__k { color: var(--dark-faint); }
.panel__title { font-size: 16px; font-weight: 800; margin-top: 6px; letter-spacing: -0.01em; }       /* [UI] titre de panneau */
.panel__text { font-size: 14px; margin-top: 2px; color: var(--muted); line-height: 1.5; }
.panel--dark .panel__text { color: var(--dark-muted); }
.panel__status { font-size: 18px; font-weight: 800; margin-top: 6px; letter-spacing: -0.02em; }      /* [UI] « Blacklisté » */
.panel__status + div { margin-top: 8px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; align-items: baseline; }
.kv:last-child { border-bottom: 0; padding-bottom: 0; }
.panel__k + .kv { margin-top: 6px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 700; text-align: right; }
.panel--dark .kv { border-color: rgb(255 255 255 / 0.08); }
.panel--dark .kv span { color: var(--dark-faint); }

/* Catalogue des tests */
.tests { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: var(--head-gap) 0 0; padding: 0; list-style: none; counter-reset: t; }
.test {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-size: 14px; font-weight: 600; line-height: 1.3;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.test:hover { border-color: #cdd5e1; box-shadow: var(--shadow); }
.test::before { counter-increment: t; content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.test small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 2px; }
.tag { display: inline-flex; align-items: center; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; line-height: 1.3; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.tag--auto { background: #eef2ff; color: #4338ca; }
.tag--inter { background: #fffbeb; color: #b45309; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 13.5px; color: var(--muted); align-items: center; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); margin-top: var(--head-gap); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.plan--hot { border-color: transparent; box-shadow: 0 0 0 2px var(--indigo), 0 24px 50px -24px rgb(79 70 229 / 0.5); }
.plan__badge { position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 999px; background: var(--indigo); color: #fff; font-size: 11px; line-height: 1.3; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.plan__name { font-size: 15px; font-weight: 700; color: var(--muted); }
.plan__price { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__price span { color: var(--muted); font-size: 14px; }
.plan__sub { color: var(--muted); font-size: 13.5px; margin-top: 8px; min-height: 40px; line-height: 1.5; }
.plan ul { list-style: none; margin: 18px 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14px; line-height: 1.45; }
.plan li { display: flex; gap: 9px; }
.plan li::before { content: '✓'; color: #059669; font-weight: 800; flex: none; }
.plan .btn { margin-top: auto; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.tokens { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin-top: var(--head-gap); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--ink); color: var(--dark-text); }
.tokens h3 { font-size: 26px; margin-top: 12px; line-height: 1.15; }
.tokens p { color: var(--dark-muted); margin-top: 12px; }
.tokens__packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pack { padding: 16px; border-radius: 14px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.08); }
.pack b { display: block; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.pack span { font-size: 12.5px; color: var(--dark-faint); }
.pack strong { display: block; margin-top: 8px; color: #a5b4fc; font-size: 15px; }
@media (max-width: 860px) { .tokens { grid-template-columns: 1fr; } }

.faq { margin-top: var(--head-gap); display: grid; gap: 10px; max-width: 800px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; transition: border-color 0.15s, box-shadow 0.15s; }
.faq details:hover { border-color: #cdd5e1; }
.faq details[open] { border-color: #c7d2fe; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 24px; height: 24px; display: grid; place-items: center; font-weight: 500; color: var(--faint); font-size: 20px; line-height: 1; border-radius: 50%; transition: transform 0.2s, color 0.2s; }
.faq details[open] summary::after { content: '–'; color: var(--indigo); }
.faq details p { color: var(--muted); padding: 0 0 16px; font-size: 15px; line-height: 1.6; max-width: 70ch; }

/* Téléchargement */
.dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); margin-top: var(--head-gap); }
.dl__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.dl__card h3 { font-size: 19px; }
.dl__card .icon { margin-bottom: 6px; }
.dl__meta { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.dl__meta.mono { font-size: 12.5px; color: var(--faint); }
.dl__card .btn { margin-top: auto; }
.dl__card .dl__meta:last-of-type { margin-bottom: 8px; } /* [UI] respiration avant le bouton collé en bas */
.dl__status { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.dl__status b { color: var(--text); }
.section--dark .dl__status { color: var(--dark-muted); }
.section--dark .dl__status b { color: #fff; }
.dl__more { margin-top: 18px; color: var(--muted); font-size: 14px; } /* [UI] paragraphe « Toutes les versions… » */
.link { color: var(--indigo); font-weight: 600; }                     /* [UI] lien texte indigo, remplace les style="color:var(--indigo)" */
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .dl { grid-template-columns: 1fr; } }
.release { margin-top: var(--head-gap); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow); }
.release__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.release__head .eyebrow { width: 100%; margin-bottom: 6px; }
.release__head b { font-size: 20px; letter-spacing: -0.02em; }
.release__head span { color: var(--muted); font-size: 14px; }
.release__body { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.release__body p { margin-top: 8px; }
.release__body p:first-child { margin-top: 0; }
.release__body strong { color: var(--text); }
.release__body ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.release__history { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.release__history ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.release__history li { display: flex; gap: 8px; align-items: baseline; }
.release__history a { color: var(--indigo); font-weight: 700; }
.release__history span { color: var(--faint); font-size: 13px; }
.note { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: 16px; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; font-size: 14.5px; line-height: 1.55; }
.note svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.note--info { background: #eef2ff; border-color: #c7d2fe; color: #312e81; }
.note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.note code, .card code, .feature code { font-family: var(--mono); font-size: 0.88em; background: rgb(15 23 42 / 0.06); padding: 1px 6px; border-radius: 6px; }
.steps-list { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.steps-list li::marker { font-weight: 700; color: var(--indigo); }
.card .steps-list strong { color: var(--text); }

/* Formulaire */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.form h2 { font-size: 24px; }
.form__intro { color: var(--muted); margin-top: 6px; font-size: 15px; } /* [UI] « Les champs marqués * … » */
.field { display: block; margin-top: 16px; }
.field span { display: block; font-size: 13px; font-weight: 700; color: #475569; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); background: #fff; border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c2d0; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #818cf8; box-shadow: 0 0 0 4px #e0e7ff; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* [UI] case à cocher consentement, sans style inline */
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.field--check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--indigo); }
.field--check span { font-weight: 500; margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 520px) { .field--row { grid-template-columns: 1fr; } }
.trap { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }
.form__error { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-size: 14px; }
.form__ok { text-align: center; padding: 24px 0; }
.form__ok .icon { margin: 0 auto 16px; width: 56px; height: 56px; border-radius: 16px; }
.form__ok .icon svg { width: 26px; height: 26px; }
.form__ok h3 { font-size: 24px; }
.form__ok p { color: var(--muted); margin-top: 10px; max-width: 46ch; margin-inline: auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 56px); align-items: start; margin-top: var(--head-gap); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.aside-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.aside-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.aside-list b { display: block; font-size: 15px; line-height: 1.35; padding-top: 8px; } /* [UI] titre calé sur le centre de l'icône 38px */
.aside-list p { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.aside-list .icon { width: 38px; height: 38px; border-radius: 11px; }
.aside-list .icon svg { width: 18px; height: 18px; }
.aside-list + .panel { margin-top: 28px; }

/* CTA final */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgb(99 102 241 / 0.35), transparent 70%); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; max-width: 30ch; margin-inline: auto; text-wrap: balance; }
.cta p { color: var(--dark-muted); margin: 14px auto 0; max-width: 52ch; font-size: 17px; line-height: 1.6; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--muted); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 32px; align-items: center; }
.footer .brand { color: var(--text); font-size: 17px; }
.footer .brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer .brand small { color: var(--faint); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.footer__links a { display: inline-block; padding: 4px 0; font-weight: 600; transition: color 0.15s; }
.footer__links a:hover { color: var(--text); }
.footer__copy { width: 100%; font-size: 13px; line-height: 1.6; color: var(--faint); max-width: 90ch; }

/* ---------- Captures réelles du logiciel ---------- */
/* [UI] onglets alignés sur le contrôle segmenté du logiciel ; légende : icône 34px calée sur la 1re ligne */
.shots { margin-top: var(--head-gap); }
.shots__tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 14px; background: #eceff4; width: fit-content; max-width: 100%; }
.shots__tabs button {
  border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; line-height: 1.2; padding: 9px 14px; border-radius: 10px; cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.shots__tabs button:hover { color: var(--text); background: rgb(255 255 255 / 0.55); }
.shots__tabs button[aria-selected='true'] { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgb(15 23 42 / 0.08), 0 0 0 1px rgb(15 23 42 / 0.04); }
.shots__tabs button:focus-visible { outline-offset: 0; }
.shots__frame {
  margin-top: 20px; border-radius: 18px; overflow: hidden; background: var(--ink);
  box-shadow: 0 30px 70px -30px rgb(11 18 32 / 0.45), 0 0 0 1px rgb(15 23 42 / 0.08);
}
.shots__frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; background: var(--paper); }
.shots__caption { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 760px; }
.shots__caption > div:last-child { padding-top: 6px; }
.shots__caption b { color: var(--text); }
.shots__caption .icon { width: 34px; height: 34px; border-radius: 10px; }
.shots__caption .icon svg { width: 18px; height: 18px; }
.shot { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px -30px rgb(11 18 32 / 0.45), 0 0 0 1px rgb(15 23 42 / 0.08); background: var(--ink); }
.shot img { width: 100%; height: auto; display: block; }
.shot--crop { aspect-ratio: 4 / 3; }
.shot--crop img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, right top); }
@media (max-width: 560px) { .shots__tabs button { font-size: 13px; padding: 8px 10px; } }

/* Accès sur validation */
/* [UI] colonnes flex : les tags s'alignent en bas des trois cartes quel que soit le texte */
.access { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); margin: var(--head-gap) 0 0; padding: 0; list-style: none; counter-reset: a; }
.access__step { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 26px 22px 24px; border-radius: var(--radius); background: rgb(255 255 255 / 0.05); border: 1px solid var(--dark-line); }
.access__step::before { counter-increment: a; content: counter(a); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--indigo); color: #fff; font-weight: 800; font-size: 15px; line-height: 1; }
.access__step h3 { font-size: 18px; margin-top: 16px; color: #fff; }
.access__step p { color: var(--dark-muted); font-size: 14.5px; line-height: 1.55; margin-top: 8px; margin-bottom: 16px; }
.access__step .tag { margin-top: auto; }
.tag--free { background: rgb(16 185 129 / 0.16); color: #6ee7b7; }
.tag--gate { background: rgb(245 158 11 / 0.16); color: #fcd34d; }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(12px); transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > :nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.is-in > :nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.is-in > :nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.is-in > :nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.is-in > :nth-child(6) { transition-delay: 300ms; }
.reveal-stagger.is-in > :nth-child(n + 7) { transition-delay: 340ms; }
/* [UI] les cartes .reveal-stagger gardent leur hover : la transition transform/opacity du stagger
   se cumule avec celle de .card (même propriété) ; on rétablit le hover une fois révélé. */
.reveal-stagger.is-in > .card:hover { transform: translateY(-2px); transition-duration: 0.2s; transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .ring .ring__fg { stroke-dashoffset: 14.7; }
  .bar i { width: 64%; }
  .mock__tlist li { opacity: 1; transform: none; }
}

/* ---------- Compléments (orchestration) ---------- */
[data-spaced] { margin-top: clamp(56px, 7vw, 88px); }
.form__title { font-size: 24px; }
.panel__status--bad { color: #be123c; }
.dl__alt { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.section.section--tight { padding-top: 0; }
.panel--spaced { margin-top: 28px; }
.panel--dark .panel__k { color: var(--dark-faint); }
.note--spaced { margin-top: 28px; }
/* [orchestration] maquette du héros à 1024–1440 px : la carte batterie ne doit pas empiler ses lignes */
.mcard--ring .mcard__v { font-size: 12.5px; white-space: nowrap; }
.mcard--ring .mcard__s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard__v.mono { font-size: 11px; }

/* ---------- Menu burger (icône animée + panneau mobile) ---------- */
.nav__menu-cta { display: none; }
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger > span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, top 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.burger > span:nth-child(1) { top: 0; }
.burger > span:nth-child(2) { top: 6px; }
.burger > span:nth-child(3) { top: 12px; }
.nav.is-open .burger > span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav.is-open .burger > span:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.nav.is-open .burger > span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.nav__burger { transition: background 0.2s ease, border-color 0.2s ease; }
.nav__burger:hover { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.26); }
.nav.is-open .nav__burger { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.28); }

/* ---------- Téléphone du héros : séquence de tests animée ---------- */
.phone__body { position: relative; flex: 1; overflow: hidden; }
.phone__stage {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.phone__stage.is-next { transform: translateX(105%); }
.phone__stage.is-prev { transform: translateX(-35%); opacity: 0; }
.phone__stage.no-anim, .touchgrid.no-anim i { transition: none !important; }
.touchgrid i { transition: background 0.18s ease, transform 0.18s ease; }
.touchgrid i.hit { transform: scale(0.94); }
.touchgrid.done i { background: var(--green); transform: none; transition: background 0.35s ease; }
.phone__count { display: inline-block; transition: color 0.2s ease; }
.phone__count.bump { animation: phoneBump 0.45s ease; color: #059669; }
@keyframes phoneBump { 40% { transform: scale(1.25); } }
.multitouch { position: relative; flex: 1; margin: 0 8px 10px; border-radius: 10px; background: #f3f4fa; border: 1px dashed #d7dbeb; }
.finger {
  position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: rgb(99 102 241 / 0.28); box-shadow: 0 0 0 2px var(--indigo-2);
  transform: scale(0); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.finger--a { left: 28%; top: 38%; }
.finger--b { left: 56%; top: 54%; }
.finger.on { transform: scale(1); animation: fingerPulse 1s ease-out 0.3s infinite; }
@keyframes fingerPulse { 0% { box-shadow: 0 0 0 2px var(--indigo-2), 0 0 0 0 rgb(99 102 241 / 0.45); } 100% { box-shadow: 0 0 0 2px var(--indigo-2), 0 0 0 12px rgb(99 102 241 / 0); } }
.phone__ok {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: rgb(255 255 255 / 0.9); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  text-align: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.phone__ok.show { opacity: 1; }
.phone__ok svg { width: 50px; height: 50px; margin-bottom: 4px; }
.phone__ok circle { fill: var(--green); transform-origin: 26px 26px; transform: scale(0.4); opacity: 0; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease; }
.phone__ok path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; transition: stroke-dashoffset 0.35s ease 0.25s; }
.phone__ok.show circle { transform: scale(1); opacity: 1; }
.phone__ok.show path { stroke-dashoffset: 0; }
.phone__ok b { font-size: 12px; font-weight: 800; color: #047857; }
.phone__ok span { font-size: 9.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .phone__stage, .touchgrid i, .phone__ok, .phone__ok circle, .phone__ok path, .finger { transition: none !important; animation: none !important; }
}

/* ---------- Crédit TBLT (pied de page) ---------- */
.footer__credit {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 13.5px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.footer__credit strong { color: var(--text); font-weight: 800; letter-spacing: 0.04em; }
.footer__credit-logo {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #1a1033, #0b1220); color: #fff; font-weight: 800; font-size: 13px;
  box-shadow: inset 0 0 0 1px rgb(139 92 246 / 0.45), 0 0 12px -2px rgb(139 92 246 / 0.55);
}
.footer__credit svg { width: 14px; height: 14px; opacity: 0.55; transition: transform 0.2s ease, opacity 0.2s ease; }
.footer__credit:hover { border-color: #c4b5fd; color: var(--text); box-shadow: 0 8px 22px -12px rgb(124 58 237 / 0.45); transform: translateY(-1px); }
.footer__credit:hover svg { opacity: 1; transform: translate(2px, -2px); }
@media (max-width: 480px) { .footer__credit { font-size: 12.5px; } }
