/* ============================================================
   Securia — landing anti-phishing (clair, confiance)
   Base CLAIRE. Bandes d'accent colorées. Thème FIGÉ (warm).
   ============================================================ */

/* ---- Polices SELF-HOSTÉES (privacy by design : aucun appel Google Fonts) ----
   Hanken Grotesk = police variable (un seul fichier couvre 400→800). */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/hanken-grotesk-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  /* ---- jetons produit (fixes) ---- */
  --brand: #2f6bed;  --brand-deep: #1f4fc0;  --brand-soft: #7aa2f7;
  --safe: #128a52;   --safe-deep: #0d6b40;
  --suspect: #a86a0b; --danger: #c8362f;

  /* ---- fond (figé : warm) ---- */
  --bg-0: #fbfaf6;   /* sections principales */
  --bg-1: #f3efe7;   /* sections légèrement teintées */

  /* ---- bandes d'accent (figé : navy, texte blanc) ---- */
  --band: #0f1a2e;
  --band-glow: rgba(47,107,237,.22);

  /* ---- boutons (figé : bleu marque) ---- */
  --btn: #2f6bed;  --btn-deep: #1f4fc0;

  /* ---- texte sur fond clair ---- */
  --ink: #161c26;  --body: #45505f;  --mut: #646f7e;  /* assombri pour contraste AA (≥4.5:1 sur fond clair) */
  --line: #e5eaf1; --line-2: #eef2f7;

  /* ---- texte sur bandes ---- */
  --on: #ffffff;  --on-soft: #d6deea;  --on-mut: #aab6c8;
  --on-line: rgba(255,255,255,.12);
  --on-line-2: rgba(255,255,255,.18);

  --container: 1160px;
  --radius: 14px;  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,20,28,.05), 0 4px 14px -6px rgba(16,20,28,.10);
  --shadow-md: 0 14px 36px -16px rgba(16,20,28,.22);
  --shadow-lg: 0 40px 80px -30px rgba(16,28,52,.28);
  --ease: cubic-bezier(.2,.7,.2,1);

  --f-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans); font-size: 17px; line-height: 1.62;
  color: var(--body); background: var(--bg-0);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; font-weight: 800; }
