:root {
  color-scheme: light;
  --ink: #0b1120;
  --blue: #254ed8;
  --blue-deep: #172554;
  --text: #0f172a;
  --text-soft: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-soft: #f8fafc;
  --gold: #facc15;
  --green: #16a34a;
  --radius: 14px;
  --maxw: 1080px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); line-height: 1.6; background: #fff; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: .9rem; font-weight: 600; }
.topnav a { text-decoration: none; color: var(--text-soft); white-space: nowrap; }
.topnav a:hover { color: var(--blue); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

.btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: 13px 26px; font-weight: 700; text-decoration: none; font-size: .95rem; }
.btn-install { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px rgba(250, 204, 21, .35); }
.btn-install:hover { filter: brightness(1.05); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--ink); color: #fff; }

.hero { color: #fff; background: radial-gradient(circle at 15% 0%, rgba(99,102,241,.35), transparent 45%), linear-gradient(150deg, #07111f 0%, #16295c 55%, #254ed8 130%); padding: 84px 0 96px; text-align: center; }
.hero .badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); border-radius: 999px; padding: 7px 16px; font-size: .85rem; font-weight: 600; margin-bottom: 26px; }
.hero .dot { width: 8px; height: 8px; border-radius: 999px; background: #4ade80; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; max-width: 20ch; margin: 0 auto 20px; }
.hero h1 .hl { color: var(--gold); }
.hero .sub { max-width: 62ch; margin: 0 auto 34px; color: #dbeafe; font-size: 1.12rem; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .proof { margin-top: 30px; color: #bfdbfe; font-size: .88rem; }

.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.eyebrow { color: var(--blue); font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 10px; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.section .lead { color: var(--text-soft); max-width: 70ch; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

.steps { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.step .num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: .93rem; }

.shots { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.08); }
.shot img { display: block; }
.shot figcaption { padding: 14px 16px; font-size: .88rem; color: var(--text-soft); border-top: 1px solid var(--line); }

.grid2 { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 860px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ico { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #eef2ff; font-size: 1.2rem; }
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { color: var(--text-soft); font-size: .92rem; }

.privacy-band { color: #fff; background: linear-gradient(140deg, #052e16, #14532d); border-radius: var(--radius); padding: 40px; margin-top: 40px; }
.privacy-band h3 { font-size: 1.35rem; margin-bottom: 12px; }
.privacy-band ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .privacy-band ul { grid-template-columns: 1fr 1fr; } }
.privacy-band li { display: flex; gap: 10px; color: #dcfce7; font-size: .95rem; }
.privacy-band li::before { content: "✓"; color: #4ade80; font-weight: 800; }

.plans { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--blue); box-shadow: 0 18px 44px rgba(37,78,216,.14); }
.plan .name { font-weight: 800; font-size: 1.05rem; }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: 8px 0 2px; }
.plan .per { color: var(--muted); font-size: .85rem; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; color: var(--text-soft); font-size: .93rem; }
.plan li::before { content: "✓  "; color: var(--green); font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; }

.video-embed { position: relative; width: 100%; max-width: 860px; margin: 36px auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.12); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: 16px; color: var(--muted); font-size: .95rem; }

.faq { margin-top: 34px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.faq p { color: var(--text-soft); padding-bottom: 16px; font-size: .95rem; }

.cta-final { text-align: center; color: #fff; background: linear-gradient(150deg, #07111f, #16295c); }
.cta-final h2 { color: #fff; }
.cta-final .lead { color: #dbeafe; margin: 0 auto 30px; }

footer { background: var(--ink); color: #cbd5e1; padding: 40px 0; font-size: .88rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: #fff; }
footer .sep { margin-left: auto; color: #64748b; }

/* ── Signaux de confiance (au-dessus du pli) ─────────────────────────── */
.trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; color: #e2e8f0; }
.trust span::before { content: "✓"; color: #4ade80; font-weight: 800; }
.trust a { color: #e2e8f0; text-decoration: underline; text-underline-offset: 3px; }

/* ── Fil d'Ariane ────────────────────────────────────────────────────── */
.crumbs { font-size: .8rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 6px; }

/* ── Carrousel de captures (mobile-first, scroll-snap) ───────────────── */
.shots.carousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
.shots.carousel .shot { flex: 0 0 88%; scroll-snap-align: center; }
@media (min-width: 900px) {
  .shots.carousel { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .shots.carousel .shot { flex: none; }
}
.carousel-hint { margin-top: 10px; color: var(--muted); font-size: .82rem; }
@media (min-width: 900px) { .carousel-hint { display: none; } }

/* ── Contenu éditorial (landings SEO) ────────────────────────────────── */
.prose { max-width: 74ch; margin: 0 auto; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 44px 0 12px; }
.prose h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-soft); }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 7px; }
.prose a { color: var(--blue); }
.prose strong { color: var(--text); }
.prose .toc-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); padding: 18px 22px; margin: 26px 0; }
.prose .toc-box p { margin: 0 0 8px; font-weight: 700; color: var(--text); }
.prose .toc-box ol { margin: 0; }
.quote-law { border-left: 4px solid var(--blue); background: var(--bg-soft); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 18px 0; font-size: .95rem; }
.quote-law cite { display: block; margin-top: 10px; color: var(--muted); font-size: .82rem; font-style: normal; }
.callout { border: 1px solid #fde68a; background: #fffbeb; color: #78350f; border-radius: 12px; padding: 16px 20px; margin: 20px 0; font-size: .93rem; }
.callout strong { color: #78350f; }
.next-reads { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 760px) { .next-reads { grid-template-columns: 1fr 1fr 1fr; } }
.next-reads a { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; background: #fff; font-weight: 600; font-size: .9rem; }
.next-reads a:hover { border-color: var(--blue); color: var(--blue); }

/* ── Tables (comparatif, sanctions, tarifs) ──────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0; }
table.grid { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; background: #fff; }
table.grid th, table.grid td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.grid thead th { background: var(--bg-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-soft); }
table.grid tbody tr:last-child td { border-bottom: none; }
table.grid td.yes { color: var(--green); font-weight: 700; }
table.grid td.no { color: var(--muted); }
table.grid th[scope="row"] { font-weight: 600; color: var(--text); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.tag-ok { background: #dcfce7; color: #15803d; }
.tag-info { background: #dbeafe; color: #1d4ed8; }
.tag-warn { background: #fef3c7; color: #b45309; }

/* ── Bascule mensuel / annuel ────────────────────────────────────────── */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px; margin: 26px auto 0; }
.billing-toggle button { border: 0; background: transparent; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; font-size: .88rem; color: var(--text-soft); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.save-pill { background: #dcfce7; color: #15803d; border-radius: 999px; padding: 3px 10px; font-size: .75rem; font-weight: 800; margin-left: 6px; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan .billed { color: var(--muted); font-size: .8rem; min-height: 1.2em; }
.plan .quote-cta { border-style: dashed; }

/* ── Formulaires (newsletter, contact, générateur) ───────────────────── */
.form-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 26px; margin: 28px 0; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .86rem; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: inherit; background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field .hint { color: var(--muted); font-size: .78rem; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grid-fields { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .grid-fields { grid-template-columns: 1fr 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
button.btn { border: 0; font-family: inherit; cursor: pointer; }
button.btn[disabled] { opacity: .6; cursor: progress; }
.form-msg { font-size: .88rem; font-weight: 600; margin-top: 12px; min-height: 1.3em; }
.form-msg[data-state="ok"] { color: var(--green); }
.form-msg[data-state="error"] { color: #b91c1c; }
.form-msg[data-state="pending"] { color: var(--muted); }
.newsletter { background: linear-gradient(140deg, #0f172a, #1e293b); color: #fff; border-radius: var(--radius); padding: 34px; margin: 40px 0 0; }
.newsletter h3 { font-size: 1.3rem; margin-bottom: 8px; }
.newsletter p { color: #cbd5e1; font-size: .93rem; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.newsletter input[type="email"] { flex: 1 1 260px; border: 1px solid #334155; background: #0b1120; color: #fff; border-radius: 999px; padding: 13px 20px; font: inherit; }
.newsletter input[type="email"]:focus { outline: 2px solid var(--gold); }
.newsletter .form-msg { color: #cbd5e1; width: 100%; }
.newsletter .form-msg[data-state="ok"] { color: #4ade80; }
.newsletter .form-msg[data-state="error"] { color: #fca5a5; }
.newsletter small { display: block; margin-top: 12px; color: #64748b; font-size: .78rem; }

/* ── Générateur de registre ──────────────────────────────────────────── */
.gen-rows { display: grid; gap: 14px; }
.gen-row { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; position: relative; }
.gen-row .row-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.gen-row .row-head strong { font-size: .9rem; }
.btn-mini { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 11px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--text-soft); }
.btn-mini:hover { border-color: #ef4444; color: #ef4444; }
.gen-empty { color: var(--muted); font-size: .9rem; padding: 16px 0; }

/* ── Annuaire SaaS ───────────────────────────────────────────────────── */
.saas-grid { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 700px) { .saas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .saas-grid { grid-template-columns: repeat(3, 1fr); } }
.saas-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; text-decoration: none; display: block; }
.saas-card:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(37,78,216,.08); }
.saas-card .n { font-weight: 700; }
.saas-card .v { color: var(--muted); font-size: .82rem; margin: 2px 0 10px; }
.saas-letter { margin: 34px 0 6px; font-size: 1.1rem; color: var(--blue); }
.kv { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 26px 0; }
.kv .row { display: grid; grid-template-columns: 200px 1fr; }
.kv .row + .row { border-top: 1px solid var(--line); }
.kv .k { background: var(--bg-soft); padding: 12px 16px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-soft); }
.kv .v { padding: 12px 16px; }
@media (max-width: 620px) { .kv .row { grid-template-columns: 1fr; } .kv .k { padding-bottom: 4px; } }

.section h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.page-lead { color: var(--text-soft); font-size: 1.05rem; max-width: 72ch; margin-bottom: 8px; }
.updated { color: var(--muted); font-size: .8rem; }
.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.cta-inline .btn-dark:hover { filter: brightness(1.15); }
@media print { .topbar, footer, .cta-inline, .newsletter { display: none; } }
