/* Police auto-hébergée (aucun appel à Google : pas de transfert d'IP des visiteurs) */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #060606;
  --bg2: #111111;
  --card: rgba(255, 255, 255, .045);
  --card-hi: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .1);
  --text: #f7f2e3;
  --muted: #a8a39a;
  --green: #ffd23f;
  --green2: #ffb020;
  --violet: #3fae82;
  --pink: #ff7a59;
  --gold: #ffe68a;
  --red: #ff6b5b;
  --orange: #ffa53d;
  --good: #6fe3a5; /* états positifs (score, points OK) */
  --radius: 22px;
  --grad: linear-gradient(90deg, var(--green), var(--green2) 30%, #fff1b8 50%, var(--green2) 70%, var(--green)); /* reflet doré d'étiquette de prix */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--violet); color: #fff; }

/* ---------- Fond animé ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-fx::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 70%); }
/* Grain argentique très léger : casse l'aplat numérique */
.bg-fx::after { content: ''; position: absolute; inset: -50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .07; mix-blend-mode: overlay; animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(0,0); } }
.blob { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(110px); animation: float 18s ease-in-out infinite alternate; }
/* Lumière blanche douce en haut, comme un projecteur de studio */
.blob.b1 { background: #fff; top: -42vmax; left: 50%; margin-left: -30vmax; opacity: .085; }
.blob.b2 { background: #fff; top: 40vh; right: -45vmax; opacity: .03; animation-delay: -6s; }
.blob.b3 { background: var(--green); bottom: -50vmax; left: -20vw; opacity: .025; animation-delay: -12s; }
@keyframes float { to { transform: translate3d(8vw, 6vh, 0) scale(1.15) rotate(40deg); } }
#coins { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Utilitaires ---------- */
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.grad-text { background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--muted); backdrop-filter: blur(12px); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---------- Boutons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 16px; font-weight: 800; font-size: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-main { background: var(--grad); background-size: 200% auto; color: #0a0a0a; box-shadow: 0 10px 40px -8px rgba(255,210,63, .55), inset 0 1px 0 rgba(255,255,255,.4); animation: shine 4s linear infinite; }
.btn-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 2.8s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(120%); } }
.btn-main:hover { box-shadow: 0 14px 60px -6px rgba(255,210,63, .8); transform: translateY(-2px); }
.btn-ghost { background: var(--card); border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--card-hi); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Barre d'annonce ---------- */
.ticker { overflow: hidden; background: linear-gradient(90deg, #161616, #1d1d1d, #161616); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 42px; padding: 9px 0; animation: marquee 28s linear infinite; }
.ticker-track span { color: #fff4c9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(10,10,10, .6); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 800 20px/1 var(--display); letter-spacing: -.035em; }
.logo-mark { position: relative; width: 34px; height: 34px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M3.5%2016%2011%206.5h16a2.5%202.5%200%200%201%202.5%202.5v14a2.5%202.5%200%200%201-2.5%202.5H11z%22%20fill%3D%22%23ffd23f%22/%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2216%22%20r%3D%222%22%20fill%3D%22%230a2419%22/%3E%3Cpath%20d%3D%22M15.5%2021%2022%2012.5m-5%200h5v5%22%20fill%3D%22none%22%20stroke%3D%22%230a2419%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat; transform-origin: 30% 50%; animation: swing 3.2s ease-in-out infinite; filter: drop-shadow(0 4px 14px rgba(255,210,63,.35)); }
@keyframes swing { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(6deg); } } /* l'étiquette se balance */
@keyframes spin { to { transform: rotate(360deg); } }
.logo b { color: inherit; font-weight: inherit; }
.logo span:not(.logo-mark) { display: inline; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links .btn { min-height: 40px; padding: 0 14px; font-size: 13px; border-radius: 12px; }
.nav-links .link { display: none; padding: 8px 12px; color: var(--muted); font-weight: 600; font-size: 14px; }
.nav-links .link:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font: 800 clamp(38px, 10.5vw, 76px)/1.02 var(--display); letter-spacing: -.045em; margin: 18px 0 18px; }
.hero .lead { font-size: clamp(17px, 4.4vw, 20px); color: var(--muted); max-width: 560px; }
.hero .lead strong { color: var(--text); }
.store-form { margin-top: 28px; display: grid; gap: 10px; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(255,176,32,0.3); position: relative; }
.store-form::before { content: ''; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; background: var(--grad); background-size: 300% auto; animation: shine 3s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.store-input { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 54px; border-radius: 15px; background: rgba(0,0,0,.35); }
.store-input svg { flex: none; opacity: .7; }
.store-input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 16px; }
.store-input input::placeholder { color: #77736b; }
.micro { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.micro span::before { content: '✓ '; color: var(--green); font-weight: 900; }

/* Téléphone de démonstration */
.phone-stage { position: relative; display: grid; place-items: center; perspective: 1200px; min-height: 560px; }
.phone { position: relative; width: min(300px, 82vw); aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px; background: linear-gradient(145deg, #262626, #0c0c0c); box-shadow: 0 60px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12), 0 0 90px -10px rgba(255,176,32,0.275); transform: rotateY(-14deg) rotateX(6deg); animation: phoneFloat 6s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes phoneFloat { 50% { transform: rotateY(-8deg) rotateX(2deg) translateY(-14px); } }
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: radial-gradient(circle at 50% 0%, #171717, #0a0a0a 70%); padding: 38px 16px 16px; }
.phone-notch { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 90px; height: 24px; background: #000; border-radius: 20px; z-index: 3; }
.ph-title { font: 700 12px var(--font); color: var(--muted); text-align: center; }
.ph-store { font: 800 15px var(--display); text-align: center; margin-top: 2px; }
.gauge { position: relative; width: 170px; height: 170px; margin: 16px auto 6px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .track { stroke: rgba(255,255,255,.08); }
.gauge .val { stroke: url(#g); stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.gauge::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; box-shadow: 0 0 60px 6px rgba(255,210,63,.25); }
.gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-num b { font: 800 46px/1 var(--display); letter-spacing: -.04em; }
.gauge-num small { font-size: 12px; color: var(--muted); font-weight: 600; }
.ph-rows { display: grid; gap: 8px; margin-top: 10px; }
.ph-row { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.ph-row span { width: 82px; color: var(--muted); }
.ph-bar { flex: 1; height: 7px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; }
.ph-bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: var(--grad); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.ph-money { margin-top: 14px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, rgba(255,210,63,.16), rgba(255,176,32,0.08)); border: 1px solid rgba(255,210,63,.3); text-align: center; }
.ph-money small { font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ph-money b { display: block; font: 800 26px/1.1 var(--display); color: var(--green); text-shadow: 0 0 20px rgba(255,210,63,.6); }
.scan-line { position: absolute; left: 0; right: 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(255,210,63,.18), transparent); border-bottom: 1px solid rgba(255,210,63,.6); animation: scan 3.2s ease-in-out infinite; z-index: 2; pointer-events: none; }
@keyframes scan { 0% { top: -90px; } 100% { top: 100%; } }
.toast { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 11px 14px; border-radius: 16px; background: rgba(14,14,14, .85); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); font-size: 12.5px; font-weight: 600; line-height: 1.3; opacity: 0; transform: translateY(20px) scale(.9); transition: all .5s cubic-bezier(.2,1.4,.4,1); }
.toast.show { opacity: 1; transform: none; }
.toast .ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-size: 16px; background: rgba(255,210,63,.15); }
.toast.t1 { top: -1%; left: -2%; } /* au-dessus du titre du téléphone, sans le masquer */
.toast.t2 { top: 42%; right: -4%; }
.toast.t3 { bottom: 10%; left: 0; }

/* ---------- Sections ---------- */
section { padding: 70px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font: 800 clamp(30px, 7.5vw, 52px)/1.06 var(--display); letter-spacing: -.035em; margin-top: 12px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { padding: 20px; text-align: center; }
.stat b { display: block; font: 800 34px/1 var(--display); letter-spacing: -.03em; }
.stat span { font-size: 13px; color: var(--muted); }

/* Bento fonctionnalités */
.bento { display: grid; gap: 14px; }
.feature { position: relative; padding: 24px; overflow: hidden; transition: transform .35s, border-color .35s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(255,210,63,.35); }
.feature::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(var(--glow, rgba(255,210,63,.25)), transparent 70%); top: -120px; right: -100px; transition: transform .5s; }
.feature:hover::before { transform: scale(1.4); }
.feature h3 { font: 800 21px/1.2 var(--display); letter-spacing: -.02em; margin: 14px 0 8px; position: relative; }
.feature p { color: var(--muted); font-size: 15px; position: relative; }
.feature .tag-plan { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.08); color: var(--muted); }
.f-ic { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, rgba(255,210,63,.2), rgba(255,176,32,0.1)); border: 1px solid var(--line); }
.viz { position: relative; margin-top: 18px; height: 110px; border-radius: 16px; background: rgba(0,0,0,.28); border: 1px solid var(--line); overflow: hidden; }
.viz-bars { display: flex; align-items: flex-end; gap: 7px; padding: 14px; }
.viz-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--grad); background-size: 100% 300%; height: 10%; transition: height 1.2s cubic-bezier(.2,.8,.2,1); }
.in .viz-bars i { height: var(--h); }
.viz-radar { display: grid; place-items: center; }
.radar { position: relative; width: 94px; height: 94px; border-radius: 50%; border: 1px solid rgba(255,210,63,.35); background: radial-gradient(circle, transparent 30%, rgba(255,210,63,.06) 31%, transparent 32%, transparent 62%, rgba(255,210,63,.08) 63%, transparent 64%); }
.radar::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,210,63,.55), transparent 25%); animation: spin 2.2s linear infinite; }
.radar i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: blip 2.2s infinite; }
@keyframes blip { 0%, 100% { opacity: .2; transform: scale(.6); } 20% { opacity: 1; transform: scale(1.4); } }
.viz-spark svg { width: 100%; height: 100%; }
.viz-spark path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s ease; }
.in .viz-spark path { stroke-dashoffset: 0; }
.viz-list { padding: 12px; display: grid; gap: 7px; height: auto !important; min-height: 110px; } /* les 3 exemples toujours visibles en entier */
.viz-list div { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.05); transform: translateX(-20px); opacity: 0; transition: all .6s; transition-delay: var(--d); }
.in .viz-list div { transform: none; opacity: 1; }
.pill { flex: none; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 99px; }
.pill.hi { background: rgba(255,107,91,.18); color: var(--red); }
.pill.md { background: rgba(255,165,61,.18); color: var(--orange); }
.pill.lo { background: rgba(255,176,32,.16); color: var(--green2); }
.pill.ok { background: rgba(111,227,165,.16); color: var(--good); }

