/* =========================================================
   TrajectoireDroit — Design System v2 (blanc/bleu)
   ========================================================= */

/* ===== 1. TOKENS ===== */
:root {
  /* Bleu marque — palette hybride alignée sur les fiches PDF */
  --blue-50:#EFF6FF; --blue-100:#DBEAFE; --blue-200:#BFDBFE;
  --blue-500:#3B82F6; --blue-600:#2563EB; --blue-700:#1D4ED8;
  --blue-900:#1E3A8A;

  /* Identité TrajectoireDroit (palette des fiches officielles) */
  --navy:#1A2851;      /* bleu marine profond — titres principaux */
  --navy-deep:#0F1A35; /* version plus sombre — header sombre, footer */
  --accent:#8B1538;    /* bordeaux/grenat — sous-titres, accents éditoriaux */
  --accent-soft:#B23A5C; /* version hover/clair */
  --gold-line:#C9A961; /* or/sable — filets décoratifs */
  --gold-bg:#FBF8EE;   /* fond chamois pour encadrés type "Citation" */
  --highlight:#FFF59D; /* surlignage jaune fluo type concept-clé */

  /* Accents Brilliant/Khan Academy (touch éducatif friendly) */
  --emerald:#10B981; --emerald-bg:#ECFDF5;   /* succès / progression */
  --violet:#8B5CF6;  --violet-bg:#F5F3FF;    /* engagement / nouveau */
  --rose:#F43F5E;    --rose-bg:#FFF1F2;      /* urgence douce */
  --amber:#F59E0B;   --amber-bg:#FEF3C7;     /* highlight pédagogique */
  --teal:#14B8A6;    --teal-bg:#F0FDFA;      /* méthode / outils */

  /* Surfaces */
  --white:#FFFFFF; --slate-50:#F8FAFC; --slate-100:#F1F5F9;
  --slate-200:#E2E8F0;

  /* Texte */
  --ink:#0F172A;       /* (legacy) noir slate */
  --body:#475569;      /* paragraphes */
  --muted:#94A3B8;     /* secondaire */

  /* Accents fonctionnels */
  --warn:#F59E0B;   --warn-bg:#FEF3C7;
  --success:#10B981; --success-bg:#D1FAE5;
  --gold:#FACC15;
  --danger:#EF4444;
  --pink-bg:#FCE7F3;

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

  /* Spacing (échelle 4) */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px;
  --sp-5:20px; --sp-6:24px; --sp-8:32px; --sp-10:40px;
  --sp-12:48px; --sp-16:64px; --sp-20:80px; --sp-24:96px;

  /* Radius */
  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-xl:24px; --r-pill:999px;

  /* Shadows */
  --sh-1:0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --sh-2:0 4px 12px rgba(15,23,42,.08);
  --sh-3:0 12px 24px rgba(15,23,42,.10);
  --sh-glow:0 0 0 4px rgba(37,99,235,.15);

  /* Typo */
  --font-display:"Space Grotesk", Inter, system-ui, -apple-system, sans-serif;
  --font-body:Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw:1200px;
  --maxw-narrow:880px;
  --header-h:80px;
}

/* Skip link accessibilité */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--blue-600); color: #fff;
  padding: 8px 16px;
  z-index: 100;
  border-bottom-right-radius: var(--r-md);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ===== 2. RESET ===== */
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
html, body { height: 100% }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none }
a:hover { color: var(--blue-700) }
img, svg, video { max-width: 100%; height: auto; display: block }
button { font-family: inherit; cursor: pointer }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 4px }

/* ===== 3. TYPOGRAPHIE ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 var(--sp-4);
  font-weight: 700;
}
h1, .h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700 }
h2, .h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem) }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.6rem) }
h4, .h4 { font-size: 1.1rem }
p { margin: 0 0 var(--sp-4); color: var(--body) }
p:last-child { margin-bottom: 0 }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--body); line-height: 1.6 }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600;
  color: var(--blue-700); background: var(--blue-50);
  padding: 6px 12px; border-radius: var(--r-pill);
  letter-spacing: .04em; text-transform: uppercase;
}
.text-muted { color: var(--muted) }
.text-body { color: var(--body) }
.text-center { text-align: center }
.text-balance { text-wrap: balance }

/* ===== 4. LAYOUT ===== */
.container { width: min(var(--maxw), 92vw); margin-inline: auto }
.container--narrow { width: min(var(--maxw-narrow), 92vw); margin-inline: auto }
.section { padding: clamp(32px, 5vw, 64px) 0; position: relative }
.section--sm { padding: clamp(20px, 3vw, 36px) 0 }
.section--alt { background: var(--slate-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border) }
.section--blue { background: var(--blue-50); border-top: 1px solid var(--blue-100); border-bottom: 1px solid var(--blue-100) }
.section--dark { background: var(--ink); color: var(--white) }
.section--bordered { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border) }
/* Séparateur subtil entre 2 sections blanches */
section + section:not(.section--alt):not(.section--blue):not(.section--dark):not(.section--sm) {
  border-top: 1px solid var(--border);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white) }
.section--dark p { color: rgba(255,255,255,.84) }

.grid-2 { display: grid; gap: var(--sp-6); grid-template-columns: repeat(2, 1fr) }
.grid-3 { display: grid; gap: var(--sp-6); grid-template-columns: repeat(3, 1fr) }
.grid-4 { display: grid; gap: var(--sp-5); grid-template-columns: repeat(4, 1fr) }
.stack > * + * { margin-top: var(--sp-4) }
.stack-lg > * + * { margin-top: var(--sp-8) }
.flex { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap }
.flex--between { justify-content: space-between }
.flex--center { justify-content: center }
.flex--col { flex-direction: column; align-items: stretch }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr }
}

/* ===== 5. BOUTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--blue-600); color: var(--white); box-shadow: var(--sh-1) }
.btn--primary:hover { background: var(--blue-700); color: var(--white); transform: translateY(-1px); box-shadow: var(--sh-2) }
.btn--secondary { background: var(--ink); color: var(--white) }
.btn--secondary:hover { background: #1F2937; color: var(--white) }
.btn--outline { background: var(--white); color: var(--blue-700); border-color: var(--border-strong) }
.btn--outline:hover { background: var(--blue-50); border-color: var(--blue-500); color: var(--blue-700) }
.btn--ghost { background: transparent; color: var(--ink); padding: 8px 14px }
.btn--ghost:hover { background: var(--slate-100); color: var(--ink) }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; border-radius: var(--r-md) }
.btn--sm { padding: 8px 14px; font-size: .9rem }
.btn--full { width: 100%; justify-content: center }
.btn--icon { padding: 10px; aspect-ratio: 1 }

/* ===== 6. BADGES ===== */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-body); font-weight: 600;
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--slate-100); color: var(--ink);
  letter-spacing: .02em;
}
.badge--bestseller { background: var(--warn); color: #78350F }
.badge--new { background: var(--success-bg); color: #065F46 }
.badge--popular { background: var(--blue-600); color: var(--white) }
.badge--success { background: var(--success-bg); color: #065F46 }
.badge--warn { background: var(--warn-bg); color: #78350F }
.badge--rating { background: transparent; color: var(--ink); padding: 0; font-weight: 700 }
.badge--rating::before { content: "★"; color: var(--gold); margin-right: 4px }

/* ===== 7. CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: var(--sh-2);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--blue-200) }

/* Sur fond gris, ombre des cards plus forte pour bien se détacher */
.section--alt .card { box-shadow: var(--sh-2) }
.section--alt .card:hover { box-shadow: var(--sh-3) }

/* Card produit (avec illustrations vectorielles) */
.card--product { padding: 0; overflow: hidden; display: flex; flex-direction: column }
.card--product .product__thumb {
  aspect-ratio: 16/9; background: var(--slate-100);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card--product .product__thumb img { width: 100%; height: 100%; object-fit: cover }
.card--product .product__thumb .badge { position: absolute; top: 12px; left: 12px; z-index: 2 }
/* Illustration vectorielle au centre du thumbnail */
.card--product .product__thumb::after {
  content: "📚";
  font-size: 3.5rem;
  opacity: .15;
  position: absolute;
  z-index: 1;
}
.card--product:hover .product__thumb::after {
  opacity: .25;
  transform: scale(1.1);
  transition: all .3s ease;
}
.card--product .product__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; gap: var(--sp-3) }
.card--product .product__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.3 }
.card--product .product__meta { color: var(--muted); font-size: .85rem; display: flex; gap: 12px }
.card--product .product__price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink) }
.card--product .product__price-old { text-decoration: line-through; color: var(--muted); font-size: 1rem; font-weight: 500; margin-right: 6px }
.card--product .product__cta { margin-top: auto }

/* Card pricing */
.card--pricing { display: flex; flex-direction: column; gap: var(--sp-4); position: relative }
.card--pricing .pricing__name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem }
.card--pricing .pricing__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--ink) }
.card--pricing .pricing__period { color: var(--muted); font-size: .95rem; font-weight: 500 }
.card--pricing .pricing__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px }
.card--pricing .pricing__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--body); font-size: .95rem }
.card--pricing .pricing__list li::before { content: "✓"; color: var(--success); font-weight: 700; flex-shrink: 0 }
.card--featured { border-color: var(--blue-600); border-width: 2px; box-shadow: var(--sh-3); transform: translateY(-8px) }
.card--featured::before {
  content: "LE PLUS POPULAIRE";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue-600); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: 5px 14px; border-radius: var(--r-pill);
}

