/* Site commercial · charte « éditeur de sécurité » : fond clair, gris froids, bleu net, police Inter.
   Aucun script, aucune ressource externe (polices auto-hébergées). Mode sombre automatique. */

@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #fbfcfd; --sheet: #ffffff; --alt: #f2f5f8; --ink: #0f1e2b; --ink-2: #475569; --ink-3: #64748b;
  --rule: #e3e8ee; --rule-2: #cdd5df;
  --blue: #2570bd; --blue-hover: #1d5fa3; --blue-soft: #e9f2fb; --blue-line: #9cc3ea; --glow: rgb(59 150 224 / 0.12);
  --navy: #0f1e2b; --ok: #15803d; --ok-bg: #ecfdf3; --ok-line: #bbf7d0; --stamp: #b42318; --warn-bg: #fef3f2; --warn-line: #fecdca;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(15 30 43 / 0.05), 0 20px 50px -16px rgb(15 30 43 / 0.28);
  --shadow-soft: 0 1px 2px rgb(15 30 43 / 0.04), 0 16px 44px -22px rgb(15 30 43 / 0.22);
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--body);
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --page: 71rem; --gutter: clamp(1.1rem, 4vw, 1.75rem); color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1418; --sheet: #161c22; --alt: #12171c; --ink: #e8eef4; --ink-2: #aab6c3; --ink-3: #8593a3;
    --rule: #242d36; --rule-2: #33404d;
    --blue: #4b9de8; --blue-hover: #6cb1f0; --blue-soft: rgb(75 157 232 / 0.12); --blue-line: #2e6496; --glow: rgb(75 157 232 / 0.14);
    --navy: #0a0e12; --ok: #4cc27a; --ok-bg: rgb(76 194 122 / 0.1); --ok-line: rgb(76 194 122 / 0.35); --stamp: #f97066; --warn-bg: rgb(249 112 102 / 0.08); --warn-line: rgb(249 112 102 / 0.35);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 20px 50px -16px rgb(0 0 0 / 0.6);
    --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 44px -22px rgb(0 0 0 / 0.55);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--blue); color: #fff; padding: 0.6rem 1rem; z-index: 60; border-radius: var(--radius-sm); }
.skip:focus { top: 0.5rem; }

h1, h2, h3, strong { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 22ch; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); max-width: 34ch; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); font-size: 0.9em; }
.wrap { max-width: var(--page); margin: 0 auto; padding-inline: var(--gutter); }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.tint { background: var(--alt); }
.kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin: 0 0 0.9rem; }

