:root {
  --primary: #2563EB; --primary-strong: #1D4ED8; --primary-soft: #DBEAFE;
  --ink: #1E293B; --muted: #475569; --line: #E2E8F0;
  --bg: #FFFFFF; --bg-alt: #F8FAFC; --card: #FFFFFF;
  --ok: #16A34A; --warn: #D97706; --danger: #DC2626;
  --radius: 14px; --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #60A5FA; --primary-strong: #93C5FD; --primary-soft: #1E3A8A;
    --ink: #F1F5F9; --muted: #94A3B8; --line: #1E293B;
    --bg: #0B1120; --bg-alt: #0F172A; --card: #111827;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .3);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 400 16px/1.6 Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: "Inter Tight", Inter, sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--primary); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section { padding: 80px 0; }
.alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: .75rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--bg); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: background .15s, transform .15s; }
.btn-primary { background: #2563EB; color: #fff; } .btn-primary:hover { background: #1D4ED8; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); } .btn-ghost:hover { border-color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* En-tête */
header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.logo img { height: 34px; display: block; }
.logo .dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .light { display: none; } .logo .dark { display: block; } }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--muted); text-decoration: none; font-weight: 500; } .nav ul a:hover { color: var(--ink); }
.nav .btn { padding: .55rem 1rem; }
.nav-login { color: var(--ink); text-decoration: none; font-weight: 500; margin-right: .5rem; }
@media (max-width: 860px) { .nav ul, .nav-login { display: none; } }

/* Hero */
.hero { padding: 72px 0 88px; background: radial-gradient(1000px 420px at 85% -10%, color-mix(in srgb, var(--primary) 18%, transparent), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 span { color: var(--primary); }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; color: var(--muted); font-size: .92rem; }
.trust span::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* Maquette tableau de bord */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; } .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi small { color: var(--muted); font-size: .78rem; } .kpi b { display: block; font: 700 1.4rem "Inter Tight", sans-serif; }
.kpi em { font-style: normal; font-size: .78rem; font-weight: 600; } .up { color: var(--ok); } .down { color: var(--danger); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 16px 0 6px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; background: var(--primary); border-radius: 6px 6px 0 0; opacity: .85; }
.bars-legend { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); padding: 0 4px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.mock-row:first-of-type { margin-top: 10px; }
.tag { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.tag-ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.tag-warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }

/* Cartes */
.grid { display: grid; gap: 20px; margin-top: 40px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); margin-bottom: 14px; }
.ico svg { width: 22px; height: 22px; }
.card ul { margin: .75rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .93rem; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); margin-left: .4rem; vertical-align: middle; }

/* Problème / solution */
.pain { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .pain { grid-template-columns: 1fr; } }
.pain .card h3 { display: flex; align-items: center; gap: .5rem; }
.pain ul { list-style: none; padding: 0; } .pain li { padding: .4rem 0; border-top: 1px solid var(--line); }
.pain li:first-child { border-top: 0; }

/* Vidéo */
.video { margin-top: 36px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; }
.video video { display: block; width: 100%; height: auto; }

/* Tarifs */
.highlight { border: 2px solid var(--primary); position: relative; }
.highlight .big { font: 800 2.4rem "Inter Tight", sans-serif; margin: .25rem 0; }
.note { font-size: .85rem; color: var(--muted); margin-top: 1.5rem; }

/* FAQ */
.faq { max-width: 780px; margin: 40px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: .75rem 0 0; }

/* CTA final */
.cta { background: #1D4ED8; color: #fff; border-radius: 22px; padding: 56px 32px; text-align: center; }
.cta h2 { color: #fff; } .cta p { color: #DBEAFE; max-width: 56ch; margin-inline: auto; }
.cta .btn-primary { background: #fff; color: #1D4ED8; } .cta .btn-primary:hover { background: #EFF6FF; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .4); }
.cta .actions { justify-content: center; }

/* Illustrations unDraw : panneau clair en thème sombre, leurs traits sont foncés */
.illu { display: block; width: 100%; max-width: 340px; height: auto; margin: 32px auto 0; }
.illu-sm { max-width: 220px; margin: 0 0 20px; }
@media (prefers-color-scheme: dark) { .illu { background: #F1F5F9; border-radius: 16px; padding: 16px; } }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .illu { margin-top: 0; } }
.split .card { margin-top: 0; }
.checks { list-style: none; padding: 0 !important; }
.checks li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot a { color: var(--muted); text-decoration: none; } .foot a:hover { color: var(--ink); }
.contacts { font-style: normal; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .5rem; }
.contacts a { color: var(--primary); }

/* Pages légales */
.legal { max-width: 780px; padding: 48px 16px 80px; margin: 0 auto; }
.legal .maj { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.25rem; }
.legal h3 { font-size: 1rem; margin-top: 1.25rem; margin-bottom: .25rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0; }
.legal th, .legal td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.legal-nav a { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); font-size: .9rem; }
.legal-nav a[aria-current="page"] { border-color: var(--primary); color: var(--primary); font-weight: 600; }
