/* ===========================================================
   ASSURLOGIS — main.css (v2 inspirée Acheel — 100% en ligne)
   Palette bleu insurtech + Nunito/Outfit
   =========================================================== */

/* ─────────────────────────────────────────────────────────────
   1. FONTS — Nunito (corps) + Outfit (titres) façon Acheel
   ───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@900&display=swap');

/* ─────────────────────────────────────────────────────────────
   2. :root — DESIGN TOKENS (inspiré Acheel)
   ───────────────────────────────────────────────────────────── */
:root {
  /* — Bleu primaire (CTA et accents) — */
  --blue:           #1E96FC;   /* Bleu Surtea principal CTA / fonds bleus */
  --blue-hover:     #0D87F0;   /* Hover plus profond */
  --blue-light:     #4AA9FD;   /* Accent clair */
  --blue-lighter:   #BCC6DA;   /* Très clair décoratif */
  --blue-tint:      #E8F0FE;   /* Fond ultra clair pour blocs */
  --blue-tint-2:    #EBF5FF;   /* Variation fond */
  --blue-text:      #0066CC;   /* Texte lien WCAG AA 4.6:1 sur fond blanc */

  /* — Bleu marine (titres, navigation, dark sections) — */
  --navy:           #081F4D;   /* Bleu marine profond — texte principal */
  --navy-2:         #011E37;   /* Plus foncé titres */
  --navy-3:         #1D263A;   /* Variant */
  --ink:            #0F172B;   /* Presque noir bleuté */
  --ink-2:          #1E2A5B;   /* Dark section */

  /* — Vert succès (Acheel) — */
  --green:          #35C593;   /* Vert menthe success/check */
  --green-light:    #6FD9B0;
  --green-tint:     #E8F8F1;

  /* — Rouge alerte (Acheel) — */
  --danger:         #FF2D20;
  --danger-tint:    #FFE8E6;

  /* — Warning — */
  --warning:        #FF9500;
  --warning-tint:   #FFF5E6;

  /* — Fonds clairs — */
  --white:          #FFFFFF;
  --bg-soft:        #FBFDFF;   /* Fond très subtil bleuté */
  --bg-cream:       #F8F9FB;   /* Fond section claire */
  --bg-card:        #FFFFFF;
  --bg-gray:        #F2F4F8;   /* Hover, séparateurs */

  /* — Textes — */
  --text-dark:      #081F4D;   /* Navy = texte titres */
  --text-body:      #364153;   /* Gris foncé corps */
  --text-muted:     #6B7D8F;
  --text-light:     #FFFFFF;
  --text-muted-dark: rgba(255,255,255,0.65);

  /* — Bordures — */
  --border-light:   #E8ECF2;
  --border-mid:     #D5DDE7;
  --border-dark:    rgba(255,255,255,0.10);
  --border-blue:    rgba(30,150,252,0.30);

  /* — Ombres (douces, modernes) — */
  --shadow-sm:      0 1px 2px rgba(8,31,77,0.06);
  --shadow-card:    0 2px 8px rgba(8,31,77,0.08);
  --shadow-hover:   0 12px 32px rgba(8,31,77,0.12);
  --shadow-lg:      0 24px 48px rgba(8,31,77,0.15);
  --shadow-blue:    0 8px 24px rgba(30,150,252,0.25);
  --shadow-cta:     0 4px 14px rgba(30,150,252,0.35);

  /* — Rayons (Acheel utilise des rayons généreux) — */
  --r-sm:   8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 32px;
  --r-full: 999px;

  /* — Espacements — */
  --space-1:  0.25rem;  --space-2:  0.5rem;  --space-3:  0.75rem;
  --space-4:  1rem;     --space-5:  1.25rem; --space-6:  1.5rem;
  --space-8:  2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;     --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* — Typographie — */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.375rem;
  --fs-2xl:  1.75rem;
  --fs-3xl:  2.25rem;
  --fs-4xl:  3rem;
  --fs-5xl:  3.75rem;
  --fs-hero: 4.5rem;

  --lh-tight:  1.1;
  --lh-snug:   1.3;
  --lh-normal: 1.6;
  --lh-loose:  1.85;

  /* — Transitions — */
  --t-fast: 0.15s cubic-bezier(0.4,0,0.2,1);
  --t-base: 0.25s cubic-bezier(0.4,0,0.2,1);
  --t-slow: 0.45s cubic-bezier(0.16,1,0.3,1);

  /* — Layout — */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);
  --nav-h: 72px;

  --z-nav: 100; --z-modal: 1000; --z-toast: 1100;
}

/* ─────────────────────────────────────────────────────────────
   3. RESET MODERNE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  overflow-x: hidden;        /* anti-scroll horizontal global */
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;        /* double sécurité (Safari iOS) */
  max-width: 100vw;
}
/* Empêche toute image ou SVG décoratif de déborder horizontalement */
img, svg, video, iframe { max-width: 100%; }
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

/* === Accessibilité WCAG AA — liens texte lisibles sur fond clair ===
   `#0066CC` (--blue-text) contraste 4.6:1 sur blanc, conforme WCAG AA.
   `#1E96FC` (--blue) ne contraste que 2.83:1 = échec. On le réserve aux
   boutons/badges/icônes (où le contraste est porté par la taille/le fond). */
a:not(.btn):not(.nav-link):not(.nav-cta):not(.nav-mobile-link):not(.related-card):not(.nav-logo):not(.author-link-btn):not(.related-card-tag):not([class*="footer-"]):not([style*="color"]) {
  color: var(--blue-text);
}
a:not(.btn):not(.nav-link):not(.nav-cta):not(.nav-mobile-link):not(.related-card):not(.nav-logo):not(.author-link-btn):not(.related-card-tag):not([class*="footer-"]):not([style*="color"]):hover {
  color: var(--blue);
}
.legal-content a,
.faq-question a,
.related-card a:not(.btn) {
  color: var(--blue-text);
}
.legal-content a:hover,
.faq-question a:hover {
  color: var(--blue);
}
ul, ol { list-style: none; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────────────────────────
   4. BASE TYPOGRAPHY
   ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  color: var(--text-dark);
}
h1, .h1 { font-size: clamp(2.5rem, 6vw, var(--fs-hero)); font-weight: 900; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(2rem, 4.5vw, var(--fs-4xl)); font-weight: 800; }
h3, .h3 { font-size: clamp(1.375rem, 3vw, var(--fs-2xl)); font-weight: 700; }
h4, .h4 { font-size: clamp(1.125rem, 2.5vw, var(--fs-xl)); font-weight: 700; }

/* L'em italique devient bleu vif (au lieu du gold) */
h1 em, h2 em, h3 em, .h1 em, .h2 em, .h3 em {
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.section-dark h1 em,
.section-dark h2 em,
.section-dark h3 em,
.hero h1 em {
  background: linear-gradient(135deg, #6FB8FF, #1E96FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { line-height: var(--lh-normal); color: var(--text-body); }
.lead {
  font-size: clamp(1.0625rem, 2vw, var(--fs-lg));
  color: var(--text-body);
  line-height: var(--lh-loose);
  font-weight: 400;
}

strong { font-weight: 700; color: var(--text-dark); }
em { font-style: italic; }

/* ─────────────────────────────────────────────────────────────
   5. LAYOUT PRIMITIVES
   ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section { padding: clamp(var(--space-16), 8vw, var(--space-24)) 0; }
.section-tight { padding: var(--space-12) 0; }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Section variants */
.section-dark {
  background: linear-gradient(135deg, var(--navy), var(--ink-2));
  color: var(--text-light);
  position: relative;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-light); }
.section-dark .lead { color: rgba(255,255,255,0.85); }
.section-dark p { color: rgba(255,255,255,0.78); }

.section-cream { background: var(--bg-cream); }
.section-blue { background: var(--blue-tint); }
.section-white { background: var(--white); }

/* ─────────────────────────────────────────────────────────────
   6. NAV — épurée, bleu marine sur fond blanc/translucide
   ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.nav--solid {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 16px rgba(8,31,77,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
/* Logo officiel Surtea — Poppins Black 900, letter-spacing -4% */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-dark);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 900;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
}
.nav-logo span { display: inline; }
@media (max-width: 767px) {
  .nav-logo { font-size: 1.5rem; }
}
/* Wizard headers (header-sub) : logo encore plus présent */
.header-sub .nav-logo { font-size: 2rem; }
@media (max-width: 767px) {
  .header-sub .nav-logo { font-size: 1.6rem; }
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue-hover));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.nav-logo b { color: var(--blue); font-weight: 900; font-style: normal; }
.nav-logo-tagline {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-4);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-tint);
}
.nav-link svg { width: 12px; height: 12px; opacity: 0.5; transition: transform var(--t-fast); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  pointer-events: none;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
  color: var(--text-dark);
}
.nav-dropdown-item:hover { background: var(--blue-tint); }
.nav-dropdown-icon {
  width: 36px; height: 36px;
  background: var(--blue-tint);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.nav-dropdown-text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.nav-dropdown-text span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  box-shadow: var(--shadow-cta);
}
.nav-cta:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30,150,252,0.45);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-tint);
  border-radius: var(--r-sm);
}

/* Mobile drawer */
.nav-mobile {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  z-index: 9999 !important;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  padding: 80px 24px 32px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.nav-mobile.is-open { transform: translateX(0) !important; }
.nav-mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px; height: 44px;
  color: #0D1B2A !important;
  font-size: 24px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #F1F5F9 !important;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
}
.nav-mobile-section {
  display: block !important;
  margin-bottom: 28px !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.nav-mobile-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1E96FC !important;
  margin: 0 0 12px 0 !important;
  display: block !important;
}
.nav-mobile-link {
  display: block !important;
  padding: 14px 0 !important;
  color: #0D1B2A !important;
  font-size: 1.125rem !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #E5E7EB !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.nav-mobile-link:last-child { border-bottom: none; }

/* Skip link a11y */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
  z-index: 9999;
  background: var(--blue);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--r-sm);
  font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────
   7. HERO — fond clair, illustration, CTA fort
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--blue-tint) 0%, var(--white) 100%);
  color: var(--text-dark);
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0 clamp(var(--space-16), 8vw, var(--space-32));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,150,252,0.18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(53,197,147,0.12), transparent 70%);
  pointer-events: none;
}
.hero-glow-left, .hero-glow-right {
  display: none; /* Remplacés par ::before/::after */
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
/* Variant centré (sans quiz card) — contenu hero centré horizontalement */
.hero-inner.hero-inner-centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.hero-inner-centered .hero-content-centered {
  max-width: 760px;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.hero-inner-centered .hero-content-centered .hero-badge {
  margin-left: auto;
  margin-right: auto;
}
.hero-inner-centered .hero-content-centered h1 {
  text-align: center;
}
.hero-inner-centered .hero-content-centered .hero-lead {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-inner-centered .hero-cta {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-full);
  color: var(--blue-hover);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--blue); }
.hero-badge .badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, var(--fs-hero));
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: var(--text-dark);
}
.hero-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--text-body);
  margin-bottom: var(--space-8);
  max-width: 540px;
  line-height: 1.5;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
  align-items: center;
}
.hero-cta-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 600;
}
.hero-cta-meta svg { color: var(--green); }

/* Trust strip — bandeau compact 4 signaux confiance sous le CTA */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: var(--space-4) 0 var(--space-2);
  padding: 0;
  list-style: none;
}
.hero-trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}
.hero-trust-strip li svg {
  color: var(--green);
  flex-shrink: 0;
}
.hero-trust-strip li a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed var(--border-light);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.hero-trust-strip li a:hover,
.hero-trust-strip li a:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
@media (max-width: 768px) {
  .hero-trust-strip {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* Trust row sous le hero */
.hero-trust {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-light);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-trust-icon {
  width: 40px; height: 40px;
  background: var(--blue-tint);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.hero-trust-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.hero-trust-text span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Hero stats : on garde mais en bleu */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-light);
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hero-stat-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 700;
}

/* Quiz card — fond blanc card */
.quiz-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}
.quiz-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}
.quiz-card-sub {
  font-size: var(--fs-sm);
  color: var(--text-body);
  margin-bottom: var(--space-6);
}
.quiz-progress {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-6);
}
.quiz-progress-step {
  flex: 1;
  height: 4px;
  background: var(--bg-gray);
  border-radius: var(--r-full);
  overflow: hidden;
}
.quiz-progress-step.is-active {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.quiz-question {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--text-dark);
  margin-bottom: var(--space-4);
  font-weight: 700;
}
.quiz-options {
  display: grid;
  gap: var(--space-2);
}
.quiz-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-md);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: left;
  transition: all var(--t-fast);
  width: 100%;
}
.quiz-option:hover {
  background: var(--blue-tint);
  border-color: var(--blue);
  transform: translateX(2px);
}
.quiz-option-arrow { color: var(--blue); opacity: 0; transition: opacity var(--t-fast), transform var(--t-fast); }
.quiz-option:hover .quiz-option-arrow { opacity: 1; transform: translateX(3px); }