/* Card témoignage */
.card--testi { display: flex; flex-direction: column; gap: var(--sp-3) }
.card--testi .testi__rating { color: var(--gold); font-size: 1rem; letter-spacing: 2px }
.card--testi blockquote { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink) }
.card--testi .testi__author { display: flex; align-items: center; gap: 12px; margin-top: auto }
.card--testi .testi__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
/* Avatars colorés distincts (style Brilliant) */
.card--testi:nth-child(odd) .testi__avatar { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
.card--testi:nth-child(even) .testi__avatar { background: linear-gradient(135deg, var(--violet), #6D28D9); }
.card--testi:nth-child(3n) .testi__avatar { background: linear-gradient(135deg, var(--emerald), #059669); }
.card--testi:nth-child(4n) .testi__avatar { background: linear-gradient(135deg, var(--amber), #D97706); }
.card--testi:nth-child(5n) .testi__avatar { background: linear-gradient(135deg, var(--rose), #BE123C); }
.card--testi:nth-child(6n) .testi__avatar { background: linear-gradient(135deg, var(--teal), #0D9488); }
.card--testi .testi__name { font-weight: 600; font-size: .95rem; color: var(--ink) }
.card--testi .testi__role { font-size: .82rem; color: var(--muted) }

/* Card feature */
.card--feature { text-align: left }
.card--feature .feature__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-50); border-radius: var(--r-md);
  color: var(--blue-600); font-size: 1.4rem;
  margin-bottom: var(--sp-3);
}
.card--feature h3 { font-size: 1.1rem; margin-bottom: 6px }
.card--feature p { font-size: .95rem }

/* ===== 8. HEADER (sticky blanc) ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(15,23,42,.04);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6);
  height: var(--header-h);
}
.logo {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 1px;
  text-decoration: none;
  color: var(--navy);
}
.logo:hover { opacity: .85; }
.logo__img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 100%;
}
.logo__slogan-only {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: .68rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .04em;
  font-style: italic;
  padding-left: 4px;
  white-space: nowrap;
}
/* Legacy fallback : si on revient au span TJD pour une raison */
.logo__mark {
  min-width: 38px; height: 38px; padding: 0 6px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .82rem;
  letter-spacing: .04em;
  box-shadow: 0 2px 6px rgba(26,40,81,.25);
}
/* Mobile : logo plus petit, slogan caché */
@media (max-width: 540px) {
  .logo__img { height: 30px; }
  .logo__slogan-only { display: none; }
}
.primary-nav { display: flex; gap: var(--sp-5); flex: 1; justify-content: center; flex-wrap: nowrap; align-items: center }
.primary-nav .nav-item { position: relative }
.primary-nav .nav-item__link {
  color: var(--body); font-weight: 500; font-size: .92rem;
  padding: 8px 4px;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
}
.primary-nav .nav-item__link:hover,
.primary-nav .nav-item__link[aria-current="page"] { color: var(--blue-700) }
.primary-nav .nav-item__link[aria-current="page"]::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--blue-600); border-radius: 2px;
}
.nav-item__chevron {
  transition: transform .25s ease;
  flex-shrink: 0;
}
.nav-item:hover .nav-item__chevron,
.nav-item.open .nav-item__chevron {
  transform: rotate(180deg);
}
/* Fallback : si pas .nav-item__link (ancienne syntaxe), garde le style */
.primary-nav a:not(.nav-item__link):not(.dropdown__item):not(.dropdown__cta):not(.megamenu__col-link):not(.megamenu__list a):not(.btn) {
  color: var(--body); font-weight: 500; font-size: .92rem;
  padding: 8px 2px;
  white-space: nowrap;
}
.primary-nav a:not(.nav-item__link):not(.dropdown__item):not(.dropdown__cta):not(.megamenu__col-link):not(.megamenu__list a):not(.btn):hover { color: var(--blue-700) }

/* ===== DROPDOWN simple (3 items + cta) ===== */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(15, 26, 53, .18), 0 0 0 1px rgba(0,0,0,.04);
  min-width: 320px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.22,.61,.36,1), visibility .2s;
  z-index: 60;
}
.dropdown::before {
  /* petit pont invisible pour que le hover entre le link et le dropdown ne ferme pas */
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.dropdown::after {
  /* flèche pointant vers le link */
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--ink);
  text-decoration: none;
  transition: background .15s ease;
}
.dropdown__item:hover { background: var(--slate-50); color: var(--ink); }
.dropdown__item--featured {
  background: linear-gradient(135deg, var(--blue-50), var(--violet-bg));
  border: 1px solid var(--blue-100);
}
.dropdown__item--featured:hover {
  background: linear-gradient(135deg, var(--blue-100), var(--violet-bg));
}
.dropdown__item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
}
.dropdown__item strong em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  font-size: .78rem;
  margin-left: 4px;
}
.dropdown__item small {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 2px;
}
.dropdown__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.dropdown__icon--blue { background: var(--blue-50); }
.dropdown__icon--violet { background: var(--violet-bg); }
.dropdown__icon--emerald { background: var(--emerald-bg); }
.dropdown__icon--amber { background: var(--amber-bg); }

.dropdown__divider {
  height: 1px;
  background: var(--border);
  margin: 8px 4px;
}
.dropdown__cta {
  display: block;
  padding: 10px 12px;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue-700);
  border-radius: var(--r-md);
  text-decoration: none;
}
.dropdown__cta:hover { background: var(--blue-50); color: var(--blue-900); }

/* ===== MEGA-MENU (Cours & Fiches : 3 colonnes) ===== */
.megamenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(15, 26, 53, .2), 0 0 0 1px rgba(0,0,0,.04);
  width: min(640px, 92vw);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.22,.61,.36,1), visibility .2s;
  z-index: 60;
}
.megamenu::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.megamenu::after {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
.has-megamenu:hover > .megamenu,
.has-megamenu:focus-within > .megamenu,
.has-megamenu.open > .megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.megamenu__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.megamenu__col {
  display: flex;
  flex-direction: column;
}
.megamenu__col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.megamenu__col-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.megamenu__col-icon--blue { background: var(--blue-50); }
.megamenu__col-icon--violet { background: var(--violet-bg); }
.megamenu__col-icon--emerald { background: var(--emerald-bg); }
.megamenu__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.2;
}
.megamenu__col-sub {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 2px;
}
.megamenu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.megamenu__list a {
  display: block;
  padding: 7px 8px;
  font-size: .88rem;
  color: var(--body);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background .15s, color .15s, padding-left .15s;
}
.megamenu__list a:hover {
  background: var(--slate-50);
  color: var(--blue-700);
  padding-left: 12px;
}
.megamenu__list a strong {
  color: var(--accent);
  font-weight: 600;
}
.megamenu__col-link {
  margin-top: 10px;
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-700);
  text-decoration: none;
}
.megamenu__col-link:hover { color: var(--blue-900); text-decoration: underline; }

.megamenu__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--violet-bg) 100%);
  margin-left: -24px; margin-right: -24px; margin-bottom: -24px;
  padding: 16px 24px;
  border-bottom-left-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.megamenu__footer strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: .98rem;
}
.megamenu__footer span {
  display: block;
  font-size: .85rem;
  color: var(--body);
  margin-top: 2px;
}

/* Mobile : on cache les dropdowns desktop (la nav mobile prend le relais via burger) */
@media (max-width: 1100px) {
  .dropdown, .megamenu { display: none; }
}
.site-header__cta { display: flex; gap: var(--sp-3); align-items: center }
.burger { display: none; background: transparent; border: 0; padding: 8px; font-size: 1.4rem; color: var(--ink) }

@media (max-width: 1100px) {
  .primary-nav { display: none }
  .burger { display: inline-flex }
  .site-header__cta .btn--ghost { display: none }
}
@media (max-width: 540px) {
  .site-header__cta .btn:not(.btn--primary) { display: none }
}

/* Menu mobile (slide-down) */
.mobile-nav {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 49;
  padding: var(--sp-6);
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: block }
.mobile-nav a {
  display: block; padding: 14px 0;
  font-size: 1.1rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

/* ===== 9. URGENCY BANNER ===== */
.urgency-banner {
  background: linear-gradient(90deg, var(--warn), #FB923C);
  color: #78350F;
  padding: 10px 16px;
  text-align: center;
  font-size: .9rem; font-weight: 600;
  position: relative;
}
.urgency-banner a { color: #78350F; text-decoration: underline }
.urgency-banner__close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: #78350F; font-size: 1.2rem; padding: 4px 8px;
}
.urgency-banner__countdown { font-variant-numeric: tabular-nums; font-weight: 700 }

/* ===== 10. HERO ===== */
.hero {
  padding: clamp(72px, 8vw, 120px) 0 clamp(40px, 6vw, 64px);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 20%, var(--blue-50), transparent 60%),
              radial-gradient(ellipse 40% 30% at 0% 80%, var(--blue-50), transparent 60%);
  z-index: -1;
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-12); align-items: center;
}
/* Colonne texte alignée en haut (au header), la fiche reste centrée verticalement */
.hero__grid > .fade-in:not(.hero__visual) {
  align-self: start;
}
.hero__visual {
  position: relative; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--sh-3);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover }
.hero h1 { margin-bottom: var(--sp-4) }
.hero .lead { margin-bottom: var(--sp-6); max-width: 540px }
.hero__cta { display: flex; gap: var(--sp-3); flex-wrap: wrap }
.hero__trust { margin-top: var(--sp-6); display: flex; gap: var(--sp-5); align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .9rem }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-6) }
  .hero__visual { order: 2; max-width: 520px; margin: 0 auto; width: 100% }
  .hero__edu-illu { order: 2 !important; }
}
@media (max-width: 540px) {
  .edu-illu { padding: 14px; }
  .edu-illu__pyramid { max-width: 260px; }
  .edu-illu__caption { font-size: .82rem; }
  .hero__result-num { font-size: 1.2rem; }
  .hero__result-label { font-size: .68rem; }
  .hero__results { gap: 4px; padding: 10px; }
  .hero__cta-secondary { display: block; margin-top: 8px; }
}