/* Étapes */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; counter-reset: s; }
.step > div { min-width: 0; overflow-wrap: break-word; }
.step { padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.step-n { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font: 800 20px var(--display); background: var(--grad); color: #0a0a0a; box-shadow: 0 10px 30px -8px rgba(255,210,63,.6); }
.step h3 { font: 800 19px var(--display); margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 15px; }

/* Simulateur */
.sim { padding: 26px; display: grid; gap: 24px; }
.sim label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.sim label output { float: right; color: var(--green); font-family: var(--display); }
.sim input[type=range] { width: 100%; accent-color: var(--green); height: 30px; }
.sim-out { text-align: center; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, rgba(255,210,63,.14), rgba(255,176,32,0.09)); border: 1px solid rgba(255,210,63,.3); }
.sim-out b { display: block; font: 800 clamp(40px, 12vw, 64px)/1 var(--display); letter-spacing: -.04em; margin: 8px 0; color: var(--green); text-shadow: 0 0 40px rgba(255,210,63,.45); }
.sim-out small { color: var(--muted); font-size: 12px; }

/* Tarifs */
.pricing { display: grid; gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; transition: transform .35s; }
.plan:hover { transform: translateY(-6px); }
.plan h3 { font: 800 22px var(--display); display: flex; align-items: center; justify-content: space-between; }
.plan .price { font: 800 50px/1 var(--display); letter-spacing: -.04em; }
.plan .price small { font: 600 15px var(--font); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; display: grid; gap: 11px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: '✓'; flex: none; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #0a0a0a; background: var(--green); margin-top: 1px; }
.plan li.no { color: #77736b; }
.plan li.no::before { content: '–'; background: rgba(255,255,255,.1); color: var(--muted); }
.plan .btn { width: 100%; }
.plan.featured { background: linear-gradient(180deg, rgba(255,176,32,0.11), rgba(255,210,63,.06)); border-color: transparent; box-shadow: 0 30px 90px -30px rgba(255,176,32,0.4); }
.plan.featured::before { content: ''; position: absolute; inset: -1.5px; border-radius: calc(var(--radius) + 1px); padding: 1.5px; background: conic-gradient(from var(--a, 0deg), var(--green), var(--violet), var(--pink), var(--gold), var(--green)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rotateA 4s linear infinite; pointer-events: none; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotateA { to { --a: 360deg; } }
.badge-hot { font: 800 11px var(--font); letter-spacing: .08em; padding: 6px 11px; border-radius: 99px; background: var(--grad); color: #0a0a0a; }
.plan-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 780px; margin: 0 auto; }
.faq details { padding: 0 22px; transition: background .3s; }
.faq details[open] { background: var(--card-hi); }
.faq summary { list-style: none; padding: 20px 0; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--green); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* CTA final */
.final { text-align: center; padding: 52px 24px; overflow: hidden; position: relative; }
.final h2 { font: 800 clamp(32px, 8vw, 56px)/1.05 var(--display); letter-spacing: -.04em; }
.final p { color: var(--muted); margin: 14px auto 26px; max-width: 520px; }
.final .big-radar { position: absolute; inset: 50% auto auto 50%; width: 900px; height: 900px; translate: -50% -50%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,210,63,.12), transparent 20%); animation: spin 6s linear infinite; z-index: -1; }

footer { padding: 40px 0 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a:hover { color: var(--text); }

/* CTA collant mobile */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; transform: translateY(140%); transition: transform .5s cubic-bezier(.2,1.2,.4,1); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; }

/* ---------- Pages légales ---------- */
/* ---------- Pages légales ---------- */
.legal { padding: 44px 0 80px; }
.lg-head { max-width: 760px; margin-bottom: 34px; }
.lg-head h1 { font: 800 clamp(34px, 8vw, 56px)/1.04 var(--display); letter-spacing: -.035em; margin: 12px 0 12px; }
.lg-lead { color: var(--muted); font-size: 17px; max-width: 56ch; }
.lg-date { margin-top: 10px; font-size: 13px; color: var(--muted); opacity: .8; }
.lg-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; padding: 5px; border-radius: 99px; border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.lg-tabs a { padding: 8px 16px; border-radius: 99px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; }
.lg-tabs a:hover { color: var(--text); }
.lg-tabs a[aria-current] { background: var(--text); color: #0a0a0a; }
.lg-grid { display: grid; gap: 28px; }
.lg-grid > * { min-width: 0; }
.lg-toc { display: none; }
@media (min-width: 960px) {
  .lg-grid { grid-template-columns: 230px minmax(0, 1fr); gap: 48px; }
  .lg-toc { display: grid; gap: 2px; align-self: start; position: sticky; top: 92px; }
  .lg-toc b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  .lg-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--muted); line-height: 1.35; transition: color .2s, background .2s; }
  .lg-toc a span { font-variant-numeric: tabular-nums; opacity: .5; }
  .lg-toc a:hover, .lg-toc a.on { color: var(--text); background: rgba(255,255,255,.05); }
}
.legal article { max-width: 760px; }
.lg-brief { border-radius: 20px; padding: 20px 22px; margin-bottom: 26px; background: #f4f1ea; color: #0b0b0b; }
.lg-brief b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.lg-brief ul { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 8px; }
.lg-brief li { position: relative; padding-left: 26px; font-weight: 600; line-height: 1.45; }
.lg-brief li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 6px; background: #0b0b0b; color: #ffd23f; font-size: 11px; display: grid; place-items: center; margin-top: 2px; }
.lg-sec { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.lg-sec h2 { display: flex; align-items: baseline; gap: 12px; font: 800 21px/1.25 var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.lg-sec h2 span { font-size: 13px; color: var(--green); font-variant-numeric: tabular-nums; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal p + p { margin-top: 10px; }
.legal p b, .legal li b { color: var(--text); }
.legal article a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255,210,63,.6); text-underline-offset: 3px; }
.lg-sec ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 6px; }
.lg-sec li::marker { color: var(--green); }
.lg-dl { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.lg-dl dt { padding: 12px 16px 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lg-dl dd { padding: 0 16px 12px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.lg-dl dd:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .lg-dl { grid-template-columns: 220px minmax(0, 1fr); }
  .lg-dl dt, .lg-dl dd { padding: 13px 16px; border-bottom: 1px solid var(--line); }
  .lg-dl dt:nth-last-of-type(1), .lg-dl dd:last-child { border-bottom: 0; }
}
.lg-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin: 6px 0 12px; }
.lg-table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.lg-table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; background: rgba(255,255,255,.04); }
.lg-table td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; line-height: 1.5; }
.lg-table td:first-child { color: var(--text); }
.lg-table code { font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.07); color: var(--text); }
.lg-contact { margin-top: 18px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--line); }
/* Champ à compléter par l'éditeur : bien visible tant qu'il n'est pas rempli */
.fill { color: #ffd23f; background: rgba(255,210,63,.1); border: 1px dashed rgba(255,210,63,.5); border-radius: 6px; padding: 0 6px; font-weight: 700; }

/* ---------- Grands écrans ---------- */
@media (min-width: 720px) {
  .store-form { grid-template-columns: 1fr auto; }
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; }
  .sim { grid-template-columns: 1fr 1fr; align-items: center; }
  .nav-links .link { display: inline-block; }
  .sticky-cta { display: none; }
  footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1020px) {
  .hero { padding: 80px 0 60px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .feature.wide { grid-column: span 2; }
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .plan.featured { transform: scale(1.04); }
  .plan.featured:hover { transform: scale(1.04) translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Effets supplémentaires ---------- */
.btn, .seg, .tabbar a { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .65s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.card { --mx: 50%; --my: 0%; position: relative; }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,210,63,.13), transparent 45%); }
.card:hover::after { opacity: 1; }
.tilt { position: relative; transition: transform .25s ease-out, border-color .35s; }
.tilt:hover { z-index: 2; } /* la carte survolée passe devant ses voisines */
.btn-main.magnet { transition: transform .2s ease-out, box-shadow .2s; }

/* Barre de progression de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--green); }

/* Titre qui apparaît mot par mot */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(4deg); filter: blur(8px); animation: wordUp .9s cubic-bezier(.2,.9,.2,1) forwards; animation-delay: calc(.15s + var(--i) * .07s); }
@keyframes wordUp { to { opacity: 1; transform: none; filter: none; } }

