:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e5e8ef;
  --brand: #2f5bea;
  --brand-ink: #1f3fb8;
  --brand-soft: #eef2fe;
  --ok: #12805c;
  --star-bg: #fff3dc;
  --star-ink: #8a5a00;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --bg-alt: #10162a;
    --surface: #141b31;
    --ink: #eef2ff;
    --ink-2: #cbd5e1;
    --muted: #94a3b8;
    --line: #253052;
    --brand: #6d8bff;
    --brand-ink: #a9bbff;
    --brand-soft: #1b2650;
    --ok: #4fd1a1;
    --star-bg: #3a2c0c;
    --star-ink: #ffd27a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; font-weight: 650; font-size: 0.95rem; text-decoration: none; transition: transform 0.1s, background 0.15s, border-color 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-ink); }
.btn.outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn.outline:hover { border-color: var(--brand); color: var(--brand); }
.btn.ghost { color: var(--ink-2); border-color: var(--line); }
.btn.block { display: flex; width: 100%; }
.btn.light { background: #fff; color: #1f3fb8; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 0.95rem; }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.93rem; }
.top-nav a:not(.btn):hover { color: var(--brand); }
.top-nav .btn { padding: 8px 14px; }

/* Accroche */
.hero { padding: 88px 0 72px; background: radial-gradient(800px 380px at 80% -10%, var(--brand-soft), transparent 70%), var(--bg); }
.hero-in { max-width: 820px; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { margin: 20px 0 28px; max-width: 680px; color: var(--ink-2); font-size: 1.12rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.hero-proof b { color: var(--ink); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; max-width: 720px; }
.section-lead { margin: 14px 0 0; max-width: 640px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; }
.steps h3, .features h3 { font-size: 1.08rem; margin-bottom: 8px; }
.steps p, .features p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.features article { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.f-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: var(--brand-soft); font-size: 1.25rem; }

/* Formules */
.plans { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: 44px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--brand); transform: translateY(-8px); }
.badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--star-bg); color: var(--star-ink); font-size: 0.78rem; font-weight: 700; }
.plan h3 { font-size: 1.25rem; }
.plan-desc { margin: -8px 0 0; color: var(--muted); font-size: 0.93rem; }
.price { display: flex; align-items: baseline; gap: 6px; }
.amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.amount.small { font-size: 1.6rem; }
.period { color: var(--muted); font-weight: 600; }
.plan-list { display: grid; gap: 10px; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 0.94rem; color: var(--ink-2); }
.plan-list li { position: relative; padding-left: 26px; }
.plan-list li::before { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 0.7rem; font-weight: 800; }
.plan-list .yes::before { content: '✓'; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.plan-list .no { color: var(--muted); opacity: 0.75; }
.plan-list .no::before { content: '–'; color: var(--muted); background: var(--bg-alt); }
.plan-list b { color: var(--ink); }
.plans-loading, .plans-empty { grid-column: 1 / -1; padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.plans-note { margin: 28px 0 0; color: var(--muted); text-align: center; }

/* Questions */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* Appel final */
.cta { background: linear-gradient(135deg, #2f5bea, #1f3fb8); color: #fff; text-align: center; }
.cta-in { display: grid; justify-items: center; gap: 14px; }
.cta h2 { margin: 0 auto; }
.cta p { margin: 0 0 8px; opacity: 0.85; }

.foot { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot a { color: var(--muted); }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .plan.featured { transform: none; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .top-nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .steps, .features { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }
