/* CLIKSPAM — site vitrine. Feuille de style maison : aucune police, image ou ressource externe.
   Couleurs alignées sur le portail (internal/web/static/app.css). Mobile d'abord. */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --text: #17212b;
  --muted: #55626f;
  --border: #d9e0e7;
  --brand: #0f6e8c;
  --brand-strong: #0b5670;
  --brand-ink: #ffffff;
  --brand-soft: #e5f1f7;
  --accent: #6fd0ea;
  --night: #0f2233;
  --night-2: #142c40;
  --night-text: #c9d6e2;
  --ok: #1d7f49;
  --ok-bg: #e3f4ea;
  --warn: #a65500;
  --warn-bg: #fdf0e1;
  --danger: #b8322a;
  --danger-bg: #fbe7e5;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(16, 34, 51, .06), 0 8px 24px rgba(16, 34, 51, .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --wrap: 1140px;
  --gutter: 20px;
  --header-h: 64px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e151c;
    --bg-alt: #121c25;
    --surface: #16212b;
    --surface-2: #1d2a36;
    --text: #e3eaf1;
    --muted: #9fb0c0;
    --border: #2a3a49;
    --brand: #4fb6d6;
    --brand-strong: #7cc9e1;
    --brand-ink: #071016;
    --brand-soft: #13293a;
    --night: #0a1118;
    --night-2: #0f1b26;
    --ok: #4cc584;
    --ok-bg: #12301f;
    --warn: #f0a24a;
    --warn-bg: #3a2610;
    --danger: #f0776c;
    --danger-bg: #3a1714;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  }
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 1rem/1.6 var(--font); color: var(--text); background: var(--bg);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 650; }
code { font-family: var(--mono); font-size: .9em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--accent);
  color: var(--night); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: .75rem; }

/* --- Boutons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.25rem; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-strong); color: var(--brand-ink); }
.btn-accent { background: var(--accent); color: var(--night); }
.btn-accent:hover { background: #9fe0f1; color: var(--night); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-small { min-height: 38px; padding: .45rem .85rem; font-size: .9rem; }

/* --- En-tête --- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--night-text);
  border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h);
  flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none;
  font-weight: 800; letter-spacing: .06em; font-size: 1.05rem; margin-right: auto; padding: .5rem 0; }
.brand:hover { color: #fff; }
.brand .logo { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand small { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .02em;
  color: var(--night-text); margin-top: -.15rem; }
.nav-toggle { display: none; align-items: center; gap: .4rem; background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; padding: .45rem .7rem; font: inherit;
  font-weight: 600; cursor: pointer; min-height: 40px; }
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav { width: 100%; padding-bottom: .75rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.site-nav a { display: block; color: var(--night-text); text-decoration: none; padding: .6rem .75rem;
  border-radius: 8px; font-weight: 550; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.site-nav .nav-cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; padding: 0 .25rem; }
.site-nav .nav-cta a { padding: .45rem .85rem; }
.site-nav .nav-cta .btn-accent { color: var(--night); }
.site-nav .nav-cta .btn-accent:hover { background: #9fe0f1; color: var(--night); }
.site-nav .nav-cta .btn-ghost:hover { background: rgba(255, 255, 255, .06); }

/* Avec JavaScript, le menu se replie sur mobile. Sans JavaScript, il reste déplié. */
.js .nav-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js.nav-open .site-nav { display: block; }

@media (min-width: 960px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: flex; align-items: center; width: auto; padding: 0; gap: 1.25rem; }
  .site-nav ul { flex-direction: row; gap: .15rem; }
  .site-nav a { padding: .45rem .7rem; font-size: .95rem; }
  .site-nav .nav-cta { margin: 0; padding: 0; flex-wrap: nowrap; }
}

/* --- Sections --- */
main > section, .page { scroll-margin-top: calc(var(--header-h) + 8px); }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; }

/* --- Accroche --- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--night);
  background-image: radial-gradient(1100px 520px at 85% -10%, rgba(15, 110, 140, .55), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(111, 208, 234, .12), transparent 60%);
  padding-block: clamp(48px, 9vw, 112px) clamp(56px, 9vw, 112px); }
.hero .wrap { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; max-width: 17ch; font-size: clamp(2.1rem, 5.4vw, 3.2rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(1.08rem, 2.2vw, 1.25rem); color: var(--night-text); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: #e6eef5; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; }
.hero-points svg { width: 20px; height: 20px; flex: none; margin-top: .2rem; color: var(--accent); }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

/* Carte « message retenu » (reprend le portail) */
.mail-card { margin: 0; background: #ffffff; color: #17212b; border-radius: 16px; padding: 1.25rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
  max-width: 480px; width: 100%; justify-self: center; }
