/* ==========================================================================
   linkavista-avis.fr
   Feuille de style unique. Concept : tableau de bord analytique.
   Polices : IBM Plex Sans (texte) et IBM Plex Mono (chiffres et etiquettes).
   Mode clair uniquement.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables
   -------------------------------------------------------------------------- */

:root {
  /* Couleurs de fond */
  --bg: #FFFFFF;
  --bg-alt: #F7F9FC;
  --surface: #FFFFFF;
  --surface-head: #F1F5F9;
  --surface-sunken: #F8FAFC;

  /* Texte */
  --text: #0F172A;
  --text-muted: #64748B;
  --text-soft: #94A3B8;

  /* Accents */
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --accent-soft: #EFF5FF;
  --accent2: #0EA5E9;
  --accent2-soft: #E6F6FE;

  /* Signaux */
  --green: #16A34A;
  --green-soft: #ECFDF3;
  --amber: #D97706;
  --amber-soft: #FEF6E7;

  /* Bordures */
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Rayons */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 999px;

  /* Ombres */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --sh-sm: 0 1px 3px rgba(15, 23, 42, .07), 0 1px 2px rgba(15, 23, 42, .04);
  --sh-md: 0 4px 14px rgba(15, 23, 42, .07);
  --sh-lg: 0 12px 34px rgba(15, 23, 42, .10);
  --sh-focus: 0 0 0 3px rgba(37, 99, 235, .28);

  /* Espacements */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 88px;

  /* Transitions */
  --t-fast: 160ms cubic-bezier(.4, 0, .2, 1);
  --t-base: 260ms cubic-bezier(.4, 0, .2, 1);
  --t-slow: 460ms cubic-bezier(.22, .61, .36, 1);

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 880px;
  --header-h: 68px;

  /* Polices */
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-4);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--text);
}

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.35em; }
li { margin-bottom: var(--s-2); }
li:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

strong, b { font-weight: 600; }

table { border-collapse: collapse; width: 100%; }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--s-6) 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection {
  background: rgba(37, 99, 235, .16);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   3. Structures de base
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.wrap-narrow { max-width: var(--wrap-narrow); }

.section {
  padding: var(--s-8) 0;
  border-top: 1px solid var(--border);
}

.section--alt { background: var(--bg-alt); }
.section--flush { border-top: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-md) 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  text-decoration: none;
}

/* Typographie fluide */

h1, .h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.05rem); letter-spacing: -.028em; }
h2, .h2 { font-size: clamp(1.5rem, 1.2rem + 1.25vw, 2.05rem); letter-spacing: -.022em; }
h3, .h3 { font-size: clamp(1.16rem, 1.05rem + .5vw, 1.4rem); }
h4, .h4 { font-size: 1.05rem; }

.lead {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.62;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 780px; margin-bottom: var(--s-6); }
.section-head p:last-child { margin-bottom: 0; }

.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

.small {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.source-note {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .02em;
  color: var(--text-soft);
  border-left: 2px solid var(--border-strong);
  padding-left: 10px;
  margin-top: var(--s-4);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.005em;
  line-height: 1.2;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }

.btn .arrow {
  display: inline-block;
  transition: transform var(--t-fast);
  font-family: var(--font-mono);
  font-weight: 500;
}
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--surface-sunken);
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm { padding: 9px 15px; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base), background var(--t-base);
}
.site-header.is-stuck {
  box-shadow: var(--sh-sm);
  background: rgba(255, 255, 255, .98);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  transition: height var(--t-base);
}
.site-header.is-stuck .header-inner { height: 58px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: var(--r-xs);
}
.brand-name {
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 1.02rem;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: block;
  line-height: 1.1;
  margin-top: 1px;
}

.nav { display: flex; align-items: center; gap: var(--s-2); }

.nav a {
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--surface-sunken); text-decoration: none; }
.nav a.is-active { color: var(--accent); background: var(--accent-soft); }

.header-cta { flex-shrink: 0; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.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); }

/* Barre de progression de lecture */
.read-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 90ms linear;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: var(--s-8) 0 var(--s-7);
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(37, 99, 235, .07), transparent 60%),
    radial-gradient(700px 340px at 92% 0%, rgba(14, 165, 233, .08), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 78%);
}
.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: var(--s-7);
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s-4);
  box-shadow: var(--sh-xs);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .16);
}

.hero h1 { margin-bottom: var(--s-4); }
.hero .lead { margin-bottom: var(--s-5); max-width: 640px; }

/* Signature courte sous le h1 */
.byline {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  margin-bottom: var(--s-5);
  max-width: 520px;
}
.byline img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
  flex-shrink: 0;
}
.byline-text { min-width: 0; }
.byline-name { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.byline-meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .01em;
}

/* Anneau de score */
.score-ring-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.score-ring-body {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-5);
}
.ring {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  position: relative;
}
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { stroke: var(--border); }
.ring-fill {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 339.3;
  stroke-dashoffset: 339.3;
  transition: stroke-dashoffset 1400ms cubic-bezier(.22, .61, .36, 1);
}
.ring.is-on .ring-fill { stroke-dashoffset: var(--ring-offset, 84.8); }
.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ring-value {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--text);
}
.ring-max {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  margin-top: 3px;
}
.ring-side { min-width: 0; }
.ring-side h2 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-figure {
  margin: var(--s-5) 0 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  background: var(--surface);
}
.hero-figure img { width: 100%; height: auto; display: block; }
.hero-figure figcaption {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-muted);
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-head);
  letter-spacing: .01em;
}

/* --------------------------------------------------------------------------
   7. Cartes KPI
   -------------------------------------------------------------------------- */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-5);
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--sh-xs);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.kpi::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: .75;
}
.kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--border-strong);
}
.kpi--cyan::after { background: var(--accent2); }
.kpi--green::after { background: var(--green); }
.kpi--amber::after { background: var(--amber); }

.kpi-value {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.kpi-value .unit { font-size: .68em; color: var(--text-muted); margin-left: 2px; }
.kpi-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 7px;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   8. Panneaux type widget
   -------------------------------------------------------------------------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px var(--s-4);
  background: var(--surface-head);
  border-bottom: 1px solid var(--border);
}
.panel-head h3,
.panel-head h2,
.panel-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}
.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.panel-dot--green { background: var(--green); box-shadow: 0 0 0 3px rgba(22, 163, 74, .14); }
.panel-dot--amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(217, 119, 6, .14); }
.panel-dot--cyan { background: var(--accent2); box-shadow: 0 0 0 3px rgba(14, 165, 233, .14); }
.panel-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.panel-body { padding: var(--s-5); }
.panel-body > :last-child { margin-bottom: 0; }
.panel-body--tight { padding: var(--s-4); }
.panel-foot {
  padding: 11px var(--s-4);
  border-top: 1px solid var(--border);
  background: var(--surface-sunken);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-muted);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-4);
}
.panel-grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.panel-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* --------------------------------------------------------------------------
   9. Barres de score
   -------------------------------------------------------------------------- */

.score-list { display: grid; gap: var(--s-4); }

.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: var(--s-4);
  align-items: center;
  padding-bottom: var(--s-4);
  border-bottom: 1px dashed var(--border);
}
.score-row:last-child { border-bottom: 0; padding-bottom: 0; }

.score-info { min-width: 0; }
.score-name {
  font-weight: 600;
  font-size: .98rem;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.score-weight {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-muted);
  background: var(--surface-head);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 1px 8px;
}
.score-desc { font-size: .855rem; color: var(--text-muted); line-height: 1.55; }

.score-track {
  height: 9px;
  background: var(--surface-head);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-top: 9px;
  border: 1px solid var(--border);
}
.score-fill {
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 1100ms cubic-bezier(.22, .61, .36, 1);
}
.score-fill--green { background: linear-gradient(90deg, #15803D, var(--green)); }
.score-fill--amber { background: linear-gradient(90deg, #B45309, var(--amber)); }

.score-value {
  font-family: var(--font-mono);
  font-size: 1.28rem;
  font-weight: 600;
  text-align: right;
  letter-spacing: -.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.score-value small {
  display: block;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Badge de note compact */
.grade {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .82rem;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid rgba(37, 99, 235, .2);
  letter-spacing: -.01em;
}
.grade--green { background: var(--green-soft); color: #15803D; border-color: rgba(22, 163, 74, .22); }
.grade--amber { background: var(--amber-soft); color: #B45309; border-color: rgba(217, 119, 6, .22); }

/* --------------------------------------------------------------------------
   10. Chips de filtre
   -------------------------------------------------------------------------- */

.chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  align-items: center;
}
.chip-bar-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-right: 4px;
}

.chip {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.score-row.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   11. Onglets
   -------------------------------------------------------------------------- */

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-head);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.tab {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--r-md);
  color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--sh-xs);
}

.tab-panel { animation: fadeIn 320ms cubic-bezier(.4, 0, .2, 1); }
.tab-panel[hidden] { display: none; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   12. Tableaux
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-xs);
  margin-bottom: var(--s-4);
  max-height: 620px;
  overflow-y: auto;
}

table.data {
  width: 100%;
  min-width: 640px;
  font-size: .89rem;
  border-collapse: collapse;
}

table.data caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px var(--s-4);
  background: var(--surface-head);
  border-bottom: 1px solid var(--border);
}

table.data thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface-head);
  text-align: left;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 11px var(--s-4);
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}

table.data tbody th,
table.data tbody td {
  padding: 11px var(--s-4);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
table.data tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}
table.data tbody tr:nth-child(even) { background: #FBFCFE; }
table.data tbody tr:hover { background: var(--accent-soft); }
table.data tbody tr:last-child th,
table.data tbody tr:last-child td { border-bottom: 0; }

table.data td.num,
table.data th.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
table.data td.pos { color: #15803D; font-weight: 600; }
table.data td.warn { color: #B45309; font-weight: 600; }

table.data tfoot td,
table.data tfoot th {
  padding: 11px var(--s-4);
  background: var(--surface-sunken);
  font-weight: 600;
  border-top: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: .82rem;
}

.table-scroll-hint {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-soft);
  margin: -8px 0 var(--s-5);
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   13. Encadres et listes
   -------------------------------------------------------------------------- */

.callout {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  background: var(--surface-sunken);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  margin: var(--s-5) 0;
}
.callout h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout--green { border-left-color: var(--green); background: var(--green-soft); }
.callout--amber { border-left-color: var(--amber); background: var(--amber-soft); }
.callout--cyan { border-left-color: var(--accent2); background: var(--accent2-soft); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px var(--s-3);
  border-bottom: 1px solid var(--border);
  margin: 0;
  line-height: 1.55;
  transition: background var(--t-fast);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li:hover { background: var(--surface-sunken); }

.check-box {
  width: 22px;
  height: 22px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: transparent;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.checklist li.is-done .check-box {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.checklist li.is-done .check-text { color: var(--text-muted); }
.check-text { min-width: 0; }
.check-num {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .08em;
  margin-right: 8px;
}

.checklist-progress {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-4);
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.checklist-progress .track {
  flex: 1;
  height: 7px;
  background: var(--surface-head);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.checklist-progress .fill {
  height: 100%;
  width: 0;
  background: var(--green);
  transition: width var(--t-base);
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-4);
  display: grid;
  gap: 10px;
}
.bullets li {
  position: relative;
  padding-left: 24px;
  margin: 0;
  line-height: 1.6;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.bullets--green li::before { background: var(--green); }
.bullets--amber li::before { background: var(--amber); }

.deflist { margin: 0; }
.deflist dt {
  font-weight: 600;
  font-size: .98rem;
  margin-top: var(--s-4);
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.deflist dt:first-child { margin-top: 0; }
.deflist dt .tag {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-head);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 1px 7px;
  font-weight: 500;
}
.deflist dd {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.deflist dd:last-child { border-bottom: 0; }

/* Profils */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-4);
}
.profile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--sh-xs);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.profile:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.profile h3 { margin: 0; font-size: 1.04rem; }
.profile p { margin: 0; font-size: .92rem; color: var(--text-muted); }
.profile .verdict {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: auto;
}

/* Etapes numerotees */
.steps { display: grid; gap: var(--s-4); counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, .22);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 5px; }
.step p { margin: 0; color: var(--text-muted); font-size: .93rem; }

/* Figures de contenu */
.figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--sh-xs);
}
.figure img { width: 100%; height: auto; }
.figure figcaption {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-muted);
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-head);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.split > * { min-width: 0; }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */

.faq {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--sh-xs);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }

.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 16px var(--s-5);
  font-weight: 600;
  font-size: .99rem;
  line-height: 1.45;
  transition: background var(--t-fast), color var(--t-fast);
}
.faq-q:hover { background: var(--surface-sunken); color: var(--accent); }
.faq-q[aria-expanded="true"] { color: var(--accent); background: var(--accent-soft); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--text-muted);
  transition: transform var(--t-base), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  margin-top: 1px;
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-slow);
}
.faq-a-inner {
  padding: 0 var(--s-5) 18px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
}
.faq-a-inner p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Bloc auteur, sources, CTA final
   -------------------------------------------------------------------------- */

.author {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
}
.author-photo {
  width: 168px;
  height: 168px;
  border-radius: var(--r-xl);
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}
.author h3 { margin-bottom: 3px; font-size: 1.28rem; }
.author-role {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.author-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 7px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text-muted);
  background: var(--surface);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.author-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}
.author-updated {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-soft);
  margin-top: var(--s-4);
  letter-spacing: .03em;
}

.sources-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.sources-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: var(--s-3);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
  align-items: start;
}
.sources-list li:last-child { border-bottom: 0; }
.sources-list .src-id {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .04em;
  padding-top: 2px;
}
.sources-list .src-title { font-weight: 600; font-size: .95rem; }
.sources-list .src-desc { font-size: .87rem; color: var(--text-muted); line-height: 1.55; }

.final-cta {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 55%, #0EA5E9 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-6);
  text-align: center;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta h2 { color: #fff; margin-bottom: var(--s-3); }
.final-cta p {
  color: rgba(255, 255, 255, .88);
  max-width: 620px;
  margin: 0 auto var(--s-5);
  font-size: 1.03rem;
}
.final-cta .btn--primary {
  background: #fff;
  color: #1E3A8A;
}
.final-cta .btn--primary:hover { background: #F1F5F9; color: #1E3A8A; }
.final-cta .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.final-cta .btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: #fff;
}
.final-cta .btn-row { justify-content: center; }
.final-cta .cta-note {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: rgba(255, 255, 255, .7);
  margin: var(--s-5) 0 0;
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: var(--s-8) 0 var(--s-5);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--s-4);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-strong);
}
.footer-col p { color: var(--text-muted); font-size: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links li { margin: 0; }
.footer-links a {
  color: var(--text-muted);
  font-size: .89rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--border-strong);
  border-radius: 1px;
  transform: rotate(45deg);
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.footer-links a:hover { color: var(--accent); text-decoration: none; transform: translateX(2px); }
.footer-links a:hover::before { background: var(--accent); }

.footer-disclosure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-4);
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--s-5);
}
.footer-disclosure strong { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--text-soft);
  letter-spacing: .03em;
}

/* --------------------------------------------------------------------------
   17. Bouton retour en haut
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-md);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base), background var(--t-fast);
  font-family: var(--font-mono);
  font-size: 1.05rem;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-dark); }

/* --------------------------------------------------------------------------
   18. Reveal au scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 460ms cubic-bezier(.22, .61, .36, 1), transform 460ms cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   19. Table des matieres laterale
   -------------------------------------------------------------------------- */

.toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
}
.toc-list { list-style: none; margin: 0; padding: var(--s-3); display: grid; gap: 1px; }
.toc-list li { margin: 0; }
.toc-list a {
  display: block;
  padding: 7px 11px;
  border-radius: var(--r-sm);
  font-size: .85rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.toc-list a:hover { background: var(--surface-sunken); color: var(--text); text-decoration: none; }
.toc-list a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  border-left-color: var(--accent);
  font-weight: 600;
}

.with-toc {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  :root { --wrap: 1040px; }
  .nav a { padding: 7px 8px; font-size: .84rem; }
}

@media (max-width: 1080px) {
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: var(--s-5); }
  .toc-list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); display: grid; }
}

@media (max-width: 980px) {
  body { font-size: 16.5px; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: var(--s-5); }
  .section { padding: var(--s-7) 0; }

  .burger { display: flex; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-3);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height var(--t-base), opacity var(--t-base), visibility var(--t-base);
  }
  .nav.is-open {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    padding: 12px var(--s-3);
    font-size: .95rem;
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--border);
  }
  .nav a:last-of-type { border-bottom: 0; }
  .nav .btn {
    margin-top: var(--s-3);
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .wrap { padding: 0 var(--s-4); }
  .section { padding: var(--s-6) 0; }

  .score-ring-body { flex-direction: column; align-items: flex-start; }
  .ring { width: 116px; height: 116px; }

  .score-row { grid-template-columns: minmax(0, 1fr) 74px; gap: var(--s-3); }
  .score-value { font-size: 1.1rem; }

  .author { grid-template-columns: 1fr; gap: var(--s-4); }
  .author-photo { width: 128px; height: 128px; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); }

  .final-cta { padding: var(--s-6) var(--s-4); }

  .kpi-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

  .step { grid-template-columns: 38px minmax(0, 1fr); gap: var(--s-3); }
  .step-num { width: 38px; height: 38px; font-size: .9rem; }

  .table-wrap { max-height: 480px; }
  table.data { font-size: .84rem; }
  table.data thead th,
  table.data tbody th,
  table.data tbody td { padding: 9px 12px; }

  .panel-body { padding: var(--s-4); }
  .faq-q { padding: 14px var(--s-4); font-size: .94rem; }
  .faq-a-inner { padding: 0 var(--s-4) 16px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 14px; }
  .btn { width: 100%; justify-content: center; }
  .btn--sm { width: auto; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-tag { display: none; }
  .byline { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 12px; bottom: 12px; width: 42px; height: 42px; }
  .chip-bar-label { width: 100%; margin-bottom: 4px; }
  .tabs { width: 100%; }
  .tab { flex: 1; text-align: center; padding: 9px 10px; }
  .panel-meta { display: none; }
}

/* --------------------------------------------------------------------------
   21. Page 404
   -------------------------------------------------------------------------- */

.page-404 {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-8) 0;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(37, 99, 235, .07), transparent 65%),
    var(--bg-alt);
}
.page-404 .code {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 2rem + 8vw, 6rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: var(--s-4);
}
.page-404 p { color: var(--text-muted); max-width: 520px; margin: 0 auto var(--s-5); }

/* --------------------------------------------------------------------------
   22. Mouvement reduit
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .kpi:hover, .profile:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   23. Impression
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .to-top,
  .burger,
  .nav,
  .final-cta,
  .chip-bar,
  .tabs { display: none !important; }

  body { font-size: 11pt; color: #000; background: #fff; }
  .section { padding: 12pt 0; border-top: 1px solid #999; }
  .panel, .table-wrap, .faq { box-shadow: none; border: 1px solid #999; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .faq-a { max-height: none !important; }
  .table-wrap { max-height: none; overflow: visible; }
  a { color: #000; text-decoration: underline; }
  .tab-panel[hidden] { display: block !important; }
  .score-fill { width: var(--print-w, 100%) !important; }
}