p { text-wrap: pretty; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
section { position: relative; }
.section-pad { padding-block: clamp(76px, 9vw, 132px); }

/* ---------- bande colorée (texte blanc) ---------- */
.band { background: var(--band); color: var(--on); }
.band h1, .band h2, .band h3 { color: #fff; }

.eyebrow {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500; color: var(--brand);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow.on-band { color: #c5d3ec; }
.eyebrow.tense { color: #f2998f; }
.eyebrow.center { justify-content: center; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center::before { display: none; }

.lede { font-size: clamp(18px, 2vw, 21px); color: var(--body); max-width: 58ch; line-height: 1.55; }
.band .lede { color: var(--on-soft); }

/* ---------- boutons (CTA unique) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--f-sans); font-weight: 700; font-size: 17px; letter-spacing: -.01em;
  color: #fff; background-color: var(--btn); border: none; border-radius: 12px;
  padding: 17px 26px; cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -12px color-mix(in oklch, var(--btn), black 8%);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { background-color: var(--btn-deep); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 16px 32px -14px color-mix(in oklch, var(--btn), black 8%); }
.btn:active { transform: translateY(0); }
.btn .chev { transition: transform .18s var(--ease); }
.btn:hover .chev { transform: translateX(3px); }
.btn.lg { padding: 19px 32px; font-size: 18px; }
/* sur une bande colorée : bouton blanc à fort contraste */
.band .btn { background-color: #fff; color: var(--btn); box-shadow: 0 10px 26px -12px rgba(0,0,0,.5); }
.band .btn:hover { background-color: #eef2f9; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.band a:focus-visible, .band button:focus-visible { outline-color: #fff; }

.cta-note { font-family: var(--f-mono); font-size: 13px; color: var(--mut); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.band .cta-note { color: var(--on-mut); }
.cta-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--safe); display: inline-block; }
.cta-note span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* ---------- étoiles ---------- */
.stars { display: inline-flex; gap: 2px; color: #e0a512; }
.stars svg { width: 16px; height: 16px; }
.stars.sm svg { width: 14px; height: 14px; }

/* ---------- logo ---------- */
.brandmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 19px; color: var(--ink); }
.brandmark .shield { width: 28px; height: 28px; flex: none; }
.band .brandmark { color: #fff; }

/* ============================================================ HEADER ============================================================ */
.site-header { position: sticky; top: 0; z-index: 60; transition: background .25s var(--ease), border-color .25s var(--ease); border-bottom: 1px solid transparent; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.site-header.scrolled { background: color-mix(in oklch, var(--bg-0), transparent 14%); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--mut); font-weight: 500; white-space: nowrap; }
.header-rating b { color: var(--ink); }
.header-cta { white-space: nowrap; }
@media (max-width: 720px) { .header-rating { display: none; } }

/* ============================================================ HERO (clair) ============================================================ */
.hero {
  background:
    radial-gradient(1100px 560px at 82% -8%, var(--band-glow), transparent 60%),
    radial-gradient(760px 420px at 6% 110%, rgba(18,138,82,.10), transparent 60%),
    var(--bg-1);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(32px, 5vw, 76px); align-items: center; padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 100px); }
.hero h1 { font-size: clamp(34px, 5.1vw, 58px); line-height: 1.03; margin-top: 22px; }
.hero h1 .turn { display: block; color: var(--safe); }
.hero .lede { margin-top: 22px; }
.hero .hero-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.trust-row { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 6px; }
.trust-row .tr-rate { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--body); }
.trust-row .tr-rate b { color: var(--ink); font-weight: 700; }
.trust-row .tr-sep { width: 1px; height: 18px; background: var(--line); }
.trust-row .tr-users { font-size: 14.5px; color: var(--body); }
.trust-row .tr-users b { color: var(--ink); font-weight: 700; }
.band .trust-row .tr-rate, .band .trust-row .tr-users { color: var(--on-soft); }
.band .trust-row .tr-rate b, .band .trust-row .tr-users b { color: #fff; }
.band .trust-row .tr-sep { background: var(--on-line-2); }

.hero-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-foot .browsers { display: flex; align-items: center; gap: 12px; color: var(--mut); font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .03em; flex-wrap: wrap; }
.hero-foot .browsers .bset { display: inline-flex; gap: 8px; }
.hero-foot .browsers .bset i { width: 18px; height: 18px; border-radius: 50%; background: color-mix(in oklch, var(--brand), white 70%); display: inline-block; }

/* ---------- browser mock ---------- */
.browser { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.browser .chrome { display: flex; align-items: center; gap: 12px; background: #eef1f5; padding: 12px 14px; border-bottom: 1px solid #e2e6ec; }
.browser .lights { display: flex; gap: 7px; }
.browser .lights i { width: 11px; height: 11px; border-radius: 50%; background: #d6dae1; }
.browser .omnibox { flex: 1; display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #dde2e9; border-radius: 9px; padding: 8px 12px; font-family: var(--f-mono); font-size: 12.5px; color: #586073; min-width: 0; }
.browser .omnibox .url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser .omnibox .lock { flex: none; }
.browser .ext-btn { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid #dde2e9; display: grid; place-items: center; position: relative; }
.browser .ext-btn .badge { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--danger); border: 2px solid #eef1f5; }
.browser .viewport { position: relative; background: #fbfcfe; min-height: 320px; overflow: hidden; }

.fakesite { padding: 26px 28px; filter: saturate(.96); }
.fakesite .fs-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.fakesite .fs-logo { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg,#c8362f,#e0564f); }
.fakesite .fs-name { font-weight: 800; color: #2a2f38; letter-spacing: -.01em; }
.fakesite .fs-line { height: 11px; border-radius: 6px; background: #e9edf2; margin-bottom: 12px; }
.fakesite .fs-line.s { width: 62%; }
.fakesite .fs-field { height: 40px; border-radius: 8px; border: 1px solid #e2e6ec; background:#fff; margin-bottom: 12px; }
.fakesite .fs-btn { height: 40px; border-radius: 8px; background: #c8362f; width: 100%; margin-top: 6px; }

.intercept { position: absolute; inset: 0; background: rgba(14,17,23,.5); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 22px; }
.intercept .card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 22px; max-width: 392px; width: 100%; border: 1px solid var(--line); }
.intercept .ic-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.intercept .ic-badge { width: 38px; height: 38px; border-radius: 10px; background: color-mix(in oklch, var(--safe), white 86%); display: grid; place-items: center; flex: none; }
.intercept .ic-title { font-weight: 800; color: var(--ink); font-size: 15.5px; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; }
.intercept .ic-sub { font-size: 13px; color: var(--mut); white-space: nowrap; }
.intercept .ic-label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); margin-bottom: 9px; }
.intercept .ic-signals { display: flex; flex-direction: column; gap: 8px; }
.intercept .ic-signal { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--body); line-height: 1.4; white-space: nowrap; }
.intercept .ic-signal .sg { flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: 6px; }
.intercept .ic-signal .sg.r { background: var(--danger); }
.intercept .ic-signal .sg.a { background: var(--suspect); }
.intercept .ic-signal b { color: var(--ink); font-weight: 600; }
.intercept .ic-foot { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line-2); display: flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11.5px; color: var(--safe-deep); }

/* ============================================================ BANDE DE CONFIANCE (clair) ============================================================ */
.trustbar { background: var(--bg-0); border-bottom: 1px solid var(--line); color: var(--body); }
.trustbar .row { display: flex; align-items: center; justify-content: center; gap: 18px 40px; flex-wrap: wrap; padding-block: 24px; }
.trustbar .tb-item { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; white-space: nowrap; }
.trustbar .tb-item b { color: var(--ink); font-weight: 700; }
.trustbar .tb-item .mono { font-family: var(--f-mono); font-size: 12.5px; color: var(--mut); }
.trustbar .tb-sep { width: 1px; height: 22px; background: var(--line); }
@media (max-width: 720px) { .trustbar .tb-sep { display: none; } .trustbar .row { gap: 14px 28px; } }

/* ============================================================ MENACE (bande — tension) ============================================================ */
.threat { border-top: 1px solid rgba(200,54,47,.5); }
.threat .head { max-width: 780px; }
.threat h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.fact { background: rgba(255,255,255,.05); border: 1px solid var(--on-line); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.fact::before { content: ""; position: absolute; left: 26px; top: 0; width: 34px; height: 2px; background: var(--danger); }
.fact .n { font-family: var(--f-mono); font-size: 12px; color: #f2998f; letter-spacing: .1em; margin-bottom: 14px; }
.fact h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.fact p { color: var(--on-mut); font-size: 15.5px; }

/* ============================================================ PROTECTION (clair) ============================================================ */
.protect { background: var(--bg-1); }
.protect .head { max-width: 780px; }
.protect .head .turn-tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--safe-deep); background: color-mix(in oklch, var(--safe), white 88%); padding: 8px 14px; border-radius: 999px; margin-bottom: 20px; white-space: nowrap; }
.protect h2 { font-size: clamp(28px, 3.6vw, 42px); }
.protect .head .lede { margin-top: 18px; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 52px; }
.pillar { background: var(--bg-0); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d4dae3; }
.pillar .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.pillar .ic.b { background: color-mix(in oklch, var(--brand), white 88%); color: var(--brand); }
.pillar .ic.g { background: color-mix(in oklch, var(--safe), white 87%); color: var(--safe-deep); }
.pillar .kicker { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin-bottom: 10px; }
.pillar h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 12px; }
.pillar p { font-size: 16px; color: var(--body); }
.pillar p .hl { color: var(--ink); font-weight: 600; }

/* ============================================================ MÉCANISME (clair, technique) ============================================================ */
.mechanism {
  background:
    linear-gradient(rgba(47,107,237,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,107,237,.04) 1px, transparent 1px),
    var(--bg-0);
  background-size: 64px 64px, 64px 64px, auto;
}
.mechanism .head { max-width: 760px; }
.mechanism h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 16px; }
.mechanism .head .lede { margin-top: 18px; }
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; position: relative; }
.step { background: var(--bg-0); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; position: relative; box-shadow: var(--shadow-sm); }
.step .s-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step .s-n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--brand); }
.step .s-ic { width: 42px; height: 42px; border-radius: 11px; background: color-mix(in oklch, var(--brand), white 88%); display: grid; place-items: center; color: var(--brand); }
.step.verdict .s-ic { background: color-mix(in oklch, var(--safe), white 87%); color: var(--safe-deep); }
.step.verdict .s-n { color: var(--safe-deep); }
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.step p { color: var(--body); font-size: 15px; }
.step p b { color: var(--ink); font-weight: 600; }
.step .verdicts { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.step .vchip { font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; }
.step .vchip .d { width: 7px; height: 7px; border-radius: 50%; }
.step .vchip.safe { background: color-mix(in oklch, var(--safe), white 88%); color: var(--safe-deep); }
.step .vchip.safe .d { background: var(--safe); }
.step .vchip.susp { background: color-mix(in oklch, var(--suspect), white 86%); color: var(--suspect); }
.step .vchip.susp .d { background: var(--suspect); }
.step .vchip.block { background: color-mix(in oklch, var(--danger), white 88%); color: var(--danger); }
.step .vchip.block .d { background: var(--danger); }
.pipe-arrow { position: absolute; top: 50%; right: -12px; transform: translateY(-50%); z-index: 2; color: var(--line); }
@media (max-width: 880px) { .pipe-arrow { display: none; } }

/* ============================================================ PRIVACY (bande — principe) ============================================================ */
.privacy { background: radial-gradient(900px 520px at 86% -4%, var(--band-glow), transparent 60%), var(--band); }
.privacy .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,5vw,84px); align-items: center; }
.privacy h2 { font-size: clamp(30px, 4.1vw, 50px); line-height: 1.06; letter-spacing: -.022em; }
.privacy h2 em { font-style: normal; color: #9bb8f9; }
.privacy p { color: var(--on-soft); font-size: 18px; margin-top: 24px; max-width: 50ch; }
.privacy .principle { background: rgba(255,255,255,.05); border: 1px solid var(--on-line); border-radius: var(--radius-lg); padding: 30px; }
.privacy .principle .row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--on-line); }
.privacy .principle .row:last-child { border-bottom: none; padding-bottom: 0; }
.privacy .principle .row:first-child { padding-top: 0; }
.privacy .principle .pic { flex: none; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #fff; }
.privacy .principle .row b { color: #fff; display: block; font-size: 16px; margin-bottom: 3px; }
.privacy .principle .row span { font-size: 14.5px; color: var(--on-mut); }

/* ============================================================ AVIS (clair) ============================================================ */
.reviews { background: var(--bg-0); border-top: 1px solid var(--line); }
.reviews .head { text-align: center; max-width: 680px; margin-inline: auto; }
.reviews h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 14px; }
.reviews .head .sub { margin-top: 14px; color: var(--mut); display: inline-flex; align-items: center; gap: 10px; font-size: 15px; flex-wrap: wrap; justify-content: center; }
.reviews .head .sub b { color: var(--ink); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.review { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { font-size: 16.5px; color: var(--ink); line-height: 1.55; font-weight: 500; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .who .av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; }
.review .who b { display: block; color: var(--ink); font-size: 14.5px; }
.review .who span { font-size: 13px; color: var(--mut); }

/* ============================================================ PROCHES (clair, warm-neutre) ============================================================ */
.family { background: var(--bg-1); }
.family .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.family h2 { font-size: clamp(28px, 3.6vw, 44px); }
.family .lede { margin-top: 20px; }
.family .care { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.family .care .item { display: flex; gap: 14px; align-items: flex-start; }
.family .care .item .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in oklch, var(--safe), white 84%); color: var(--safe-deep); display: grid; place-items: center; margin-top: 1px; }
.family .care .item p { font-size: 16px; color: var(--body); }
.family .care .item b { color: var(--ink); font-weight: 700; }
.family .visual { background: var(--bg-0); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.family .devices { display: flex; flex-direction: column; gap: 14px; }
.family .device { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.family .device .av { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 16px; }
.family .device .meta { flex: 1; min-width: 0; }
.family .device .meta b { display: block; color: var(--ink); font-size: 15.5px; }
.family .device .meta span { font-size: 13px; color: var(--mut); font-family: var(--f-mono); }
.family .device .state { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--safe-deep); background: color-mix(in oklch, var(--safe), white 88%); padding: 5px 11px; border-radius: 999px; flex: none; }
.family .device .state .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); }

/* ============================================================ ENGAGEMENTS (clair) ============================================================ */
.pledge { background: var(--bg-0); border-top: 1px solid var(--line); }
.pledge .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pledge .p-item .pic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); margin-bottom: 18px; }
.pledge .p-item h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.pledge .p-item p { font-size: 15.5px; color: var(--body); }

/* ============================================================ CTA FINAL (bande) ============================================================ */
.final { background: radial-gradient(820px 480px at 22% -6%, var(--band-glow), transparent 60%), var(--band); text-align: center; }
.final .inner { max-width: 760px; margin-inline: auto; }
.final h2 { font-size: clamp(30px, 4.4vw, 52px); }
.final p { color: var(--on-soft); font-size: 19px; margin-top: 20px; }
.final .hero-actions { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final .trust-row { justify-content: center; }

/* ============================================================ FOOTER (bande) ============================================================ */
.site-footer { background: var(--band); color: var(--on-mut); padding-block: 40px 48px; border-top: 1px solid var(--on-line); }
.site-footer .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .tag { font-size: 14px; max-width: 42ch; color: var(--on-soft); }
.site-footer .legal { font-family: var(--f-mono); font-size: 12px; color: var(--on-mut); }

/* ============================================================ STICKY CTA mobile ============================================================ */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in oklch, var(--bg-0), transparent 8%); backdrop-filter: saturate(160%) blur(14px); border-top: 1px solid var(--line); transform: translateY(120%); transition: transform .3s var(--ease); display: none; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 40px 56px; }
  .hero-visual { order: 2; }
  .privacy .wrap, .family .wrap { grid-template-columns: 1fr; }
  .pillars, .facts, .pipeline, .review-grid, .pledge .grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-right .header-cta { display: none; }
  .sticky-cta { display: block; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .btn { width: 100%; }
  .hero .hero-actions, .final .hero-actions { align-items: stretch; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* (Panneau Tweaks supprimé — thème figé en production.) */

/* ---- Lien d'évitement (accessibilité) ---- */
.skip-link { position: absolute; left: 8px; top: -56px; z-index: 100; background: var(--btn); color: #fff;
  padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .15s ease; }
.skip-link:focus { top: 8px; }

/* ---- Liens du pied de page (Contact + pages légales) ---- */
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: var(--on-soft); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--on); text-decoration: underline; }

/* ---- Pages légales (mentions, CGU, confidentialité, cookies) ---- */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); text-decoration: none; font-weight: 600; font-size: 14px; }
.legal-back:hover { text-decoration: underline; }
.legal-wrap h1 { font-size: clamp(28px, 5vw, 40px); margin: 14px 0 6px; }
.legal-updated { color: var(--mut); font-size: 14px; margin-bottom: 28px; }
.legal-toc { background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; margin-bottom: 34px; }
.legal-toc h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); margin-bottom: 10px; font-weight: 700; }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-toc a { color: var(--brand); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-body { color: var(--body); }
.legal-body section { margin-bottom: 30px; scroll-margin-top: 84px; }
.legal-body h2 { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.legal-body h3 { font-size: 16px; color: var(--ink); margin: 16px 0 6px; }
.legal-body p, .legal-body li { line-height: 1.62; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal-body th, .legal-body td { text-align: left; padding: 8px 10px; border: 1px solid var(--line); vertical-align: top; }
.legal-body th { background: var(--bg-1); color: var(--ink); font-weight: 700; }
.legal-body .ph { color: var(--danger); font-weight: 600; }
