/* =============================================================================
   WiriLab — Landing v2, style « Cirkit » (référence fournie par le boss).
   Bleu marine profond + cyan + bleu vif, fonds clairs alternés, fenêtres
   « glass » pour les captures, cartes à icônes, CTA final en grand dégradé.
   Textes identiques à landing/ (v1) — seule la direction artistique change.
   ========================================================================== */

:root {
  --bg: #f7f9fc;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d9e1ec;
  --panel: #ffffff;
  --navy: #0b2341;
  --navy-deep: #07182e;
  --navy-2: #123d6a;
  --blue: #1976d2;
  --blue-strong: #2563eb;
  --blue-hover: #1565c0;
  --cyan: #38bdf8;
  --green: #10b981;
  --violet: #7c3aed;
  --shadow: 0 24px 70px rgba(16, 24, 40, .16);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, .06);
  --radius: 18px;
  --media-radius: 14px;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }

a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .5);
  outline-offset: 4px;
}

.shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }

/* ------------------------------ Navigation ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(56, 189, 248, .14);
  background: rgba(11, 35, 65, .88);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 24px; color: #dce5f3; font-size: .95rem; font-weight: 600; }
.site-nav a { transition: color 160ms ease; }
.site-nav a:hover { color: #fff; }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(25, 118, 210, .92);
  border-radius: 999px;
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 24px rgba(25, 118, 210, .24);
}
.nav-cta:hover { border-color: var(--blue-hover); background: var(--blue-hover); }

/* --------------------------------- Hero --------------------------------- */
.hero-section {
  position: relative; overflow: hidden;
  padding: 22px 0 20px;
  background:
    radial-gradient(circle at 74% 28%, rgba(56, 189, 248, .34), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(96, 165, 250, .22), transparent 30%),
    linear-gradient(135deg, #0e2a47 0%, #123d6a 52%, #1e60a8 100%);
  color: #fff;
}
/* Grille technique estompée vers le bas, comme leur ::before */
.hero-section::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(148, 163, 184, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .28) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px; align-items: start;
}
.hero-copy { max-width: 610px; min-width: 0; padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  color: #2563eb; font-size: .78rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.hero-section .eyebrow, .section-dark .eyebrow, .education-panel .eyebrow, .final-cta .eyebrow { color: #93c5fd; }

h1, h2 { letter-spacing: 0; line-height: 1.04; }
h1 { font-size: clamp(2.1rem, 3.1vw, 2.85rem); max-width: 780px; overflow-wrap: break-word; }
h1 span { display: block; }
.hero-headline-accent {
  margin-top: 6px;
  background: linear-gradient(90deg, #bfdbfe 0%, var(--cyan) 52%, #60a5fa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.1rem; line-height: 1.25; }

.hero-lede { margin-top: 24px; color: #cbd5e1; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.hero-note { margin-top: 12px; color: #9fb3cc; font-size: .85rem; }

/* Même plastique que les cartes sombres / feature-card du reste du site. */
.hero-pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 6px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  overflow: hidden;
}
.hero-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 16px;
  background: transparent;
}
.hero-pillar + .hero-pillar {
  border-left: 1px solid rgba(148, 163, 184, .24);
}
.hero-pillar h3 {
  margin-top: 8px;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.hero-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(147, 197, 253, .14);
  color: #bfdbfe;
}
.hero-pillar-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.hero-pillar-tags li {
  padding: 4px 10px;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #cbd5e1;
  font-size: .7rem;
  font-weight: 700;
}

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--blue-strong); color: #fff;
  box-shadow: 0 18px 44px rgba(37, 99, 235, .34), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.button-primary:hover { background: #1d4ed8; box-shadow: 0 18px 42px rgba(37, 99, 235, .38); }
.hero-actions .button-primary { min-width: 220px; min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.button-secondary { border: 1px solid rgba(148, 163, 184, .45); background: rgba(255, 255, 255, .08); color: #fff; }
.section-light .button-secondary, .section-tint .button-secondary { color: var(--ink); background: #fff; }
.button-ghost { border: 1px solid var(--line); background: #fff; color: var(--ink); min-height: 46px; }
.button-ghost:hover { border-color: var(--blue-strong); color: var(--blue-strong); }

/* Fenêtre « glass » du hero — capture du simulateur dans un cadre translucide */
.hero-visual {
  position: relative; min-width: 0;
  margin-top: 0;
  align-self: center;
  padding: 7px 14px 14px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28), 0 0 72px rgba(56, 189, 248, .22);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 10% 4%; z-index: 0;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(56, 189, 248, .34), rgba(96, 165, 250, .28));
  filter: blur(46px);
}
.hero-window-chrome { position: relative; z-index: 1; display: flex; align-items: flex-start; height: 20px; padding: 0 8px; }
.hero-window-chrome .window-controls { gap: 7px; padding-top: 2px; }
.hero-window-chrome .window-controls span { width: 8px; height: 8px; }
.window-controls { display: inline-flex; gap: 8px; }
.window-controls span { width: 10px; height: 10px; border-radius: 50%; background: #7c3aed; }
.window-controls span:nth-child(2) { background: #db2777; }
.window-controls span:nth-child(3) { background: #1976d2; }
.hero-window {
  position: relative; z-index: 1; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--media-radius);
  background: #16181d;
}

/* Scène animée (frames empilées + curseur + caption).
   object-fit: contain + fond = bgCanvas du thème de la capture : aucun
   rognage et letterboxing invisible (sombre #16181d / clair #F8F9FA). */
.stage { position: relative; aspect-ratio: 700 / 450; background: #16181d; overflow: hidden; }
.stage-light { background: #f8f9fa; }
/* Vidéo hero / câblage : ratio natif — toute la vidéo visible. */
.stage-hero-video,
.stage-cablage-video {
  aspect-ratio: 1920 / 908;
  background: #16181d;
}
.stage-cablage-video { background: #f8f9fa; }
.stage-progressez-video {
  aspect-ratio: 1174 / 806;
  background: #f8f9fa;
}
.stage-hero-video .hero-frame,
.stage-cablage-video .view-frame,
.stage-progressez-video .view-frame {
  object-fit: contain;
}
/* Capture UI plein atelier (GIF 1920×910). */
.stage-ui { aspect-ratio: 1920 / 910; background: #f8f9fa; }

/* Étape 02 : intro + GIF pleine largeur + cartes en rangée (cadre plus grand). */
.simulation-block {
  display: grid;
  gap: 28px;
  padding: 42px 40px 40px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, .14), transparent 34%),
    rgba(7, 24, 46, .42);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
}
.simulation-intro { max-width: 720px; }
.simulation-intro > p { margin-top: 16px; color: #cbd5e1; font-size: 1.06rem; }
.simulation-intro .step-title h2 { color: #fff; }
.simulation-media {
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, .44);
  border-radius: var(--media-radius);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 30px 86px rgba(0, 0, 0, .3), 0 0 70px rgba(56, 189, 248, .2);
}
.cards-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}
.hero-frame, .view-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity .3s ease;
}
video.view-frame { background: #f8f9fa; }
video.hero-frame { background: #16181d; }
.hero-frame.on, .view-frame.on { opacity: 1; }

.hero-cursor {
  position: absolute; left: 50%; top: 82%; z-index: 3;
  transform: translate(-3px, -2px);
  transition-property: left, top; transition-timing-function: cubic-bezier(.5, .1, .4, 1);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .55));
  pointer-events: none;
}
.hero-cursor.down { transform: translate(-3px, -2px) scale(.82); }
.hero-ripple {
  position: absolute; z-index: 2; width: 34px; height: 34px;
  margin: -17px 0 0 -17px; border-radius: 50%;
  border: 2.5px solid rgba(56, 189, 248, .9);
  opacity: 0; pointer-events: none;
}
.hero-ripple.play { animation: hero-ripple .5s ease-out; }
@keyframes hero-ripple {
  0% { opacity: .9; transform: scale(.25); }
  100% { opacity: 0; transform: scale(1.15); }
}
.stage-caption {
  position: absolute; left: 12px; bottom: 11px; z-index: 4;
  background: rgba(255, 255, 255, .92); color: #17233a;
  padding: 5px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .1px;
  max-width: calc(100% - 24px);
}
/* Pastille sur capture claire : liseré + ombre pour détacher du fond #F8F9FA. */
.stage-light .stage-caption {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(15, 23, 42, .1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
}

/* ------------------------------- Sections ------------------------------- */
.section { padding: 84px 0; }
.section-light { background: #fff; }
.section-tint {
  background:
    radial-gradient(circle at 8% 18%, rgba(16, 185, 129, .1), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef7f4 100%);
}
.section-dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(56, 189, 248, .18), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}

/* Pastille « Comment ça marche » au-dessus du premier panneau */
.section-heading { max-width: 790px; margin-left: auto; margin-right: auto; text-align: center; }
.section-heading p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.how-heading { max-width: 640px; margin-bottom: -17px; position: relative; z-index: 2; }
.how-heading .eyebrow-pill {
  margin-bottom: 0; padding: 9px 14px;
  border: 1px solid rgba(37, 99, 235, .14); border-radius: 999px;
  background: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

/* Panneaux des étapes (clair) */
.panel {
  position: relative; overflow: hidden;
  width: min(1120px, calc(100% - 40px));
  display: grid; grid-template-columns: minmax(330px, .85fr) minmax(0, 1.15fr);
  gap: 42px; align-items: center;
  padding: 58px 46px 46px;
  border-radius: 28px;
}
.panel-light {
  border: 1px solid rgba(148, 163, 184, .25);
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, .1), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 24px 80px rgba(15, 23, 42, .09);
}
.panel-light::before {
  content: ""; position: absolute; inset: 18px; z-index: 0;
  border-radius: 22px;
  background-image:
    linear-gradient(rgba(37, 99, 235, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .028) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 64%);
  pointer-events: none;
}
.panel-light > * { position: relative; z-index: 1; }

/* Panneau sombre (étape 02) : média à gauche, copie à droite */
.panel-dark {
  border: 1px solid rgba(148, 163, 184, .18);
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, .14), transparent 34%),
    rgba(7, 24, 46, .42);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  padding: 34px;
}

.step-heading { max-width: 430px; text-align: left; }
.step-title { display: flex; align-items: center; gap: 14px; }
.step-title h2 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.04; }
.step-number {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
  min-width: 38px; height: 28px; border-radius: 999px;
  background: rgba(25, 118, 210, .11); color: var(--blue);
  font-size: .78rem; font-weight: 800; letter-spacing: .02em;
}
.step-number-dark { background: rgba(255, 255, 255, .12); color: #bfdbfe; }
.panel-copy > p, .step-heading p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.06rem; }
.panel-dark .panel-copy > p { color: #cbd5e1; }
.panel-dark .step-title h2 { color: #fff; }

/* Médias dans les panneaux */
.panel-media {
  position: relative; min-width: 0; overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .28);
  border-radius: var(--media-radius);
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 26px 72px rgba(16, 24, 40, .17), 0 0 52px rgba(56, 189, 248, .18);
}
.panel-dark .panel-media {
  border-color: rgba(147, 197, 253, .44);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 30px 86px rgba(0, 0, 0, .3), 0 0 70px rgba(56, 189, 248, .2);
}

/* Cartes à icône (empilées dans la colonne copie) */
.cards { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
.card {
  display: grid; grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px; align-items: start;
  padding: 16px;
  border: 1px solid #e3eaf3; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-soft);
}
.card-featured {
  border-color: rgba(37, 99, 235, .28);
  background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
  box-shadow: 0 16px 40px rgba(37, 99, 235, .12);
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(37, 99, 235, .1); color: var(--blue-strong);
  grid-row: span 2;
}
.card-featured .card-icon { background: var(--blue-strong); color: #fff; }
.card h3 { font-size: .98rem; line-height: 1.3; }
.card p { margin-top: 6px; color: var(--muted); font-size: .88rem; line-height: 1.5; }

.card-dark { border-color: rgba(148, 163, 184, .2); background: rgba(255, 255, 255, .07); box-shadow: none; }
.card-dark-featured {
  border-color: rgba(56, 189, 248, .5);
  background: linear-gradient(180deg, rgba(56, 189, 248, .15), rgba(255, 255, 255, .07));
  box-shadow: 0 16px 40px rgba(56, 189, 248, .12);
}
.card-icon-dark { background: rgba(147, 197, 253, .14); color: #93c5fd; }
.card-dark-featured .card-icon-dark { background: var(--cyan); color: var(--navy-deep); }
.card-dark h3 { color: #fff; }
.card-dark p { color: #cbd5e1; }

/* Collage de captures (étape 03) */
.panel-media-collage { border: none; background: transparent; box-shadow: none; overflow: visible; }
.collage { position: relative; min-height: 380px; }
.collage img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid rgba(148, 163, 184, .35); }
.collage-main { width: 82%; }
.collage-side { position: absolute; width: 46%; }
.collage-side-a { right: 0; top: 16%; }
.collage-side-b { right: 8%; bottom: 0; }

/* Ruban de progression (étape 04) */
.progress-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ps-chip {
  font-size: 12px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
  background: #fff;
}
.ps-chip.ps-done { color: var(--green); border-color: rgba(16, 185, 129, .4); }
.ps-chip.ps-current { color: var(--blue-strong); border-color: rgba(37, 99, 235, .5); box-shadow: 0 8px 20px rgba(37, 99, 235, .14); }

/* Centres de formation : grand panneau bleu→violet (comme leur education-panel) */
.education-section { background: #f4f7fb; }
.education-panel {
  padding: 56px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(168, 85, 247, .26), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(99, 102, 241, .22), transparent 30%),
    linear-gradient(135deg, #2d1b69 0%, #1e1b4b 56%, #0f172a 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.education-panel .section-heading p { color: #cbd5e1; }
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.feature-card {
  display: grid; justify-items: center; text-align: center;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}
.feature-card p { margin-top: 10px; color: #cfdae8; font-size: .95rem; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(147, 197, 253, .14); color: #bfdbfe;
}

/* Offres */
.section-heading-dark { margin-bottom: 44px; }
.section-heading-dark h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
/* start : chaque carte a sa hauteur (Communauté / Premium plus courtes
   qu'Établissement). Plus de stretch égal qui laisse un vide en bas. */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.price-card {
  padding: 22px 22px; display: flex; flex-direction: column;
  border: 1px solid #dde5ef; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.price-card:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, .3); box-shadow: var(--shadow); }
.price-card .chip { align-self: flex-start; margin-bottom: 8px; }
.price-card h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.price-sub { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.price-card .button { justify-content: center; margin-top: 4px; }
.price-featured {
  border: 1.5px solid var(--blue-strong);
  background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
  box-shadow: 0 20px 50px rgba(37, 99, 235, .16);
}
.price-note { margin-top: 8px; color: var(--muted); font-size: .78rem; }
.price-slider { margin: 14px 0 8px; }
.price-slider .price-count {
  display: flex; align-items: center; gap: 8px;
  font-size: .95rem; margin: 0 0 4px; color: var(--ink); font-weight: 700;
}
.price-slider .qty-box {
  display: inline-flex; align-items: stretch;
  border: 1px solid #cfd8e3; border-radius: 8px; overflow: hidden;
  background: #fff;
}
.price-slider .qty-box input[type="number"] {
  width: 56px; border: 0; padding: 6px 4px;
  font: inherit; font-weight: 800; text-align: center; color: var(--blue-strong);
  -moz-appearance: textfield;
}
.price-slider .qty-box input[type="number"]::-webkit-outer-spin-button,
.price-slider .qty-box input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.price-slider .stepper {
  display: inline-flex; flex-direction: column;
  border-left: 1px solid #cfd8e3;
}
.price-slider .stepper button {
  border: 0; background: #fff; width: 24px; height: 17px; line-height: 1;
  padding: 0; font-size: .55rem; color: var(--blue-strong); cursor: pointer;
}
.price-slider .stepper button + button { border-top: 1px solid #cfd8e3; }
.price-slider .stepper button:hover { background: #eef4ff; }
.price-slider .price-amount { font-size: .9rem; margin: 0 0 2px; font-weight: 700; }
.price-slider .price-unit {
  margin: 0 0 4px; font-size: .78rem; color: var(--muted); font-weight: 600;
}
.price-card > .price-amount.price-fixed {
  margin: 8px 0 10px; font-size: 1rem; font-weight: 800; color: var(--blue-strong);
}
.price-slider input[type="range"] {
  width: 100%; margin: 8px 0 0; accent-color: var(--blue-strong); cursor: pointer;
}
.pack-learners-label {
  margin: 0 0 4px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.pack-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
}
.pack-ticks [data-tick].is-active {
  color: var(--blue-strong);
  font-weight: 800;
}
.pack-name {
  margin: 10px 0 0;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
}
.pack-places {
  margin: 2px 0 0;
  font-weight: 700;
  color: var(--blue-strong);
  font-size: .88rem;
}
.price-slider .price-amount[data-pack-price-line] {
  margin-top: 8px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--blue-strong);
}
.billing-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 3px; border-radius: 999px;
  background: #eef2f7;
}
.billing-toggle-global {
  width: min(320px, 100%);
  margin: 0 auto 8px;
}
.billing-discount-hint {
  text-align: center;
  margin: 0 auto 28px;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
}
.billing-discount-hint.is-active {
  color: var(--blue-strong);
  font-weight: 700;
}
.billing-toggle button {
  border: 0; background: transparent; border-radius: 999px;
  padding: 8px 12px; font-size: .8rem; font-weight: 700;
  color: var(--muted); cursor: pointer;
}
.billing-toggle button.is-active {
  background: #fff; color: var(--blue-strong);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}

.chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  background: rgba(37, 99, 235, .1); color: var(--blue-strong);
}
.chip-soft { background: rgba(124, 58, 237, .1); color: var(--violet); }

.check-list { display: grid; gap: 8px; align-content: start; margin: 14px 0 16px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: #243044; font-weight: 600; font-size: .92rem; line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 14px; height: 14px; border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 28%, transparent 30%),
    linear-gradient(135deg, var(--green), var(--cyan));
}

/* CTA final : grand dégradé bleu→violet + grille blanche */
.final-cta {
  position: relative; overflow: hidden;
  padding: 92px 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, .14) 100%),
    linear-gradient(135deg, #1e3a8a 0%, #4c1d95 58%, #6d28d9 100%);
  color: #fff; text-align: center;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image:
    linear-gradient(rgba(255, 255, 255, .65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .65) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 780px; }
.final-cta-inner h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.final-cta-inner > p:not(.cta-proof) { margin-top: 14px; color: #cbd5e1; font-size: 1.05rem; }
.final-cta .hero-actions { justify-content: center; }
.final-cta .button { min-width: 210px; }
.final-cta .button-primary {
  background: #fff; color: var(--blue-strong);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .25), 0 0 30px rgba(124, 58, 237, .35), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.final-cta .button-primary:hover { background: #f8fafc; }
.cta-proof {
  display: inline-flex; margin-bottom: 18px; padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px);
  color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .02em;
}

/* Footer */
.site-footer { padding: 56px 0 28px; background: #0b1120; color: #cbd5e1; }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(140px, .55fr)); gap: 34px; }
.footer-brand img { width: 150px; }
.site-footer p { max-width: 420px; margin-top: 16px; color: #9aa7ba; font-size: .95rem; }
.site-footer nav { display: grid; align-content: start; gap: 10px; }
.site-footer h3 { margin: 0 0 4px; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { color: #cbd5e1; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-hint { margin-top: 4px !important; }
.copyright { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.copyright p { margin: 0; font-size: .9rem; max-width: none; }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-frame, .view-frame { transition: none; }
  .hero-ripple.play { animation: none; }
  .button, .price-card { transition: none; }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1080px) {
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .site-nav { gap: 16px; font-size: .88rem; }
  .hero-grid, .panel, .panel-dark, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 8px; align-self: stretch; }
  .panel-dark .panel-copy { order: -1; }
  .panel-dark { padding: 28px; }
  .cards-row { grid-template-columns: 1fr; }
  .simulation-block { padding: 28px; }
  .hero-section { padding-top: 20px; }
  .hero-pillars { grid-template-columns: 1fr; margin-top: 6px; }
  .hero-pillar + .hero-pillar { border-left: 0; border-top: 1px solid rgba(148, 163, 184, .24); }
  .hero-copy { max-width: none; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .collage { min-height: 0; }
  .collage img { position: static; width: 100%; margin-bottom: 14px; }
  .collage img:last-child { margin-bottom: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(var(--shell), calc(100% - 28px)); }
  .header-inner { min-height: 64px; }
  .site-nav a:not(.nav-cta) { display: none; }

  .hero-section { padding: 18px 0 16px; }
  .section, .final-cta { padding: 64px 0; }
  h1 { font-size: 2.05rem; line-height: 1.08; }
  h2 { font-size: 2rem; line-height: 1.1; }

  .panel, .panel-dark, .simulation-block { width: calc(100% - 28px); padding: 26px 18px; border-radius: 22px; gap: 28px; }
  .panel-light::before { inset: 12px; border-radius: 16px; }
  .education-panel { width: calc(100% - 28px); margin-inline: auto; padding: 34px 20px; border-radius: 20px; }
  .feature-row { grid-template-columns: 1fr; }

  .step-title { flex-wrap: wrap; gap: 10px; }
  .hero-actions .button-primary { min-width: 0; padding: 0 22px; white-space: normal; text-align: center; }
  .button { width: 100%; max-width: 100%; }
  .hero-actions { gap: 12px; }
  .card { padding: 14px; }
}