/* ===== 10b. HERO MOCKUP (Netflix du droit) ===== */
.hero__mockup {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block !important;
  aspect-ratio: auto !important;
  padding: 0;
  position: relative;
}
.mockup-player {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  overflow: hidden;
  border: 1px solid var(--border);
}
.mockup-player__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.mockup-player__url {
  margin-left: 12px;
  font-size: .8rem; color: var(--muted);
  font-family: var(--font-body);
}
.mockup-player__screen {
  aspect-ratio: 16/9;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(37,99,235,.15), transparent 65%),
    linear-gradient(135deg, #1E3A8A, #0F172A);
  position: relative; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
}
.mockup-player__playbtn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.mockup-player__title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  margin-bottom: 8px;
}
.mockup-player__progress {
  height: 4px; background: rgba(255,255,255,.2); border-radius: 2px;
  overflow: hidden; margin-bottom: 10px;
}
.mockup-player__progress span {
  display: block; width: 35%; height: 100%;
  background: var(--blue-500); border-radius: 2px;
}
.mockup-player__meta {
  display: flex; gap: 16px; font-size: .82rem; color: rgba(255,255,255,.72);
}
.mockup-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 16px;
}
.mockup-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 12px;
  box-shadow: var(--sh-1);
}
.mockup-card__icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 8px;
}
.mockup-card--blue .mockup-card__icon { background: var(--blue-50); }
.mockup-card--green .mockup-card__icon { background: var(--success-bg); }
.mockup-card--yellow .mockup-card__icon { background: var(--warn-bg); }
.mockup-card__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; color: var(--ink); line-height: 1.2;
  margin-bottom: 4px;
}
.mockup-card__sub { font-size: .75rem; color: var(--muted); }
.mockup-badge {
  position: absolute; bottom: 12%; right: -20px;
  background: var(--white);
  padding: 12px 18px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .9rem; color: var(--ink);
  box-shadow: var(--sh-3);
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
  z-index: 2;
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@media (max-width: 600px) {
  .mockup-badge { right: 10px; font-size: .8rem; padding: 10px 14px }
  .mockup-cards { gap: 8px }
  .mockup-card { padding: 10px 8px }
  .mockup-card__title { font-size: .82rem }
}

/* ===== 11. STATS RIBBON ===== */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.stats-strip__item {
  padding: var(--sp-8) var(--sp-4);
  border-right: 1px solid var(--border);
}
.stats-strip__item:last-child { border-right: 0 }
@media (max-width: 700px) {
  .stats-strip__item:nth-child(2) { border-right: 0 }
  .stats-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--border) }
}
.stats-strip__item { text-align: center; display: flex; flex-direction: column; justify-content: center }
.stats-strip__num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--blue-700); line-height: 1 }
.stats-strip__label { color: var(--body); font-size: .9rem; margin-top: 6px }
@media (max-width: 700px) { .stats-strip { grid-template-columns: repeat(2, 1fr) } }

/* ===== 12. STEPS (Comment ça marche) ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6) }
.step { text-align: left; padding: var(--sp-5); background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg) }
.step__num {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--blue-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  margin-bottom: var(--sp-3);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr } }

/* ===== 13. GUARANTEE BLOCK ===== */
.guarantee-block {
  display: flex; gap: var(--sp-5); align-items: center;
  background: var(--success-bg); border: 1px solid var(--success);
  padding: var(--sp-6); border-radius: var(--r-lg);
}
.guarantee-block__icon {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: var(--r-pill);
  background: var(--white); color: var(--success);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.guarantee-block h3 { color: #065F46; margin-bottom: 4px }
.guarantee-block p { color: #065F46; margin: 0 }
@media (max-width: 600px) { .guarantee-block { flex-direction: column; text-align: center } }

/* ===== 14. ACCORDION (FAQ) ===== */
.accordion { display: flex; flex-direction: column; gap: var(--sp-3) }
.accordion__item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden;
}
.accordion__item summary {
  list-style: none; cursor: pointer;
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.accordion__item summary::-webkit-details-marker { display: none }
.accordion__item summary::after {
  content: "+";
  color: var(--blue-600);
  font-size: 1.5rem;
  font-weight: 300;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  transition: transform .25s ease, background .25s ease;
}
.accordion__item summary:hover::after { background: var(--blue-100); transform: rotate(45deg); }
.accordion__item[open] summary::after { content: "−"; background: var(--blue-600); color: #fff; transform: rotate(0); }
.accordion__item[open] summary { border-bottom: 1px solid var(--border) }
.accordion__body { padding: var(--sp-4) var(--sp-5); color: var(--body) }

/* ===== 15. PRICING (comparison) ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); align-items: stretch }
.pricing-grid > .card--pricing { padding-top: var(--sp-8) }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; gap: var(--sp-8) }
  .card--featured { transform: none }
}

.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1);
}
.compare-table th, .compare-table td {
  padding: var(--sp-4); text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--slate-50); font-weight: 600; color: var(--ink);
  font-family: var(--font-display);
}
.compare-table td { color: var(--body) }
.compare-table td.yes { color: var(--success); font-weight: 600 }
.compare-table td.no { color: var(--muted) }

/* ===== 16. FORMS ===== */
.form { display: flex; flex-direction: column; gap: var(--sp-4) }
.form__row { display: flex; flex-direction: column; gap: 6px }
.form__label { font-size: .9rem; font-weight: 500; color: var(--ink) }
.form__input, .form__textarea, .form__select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--border-strong); border-radius: var(--r-md);
  transition: border-color .15s, box-shadow .15s;
}
.form__textarea { resize: vertical; min-height: 120px }
.form__input:focus, .form__textarea:focus, .form__select:focus {
  outline: none; border-color: var(--blue-600); box-shadow: var(--sh-glow);
}
.form__hint { color: var(--muted); font-size: .82rem }
.form__error { color: var(--danger); font-size: .82rem }
.form__success { color: var(--success); font-size: .9rem; padding: 12px; background: var(--success-bg); border-radius: var(--r-md) }

/* ===== 17. NEWSLETTER ===== */
.newsletter-block {
  background: var(--blue-50); border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-6); text-align: center;
}
.newsletter-block h2 { margin-bottom: var(--sp-3) }
.newsletter-block form { display: flex; gap: var(--sp-3); max-width: 480px; margin: 0 auto; flex-wrap: wrap }
.newsletter-block .form__input { flex: 1; min-width: 220px }
@media (max-width: 540px) { .newsletter-block form .btn { width: 100% } }

/* ===== 18. FOOTER ===== */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.78);
  padding: var(--sp-16) 0 var(--sp-6); margin-top: var(--sp-20);
}
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: var(--sp-4); font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .04em }
.site-footer a { color: rgba(255,255,255,.78); display: block; padding: 4px 0; font-size: .92rem }
.site-footer a:hover { color: var(--white) }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: var(--sp-8) }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .92rem; margin-top: var(--sp-3) }
.footer-legal-mini h4 { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: var(--sp-2); letter-spacing: .06em }
.footer-legal-mini a { font-size: .8rem; color: rgba(255,255,255,.45); padding: 2px 0 }
.footer-legal-mini a:hover { color: rgba(255,255,255,.75) }
.footer-bottom {
  margin-top: var(--sp-10); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.footer-socials { display: flex; gap: var(--sp-3) }
.footer-socials a {
  width: 36px; height: 36px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border-radius: var(--r-pill);
  font-size: 1rem;
}
.footer-socials a:hover { background: rgba(255,255,255,.16) }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6) }
  .footer-brand { grid-column: span 2 }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr }
  .footer-brand { grid-column: span 1 }
}