/* Curseur de saisie qui clignote dans le champ boutique */
.store-input input.typing::placeholder { color: #c9c4ba; }

/* Flux de détections (exemples) */
.feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.feed-row { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.feed-row.rev { animation-direction: reverse; animation-duration: 48s; }
.feed-row span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 700; white-space: nowrap; }
.feed-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 12px; }

/* Anneau qui pulse autour du score */
.pulse-ring { position: absolute; inset: 6%; border-radius: 50%; border: 2px solid rgba(255,210,63,.5); animation: ring 2.4s ease-out infinite; pointer-events: none; }
.pulse-ring.r2 { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }

/* Étincelles autour du bouton principal du hero */
.sparkles { position: relative; }
.sparkles i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: sparkle 2.6s ease-in-out infinite; pointer-events: none; }
@keyframes sparkle { 0%, 100% { opacity: 0; transform: scale(.3) translateY(0); } 40% { opacity: 1; transform: scale(1) translateY(-10px); } }
.hero h1 .grad-text.w { animation: wordUp .9s cubic-bezier(.2,.9,.2,1) calc(.15s + var(--i) * .07s) forwards, shine 5s linear infinite; }

.plan.spot-plan { animation: spotPlan 1s ease-in-out 3; }
@keyframes spotPlan { 50% { box-shadow: 0 0 0 4px var(--green), 0 30px 90px -20px rgba(255,210,63,.8); } }
.hero-quiz { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold); padding: 8px 0; }
.hero-quiz span { transition: transform .2s; } .hero-quiz:hover span { transform: translateX(4px); }
/* ---------- Icônes au trait ---------- */
.ic { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-ic .ic { width: 26px; height: 26px; color: var(--green); }
.toast .ic .ic, .toast .ic > .ic { width: 18px; height: 18px; color: var(--green); }
.feed-row .ic { color: var(--green); width: 16px; height: 16px; }
.hero-quiz .ic { width: 20px; height: 20px; }
.quiz-x .ic, .modal-x .ic { width: 18px; height: 18px; }


/* Anti-débordement : un contenu long ne peut plus élargir sa colonne */
.hero-grid > *, .bento > *, .pricing > *, .faq > * { min-width: 0; }


/* ---------- Téléphones : effets allégés pour un défilement net (pas de cartes qui clignotent ou se découpent) ---------- */
@media (hover: none), (max-width: 720px) {
  .card, .chip, .toast { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10,10,10,.92); } /* flou recalculé à chaque image au-dessus des pièces : très lourd sur iPhone */
  .quiz-bg::after { display: none; }
  .bg-fx::after { animation: none; mix-blend-mode: normal; opacity: .04; }
  .blob { animation: none; }
  .reveal { transform: translateY(24px); }
  .feature:hover, .feature.tilt:hover { transform: none; z-index: auto; }
  .feature:hover::before { transform: none; }
}
.lg-brief li { color: #1d1b17; }
@media (max-width: 639px) {
  .lg-table { overflow: visible; border: 0; }
  .lg-table table { min-width: 0; }
  .lg-table thead { display: none; }
  .lg-table tr { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
  .lg-table td { display: block; padding: 0; border: 0; }
  .lg-table td:first-child { font-weight: 800; font-size: 15px; }
  .lg-table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); opacity: .75; margin-bottom: 1px; }
}
@media (max-width: 520px) {
  .lg-tabs { display: grid; grid-template-columns: 1.25fr .6fr 1.15fr; width: 100%; gap: 2px; }
  .lg-tabs a { padding: 8px 6px; font-size: 13px; text-align: center; white-space: nowrap; }
}

