/* ==========================================================================
   ScanSEO — feuille de style du site public
   Direction visuelle validée par le client (docs/design-reference.md) :
   fond blanc, un seul accent #3b5bfd, titres 700 serrés, beaucoup de blanc,
   un « moment sombre » (panneau #0e1116) pour l'aperçu du rapport.
   Inter servie en local depuis /assets/fonts/ — aucune ressource tierce.
   ========================================================================== */

/* --- Polices embarquées (Inter 400/500/600/700, latin + latin-ext) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2026, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2026, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2026, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2026, U+FEFF, U+FFFD;
}

/* --- Jetons --- */
:root {
  --ink: #0e1116;
  --ink-2: #3d4652;
  --ink-3: #6b7280;
  --accent: #3b5bfd;
  --accent-hover: #2f4ce0;
  --accent-strong: #22318f;   /* texte AA sur fond accent clair */
  --accent-7: #eef1ff;
  --accent-9: #dfe5ff;
  --accent-on-dark: #8fa4ff;  /* accent lisible sur #0e1116 */
  --card: #f8f9fc;
  --line: #e6e8ee;
  --ok: #0e9f6e;
  --ok-text: #067647;
  --warn: #b45309;
  --warn-7: #fdf3e3;
  --bad: #dc2626;
  --bad-text: #b91c1c;
  --bad-7: #fdeaea;
  --dark: #0e1116;
  --dark-2: #a9b2c0;          /* texte secondaire sur fond sombre */
  --white: #ffffff;
  --shadow-card: 0 1px 2px rgba(14, 17, 22, 0.04);
  --shadow-lg: 0 24px 48px rgba(14, 17, 22, 0.18);
  --radius: 16px;
  --header-h: 68px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Alias de compatibilité (styles inline côté serveur : blog, pages héritées) */
  --primary: var(--accent);
  --text-muted: var(--ink-2);
  --border: var(--line);
  --bg: #ffffff;
  --card-bg: var(--card);
  --primary-hover: var(--accent-hover);
  --success: var(--ok);
  --danger: var(--bad);
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main { flex: 1 0 auto; width: 100%; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  overflow-wrap: break-word;
}
strong { color: var(--ink); font-weight: 600; }

/* Lien d'évitement */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* --- Conteneur --- */
.container {
  width: 100%; max-width: 1080px;
  margin: 0 auto; padding: 0 24px;
}

/* ==========================================================================
   En-tête collant — fond blanc translucide, filet 1px au scroll
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
}
.nav-wrap {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; flex: 0 0 auto;
}
.brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); display: inline-block; flex: 0 0 auto;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 14px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--accent-7); }
.nav-link[aria-current='page'] { color: var(--accent); background: var(--accent-7); font-weight: 600; }

/* Bouton burger */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; flex: 0 0 auto;
}
.burger span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Boutons — un seul CTA plein par écran ; les autres en contour
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px;
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: #fff; color: var(--ink); border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
  background: transparent; color: var(--accent); border-color: var(--accent-9);
}
.btn-outline:hover { background: var(--accent-7); color: var(--accent-strong); border-color: var(--accent); }
.btn-on-dark { background: #fff; color: var(--ink); }
.btn-on-dark:hover { background: var(--accent-9); }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.06rem; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.92rem; border-radius: 10px; }

/* ==========================================================================
   Micro-labels, pilule, eyebrow
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--accent-strong);
  background: var(--accent-7); border: 1px solid var(--accent-9);
  padding: 7px 16px; border-radius: 999px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }

/* ==========================================================================
   Hero — centré, text-first
   ========================================================================== */
.hero {
  position: relative;
  text-align: center;
  padding: 104px 0 96px;
  overflow: hidden;
}
/* halo radial bleu très pâle */
.hero::before {
  content: '';
  position: absolute; top: -320px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 620px;
  background: radial-gradient(ellipse at center, rgba(59, 91, 253, 0.10) 0%, rgba(59, 91, 253, 0.04) 45%, transparent 70%);
  pointer-events: none;
}
/* grille de points (décor CSS pur) */
.hero-dots {
  position: absolute; top: 120px; right: -40px; width: 220px; height: 220px;
  background-image: radial-gradient(circle, rgba(59, 91, 253, 0.16) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.7; pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
}
.hero-inner { position: relative; z-index: 1; }
.hero .pill { margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  max-width: 760px; margin: 0 auto 24px;
}
.hero .lead {
  font-size: 1.125rem; color: var(--ink-2);
  max-width: 620px; margin: 0 auto 44px;
}

/* Carte flottante « score 58/100 » (décor, masquée sous 1000px) */
.score-float {
  position: absolute; left: 40px; bottom: 60px; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow-card);
  text-align: left; pointer-events: none;
  transform: rotate(-3deg);
}
.sf-ring { position: relative; width: 52px; height: 52px; flex: 0 0 auto; }
.sf-ring svg { transform: rotate(-90deg); }
.sf-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.sf-meta strong { display: block; font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.sf-meta span { display: block; font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* Carte du formulaire — CTA principal */
.scan-card {
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-card);
  text-align: left; position: relative; z-index: 2;
}
.scan-card h2 { font-size: 1.2rem; margin-bottom: 6px; }
.scan-card .scan-note { font-size: 0.9rem; color: var(--ink-2); margin-bottom: 20px; }
.scan-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input {
  min-height: 48px; padding: 11px 14px;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-9); }