.quiz-result { text-align: left; }
.quiz-result-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--green-tint);
  color: var(--green);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.quiz-result h3 { color: var(--text-dark); font-size: var(--fs-2xl); margin-bottom: var(--space-3); }
.quiz-result p { color: var(--text-body); font-size: var(--fs-sm); line-height: 1.6; margin-bottom: var(--space-6); }
.quiz-result-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.quiz-back {
  background: none; color: var(--text-muted);
  font-size: var(--fs-xs); margin-top: var(--space-4);
  display: inline-flex; align-items: center; gap: 4px; font-weight: 600;
}
.quiz-back:hover { color: var(--blue); }

/* ─────────────────────────────────────────────────────────────
   8. BOUTONS — CTA fortement contrastés
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 700;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  cursor: pointer;
  text-align: center;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn-lg { padding: 18px 36px; font-size: var(--fs-lg); }
.btn-sm { padding: 11px 22px; font-size: var(--fs-sm); }

/* CTA principale : bleu vif */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30,150,252,0.45);
}

/* CTA secondaire : fond blanc bordure bleue */
.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue-tint);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-mid);
}
.btn-ghost:hover {
  background: var(--bg-gray);
  border-color: var(--text-dark);
}

/* Sur fond sombre */
.section-dark .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.30);
}
.section-dark .btn-ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.60);
}

.btn-success {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(53,197,147,0.35);
}
.btn-success:hover { background: #2DB683; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-dark {
  background: var(--navy);
  color: var(--text-light);
}
.btn-dark:hover { background: var(--ink); }

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  filter: none !important;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: gap var(--t-fast);
}
.btn-link:hover { gap: 10px; color: var(--blue-hover); }
.btn-link svg { transition: transform var(--t-fast); }

/* ─────────────────────────────────────────────────────────────
   9. CARDS — rounded généreux, hover doux
   ───────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
}

/* Card profil */
.card-profil {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
  cursor: pointer;
}
.card-profil-icon {
  width: 56px; height: 56px;
  background: var(--blue-tint);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 28px;
  transition: all var(--t-base);
}
.card-profil:hover .card-profil-icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.05);
}
.card-profil h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--text-dark);
  font-weight: 700;
}
.card-profil p {
  color: var(--text-body);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.card-profil-price {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: var(--fs-lg);
  color: var(--blue);
  margin-top: auto;
  font-weight: 700;
}
.card-profil-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 700;
  font-size: var(--fs-sm);
  margin-top: auto;  /* pousse le bouton en bas de la card */
  padding: 12px 20px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-cta);
  transition: all var(--t-fast);
  align-self: flex-start;
}
.card-profil:hover .card-profil-link {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30,150,252,0.45);
}
/* Mobile : bouton full-width pour meilleur targeting tactile (>= 44px) */
@media (max-width: 767px) {
  .card-profil-link {
    align-self: stretch;
    padding: 14px 20px;
  }
}

/* Card profil featured (dark) */
.card-profil-featured {
  background: linear-gradient(135deg, var(--navy), var(--ink-2));
  border: none;
  color: var(--text-light);
}
.card-profil-featured h3 { color: var(--white); }
.card-profil-featured p { color: rgba(255,255,255,0.78); }
.card-profil-featured .card-profil-price { color: var(--blue-light); }
.card-profil-featured .card-profil-link { background: var(--white); color: var(--navy); box-shadow: 0 4px 14px rgba(255,255,255,0.20); }
.card-profil-featured:hover .card-profil-link { background: var(--blue-light); color: var(--white); }
.card-profil-featured .card-profil-icon {
  background: rgba(74,169,253,0.18);
  color: var(--blue-light);
}
.card-profil-featured:hover .card-profil-icon {
  background: var(--blue);
  color: var(--white);
}

/* Card produit (sur section dark) */
.card-produit {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text-light);
  padding: var(--space-8);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
}
.card-produit:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--blue);
  transform: translateY(-4px);
}