/* ---------- Quiz d'arrivée (refonte) ---------- */
.quiz { position: relative; z-index: 200; display: none; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: #060606; overflow: hidden; overflow: clip; } /* clip : jamais de défilement latéral caché */
.quiz.open { display: flex; animation: quizIn .45s cubic-bezier(.2,.9,.2,1); }
.quiz.open ~ #site { display: none; }
#site.site-in { animation: siteIn .4s cubic-bezier(.2,.9,.2,1); }
@keyframes siteIn { from { opacity: 0; } } /* opacité seule : un transform casserait les éléments fixes (barre du bas) */
@keyframes quizIn { from { opacity: 0; transform: scale(1.03); } }
.quiz-bg { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 75%); }
.quiz-bg i { position: absolute; border-radius: 50%; filter: blur(110px); }
.quiz-bg i:nth-child(1) { width: 70vmax; height: 70vmax; left: 50%; top: -48vmax; margin-left: -35vmax; background: #fff; opacity: .08; }
.quiz-bg i:nth-child(2) { width: 40vmax; height: 40vmax; right: -18vmax; bottom: -22vmax; background: var(--green); opacity: .05; }
.quiz-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 300; }
.quiz-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(16px, env(safe-area-inset-top)) 20px 14px; }
.quiz-x { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text); }
.quiz-tease { display: grid; justify-items: center; line-height: 1.1; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; }
.quiz-tease.show { opacity: 1; transform: none; }
.quiz-tease small { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quiz-tease b { font: 800 20px var(--display); color: var(--green); white-space: nowrap; }
.quiz-tease b span { display: inline-block; filter: blur(6px); transition: filter .3s; font-variant-numeric: tabular-nums; }
.quiz-steps { position: relative; z-index: 2; display: flex; gap: 6px; margin: 0 20px; }
.quiz-steps i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; position: relative; }
.quiz-steps i.on { background: var(--green); }
.quiz-steps i.now::after { content: ''; position: absolute; inset: 0; width: 45%; background: var(--green); border-radius: 4px; animation: stepNow 1.6s ease-in-out infinite alternate; }
@keyframes stepNow { to { width: 75%; } }
.quiz.done .quiz-steps i { background: var(--green); }
.quiz-stage { position: relative; z-index: 2; flex: 1; width: min(760px, 100% - 32px); margin: 0 auto; padding: clamp(28px, 7vh, 72px) 0 48px; }
.quiz-stage.in > * { animation: stepIn .55s cubic-bezier(.2,.9,.2,1) both; }
.quiz-stage.in > :nth-child(2) { animation-delay: .04s; } .quiz-stage.in > :nth-child(3) { animation-delay: .08s; } .quiz-stage.in > :nth-child(4) { animation-delay: .12s; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } }
.quiz-kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quiz-kicker b { background: var(--green); color: #0a0a0a; padding: 4px 9px; border-radius: 7px; letter-spacing: .06em; }
.quiz-stage h2 { font: 800 clamp(34px, 7.5vw, 66px)/1.02 var(--display); letter-spacing: -.045em; margin: 16px 0 8px; text-wrap: balance; }
.quiz-stage mark, .qr-try mark { background: var(--green); color: #0a0a0a; padding: 0 .12em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.quiz-hint { color: var(--muted); font-size: 16px; }
.quiz-choices { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 720px) { .quiz-choices { grid-template-columns: 1fr 1fr; } }
.quiz-choice { display: flex; align-items: center; gap: 14px; width: 100%; padding: 17px 18px; border-radius: 18px; background: #111; border: 1.5px solid rgba(255,255,255,.1); color: var(--text); font: 700 17px/1.25 var(--font); text-align: left; transition: transform .2s, border-color .2s, background .2s; animation: choiceIn .5s cubic-bezier(.2,.9,.2,1) both; animation-delay: var(--d); }
@keyframes choiceIn { from { opacity: 0; transform: translateY(14px); } }
.quiz-choice kbd { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.2); font: 800 13px var(--font); color: var(--muted); transition: all .2s; }
.quiz-choice .qi .ic { width: 24px; height: 24px; color: var(--green); stroke-width: 1.8; }
.quiz-choice .ql { flex: 1; min-width: 0; }
.quiz-choice .qc { display: grid; opacity: 0; transform: scale(.4); transition: all .25s cubic-bezier(.2,1.6,.4,1); }
.quiz-choice .qc .ic { width: 20px; height: 20px; stroke-width: 2.6; }
@media (hover: hover) { .quiz-choice:hover { border-color: rgba(255,210,63,.55); transform: translateY(-2px); } .quiz-choice:hover kbd { border-color: var(--green); color: var(--green); } }
.quiz-choice.on { background: var(--green); border-color: var(--green); color: #0a0a0a; animation: choicePop .35s cubic-bezier(.2,1.6,.4,1); }
.quiz-choice.on kbd { background: #0a0a0a; border-color: #0a0a0a; color: var(--green); }
.quiz-choice.on .qi .ic { color: #0a0a0a; }
.quiz-choice.on .qc { opacity: 1; transform: none; }
@keyframes choicePop { 50% { transform: scale(1.03); } }
.quiz-range { margin: 30px 0 6px; display: grid; gap: 18px; }
.quiz-range output { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.quiz-range output b { font: 800 clamp(64px, 18vw, 124px)/.95 var(--display); letter-spacing: -.05em; color: var(--green); font-variant-numeric: tabular-nums; }
.quiz-range output span { font-size: 20px; font-weight: 700; color: var(--muted); }
.quiz-range input { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 10px; background: rgba(255,255,255,.12); outline: none; margin: 10px 0; }
.quiz-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); border: 6px solid #0a0a0a; box-shadow: 0 0 0 2px var(--green), 0 8px 24px rgba(255,210,63,.4); cursor: grab; }
.quiz-range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: 6px solid #0a0a0a; box-shadow: 0 0 0 2px var(--green); cursor: grab; }
.quiz-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-presets button { padding: 10px 16px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.14); color: var(--text); font: 700 15px var(--font); background: #111; }
.quiz-presets button.on { background: var(--green); border-color: var(--green); color: #0a0a0a; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.quiz-back { color: var(--muted); font-weight: 700; padding: 12px 4px; }
.quiz-keys { font-size: 13px; color: var(--muted); opacity: .7; }
@media (hover: none) { .quiz-keys, .quiz-choice kbd { display: none; } }
.quiz-analyzing { display: grid; gap: 18px; padding-top: 4vh; }
.qa-num { font: 800 clamp(90px, 24vw, 170px)/.9 var(--display); letter-spacing: -.05em; color: var(--green); font-variant-numeric: tabular-nums; }
.qa-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; }
.qa-bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 8px; }
.quiz-analyzing ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 8px; }
.quiz-analyzing li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--muted); opacity: .35; transition: all .35s; }
.quiz-analyzing li .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(255,255,255,.1); stroke-width: 3; }
.quiz-analyzing li.on { opacity: 1; color: var(--text); }
.quiz-analyzing li.on .ic { background: var(--green); color: #0a0a0a; }
.qr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; } .qr > * { min-width: 0; }
.qr-title { font-size: clamp(26px, 5.5vw, 42px) !important; margin: 8px 0 -6px !important; }
.qr-big { font: 800 clamp(56px, 16vw, 140px)/.95 var(--display); letter-spacing: -.055em; color: var(--green); text-shadow: 0 0 80px rgba(255,210,63,.35); white-space: nowrap; font-variant-numeric: tabular-nums; animation: qrSlam .7s cubic-bezier(.2,1.4,.4,1) both; }
.qr-big small { font-size: .26em; color: var(--muted); letter-spacing: 0; margin-left: 8px; text-shadow: none; }
@keyframes qrSlam { from { transform: scale(1.8); opacity: 0; filter: blur(12px); } }
.qr-sub { font-size: 18px; color: var(--muted); } .qr-sub b { color: var(--text); }
.qr-bars { display: grid; gap: 10px; margin: 10px 0 8px; }
.qr-bars > div { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--muted); }
.qr-bars i { height: 14px; width: 0; border-radius: 7px; background: rgba(255,255,255,.22); animation: qrGrow 1.1s cubic-bezier(.2,.9,.2,1) .5s forwards; }
.qr-bars .pot { color: var(--text); } .qr-bars .pot i { background: var(--green); animation-delay: .8s; }
@keyframes qrGrow { to { width: var(--w); } }
.qr-try { position: relative; overflow: hidden; margin-top: 10px; padding: 26px 22px; border-radius: 24px; background: #f4f1ea; color: #0a0a0a; display: grid; gap: 12px; }
.qr-try h3 { font: 800 clamp(30px, 6.5vw, 46px)/1.02 var(--display); letter-spacing: -.04em; padding-right: 60px; }
.qr-try mark { background: #0a0a0a; color: var(--green); }
.qr-try p { color: #4b4740; font-size: 16px; }
.qr-try small { color: #6b665c; font-size: 13px; }
.qr-stamp { position: absolute; top: 18px; right: -36px; transform: rotate(35deg); background: #0a0a0a; color: var(--green); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 44px; }
.qr-form { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-form input { flex: 1 1 220px; min-width: 0; height: 58px; padding: 0 18px; border-radius: 16px; border: 1.5px solid rgba(0,0,0,.18); background: #fff; color: #0a0a0a; font: 600 17px var(--font); }
.qr-form .btn { flex: 1 1 220px; height: 58px; justify-content: center; background: #0a0a0a; color: #fff; box-shadow: none; }
.qr-plan { display: grid; gap: 12px; margin-top: 4px; }
@media (min-width: 720px) { .qr-plan { grid-template-columns: 1.4fr 1fr; } }
.qr-prio, .qr-offer { border-radius: 20px; padding: 20px; background: #111; border: 1px solid var(--line); min-width: 0; }
.qr-prio ol { padding-left: 20px; display: grid; gap: 8px; margin-top: 12px; color: var(--muted); }
.qr-prio li::marker { color: var(--green); font-weight: 800; }
.qr-offer { display: grid; gap: 6px; align-content: start; border-color: rgba(255,210,63,.45); }
.qr-offer span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.qr-offer b { font: 800 24px var(--display); letter-spacing: -.02em; }
.qr-offer small { color: var(--muted); }
.qr-offer .btn { margin-top: 8px; justify-content: center; }
.qr-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; }
.qr-links button { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; padding: 8px 0; }
.qr-links .ic { width: 16px; height: 16px; }
.quiz-legal { font-size: 11.5px; color: #77736b; }
.quiz-banner { position: relative; z-index: 60; background: #111; border-bottom: 1px solid var(--line); font-size: 14px; }
.quiz-banner .wrap { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding: 10px 0; }
.quiz-banner span { display: inline-flex; align-items: center; gap: 8px; }
.quiz-banner .ic { width: 18px; height: 18px; color: var(--green); }
.qb-go { color: var(--green); font-weight: 800; }
.qb-redo { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .quiz.open, .quiz-stage.in > *, .quiz-choice, .qr-big, .qr-bars i, .quiz-steps i.now::after { animation: none; } .qr-bars i { width: var(--w); } }

/* ---------- Quiz : animations ---------- */
.quiz { --px: 50vw; --py: 0px; }
.quiz-bg::after { content: ''; position: absolute; left: var(--px); top: var(--py); width: 700px; height: 700px; margin: -350px 0 0 -350px; border-radius: 50%; background: radial-gradient(rgba(255,210,63,.07), transparent 65%); transition: left .5s ease-out, top .5s ease-out; }
.quiz-bg em { position: absolute; left: var(--x); bottom: -60px; font: 800 calc(28px * var(--s)) var(--display); font-style: normal; color: var(--green); opacity: 0; animation: floatUp var(--t) linear var(--d) infinite; }
@keyframes floatUp { 0% { transform: translateY(0) rotate(-10deg); opacity: 0; } 10% { opacity: .14; } 80% { opacity: .1; } 100% { transform: translateY(-115vh) rotate(14deg); opacity: 0; } }
.quiz-stage h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .12em; margin: -.04em -.02em -.12em; }
.quiz-stage h2 .w > span { display: inline-block; transform: translateY(110%); animation: wUp .6s cubic-bezier(.2,.9,.2,1) forwards; animation-delay: calc(var(--i) * 55ms + 60ms); }
@keyframes wUp { to { transform: none; } }
.quiz-stage.in h2 { animation: none !important; }
.quiz-stage h2 mark { background: linear-gradient(var(--green), var(--green)) no-repeat 0 0 / 0% 100%; color: var(--text); animation: markWipe .45s cubic-bezier(.7,0,.2,1) forwards; animation-delay: calc(var(--n, 4) * 55ms + 320ms); }
@keyframes markWipe { to { background-size: 100% 100%; color: #0a0a0a; } }
.quiz-stage.out > * { animation: stepOut .2s ease-in forwards !important; }
@keyframes stepOut { to { opacity: 0; transform: translateX(-26px); filter: blur(4px); } }
.quiz-kicker b { animation: kickPop .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes kickPop { from { transform: scale(.4) rotate(-8deg); opacity: 0; } }
.quiz-choice { position: relative; overflow: hidden; }
.quiz-choice .rip { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: rgba(255,255,255,.55); pointer-events: none; animation: rip .6s ease-out forwards; }
@keyframes rip { to { transform: scale(40); opacity: 0; } }
.quiz-choice.dim { opacity: .35; transform: scale(.98); }
.quiz-choice.on { box-shadow: 0 0 0 6px rgba(255,210,63,.18), 0 20px 50px -15px rgba(255,210,63,.6); }
.quiz-steps i::before { content: ''; position: absolute; inset: 0; width: 0; background: var(--green); border-radius: 4px; transition: width .5s cubic-bezier(.2,.9,.2,1); }
.quiz-steps i.on { background: rgba(255,255,255,.12); }
.quiz-steps i.on::before { width: 100%; box-shadow: 0 0 12px rgba(255,210,63,.8); }
.quiz.done .quiz-steps i::before { width: 100%; }
.quiz-tease { position: relative; }
.quiz-tease.bump b { animation: teaseBump .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes teaseBump { 40% { transform: scale(1.18); text-shadow: 0 0 24px rgba(255,210,63,.9); } }
.tease-up { position: absolute; right: -16px; top: 14px; font: 800 18px var(--display); font-style: normal; color: var(--good); animation: teaseUp 1.1s ease-out forwards; }
@keyframes teaseUp { from { transform: translateY(6px); opacity: 0; } 25% { opacity: 1; } to { transform: translateY(-26px); opacity: 0; } }
.quiz-range output b.bump { animation: numBump .35s cubic-bezier(.2,1.6,.4,1); }
@keyframes numBump { 50% { transform: scale(1.06); } }
.quiz-presets button { transition: transform .2s, background .2s, color .2s; }
.quiz-presets button.on { transform: scale(1.06); }
.qa-num { position: relative; width: fit-content; }
.qa-ring { position: absolute; left: 50%; top: 50%; width: 1.5em; height: 1.5em; margin: -.75em 0 0 -.75em; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(255,210,63,.45) 30%, transparent 32%); -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%); mask: radial-gradient(circle, transparent 62%, #000 63%); animation: spin 1s linear infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .quiz-bg em, .quiz-bg::after, .qa-ring { display: none; } .quiz-stage h2 mark { animation: none; background-size: 100% 100%; color: #0a0a0a; } }
@media (hover: none), (max-width: 720px) { .quiz-bg::after { display: none; } }
/* Hors écran : animations en pause (voir landing.js) */
.anim-off, .anim-off *, .anim-off *::before, .anim-off *::after, .anim-off::before, .anim-off::after { animation-play-state: paused !important; }
@keyframes qrSlamM { from { transform: scale(1.8); opacity: 0; } }
@keyframes stepOutM { to { opacity: 0; transform: translateX(-26px); } }

/* Téléphones (en fin de fichier pour passer après les règles du quiz) */
@media (hover: none), (max-width: 720px) {
  /* Safari iPhone : un flou géant (filter: blur) sur des calques plein écran sature la mémoire graphique
     → écran figé ou vide après le quiz. Même halo doux, obtenu par un dégradé (quasi gratuit). */
  .blob, .quiz-bg i { animation: none; filter: none; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
  .qr-big { text-shadow: 0 0 30px rgba(255,210,63,.3); animation-name: qrSlamM; }
  .quiz-stage.out > * { animation-name: stepOutM !important; }
  html.quiz-on .bg-fx { display: none; } /* le quiz couvre tout l'écran : inutile de dessiner le fond derrière */
  .bg-fx::after { display: none; } /* grain : texture plein écran ×4 inutile sur petit écran */
}