/* ===== 19. EXIT-INTENT MODAL ===== */
.modal-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,23,42,.6);
  align-items: center; justify-content: center;
  padding: var(--sp-4);
}
.modal-backdrop.open { display: flex }
.modal {
  background: var(--white); border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: var(--sh-3);
  position: relative;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(.96) } to { opacity: 1; transform: scale(1) } }
.modal__close {
  position: absolute; top: 12px; right: 12px;
  background: transparent; border: 0; font-size: 1.4rem; color: var(--muted); padding: 6px 10px;
}
.modal__close:hover { color: var(--ink) }

/* ===== 20. UTILITIES ===== */
.mt-0 { margin-top: 0 } .mt-2 { margin-top: var(--sp-2) } .mt-4 { margin-top: var(--sp-4) }
.mt-6 { margin-top: var(--sp-6) } .mt-8 { margin-top: var(--sp-8) } .mt-12 { margin-top: var(--sp-12) }
.mb-0 { margin-bottom: 0 } .mb-2 { margin-bottom: var(--sp-2) } .mb-4 { margin-bottom: var(--sp-4) }
.mb-6 { margin-bottom: var(--sp-6) } .mb-8 { margin-bottom: var(--sp-8) }
.hidden { display: none !important }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0 }

/* ===== 21. ANIMATIONS (Brilliant-style) ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1) }
.fade-in.appear { opacity: 1; transform: translateY(0) }
.fade-in--delay-1 { transition-delay: .1s }
.fade-in--delay-2 { transition-delay: .2s }
.fade-in--delay-3 { transition-delay: .3s }

/* Apparition progressive de la pyramide Kelsen */
.edu-illu__pyramid polygon {
  opacity: 0;
  animation: pyramidIn .6s ease forwards;
}
.edu-illu__pyramid polygon:nth-of-type(1) { animation-delay: .3s }
.edu-illu__pyramid polygon:nth-of-type(2) { animation-delay: .5s }
.edu-illu__pyramid polygon:nth-of-type(3) { animation-delay: .7s }
.edu-illu__pyramid polygon:nth-of-type(4) { animation-delay: .9s }
.edu-illu__pyramid line, .edu-illu__pyramid text {
  opacity: 0;
  animation: pyramidIn .5s ease forwards;
  animation-delay: 1.1s;
}
@keyframes pyramidIn {
  0% { opacity: 0; transform: translateY(-8px) scale(.95); transform-origin: center; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* CTA primaire avec effet shine */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-25deg);
  transition: left .8s cubic-bezier(.22,.61,.36,1);
}
.btn--primary:hover::after { left: 130%; }

/* Animation count-up améliorée (effet "bouncing in") */
[data-count-to] {
  display: inline-block;
}

/* Hover sur les pricing cards */
.card--pricing {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card--pricing:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: var(--blue-500);
}
.card--featured:hover {
  transform: translateY(-12px);
}

/* Parcours steps : hover plus expressif */
.parcours__step {
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.parcours__step:hover {
  transform: translateY(-5px) scale(1.02);
  z-index: 2;
}

/* Pain/gain table : hover qui élargit légèrement */
.pain-gain-col {
  transition: transform .3s ease, box-shadow .3s ease;
}
.pain-gain-col:hover {
  transform: scale(1.02);
}

/* Highlight animation sur les surlignés dans le hero */
.h1 .highlight-anim {
  position: relative;
  display: inline-block;
}
.h1 .highlight-anim::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 12px;
  background: var(--amber-bg);
  z-index: -1;
  animation: highlightSweep 1.2s ease .8s forwards;
  transform: scaleX(0);
  transform-origin: left;
}
@keyframes highlightSweep {
  to { transform: scaleX(1); }
}

/* Cursor pulse sur le hero */
.cursor-pulse::after {
  content: "|";
  display: inline-block;
  color: var(--blue-600);
  animation: cursorBlink 1.1s steps(2) infinite;
  margin-left: 2px;
  font-weight: 300;
}
@keyframes cursorBlink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none }
  html { scroll-behavior: auto }
  .edu-illu__pyramid polygon, .edu-illu__pyramid line, .edu-illu__pyramid text { opacity: 1; animation: none; }
  .h1 .highlight-anim::after { transform: scaleX(1); animation: none; }
  .btn--primary::after { display: none; }
  .cursor-pulse::after { animation: none; }
}