.mail-card .mc-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  font-size: .78rem; color: #55626f; margin-bottom: .9rem; }
.mail-card .mc-tag { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700;
  color: #0f6e8c; letter-spacing: .04em; text-transform: uppercase; }
.mail-card .mc-tag svg { width: 16px; height: 16px; }
.mc-from { display: flex; gap: .75rem; align-items: center; padding-bottom: .9rem;
  border-bottom: 1px solid #e3e8ee; }
.mc-avatar { width: 40px; height: 40px; border-radius: 50%; background: #eef2f6; color: #55626f;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.mc-from b { display: block; font-size: .95rem; }
.mc-from span { font-size: .82rem; color: #55626f; overflow-wrap: anywhere; }
.mc-subject { font-weight: 650; margin: .85rem 0 1rem; font-size: .98rem; }
.mc-score { display: flex; align-items: center; gap: 1rem; }
.mc-num { font-size: 2.7rem; font-weight: 800; line-height: 1; color: #b8322a;
  font-variant-numeric: tabular-nums; }
.mc-num small { font-size: 1rem; color: #55626f; font-weight: 600; }
.mc-verdict { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; color: #55626f; }
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .6rem; border-radius: 99px;
  font-size: .78rem; font-weight: 700; white-space: nowrap; width: max-content; }
.pill-danger { background: #fbe7e5; color: #b8322a; }
.pill-warn { background: #fdf0e1; color: #a65500; }
.pill-ok { background: #e3f4ea; color: #1d7f49; }
.mc-bar { display: block; width: 100%; height: auto; margin: .6rem 0 .1rem; }
.mc-threat { display: flex; gap: .65rem; align-items: flex-start; background: #fbe7e5; color: #7d211b;
  border-radius: 10px; padding: .7rem .85rem; margin: .9rem 0; font-size: .88rem; }
.mc-threat svg { width: 20px; height: 20px; flex: none; color: #b8322a; margin-top: .1rem; }
.mc-threat b { display: block; color: #b8322a; }
.calc { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.calc li { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0;
  border-bottom: 1px dashed #d9e0e7; }
.calc li:last-child { border-bottom: 0; }
.calc .calc-head { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
  color: #55626f; }
.calc .d { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; color: #b8322a; }
.calc .d.base { color: #17212b; }
.calc .total { font-weight: 750; border-top: 1px solid #c9d2db; border-bottom: 0; padding-top: .55rem; }
.mail-card figcaption { font-size: .75rem; color: #55626f; margin-top: .75rem; text-align: right; }

/* Bandeau de réassurance */
.assurances { background: var(--night-2); color: var(--night-text); border-top: 1px solid rgba(255, 255, 255, .06); }
.assurances ul { list-style: none; margin: 0; padding: 1rem 0; display: grid; gap: .6rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); font-size: .92rem; }
.assurances li { display: flex; align-items: center; gap: .55rem; }
.assurances svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* --- Cartes génériques --- */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow); }
.card h3 { margin-top: .9rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); }
.icon svg { width: 26px; height: 26px; }
.icon-danger { background: var(--danger-bg); color: var(--danger); }
.icon-warn { background: var(--warn-bg); color: var(--warn); }
.problem-note { margin-top: 2rem; max-width: 820px; font-size: 1.08rem; }

/* --- Fonctionnement : schéma --- */
.flow { margin: 0 0 clamp(32px, 5vw, 48px); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.flow svg { display: block; width: 100%; height: auto; margin-inline: auto; }
.flow .flow-v { display: block; max-width: 360px; }
.flow .flow-h { display: none; }
@media (min-width: 760px) { .flow .flow-v { display: none; } .flow .flow-h { display: block; } }
.flow figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted); text-align: center; }

/* Couleurs des schémas SVG (classes pour suivre le thème clair/sombre) */
.s-box { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.s-box-brand { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 2; }
.s-line { stroke: var(--muted); stroke-width: 2; fill: none; }
.s-line-ok { stroke: var(--ok); stroke-width: 2.5; fill: none; }
.s-line-warn { stroke: var(--warn); stroke-width: 2; fill: none; stroke-dasharray: 5 5; }
.s-line-danger { stroke: var(--danger); stroke-width: 2; fill: none; stroke-dasharray: 5 5; }
.s-fill-muted { fill: var(--muted); }
.s-fill-ok { fill: var(--ok); }
.s-fill-warn { fill: var(--warn); }
.s-fill-danger { fill: var(--danger); }
.s-fill-brand { fill: var(--brand); }
.s-title { fill: var(--text); font: 700 15px var(--font); }
.s-title-l { font-size: 19px; font-weight: 800; letter-spacing: .06em; }
.s-text-brand { fill: var(--brand); font: 700 13px var(--font); }
.s-text { fill: var(--muted); font: 500 12.5px var(--font); }
.s-text-ok { fill: var(--ok); font: 700 12.5px var(--font); }
.s-text-warn { fill: var(--warn); font: 700 12.5px var(--font); }
.s-text-danger { fill: var(--danger); font: 700 12.5px var(--font); }
.s-icon { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-icon-muted { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-shield { fill: var(--brand); }
.s-check { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .s-check { stroke: #071016; } }
.flow-v .s-text { font-size: 13.5px; }
.flow-v .s-title { font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps > li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps > li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink);
  font-weight: 800; }
.steps h3 { margin-top: 0; }
.steps p { color: var(--muted); margin: 0; }
.callout { display: flex; gap: .85rem; align-items: flex-start; margin-top: 2rem; padding: 1rem 1.25rem;
  border-radius: var(--radius-s); background: var(--brand-soft); border-left: 4px solid var(--brand); }
.callout svg { width: 24px; height: 24px; color: var(--brand); flex: none; margin-top: .1rem; }
.callout p { margin: 0; }

/* --- Fonctionnalités --- */
.feature-hero { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: clamp(32px, 5vw, 56px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
@media (min-width: 900px) { .feature-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.feature-hero h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin-top: 0; }
.gauge { margin: 0; }
.gauge svg { display: block; width: 100%; max-width: 380px; height: auto; margin-inline: auto; }
.g-arc { fill: none; stroke-width: 22; stroke-linecap: butt; }
.g-danger { stroke: var(--danger); }
.g-warn { stroke: var(--warn); }
.g-ok { stroke: var(--ok); }
.g-needle { stroke: var(--text); stroke-width: 4; stroke-linecap: round; }
.g-hub { fill: var(--text); }
.g-num { fill: var(--text); font: 800 44px var(--font); }
.g-sub { fill: var(--muted); font: 600 13px var(--font); }
.g-tick { fill: var(--muted); font: 600 12px var(--font); }
.feature-hero .icon + h3 { margin-top: .9rem; }
.calc-theme { margin-bottom: 1rem; font-size: .93rem; }
.calc-theme li { border-bottom-color: var(--border); }
.calc-theme .d { color: var(--danger); }
.calc-theme .d.plus { color: var(--ok); }
.zones { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .65rem; }
.zones li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .75rem; align-items: baseline;
  padding: .75rem .9rem; border-radius: var(--radius-s); background: var(--bg-alt); }
.zones .range { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 4.6rem; }
.zones .z-ok .range { color: var(--ok); }
.zones .z-warn .range { color: var(--warn); }
.zones .z-danger .range { color: var(--danger); }
.zones span { color: var(--muted); font-size: .93rem; }
.zones b { color: var(--text); }

.threats { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.threats li { display: flex; gap: .6rem; align-items: baseline; font-size: .95rem; }
.threats li::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--danger);
  flex: none; transform: translateY(-.05em); }
.threats b { white-space: nowrap; }

.features { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.features .card h3 { font-size: 1.1rem; }
.features .card p { color: var(--muted); }

/* --- Sécurité --- */
.section-dark { background: var(--night); color: var(--night-text);
  background-image: radial-gradient(900px 480px at 100% 0%, rgba(15, 110, 140, .35), transparent 60%); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .section-head p { color: var(--night-text); }
.sec-grid { display: grid; gap: 1px; background: rgba(255, 255, 255, .08); border-radius: var(--radius);
  overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  border: 1px solid rgba(255, 255, 255, .08); }
.sec-item { background: var(--night); padding: clamp(1.25rem, 3vw, 1.75rem); }
.sec-item .icon { background: rgba(111, 208, 234, .12); color: var(--accent); }
.sec-item h3 { margin: .9rem 0 .4rem; }
.sec-item p { margin: 0; }
.sec-item code { color: #e6eef5; }

/* --- Migration --- */
.split { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; } }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.5rem 2.75rem; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: .85rem;
  border: 2px solid var(--brand); }
.timeline h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.timeline p { margin: 0; color: var(--muted); }
.aside-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow); }
.aside-card h3 { margin-top: .9rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: .2rem; }

/* --- Offres --- */
.plans { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  max-width: 980px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.plan-featured { border: 2px solid var(--brand); }
.plan-badge { position: absolute; top: -.8rem; left: clamp(1.5rem, 4vw, 2.25rem); background: var(--brand);
  color: var(--brand-ink); font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 99px; }
.plan h3 { font-size: 1.5rem; margin: 0 0 .35rem; }
.plan .plan-for { color: var(--muted); margin-bottom: 1.25rem; }
@media (min-width: 760px) { .plan .plan-for { min-height: 3.2em; } }
.plan .price { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.plan .price-note { color: var(--muted); font-size: .88rem; margin: .15rem 0 1.5rem; }
.plan .check-list { margin-bottom: 1.75rem; }
.plan .check-list .plus { font-weight: 650; }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; color: var(--muted); max-width: 720px; margin: 2rem auto 0; font-size: .95rem; }

/* --- FAQ --- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.25rem; font-weight: 650;
  position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg);
  transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* --- Appel à l'action --- */
.cta { background: var(--brand); color: #fff; border-radius: 22px; padding: clamp(2rem, 6vw, 3.5rem);
  display: grid; gap: 1.5rem; align-items: center;
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(111, 208, 234, .35), transparent 60%); }
@media (prefers-color-scheme: dark) { .cta { background-color: #0d4f66; } }
@media (min-width: 860px) { .cta { grid-template-columns: 1fr auto; } }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { margin: 0; color: #e3f3f9; font-size: 1.08rem; max-width: 60ch; }
.cta .cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .btn-white { background: #fff; color: #0b5670; }
.cta .btn-white:hover { background: #e9f6fb; color: #0b5670; }
.cta .cta-mail { display: block; margin-top: .75rem; font-size: .9rem; color: #e3f3f9; }
.cta .cta-mail a { color: #fff; }

/* --- Pied de page --- */
.site-footer { background: var(--night); color: var(--night-text); padding-block: 48px 32px; font-size: .92rem; }
.site-footer .wrap { display: grid; gap: 2rem; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: .8rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--night-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { margin-bottom: .75rem; }
.site-footer p { max-width: 42ch; }
.footer-bottom:only-child { border-top: 0; padding-top: 0; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: #93a3b3; }

/* --- Pages de texte (mentions, confidentialité) --- */
.page-hero { background: var(--night); color: #fff; padding-block: clamp(40px, 7vw, 72px) clamp(32px, 5vw, 48px); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: .3rem; }
.page-hero p { color: var(--night-text); margin: 0; }
.prose { max-width: 780px; padding-block: clamp(36px, 6vw, 64px); }
.prose h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: 2.25rem; padding-top: .25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose dl { display: grid; grid-template-columns: 1fr; gap: .2rem 1.25rem; margin: 0 0 1em; }
.prose dt { font-weight: 650; }
.prose dd { margin: 0 0 .6rem; color: var(--muted); }
@media (min-width: 640px) {
  .prose dl { grid-template-columns: minmax(12rem, max-content) 1fr; }
  .prose dd { margin-bottom: .35rem; }
}
.prose li { margin-bottom: .35rem; }
.prose .table-wrap { overflow-x: auto; margin: 0 0 1.25em; border: 1px solid var(--border); border-radius: var(--radius-s); }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6rem .8rem; border-bottom: 1px solid var(--border); }
.prose th { background: var(--surface-2); font-weight: 650; }
.prose tr:last-child td { border-bottom: 0; }
.toc { background: var(--bg-alt); border-radius: var(--radius-s); padding: 1rem 1.25rem; margin-bottom: 2rem; }
.toc h2 { font-size: 1rem; margin: 0 0 .5rem; }
.toc ol { margin: 0; }
mark.todo { background: #fff1b8; color: #4a3b00; padding: .05em .3em; border-radius: 4px; font-weight: 600; }
@media (prefers-color-scheme: dark) { mark.todo { background: #4a3b00; color: #fff1b8; } }

/* --- Page 404 --- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.notfound .logo-big { width: 84px; height: 84px; color: var(--brand); margin: 0 auto 1.25rem; display: block; }
.notfound p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }

@media print {
  .site-header, .site-footer, .nav-toggle, .cta, .skip-link { display: none !important; }
  .hero, .section-dark, .page-hero { background: none !important; color: #000 !important; }
  .hero h1, .section-dark h2, .section-dark h3, .page-hero h1 { color: #000 !important; }
}