.card-produit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}
.card-produit-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.card-produit--mrh .card-produit-badge { background: rgba(74,169,253,0.18); color: var(--blue-light); }
.card-produit--pno .card-produit-badge { background: rgba(53,197,147,0.18); color: var(--green-light); }
.card-produit--immeuble .card-produit-badge { background: rgba(255,149,0,0.18); color: var(--warning); }

.card-produit h3 { color: var(--white); font-size: var(--fs-2xl); font-weight: 800; }
.card-produit p { color: rgba(255,255,255,0.78); font-size: var(--fs-sm); line-height: 1.65; }

.garanties-list { display: grid; gap: var(--space-3); margin: var(--space-2) 0; }
.garantie-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.90);
}
.garantie-check {
  width: 20px; height: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.card-produit-meta {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
  font-weight: 700;
}
.card-produit-cta { margin-top: auto; }

/* ─────────────────────────────────────────────────────────────
   10. BLOC NICHE — fond clair carte intérieure dark
   ───────────────────────────────────────────────────────────── */
.bloc-niche {
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--ink-2));
  border-radius: var(--r-xl);
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  color: var(--text-light);
  overflow: hidden;
}
.bloc-niche::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30,150,252,0.30), transparent 70%);
  pointer-events: none;
}
.bloc-niche-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-10);
  align-items: center;
}
.bloc-niche h2 { color: var(--white); margin-bottom: var(--space-4); }
.bloc-niche .lead { color: rgba(255,255,255,0.85); margin-bottom: var(--space-6); }
.bloc-niche-points {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.bloc-niche-point {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.bloc-niche-point-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-weight: 800;
  box-shadow: var(--shadow-blue);
}
.bloc-niche-point strong { color: var(--white); display: block; margin-bottom: 2px; font-size: var(--fs-base); font-weight: 700; }
.bloc-niche-point p { color: rgba(255,255,255,0.70); font-size: var(--fs-sm); }

.bloc-niche-cta {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  text-align: center;
  backdrop-filter: blur(10px);
}
.bloc-niche-cta-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.bloc-niche-cta-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-6);
  font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────
   11. FORMULAIRES — modernes et user-friendly
   ───────────────────────────────────────────────────────────── */
.section-formulaire {
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--blue-tint) 100%);
  position: relative;
  overflow: hidden;
}
.section-formulaire .container { position: relative; z-index: 1; }
.section-formulaire-head {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
/* Override des styles inline blancs hérités d'un ancien design sombre.
   Cible le bloc CTA "Votre contrat en X minutes" présent sur 18 pages.
   On force les couleurs lisibles sur fond clair sans toucher au HTML. */
.section-formulaire h2,
.section-formulaire-head h2,
.section-formulaire h2 em,
.section-formulaire-head h2 em { color: var(--text-dark) !important; }
.section-formulaire .lead,
.section-formulaire-head p,
.section-formulaire-head .lead { color: var(--text-body) !important; }
/* Eyebrow "SOUSCRIPTION 100% EN LIGNE" : pavé bleu pâle + texte bleu marque */
.section-formulaire-head .section-eyebrow {
  color: var(--blue) !important;
  background: var(--blue-tint) !important;
}

.form-card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  box-shadow: var(--shadow-lg);
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-full { grid-column: 1 / -1; }

.form-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-dark);
}
.form-label .req { color: var(--danger); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  color: var(--text-dark);
  font-size: var(--fs-base);
  font-family: var(--font-body);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30,150,252,0.12);
}
.form-input.is-valid,
.form-select.is-valid,
.form-textarea.is-valid { border-color: var(--green); }
.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid { border-color: var(--danger); background: var(--danger-tint); }
.form-textarea { resize: vertical; min-height: 100px; }

.form-error {
  font-size: var(--fs-xs);
  color: var(--danger);
  margin-top: 2px;
  min-height: 16px;
  font-weight: 600;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.form-radio { position: relative; }
.form-radio input { position: absolute; opacity: 0; pointer-events: none; }
.form-radio-label {
  display: inline-block;
  padding: 10px 18px;
  background: var(--bg-cream);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  color: var(--text-dark);
}
.form-radio-label:hover { background: var(--white); border-color: var(--blue); }
.form-radio input:checked + .form-radio-label {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.form-radio input:focus-visible + .form-radio-label {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-body);
  line-height: 1.5;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--blue);
  margin-top: 1px;
  flex-shrink: 0;
}
.checkbox-label a { color: var(--blue); text-decoration: underline; font-weight: 600; }

