/* ==========================================================================
   Abidjan Fact Check — Design system
   Charte : bleu #143769 · jaune #E6AA1E · fond #F1F5F9 (cahier des charges)
   Mobile-first · contrastes AA · prefers-reduced-motion respecté
   ========================================================================== */

:root {
    /* Marque */
    --afc-blue: #143769;
    --afc-blue-950: #081A36;
    --afc-blue-900: #0C2550;
    --afc-blue-800: #112E5C;
    --afc-blue-600: #1D4B8F;
    --afc-blue-400: #4A78C2;
    --afc-blue-100: #DFE7F4;
    --afc-blue-50: #EEF3FA;
    --afc-yellow: #E6AA1E;
    --afc-yellow-600: #C48D0C;
    --afc-yellow-300: #F2CB66;
    --afc-yellow-100: #FBEBC4;
    --afc-yellow-50: #FDF7E7;
    --afc-surface: #F1F5F9;

    /* Neutres */
    --ink: #0F172A;
    --ink-2: #1E293B;
    --muted: #475569;
    --muted-2: #64748B;
    --line: #E2E8F0;
    --line-2: #CBD5E1;
    --white: #FFFFFF;

    /* Sémantique */
    --success: #16A34A;
    --danger: #DC2626;
    --info: #2563EB;

    /* Typo */
    --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Archivo", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: 1.0625rem;
    --fs-lg: clamp(1.125rem, 1rem + .5vw, 1.3rem);
    --fs-xl: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
    --fs-2xl: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem);
    --fs-3xl: clamp(2.3rem, 1.4rem + 4vw, 4.6rem);
    --fs-hero: clamp(2.8rem, 1.2rem + 6.5vw, 6.4rem);

    /* Espaces & formes */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow: 0 10px 30px -12px rgba(20, 55, 105, .25);
    --shadow-lg: 0 30px 60px -20px rgba(8, 26, 54, .35);
    --container: 1240px;
    --gutter: clamp(1rem, .6rem + 2vw, 2rem);
    --header-h: 72px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--afc-blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--afc-blue-600); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--afc-yellow); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--afc-yellow); color: var(--afc-blue-950); }
main:focus { outline: none; }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
kbd { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 5px; padding: 0 .4em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 1000; background: var(--afc-yellow); color: var(--afc-blue-950); padding: .7rem 1.1rem; border-radius: var(--radius-sm); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-xs); }
.empty { color: var(--muted-2); font-style: italic; }
.lead { font-size: var(--fs-lg); color: var(--muted); }

/* ---------- Icônes ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.icon--lg { width: 1.6em; height: 1.6em; }
.icon--xl { width: 2.4rem; height: 2.4rem; }
.icon--up { transform: rotate(-90deg); }

/* ---------- Boutons ---------- */
.btn { --bg: var(--afc-blue); --fg: #fff; --bd: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.45em; border-radius: 999px; border: 2px solid var(--bd); background: var(--bg); color: var(--fg); font-weight: 700; font-size: var(--fs-sm); line-height: 1.1; text-decoration: none; letter-spacing: .01em; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, box-shadow .25s, transform .25s var(--ease); overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.18); transform: translateX(-101%) skewX(-12deg); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: translateX(0) skewX(-12deg); }
.btn:hover { color: var(--fg); box-shadow: var(--shadow); }
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { --bg: var(--afc-blue); --fg: #fff; }
.btn--accent { --bg: var(--afc-yellow); --fg: var(--afc-blue-950); }
.btn--outline { --bg: transparent; --fg: var(--afc-blue); --bd: var(--afc-blue); }
.btn--outline:hover { --bg: var(--afc-blue); --fg: #fff; }
.btn--ghost-light { --bg: rgba(255,255,255,.08); --fg: #fff; --bd: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--afc-blue); }
.btn--text { --bg: transparent; --fg: var(--afc-blue); padding-inline: .6em; }
.btn--text:hover { box-shadow: none; text-decoration: underline; }
.btn--sm { padding: .6em 1.05em; font-size: var(--fs-xs); }
.btn--lg { padding: 1.05em 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-row--center { justify-content: center; }
.btn-row--end { justify-content: flex-end; margin: 0 0 1rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--afc-blue-50); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--afc-blue); text-decoration: none; font-size: var(--fs-sm); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--afc-blue); text-decoration: none; }
.logo__mark { width: 42px; height: 42px; }
.logo__bg { fill: var(--afc-blue); }
.logo__lens { stroke: #fff; }
.logo__handle { stroke: var(--afc-yellow); }
.logo__check { stroke: var(--afc-yellow); stroke-dasharray: 20; stroke-dashoffset: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.logo__text strong { font-size: 1.15rem; font-weight: 900; letter-spacing: -.02em; }
.logo__text em { font-style: normal; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--afc-yellow-600); }
.logo--inverse { color: #fff; }
.logo--inverse .logo__bg { fill: var(--afc-yellow); }
.logo--inverse .logo__lens { stroke: var(--afc-blue); }
.logo--inverse .logo__handle { stroke: var(--afc-blue); }
.logo--inverse .logo__check { stroke: var(--afc-blue); }
.logo--inverse .logo__text em { color: var(--afc-yellow); }
.brand:hover .logo__check { animation: draw 0.8s var(--ease); }
@keyframes draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: box-shadow .3s, top .4s var(--ease); }
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur l'en-tête piégerait le menu mobile (position: fixed). */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.site-header.is-hidden { transform: none; top: calc(-1 * var(--header-h) - 40px); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(8, 26, 54, .25); }
.topbar { background: var(--afc-blue-950); color: rgba(255,255,255,.8); font-size: var(--fs-xs); display: none; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar__tag { margin: 0; display: flex; align-items: center; gap: .5rem; }
.topbar__links { display: flex; gap: 1.25rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--afc-yellow); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--afc-yellow); display: inline-block; box-shadow: 0 0 0 0 rgba(230,170,30,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(230,170,30,0); } 100% { box-shadow: 0 0 0 0 rgba(230,170,30,0); } }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { text-decoration: none; flex: none; }
.header__actions { display: flex; align-items: center; gap: .35rem; }
.header__cta span { display: none; }

.burger { position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--afc-blue); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--afc-blue); padding: 2rem var(--gutter); display: flex; flex-direction: column; gap: 2rem; overflow-y: auto; visibility: hidden; clip-path: circle(0% at calc(100% - 40px) 0); transition: clip-path .6s var(--ease), visibility 0s .6s; }
.main-nav.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 40px) 0); transition: clip-path .7s var(--ease); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li a { display: block; padding: .55rem 0; font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.3rem); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.main-nav li a.is-active, .main-nav li a:hover { color: var(--afc-yellow); }
.main-nav__mobile-extra { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.main-nav__mobile-extra a:not(.btn) { color: rgba(255,255,255,.85); }
body.menu-open { overflow: hidden; }

@media (min-width: 640px) { .header__cta span { display: inline; } }
@media (min-width: 1100px) {
    .topbar { display: block; }
    .burger { display: none; }
    .main-nav { position: static; inset: auto; background: none; padding: 0; flex-direction: row; visibility: visible; clip-path: none; overflow: visible; transition: none; }
    .main-nav ul { display: flex; gap: .15rem; }
    .main-nav li a { position: relative; font-family: var(--font-sans); font-size: .93rem; font-weight: 650; color: var(--ink-2); padding: .5rem .7rem; letter-spacing: 0; }
    .main-nav li a span { position: relative; }
    .main-nav li a span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--afc-yellow); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
    .main-nav li a:hover, .main-nav li a.is-active { color: var(--afc-blue); }
    .main-nav li a:hover span::after, .main-nav li a.is-active span::after { transform: scaleX(1); transform-origin: left; }
    .main-nav__mobile-extra { display: none; }
}

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(8, 26, 54, .96); color: #fff; padding-top: 14vh; backdrop-filter: blur(10px); }
.search-overlay[hidden] { display: none; }
.search-overlay__form { display: flex; align-items: center; gap: 1rem; border-bottom: 2px solid rgba(255,255,255,.25); padding-bottom: .75rem; }
.search-overlay__form:focus-within { border-color: var(--afc-yellow); }
.search-overlay__form input { flex: 1; background: none; border: 0; outline: none; color: #fff; font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2.8rem); font-weight: 700; min-width: 0; }
.search-overlay__form input::placeholder { color: rgba(255,255,255,.4); }
.search-overlay .icon-btn:hover { background: rgba(255,255,255,.1); }
.search-overlay__results { margin-top: 1.5rem; display: grid; gap: .5rem; max-height: 55vh; overflow-y: auto; }
.search-overlay__results a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border-radius: var(--radius); color: #fff; text-decoration: none; background: rgba(255,255,255,.05); transition: background .2s, transform .2s; }
.search-overlay__results a:hover, .search-overlay__results a:focus { background: rgba(255,255,255,.12); transform: translateX(4px); }
.search-overlay__results small { color: var(--afc-yellow); white-space: nowrap; }
.search-overlay__hint { margin-top: 2rem; color: rgba(255,255,255,.55); font-size: var(--fs-xs); }

/* ---------- Page transition / progress ---------- */
.page-curtain { position: fixed; inset: 0; z-index: 999; pointer-events: none; display: flex; }
.page-curtain span { flex: 1; background: var(--afc-blue); transform-origin: top; transform: scaleY(0); }
.page-curtain span:last-child { background: var(--afc-yellow); }
.js:not(.reduced-motion) .page-curtain span { transform: scaleY(1); }
.no-js .page-curtain, .reduced-motion .page-curtain, .motion-failed .page-curtain { display: none; }
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 300; background: linear-gradient(90deg, var(--afc-yellow), var(--afc-yellow-300)); transform-origin: 0 50%; transform: scaleX(0); }
.back-to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--afc-blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--afc-yellow); color: var(--afc-blue-950); }