/* ===== 22. STICKY MOBILE CTA (page produit) ===== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--white); border-top: 1px solid var(--border);
  padding: var(--sp-3) var(--sp-4);
  display: none;
  align-items: center; justify-content: space-between; gap: var(--sp-3);
  box-shadow: 0 -8px 20px rgba(15,23,42,.08);
}
.sticky-cta__price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink) }
.sticky-cta__price small { font-size: .78rem; color: var(--muted); font-weight: 500 }
@media (max-width: 768px) { .sticky-cta { display: flex } body.has-sticky-cta { padding-bottom: 70px } }

/* ===== 23. FILTER CHIPS ===== */
.filters {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
}
.filters__row { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap }
.filter-chip {
  padding: 8px 16px;
  background: var(--white); color: var(--body);
  border: 1.5px solid var(--border-strong); border-radius: var(--r-pill);
  font-size: .88rem; font-weight: 600;
  cursor: pointer;
  transition: all .2s cubic-bezier(.22,.61,.36,1);
}
.filter-chip:hover {
  border-color: var(--blue-500); color: var(--blue-700);
  background: var(--blue-50);
  transform: translateY(-1px);
}
.filter-chip.active {
  background: var(--blue-600); color: var(--white); border-color: var(--blue-600);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
  transform: translateY(-1px);
}

/* ===== 24. PROMO BANNER (interne section) ===== */
.promo-banner {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: var(--white); padding: var(--sp-6) var(--sp-8);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap;
}
.promo-banner h3 { color: var(--white); margin: 0 0 4px }
.promo-banner p { color: rgba(255,255,255,.85); margin: 0 }

/* ===== 24-fiche. HERO FICHE PREVIEW (vrai produit dans le hero) ===== */
.hero__fiche {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  position: relative;
  margin-top: 0; /* fiche alignée en haut, à la même hauteur que le texte */
  align-self: start;
}
.fiche-preview {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: 0 24px 60px rgba(15, 26, 53, .22), 0 0 0 1px rgba(15, 26, 53, .06);
  border-top: 5px solid var(--navy);
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.fiche-preview:hover { transform: translateY(-4px); }
.fiche-preview__badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--navy);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  font-family: var(--font-body);
  z-index: 2;
}
.fiche-preview__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  margin-top: 8px;
}
.fiche-preview__fallback {
  display: none; /* affiché si onerror sur l'image */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
  background: linear-gradient(180deg, #FDFCF7, #FBF8EE);
  border-radius: var(--r-md);
  border: 2px dashed var(--gold-line);
  padding: 32px;
  text-align: center;
  gap: 10px;
}
.fiche-preview__fallback-title {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
}
.fiche-preview__fallback-sub {
  font-size: .82rem;
  color: var(--muted);
  font-family: monospace;
  background: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
}
.fiche-preview__caption {
  text-align: center;
  margin-top: 14px;
  padding: 10px 8px;
  border-top: 1px solid var(--border);
  font-family: Georgia, serif;
  font-size: .92rem;
  color: var(--ink);
}
.fiche-preview__caption strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
}
.fiche-preview__caption-sub {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 4px;
}

/* ===== 24-edu. HERO ÉDUCATIF (style Brilliant/Khan Academy) ===== */
.hero__edu-illu {
  position: relative;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
}
.edu-illu {
  background: linear-gradient(135deg, #FDFCF7 0%, #FBF8EE 100%);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(15, 26, 53, .18), 0 0 0 1px rgba(201, 169, 97, .15);
  position: relative;
  overflow: hidden;
}
.edu-illu::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold-line), var(--accent));
}
.edu-illu__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
}
.edu-illu__pyramid {
  display: block;
  margin: 16px auto 12px;
  width: 100%;
  max-width: 320px;
  height: auto;
}
.edu-illu__caption {
  text-align: center;
  font-family: Georgia, serif;
  color: var(--ink);
  font-size: .92rem;
  font-style: italic;
  border-top: 1px solid rgba(201, 169, 97, .3);
  padding-top: 12px;
}
.edu-illu__caption strong {
  color: var(--navy);
  font-weight: 700;
  font-style: normal;
}
.edu-illu__caption-sub {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  font-style: normal;
  margin-top: 4px;
  letter-spacing: .04em;
}