.form-submit-row {
  margin-top: var(--space-8);
  text-align: center;
}
.form-reassurance {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-3);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.form-feedback {
  padding: var(--space-5);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin-top: var(--space-4);
  display: none;
}
.form-feedback.is-visible { display: block; }
.form-feedback--success {
  background: var(--green-tint);
  color: var(--green);
  border: 1px solid rgba(53,197,147,0.25);
}
.form-feedback--error {
  background: var(--danger-tint);
  color: var(--danger);
  border: 1px solid rgba(255,45,32,0.25);
}

/* Honeypot */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ─────────────────────────────────────────────────────────────
   12. ACCORDÉON FAQ
   ───────────────────────────────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: var(--space-3); }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.accordion-item:hover { border-color: var(--blue); box-shadow: var(--shadow-card); }
.accordion-item.is-open { border-color: var(--blue); box-shadow: var(--shadow-card); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-dark);
}
.accordion-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--t-base);
  background: var(--blue-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--blue);
  transition: transform var(--t-base);
  border-radius: 2px;
}
.accordion-icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.accordion-icon::after { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.accordion-item.is-open .accordion-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion-item.is-open .accordion-icon { background: var(--blue); }
.accordion-item.is-open .accordion-icon::before,
.accordion-item.is-open .accordion-icon::after { background: var(--white); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}
.accordion-content-inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-body);
  line-height: 1.7;
  font-size: var(--fs-base);
}

/* ─────────────────────────────────────────────────────────────
   13. RÉPONSE COURTE (AEO) + Callouts
   ───────────────────────────────────────────────────────────── */
.reponse-courte {
  border-left: 4px solid var(--blue);
  background: var(--blue-tint);
  padding: var(--space-6) var(--space-8);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--space-8) 0;
}
.rc-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 800;
  display: block;
  margin-bottom: var(--space-2);
}
.reponse-courte p {
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  color: var(--text-dark);
  font-weight: 500;
}

.callout {
  border-left: 4px solid var(--blue);
  background: var(--blue-tint);
  padding: var(--space-5) var(--space-6);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--space-6) 0;
}
.callout strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
  color: var(--blue-hover);
  font-weight: 700;
}
.callout p { color: var(--text-body); font-size: var(--fs-base); }
.callout--info { border-color: var(--blue); }
.callout--info strong { color: var(--blue-hover); }
.callout--warning { border-color: var(--warning); background: var(--warning-tint); }
.callout--warning strong { color: var(--warning); }
.callout--law { border-color: var(--navy); background: var(--bg-cream); }
.callout--law strong { color: var(--navy); }
.callout--example { border-color: var(--green); background: var(--green-tint); }
.callout--example strong { color: var(--green); }

/* ─────────────────────────────────────────────────────────────
   14. FOOTER
   ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.70);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
.footer h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a {
  color: rgba(255,255,255,0.70);
  font-size: var(--fs-sm);
  transition: color var(--t-fast);
  font-weight: 500;
}
.footer-links a:hover { color: var(--blue-light); }
.footer-logo-block { max-width: 320px; }
.footer-tagline { font-size: var(--fs-sm); margin-bottom: var(--space-4); line-height: 1.6; color: rgba(255,255,255,0.75); }
.footer-orias {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(30,150,252,0.15);
  border: 1px solid rgba(30,150,252,0.30);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  color: var(--blue-light);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.footer-address {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  font-style: normal;
}
.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.50);
}

/* ─────────────────────────────────────────────────────────────
   15. BREADCRUMB
   ───────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  font-weight: 600;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb [aria-current="page"] { color: var(--text-dark); }
.section-dark .breadcrumb, .section-dark .breadcrumb a { color: rgba(255,255,255,0.65); }
.section-dark .breadcrumb [aria-current="page"] { color: var(--white); }

/* ─────────────────────────────────────────────────────────────
   16. SECTION HEADERS
   ───────────────────────────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}
.section-head h2 { margin-bottom: var(--space-4); }
.section-head .lead { color: var(--text-body); }
.section-dark .section-head .lead { color: rgba(255,255,255,0.78); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-3);
}
.section-dark .section-eyebrow { color: var(--blue-light); }

/* ─────────────────────────────────────────────────────────────
   17. FEATURE GRID — pourquoi nous
   ───────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}
.feature {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.feature-icon {
  width: 56px; height: 56px;
  background: var(--blue-tint);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.feature h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
  font-weight: 700;
  color: var(--text-dark);
}
.feature p { color: var(--text-body); font-size: var(--fs-sm); line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────
   18. CALCULATEUR
   ───────────────────────────────────────────────────────────── */