/* ---------- Kicker & titres de section ---------- */
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--afc-yellow-600); margin-bottom: .75rem; }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--afc-yellow); }
.kicker--light { color: var(--afc-yellow); }
.kicker--light a { color: inherit; }
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.section--soft { background: var(--afc-surface); }
.section--blue { background: var(--afc-blue); color: #fff; overflow: hidden; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue .lead { color: rgba(255,255,255,.8); }
.section--blue .kicker { color: var(--afc-yellow); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.section-head > .kicker { flex-basis: 100%; margin-bottom: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center > .kicker { flex-basis: auto; }
.section-title { font-size: var(--fs-2xl); font-weight: 850; margin: 0; max-width: 22ch; }
.section-head--center .section-title { max-width: 26ch; }
.subhead { font-size: var(--fs-lg); margin: 2.5rem 0 1rem; }
.subhead--light { color: #fff; }

/* Split text (GSAP) */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word, .split-char { display: inline-block; will-change: transform; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, var(--afc-blue-600), transparent 60%), var(--afc-blue); color: #fff; overflow: hidden; padding-block: clamp(3rem, 2rem + 6vw, 6.5rem) clamp(4rem, 3rem + 6vw, 7.5rem); }
.hero__bg, .page-hero__bg, .login__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -12vw; top: -14vw; background: radial-gradient(circle, var(--afc-blue-400), transparent 70%); }
.blob--b { width: 36vw; height: 36vw; max-width: 480px; max-height: 480px; left: -10vw; bottom: -18vw; background: radial-gradient(circle, rgba(230,170,30,.55), transparent 70%); }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.hero__orbit { position: absolute; right: -8%; top: 50%; width: min(70vw, 760px); transform: translateY(-50%); fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; stroke-dasharray: 4 8; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero__grid { position: relative; display: grid; gap: 3rem; align-items: center; }
.hero__title { font-size: var(--fs-hero); font-weight: 900; color: #fff; line-height: .98; letter-spacing: -.04em; margin: .3rem 0 1.5rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.highlight { font-style: normal; position: relative; color: var(--afc-yellow); white-space: nowrap; }
.highlight::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--afc-yellow); border-radius: 4px; transform-origin: left; transform: scaleX(var(--hl, 1)); opacity: .35; }
.hero__lead { font-size: var(--fs-lg); color: rgba(255,255,255,.82); max-width: 38ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.75rem 0 0; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.15); max-width: 560px; }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dt { font-size: var(--fs-xs); color: rgba(255,255,255,.7); line-height: 1.3; }
.hero__stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); font-weight: 900; color: var(--afc-yellow); line-height: 1; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.5rem; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; transform: translateX(-50%); display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--afc-yellow); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Visuel « scanner » */
.hero__visual { position: relative; height: 380px; max-width: 460px; width: 100%; margin-inline: auto; perspective: 1200px; }
.scan-card { position: absolute; inset: 40px 20px auto; height: 270px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.scan-card--back { transform: translate(30px, -34px) rotate(6deg); opacity: .25; }
.scan-card--mid { transform: translate(15px, -17px) rotate(3deg); opacity: .5; }
.scan-card--front { padding: 1.4rem; color: var(--ink); overflow: hidden; transform-style: preserve-3d; }
.scan-card__head { display: flex; align-items: center; gap: .35rem; margin-bottom: 1rem; }
.scan-card__head span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.scan-card__head span:first-child { background: #F87171; } .scan-card__head span:nth-child(2) { background: var(--afc-yellow); }
.scan-card__head em { margin-left: auto; font-style: normal; font-size: var(--fs-xs); font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }
.scan-card__claim { font-family: var(--font-display); font-size: 1.15rem; font-weight: 750; line-height: 1.35; }
.scan-card__lines i { display: block; height: 9px; border-radius: 5px; background: var(--afc-surface); margin-top: .55rem; }
.scan-card__lines i:nth-child(2) { width: 82%; } .scan-card__lines i:nth-child(3) { width: 60%; }
.scan-card__beam { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(230,170,30,.35) 80%, var(--afc-yellow) 100%); mix-blend-mode: multiply; opacity: 0; }
.scan-card__stamp { position: absolute; right: 1.2rem; bottom: 1.2rem; padding: .35rem 1rem; border: 4px solid var(--verdict); color: var(--verdict); border-radius: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-10deg); opacity: 0; mix-blend-mode: multiply; }
.no-js .scan-card__stamp, .reduced-motion .scan-card__stamp { opacity: .9; }
.hero__lens { position: absolute; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--afc-yellow); color: var(--afc-blue-950); box-shadow: 0 18px 40px -10px rgba(230,170,30,.7); left: -6px; bottom: 10px; }
.hero__lens .icon { width: 44px; height: 44px; stroke-width: 2.2; }