/* Mini-cards flottantes sous la pyramide */
.edu-cards {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.edu-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(15, 26, 53, .12);
  flex: 1 1 130px;
  min-width: 130px;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--border);
}
.edu-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(15, 26, 53, .18); }
.edu-card__icon-wrap {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.edu-card--blue .edu-card__icon-wrap { background: var(--blue-50); color: var(--blue-700); }
.edu-card--violet .edu-card__icon-wrap { background: var(--violet-bg); color: var(--violet); }
.edu-card--emerald .edu-card__icon-wrap { background: var(--emerald-bg); color: var(--emerald); }
.edu-card__title {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.edu-card__sub { font-size: .72rem; color: var(--muted); margin-top: 2px; }

.edu-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #FFFFFF;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .85rem;
  box-shadow: 0 6px 18px rgba(16, 185, 129, .45), 0 0 0 2px rgba(255,255,255,.9);
  z-index: 3;
  animation: floatBadge 4s ease-in-out infinite;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .edu-cards { flex-direction: column; }
  .edu-card { width: 100%; }
  .edu-badge { top: 10px; left: 10px; font-size: .78rem; padding: 6px 12px; }
}

/* ===== 24-pre. HERO IMPACT v2 (stats résultats intégrées + logos univ sous) ===== */
.eyebrow--gold {
  background: var(--gold-bg);
  color: #78350F;
  border: 1px solid var(--gold-line);
}
.eyebrow--light {
  background: rgba(255,255,255,.12);
  color: #FFF;
  border: 1px solid rgba(255,255,255,.18);
}
.hero__cta-secondary {
  color: var(--blue-700);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 4px;
}
.hero__cta-secondary:hover { color: var(--blue-900); text-decoration: underline; }
.hero__results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding: var(--sp-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.hero__result-item {
  text-align: center;
  padding: 8px 4px;
  border-right: 1px solid var(--border);
}
.hero__result-item:last-child { border-right: 0; }
.hero__result-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.hero__result-label {
  font-size: .78rem;
  color: var(--body);
  margin-top: 4px;
  line-height: 1.3;
}
.hero__trust-line {
  margin-top: var(--sp-4);
  font-size: .88rem;
  color: var(--muted);
}
.hero__unis {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.hero__unis-label {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--sp-4);
  font-weight: 600;
}
.hero__unis-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.hero__unis-list span {
  font-family: var(--font-display);
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  opacity: .65;
  transition: opacity .2s;
}
.hero__unis-list span:hover { opacity: 1; color: var(--navy); }

@media (max-width: 700px) {
  .hero__results { grid-template-columns: repeat(2, 1fr); }
  .hero__result-item:nth-child(2) { border-right: 0; }
  .hero__result-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .hero__result-num { font-size: 1.4rem; }
}

/* ===== 24c. SECTION DÉMO SOMBRE PLEINE LARGEUR ===== */
.section--demo {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--demo::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  opacity: .5;
}
.section--demo::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  opacity: .5;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-12);
  align-items: center;
}
.demo-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-list li {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  line-height: 1.5;
}
.demo-list strong { color: #fff; }

.demo-visual {
  position: relative;
}
.demo-screen {
  background: #FDFCF7;
  color: #1A1A1A;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.05);
  border-top: 4px solid var(--navy);
  position: relative;
  font-family: Georgia, 'Times New Roman', serif;
}
.demo-screen__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E0D0;
  color: var(--navy);
}
.demo-screen__top span:first-child {
  background: var(--navy) !important;
  color: #fff !important;
}
.demo-screen__title {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  text-align: center;
}
.demo-screen__excerpt {
  font-size: .95rem;
  color: #2A2A2A;
  line-height: 1.7;
  margin-bottom: 16px;
}
.demo-screen__excerpt mark {
  background: var(--highlight);
  padding: 1px 2px;
}
.demo-screen__callout {
  background: var(--gold-bg);
  border-left: 3px solid var(--gold-line);
  padding: 12px 16px;
  font-size: .9rem;
  line-height: 1.6;
  color: #2A2A2A;
  border-radius: 4px;
}
.demo-screen__callout strong {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 4px;
}
.demo-screen__callout mark {
  background: var(--highlight);
  padding: 1px 2px;
}
.demo-screen__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #E5E0D0;
  font-family: var(--font-body);
  font-size: .72rem;
  color: var(--muted);
  font-style: italic;
}
.demo-floating-badge {
  position: absolute;
  bottom: -16px;
  right: 24px;
  background: var(--gold-line);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: .85rem;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
@media (max-width: 980px) {
  .demo-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ===== 24d. PAIN/GAIN TABLE (avant/après) ===== */
.pain-gain-table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto repeat(7, auto);
  column-gap: var(--sp-6);
  row-gap: 12px;
  align-items: stretch;
}
.pain-gain-col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / span 8;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  border: 2px solid;
  box-shadow: var(--sh-2);
}
.pain-gain-col--pain { border-color: #FECACA; background: #FEF2F2; }
.pain-gain-col--gain { border-color: #BBF7D0; background: #F0FDF4; }
.pain-gain-col__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: var(--sp-2);
  text-align: center;
}
.pain-gain-col--pain .pain-gain-col__title { color: #991B1B; }
.pain-gain-col--gain .pain-gain-col__title { color: #065F46; }
.pain-gain-col ul {
  display: contents;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pain-gain-col li {
  font-size: .95rem;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.pain-gain-col--pain li::before {
  content: "✗";
  position: absolute; left: 0;
  color: #DC2626;
  font-weight: 700;
}
.pain-gain-col--gain li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--success);
  font-weight: 700;
}
.pain-gain-arrow {
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--blue-600);
  font-weight: 300;
}
@media (max-width: 900px) {
  .pain-gain-table {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: var(--sp-3);
  }
  .pain-gain-col {
    display: block;
    grid-row: auto;
  }
  .pain-gain-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .pain-gain-arrow { grid-row: auto; transform: rotate(90deg); padding: 8px 0; }
}

/* ===== 24e. ACCORDION SOMBRE (clôture FAQ) ===== */
.accordion--dark .accordion__item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.accordion--dark .accordion__item summary {
  color: #fff;
}
.accordion--dark .accordion__item summary::after {
  color: var(--gold-line);
}
.accordion--dark .accordion__body {
  color: rgba(255,255,255,.8);
  border-top: 1px solid rgba(255,255,255,.08);
}
.accordion--dark .accordion__item[open] summary {
  border-bottom-color: rgba(255,255,255,.12);
}

/* ===== 24f. CLÔTURE — Garantie + Newsletter ===== */
.closing-guarantee {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
}
.closing-guarantee__icon {
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: var(--r-pill);
  background: var(--gold-bg);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.closing-newsletter {
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.closing-newsletter form {
  max-width: 480px;
  margin: 0 auto;
  justify-content: center;
}
@media (max-width: 600px) {
  .closing-guarantee { flex-direction: column; text-align: center; }
}

/* ===== 24j. FEATURE ICONS — couleurs distinctes par fonction (style Brilliant) ===== */
.card--feature {
  position: relative;
}
.feature__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-50); border-radius: var(--r-md);
  color: var(--blue-600); font-size: 1.5rem;
  margin-bottom: var(--sp-3);
  transition: transform .25s ease;
}
.card--feature:hover .feature__icon { transform: scale(1.1) rotate(-3deg); }
/* Variations colorées (nth-child) */
.grid-3 > .card--feature:nth-child(1) .feature__icon { background: var(--blue-50); color: var(--blue-700); }
.grid-3 > .card--feature:nth-child(2) .feature__icon { background: var(--violet-bg); color: var(--violet); }
.grid-3 > .card--feature:nth-child(3) .feature__icon { background: var(--emerald-bg); color: var(--emerald); }
.grid-4 > .card--feature:nth-child(1) .feature__icon { background: var(--blue-50); color: var(--blue-700); }
.grid-4 > .card--feature:nth-child(2) .feature__icon { background: var(--violet-bg); color: var(--violet); }
.grid-4 > .card--feature:nth-child(3) .feature__icon { background: var(--emerald-bg); color: var(--emerald); }
.grid-4 > .card--feature:nth-child(4) .feature__icon { background: var(--amber-bg); color: var(--amber); }

/* ===== 24i. ABO STEPS (Comment ça marche en 3 étapes) ===== */
.abo-steps {
  display: flex;
  gap: var(--sp-4);
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}
.abo-step {
  flex: 1 1 200px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.abo-step:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.abo-step--blue { border-color: var(--blue-200); }
.abo-step--violet { border-color: #DDD6FE; }
.abo-step--emerald { border-color: #A7F3D0; }
.abo-step__num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.abo-step--blue .abo-step__num { background: var(--blue-600); }
.abo-step--violet .abo-step__num { background: var(--violet); }
.abo-step--emerald .abo-step__num { background: var(--emerald); }
.abo-step strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 2px;
}
.abo-step span {
  font-size: .85rem;
  color: var(--body);
}
.abo-step__arrow {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 300;
}
@media (max-width: 768px) {
  .abo-steps { flex-direction: column; }
  .abo-step__arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* ===== 24k. CARTE DE CHOIX (à l'unité ou en illimité) ===== */
.card--choice {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-8) var(--sp-6);
  position: relative;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
  border: 2px solid var(--border);
}
.card--choice:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: var(--blue-200);
}
.card--choice.card--featured {
  border-color: var(--blue-600);
  border-width: 2.5px;
  box-shadow: 0 12px 32px rgba(37,99,235,.18);
}
.card--choice.card--featured:hover {
  border-color: var(--blue-700);
  box-shadow: 0 16px 40px rgba(37,99,235,.25);
  transform: translateY(-6px);
}
.card--choice__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue-600), var(--blue-900));
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.card--choice__icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 4px;
}
.card--choice h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.card--choice > p {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.5;
  margin: 0;
}
.card--choice__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card--choice__list li {
  padding-left: 26px;
  position: relative;
  font-size: .95rem;
  color: var(--body);
  line-height: 1.45;
}
.card--choice__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  background: var(--emerald-bg);
  color: var(--emerald);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .82rem;
}
.card--choice .btn {
  margin-top: auto;
}