/* En-tête */
.masthead { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.masthead .wrap { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; flex-wrap: wrap; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.wordmark { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; margin-right: auto; line-height: 1.1; }
.wordmark:hover { color: var(--ink); }
.wordmark::before { content: ""; width: 1.55rem; height: 1.55rem; border-radius: 7px; background: linear-gradient(135deg, var(--blue), #3b96e0); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 6px var(--blue-line); flex: none; }
.wordmark small { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.masthead nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.masthead nav a { color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; opacity: 0.8; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.masthead nav a:hover { opacity: 1; }
.masthead nav a[aria-current] { opacity: 1; border-bottom-color: var(--blue); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; font: 600 0.95rem/1 var(--body); padding: 0.9rem 1.35rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--blue); background: var(--blue); color: #fff; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.btn--quiet { background: var(--sheet); color: var(--ink); border-color: var(--rule-2); }
.btn--quiet:hover { background: var(--sheet); color: var(--ink); border-color: var(--ink-3); }
.btn--small { padding: 0.6rem 1rem; font-size: 0.88rem; }
.actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }

/* Grilles et cartes */
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.card h2, .card h3 { font-size: 1.25rem; margin-bottom: 0.5em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.card .push { margin-top: auto; padding-top: 1rem; font-weight: 600; }
.card--star { border: 2px solid var(--blue); position: relative; box-shadow: var(--shadow); }
.card--star .badge { position: absolute; top: -0.8rem; left: 1.4rem; margin: 0; }
.badge { display: inline-block; background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 999px; margin-bottom: 0.6rem; align-self: flex-start; }
.price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin: 0.5rem 0 0.25rem; color: var(--ink); }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
ul.ticks { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.55rem; }
ul.ticks li { position: relative; padding-left: 1.1rem; font-size: 0.95rem; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
ul.cross li::before { border-radius: 1px; width: 8px; height: 2px; background: var(--stamp); top: 0.75em; }

/* Étapes numérotées (pages internes) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.steps li { counter-increment: step; padding: 1.5rem 1.4rem; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin: -1px 0 0 -1px; font-size: 0.95rem; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--blue-line); color: var(--blue); font-size: 0.75rem; font-weight: 700; margin-bottom: 0.6rem; }
.steps strong { display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.35rem; }

/* Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); }
table { border-collapse: collapse; width: 100%; background: var(--sheet); font-size: 0.95rem; }
th, td { border-bottom: 1px solid var(--rule); padding: 0.85rem 1.05rem; text-align: left; vertical-align: top; }
tr:last-child > td, tr:last-child > th { border-bottom: 0; }
thead th { background: var(--alt); color: var(--ink); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
tbody th { color: var(--ink); font-weight: 600; }
caption { text-align: left; font-weight: 600; color: var(--ink); padding: 0.9rem 1.05rem 0.5rem; }

.notice { background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.5rem 0; max-width: 72ch; font-size: 0.95rem; }
.notice--warn { background: var(--warn-bg); border-color: var(--warn-line); }
.todo { background: #fff3b0; color: #1f2937; padding: 0 0.25em; border: 1px dashed #8a6d00; }

/* Haut de page (accueil et pages internes) : clair, halo bleu discret */
.hero { padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.hero-dark { background: radial-gradient(60% 60% at 90% 0%, var(--glow), transparent 70%); border-bottom: 1px solid var(--rule); }
.hero-dark h1 em { font-style: normal; color: var(--blue); }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.dom { font-family: var(--mono); background: var(--blue-soft); color: var(--ink); padding: 0 0.3em; border-radius: 6px; font-size: 0.92em; }
.microcopy { color: var(--ink-3); font-size: 0.86rem; margin-top: 1.4rem; }
main > section.hero:first-child { background: radial-gradient(55% 75% at 92% 0%, var(--glow), transparent 70%); border-bottom: 1px solid var(--rule); max-width: none; padding-inline: max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter))); }

/* Fenêtre « produit » de l'accueil (exemple fictif d'alertes) */
.feed { position: relative; display: grid; gap: 0.75rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: 16px; padding: 3rem 1.2rem 1.3rem; box-shadow: var(--shadow); }
.feed::before { content: ""; position: absolute; top: 1.15rem; left: 1.2rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #f87171; box-shadow: 1rem 0 0 #fbbf24, 2rem 0 0 #4ade80; }
.feed::after { content: ""; position: absolute; top: 2.35rem; left: 0; right: 0; border-top: 1px solid var(--rule); }
.feed__tag { position: absolute; top: 0.9rem; right: 1.2rem; display: flex; gap: 1rem; font-size: 0.74rem; color: var(--ink-3); margin: 0; }
.feed__tag b { color: var(--ok); font-weight: 600; }
.alert { background: var(--bg); border: 1px solid var(--rule); border-left: 3px solid var(--blue); border-radius: var(--radius-sm); padding: 0.85rem 1rem; opacity: 0; animation: rise 0.6s cubic-bezier(.2,.7,.2,1) forwards; }
.alert:nth-of-type(1) { animation-delay: 0.15s; }
.alert:nth-of-type(2) { animation-delay: 0.65s; border-left-color: var(--ok); }
.alert:nth-of-type(3) { animation-delay: 1.15s; border-left-color: var(--stamp); }
.alert__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; margin: 0 0 0.2rem; max-width: none; }
.alert__what { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.alert__pill { font-size: 0.72rem; font-weight: 600; padding: 0.12rem 0.6rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue); white-space: nowrap; }
.alert__pill--high { background: var(--warn-bg); color: var(--stamp); }
.alert__pill--ok { background: var(--ok-bg); color: var(--ok); }
.alert__title { font-weight: 600; color: var(--ink); font-size: 1.02rem; margin: 0; max-width: none; }
.alert__title b { color: var(--blue); }
.alert__why { color: var(--ink-3); font-size: 0.88rem; margin: 0.15rem 0 0; max-width: none; }

/* Bandeau de réassurance (mots-clés) */
.marquee { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.1rem 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee__group { display: flex; flex-shrink: 0; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.marquee__group li { padding: 0 1.2rem; display: flex; align-items: center; gap: 2.4rem; }
.marquee__group li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-line); }

/* Accueil : constats, étapes, offres */
.statement { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.lookalike { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-soft); font-family: var(--mono); }
.lookalike p { margin: 0 0 0.5rem; max-width: none; font-family: var(--body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.lookalike .real, .lookalike .fake { display: block; font-size: 1.05rem; color: var(--ink); padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); margin-bottom: 1rem; background: var(--alt); border: 1px solid var(--rule); overflow-wrap: anywhere; }
.lookalike .fake b { color: var(--blue); background: var(--blue-soft); border-radius: 4px; padding: 0 0.12em; }
.lookalike .fake small { display: block; font-family: var(--body); font-size: 0.82rem; color: var(--ink-3); margin-top: 0.2rem; }
.path { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: path; margin-top: 2.4rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.path > div { counter-increment: path; padding: 1.5rem 1.4rem; border-left: 1px solid var(--rule); margin-left: -1px; }
.path > div::before { content: counter(path); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--blue-line); color: var(--blue); font-size: 0.75rem; font-weight: 700; margin-bottom: 0.7rem; }
.path h3 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.45rem; }
.path p { font-size: 0.93rem; margin: 0; }
.offers { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 2.4rem; }
.offer { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.9rem 1.7rem 1.6rem; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: border-color 0.15s, box-shadow 0.15s; }
.offer:hover { border-color: var(--blue-line); box-shadow: var(--shadow); }
.offer h3 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 0.6rem; }
.offer h3 a { color: inherit; text-decoration: none; }
.offer__q { font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 0.9rem; max-width: none; }
.offer p { font-size: 0.95rem; }
.offer .push { margin-top: auto; padding-top: 1rem; font-weight: 600; }

/* Principes */
.night { background: var(--alt); }
.principles { list-style: none; display: grid; gap: 1.1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 2.2rem; }
.principles > div { padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); }
.principles h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.principles p { font-size: 0.93rem; margin: 0; }

/* Appel final */
.final { text-align: center; }
.final h2, .final .lede { margin-left: auto; margin-right: auto; }
.final .actions { justify-content: center; }

/* Pied de page */
.footer { background: var(--navy); color: #aab6c3; padding: 3.5rem 0; font-size: 0.92rem; }
.footer a { color: #e8eef4; text-decoration-color: rgb(232 238 244 / 0.35); }
.footer a:hover { color: #fff; }
.footer .wrap { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer h2 { font-size: 0.95rem; color: #fff; margin-bottom: 0.6rem; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.35rem; }
.legal h2 { margin-top: 2rem; font-size: 1.4rem; }

/* Page Sécurité : sommaire collant, sections en cartes */
.doc { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 15rem minmax(0, 1fr); align-items: start; }
.doc__toc { position: sticky; top: 6rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.2rem 1.2rem 0.4rem; }
.doc__toc h2 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.6rem; }
.doc__toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0 0 1rem; font-size: 0.88rem; }
.doc__toc li { counter-increment: toc; padding: 0.35rem 0; border-top: 1px solid var(--rule); display: flex; gap: 0.55rem; line-height: 1.35; }
.doc__toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); padding-top: 0.12rem; }
.doc__toc a { text-decoration: none; color: var(--ink); }
.doc__toc a:hover { color: var(--blue); }
.doc__body { display: grid; gap: 1.2rem; }
.doc__sec { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); scroll-margin-top: 6rem; }
.doc__sec .kicker { margin-bottom: 0.35rem; }
.doc__sec h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.doc__sec .table-wrap { margin: 0.4rem 0 1rem; }
.doc__sec p:last-child, .doc__sec ul:last-child { margin-bottom: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 56rem) {
  .hero__grid, .statement, .doc { grid-template-columns: 1fr; }
  .doc__toc { position: static; }
  .masthead .wrap { gap: 0.8rem 1.4rem; }
  .masthead nav { gap: 1rem; order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee { white-space: normal; }
  .alert { opacity: 1; animation: none; }
}
@media print { .masthead, .footer, .actions, .feed, .marquee { display: none; } body { background: #fff; color: #000; } }
