/* ============================================================
   SIGNON — l'e-borne · système visuel du site
   Palette SIGNON (navy, bleu de marque, teal, violet)
   Signature : la pastille jaune « LSF » avec la main
   ============================================================ */

:root {
  --ink: #0B2942;          /* texte principal, navy SIGNON */
  --ink-2: #44566E;        /* texte secondaire (7:1 sur blanc) */
  --ink-3: #5A6A80;        /* légendes (5:1 sur blanc) */
  --bg: #F2F5FA;           /* fond de page */
  --card: #FFFFFF;
  --tint: #E8F1FB;         /* aplats doux */
  --line: #DCE4EE;
  --line-2: #C6D3E2;
  --brand: #006CCD;        /* bleu SIGNON (boutons) */
  --brand-hover: #0057A8;
  --brand-ink: #064E96;    /* liens et accents sur fond clair */
  --teal: #0E8C8C;
  --violet: #5B6FE0;
  --navy: #0B2942;
  --navy-2: #12385A;
  --sun: #FFC83D;          /* pastille LSF */
  --sun-soft: #FFE9A8;
  --grad: linear-gradient(118deg, #0E9C9C 0%, #006CCD 52%, #5B6FE0 100%);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;

  --sh-sm: 0 1px 2px rgba(11, 41, 66, .05), 0 4px 14px rgba(11, 41, 66, .05);
  --sh-md: 0 14px 40px rgba(11, 41, 66, .10);
  --sh-lg: 0 34px 80px rgba(11, 41, 66, .20);

  --maxw: 1160px;
  --gut: clamp(16px, 4vw, 40px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 64px); letter-spacing: -.03em; line-height: 1.04; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
p + p { margin-top: 1em; }
strong { font-weight: 700; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-white { background: var(--card); }
.sec-navy { background: var(--navy); color: #fff; }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 + .lead { margin-top: 16px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.6; }
.sec-navy .lead { color: #D3DEEB; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink);
}
.sec-navy .eyebrow, .cta-band .eyebrow, .eb-box .eyebrow { color: var(--sun); }

/* Surlignage jaune (titres) */
.hl { background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 90%, transparent 90%); padding: 0 .02em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Pastille LSF (signature) ---------- */
.pill-lsf {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px 4px 8px; border-radius: 999px;
  background: var(--sun); color: var(--ink); font: 800 13px/1 var(--font); letter-spacing: .04em; white-space: nowrap; vertical-align: middle;
}
.pill-lsf .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.pill-lsf.lg { padding: 6px 14px 6px 10px; font-size: 15px; gap: 7px; }
.pill-lsf.lg .ic { width: 19px; height: 19px; }

/* Puce d'état (projet, en préparation) */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--tint); color: var(--brand-ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.tag.soft { background: #EEF0F4; color: var(--ink-2); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px;
  border-radius: 999px; border: 2px solid transparent; font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .ic { width: 20px; height: 20px; stroke-width: 2.3; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(0, 108, 205, .28); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #FFD666; color: var(--ink); transform: translateY(-1px); }
.btn-line-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-line-light:hover { color: #fff; border-color: #fff; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--brand-ink); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(242, 245, 250, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 14px; border-radius: 999px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: rgba(11, 41, 66, .06); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--card); box-shadow: var(--sh-sm); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); color: var(--ink); cursor: pointer; }
.burger .ic { width: 22px; height: 22px; }
.mnav { display: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hdr-cta { margin-left: auto; }
  .burger { display: grid; }
  .mnav { border-top: 1px solid var(--line); background: var(--card); padding: 10px var(--gut) 20px; }
  .mnav.is-open { display: grid; gap: 2px; }
  .mnav a { padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
  .mnav a.btn { margin-top: 14px; border-bottom: 0; color: #fff; }
}
@media (max-width: 520px) {
  .hdr-in { height: 64px; gap: 10px; }
  .brand img { height: 42px; }
  .hdr-cta .btn { display: none; }
}

/* ---------- Bandeau d'accueil ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 460px at 88% 18%, rgba(91, 111, 224, .16), transparent 70%),
    radial-gradient(560px 420px at 70% 92%, rgba(14, 156, 156, .13), transparent 70%),
    radial-gradient(520px 380px at -4% -6%, rgba(255, 200, 61, .22), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-kicker .eyebrow { margin: 0; }
.hero h1 { max-width: 12.5em; }
.hero-sub { margin-top: 22px; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips .ic { width: 20px; height: 20px; color: var(--teal); stroke-width: 2.4; }

.hero-vis { position: relative; display: grid; place-items: center; }

/* ---------- La forme : une affiche QR, un téléphone qui la scanne (aucun écran d'app) ---------- */
.form-vis { position: relative; width: 100%; max-width: 480px; height: 500px; margin: 0 auto; }
.poster {
  position: absolute; left: 2%; top: 4%; z-index: 1; width: 300px; padding: 26px 24px 22px; border-radius: 28px;
  background: var(--card); box-shadow: var(--sh-lg); text-align: center; transform: rotate(-4deg);
}
.poster-t { margin-top: 14px; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.poster img { width: 190px; height: 190px; margin: 16px auto 12px; }
.poster-s { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.beam {
  position: absolute; z-index: 2; left: 38%; top: 34%; width: 190px; height: 150px; pointer-events: none;
  background: linear-gradient(250deg, rgba(255, 200, 61, .55), rgba(255, 200, 61, 0) 85%);
  clip-path: polygon(100% 46%, 100% 70%, 0 100%, 0 0); transform: rotate(14deg); transform-origin: 100% 60%;
}
.scanner {
  position: absolute; right: 0; bottom: 0; z-index: 3; width: 172px; height: 336px; padding: 8px; border-radius: 34px;
  background: linear-gradient(145deg, #23344A, #0B1522); box-shadow: 0 0 0 2px #3B4C63, var(--sh-lg); transform: rotate(9deg);
}
.scanner-scr {
  height: 100%; display: grid; place-items: center; align-content: center; gap: 14px; border-radius: 27px; color: #fff;
  background: radial-gradient(circle at 50% 42%, #1A4A72, #0B2942 72%);
}
.scanner-pill {
  display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--sun); color: var(--ink);
  box-shadow: 0 0 0 10px rgba(255, 200, 61, .18), 0 0 0 22px rgba(255, 200, 61, .08);
}
.scanner-pill .ic { width: 44px; height: 44px; stroke-width: 1.9; }
.scanner-scr b { font-size: 22px; font-weight: 800; letter-spacing: .1em; }

/* ---------- Cartes génériques ---------- */
.card { position: relative; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-sm); }
.sec-white .card { background: var(--bg); box-shadow: none; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.card-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--sun); }
.card-ic .ic { width: 26px; height: 26px; }
.card-ic.blue { background: var(--tint); color: var(--brand-ink); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
a.card { display: block; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); color: inherit; }
a.card .link-arrow { margin-top: 16px; }
.card .tag { position: absolute; top: clamp(22px, 2.4vw, 30px); right: clamp(22px, 2.4vw, 30px); }

/* ---------- Le problème ---------- */
.prob { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.prob-quote { font-size: clamp(24px, 2.7vw, 34px); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.prob-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.prob-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: var(--bg); }
.prob-list .ic { width: 26px; height: 26px; margin-top: 2px; color: var(--brand-ink); }
.prob-list b { display: block; font-size: 17px; }
.prob-list span { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Trois gestes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); margin: 0; padding: 0; list-style: none; counter-reset: st; }
.step { position: relative; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-sm); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 18px; font-weight: 800; }
.step h3 { margin-top: 20px; font-size: clamp(24px, 2.4vw, 30px); }
.step p { margin-top: 10px; color: var(--ink-2); }
.places { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.places li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 700; }
.places .ic { width: 17px; height: 17px; color: var(--brand-ink); }

/* ---------- Côté structure (bloc navy) ---------- */
.org { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.org-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.org-list li { padding: 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.org-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.org-list .ic { width: 26px; height: 26px; color: var(--sun); }
.org-list b { display: block; margin-top: 12px; font-size: 17px; color: #fff; }
.org-list span { display: block; margin-top: 4px; color: #C9D6E5; font-size: 15px; line-height: 1.55; }

/* ---------- Ce que nous préparons ---------- */
.prep { display: flex; gap: 20px; align-items: flex-start; max-width: 860px; margin: 0 auto; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); border: 2px dashed var(--line-2); background: transparent; }
.prep .card-ic { flex: none; }
.prep h2 { font-size: 20px; letter-spacing: -.01em; }
.prep p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

/* ---------- Participer (discret) ---------- */
.join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 860px; margin: 18px auto 0; padding: 18px 24px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--sh-sm); }
.join p { color: var(--ink-2); font-size: 15.5px; }
.join p b { color: var(--ink); }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.about p { color: var(--ink-2); }
.founder { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 18px; border-radius: var(--r-md); background: var(--bg); }
.founder img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.founder b { display: block; font-size: 17px; }
.founder span { display: block; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.awards { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.awards li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: var(--bg); font-size: 15px; font-weight: 600; line-height: 1.4; }
.awards .ic { color: var(--brand-ink); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.logos span { display: grid; place-items: center; height: 64px; padding: 10px 18px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); }
.logos img { max-height: 40px; width: auto; }
.logos-label { margin-top: 26px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--card); box-shadow: var(--sh-sm); }
.sec-white .faq details { background: var(--bg); box-shadow: none; }
.faq summary { position: relative; padding: 20px 60px 20px 24px; font-size: 17px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--brand-ink); border-bottom: 2.5px solid var(--brand-ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-a { padding: 0 24px 22px; color: var(--ink-2); }
.faq .faq-a p + p { margin-top: .7em; }

/* ---------- Bandeau contact ---------- */
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 40px; align-items: center; padding: clamp(30px, 5vw, 60px); border-radius: var(--r-xl); background: var(--navy); color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(91, 111, 224, .45), transparent); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 14px; color: #D3DEEB; font-size: 18px; }
.cta-band .btns { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-band a.mail { color: #fff; font-weight: 700; }

/* ---------- Pied de page ---------- */
.ftr { padding: clamp(48px, 6vw, 72px) 0 28px; background: var(--card); border-top: 1px solid var(--line); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr-brand img { height: 52px; width: auto; }
.ftr-brand p { margin-top: 14px; max-width: 26em; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.ftr h2 { margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ftr nav a, .ftr-col a { display: block; padding: 5px 0; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.ftr nav a:hover, .ftr-col a:hover { color: var(--brand-ink); text-decoration: underline; }
.ftr-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; line-height: 1.6; }
.ftr-legal p + p { margin-top: 6px; }
.ftr-legal a { color: var(--ink-2); }

/* ============================================================
   Pages de contenu
   ============================================================ */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(560px 380px at 92% 0%, rgba(91, 111, 224, .14), transparent 70%), radial-gradient(460px 320px at 0% 0%, rgba(255, 200, 61, .18), transparent 70%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); max-width: 17em; }
.page-hero .lead { margin-top: 20px; max-width: 40em; }
.page-hero .hero-actions { margin-top: 26px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }

.article { max-width: 780px; margin: 0 auto; }
.article > * + * { margin-top: 1.1em; }
.article h2 { margin-top: clamp(48px, 6vw, 68px); font-size: clamp(25px, 3vw, 34px); scroll-margin-top: 90px; }
.article h3 { margin-top: 32px; font-size: clamp(19px, 1.9vw, 23px); }
.article h2 + p, .article h3 + p, .article h2 + ul, .article h3 + ul, .article h2 + ol, .article h3 + ol { margin-top: .7em; }
.article p, .article li { color: #2A3D55; }
.article ul, .article ol { padding-left: 1.3em; }
.article li + li { margin-top: .45em; }
.article li::marker { color: var(--brand-ink); font-weight: 700; }
.article .lead { color: var(--ink-2); }
.article table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--card); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.article th, .article td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article th { background: var(--tint); font-weight: 800; color: var(--ink); }
.article tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--sun); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--card); font-weight: 600; }
.article .src { font-size: 14px; color: var(--ink-3); }

/* Encadré « en bref » */
.tldr { padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-sm); }
.tldr h2 { margin: 0 0 8px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.tldr p, .tldr li { color: var(--ink); }

/* Encadré e-borne */
.eb-box { position: relative; overflow: hidden; margin-top: clamp(36px, 5vw, 52px) !important; padding: clamp(24px, 3.4vw, 38px); border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.eb-box::after { content: ""; position: absolute; right: -90px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 156, 156, .45), transparent); pointer-events: none; }
.eb-box > * { position: relative; z-index: 1; }
.eb-box .pill-lsf { margin-bottom: 14px; }
.eb-box h2, .eb-box h3 { margin: 0; color: #fff; font-size: clamp(22px, 2.4vw, 28px); }
.eb-box p { margin-top: 12px; color: #D3DEEB; }
.eb-box ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.eb-box li { display: flex; gap: 10px; color: #E6EDF5; }
.eb-box li .ic { width: 20px; height: 20px; margin-top: 3px; color: var(--sun); stroke-width: 2.4; }
.eb-box .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.eb-box a:not(.btn) { color: #fff; }

/* Note / remarque */
.note { padding: 18px 22px; border-radius: var(--r-md); background: var(--tint); color: var(--ink); font-size: 16px; }
.note b { color: var(--ink); }

/* Liste de fonctions (pictos) dans un article */
.feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1.2em 0 0; padding: 0 !important; list-style: none; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0 !important; padding: 16px 18px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--sh-sm); }
.feat-list li > .ic { width: 24px; height: 24px; margin-top: 2px; color: var(--brand-ink); }
.feat-list b { display: block; color: var(--ink); }
.feat-list span { display: block; font-size: 15px; color: var(--ink-2); }

/* À lire aussi */
.related { margin-top: clamp(56px, 7vw, 80px); }
.related h2 { margin-bottom: 18px; font-size: 22px; }
.related .grid-3 a.card h3 { margin-top: 0; font-size: 18px; }
.related .grid-3 a.card p { font-size: 15px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { margin-top: 40px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2.4vw, 24px); }
.legal h3 { margin-top: 22px; font-size: 18px; }
.legal p, .legal li { color: #2A3D55; }
.legal p, .legal ul, .legal dl { margin-top: 12px; }
.legal dl { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 8px 20px; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: #2A3D55; }
.legal-updated { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink-3); }

/* ---------- Apparition au défilement ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Adaptations ---------- */
@media (max-width: 1060px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid, .page-hero-grid, .prob, .org, .about { grid-template-columns: minmax(0, 1fr); }
  .hero-vis { padding: 12px 0 8px; }
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band .btns { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .grid-2, .grid-4, .org-list, .feat-list { grid-template-columns: minmax(0, 1fr); }
  .org-list li:last-child:nth-child(odd) { grid-column: auto; }
  .hero-actions .btn { width: 100%; }
  .form-vis { max-width: 343px; height: 400px; }
  .poster { width: 236px; padding: 18px 16px 16px; }
  .poster-s { font-size: 12.5px; }
  .poster-t { font-size: 17px; }
  .poster img { width: 140px; height: 140px; }
  .beam { left: 34%; top: 32%; width: 130px; height: 110px; }
  .scanner { width: 116px; height: 232px; border-radius: 26px; right: -2px; }
  .scanner-scr { border-radius: 22px; }
  .scanner-pill { width: 66px; height: 66px; }
  .scanner-pill .ic { width: 34px; height: 34px; }
  .scanner-scr b { font-size: 18px; }
  .ftr-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .prep { flex-direction: column; }
  .faq summary { padding: 18px 52px 18px 18px; font-size: 16px; }
  .faq summary::after { right: 20px; }
  .faq .faq-a { padding: 0 18px 18px; }
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .cta-band .btns .btn { width: 100%; }
}
@media print {
  .hdr, .burger, .mnav, .hero-vis, .cta-band::after { display: none !important; }
  body { background: #fff; }
}