/* ===== 24h. BLOC "TU PRÉFÈRES ACHETER À L'UNITÉ ?" ===== */
.unit-alt-block {
  margin-top: var(--sp-10);
  padding: var(--sp-8) var(--sp-6);
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-align: center;
}
.unit-alt-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.unit-alt-block__sub {
  color: var(--body);
  font-size: 1rem;
  margin: 0 auto var(--sp-5);
  max-width: 540px;
}
.unit-alt-block__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ===== 24g. STICKY CTA MOBILE (F10) ===== */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 45;
  background: var(--white);
  border-top: 2px solid var(--blue-600);
  box-shadow: 0 -8px 24px rgba(15,23,42,.12);
  padding: var(--sp-3) var(--sp-4);
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.sticky-cta-bar__text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}
.sticky-cta-bar__text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}
.sticky-cta-bar__text small {
  font-size: .75rem;
  color: var(--muted);
}
@media (max-width: 768px) {
  .sticky-cta-bar { display: flex; }
  body { padding-bottom: 80px; }
  /* Sur mobile, masquer la sticky CTA quand le footer ou un CTA proche est visible (via JS plus tard) */
}
@media (max-width: 540px) {
  .sticky-cta-bar { padding: 10px 12px; }
  .sticky-cta-bar__text strong { font-size: .95rem; }
  .sticky-cta-bar__text small { font-size: .68rem; }
}

/* === Mobile general polish === */
@media (max-width: 640px) {
  .h1 { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; line-height: 1.2; }
  .h2 { font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important; }
  .lead { font-size: 1rem !important; }
  .pricing__price { font-size: 2rem; }
  .pain-gain-table { gap: var(--sp-3); }
  .pain-gain-col { padding: var(--sp-4); }
  .pain-gain-col li { font-size: .88rem; padding-left: 22px; }
  .compare-table { font-size: .82rem; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
  .closing-guarantee { padding: var(--sp-4); }
  .demo-screen { padding: 16px; }
  .demo-screen__title { font-size: 1.15rem; }
  .demo-screen__excerpt { font-size: .85rem; }
  .demo-floating-badge { bottom: -12px; right: 12px; font-size: .72rem; padding: 6px 12px; }
}

/* ===== 24a. RÉSULTATS CHIFFRÉS (cards count-up) — LEGACY mais conservé ===== */
.results-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.results-label {
  margin-top: 8px;
  color: var(--body);
  font-size: .95rem;
  line-height: 1.4;
}

/* ===== 24b. PARCOURS TIMELINE (Le parcours TrajectoireDroit) ===== */
.parcours {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: var(--sp-3);
  align-items: stretch;
}
.parcours__step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--sh-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.parcours__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: var(--blue-200);
}
.parcours__step::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
}
/* Chaque étape sa couleur thématique (style Brilliant éducatif) */
.parcours__step:nth-child(1)::before { background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); }
.parcours__step:nth-child(3)::before { background: linear-gradient(90deg, var(--violet), #6D28D9); }
.parcours__step:nth-child(5)::before { background: linear-gradient(90deg, var(--teal), #0D9488); }
.parcours__step:nth-child(7)::before { background: linear-gradient(90deg, var(--amber), #D97706); }
.parcours__step--free::before { background: linear-gradient(90deg, var(--emerald), #059669) !important; }
.parcours__step:nth-child(1) .parcours__icon-svg { color: var(--blue-700); }
.parcours__step:nth-child(3) .parcours__icon-svg { color: var(--violet); }
.parcours__step:nth-child(5) .parcours__icon-svg { color: var(--teal); }
.parcours__step:nth-child(7) .parcours__icon-svg { color: var(--amber); }
.parcours__step--free .parcours__icon-svg { color: var(--emerald); }
.parcours__icon-svg {
  display: block;
  margin-bottom: 2px;
}
.parcours__num {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: .08em;
}
.parcours__icon {
  font-size: 2rem;
  line-height: 1;
}
.parcours__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}
.parcours__desc {
  font-size: .9rem;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.parcours__link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-top: auto;
}
.parcours__link:hover { color: var(--blue-900); text-decoration: underline; }

.parcours__arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--blue-500);
  font-weight: 300;
  user-select: none;
}

/* CTA sous le parcours */
.parcours__cta {
  margin-top: var(--sp-10);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.parcours__cta-text {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 60%;
}
.parcours__cta-text strong { color: var(--blue-700); }

/* Responsive : tablette = 2 lignes (3 + 2 avec flèches), mobile = stack vertical */
@media (max-width: 1100px) {
  .parcours {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
  .parcours__arrow {
    display: none;
  }
}
@media (max-width: 600px) {
  .parcours { grid-template-columns: 1fr; }
  .parcours__cta { flex-direction: column; text-align: center; }
  .parcours__cta-text { max-width: 100%; }
}

/* ===== 25. UNIVERSITY LOGOS (cards) ===== */
.unis-strip__label {
  text-align: center; font-size: .85rem; color: var(--body);
  margin-bottom: var(--sp-4); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.unis-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
  background: var(--white);
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.unis-strip span,
.unis-strip img {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  color: var(--ink);
  min-height: 64px;
  transition: all .15s ease;
}
.unis-strip span:hover,
.unis-strip img:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
  color: var(--blue-700);
  transform: translateY(-1px);
}
@media (max-width: 900px) { .unis-strip { grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 500px) { .unis-strip { grid-template-columns: repeat(2, 1fr) } }
