/* =========================================================
   ScanYourIQ — styles (mobile d'abord)
   ========================================================= */
:root {
  --ink: #0b0c27;
  --text: #0d0d0e;
  --muted: #5b6475;
  --muted-2: #8a93a3;
  --line: #e5e7eb;
  --line-2: #cbd5e1;
  --soft: #f4f6f9;
  --key: #f1f5f9;
  --teal: #0d766e;
  --teal-hover: #0a5f58;
  --blue: #4a63e7;
  --blue-soft: #e8f2fd;
  --green: #00b67a;
  --dark: #0e1023;
  --radius: 16px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -0.02em; }
p { margin: 0; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.center { text-align: center; }
.muted { color: var(--muted); }
.blue { color: var(--blue); }
.demo-badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: #fff4e0; color: #9a6200; border: 1px solid #f6d79d; border-radius: 6px; padding: 2px 6px; vertical-align: middle; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 28px; border-radius: 9999px; border: 0; background: var(--teal); color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .15s, transform .05s; }
.btn:hover { background: var(--teal-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-outline:hover { background: var(--soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; height: 65px; border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-size: 21px; letter-spacing: -0.03em; }
.logo svg { width: 28px; height: 28px; }
.logo .l1 { font-weight: 400; }
.logo .l2 { font-weight: 800; }
.nav-desktop { display: none; gap: 28px; font-size: 14px; }
.nav-desktop a { text-decoration: none; color: var(--muted); }
.nav-desktop a:hover { color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 12px; }
.header-right .login { display: none; font-size: 14px; text-decoration: none; }
.header-right .cta-desktop { display: none; }
.burger { width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; background: none; display: grid; place-items: center; cursor: pointer; }
.burger.open { border-color: var(--teal); }
.burger svg { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .nav-desktop, .header-right .login, .header-right .cta-desktop { display: inline-flex; }
  .burger { display: none; }
}

/* Menu mobile plein écran */
.mobile-menu { position: fixed; inset: 65px 0 0 0; background: #fff; z-index: 55; display: none; flex-direction: column; padding: 8px 16px 24px; }
.mobile-menu.open { display: flex; }
.mobile-menu a.item { display: block; padding: 18px 0; font-size: 24px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .bottom { margin-top: auto; display: grid; gap: 14px; text-align: center; }
.mobile-menu .bottom a.login { font-size: 14px; text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.sec-title { font-size: 30px; line-height: 1.15; font-weight: 600; }
.sec-sub { font-size: 18px; line-height: 1.5; color: var(--text); margin-top: 14px; }
.sec-head-center { text-align: center; max-width: 640px; margin: 0 auto 32px; }
@media (min-width: 900px) { .sec-title { font-size: 44px; } }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237c8ba1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Fond "carte dégradée" utilisé autour des visuels */
.glow { padding: 20px; border-radius: 28px; background: linear-gradient(180deg, #eef5f3 0%, #eef0fb 100%); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 8px 24px rgba(16, 24, 40, .06); }
.panel-title { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }

/* ---------- HERO ---------- */
.hero { padding: 28px 0 40px; }
.hero h1 { font-size: 36.5px; line-height: 1.12; font-weight: 600; }
.hero .lead { font-size: 18px; line-height: 1.6; margin-top: 22px; color: var(--text); }
.gender-box { margin-top: 26px; text-align: center; }
.gender-box .label { font-size: 13px; color: var(--text); margin-bottom: 12px; }
.gender-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-top: 18px; font-size: 14px; }
.rating strong { font-weight: 700; }
.stars-box { display: inline-flex; gap: 2px; }
.stars-box i { width: 18px; height: 18px; background: var(--green); display: grid; place-items: center; }
.stars-box i::after { content: "★"; color: #fff; font-size: 13px; font-style: normal; line-height: 1; }
.stars-box i.off { background: #dcdce6; }
.rating .src { width: 100%; text-align: center; font-weight: 600; font-size: 14px; }
.hero-visual { margin-top: 36px; }
.result-big { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.result-row { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 12px; }
.result-row .unit { font-size: 13px; color: var(--muted); }
.result-foot { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; font-size: 12px; color: var(--muted); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
  .hero h1 { font-size: 56px; }
  .hero-visual { margin-top: 0; }
  .gender-box { text-align: left; max-width: 420px; }
  .rating { justify-content: flex-start; }
  .rating .src { width: auto; }
}

/* Barre fixe Homme/Femme (mobile) */
.sticky-gender { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(16,24,40,.06); transform: translateY(110%); transition: transform .25s ease; }
.sticky-gender.show { transform: none; }
.sticky-gender .label { font-size: 12px; text-align: center; margin-bottom: 8px; }
@media (min-width: 900px) { .sticky-gender { display: none; } }

/* ---------- Presse ---------- */
.press { padding: 20px 0 8px; overflow: hidden; }
.press .eyebrow { text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.marquee { display: flex; gap: 40px; width: max-content; animation: marquee 22s linear infinite; }
.press-logo { height: 26px; min-width: 110px; padding: 0 10px; border-radius: 6px; background: var(--soft); color: var(--muted-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 4px; margin-top: 28px; }
.stat { padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; }
.stat:last-child { border-bottom: 0; }
.stat::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 2px; background: var(--blue); }
.stat:last-child::after { display: none; }
.stat .v { font-size: 34px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.stat .l { font-size: 13px; color: var(--text); margin-top: 4px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 32px; } .stat { border: 0; } }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 40px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step-visual { height: 200px; border-radius: 22px; background: linear-gradient(180deg, #f3f6fb, #eef1f8); display: grid; place-items: center; padding: 20px; }
.step-visual .mini { width: 100%; max-width: 230px; background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 6px 18px rgba(16,24,40,.06); }
.step-num { display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 500; background: var(--key); border-radius: 6px; padding: 2px 8px; }
.step h3 { font-size: 19px; font-weight: 600; margin-top: 10px; }
.step p { font-size: 14px; line-height: 1.55; margin-top: 8px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; justify-items: center; }
.mini-grid span { width: 26px; height: 26px; border-radius: 6px; }
.mini-bar { height: 6px; border-radius: 99px; background: var(--blue); margin-top: 10px; }

/* ---------- Rapport (lignes de stats) ---------- */
.rows { display: grid; gap: 10px; margin-top: 14px; }
.row-stat { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; }
.row-stat strong { font-size: 22px; font-weight: 600; color: var(--blue); }
.note { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* ---------- Architecture cognitive ---------- */
.skills { display: grid; gap: 16px; }
@media (min-width: 900px) { .skills { grid-template-columns: repeat(3, 1fr); } }
.skill { border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.skill-top { display: flex; align-items: center; gap: 16px; }
.skill-ring { width: 78px; height: 78px; flex: none; position: relative; }
.skill-ring .n { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 28px; font-weight: 600; line-height: 1; }
.skill-ring .n small { display: block; font-size: 10px; color: var(--muted-2); font-weight: 400; margin-top: 2px; }
.skill h3 { font-size: 18px; font-weight: 600; }
.tag { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 500; background: var(--key); border-radius: 6px; padding: 3px 8px; }
.skill p { font-size: 14px; margin-top: 14px; line-height: 1.5; }

/* ---------- Classement ---------- */
.rank-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rank-tile { background: var(--blue-soft); border-radius: 12px; padding: 12px; }
.rank-tile .k { font-size: 12px; }
.rank-tile .v { font-size: 22px; font-weight: 600; color: var(--blue); }

/* ---------- Personnalités (carte sombre) ---------- */
.dark-card { background: var(--dark); color: #fff; border-radius: 24px; overflow: hidden; }
.dark-card .art { height: 300px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a2f55, #0e1023 70%); }
.dark-card .body { padding: 24px; }
.dark-card .eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9aa0bd; }
.dark-card h2 { color: #fff; font-size: 24px; font-weight: 600; margin-top: 10px; line-height: 1.2; }
.dark-card p { color: #c6c9dc; font-size: 14px; margin-top: 10px; }
.fig-list { margin-top: 20px; }
.fig { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #8d92b0; }
.fig.active { color: #fff; font-weight: 600; }
.dark-card .src { font-size: 11px; color: #7d82a3; margin-top: 12px; }

/* ---------- Certificat ---------- */
.pill-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--key); border-radius: 999px; padding: 6px 12px; }
.cert { background: #fff; border-radius: 18px; padding: 22px 18px; text-align: center; box-shadow: 0 8px 24px rgba(16,24,40,.06); border: 1px solid var(--line); }
.cert-top { display: flex; justify-content: space-between; align-items: center; }
.cert .t1 { font-size: 11px; color: var(--muted); margin-top: 14px; }
.cert .t2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: .3em; font-size: 20px; margin-top: 4px; }
.cert .t3 { font-size: 12px; color: var(--muted); margin-top: 14px; }
.cert .name { font-family: Georgia, "Times New Roman", serif; font-size: 30px; margin-top: 4px; color: var(--ink); }
.cert .t4 { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.cert .score { font-size: 34px; font-weight: 700; color: var(--blue); margin-top: 6px; display: flex; align-items: center; gap: 14px; justify-content: center; }
.cert .score::before, .cert .score::after { content: ""; width: 40px; height: 1px; background: var(--line-2); }
.cert .date { font-size: 12px; font-weight: 600; margin-top: 4px; }
.cert .id { font-size: 12px; color: var(--muted); margin-top: 18px; }
.cert .id b { color: var(--ink); }

/* ---------- Entraînement / cours ---------- */
.session-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; }
.session-item .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; font-size: 16px; flex: none; }
.session-item .tx { flex: 1; min-width: 0; }
.session-item .tx b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.session-item .tx span { font-size: 12px; color: var(--muted); }
.session-item .min { font-size: 12px; font-weight: 600; }
.lib-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 6px 0 14px; }
.lib-stats .v { font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.lib-stats .l { font-size: 12px; color: var(--muted); }
.lib-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.course { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.course:first-of-type { border-top: 0; }
.course .ico { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.course b { font-size: 14px; font-weight: 600; display: block; }
.course span { font-size: 12px; color: var(--muted); }
.course .prog { height: 4px; border-radius: 99px; background: var(--key); margin-top: 6px; overflow: hidden; }
.course .prog i { display: block; height: 100%; width: 25%; background: var(--blue); }
.course .blue { font-size: 12px; }

/* ---------- Avis (carrousel) ---------- */
.reviews-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 82%; max-width: 330px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; }
.review-top { display: flex; justify-content: space-between; align-items: center; }
.invited { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.review h4 { font-size: 17px; font-weight: 600; margin-top: 12px; line-height: 1.3; }
.review p { font-size: 14px; margin-top: 8px; line-height: 1.5; }
.review .who { font-size: 13px; margin-top: 14px; }
.review .who b { font-weight: 600; }
.reviews-note { text-align: center; font-size: 13px; margin-top: 16px; line-height: 1.5; }

/* ---------- Offre ---------- */
.plan { margin-top: 28px; }
.plan .eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.plan-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan-tile { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.plan-tile .k { font-size: 13px; font-weight: 600; }
.plan-tile .v { font-size: 22px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.plan-tile .s { font-size: 12px; color: var(--muted); }
.legal { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 12px; text-align: center; }
.legal a { color: var(--blue); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; font-size: 16px; line-height: 1.55; }

/* ---------- CTA final ---------- */
.final-cta { background: var(--soft); border-radius: 24px; padding: 28px 22px; }
.final-cta h2 { font-size: 28px; font-weight: 600; line-height: 1.2; }
.final-cta p { font-size: 18px; margin-top: 10px; }
.final-cta .small { font-size: 12px; margin-top: 12px; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 120px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 48px; } }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.socials svg { width: 14px; height: 14px; }
.verify-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-decoration: none; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; margin-top: 32px; }
.foot-cols h3 { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-cols a { text-decoration: none; font-size: 14px; }
.foot-cols .full { grid-column: 1 / -1; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 12px; color: var(--muted); line-height: 1.5; display: grid; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; width: fit-content; margin-top: 6px; color: var(--text); }
@media (min-width: 900px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } .foot-cols .full { grid-column: auto; } }

/* =========================================================
   TUNNEL (test, analyse, e-mail, offre, paiement, résultats)
   ========================================================= */
.funnel-body { min-height: 100vh; display: flex; flex-direction: column; }
.funnel-header { height: 64px; position: relative; background: #fff; }
.funnel-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.funnel-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.counter { color: var(--muted-2); }
.counter b { color: var(--ink); font-weight: 600; }
.timer { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-variant-numeric: tabular-nums; }
.progress-track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-soft); }
.progress-bar { height: 100%; width: 0; background: var(--blue); transition: width .35s ease; }
.funnel-main { flex: 1; padding: 20px 0 40px; }
.stage { max-width: 560px; margin: 0 auto; text-align: center; animation: fade .3s ease; }
.stage.wide { max-width: 1000px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .funnel-main { display: flex; align-items: center; } .funnel-main > .container { width: 100%; } }

.q-title { font-size: 25.6px; line-height: 1.3; font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.q-sub { font-size: 16px; margin: -10px 0 22px; }
.options { display: grid; gap: 12px; text-align: left; }
.option { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; cursor: pointer; font-size: 16px; transition: border-color .12s, background .12s; }
.option:hover { border-color: #94a3b8; }
.option.selected { border-color: var(--blue); background: #f5f8ff; }
.option .key { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--key); display: grid; place-items: center; font-size: 12px; font-weight: 500; color: #1a1f2e; }
.likert .option { justify-content: flex-start; }
.likert .option:nth-child(1) { background: #eefaf3; border-color: #cdebd9; }
.likert .option:nth-child(2) { background: #f3fbf6; border-color: #9fd3b6; }
.likert .option:nth-child(3) { background: #fffaf0; border-color: #f1dfb6; }
.likert .option:nth-child(4) { background: #fdf4f4; border-color: #efd0d0; }
.likert .option:nth-child(5) { background: #fbefef; border-color: #ecc8c8; }

.memo-box { background: var(--soft); border-radius: 20px; padding: 34px 16px; font-size: 52px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 18px 0 14px; }
.hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 24px; }
.digits { display: inline-flex; gap: 10px; padding: 14px; border-radius: 16px; background: var(--soft); margin: 10px 0 12px; }
.digit { width: 48px; height: 56px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 600; box-shadow: 0 1px 3px rgba(16,24,40,.06); }
.cd-track { height: 2px; background: var(--line); max-width: 260px; margin: 0 auto 10px; border-radius: 9px; overflow: hidden; }
.cd-track span { display: block; height: 100%; width: 100%; background: var(--blue); transition: width linear; }

/* Matrices */
.matrix-layout { display: grid; gap: 22px; }
.matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: #fff; }
.matrix-cell { aspect-ratio: 1; display: grid; place-items: center; }
.matrix-cell.missing { border: 2px solid var(--blue); border-radius: 6px; background: #fff; color: var(--blue); font-size: 46px; font-weight: 800; }
.answers-title { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.matrix-answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.matrix-answer { aspect-ratio: 1.3; border: 1px solid transparent; border-radius: 14px; background: #f3f5f8; padding: 8px; cursor: pointer; }
.matrix-answer:hover { border-color: #94a3b8; background: #fff; }
.matrix-answer.selected { border-color: var(--blue); background: #f5f8ff; }
@media (min-width: 900px) { .matrix-layout { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; } .matrix-answers { grid-template-columns: repeat(2, 1fr); } }

/* Écran preuve sociale */
.proof h2 { font-size: 30px; line-height: 1.2; font-weight: 600; text-align: left; }
.proof .stars-row { display: flex; gap: 2px; margin-top: 16px; color: #f5b301; font-size: 14px; }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; text-align: left; }
.proof-stats > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.proof-stats .v { font-size: 22px; font-weight: 600; }
.proof-stats .l { font-size: 12px; color: var(--muted); }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-top: 24px; text-align: center; box-shadow: 0 4px 16px rgba(16,24,40,.05); }
.quote-card h4 { font-size: 16px; font-weight: 600; }
.quote-card p { font-size: 13px; margin-top: 8px; color: var(--muted); }

/* Analyse */
.analyse-card { border-radius: 24px; padding: 24px 18px; background: linear-gradient(180deg, #f4f6fe, #f2f8f6); text-align: left; }
.analyse-card h1 { font-size: 30px; font-weight: 600; line-height: 1.15; }
.analyse-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.ring { width: 96px; height: 96px; flex: none; }
.metrics { display: flex; justify-content: space-between; gap: 6px; margin-top: 20px; overflow-x: auto; }
.metric { display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; color: var(--muted); }
.metric .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.metric.done { color: var(--ink); } .metric.done .dot { background: var(--green); }
.metric.active { color: var(--blue); } .metric.active .dot { background: var(--blue); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(40, 44, 90, .25); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .2s ease; }
.modal { width: 100%; max-width: 360px; background: #fff; border-radius: 18px; padding: 24px 20px; text-align: center; box-shadow: 0 20px 50px rgba(16,24,40,.18); }
.modal .bar-top { width: 32px; height: 3px; border-radius: 9px; background: var(--blue); margin: 0 auto 16px; }
.modal h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.modal h3.caps { font-size: 22px; letter-spacing: .02em; }
.modal p { font-size: 14px; margin-top: 10px; line-height: 1.5; }
.modal .privacy { display: flex; align-items: center; gap: 8px; text-align: left; font-size: 12px; background: var(--blue-soft); border-radius: 10px; padding: 10px 12px; margin-top: 14px; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.modal-actions .btn-outline { height: 46px; border-radius: 12px; font-weight: 500; }

/* Formulaires */
.input { width: 100%; height: 54px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 9999px; font-size: 16px; font-family: inherit; outline: none; background: #fff; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form { display: grid; gap: 12px; max-width: 360px; margin: 24px auto 0; }
.err { color: #d14343; font-size: 13px; min-height: 18px; }
.fine { font-size: 11px; color: var(--muted); line-height: 1.5; text-align: center; }
.fine a { color: var(--blue); }

/* Résultats */
.blurred { filter: blur(8px); user-select: none; pointer-events: none; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.kpi { background: var(--soft); border-radius: 14px; padding: 12px 8px; text-align: center; }
.kpi .k { font-size: 11px; color: var(--muted); }
.kpi .v { font-size: 20px; font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: var(--key); overflow: hidden; margin-top: 6px; }
.bar > span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 99px; transition: width 1s ease; }
.answer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .answer-list { grid-template-columns: repeat(4, 1fr); } }
.answer-item { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-size: 13px; background: var(--soft); }
.answer-item.ok { background: #eaf7f0; color: #146c47; }
.answer-item.ko { background: #fcefef; color: #a12f2f; }
.answer-item.na { color: var(--muted); }

@media print {
  body * { visibility: hidden; }
  #certificate, #certificate * { visibility: visible; }
  #certificate { position: absolute; inset: 0 auto auto 0; width: 100%; box-shadow: none; }
}

/* Correctifs */
.btn { white-space: nowrap; }
.panel .btn, .final-cta .btn { padding: 0 16px; }
.matrix-layout > * { min-width: 0; }
.matrix-cell, .matrix-answer { min-width: 0; overflow: hidden; }
.matrix-cell svg, .matrix-answer svg { width: 100%; height: 100%; }