.calc-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-10);
  align-items: center;
}
.calc-fields { display: flex; flex-direction: column; gap: var(--space-5); }
.calc-field { display: flex; flex-direction: column; gap: var(--space-2); }
.calc-field-head { display: flex; align-items: baseline; justify-content: space-between; }
.calc-field-head label {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-dark);
}
.calc-field-head output {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: var(--fs-lg);
  color: var(--blue);
  font-weight: 700;
}
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: var(--r-full);
  outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px;
  background: var(--white);
  border: 4px solid var(--blue);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--white);
  border: 4px solid var(--blue);
  border-radius: 50%;
  cursor: pointer;
}
.calc-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  font-family: var(--font-body);
  background: var(--white);
  cursor: pointer;
  color: var(--text-dark);
}
.calc-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,150,252,0.12); }

.calc-result {
  background: linear-gradient(135deg, var(--navy), var(--ink-2));
  border-radius: var(--r-lg);
  padding: var(--space-8);
  color: var(--text-light);
  text-align: center;
}
.calc-result-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  margin-bottom: var(--space-3);
  font-weight: 700;
}
.calc-result-range {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}
.calc-result-range .calc-min,
.calc-result-range .calc-max { color: var(--blue-light); font-variant-numeric: tabular-nums; }
.calc-result-range .sep { color: rgba(255,255,255,0.4); font-weight: 400; font-size: 0.7em; padding: 0 0.3em; }
.calc-mensuel { font-size: var(--fs-sm); color: rgba(255,255,255,0.75); margin-bottom: var(--space-6); }
.calc-result-note { font-size: var(--fs-xs); color: rgba(255,255,255,0.55); margin-bottom: var(--space-6); line-height: 1.5; }
.calc-result .btn { width: 100%; }

@media (max-width: 900px) { .calc-card { grid-template-columns: 1fr; } }

/* GARCHECK (mon garage est-il couvert?) */
.garcheck {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  max-width: 720px;
  margin: 0 auto;
}
.garcheck-question { font-family: var(--font-heading); font-size: var(--fs-2xl); margin-bottom: var(--space-6); color: var(--text-dark); font-weight: 800; }
.garcheck-options { display: grid; gap: var(--space-3); }
.garcheck-option {
  padding: var(--space-4) var(--space-5);
  background: var(--bg-cream);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-md);
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--t-fast);
  color: var(--text-dark);
}
.garcheck-option:hover { background: var(--white); border-color: var(--blue); transform: translateX(2px); }
.garcheck-result {
  border-left: 4px solid var(--blue);
  padding: var(--space-6);
  background: var(--blue-tint);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-top: var(--space-4);
}
.garcheck-result--ok { border-color: var(--green); background: var(--green-tint); }
.garcheck-result--no { border-color: var(--danger); background: var(--danger-tint); }
.garcheck-result--check { border-color: var(--warning); background: var(--warning-tint); }
.garcheck-result strong { display: block; margin-bottom: var(--space-2); font-size: var(--fs-lg); font-family: var(--font-heading); font-weight: 800; color: var(--text-dark); }
.garcheck-progress { font-size: var(--fs-xs); color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-4); font-weight: 700; }

/* TABLEAU QUI COUVRE QUOI */
.table-couvre {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
}
.table-couvre th, .table-couvre td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.table-couvre th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table-couvre td.yes { color: var(--green); font-weight: 800; text-align: center; }
.table-couvre td.no  { color: var(--danger);  font-weight: 800; text-align: center; }
.table-couvre td.maybe { color: var(--warning); font-weight: 800; text-align: center; }
.table-couvre-wrap { overflow-x: auto; margin: var(--space-6) 0; }

