:root {
  --ink: #0f172a; --muted: #475569; --soft: #64748b; --line: #e2e8f0; --bg: #ffffff; --bg2: #f8fafc;
  --brand: #4f46e5; --brand-ink: #3730a3; --brand-soft: #eef2ff; --wa: #16a34a; --wa-ink: #15803d; --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 650; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-ink); }
:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }

/* En-tête */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.01em; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.links { display: flex; gap: 22px; font-size: 14.5px; color: var(--muted); }
nav.links a { text-decoration: none; }
nav.links a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang a { background: #fff; padding: 6px 9px; font-size: 12.5px; font-weight: 700; color: var(--soft); text-decoration: none; }
.lang a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.top .btn { padding: 9px 14px; font-size: 14px; }
@media (max-width: 860px) { nav.links { display: none; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* Accroche */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 400px at 80% -10%, #e0e7ff 0, transparent 60%), radial-gradient(800px 300px at 0% 0%, #f0fdf4 0, transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 5px 10px; border-radius: 999px; }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; letter-spacing: -.025em; margin: 16px 0 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--soft); }
.proof span::before { content: "✓"; color: var(--wa); font-weight: 800; margin-right: 6px; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(30, 41, 59, .35); padding: 18px; }
.mock-h { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-h i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi b { display: block; font-size: 22px; letter-spacing: -.02em; }
.kpi small { color: var(--soft); font-size: 12px; }
.msg { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 12px; font-size: 13.5px; }
.msg .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.rows { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; }
.rows div { display: grid; grid-template-columns: 1.4fr .8fr .8fr; padding: 9px 12px; border-top: 1px solid var(--line); }
.rows div:first-child { border-top: 0; background: var(--bg2); font-weight: 700; color: var(--soft); font-size: 12px; }
.tag { justify-self: start; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.tag.ok { background: #dcfce7; color: #166534; } .tag.wait { background: #fef3c7; color: #92400e; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-h { max-width: 720px; margin-bottom: 36px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
.sec-h p { color: var(--muted); font-size: 17px; margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 17.5px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.ico svg { width: 22px; height: 22px; }
.ico.wa { background: #dcfce7; color: var(--wa-ink); }

/* Étapes */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; }
.step h3 { font-size: 16.5px; margin: 12px 0 6px; } .step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Bandeau WhatsApp */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 920px) { .band { grid-template-columns: 1fr; } }
.list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 10px; color: var(--muted); }
.list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2315803d'%3E%3Cpath d='M8.2 13.6 4.6 10l1.4-1.4 2.2 2.2 5.8-5.8 1.4 1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
.phone { max-width: 340px; margin-inline: auto; background: #e7ddd3; border-radius: 26px; padding: 14px; border: 8px solid #0f172a; font-size: 14px; }
.bubble { background: #fff; border-radius: 10px; padding: 9px 11px; margin: 8px 0; max-width: 88%; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.bubble.me { background: #d9fdd3; margin-left: auto; }
.bubble small { display: block; color: #667781; font-size: 11px; text-align: right; margin-top: 2px; }

/* Offres */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 18px 40px -24px rgba(79,70,229,.6); }
.plan .badge { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 4px 9px; border-radius: 999px; margin-bottom: 10px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .for { color: var(--soft); font-size: 14px; margin: 4px 0 14px; }
.price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); flex: 1; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 8px; }

/* Effectif & options */
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-bottom: 18px; }
.seg span { align-self: center; font-size: 13.5px; color: var(--soft); padding: 0 6px; }
.seg button { border: 0; background: transparent; padding: 8px 12px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 650; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.price small { display: block; font-size: 13px; font-weight: 600; color: var(--soft); letter-spacing: 0; }
.opts { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.opts h3 { margin: 0 0 8px; font-size: 17px; }
.js-opts > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.js-opts > div b { color: var(--ink); white-space: nowrap; }
/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--soft); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }
form.cf { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { form.cf { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; }
.f.full { grid-column: 1 / -1; }
label { font-size: 13.5px; font-weight: 650; color: var(--ink); }
input, select, textarea { font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px #e0e7ff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 13px; color: var(--soft); }
.alert { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; }
.alert.ok { background: #dcfce7; color: #166534; } .alert.err { background: #fee2e2; color: #991b1b; }
.direct { display: grid; gap: 10px; margin-top: 18px; }

footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { text-decoration: none; } footer a:hover { color: var(--ink); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Pages guides */
.crumbs { font-size: 13.5px; color: var(--soft); margin: 0 0 14px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.page-hero { padding: 56px 0 40px; background: radial-gradient(1200px 400px at 80% -10%, #e0e7ff 0, transparent 60%); }
.page-hero h1 { max-width: 820px; }
.article { width: min(780px, 100% - 32px); margin-inline: auto; padding: 8px 0 56px; }
.article h2 { font-size: clamp(22px, 2.8vw, 28px); margin: 40px 0 12px; }
.article p, .article li { color: var(--muted); font-size: 16.5px; }
.article ul { padding-left: 22px; } .article li { margin: 6px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.article th, .article td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { color: var(--ink); background: var(--bg2); }
.cta-box { margin: 40px 0 0; padding: 24px; border-radius: 16px; background: var(--brand-soft); border: 1px solid #c7d2fe; }
.cta-box h2 { margin-top: 0; }
.cta-box .cta { margin-top: 14px; }
.guides .card a { text-decoration: none; }
.guides .card h3 a:hover { color: var(--brand); }
.more { display: inline-block; margin-top: 10px; font-weight: 650; color: var(--brand); text-decoration: none; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; width: 100%; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { margin: 0 0 8px; color: var(--ink); font-size: 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer p { margin: 0 0 6px; }
