/* J-todolist — site public (accueil, inscription, paiement) */
:root {
  --navy: #04153c; --navy-2: #0a2058; --navy-3: #10306f;
  --blue: #1f7ee8; --blue-600: #1668c7; --blue-50: #eaf3fe;
  --green: #7dc242; --green-600: #5fa02c; --green-50: #eef8e4; --on-green: #0b2a05;
  --ink: #04153c; --text: #24304a; --muted: #5d6a80; --line: #e3e8f0; --bg-alt: #f4f7fb;
  --red: #d92d20; --orange: #f59e0b;
  --radius: 18px; --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); --shadow: 0 10px 30px rgba(4, 21, 60, .08); --shadow-lg: 0 24px 60px rgba(4, 21, 60, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.ic { flex: none; vertical-align: middle; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 700; font-size: 15px; border: 2px solid transparent; border-radius: 999px; padding: 11px 22px; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(31, 126, 232, .45); outline-offset: 2px; }
.btn-lg { font-size: 16.5px; padding: 15px 28px; }
.btn-sm { font-size: 14px; padding: 8px 16px; }
.btn-block { width: 100%; }
.btn-green { background: var(--green); color: var(--on-green); box-shadow: 0 8px 20px rgba(125, 194, 66, .35); }
.btn-green:hover { background: #8dd04f; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue-50); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-danger-ghost { border-color: #f3c4c0; color: var(--red); background: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* En-tête */
.nav { position: sticky; top: 0; z-index: 50; background: #04153c; color: #fff; }
.nav-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .06em; text-decoration: none !important; }
.brand b { color: var(--green); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #dfe7f7; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links .btn { color: var(--on-green); }
.nav-login { display: inline-flex; align-items: center; gap: 7px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }

/* Hero */
.hero { position: relative; isolation: isolate; background: radial-gradient(1200px 500px at 85% -10%, rgba(31, 126, 232, .35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%); color: #e8eefc; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; padding: 72px 24px 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.hero h1 .grad { background: linear-gradient(90deg, #8fd0ff, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: #c9d5ee; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; font-weight: 600; color: #c9d5ee; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ic { color: var(--green); }
.hero-visual { position: relative; }
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f8; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.browser-bar i:nth-child(2) { background: #fbbf24; } .browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-left: 12px; font-size: 12px; color: #6b7591; font-weight: 600; }
.phone { position: absolute; right: -18px; bottom: -46px; width: 30%; min-width: 150px; border-radius: 26px; border: 7px solid #0b1328; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); background: #0b1328; }

/* Bande paiements */
.paystrip { background: #fff; border-bottom: 1px solid var(--line); }
.paystrip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; padding: 22px 24px; }
.paystrip-lbl { font-weight: 700; color: var(--muted); font-size: 14px; margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; background: #f1f4f9; color: var(--ink); border: 1px solid var(--line); }
.chip-wave { background: #e7f5ff; color: #0b6fb8; border-color: #c9e7fb; }
.chip-orange { background: #fff1e6; color: #c2410c; border-color: #fed7b5; }
.chip-mtn { background: #fff9db; color: #8a6d00; border-color: #fdeba3; }
.chip-moov { background: #e8f0ff; color: #1d4ed8; border-color: #c9d8fb; }

/* Sections */
.sec { padding: 92px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-title { text-align: center; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; text-transform: none; }
.sec-sub { text-align: center; color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 auto 48px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.pain, .who { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pain .ic { color: var(--red); margin-bottom: 14px; }
.who .ic { color: var(--blue); margin-bottom: 14px; }
.pain h3, .who h3 { font-size: 19px; }
.pain p, .who p { color: var(--muted); margin: 0; font-size: 15.5px; }
.pains-answer { margin: 36px auto 0; max-width: 760px; text-align: center; font-size: 18px; background: var(--green-50); border-radius: 999px; padding: 14px 26px; color: var(--ink); display: flex; gap: 10px; align-items: center; justify-content: center; }
.pains-answer .ic { color: var(--green-600); }

.video-sec { background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.video-box { max-width: 960px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 9; }
.video-box video { width: 100%; height: 100%; object-fit: cover; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: none; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 32px 28px 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 18px; }
.steps h3 { font-size: 20px; }
.steps p { color: var(--muted); margin: 0; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.feat:nth-child(3n+2) .feat-ic { background: var(--green-50); color: var(--green-600); }
.feat:nth-child(3n) .feat-ic { background: #fbe8f0; color: #c2185b; }
.feat h3 { font-size: 18px; }
.feat p { color: var(--muted); margin: 0; font-size: 15px; }

.show-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.show-row + .show-row { margin-top: 90px; }
.show-row.rev .show-txt { order: 2; }
.show-txt h2 { font-size: clamp(26px, 3vw, 34px); }
.show-txt p { color: var(--muted); font-size: 17px; }
.show-img img { border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.ticks .ic { color: var(--green-600); }

.sec-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sec-split h2 { font-size: clamp(26px, 3vw, 36px); }
.sec-split p { color: var(--muted); font-size: 17px; }
.sec-list { list-style: none; padding: 30px; margin: 0; background: var(--navy); border-radius: 22px; color: #dfe7f7; box-shadow: var(--shadow-lg); }
.sec-list li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sec-list li:last-child { border-bottom: 0; }
.sec-list .ic { color: var(--green); margin-top: 2px; }
.sec-list b { color: #fff; }

/* Tarifs */
.period-switch { display: flex; width: max-content; margin: 0 auto 38px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; box-shadow: var(--shadow); }
.period-switch button { font: inherit; font-weight: 700; border: 0; background: none; padding: 10px 22px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.period-switch button.on { background: var(--navy); color: #fff; }
.period-switch em { font-style: normal; font-size: 12px; background: var(--green); color: var(--on-green); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan-featured { border: 2px solid var(--green); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: var(--on-green); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 24px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.plan-tag { color: var(--muted); font-size: 15px; min-height: 2.4em; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; }
.price b { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price span { color: var(--muted); font-weight: 600; }
.saving { color: var(--green-600); font-weight: 700; font-size: 14px; margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; font-size: 15px; }
.plan li .ic { color: var(--green-600); margin-top: 2px; }
.pricing .per-year { display: none; }
.pricing.yearly .per-year { display: block; }
.pricing.yearly a.per-year { display: inline-flex; }
.pricing.yearly .per-month { display: none; }
.plan-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.plan-extra > div { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px dashed #c5cdd9; border-radius: 16px; padding: 18px 20px; }
.plan-extra .ic { color: var(--blue); }
.plan-extra p { margin: 0; flex: 1; font-size: 15px; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin: 26px auto 0; max-width: 760px; display: flex; gap: 8px; justify-content: center; align-items: flex-start; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { margin-top: 36px; }
.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 4px; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--blue); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding: 0 4px 20px; margin: 0; }

/* Bandeau final */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-3)); color: #dfe7f7; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 64px 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin: 0; font-size: 17px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Pied de page */
.foot { background: #020c26; color: #a9b6d0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding: 60px 24px 36px; }
.foot h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot a, .foot span { display: block; color: #a9b6d0; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot-tag { margin: 14px 0 10px; max-width: 320px; }
.foot-pay { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #7f8db0; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 24px 28px; font-size: 13.5px; }
.foot-legal span { display: flex; gap: 18px; flex-wrap: wrap; margin: 0; }
.foot-legal a { display: inline; margin: 0; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.wa-float .ic { width: 30px; height: 30px; }

/* Pages simples (inscription, paiement, légal) */
body.plain { background: var(--bg-alt); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.signup .sec, .plain .sec { padding: 56px 0 80px; }
.signup-in { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.signup h1 { font-size: 30px; }
.signup-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.signup-side h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.recap-name { font-size: 24px; font-weight: 800; color: var(--ink); margin: 0; }
.recap-price { font-size: 32px; font-weight: 800; color: var(--blue); margin: 4px 0; }
.next { padding-left: 20px; color: var(--muted); font-size: 15px; }
.next li { margin-bottom: 8px; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pay-logos .chip { font-size: 12.5px; padding: 5px 10px; }
.form { display: grid; gap: 16px; margin-top: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
.field input, .field select { font: inherit; font-weight: 500; font-size: 15.5px; padding: 12px 14px; border: 1.5px solid #d3dae6; border-radius: 12px; background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(31, 126, 232, .14); }
.paymeth { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.paymeth legend { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #d3dae6; border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.radio-card input { margin-top: 4px; accent-color: var(--blue); }
.radio-card b { display: flex; gap: 8px; align-items: center; color: var(--ink); }
.radio-card small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.check input { margin-top: 4px; accent-color: var(--blue); width: 17px; height: 17px; }
.form-err { background: #fdeceb; color: #a8231a; border-radius: 12px; padding: 12px 14px; margin: 0; font-weight: 600; font-size: 14.5px; }
.alert { display: flex; gap: 10px; background: var(--blue-50); border-radius: 12px; padding: 14px; margin-top: 16px; }
.pay-status { text-align: center; padding: 48px 36px; }
.ps-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.ps-ic.ok { background: var(--green-50); color: var(--green-600); }
.ps-ic.ko { background: #fdeceb; color: var(--red); }
.ps-ic.wait { background: #fef3dc; color: #a86400; }
.ps-detail { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; text-align: left; background: var(--bg-alt); border-radius: 14px; padding: 18px 22px; margin: 24px 0; }
.ps-detail dt { color: var(--muted); font-weight: 600; }
.ps-detail dd { margin: 0; font-weight: 700; color: var(--ink); word-break: break-all; }
.ps-transfer { text-align: left; background: #fef8ea; border: 1px solid #f7deaa; border-radius: 14px; padding: 18px 22px; white-space: pre-wrap; margin-bottom: 22px; }
.ps-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sim-badge { display: inline-flex; gap: 8px; align-items: center; background: #fef3dc; color: #8a5300; font-weight: 800; border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.sim-methods { display: grid; gap: 10px; }
.legal h1 { font-size: 34px; margin-bottom: 24px; }
.legal h2 { font-size: 19px; margin-top: 28px; }
.legal p { color: #3b4760; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { max-width: 720px; margin: 0 auto 30px; }
  .feats, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-featured { transform: none; }
  .show-row, .sec-split, .signup-in { grid-template-columns: 1fr; gap: 32px; }
  .show-row.rev .show-txt { order: 0; }
  .signup-side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: flex; visibility: hidden; opacity: 0; transform: translateY(-10px); position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #04153c; padding: 8px 16px 18px; box-shadow: 0 24px 40px rgba(0, 0, 0, .35); transition: opacity .28s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; transition: opacity .28s var(--ease), transform .35s var(--ease), visibility 0s; }
  .nav-links > * { transition: opacity .3s var(--ease), transform .4s var(--ease); }
  .nav-links:not(.open) > * { opacity: 0; transform: translateY(-6px); }
  .nav-links.open > * { transition-delay: calc(var(--ni, 0) * 40ms + 60ms); }
  .nav-links a::after { display: none; }
  .nav-links a { padding: 13px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links .btn { margin-top: 12px; border-bottom: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .hero-in { padding: 36px 16px 64px; gap: 36px; }
  .lead { font-size: 16.5px; }
  .hero-cta .btn { width: 100%; }
  .browser { transform: none; }
  .phone { right: -6px; bottom: -30px; width: 34%; min-width: 0; border-width: 5px; border-radius: 18px; }
  .feats, .grid3, .grid4, .row2, .plan-extra { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; padding: 44px 16px 24px; }
  .pains-answer { border-radius: 16px; text-align: left; }
  .card { padding: 24px 18px; border-radius: 18px; }
  .period-switch button { padding: 9px 14px; font-size: 14px; }
  .plan-extra > div { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-in { padding: 48px 16px; }
  .wa-float { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
section[id] { scroll-margin-top: 76px; }

/* =====================================================================
   MOTION DESIGN — animations du site public
   Principe : tout est visible sans JavaScript. Les états initiaux masqués
   ne s'appliquent que sous html.motion (ajouté par site.js si l'utilisateur
   n'a pas demandé à réduire les animations). Seuls opacity / transform
   sont animés : pas de décalage de mise en page, 60 i/s.
   ===================================================================== */
@keyframes m-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes m-word { from { transform: translateY(108%) rotate(4deg); } to { transform: none; } }
@keyframes m-visual { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes m-phone { from { opacity: 0; transform: translateY(60px) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes m-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes m-drift1 { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-9%, 7%, 0); } }
@keyframes m-drift2 { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(10%, -8%, 0); } }
@keyframes m-drift3 { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-6%, -10%, 0); } }
@keyframes m-shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }
@keyframes m-ripple { from { transform: translate(-50%, -50%) scale(0); opacity: .45; } to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes m-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes m-pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes m-shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
@keyframes m-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }

/* ---- Fond animé du hero : halos lumineux qui dérivent lentement ---- */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.b1 { width: 760px; height: 760px; right: -160px; top: -300px; background: radial-gradient(closest-side, rgba(31, 126, 232, .55), transparent); animation: m-drift1 22s var(--ease-io) infinite; }
.b2 { width: 620px; height: 620px; left: -220px; bottom: -320px; background: radial-gradient(closest-side, rgba(125, 194, 66, .28), transparent); animation: m-drift2 26s var(--ease-io) infinite; }
.b3 { width: 460px; height: 460px; left: 38%; top: 30%; background: radial-gradient(closest-side, rgba(143, 208, 255, .16), transparent); animation: m-drift3 30s var(--ease-io) infinite; }
.hero-glow { position: absolute; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 208, 255, .14), transparent); transform: translate3d(calc(var(--gx, -999px) - 260px), calc(var(--gy, -999px) - 260px), 0); transition: opacity .6s; opacity: 0; }
.hero:hover .hero-glow { opacity: 1; }
.hero-in { position: relative; z-index: 1; }

/* ---- Titre principal : mots révélés sous un masque ---- */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; }

/* ---- Séquence d'entrée de la page d'accueil ---- */
html.motion .hero-txt > * { animation: m-rise .9s var(--ease) both; animation-delay: calc(.15s + var(--hi, 0) * .1s); }
html.motion .hero-txt > .eyebrow { --hi: 0; }
html.motion .hero-txt > h1 { animation: none; }
html.motion .hero h1 .w > span { animation: m-word 1s var(--ease) both; animation-delay: calc(.25s + var(--wi) * .055s); }
html.motion .hero-txt > .lead { --hi: 6; }
html.motion .hero-txt > .hero-cta { --hi: 7; }
html.motion .hero-txt > .hero-points { --hi: 8; }
html.motion .hero-visual { animation: m-visual 1.2s var(--ease) .45s both; }
html.motion .hero .phone { animation: m-phone 1.1s var(--ease) .95s both, m-float 7s ease-in-out 2.1s infinite; }
html.motion .paystrip-in > * { animation: m-rise .7s var(--ease) both; animation-delay: calc(1s + var(--si, 0) * .06s); }

/* Profondeur au survol (souris) : le navigateur et le téléphone bougent à des vitesses différentes */
.hero-visual { --px: 0; --py: 0; }
.hero-visual .browser { translate: calc(var(--px) * -10px) calc(var(--py) * -8px); transition: translate .6s var(--ease); }
.hero-visual .phone { translate: calc(var(--px) * 22px) calc(var(--py) * 16px); transition: translate .6s var(--ease); }

/* ---- Navigation intelligente ---- */
.nav { transition: transform .45s var(--ease), background-color .35s, box-shadow .35s; }
.nav-in { transition: height .35s var(--ease); }
.nav.scrolled { background: #04153c; box-shadow: 0 10px 30px rgba(2, 10, 30, .28); }
.nav.hide { transform: translateY(-100%); }
.nav-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--green)); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); opacity: .9; pointer-events: none; }
.nav-links a:not(.btn) { position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: #fff; }
.brand img { transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.bars { position: relative; display: block; width: 24px; height: 18px; }
.bars i { position: absolute; left: 0; width: 100%; height: 2.4px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .25s, top .4s var(--ease); }
.bars i:nth-child(1) { top: 0; } .bars i:nth-child(2) { top: 7.8px; } .bars i:nth-child(3) { top: 15.6px; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { top: 7.8px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { top: 7.8px; transform: rotate(-45deg); }

/* ---- Boutons : brillance, pression, onde au clic ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn-green:hover { box-shadow: 0 14px 30px rgba(125, 194, 66, .45); }
.btn-outline:hover { box-shadow: 0 8px 20px rgba(31, 126, 232, .16); }
.btn-green::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
.btn-green:hover::before { animation: m-shine .9s var(--ease); }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.m-ripple { position: absolute; border-radius: 50%; background: currentColor; pointer-events: none; z-index: -1; animation: m-ripple .6s var(--ease) forwards; }

/* ---- Révélation au défilement (composant commun) ---- */
html.motion .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--rd, 0) * 80ms); will-change: opacity, transform; }
html.motion .rv.rv-zoom { transform: translateY(24px) scale(.95); }
html.motion .rv.rv-left { transform: translateX(-40px); }
html.motion .rv.rv-right { transform: translateX(40px); }
html.motion .rv.rv-fade { transform: none; }
html.motion .rv.in { opacity: 1; transform: none; }
html.motion .rv.done { will-change: auto; }

/* ---- Cartes : profondeur, lumière qui suit la souris, icônes ---- */
.pain, .who, .feat, .steps li, .plan, .plan-extra > div { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.spot { position: relative; isolation: isolate; }
.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 126, 232, .09), transparent 45%); }
.spot:hover::before { opacity: 1; }
.pain:hover, .who:hover, .steps li:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(4, 21, 60, .12); }
.feat:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(4, 21, 60, .12); border-color: rgba(31, 126, 232, .35); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(4, 21, 60, .16); }
.plan-featured:hover { transform: translateY(-14px); }
.plan-extra > div:hover { transform: translateY(-3px); border-color: var(--blue); }
.feat-ic, .step-n { transition: transform .5s var(--ease); }
.feat:hover .feat-ic { transform: translateY(-3px) rotate(-6deg) scale(1.08); }
.steps li:hover .step-n { transform: rotate(-8deg) scale(1.08); }
.who .ic, .pain .ic { transition: transform .5s var(--ease); }
.who:hover .ic { transform: translateY(-3px) scale(1.12); }
html.motion .pain.in .ic, html.motion .pain.seen .ic { animation: m-wiggle .9s var(--ease) calc(var(--rd, 0) * 80ms + .4s) both; }
.sec-list li { transition: transform .35s var(--ease); }
.sec-list li:hover { transform: translateX(6px); }
.chip { transition: transform .3s var(--ease), box-shadow .3s; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(4, 21, 60, .1); }
.ticks li .ic { transition: transform .35s var(--ease); }
.ticks li:hover .ic { transform: scale(1.25); }

/* ---- Captures (vitrine) : parallaxe légère + zoom doux au survol ---- */
.show-img { border-radius: 16px; }
.show-img img { transition: transform .8s var(--ease), box-shadow .6s; translate: 0 var(--par, 0px); }
.show-img:hover img { transform: scale(1.015); box-shadow: 0 34px 80px rgba(4, 21, 60, .26); }

/* ---- Vidéo : bouton de lecture ---- */
.video-box { position: relative; }
.video-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: var(--green); color: var(--on-green); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); transition: transform .35s var(--ease), opacity .3s, visibility .3s; }
.video-play svg { margin-left: 5px; position: relative; z-index: 1; }
.video-play:hover { transform: scale(1.08); }
.video-play:active { transform: scale(.96); }
.vp-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--green); animation: m-pulse 2.2s ease-out infinite; }
.video-box.playing .video-play { opacity: 0; visibility: hidden; transform: scale(.7); }

/* ---- Tarifs : indicateur glissant + prix animés ---- */
.period-switch { position: relative; }
.period-switch button { position: relative; z-index: 1; transition: color .3s; }
.period-switch button.on { background: transparent; }
.ps-ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--navy); box-shadow: 0 6px 14px rgba(4, 21, 60, .25); transition: transform .5s var(--ease), width .5s var(--ease); }
.period-switch:not(.ready) button.on { background: var(--navy); }
.price b { font-variant-numeric: tabular-nums; }
.pricing .per-year, .pricing .per-month { animation: m-fade .45s var(--ease); }

/* ---- FAQ : ouverture fluide ---- */
.faq details { overflow: hidden; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--blue); }
.faq summary .ic { transition: transform .45s var(--ease); }

/* ---- Formulaires ---- */
.field input, .field select { transition: border-color .2s, box-shadow .25s var(--ease), background-color .2s; }
.field.invalid input, .field.invalid select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217, 45, 32, .12); }
.field.invalid { animation: m-shake .45s; }
.check.invalid { color: var(--red); animation: m-shake .45s; }
.radio-card { transition: border-color .25s, background-color .25s, transform .3s var(--ease), box-shadow .3s; }
.radio-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(4, 21, 60, .08); }
.form-err:not([hidden]) { animation: m-rise .4s var(--ease); }
.btn .m-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.recap-price { transition: color .3s; }
.recap.bump .recap-price { animation: m-pop .5s var(--ease); }

/* ---- Paiement : icônes d'état animées ---- */
.ps-ic { transition: background-color .4s, color .4s; }
.ps-ic.ok, .ps-ic.ko, .ps-ic.wait { animation: m-pop .6s var(--ease); }
.ps-ic.ok svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: m-draw .6s var(--ease) .25s forwards; }
.ps-ic.ko { animation: m-pop .5s var(--ease), m-shake .5s .5s; }

/* ---- Pied de page ---- */
.foot a { transition: color .2s, transform .3s var(--ease); }
.foot-grid a:hover { transform: translateX(4px); text-decoration: none; }
html.motion .wa-float { animation: m-pop .7s var(--ease) 1.6s both; }
.wa-float { transition: transform .35s var(--ease), box-shadow .35s; }
.wa-float:hover { transform: scale(1.1) rotate(-6deg); box-shadow: 0 14px 34px rgba(37, 211, 102, .45); }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: m-pulse 2.8s ease-out 3s infinite; pointer-events: none; }

/* Pages simples : entrée douce de la carte principale */
html.motion body.plain main .card, html.motion body.plain .legal { animation: m-rise .8s var(--ease) .1s both; }
html.motion body.plain .signup-side > * { animation: m-rise .8s var(--ease) both; animation-delay: calc(.25s + var(--si, 0) * .12s); }

/* Mouvement réduit : aucune animation, tout est visible immédiatement */
@media (prefers-reduced-motion: reduce) {
  .blob, .vp-ring, .wa-float::after, .hero .phone { animation: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
}
.video-box::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(4, 21, 60, .35), rgba(4, 21, 60, .05) 60%); transition: opacity .4s; }
.video-box.playing::after { opacity: 0; }
html, body { overflow-x: clip; }
@media (max-width: 860px) {
  html.motion .rv.rv-left, html.motion .rv.rv-right { transform: translateY(28px); }
}

/* Hors écran, les halos du hero s'arrêtent (économie de batterie et de calcul) */
.hero.off .blob, .hero.off .phone { animation-play-state: paused; }

/* =====================================================================
   MOTION v2 — effets supplémentaires (survols 3D, éléments vivants)
   ===================================================================== */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes m-spin-ang { to { --ang: 360deg; } }
@keyframes m-marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes m-rise-up { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-420px) scale(.4); opacity: 0; } }
@keyframes m-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes m-shine-loop { 0%, 72% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes m-gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes m-badge-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes m-glow-drift { 0%, 100% { transform: translate3d(-10%, 0, 0); } 50% { transform: translate3d(10%, -6%, 0); } }

/* ---- Hero : dégradé vivant du titre, mot tournant, notifications, indicateur de défilement ---- */
.hero h1 .grad { background-size: 200% 100%; background-image: linear-gradient(90deg, #8fd0ff, var(--green), #8fd0ff); }
html.motion .hero h1 .w > .grad { animation: m-word 1s var(--ease) both, m-gradient-shift 7s ease-in-out 1.5s infinite; animation-delay: calc(.25s + var(--wi) * .055s), 1.5s; }
.hero-for { margin: -6px 0 22px; font-weight: 600; color: #c9d5ee; font-size: 16px; }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.5em; margin-left: 4px; }
.rot-track { display: contents; }
.rotator b { grid-area: 1 / 1; color: var(--green); font-weight: 800; transition: transform .6s var(--ease), opacity .45s; white-space: nowrap; }
html.js .rotator b { opacity: 0; transform: translateY(100%); }
html.js .rotator b.on { opacity: 1; transform: none; }
html.js .rotator b.off { opacity: 0; transform: translateY(-100%); }
html:not(.js) .rotator b:not(:first-child) { display: none; }
html.motion .hero-txt > .hero-for { --hi: 8; }
html.motion .hero-txt > .hero-points { --hi: 9; }
html.motion .hero-cta .btn-green::before { animation: m-shine-loop 5s var(--ease) 2.5s infinite; }

.live { position: absolute; left: -46px; bottom: 26px; width: 300px; height: 74px; z-index: 3; pointer-events: none; }
.live-n { position: absolute; inset: 0 auto auto 0; width: 100%; display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 16px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); opacity: 0; transform: translateX(-24px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.live-n.on { opacity: 1; transform: none; }
.live-n.off { opacity: 0; transform: translateY(-18px) scale(.96); }
html:not(.motion) .live-n:first-child { opacity: 1; transform: none; }
.live-n b { display: block; font-size: 13.5px; line-height: 1.25; }
.live-n small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.ln-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.ln-blue { background: var(--blue-50); color: var(--blue); } .ln-green { background: var(--green-50); color: var(--green-600); }
.ln-wa { background: #e7f9ee; color: #1da851; } .ln-red { background: #fdeceb; color: var(--red); }
html.motion .live { animation: m-fade .6s 1.6s both; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 40px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 14px; z-index: 2; transition: border-color .3s, transform .3s var(--ease); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; }
html.motion .scroll-cue span { animation: m-cue 1.8s ease-in-out infinite; }
.scroll-cue:hover { border-color: var(--green); transform: translateY(3px); }
html.motion .scroll-cue { animation: m-fade 1s 2s both; }

/* ---- Bande de chiffres ---- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 34px 24px; }
.fact { text-align: center; padding: 14px 8px; border-radius: 16px; transition: transform .45s var(--ease), background-color .3s; }
.fact:hover { transform: translateY(-4px); background: var(--bg-alt); }
.fact b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.fact > span { display: block; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 2px; }

/* ---- Titres : mot-clé surligné au marqueur ---- */
.hl { background: linear-gradient(transparent 60%, rgba(125, 194, 66, .38) 60%, rgba(125, 194, 66, .38) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; padding: 0 .08em; border-radius: 3px; }
html.motion .sec-title .hl { background-size: 0% 100%; transition: background-size 1s var(--ease) .35s; }
html.motion .sec-title.in .hl, html.motion .sec-title.seen .hl { background-size: 100% 100%; }

/* ---- Étapes : ligne de progression ---- */
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 10%; right: 10%; top: 58px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, #d3dae6 0 8px, transparent 8px 14px); z-index: 0; }
.steps-line span { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
html.motion .steps-line span { transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.steps { position: relative; z-index: 1; }

/* ---- Captures : badges flottants ---- */
.show-img { position: relative; }
.float-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 11px 16px; border-radius: 14px; box-shadow: 0 18px 40px rgba(4, 21, 60, .18); white-space: nowrap; translate: 0 calc(var(--par, 0px) * -1.4); }
.float-badge .ic { color: var(--blue); }
.fb-1 { top: -18px; left: -22px; } .fb-2 { bottom: -20px; right: 24px; }
.fb-3 { top: 18%; right: -26px; } .fb-3 .ic { color: var(--green-600); } .fb-4 { bottom: -18px; left: 30px; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(125, 194, 66, .25); }
html.motion .float-badge { opacity: 0; transform: scale(.7); transition: opacity .5s var(--ease), transform .7s var(--ease); }
html.motion .show-img.in .float-badge, html.motion .show-img.seen .float-badge { opacity: 1; transform: none; animation: m-badge-float 5s ease-in-out 1.2s infinite; }
html.motion .show-img.in .fb-2, html.motion .show-img.seen .fb-2, html.motion .show-img.seen .fb-4 { transition-delay: .25s; animation-delay: 2s; }

/* ---- Bandeau défilant ---- */
.marquee { padding: 34px 0; background: var(--bg-alt); overflow: hidden; display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 14px; width: max-content; }
html.motion .mq-track { animation: m-marquee 48s linear infinite; }
html.motion .mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .mq-track, .marquee.off .mq-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 700; color: var(--ink); white-space: nowrap; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.mq-item .ic { color: var(--blue); }
.mq-item:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 10px 22px rgba(31, 126, 232, .14); }

/* ---- Bandeau final : lumière mouvante et particules ---- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; z-index: -1; width: 70%; height: 220%; left: 15%; top: -60%; background: radial-gradient(closest-side, rgba(31, 126, 232, .35), transparent); }
html.motion .cta-band::before { animation: m-glow-drift 14s var(--ease-io) infinite; }
.cta-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-particles i { position: absolute; bottom: -20px; left: calc(4% + var(--i) * 6.8%); width: calc(4px + var(--i) * .4px); height: calc(4px + var(--i) * .4px); border-radius: 50%; background: rgba(125, 194, 66, .7); opacity: 0; }
.cta-particles i:nth-child(3n) { background: rgba(143, 208, 255, .7); }
html.motion .cta-particles i { animation: m-rise-up calc(7s + var(--i) * .55s) linear calc(var(--i) * -.9s) infinite; }
.cta-band.off .cta-particles i, .cta-band.off::before { animation-play-state: paused; }

/* ---- Cartes inclinables (3D) avec reflet ---- */
.tilt3d { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .6s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.tilt3d.moving { transition: transform .12s linear, box-shadow .45s var(--ease), border-color .3s; }
.tilt3d.tilt3d:hover { --lift: -6px; }
.plan-featured.tilt3d { --lift: -8px; }
.plan-featured.tilt3d:hover { --lift: -14px; }
.tilt3d::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 60%); mix-blend-mode: soft-light; }
.tilt3d:hover::after { opacity: 1; }

/* ---- Offre mise en avant : bordure lumineuse qui tourne ---- */
.plan-featured { border-color: transparent; }
.plan-featured::after, .plan-featured.tilt3d::after, .plan-featured.tilt3d:hover::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; pointer-events: none; opacity: 1; mix-blend-mode: normal; background: conic-gradient(from var(--ang), var(--green), var(--blue), #8fd0ff, var(--green)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
html.motion .plan-featured::after { animation: m-spin-ang 6s linear infinite; }
.plan-featured .plan-badge { z-index: 2; }
.plan .btn::after { content: '→'; display: inline-block; margin-left: 2px; transition: transform .35s var(--ease), opacity .3s; opacity: 0; transform: translateX(-8px); }
.plan .btn:hover::after { opacity: 1; transform: none; }

/* ---- Boutons magnétiques ---- */
.magnet { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s, translate .35s var(--ease); translate: var(--mgx, 0px) var(--mgy, 0px); }
.magnet.pulling { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, translate .1s linear; }

/* ---- Survols supplémentaires ---- */
.video-box { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.video-box:hover { transform: translateY(-4px); box-shadow: 0 34px 80px rgba(4, 21, 60, .3); }
.pain:hover .ic { animation: m-wiggle .6s var(--ease); }
.faq details { position: relative; transition: background-color .3s; border-radius: 12px; }
.faq details::before { content: ''; position: absolute; left: -10px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue), var(--green)); transform: scaleY(0); transition: transform .45s var(--ease); }
.faq details[open]::before { transform: scaleY(1); }
.faq summary { border-radius: 10px; padding-left: 10px; padding-right: 10px; transition: background-color .25s, color .2s; }
.faq summary:hover { background: var(--bg-alt); }
.legal a, .muted a, .next a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .35s var(--ease); }
.legal a:hover, .muted a:hover { background-size: 100% 1.5px; text-decoration: none; }
.sec-list li .ic { transition: transform .45s var(--ease); }
.sec-list li:hover .ic { transform: scale(1.2) rotate(-8deg); }
.chip-wave:hover { background: #d4edff; } .chip-orange:hover { background: #ffe4cc; } .chip-mtn:hover { background: #fff1b3; } .chip-moov:hover { background: #d6e4ff; }

/* ---- Retour en haut avec anneau de progression ---- */
.to-top { position: fixed; right: 26px; bottom: 92px; z-index: 59; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px rgba(4, 21, 60, .2); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s, box-shadow .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s, box-shadow .3s; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(4, 21, 60, .28); }
.to-top > .ic { position: relative; z-index: 1; transition: transform .35s var(--ease); }
.to-top:hover > .ic { transform: translateY(-2px); }
.to-top svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tt-bg { fill: none; stroke: var(--line); stroke-width: 3; }
.tt-ring { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--sp, 0) * 100); }

/* ---- Transitions entre les pages du site (navigateurs compatibles) ---- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .22s ease-in both m-vt-out; }
::view-transition-new(root) { animation: .45s cubic-bezier(.22, 1, .36, 1) both m-vt-in; }
@keyframes m-vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes m-vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .facts-in { grid-template-columns: repeat(3, 1fr); }
  .steps-line { display: none; }
  .live { left: 8px; bottom: -34px; }
  .fb-3 { right: -8px; } .fb-1 { left: -8px; }
}
@media (max-width: 640px) {
  .facts-in { grid-template-columns: repeat(2, 1fr); padding: 22px 12px; }
  .facts-in .fact:last-child { grid-column: 1 / -1; }
  .live { width: 260px; left: -4px; bottom: -40px; }
  .live-n small { font-size: 11px; }
  .scroll-cue { display: none; }
  .float-badge { font-size: 12px; padding: 8px 12px; }
  .to-top { right: 16px; bottom: 82px; width: 44px; height: 44px; }
  .hero-for { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .mq-track, .cta-particles i, .plan-featured::after, .float-badge { animation: none !important; }
}

.hero.off h1 .grad { animation-play-state: paused; }
.fact { position: relative; }
.tilt3d.tilt3d.tilt3d { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.fact.tilt3d:hover { --lift: -4px; }

/* ---- Paiement direct Wave / Orange Money ---- */
.pm-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.pm-wave { background: #1dc8ff; box-shadow: 0 0 0 3px rgba(29, 200, 255, .2); }
.pm-orange { background: #ff7900; box-shadow: 0 0 0 3px rgba(255, 121, 0, .2); }
.radio-card b .pm-dot { margin-right: 2px; }
.direct h1 { font-size: 32px; margin-top: 12px; }
.direct-badge { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; border-radius: 999px; padding: 6px 14px; margin: 0; }
.direct-badge.is-wave { background: #e7f8ff; color: #0b6fb8; } .direct-badge.is-orange { background: #fff1e6; color: #c2410c; }
.direct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.direct-box { background: var(--bg-alt); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; }
.direct-box span { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.direct-box b { font-size: 24px; color: var(--ink); letter-spacing: .01em; }
.direct-box .btn { justify-self: start; margin-top: 4px; }
.btn.copied { border-color: var(--green); color: var(--green-600); }
.direct-steps { padding-left: 22px; margin: 0 0 18px; color: var(--text); }
.direct-steps li { margin-bottom: 8px; }
.direct-open { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.btn-wave { background: #1dc8ff; color: #04153c; box-shadow: 0 10px 24px rgba(29, 200, 255, .35); }
.btn-wave:hover { background: #5ad8ff; }
.btn-orange { background: #ff7900; color: #fff; box-shadow: 0 10px 24px rgba(255, 121, 0, .3); }
.btn-orange:hover { background: #ff8f2a; }
.direct-form { border-top: 1px solid var(--line); padding-top: 22px; }
.direct-form h2 { font-size: 20px; margin: 0; }
@media (max-width: 640px) { .direct-grid { grid-template-columns: 1fr; } .direct-open .btn { width: 100%; } .direct h1 { font-size: 26px; } }
.pricing.many .plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ---- Guides ---- */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.doc { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.doc:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(4, 21, 60, .12); border-color: rgba(31, 126, 232, .35); }
.doc-ic { width: 52px; height: 60px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(160deg, #fdeceb, #fff); color: #d92d20; border: 1px solid #f6d3cf; transition: transform .5s var(--ease); }
.doc:hover .doc-ic { transform: rotate(-6deg) scale(1.06); }
.doc-body h3 { font-size: 17px; margin: 0 0 4px; }
.doc-body p { color: var(--muted); font-size: 14.5px; margin: 0 0 6px; }
.doc-body small { color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.doc-act { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .docs { grid-template-columns: 1fr; } }