/* ARTICLES LIÉS */
.related-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: var(--space-6);
  transition: all var(--t-base);
  display: block;
  height: 100%;
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--blue); }
.related-card-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-2);
}
.related-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
  color: var(--text-dark);
  font-weight: 700;
}
.related-card p { color: var(--text-body); font-size: var(--fs-sm); line-height: 1.5; }

/* FAQ + Blog — barre de recherche + filtres catégories (mutualisé) */
.faq-search-wrap,
.blog-search-wrap { position: relative; margin-bottom: var(--space-6); }
.faq-search,
.blog-search {
  width: 100%;
  padding: 18px 18px 18px 52px;
  font-size: var(--fs-base);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  background: var(--white);
  font-family: var(--font-body);
}
.faq-search:focus,
.blog-search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,150,252,0.12); }
.faq-search-icon,
.blog-search-icon {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.faq-filters,
.blog-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  position: sticky;
  top: calc(var(--nav-h) + 8px);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}
.faq-filter-btn,
.blog-filter-btn {
  padding: 8px 16px;
  background: var(--bg-cream);
  border: 1.5px solid transparent;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--t-fast);
}
.faq-filter-btn:hover,
.blog-filter-btn:hover { background: var(--white); border-color: var(--blue); color: var(--blue); }
.faq-filter-btn.is-active,
.blog-filter-btn.is-active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.faq-counter,
.blog-counter {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  font-weight: 700;
}
.faq-category { margin-bottom: var(--space-12); }
.faq-category-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--text-dark);
  margin-bottom: var(--space-2);
  font-weight: 800;
}
.faq-category-meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.faq-item {
  scroll-margin-top: calc(var(--nav-h) + 80px);
  margin-bottom: var(--space-3);
}
.faq-no-result,
.blog-no-result {
  display: none;
  text-align: center;
  padding: var(--space-12);
  background: var(--bg-cream);
  border-radius: var(--r-md);
}
.faq-no-result h3,
.blog-no-result h3 { margin-bottom: var(--space-3); }
.faq-no-result a,
.blog-no-result a { color: var(--blue); font-weight: 700; }

/* Blog : sticky search wrap (s'affiche au-dessus des silos) */
.blog-search-section {
  background: var(--bg-cream);
  padding: var(--space-8) 0 var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 767px) {
  .faq-filters,
  .blog-filters { position: static; padding: var(--space-3); }
  .faq-filter-btn,
  .blog-filter-btn { padding: 6px 12px; font-size: var(--fs-xs); }
}

/* ─────────────────────────────────────────────────────────────
   19. MOBILE STICKY CTA + READ PROGRESS
   ───────────────────────────────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: var(--z-nav);
  background: var(--white);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(8,31,77,0.08);
}
.mobile-cta-bar .btn { width: 100%; padding: 14px 20px; }

.read-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 999;
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   20. UTILITAIRES
   ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-mute   { color: var(--text-muted); }
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-dark   { color: var(--text-dark); }
.text-light  { color: var(--text-light); }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.08em; }

.mt-2 { margin-top: var(--space-2); } .mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-2 { margin-bottom: var(--space-2); } .mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); } .mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────
   21. ANIMATIONS & KEYFRAMES
   ───────────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity var(--t-slow), transform var(--t-slow);
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(32px); }
[data-reveal="down"]  { transform: translateY(-32px); }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.float-anim { animation: float 4s ease-in-out infinite; }
.stat-num { font-variant-numeric: tabular-nums; }

/* ─────────────────────────────────────────────────────────────
   22. MEDIA QUERIES (mobile-first)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero { padding: var(--space-12) 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bloc-niche-inner { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 767px) {
  :root {
    --space-16: 3rem;
    --space-20: 4rem;
    --space-24: 5rem;
  }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 3rem); }
  .hero-stats { grid-template-columns: 1fr; gap: var(--space-4); padding-top: var(--space-6); }
  .hero-trust { gap: var(--space-4); flex-direction: column; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-cta-meta { justify-content: center; }
  .quiz-card { padding: var(--space-6); }
  .form-card { padding: var(--space-6); }
  .mobile-cta-bar { display: block; }

  .reponse-courte { padding: var(--space-5); }
  .reponse-courte p { font-size: var(--fs-base); }
}

@media (max-width: 380px) {
  .container { padding-left: var(--space-4); padding-right: var(--space-4); }
}

/* ─────────────────────────────────────────────────────────────
   23. prefers-reduced-motion
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