@media (min-width: 960px) {
    .hero__grid { grid-template-columns: 1.15fr .85fr; }
    .hero__visual { height: 440px; }
    .hero__scroll { display: block; }
}

/* ---------- Ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--afc-yellow); color: var(--afc-blue-950); overflow: hidden; position: relative; z-index: 2; }
.ticker__label { flex: none; display: flex; align-items: center; padding: 0 1rem; background: var(--afc-blue-950); color: var(--afc-yellow); font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__list { display: flex; list-style: none; margin: 0; padding: 0; width: max-content; }
.ticker__list li { padding: .8rem 1.75rem; white-space: nowrap; border-right: 1px solid rgba(8,26,54,.15); }
.ticker__list a { color: inherit; text-decoration: none; font-weight: 650; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: .6rem; }
.ticker__list a:hover { text-decoration: underline; }
.ticker:hover .ticker__list { animation-play-state: paused; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--afc-blue); color: #fff; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); overflow: hidden; }
.page-hero--compact { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.page-hero--fimi { background: radial-gradient(900px 400px at 90% 0%, #1B3F7A, transparent 60%), var(--afc-blue-950); }
.page-hero .container { position: relative; }
.page-hero__title { font-size: var(--fs-3xl); color: #fff; font-weight: 900; max-width: 20ch; margin-bottom: .4em; }
.page-hero--compact .page-hero__title { font-size: var(--fs-2xl); }
.page-hero__intro { font-size: var(--fs-lg); color: rgba(255,255,255,.82); max-width: 62ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0 0 1.5rem; font-size: var(--fs-xs); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; opacity: .5; }
.breadcrumbs a, .breadcrumbs span { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumbs a:hover { color: var(--afc-yellow); }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: clamp(1rem, .7rem + 1vw, 1.75rem); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--featured { grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid--featured { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; } .grid--featured .card--lead { grid-row: span 2; } }
.two-cols { display: grid; gap: 3rem; }
@media (min-width: 960px) { .two-cols { grid-template-columns: 1fr 1fr; } }
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } .split--reverse .split__text { order: 2; } }

/* ---------- Cartes ---------- */
.card { position: relative; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; transform-style: preserve-3d; }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-4px); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--afc-blue-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); background: linear-gradient(135deg, var(--afc-blue) 0%, var(--afc-blue-600) 100%); }
.card__placeholder::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 18px 18px; }
.card__placeholder--investigation, .card__placeholder--analysis { background: linear-gradient(135deg, var(--afc-blue-950), var(--afc-blue)); }
.card__placeholder--media_literacy { background: linear-gradient(135deg, var(--afc-yellow-600), var(--afc-yellow)); color: var(--afc-blue-950); }
.card__placeholder--video, .card__placeholder--podcast { background: linear-gradient(135deg, var(--afc-blue-900), #2B4F8F); }
.card:hover .card__placeholder .icon { transform: scale(1.15) rotate(-6deg); }
.card__placeholder .icon { transition: transform .6s var(--ease); position: relative; z-index: 1; }
.card__verdict { position: absolute; left: .9rem; bottom: .9rem; z-index: 2; }
.card__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card__kicker { margin: 0; font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--afc-yellow-600); }
.card__title { font-size: 1.15rem; font-weight: 800; margin: 0; line-height: 1.25; }
.card__title a { color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--afc-yellow), var(--afc-yellow)); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .45s var(--ease); }
.card:hover .card__title a { background-size: 100% 3px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__claim { margin: 0; font-style: italic; color: var(--muted); font-size: var(--fs-sm); border-left: 3px solid var(--afc-yellow); padding-left: .75rem; }
.card__excerpt { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.card__meta { margin: auto 0 0; padding-top: .5rem; font-size: var(--fs-xs); color: var(--muted-2); display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.card--lead .card__media { aspect-ratio: 16 / 10; }
.card--lead .card__title { font-size: var(--fs-xl); }
.card--horizontal { flex-direction: row; }
.card--horizontal .card__media { flex: 0 0 38%; aspect-ratio: auto; }
.card--horizontal .card__body { padding: 1rem 1.1rem; }
.card--horizontal .card__title { font-size: 1rem; }
.card--horizontal .card__excerpt { display: none; }
.media-stack { display: grid; gap: 1rem; }

/* Verdict */
.verdict { --verdict: var(--afc-blue); display: inline-flex; align-items: center; gap: .45em; padding: .35em .8em .35em .65em; border-radius: 999px; background: var(--verdict); color: #fff; font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1; box-shadow: 0 4px 14px -6px var(--verdict); }
.verdict__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.verdict--sm { font-size: .68rem; padding: .3em .65em .3em .5em; }
.verdict--xl { font-size: clamp(1.1rem, .9rem + 1vw, 1.6rem); padding: .55em 1.1em .55em .9em; border-radius: 14px; }
.verdict--xl .verdict__dot { width: 12px; height: 12px; }
.verdict-legend { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }

/* Statut promesse */
.status { --status: var(--muted-2); display: inline-flex; align-items: center; gap: .45em; padding: .3em .75em .3em .55em; border-radius: 999px; background: color-mix(in srgb, var(--status) 13%, #fff); color: color-mix(in srgb, var(--status) 75%, #000); font-size: var(--fs-xs); font-weight: 750; line-height: 1.1; border: 1px solid color-mix(in srgb, var(--status) 30%, transparent); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--status); }
.card--promise { padding: 1.3rem 1.35rem 1.4rem; gap: .8rem; border-top: 4px solid var(--status); }
.card--promise__top, .card--incident__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; font-weight: 700; color: var(--muted-2); background: var(--afc-surface); padding: .2em .55em; border-radius: 6px; }
.ref--light { background: rgba(255,255,255,.12); color: #fff; }
.meta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: var(--fs-sm); color: var(--muted); }
.meta-list li { display: flex; align-items: center; gap: .5rem; }
.meta-list .icon { color: var(--afc-blue-400); }
.meta-list .is-overdue { color: var(--danger); font-weight: 650; }
.meta-list--light { color: rgba(255,255,255,.85); margin-top: 1rem; }
.meta-list--light a { color: #fff; }
.meta-list--light .icon { color: var(--afc-yellow); }
.sector-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; margin-inline: .2rem; }
.tag { display: inline-flex; align-items: center; padding: .25em .7em; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--afc-blue-50); color: var(--afc-blue); }
.tag--outline { background: transparent; border: 1px dashed var(--line-2); color: var(--muted); align-self: flex-start; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: .25rem 0 0; padding: 0; }
.tags--lg .tag { font-size: var(--fs-xs); padding: .45em .9em; }

/* Incident & confiance */
.card--incident { padding: 1.3rem 1.35rem 1.4rem; gap: .65rem; background: linear-gradient(180deg, #fff, var(--afc-blue-50)); }
.confidence { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.confidence__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.confidence__bars i { width: 4px; border-radius: 2px; background: var(--line-2); }
.confidence__bars i:nth-child(1) { height: 5px; } .confidence__bars i:nth-child(2) { height: 9px; } .confidence__bars i:nth-child(3) { height: 14px; }
.confidence--low .confidence__bars i:nth-child(1) { background: var(--muted-2); }
.confidence--moderate .confidence__bars i:nth-child(-n+2) { background: var(--afc-yellow); }
.confidence--high .confidence__bars i { background: var(--success); }
.confidence-scale { list-style: none; padding: 0; display: grid; gap: .75rem; margin: 1rem 0 2rem; }
.confidence-scale li { padding: .9rem 1rem; border-radius: var(--radius); background: var(--afc-surface); font-weight: 500; color: var(--ink-2); display: block; }
.confidence-scale .confidence__bars { margin-right: .5rem; vertical-align: -2px; }
.confidence-meter { margin-bottom: 1rem; }
.confidence-meter__track { height: 12px; border-radius: 999px; background: var(--afc-surface); overflow: hidden; margin-bottom: .75rem; }
.confidence-meter__fill { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--afc-yellow), var(--afc-yellow-600)); }
.confidence-meter--high .confidence-meter__fill { background: linear-gradient(90deg, #4ADE80, var(--success)); }
.confidence-meter--low .confidence-meter__fill { background: var(--muted-2); }

/* Rapport */
.card--report__cover { position: relative; aspect-ratio: 16/9; background: radial-gradient(circle at 80% 20%, #1B3F7A, transparent 60%), var(--afc-blue-950); color: #fff; padding: 1.3rem; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.card--report__month { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; line-height: 1; }
.card--report__year { color: var(--afc-yellow); font-weight: 800; letter-spacing: .1em; }
.card--report__radar { position: absolute; right: 1rem; top: 1rem; color: rgba(255,255,255,.3); transition: transform 1s var(--ease); }
.card--report:hover .card--report__radar { transform: rotate(90deg) scale(1.15); color: var(--afc-yellow); }

/* ---------- Piliers ---------- */
.pillars { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 2rem 1.75rem; border-radius: var(--radius-xl); background: var(--afc-surface); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, background .5s; isolation: isolate; }
.pillar::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: var(--afc-blue); opacity: .06; transition: transform .8s var(--ease), opacity .5s; z-index: -1; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.pillar:hover::before { transform: scale(3.2); opacity: .08; }
.pillar__num { position: absolute; right: 1.5rem; top: 1rem; font-family: var(--font-display); font-weight: 900; font-size: 3.6rem; color: var(--afc-blue); opacity: .08; line-height: 1; }
.pillar__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--afc-blue); color: var(--afc-yellow); margin-bottom: .75rem; transition: transform .5s var(--ease); }
.pillar:hover .pillar__icon { transform: rotate(-8deg) scale(1.08); }
.pillar h3 { font-size: var(--fs-xl); margin: 0; }
.pillar p { color: var(--muted); margin: 0; }
.pillar .link-arrow { margin-top: auto; padding-top: 1rem; }
.pillar--accent { background: var(--afc-yellow); }
.pillar--accent .pillar__icon { background: var(--afc-blue-950); }
.pillar--accent p { color: var(--afc-blue-950); }
.pillar--accent .link-arrow { color: var(--afc-blue-950); }

/* ---------- Redevabilité ---------- */
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; }
.mini-stats div { padding: 1rem; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.mini-stats dt { font-size: var(--fs-xs); color: rgba(255,255,255,.7); }
.mini-stats dd { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--afc-yellow); }
.section--blue .card { color: var(--ink); }

/* Donut */
.donut { margin: 0; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 560px) { .donut { grid-template-columns: minmax(180px, 260px) 1fr; } }
.donut__ring { position: relative; width: 100%; max-width: 260px; margin-inline: auto; aspect-ratio: 1; }
.donut__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut__track { fill: none; stroke: var(--afc-surface); stroke-width: 12; }
.section--blue .donut__track { stroke: rgba(255,255,255,.1); }
.donut__seg { fill: none; stroke-width: 12; transition: stroke-width .3s; }
.donut__seg:hover { stroke-width: 15; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__center strong { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 900; line-height: 1; }
.donut__center span { font-size: var(--fs-xs); color: var(--muted); }
.section--blue .donut__center span { color: rgba(255,255,255,.7); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.legend li { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; font-size: var(--fs-sm); }
.legend__swatch { width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.legend__value { font-weight: 800; font-variant-numeric: tabular-nums; }
.legend small { font-weight: 500; opacity: .7; }

/* ---------- FIMI / radar ---------- */
.section--fimi { background: linear-gradient(180deg, #fff, var(--afc-surface)); }
.report-teaser__title { font-size: var(--fs-xl); }
.radar-visual { display: grid; place-items: center; }
.radar { position: relative; width: min(80vw, 420px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--afc-blue-800), var(--afc-blue-950)); box-shadow: inset 0 0 60px rgba(0,0,0,.5), var(--shadow-lg); overflow: hidden; }
.radar--sm { width: 120px; position: absolute; right: 1rem; top: 1rem; opacity: .7; }
.radar__ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(230,170,30,.25); }
.radar__ring:nth-of-type(2) { width: 33%; height: 33%; } .radar__ring:nth-of-type(3) { width: 66%; height: 66%; } .radar__ring:nth-of-type(4) { width: 100%; height: 100%; }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(230,170,30,.2); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; } .radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(230,170,30,.55), rgba(230,170,30,0) 70deg, transparent 360deg); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__blip { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--afc-yellow); box-shadow: 0 0 12px var(--afc-yellow); }
.radar__blip::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--afc-yellow); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

.report-feature { display: grid; border-radius: var(--radius-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin-top: 2rem; }
@media (min-width: 860px) { .report-feature { grid-template-columns: 320px 1fr; } }
.report-feature__cover { position: relative; min-height: 220px; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: radial-gradient(circle at 80% 10%, #1B3F7A, transparent 60%), var(--afc-blue-950); }
.report-feature__cover span { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; line-height: 1; }
.report-feature__cover b { color: var(--afc-yellow); letter-spacing: .12em; }
.report-feature__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.report-feature__body h2 a { color: var(--ink); text-decoration: none; }
.warning-note, .scope-note { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--afc-yellow-50); border: 1px solid var(--afc-yellow-100); color: var(--ink-2); font-size: var(--fs-sm); }
.warning-note p, .scope-note p { margin: 0; }
.warning-note .icon, .scope-note .icon { color: var(--afc-yellow-600); width: 1.5em; height: 1.5em; flex: none; }
.scope-note { margin-bottom: 1.5rem; }
.scope-note-inline { color: var(--muted); font-size: var(--fs-sm); margin-top: -1.5rem; margin-bottom: 1.5rem; }

/* Column chart */
.column-chart { margin: 0; }
.column-chart__cols { display: flex; align-items: flex-end; gap: 4px; height: 200px; padding-top: 1.25rem; }
.column-chart__col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .35rem; min-width: 0; }
.column-chart__bar { position: relative; width: 100%; max-width: 28px; height: var(--h); min-height: 3px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--afc-yellow), var(--afc-yellow-600)); transform-origin: bottom; }
.column-chart__bar b { position: absolute; top: -1.3rem; left: 50%; transform: translateX(-50%); font-size: .7rem; color: var(--muted); }
.column-chart__col small { font-size: .65rem; color: var(--muted-2); text-transform: capitalize; }

/* ---------- Bar & stacked charts ---------- */
.bar-chart { margin: 0; }
.chart-caption { font-size: var(--fs-xs); color: var(--muted-2); margin-bottom: .75rem; }
.bar-chart__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.bar-chart__row { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; align-items: center; gap: .75rem; font-size: var(--fs-sm); }
.bar-chart__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-chart__label a { color: inherit; text-decoration: none; }
.bar-chart__track { height: 10px; border-radius: 999px; background: var(--afc-surface); overflow: hidden; }
.bar-chart__bar { display: block; height: 100%; width: var(--w); background: var(--c); border-radius: inherit; transform-origin: left; }
.bar-chart__value { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.stacked { display: grid; gap: 1rem; }
.stacked__head { display: flex; justify-content: space-between; font-size: var(--fs-sm); margin-bottom: .35rem; }
.stacked__head a { color: var(--ink); font-weight: 650; text-decoration: none; }
.stacked__head a:hover { color: var(--afc-blue); text-decoration: underline; }
.stacked__head span { font-weight: 800; color: var(--muted); }
.stacked__track { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--afc-surface); gap: 2px; }
.stacked__seg { width: var(--w); background: var(--c); transform-origin: left; }
.mini-bar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; background: var(--afc-surface); margin: .5rem 0 .3rem; gap: 1px; }
.mini-bar i { width: var(--w); background: var(--c); }
.progress { display: block; height: 8px; border-radius: 999px; background: var(--afc-surface); overflow: hidden; min-width: 80px; margin-bottom: .2rem; }
.progress__bar { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--afc-blue-400), var(--afc-blue)); transform-origin: left; }

/* ---------- Dashboard ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { position: relative; padding: 1.25rem; border-radius: var(--radius-lg); background: var(--afc-blue); color: #fff; overflow: hidden; display: flex; flex-direction: column; gap: .2rem; }
.kpi::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.07); }
.kpi__label { font-size: var(--fs-xs); color: rgba(255,255,255,.75); font-weight: 600; }
.kpi__value { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 900; line-height: 1.05; color: var(--afc-yellow); }
.kpi__sub { font-size: .72rem; color: rgba(255,255,255,.6); }
.kpi--warn { background: var(--afc-yellow); color: var(--afc-blue-950); }
.kpi--warn .kpi__label, .kpi--warn .kpi__sub { color: rgba(8,26,54,.7); }
.kpi--warn .kpi__value { color: var(--afc-blue-950); }
.dash-grid { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: repeat(2, 1fr); } .dash-grid > .panel:first-child { grid-column: span 2; } }
@media (min-width: 900px) { .dash-grid--3 { grid-template-columns: repeat(3, 1fr); } .dash-grid--3 > .panel:first-child { grid-column: auto; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.section--soft .panel { border-color: transparent; box-shadow: var(--shadow-sm); }
.panel__title { font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; }
.panel__title .icon { color: var(--afc-yellow-600); }
.deadline-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.deadline-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem .75rem; border-radius: var(--radius-sm); background: var(--afc-surface); flex-wrap: wrap; }
.deadline-list a { display: flex; gap: .75rem; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); min-width: 0; flex: 1; }
.deadline-list time { font-weight: 800; color: var(--afc-blue); white-space: nowrap; font-size: var(--fs-xs); padding-top: .15em; }
.deadline-list--overdue time { color: var(--danger); }

/* ---------- Filtres ---------- */
.filters { display: grid; gap: .9rem; padding: 1.2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.filters__search { grid-column: 1 / -1; position: relative; }
.filters__search .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.filters__search .input { padding-left: 2.8rem; }
.filters__actions { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: center; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field label, .field__label { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.field--dates { grid-column: 1 / -1; }
.field__inline { display: flex; gap: .5rem; }
@media (min-width: 900px) {
    .filters { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
    .filters__search { grid-column: span 2; }
    .field--dates { grid-column: span 2; }
    .filters__actions { grid-column: auto; }
}
.input, .select { width: 100%; min-height: 46px; padding: .65rem .9rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; font-size: var(--fs-sm); }
.input:focus, .select:focus { outline: none; border-color: var(--afc-blue); box-shadow: 0 0 0 4px rgba(20,55,105,.12); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143769' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 16px; padding-right: 2.2rem; }
.select--sm { min-height: 38px; width: auto; padding-block: .4rem; }
.textarea { min-height: 120px; resize: vertical; }
.input--light { background: rgba(255,255,255,.95); border-color: transparent; }
.results-count { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1rem; }
.results-count strong { color: var(--ink); }
.list-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.list-toolbar .results-count { margin: 0; }
.list-toolbar__right { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); flex-wrap: wrap; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.75rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px; background: var(--afc-blue-50); color: var(--afc-blue); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; transition: background .25s, color .25s, transform .25s var(--ease); }
.chip:hover, .chip.is-active { background: var(--afc-blue); color: #fff; transform: translateY(-2px); }
.chip--accent { background: var(--afc-yellow-100); color: var(--afc-blue-950); }
.chip--accent:hover { background: var(--afc-yellow); color: var(--afc-blue-950); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin-top: 2.5rem; }
.pagination > a, .pagination > span { min-width: 44px; height: 44px; padding: 0 .85rem; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: var(--fs-sm); transition: background .2s, color .2s, transform .2s var(--ease); }
.pagination > a { background: var(--afc-surface); color: var(--afc-blue); }
.pagination > a:hover { background: var(--afc-blue); color: #fff; transform: translateY(-2px); }
.pagination [aria-current] { background: var(--afc-yellow); color: var(--afc-blue-950); box-shadow: 0 8px 18px -10px rgba(230,170,30,.9); }
.pagination .ellipsis { min-width: 24px; padding: 0; color: var(--muted-2); }
.pagination__nav { border: 1.5px solid var(--line); background: #fff !important; }
.pagination__nav:hover { border-color: var(--afc-blue); }
.pagination__nav.is-disabled { color: var(--line-2); border-color: var(--line); cursor: not-allowed; }
.pagination__nav span { display: none; padding: 0; min-width: 0; height: auto; }
@media (min-width: 640px) { .pagination__nav span { display: inline; } }
.pagination__info { text-align: center; margin: .9rem 0 0; font-size: var(--fs-xs); color: var(--muted-2); }
.anchor-target, #liste { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.section--blue .pagination > a { background: rgba(255,255,255,.1); color: #fff; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.empty-state .icon { color: var(--line-2); }

/* ---------- Article ---------- */
.article-hero { position: relative; background: var(--afc-blue); color: #fff; padding-block: clamp(2.5rem, 2rem + 4vw, 4.5rem) clamp(5rem, 4rem + 4vw, 7rem); overflow: hidden; }
.article-hero .container { position: relative; }
.article__title { font-size: var(--fs-3xl); font-weight: 900; color: #fff; }
.article__excerpt { font-size: var(--fs-lg); color: rgba(255,255,255,.85); }
.byline { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; font-size: var(--fs-sm); }
.byline p { margin: 0; }
.byline__dates { color: rgba(255,255,255,.7); font-size: var(--fs-xs); }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--afc-yellow); color: var(--afc-blue-950); font-weight: 900; font-family: var(--font-display); }
.avatar--lg { width: 84px; height: 84px; font-size: 2rem; }
.article__body-wrap { position: relative; margin-top: clamp(-4.5rem, -3rem - 2vw, -3rem); padding-bottom: 4rem; }
.claim-box { display: grid; border-radius: var(--radius-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); margin-bottom: 2.5rem; }
@media (min-width: 720px) { .claim-box { grid-template-columns: 1.5fr 1fr; } }
.claim-box__inner { padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.claim-box__label { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); font-family: var(--font-sans); font-weight: 800; }
.claim-box__quote { margin: .5rem 0 1rem; font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 750; line-height: 1.3; color: var(--ink); }
.claim-box__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.claim-box__meta span, .claim-box__meta a { display: inline-flex; align-items: center; gap: .35rem; }
.claim-box__verdict { padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); background: color-mix(in srgb, var(--verdict) 9%, #fff); border-top: 4px solid var(--verdict); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .75rem; }
@media (min-width: 720px) { .claim-box__verdict { border-top: 0; border-left: 4px solid var(--verdict); } }
.claim-box__verdict-label { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.claim-box__verdict p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.article__cover { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.prose { font-size: 1.09rem; line-height: 1.8; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2em; position: relative; padding-left: 1rem; }
.prose h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 3px; background: var(--afc-yellow); }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.6em; }
.prose blockquote { margin-inline: 0; padding: 1rem 1.25rem; border-left: 4px solid var(--afc-blue); background: var(--afc-blue-50); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.prose img { border-radius: var(--radius); }
.prose a { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6rem; text-align: left; }
.prose--lg { font-size: 1.12rem; }
.disclosure { margin: 2rem 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; }
.disclosure summary { cursor: pointer; padding: 1rem 0; font-weight: 700; display: flex; gap: .5rem; align-items: center; }
.sources, .corrections, .related-block { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--afc-surface); }
.sources h2, .corrections h2, .related-block h2, .related-block h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.sources ol { margin: 0; padding-left: 1.3em; display: grid; gap: .4rem; font-size: var(--fs-sm); word-break: break-word; }
.corrections { background: var(--afc-yellow-50); }
.link-list { padding-left: 1.1em; margin: 0; display: grid; gap: .4rem; font-size: var(--fs-sm); }
.article__footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.share { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.share__label { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: .3rem; }
.share__btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--afc-surface); color: var(--afc-blue); transition: background .2s, color .2s, transform .3s var(--ease); }
.share__btn:hover { background: var(--afc-blue); color: #fff; transform: translateY(-3px) rotate(-6deg); }
.share__btn.is-copied { background: var(--success); color: #fff; }
.report-error { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-sm); color: var(--muted); }
.preview-banner { background: var(--afc-yellow); color: var(--afc-blue-950); padding: .7rem var(--gutter); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: var(--fs-sm); }

/* ---------- Promesse détail ---------- */
.page-hero--promise { border-bottom: 6px solid var(--status); }
.promise-head { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .promise-head { grid-template-columns: 1fr auto; } }
.status-seal { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 190px; height: 190px; border-radius: 50%; background: var(--status); color: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 0 0 20px rgba(255,255,255,.04), var(--shadow-lg); padding: 1.5rem; }
.status-seal__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; opacity: .85; }
.status-seal strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; margin: .25rem 0; }
.status-seal small { font-size: .7rem; opacity: .85; }
.promise-layout, .report-layout, .page-layout { display: grid; gap: 2.5rem; padding-block: 3rem 4rem; }
@media (min-width: 1024px) {
    .promise-layout { grid-template-columns: 1fr 320px; }
    .report-layout { grid-template-columns: 260px 1fr; }
    .page-layout { grid-template-columns: 1fr 280px; }
}
.sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.block { margin-bottom: 2.5rem; }
.block__title { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-xl); padding-bottom: .75rem; border-bottom: 2px solid var(--afc-surface); }
.block__title .icon { color: var(--afc-yellow-600); }
.block--highlight { padding: 1.75rem; border-radius: var(--radius-xl); background: var(--afc-blue-50); }
.quote { margin: 0 0 1rem; padding: 1.5rem 1.75rem; border-radius: var(--radius-lg); background: var(--afc-blue); color: #fff; position: relative; }
.quote::before { content: "“"; position: absolute; right: 1.2rem; top: -.6rem; font-family: Georgia, serif; font-size: 7rem; color: var(--afc-yellow); opacity: .5; line-height: 1; }
.quote p { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 650; position: relative; }
.quote footer { font-size: var(--fs-xs); color: rgba(255,255,255,.75); }
.quote footer a { color: var(--afc-yellow); }
.evaluation { padding: 1.4rem; border-radius: var(--radius-lg); border: 1px solid var(--line); border-left: 5px solid var(--status); }
.evaluation__rule { font-size: var(--fs-sm); color: var(--muted); font-style: italic; margin: .75rem 0; }
.evaluation__meta { font-size: var(--fs-xs); color: var(--muted-2); margin: 1rem 0 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 640px; }
.table th, .table td { padding: .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--afc-surface); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table tbody th small { display: block; font-weight: 400; color: var(--muted-2); margin-top: .2rem; }
.evidence-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.evidence { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--afc-surface); }
.evidence p { margin: .3rem 0; font-size: var(--fs-sm); color: var(--muted); }
.evidence small { color: var(--muted-2); font-size: var(--fs-xs); }
.evidence-lines { padding-left: 1.1em; display: grid; gap: .4rem; font-size: var(--fs-sm); word-break: break-word; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding: 0 0 1.5rem 2.2rem; }
.timeline__item::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--status); }
.timeline__item time { font-size: var(--fs-xs); font-weight: 800; color: var(--afc-blue); text-transform: uppercase; letter-spacing: .05em; }
.timeline__item p { margin: .2rem 0; font-size: var(--fs-sm); }
.facts { margin: 0; padding: 1.25rem; border-radius: var(--radius-lg); background: var(--afc-surface); display: grid; gap: .8rem; }
.facts div { display: grid; gap: .1rem; }
.facts dt { font-size: var(--fs-xs); color: var(--muted-2); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 0; font-weight: 650; font-size: var(--fs-sm); }
.facts .is-overdue { color: var(--danger); }
.for-against { display: grid; gap: 1rem; }
@media (min-width: 720px) { .for-against { grid-template-columns: 1fr 1fr; } }
.for-against__col { padding: 1.2rem; border-radius: var(--radius); }
.for-against__col h3 { font-size: 1rem; }
.for-against__col--for { background: #FEF3F2; border-top: 4px solid var(--danger); }
.for-against__col--against { background: #F0FDF4; border-top: 4px solid var(--success); }
.for-against .prose { font-size: var(--fs-sm); }

/* Officials */
.officials { display: grid; gap: 1rem; }
@media (min-width: 640px) { .officials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .officials { grid-template-columns: repeat(3, 1fr); } }
.official-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.official-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--afc-yellow); color: var(--ink); }
.official-card__avatar { width: 72px; height: 72px; flex: none; border-radius: 20px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--afc-blue), var(--afc-blue-600)); color: var(--afc-yellow); font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; }
.official-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.official-card__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.official-card__body small { color: var(--muted); font-size: var(--fs-xs); }
.territories { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 800px) { .territories { grid-template-columns: 1fr 1fr; } }
.territories .subhead { margin-top: 0; }
.profile { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.profile__avatar { width: 140px; height: 140px; border-radius: 36px; overflow: hidden; display: grid; place-items: center; background: var(--afc-yellow); color: var(--afc-blue-950); font-family: var(--font-display); font-size: 3rem; font-weight: 900; flex: none; box-shadow: var(--shadow-lg); }
.profile__avatar img { width: 100%; height: 100%; object-fit: cover; }

.status-steps { list-style: none; padding: 0; display: grid; gap: .75rem; margin: 1.5rem 0 3rem; }
.status-step { padding: 1.1rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--line); border-left: 6px solid var(--status); background: #fff; }
.status-step p { margin: .5rem 0 0; color: var(--muted); font-size: var(--fs-sm); }
.principles { padding: 1.75rem; border-radius: var(--radius-xl); background: var(--afc-blue); color: #fff; margin-bottom: 2.5rem; }
.principles h2 { color: #fff; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list .icon { color: var(--afc-yellow); flex: none; margin-top: .2em; stroke-width: 2.5; }
.info-card .check-list .icon, .report-feature .check-list .icon { color: var(--success); }

/* Rapport & TOC */
.toc__title { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin: 0; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .35rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: var(--fs-sm); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-active { color: var(--afc-blue); border-color: var(--afc-yellow); font-weight: 700; }
@media (max-width: 1023px) { .toc { display: none; } }
.findings { list-style: none; padding: 0; display: grid; gap: .6rem; }
.findings li { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--radius); background: #fff; font-weight: 600; }
.findings span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--afc-yellow); color: var(--afc-blue-950); font-weight: 900; font-size: var(--fs-xs); }
.process { list-style: none; padding: 0; display: grid; gap: 1rem; margin: 0 0 3rem; counter-reset: p; }
.process li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: var(--radius-lg); background: var(--afc-surface); }
.process span { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--afc-blue); color: var(--afc-yellow); font-weight: 900; font-family: var(--font-display); }
.process h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.process p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- EMI ---------- */
.resource-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.resource-list a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-lg); background: #fff; color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.resource-list a:hover { transform: translateX(6px); box-shadow: var(--shadow); color: var(--ink); }
.resource-list a > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.resource-list small { color: var(--muted); font-size: var(--fs-xs); }
.resource-list__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--afc-yellow-100); color: var(--afc-yellow-600); flex: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; display: grid; gap: 1.5rem; align-items: center; padding: clamp(2rem, 1.5rem + 3vw, 3.75rem); border-radius: var(--radius-xl); background: var(--afc-yellow); color: var(--afc-blue-950); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band .kicker { color: var(--afc-blue-950); }
.cta-band .kicker::before { background: var(--afc-blue-950); }
.cta-band__text { position: relative; z-index: 1; }
.cta-band__text p { max-width: 55ch; margin-top: 1rem; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band__deco { position: absolute; right: -1rem; bottom: -5rem; font-family: var(--font-display); font-weight: 900; font-size: 20rem; line-height: 1; color: var(--afc-blue-950); opacity: .07; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; gap: 2rem; align-items: center; padding: clamp(1.75rem, 1.25rem + 3vw, 3.5rem); border-radius: var(--radius-xl); background: radial-gradient(600px 300px at 100% 0%, var(--afc-blue-600), transparent 70%), var(--afc-blue-950); color: #fff; }
@media (min-width: 960px) { .newsletter { grid-template-columns: 1fr 1fr; } }
.newsletter__title { color: #fff; font-size: var(--fs-2xl); }
.newsletter__text p { color: rgba(255,255,255,.75); margin: 0; }
.newsletter__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter__row .input { flex: 1 1 220px; min-height: 52px; }
.newsletter__consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; font-size: var(--fs-xs); color: rgba(255,255,255,.75); }
.newsletter__consent input { margin-top: .2em; accent-color: var(--afc-yellow); width: 18px; height: 18px; flex: none; }
.newsletter__consent label { font-weight: 400; }
.newsletter .form-errors li { color: #FCA5A5; }

/* ---------- Formulaires ---------- */
.participate { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .participate { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.form-card { padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-steps { display: flex; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: s; gap: .5rem; }
.form-steps li { flex: 1; font-size: var(--fs-xs); font-weight: 700; color: var(--muted-2); padding-top: .7rem; border-top: 4px solid var(--line); counter-increment: s; transition: color .3s, border-color .3s; }
.form-steps li::before { content: counter(s) ". "; }
.form-steps li.is-active { color: var(--afc-blue); border-color: var(--afc-yellow); }
.form-step { border: 0; padding: 0; margin: 0 0 .5rem; }
.form-grid { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-row { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.2rem; }
.label { font-weight: 700; font-size: var(--fs-sm); }
.label.required::after { content: " *"; color: var(--danger); }
.help { margin: 0; font-size: var(--fs-xs); color: var(--muted-2); }
.form-errors { list-style: none; padding: 0; margin: .2rem 0 0; }
.form-errors li { color: var(--danger); font-size: var(--fs-xs); font-weight: 600; }
.has-error .input, .has-error .select { border-color: var(--danger); }
.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--afc-blue); margin-top: .15em; flex: none; }
.consent-box { padding: 1rem; border-radius: var(--radius); background: var(--afc-surface); margin-bottom: 1.5rem; }
.consent-box .form-row { margin: 0; }
.input-file { padding: .55rem; }
.input-file::file-selector-button { border: 0; border-radius: 8px; padding: .45rem .9rem; margin-right: .75rem; background: var(--afc-blue); color: #fff; font-weight: 700; cursor: pointer; }
.info-card { padding: 1.6rem; border-radius: var(--radius-xl); background: var(--afc-surface); margin-bottom: 1.25rem; }
.info-card h2 { font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; }
.info-card--accent { background: var(--afc-blue); color: #fff; }
.info-card--accent h2 { color: #fff; }
.mini-timeline { padding-left: 1.2em; display: grid; gap: .6rem; margin: 0; font-size: var(--fs-sm); }
.mini-timeline b { color: var(--afc-yellow); }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin: 1rem 0; font-weight: 600; border-left: 5px solid; }
.alert--error { background: #FEF2F2; color: #991B1B; border-color: var(--danger); }
.alert--success { background: #F0FDF4; color: #166534; border-color: var(--success); }
.alert--warning { background: var(--afc-yellow-50); color: #854D0E; border-color: var(--afc-yellow); }

.confirm { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.confirm__inner { display: flex; flex-direction: column; align-items: center; }
.confirm .section-title { max-width: 24ch; margin-bottom: 1rem; }
.confirm__check svg { width: 96px; height: 96px; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.5rem; }
.confirm__check circle { stroke: var(--afc-yellow); stroke-width: 4; }
.confirm__check path { stroke: var(--afc-blue); stroke-width: 6; }

/* ---------- À propos ---------- */
.tiles { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem; border-radius: var(--radius-xl); background: var(--afc-surface); color: var(--ink); text-decoration: none; min-height: 210px; transition: transform .45s var(--ease), box-shadow .45s, background .3s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); background: #fff; color: var(--ink); }
.tile__num { font-family: var(--font-display); font-weight: 900; color: var(--afc-yellow-600); }
.tile h2 { font-size: 1.3rem; margin: 0; }
.tile p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.tile .link-arrow { margin-top: auto; }
.tile--accent { background: var(--afc-blue); color: #fff; }
.tile--accent h2, .tile--accent .link-arrow, .tile--accent .tile__num { color: #fff; }
.tile--accent p { color: rgba(255,255,255,.75); }
.tile--accent:hover { background: var(--afc-blue-600); color: #fff; }
.team { list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.team__member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: 1.5rem 1rem; border-radius: var(--radius-lg); background: #fff; }
.team__member small { color: var(--muted); font-size: var(--fs-xs); }
.side-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.side-nav a { display: block; padding: .6rem .9rem; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: var(--fs-sm); }
.side-nav a:hover, .side-nav a.is-active { background: var(--afc-blue-50); color: var(--afc-blue); }

/* ---------- Login ---------- */
.login { position: relative; min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 3rem var(--gutter); background: var(--afc-blue); overflow: hidden; }
.login__card { position: relative; width: 100%; max-width: 440px; padding: 2.5rem; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-lg); }
.login__card h1 { font-size: 1.7rem; margin: 1.5rem 0 .3rem; }

/* ---------- Erreurs ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.error-page__inner { display: flex; flex-direction: column; align-items: center; }
.error-page__code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 14rem); font-weight: 900; line-height: .9; margin: 0; background: linear-gradient(135deg, var(--afc-blue), var(--afc-yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 2rem; color: rgba(255,255,255,.75); }
.footer__wave { color: var(--afc-blue-950); line-height: 0; }
.footer__wave svg { width: 100%; height: 60px; }
.footer__body { background: var(--afc-blue-950); padding: 2.5rem 0 1.5rem; }
.footer__grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand p { margin: 1rem 0; max-width: 36ch; font-size: var(--fs-sm); }
.footer__title { font-family: var(--font-sans); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--afc-yellow); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: var(--fs-sm); }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--afc-yellow); }
.socials { display: flex !important; gap: .5rem !important; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .25s, transform .3s var(--ease); }
.socials a:hover { background: var(--afc-yellow); color: var(--afc-blue-950); transform: translateY(-3px); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: var(--fs-xs); }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex !important; flex-wrap: wrap; gap: 1rem !important; font-size: var(--fs-xs) !important; }

/* ---------- Motion : états initiaux (seulement si JS + motion autorisée) ---------- */
.js:not(.reduced-motion) [data-reveal] { opacity: 0; }
.js:not(.reduced-motion) [data-hero-item] { opacity: 0; }
.js.motion-ready [data-reveal], .js.motion-ready [data-hero-item] { opacity: initial; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .scan-card__stamp { opacity: .9; }
}

/* ---------- Impression ---------- */
@media print {
    .site-header, .site-footer, .share, .back-to-top, .filters, .toc, .page-curtain, .reading-progress, .ticker { display: none !important; }
    .page-hero, .article-hero { background: none !important; color: #000 !important; padding: 0 !important; }
    .page-hero__title, .article__title { color: #000 !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

.hero__kicker::before { display: none; }