.scan-form .row { display: flex; gap: 14px; }
.scan-form .row .field { flex: 1; min-width: 0; }
.scan-form .submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.scan-form .submit-row .btn { flex: 1 1 100%; justify-content: center; }
.scan-result {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  background: var(--accent-7); border: 1px solid var(--accent-9);
  color: var(--accent-strong); font-size: 0.95rem; display: none;
}
.micro-reassure {
  margin-top: 18px; text-align: center;
  font-size: 0.82rem; color: var(--ink-2); letter-spacing: 0.02em;
}
.micro-reassure .sep { color: var(--accent-9); margin: 0 6px; }

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.section { padding: 104px 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.section-head p { color: var(--ink-2); font-size: 1.06rem; }
.section-head p + p { margin-top: 8px; }

/* ==========================================================================
   Bande de chiffres (réassurance)
   ========================================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.stat { text-align: center; }
.stat .num {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.03em; color: var(--ink); line-height: 1;
}
.stat .lbl {
  margin-top: 10px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}

/* ==========================================================================
   Bénéfices
   ========================================================================== */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.benefit .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-7); color: var(--accent); margin-bottom: 20px;
}
.benefit h3 { font-size: 1.15rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.benefit p { font-size: 0.95rem; color: var(--ink-2); }

/* ==========================================================================
   Moment sombre — aperçu du rapport
   ========================================================================== */
.report-panel {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff; border-radius: 20px;
  padding: 72px 64px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.report-panel::before {
  content: ''; position: absolute; top: -160px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 91, 253, 0.28) 0%, transparent 70%);
  pointer-events: none;
}
.report-copy { position: relative; z-index: 1; }
.report-copy .eyebrow { color: var(--accent-on-dark); }
.report-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 20px; }
.report-copy > p { color: var(--dark-2); font-size: 1.06rem; margin-bottom: 32px; max-width: 440px; }
.report-points { list-style: none; margin: 0 0 36px; display: flex; flex-direction: column; gap: 16px; }
.report-points li { position: relative; padding-left: 30px; color: #e7eaf0; font-size: 0.98rem; }
.report-points li::before {
  content: ''; position: absolute; left: 2px; top: 8px;
  width: 12px; height: 6px; border-left: 2px solid var(--accent-on-dark); border-bottom: 2px solid var(--accent-on-dark);
  transform: rotate(-45deg);
}

/* Maquette du rapport (carte blanche sur panneau sombre) */
.report-mock {
  position: relative; z-index: 1;
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow-lg); color: var(--ink-2);
}
.mock-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.mock-head .brand { font-size: 1rem; }
.mock-head .crumb { font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.mock-score { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.mock-score .ring { position: relative; width: 108px; height: 108px; flex: 0 0 auto; }
.mock-score .ring svg { transform: rotate(-90deg); }
.mock-score .ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mock-score .ring-in b { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.mock-score .ring-in span { font-size: 0.7rem; color: var(--ink-3); margin-top: 2px; }
.mock-score-meta strong { display: block; font-size: 1.02rem; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.mock-score-meta span { font-size: 0.85rem; color: var(--ink-3); }
.mock-findings { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.mock-finding {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; font-size: 0.85rem; color: var(--ink-2);
}
.mock-finding .sev { margin-bottom: 0; }
.mock-paste {
  background: var(--dark); border-radius: 12px; padding: 16px 18px;
  position: relative;
}
.mock-paste-label {
  position: absolute; top: -9px; left: 14px;
  background: var(--accent); color: #fff;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.mock-paste-title { font-size: 0.92rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.mock-paste-desc { font-size: 0.82rem; color: var(--dark-2); line-height: 1.5; }

/* ==========================================================================
   Tarifs
   ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px; box-shadow: var(--shadow-card);
}
.price-card.featured { border: 2px solid var(--accent); }
.badge-featured {
  position: absolute; top: -13px; left: 28px;
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.price-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.02em; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amount .num { font-size: 2.9rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.price-amount .cur { font-size: 1.1rem; font-weight: 600; color: var(--ink-2); }
.price-vat { font-size: 0.8rem; color: var(--ink-2); margin-bottom: 26px; }
.price-features { list-style: none; margin: 0 0 30px; flex: 1; }
.price-features li { position: relative; padding: 9px 0 9px 28px; font-size: 0.97rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: ''; position: absolute; left: 4px; top: 15px;
  width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card .btn { width: 100%; }

/* ==========================================================================
   Exemples de constats (pastilles de gravité)
   ========================================================================== */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.example {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-card);
  border-left: 3px solid var(--line);
}
.example.crit { border-left-color: var(--bad); }
.example.maj { border-left-color: var(--warn); }
.example.min { border-left-color: var(--ink-3); }
.sev {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
  border: 1px solid transparent;
}
.sev.crit { color: var(--bad-text); background: var(--bad-7); border-color: #f3c4c4; }
.sev.maj { color: var(--warn); background: var(--warn-7); border-color: #f0d9b4; }
.sev.min { color: var(--ink-2); background: var(--card); border-color: var(--line); }
.example h3 { font-size: 1.04rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.example p { font-size: 0.9rem; color: var(--ink-2); }
.example .fix {
  display: block; margin-top: 14px; font-size: 0.82rem; color: var(--accent-strong);
  background: var(--accent-7); border-radius: 10px; padding: 10px 12px;
}

/* ==========================================================================
   FAQ (accordéon <details> natif)
   ========================================================================== */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: 0 0 auto; font-size: 1.5rem; font-weight: 400;
  color: var(--accent); line-height: 1; transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 0 24px 22px; color: var(--ink-2); font-size: 0.95rem; }
.faq .faq-body p + p { margin-top: 8px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer {
  background: var(--card); border-top: 1px solid var(--line);
  margin-top: auto; padding: 72px 0 36px; font-size: 0.9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer-brand .brand { font-size: 1.25rem; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-2); max-width: 320px; }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px; display: flex; flex-direction: column; gap: 10px;
  font-size: 0.82rem; color: var(--ink-2);
}
.footer-bottom .legal { color: var(--ink-2); }
.footer-bottom a { color: var(--ink-2); }
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================================
   Contenu rédigé (pages markdown : mentions, CGV, confidentialité, FAQ, …)
   ========================================================================== */
.container > h1, .container > .page-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 40px 0 20px;
}
.container > h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.container > h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.container > p { margin-bottom: 14px; max-width: 72ch; }
.container > ul, .container > ol { margin: 0 0 16px 0; padding-left: 22px; max-width: 72ch; }
.container > ul li, .container > ol li { margin-bottom: 6px; }
.container > blockquote {
  border-left: 3px solid var(--accent-9); padding: 4px 0 4px 16px;
  color: var(--ink-2); margin: 16px 0;
}
.container > hr { border: none; border-top: 1px solid var(--line); margin: 24px 0; }

/* --- Compatibilité : .content-box (blog, pages héritées côté serveur) --- */
.content-box {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.content-box h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.content-box h2 { font-size: 1.3rem; margin: 22px 0 8px; }
.content-box h3 { font-size: 1.1rem; margin: 18px 0 6px; }
.content-box p { margin-bottom: 12px; color: var(--ink-2); }
.content-box ul, .content-box ol { padding-left: 22px; margin-bottom: 12px; }
.content-box li { margin-bottom: 6px; }
.content-box a { color: var(--accent); }

/* Deux colonnes (inclus / non inclus) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.two-col .content-box { margin-bottom: 0; }

/* ==========================================================================
   Accessibilité : focus visible, mouvement réduit
   ========================================================================== */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .score-float { display: none; }
  .hero-dots { display: none; }
  .report-panel { grid-template-columns: 1fr; gap: 40px; padding: 48px 36px; }
}

@media (max-width: 900px) {
  .benefits, .examples { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pricing { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --header-h: 60px; }
  .container { padding: 0 18px; }
  .nav-wrap { padding: 0 18px; height: var(--header-h); }
  .burger { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 18px 20px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-link { min-height: 48px; padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .nav .nav-cta { margin-top: 10px; width: 100%; }

  .hero { padding: 72px 0 64px; }
  .hero .lead { font-size: 1.05rem; }
  .scan-card { padding: 24px 18px; }
  .scan-form .row { flex-direction: column; gap: 14px; }
  .section { padding: 72px 0; }
  .report-panel { padding: 40px 24px; border-radius: 16px; }
  .report-mock { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 400px) {
  .price-amount .num { font-size: 2.4rem; }
  .price-card { padding: 30px 22px; }
  .example, .benefit { padding: 24px 20px; }
  .btn-lg { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
