/* Arcadia Academy – landing page ads
   Mobile-first (design 390px) → desktop (design 1440px) at 860px. */

/* Polices auto-hébergées (sous-ensemble latin, polices variables) : pas de requête vers Google Fonts.
   Caveat : uniquement les lettres utilisées sur la page. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/caveat-700.woff2") format('woff2'); unicode-range: U+20, U+27, U+2c-2e, U+31-32, U+38, U+41-49, U+4c-51, U+53-54, U+56, U+61-69, U+6c-76, U+78-7a, U+c0-c1, U+c7-c9, U+cc-cd, U+d2-d3, U+e0-e1, U+e7-e9, U+ec-ed, U+f2-f3, U+f9-fa, U+fd, U+2713, U+2717; }

:root {
  --navy: #13213C;
  --navy-deep: #0A1426;
  --navy-soft: #1E2F52;
  --paper: #FBFAF6;
  --sand: #F1EFE8;
  --line: #E3E0D6;
  --line-strong: #B9BFCC;
  --ink-2: #3A4660;
  --ink-3: #4A5570;
  --on-dark-2: #C9D1E0;
  --eyebrow: #7A4B00;
  --accent: #E8A33D;
  --maths: #3557C9;
  --svt: #2C7A4B;
  --error: #B42318;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--body); line-height: 1.4; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
input:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; }
p { margin: 0; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }


.grid-paper { background-color: var(--paper); background-image: linear-gradient(rgba(19,33,60,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(19,33,60,.07) 1px, transparent 1px); background-size: 24px 24px; }
.grid-dark { background-color: var(--navy); color: var(--paper); background-image: linear-gradient(rgba(251,250,246,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(251,250,246,.06) 1px, transparent 1px); background-size: 24px 24px; }

/* Sur-titre : écrit à la main (Caveat) avec une petite flèche vers le titre */
.eyebrow { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-family: 'Caveat', cursive; font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--eyebrow); transform: rotate(-2deg); transform-origin: left center; }
.eyebrow::after { content: ""; flex: 0 0 auto; width: 30px; height: 18px; margin-top: 4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 20' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4 C 12 2, 22 6, 28 15'/%3E%3Cpath d='M28 15 l -6 -1 M28 15 l 1 -6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 20' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4 C 12 2, 22 6, 28 15'/%3E%3Cpath d='M28 15 l -6 -1 M28 15 l 1 -6'/%3E%3C/svg%3E") center / contain no-repeat; }
.section-title { font-size: 31px; line-height: 1.05; letter-spacing: -.015em; }

/* ── Buttons ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px; border-radius: 14px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; border: 0; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { color: var(--navy); filter: brightness(1.04); }
.btn-navy { background: var(--navy); color: var(--paper); box-shadow: 4px 4px 0 var(--accent); }
.btn-navy:hover { color: var(--paper); }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); font-family: var(--body); font-weight: 600; font-size: 17px; }
.btn-outline-light { background: transparent; color: var(--paper); border: 2px solid var(--paper); font-family: var(--body); font-weight: 600; font-size: 18px; }
.btn-outline-light:hover { color: var(--paper); }

/* ── Header ──────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251,250,246,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-lockup { height: 48px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; padding: 10px 0; }
.site-nav .nav-link { display: none; }
.nav-cta { display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px !important; border-radius: 999px; background: var(--navy); color: var(--paper) !important; font-weight: 600; font-size: 14px; }

/* ── Hero ────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
/* Hand-drawn science doodles behind the hero (both pages). Opacity is set here. */
.hero::before, .thanks::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("img/doodles.webp") repeat 0 0 / 300px 300px; opacity: .13; }
/* Paper-coloured halo around hero text: hides the doodles only where they cross the letters. */
.hero h1, .hero-lead, .hero-meta { text-shadow: 0 0 2px var(--paper), 0 0 4px var(--paper), 0 0 6px var(--paper), 0 0 10px var(--paper), 0 0 14px var(--paper); }
.hero h1 { text-shadow: 0 0 3px var(--paper), 0 0 6px var(--paper), 0 0 10px var(--paper), 0 0 16px var(--paper), 0 0 22px var(--paper); }
.hero-inner { position: relative; padding-top: 28px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.hero-copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1.5px solid var(--navy); font-size: 13px; font-weight: 600; }
.pill-tag { padding: 2px 8px; border-radius: 999px; background: var(--navy); color: var(--accent); font-size: 11px; letter-spacing: .04em; }
.hero h1 { font-size: 40px; line-height: 1; letter-spacing: -.025em; }
.underline { position: relative; white-space: nowrap; display: inline-block; }
.underline svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 12px; }
.hero-lead { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 540px; }
.hero-lead strong { color: var(--navy); }
.hero-ctas { display: none; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--ink-2); }
.hero-meta > span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Lead form ───────────────────────────────────────── */
.form-card { flex: 1 1 380px; min-width: 0; width: 100%; background: #fff; border: 2px solid var(--navy); border-radius: 20px; box-shadow: 6px 6px 0 var(--navy); padding: 20px; }
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.form-head { display: flex; flex-direction: column; gap: 6px; }
.offer-tag { align-self: flex-start; padding: 4px 9px; border-radius: 7px; background: var(--accent); color: var(--navy); font-size: 12px; font-weight: 700; }
.form-head h2 { font-size: clamp(19px, 6vw, 26px); line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.form-head p { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field input { min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-size: 16px; font-family: inherit; color: var(--navy); background: var(--paper); width: 100%; }
.field input[aria-invalid="true"] { border-color: var(--error); background: #FEF3F2; }
.field-error { font-size: 13px; color: var(--error); font-weight: 500; }
.field-error:empty { display: none; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--sand); }
.segmented--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-step { display: flex; flex-direction: column; gap: inherit; }
.form-step[hidden] { display: none; }
.form-progress { height: 6px; border-radius: 99px; background: var(--sand); overflow: hidden; margin-bottom: 6px; }
.form-progress span { display: block; width: 80%; height: 100%; border-radius: inherit; background: var(--svt); }
.step2-title:focus { outline: none; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.options label { position: relative; }
.options input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.options span { display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; min-height: 52px; padding: 6px 10px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.options input:checked + span { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.legend-hint { font-weight: 500; color: var(--ink-3); }
.chips-group { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.subject-list + .chips-group { margin-top: 4px; }
/* Reduction gauge (step 2): one segment fills per subject ticked. */
.savings { margin-bottom: 4px; padding: 8px 12px 10px; border-radius: 12px; background: #E7F3EC; color: var(--svt); }
.savings-t { display: flex; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.savings-t b { flex: 1 1 auto; min-width: 12px; border-bottom: 2px dotted #9CCBAE; transform: translateY(-3px); }
.savings-t span { font-weight: 600; opacity: .85; }
.savings-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; }
.savings-bar i { height: 8px; border-radius: 99px; background: #fff; border: 1px solid #B9DCC6; transition: background .2s; }
.savings-bar i.on { background: var(--svt); border-color: var(--svt); }
.savings-t span { font-family: var(--display); font-weight: 800; font-size: 15px; }
.savings.is-on .savings-t span { opacity: 1; }
.savings-hint { margin-top: 5px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.field[hidden] { display: none; }

/* Subject list (step 2): icon + name + checkbox per row. Icons: Tabler Icons (MIT). */
.subject-list { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.subject-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 12px; cursor: pointer; transition: background .15s; }
.subject-row + .subject-row { border-top: 1px solid var(--line); }
.subject-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.subject-ico { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); transition: background .15s, color .15s; }
.subject-name { flex: 1 1 auto; font-size: 15px; font-weight: 600; }
.subject-box { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-strong); background: #fff center / 14px no-repeat; transition: background-color .15s, border-color .15s; }
.subject-row:hover { background: #FAFAF7; }
.subject-row input:checked ~ .subject-ico { background: var(--c); color: #fff; }
.subject-row input:checked ~ .subject-box { background-color: var(--navy); border-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8A33D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.subject-row:has(input:checked) { background: #F3F5FA; }
.subject-row input:focus-visible ~ .subject-box { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-back { align-self: center; margin-top: -6px; padding: 8px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-3); text-decoration: underline; cursor: pointer; }
.form-back[hidden] { display: none; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.segmented span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 0 4px; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.15; }
.segmented input:checked + span { background: var(--navy); color: var(--paper); box-shadow: 0 2px 6px rgba(19,33,60,.25); }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-submit { width: 100%; }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.is-sending .spinner { display: block; }
.is-sending .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert { padding: 10px 12px; border-radius: 10px; background: #FEF3F2; border: 1px solid #FDA29B; color: var(--error); font-size: 14px; line-height: 1.45; }
.form-alert[hidden] { display: none; }
.form-alert { display: flex; flex-direction: column; gap: 10px; }
.inline-cta { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
.inline-cta span { font-size: 14px; color: var(--ink-3); }
.inline-cta .btn { white-space: nowrap; }
.form-note { margin-top: -4px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ── Bandeau défilant ────────────────────────────────── */

/* ── Bandeaux défilants : moteur commun (deux copies identiques, défilement de −50 %) ── */
.mq-track { display: flex; width: max-content; animation: mq 30s linear infinite; }
.mq-track--rev { animation-direction: reverse; animation-duration: 40s; }
.mq-run { display: flex; align-items: center; flex: 0 0 auto; gap: 22px; padding: 0 11px; white-space: nowrap; }
.mq-run i { font-style: normal; }
@keyframes mq { to { transform: translateX(-50%); } }
.ribbon:hover .mq-track { animation-play-state: paused; }

/* Ruban ambre droit (avant le comparatif) */
.ribbon { overflow: hidden; background: var(--accent); border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.ribbon .mq-run { padding-top: 13px; padding-bottom: 13px; }
.ribbon span { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.ribbon i { color: var(--navy); font-size: 14px; }

/* Double ruban croisé (après le comparatif) */
.ribbons-x { position: relative; height: 100px; overflow: hidden; background: transparent; }
.ribbons-x-a, .ribbons-x-b { position: absolute; left: -4%; right: -4%; top: 50%; }
.ribbons-x-a { transform: translateY(-50%) rotate(3deg); background: var(--navy); border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.ribbons-x-b { z-index: 1; transform: translateY(-50%) rotate(-3deg); background: var(--accent); border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.ribbons-x .mq-run { padding-top: 11px; padding-bottom: 11px; }
.ribbons-x span { font-family: var(--display); font-weight: 800; font-size: 16px; }
.ribbons-x-a span { color: var(--paper); font-weight: 700; }
.ribbons-x-a i { color: var(--accent); }
.ribbons-x-b span { color: var(--navy); }
.ribbons-x-b i { color: var(--navy); }
@media (min-width: 860px) {
  .ribbon .mq-run { gap: 30px; padding: 16px 15px; }
  .ribbon span { font-size: 21px; }
  .ribbons-x { height: 124px; }
  .ribbons-x .mq-run { gap: 28px; padding: 13px 14px; }
  .ribbons-x span { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* ── Séparateur cahier à spirale (hero → chiffres) ──────
   Hauteur nulle : la reliure chevauche la limite, trous dans le papier, spirales dans le navy. */
.spiral-sep { position: relative; z-index: 2; height: 0; }
.spiral-sep svg { position: absolute; left: 0; top: -13px; width: 100%; height: 28px; display: block; pointer-events: none; }
.spiral-sep--up svg { top: -15px; transform: scaleY(-1); }

/* ── Nous trouver : carte + polaroid du bâtiment ───────────
   Mobile : titre, puis la carte avec la photo scotchée en travers, puis adresse et boutons.
   Ordinateur : texte à gauche, grande carte à droite avec le polaroid sur son coin.
   La carte n'est pas cliquable ; l'iframe remonte de --lift pour masquer ce que Google
   affiche en haut (« Open in Maps », vignette d'adresse) : le repère est à 50 % − lift/2. */
.find { border-top: 1px solid var(--line); }
/* Variante /bac : papier ambre pâle à lignes horizontales (classe ajoutée par scripts/build-versions.cjs) */
.find-lined { background-color: #FCF0DB; background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(122,75,0,.13) 31px 32px); }
@media (min-width: 860px) { .find-lined { background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(122,75,0,.13) 35px 36px); } }
.find-inner { padding-top: 44px; padding-bottom: 52px; display: grid; grid-template-areas: "head" "visual" "info"; gap: 22px; }
.find-head { grid-area: head; display: flex; flex-direction: column; gap: 10px; }
.find-intro { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.find-visual { grid-area: visual; position: relative; padding-top: 120px; }
.find-map { --lift: 56px; position: relative; height: 360px; border: 2px solid var(--navy); border-radius: 20px; overflow: hidden; background: #E5E3DF; box-shadow: 6px 6px 0 var(--accent); }
.find-map iframe { position: absolute; top: calc(-1 * var(--lift)); left: 0; width: 100%; max-width: none; height: calc(100% + var(--lift)); border: 0; pointer-events: none; }
.find-pin { position: absolute; left: 50%; top: calc(50% - var(--lift) / 2); width: 42px; height: 52px; transform: translate(-50%, -100%); z-index: 2; filter: drop-shadow(0 5px 8px rgba(0,0,0,.35)); }
.find-ring { position: absolute; left: 50%; top: calc(50% - var(--lift) / 2); width: 72px; height: 26px; margin: -13px 0 0 -36px; border: 3px solid var(--accent); border-radius: 50%; z-index: 1; animation: find-ring 2.4s ease-out infinite; }
@keyframes find-ring { from { transform: scale(.35); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.find-pola { position: absolute; top: 0; right: 6px; z-index: 3; width: 62%; max-width: 280px; margin: 0; padding: 10px 10px 40px; background: #fff; transform: rotate(4deg); box-shadow: 0 14px 26px rgba(19,33,60,.25); }
.find-pola img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: 50% 40%; }
.find-pola figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 15px; }
/* Vrai ruban washi (assets/img/washi-tape.webp, fond transparent, ratio 640×240) */
.find-tape { position: absolute; top: -20px; left: 50%; z-index: 1; width: 124px; height: 46px; margin-left: -62px; background: url("img/washi-tape.webp") center / contain no-repeat; transform: rotate(-3deg); filter: drop-shadow(0 2px 2px rgba(19,33,60,.18)); }
.find-info { grid-area: info; display: flex; flex-direction: column; gap: 16px; }
.find-addr { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.find-addr svg { flex: 0 0 auto; margin-top: 2px; }
.find-addr strong { display: block; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--navy); }
.find-btns { display: flex; flex-direction: column; gap: 10px; }
.find-btns .btn { min-height: 52px; white-space: nowrap; }
@media (min-width: 860px) {
  .find-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "head visual" "info visual"; column-gap: 72px; row-gap: 28px; padding-top: 104px; padding-bottom: 112px; }
  .find-head { align-self: end; gap: 14px; }
  .find-info { align-self: start; gap: 22px; }
  .find-intro { font-size: 17px; max-width: 440px; }
  .find-addr { font-size: 16px; }
  .find-addr strong { font-size: 30px; }
  .find-btns { flex-direction: row; flex-wrap: wrap; }
  .find-btns .btn { min-height: 56px; padding: 0 26px; }
  .find-visual { padding-top: 0; }
  .find-map { --lift: 135px; height: 540px; border-radius: 24px; box-shadow: 10px 10px 0 var(--accent); }
  .find-pola { top: -34px; left: -56px; right: auto; width: 280px; max-width: none; padding: 12px 12px 46px; transform: rotate(-5deg); }
  .find-pola img { height: 190px; }
  .find-pola figcaption { bottom: 13px; font-size: 17px; }
  .find-tape { top: -24px; width: 150px; height: 56px; margin-left: -75px; }
}
@media (prefers-reduced-motion: reduce) { .find-ring { animation: none; } }

/* ── L'élève : photo détourée sur disque ambre + étiquettes ──
   Étiquettes placées en % de la photo. Plans : disque (0) → « À son rythme » (1) → photo (2) → autres étiquettes (3). */
.eleve { border-top: 1px solid var(--line); overflow-x: clip; }
.eleve-in { padding-top: 44px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 28px; }
.eleve-copy { display: flex; flex-direction: column; gap: 14px; }
.eleve-mark { position: relative; z-index: 0; white-space: nowrap; }
.eleve-mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 4%; height: 32%; z-index: -1; border-radius: 4px; background: var(--accent); opacity: .9; }
.eleve-text { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.eleve-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.eleve-list li { display: flex; align-items: center; gap: 10px; }
.eleve-list li::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313213C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.eleve-cta { min-height: 54px; white-space: nowrap; }
.eleve-note { font-size: 13px; color: var(--ink-3); text-align: center; }
.eleve-stage { position: relative; width: 86%; max-width: 460px; margin: 0 auto; }
/* disque ambre derrière l'élève (repris de l'option 2) */
.eleve-stage::before { content: ""; animation: eleve-breathe 6s ease-in-out infinite; position: absolute; left: 50%; top: 9%; z-index: 0; width: 108%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 10px rgba(255,255,255,.25); }
/* anneau pointillé qui tourne lentement autour du disque */
.eleve-stage::after { content: ""; position: absolute; left: 50%; top: calc(9% - 4.5%); z-index: 0; width: 117%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(19,33,60,.35); transform: translateX(-50%); animation: eleve-spin 40s linear infinite; }
@keyframes eleve-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.04; } }
@keyframes eleve-spin { to { transform: translateX(-50%) rotate(360deg); } }
.eleve-img { position: relative; z-index: 2; display: block; width: 100%; height: auto; }
.eleve-tag { position: absolute; z-index: 3; padding: 4px 10px; border-radius: 8px; background: var(--navy); color: var(--paper); font-family: var(--display); font-weight: 800; font-size: clamp(13px, 3.8vw, 17px); white-space: nowrap; transform: rotate(-3deg); }
.eleve-tag--1 { right: -6%; top: 3%; }
.eleve-tag--2 { right: -6%; top: 51%; background: var(--accent); color: var(--navy); border: 2px solid var(--navy); box-shadow: 2px 2px 0 var(--navy); transform: rotate(3deg); }
.eleve-tag--3 { left: -8%; top: 22%; z-index: 1; } /* passe derrière la photo : son bout disparaît sous le bras */
@media (min-width: 860px) {
  .eleve-in { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 56px; }
  .eleve-copy { gap: 18px; max-width: 520px; }
  .eleve-text { font-size: 18px; }
  .eleve-list { font-size: 17px; }
  .eleve-cta { align-self: flex-start; min-height: 58px; padding: 0 28px; font-size: 19px; }
  .eleve-note { text-align: left; font-size: 14px; }
  .eleve-stage { width: 84%; max-width: 580px; }
  .eleve-tag--1 { right: -10%; }
  .eleve-tag--2 { right: -16%; top: 46%; }
  .eleve-tag--3 { left: 5%; }
}

/* Animation d'entrée (classes posées par assets/eleve.js) : texte → disque → élève → flèches + étiquettes, puis flottement.
   États cachés sans transition (.eleve--anim), transitions uniquement à l'apparition (.is-in). */
.eleve--anim .eleve-copy > * { opacity: 0; transform: translateY(18px); }
.eleve--anim .eleve-mark::after { transform: scaleX(0); transform-origin: left; }
.eleve--anim .eleve-stage::before { opacity: 0; transform: translateX(-50%) scale(.3); }
.eleve--anim .eleve-stage::after { opacity: 0; }
.eleve--anim .eleve-img { opacity: 0; transform: translateY(46px); }
.eleve--anim .eleve-tag { opacity: 0; scale: .5; }

.eleve--anim.is-in .eleve-copy > * { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.eleve--anim.is-in .eleve-copy > :nth-child(2) { transition-delay: .08s; }
.eleve--anim.is-in .eleve-copy > :nth-child(3) { transition-delay: .16s; }
.eleve--anim.is-in .eleve-copy > :nth-child(4) { transition-delay: .24s; }
.eleve--anim.is-in .eleve-copy > :nth-child(5) { transition-delay: .32s; }
.eleve--anim.is-in .eleve-copy > :nth-child(6) { transition-delay: .4s; }
.eleve--anim.is-in .eleve-mark::after { transform: scaleX(1); transition: transform .6s cubic-bezier(.2,.8,.2,1) .55s; }
.eleve--anim.is-in .eleve-stage::before { opacity: 1; transform: translateX(-50%) scale(1); transition: opacity .35s ease .2s, transform .8s cubic-bezier(.3,1.4,.5,1) .2s; }
.eleve--anim.is-in .eleve-stage::after { opacity: 1; transition: opacity .8s ease .7s; }
.eleve--anim.is-in .eleve-img { opacity: 1; transform: none; transition: opacity .5s ease .4s, transform .8s cubic-bezier(.2,.8,.2,1) .4s; animation: eleve-img-float 5.5s ease-in-out 1.3s infinite; }
.eleve--anim.is-in .eleve-tag { opacity: 1; scale: 1; transition: opacity .25s ease, scale .5s cubic-bezier(.3,1.6,.5,1); animation: eleve-float 3.6s ease-in-out infinite; }
.eleve--anim.is-in .eleve-tag--1 { transition-delay: .9s; animation-delay: 1.6s; }
.eleve--anim.is-in .eleve-tag--3 { transition-delay: 1.25s; animation-delay: 2.2s; }
.eleve--anim.is-in .eleve-tag--2 { transition-delay: 1.6s; animation-delay: 2.8s; }
@media (prefers-reduced-motion: reduce) { .eleve-stage::before, .eleve-stage::after { animation: none; } }
/* l'élève flotte doucement (translate/rotate séparés de transform, qui sert à l'entrée) */
@keyframes eleve-img-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -9px; rotate: -.6deg; } }
@keyframes eleve-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ── Notre process : 3 étapes en grandes cartes, illustrations 3D sur fond nuit ──
   Téléphone : cartes empilées (illustration à gauche, texte à droite). Ordinateur : 3 cartes hautes côte à côte.
   L'étape 3 (séance offerte) est dorée. */
.process { --gold: #F5C631; background: radial-gradient(ellipse 80% 60% at 50% 45%, rgba(245,198,49,.12), transparent 70%), var(--navy-deep); color: var(--on-dark-2); }
.process-in { padding-top: 56px; padding-bottom: 56px; }
.process-head { display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center; }
.process .eyebrow { color: var(--accent); }
.process .section-title { color: var(--paper); }
.process-mark { position: relative; z-index: 0; white-space: nowrap; }
.process-mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 4%; height: 32%; z-index: -1; border-radius: 4px; background: var(--accent); opacity: .9; }
.process-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.process-step { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; background: rgba(251,250,246,.04); border: 1px solid rgba(251,250,246,.12); }
.process-step--gold { border-color: rgba(245,198,49,.55); background: rgba(245,198,49,.07); }
.process-n { position: absolute; top: 12px; right: 16px; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--gold); }
.process-ico { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(251,250,246,.16), rgba(251,250,246,.05) 70%), var(--navy-deep); border: 1px solid rgba(251,250,246,.14); display: flex; align-items: center; justify-content: center; }
.process-step--gold .process-ico { background: radial-gradient(circle at 50% 40%, rgba(245,198,49,.45), rgba(245,198,49,.1) 70%), var(--navy-deep); border-color: rgba(245,198,49,.5); }
.process-ico img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
.process-t { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.2; color: var(--paper); }
.process-p { margin-top: 2px; font-size: 14px; line-height: 1.4; }
.process-cta { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
.process-cta .btn { min-height: 52px; white-space: nowrap; }
.process-cta small { font-size: 12px; text-align: center; }
@media (min-width: 860px) {
  .process-in { padding-top: 96px; padding-bottom: 96px; }
  .process .section-title { font-size: 48px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 48px auto 0; gap: 20px; }
  .process-step { flex-direction: column; justify-content: center; text-align: center; min-height: 400px; padding: 36px 24px; gap: 22px; }
  .process-n { top: 20px; left: 24px; right: auto; font-size: 15px; }
  .process-ico { width: 170px; height: 170px; }
  .process-t { font-size: 22px; }
  .process-p { font-size: 16px; }
  .process-cta { flex-direction: row; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; }
  .process-cta .btn { padding: 0 28px; }
  .process-cta small { font-size: 13px; }
}

/* ── Chiffres : cartes sur fond sombre (juste après le formulaire) ── */
.stat-cards .container { padding-top: 44px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.stat-cards .eyebrow { color: var(--accent); }
.stat-cards .section-title { color: var(--paper); }
.stat-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: 16px; box-shadow: 5px 5px 0 var(--accent); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.stat-card-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--accent); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.stat-card strong { font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.01em; }
.stat-card small { font-size: 13px; line-height: 1.35; color: var(--ink-2); }

/* ── Subjects ────────────────────────────────────────── */
.section-head { display: flex; flex-direction: column; gap: 10px; }
.subjects-intro { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ── Séparateur règle graduée (process → Nous trouver, Nous trouver → Matières) ── */
.ruler-sep { position: relative; height: 28px; background-color: var(--accent); border-top: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
  background-image: repeating-linear-gradient(90deg, var(--navy) 0 1.5px, transparent 1.5px 40px), repeating-linear-gradient(90deg, var(--navy) 0 1px, transparent 1px 8px);
  background-size: 100% 13px, 100% 7px; background-repeat: no-repeat; }
.ruler-sep span { position: absolute; bottom: 2px; transform: translateX(-50%); font-family: var(--display); font-weight: 700; font-size: 9px; line-height: 1; color: var(--navy); }
.ruler-sep span:nth-child(even) { display: none; }
@media (min-width: 860px) { .ruler-sep { height: 32px; background-size: 100% 15px, 100% 8px; } .ruler-sep span { font-size: 10px; } .ruler-sep span:nth-child(even) { display: block; } }

/* ── Matières : fond nuit + tableau noir à la craie (sciences / lettres) ── */
.mat { color: var(--on-dark-2); background-color: var(--navy-deep);
  background-image: radial-gradient(ellipse 70% 60% at 85% 10%, rgba(232,163,61,.10), transparent 70%), linear-gradient(rgba(251,250,246,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(251,250,246,.045) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px; }
.mat-in { padding-top: 44px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 22px; }
.mat-head { display: flex; flex-direction: column; gap: 10px; }
.mat .eyebrow { color: var(--accent); }
.mat .section-title { color: var(--paper); }
.mat-mark { position: relative; z-index: 0; white-space: nowrap; }
.mat-mark::after { content: ""; position: absolute; left: -3%; right: -3%; bottom: 4%; height: 32%; z-index: -1; border-radius: 4px; background: var(--accent); opacity: .9; }
.mat-intro { font-size: 15px; line-height: 1.55; max-width: 560px; }
.mat-board { position: relative; margin-bottom: 10px; padding: 24px 18px 22px; border-radius: 16px; border: 10px solid #6B4A2B;
  background: radial-gradient(ellipse 60% 70% at 30% 30%, rgba(255,255,255,.06), transparent 70%), #1B2A2A;
  box-shadow: inset 0 0 40px rgba(0,0,0,.45), 0 16px 30px rgba(0,0,0,.35); }
.mat-board::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -18px; height: 8px; border-radius: 0 0 6px 6px; background: #4E3520; }
.mat-cols { display: grid; gap: 20px; }
.mat-board h3 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 34px; line-height: 1; color: #F7F4EC; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.mat-board ul { list-style: none; margin: 0; padding: 0; }
.mat-board li { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: 'Caveat', cursive; font-weight: 700; font-size: 25px; line-height: 1.1; color: #EDEAE0; }
.mat-board li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--accent); }
.mat-board li small { margin-left: auto; padding-left: 10px; font-size: 19px; color: rgba(237,234,224,.6); white-space: nowrap; }
.mat-cta { display: flex; flex-direction: column; gap: 8px; }
.mat-cta .btn { min-height: 54px; white-space: nowrap; }
.mat-cta small { font-size: 13px; text-align: center; }
@media (min-width: 860px) {
  .mat-in { padding-top: 96px; padding-bottom: 96px; gap: 36px; }
  .mat-head { gap: 12px; max-width: 760px; }
  .mat-intro { font-size: 17px; }
  .mat-board { padding: 38px 48px 34px; border-width: 12px; }
  .mat-cols { grid-template-columns: 1fr 1fr; gap: 64px; }
  .mat-board h3 { font-size: 44px; }
  .mat-board li { margin-top: 16px; font-size: 31px; }
  .mat-board li svg { width: 26px; height: 26px; }
  .mat-board li small { font-size: 23px; }
  .mat-cta { flex-direction: row; align-items: center; gap: 18px; }
  .mat-cta .btn { padding: 0 30px; min-height: 58px; font-size: 19px; }
  .mat-cta small { font-size: 14px; }
}

/* ── Hero photo strip (desktop) ──────────────────────── */
.hero-photos { display: flex; align-items: center; gap: 16px; align-self: flex-start; text-decoration: none; padding: 8px 18px 8px 8px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); }
.hero-photos:hover { border-color: var(--navy); }
.hero-photos-row { display: flex; }
.hero-photos-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 2px solid #fff; }
.hero-photos-row img + img { margin-left: -14px; }
.hero-photos-copy { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.hero-photos-copy span { font-size: 14px; color: var(--ink-3); }

/* ── Comparison ──────────────────────────────────────── */


/* ── Why ─────────────────────────────────────────────── */

/* ── Steps ───────────────────────────────────────────── */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
.step { background: #fff; border: 2px solid var(--navy); border-radius: 16px; padding: 18px; display: flex; gap: 16px; align-items: center; }
.step-num { flex: 0 0 auto; font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.step p { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.step--dark { background: var(--navy); color: var(--paper); }
.step--dark .step-num { color: var(--accent); }
.step--dark p { color: var(--on-dark-2); }

/* ── Gallery ─────────────────────────────────────────── */
.gallery-section { padding-top: 44px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }

/* ── Le centre : carrousel centré ────────────────────── */
/* Bleeds to the container edges; sizes use container query units (cqw) of .peek. */
.peek { margin: 0 -16px; container-type: inline-size; display: flex; flex-direction: column; gap: 14px; }
.peek-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 11cqw; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.peek-track::-webkit-scrollbar { display: none; }
.peek-slide { position: relative; flex: 0 0 78cqw; aspect-ratio: 4 / 5; margin: 0; border-radius: 18px; overflow: hidden; scroll-snap-align: center; background: var(--sand); transform: scale(.9); opacity: .55; transition: transform .35s, opacity .35s; cursor: pointer; }
.peek-slide.is-active { transform: scale(1); opacity: 1; cursor: default; }
.peek-slide img { width: 100%; height: 100%; object-fit: cover; }
.peek-slide figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(251,250,246,.95); font-size: 13px; font-weight: 600; }
.peek-dots { display: flex; justify-content: center; gap: 8px; }
.peek-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--line-strong); cursor: pointer; transition: width .25s, background .25s; }
.peek-dot.is-active { width: 26px; background: var(--navy); }
.peek-dot:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* The carousel track must never widen the page on phones. */
.gallery-section { overflow-x: clip; }

/* ── Testimonials ────────────────────────────────────── */
.proof-section { padding-top: 44px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 16px; }
.proof-section[hidden] { display: none; }
.proof-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
.proof-list::-webkit-scrollbar { display: none; }
.proof { flex: 0 0 85%; scroll-snap-align: start; margin: 0; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.proof-mark { font-family: var(--display); font-size: 52px; font-weight: 800; line-height: .5; color: var(--accent); }
.proof blockquote { margin: 0; font-size: 15px; line-height: 1.55; flex: 1 1 auto; }
.proof figcaption { font-size: 13px; color: var(--ink-3); }
.proof figcaption strong { color: var(--navy); }

/* ── FAQ ──────────────────────────────────── */


/* ── Comparatif : page de cahier ✗ / ✓ ──
   Téléphone : l'image (assets/img/comparatif-mobile.webp), la version HTML reste lisible par les lecteurs d'écran.
   Ordinateur : la même page de cahier en HTML (spirale, lignes, marge rouge, écriture Caveat). */
.cmp { border-top: 1px solid var(--line); }
.cmp-in { padding-top: 40px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 18px; }
.cmp-head { display: flex; flex-direction: column; gap: 8px; }
.cmp-img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; filter: drop-shadow(5px 6px 0 rgba(19,33,60,.9)); }
.cmp-page { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 860px) {
  .cmp-in { padding-top: 88px; padding-bottom: 48px; gap: 28px; align-items: center; }
  .cmp-head { align-items: center; text-align: center; }
  .cmp-img { display: none; }
  .cmp-page { position: relative; width: 100%; max-width: 880px; height: auto; overflow: visible; clip: auto; white-space: normal; padding: 44px 40px 26px 84px; background: #fff repeating-linear-gradient(transparent 0 39px, rgba(53,87,201,.16) 39px 40px); border: 2px solid var(--navy); border-radius: 14px; box-shadow: 8px 8px 0 var(--navy); }
  .cmp-page::before { content: ""; position: absolute; top: 0; bottom: 0; left: 60px; width: 2px; background: rgba(194,49,43,.5); }
  .cmp-spiral { position: absolute; left: 0; right: 0; top: -14px; width: 100%; height: 28px; }
  .cmp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; font-family: 'Caveat', cursive; font-weight: 700; font-size: 28px; line-height: 40px; }
  .cmp-cols h3 { font-family: 'Caveat', cursive; font-size: 34px; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
  .cmp-cols .cmp-t { color: var(--ink-3); }
  .cmp-cols h3.cmp-t { color: #C2312B; text-decoration-color: #C2312B; }
  .cmp-cols .cmp-u { color: var(--navy); }
  .cmp-cols h3.cmp-u { text-decoration-color: var(--accent); }
  .cmp-cols p.cmp-t::before { content: "✗ "; color: #C2312B; }
  .cmp-cols p.cmp-u::before { content: "✓ "; color: var(--svt); }
}

/* ── FAQ : titre + bouton à gauche (collants sur ordinateur), questions à droite ── */
.faq-in { padding-top: 24px; padding-bottom: 24px; display: grid; gap: 22px; }
.faq-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.faq-intro { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.faq-cta { align-self: stretch; min-height: 52px; white-space: nowrap; margin-top: 4px; }
.faq-note { font-size: 13px; color: var(--ink-3); align-self: center; }
.faq-list { border-top: 1.5px solid var(--navy); }
.faq-list details { border-bottom: 1.5px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.25; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); transition: background .2s; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy); transition: transform .25s; }
.faq-sign::after { transform: rotate(90deg); }
.faq-list details[open] .faq-sign { background: var(--accent); }
.faq-list details[open] .faq-sign::after { transform: rotate(0); }
.faq-list details p { padding: 0 44px 18px 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
@media (min-width: 860px) {
  .faq-in { padding-top: 56px; padding-bottom: 40px; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-side { position: sticky; top: 96px; gap: 16px; }
  .faq-intro { font-size: 17px; max-width: 380px; }
  .faq-cta { align-self: flex-start; min-height: 56px; padding: 0 28px; }
  .faq-note { align-self: flex-start; font-size: 14px; }
  .faq-list summary { font-size: 20px; padding: 22px 0; }
  .faq-sign { width: 34px; height: 34px; }
  .faq-list details p { font-size: 16px; padding-bottom: 22px; }
}

/* ── Final CTA : bannière navy + ambre (couleurs de la page) avec élève détouré ──
   Couleurs de la page : ambre --accent (#E8A33D), navy --navy-deep / --navy.
   Mobile : texte puis visuel empilés. Ordinateur : texte à gauche, élève à droite. */
.final-cta { --gold: var(--accent); --gold-soft: #F2BD6A; }
.final-cta .container { padding-top: 16px; padding-bottom: 48px; }
.cta-card { position: relative; overflow: hidden; border-radius: 24px; background: radial-gradient(ellipse 55% 80% at 78% 55%, rgba(232,163,61,.18), transparent 70%), linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%); color: #fff; display: flex; flex-direction: column; box-shadow: 0 24px 50px rgba(10,20,38,.22); }
.cta-copy { position: relative; z-index: 3; padding: 34px 22px 8px; display: flex; flex-direction: column; gap: 16px; }
.cta-copy h2 { font-size: 31px; line-height: 1.06; letter-spacing: -.02em; color: var(--paper); }
.cta-copy h2 span { color: var(--gold); white-space: nowrap; }
.cta-copy p { font-size: 16px; line-height: 1.5; color: var(--on-dark-2); max-width: 460px; }
.cta-btn { align-self: stretch; min-height: 56px; border-radius: 14px; background: var(--gold); color: var(--navy); font-size: 17px; white-space: nowrap; box-shadow: 0 8px 24px rgba(232,163,61,.3); }
.cta-btn:hover { color: var(--navy); background: var(--gold-soft); }
.cta-note { font-size: 13px; color: var(--on-dark-2); opacity: .8; text-align: center; }
.cta-visual { position: relative; height: 340px; margin-top: 8px; }
.cta-blob { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--gold-soft), var(--gold) 55%, #D99325); }
.cta-blob--1 { width: 250px; height: 250px; left: 50%; top: 14px; margin-left: -225px; }
.cta-blob--2 { width: 230px; height: 230px; left: 50%; bottom: -90px; margin-left: -10px; }
.cta-ring { position: absolute; width: 230px; height: 230px; left: 50%; bottom: -70px; margin-left: -210px; border-radius: 50%; border: 2px solid var(--gold); border-right-color: transparent; border-top-color: transparent; transform: rotate(10deg); opacity: .8; }
.cta-student { position: absolute; z-index: 2; left: 50%; bottom: 0; width: auto; height: 100%; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.cta-hand { position: absolute; z-index: 3; right: 14px; top: 18px; margin: 0; font-family: 'Caveat', cursive; font-weight: 700; font-size: 25px; line-height: 1.05; color: var(--gold); text-align: center; transform: rotate(-8deg); }
.cta-doodle { position: absolute; z-index: 3; color: var(--gold); }
.cta-doodle--1 { width: 26px; right: 22px; top: 96px; }
.cta-doodle--2 { width: 18px; left: 18px; top: 40px; opacity: .8; }
@media (min-width: 860px) {
  .final-cta .container { padding-top: 24px; padding-bottom: 88px; }
  .cta-card { flex-direction: row; align-items: stretch; min-height: 360px; border-radius: 28px; }
  .cta-copy { flex: 1 1 54%; justify-content: center; padding: 56px 0 56px 64px; gap: 20px; }
  .cta-copy h2 { font-size: clamp(40px, 4vw, 56px); }
  .cta-copy p { font-size: 18px; }
  .cta-btn { align-self: flex-start; min-height: 58px; padding: 0 30px; font-size: 18px; }
  .cta-note { text-align: left; font-size: 14px; }
  .cta-visual { flex: 1 1 46%; height: auto; margin: 0; }
  .cta-blob--1 { width: 310px; height: 310px; left: 2%; top: -110px; margin: 0; }
  .cta-blob--2 { width: 300px; height: 300px; left: 40%; bottom: -130px; margin: 0; }
  .cta-ring { width: 300px; height: 300px; left: -4%; bottom: -150px; margin: 0; }
  .cta-student { left: 44%; height: calc(100% - 18px); }
  .cta-hand { right: 22px; top: 40px; font-size: 32px; }
  .cta-doodle--1 { width: 32px; right: 44px; top: 150px; }
  .cta-doodle--2 { width: 22px; left: auto; right: 28px; top: 14px; }
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: var(--on-dark-2); font-size: 13px; line-height: 1.6; }
.site-footer .container { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: space-between; }
.site-footer strong { color: var(--paper); }
.site-footer a { color: var(--on-dark-2); }
.has-sticky .site-footer .container { padding-bottom: 104px; }
.footer-halo { background: radial-gradient(ellipse 60% 120% at 50% 130%, rgba(232,163,61,.22), transparent 70%), var(--navy-deep); color: var(--on-dark-2); }
.footer-halo-in { padding-top: 26px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.footer-halo-top { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-halo-slogan { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.15; letter-spacing: -.015em; color: var(--paper); }
.footer-halo-mark { position: relative; z-index: 0; white-space: nowrap; }
.footer-halo-mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 4%; height: 32%; z-index: -1; border-radius: 4px; background: var(--accent); opacity: .9; }
.footer-halo-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; font-size: 14px; font-weight: 400; }
.footer-halo-links a { color: var(--on-dark-2); opacity: .7; text-decoration: none; padding: 6px 0; transition: opacity .15s; }
.footer-halo-links a:hover { color: var(--paper); opacity: 1; }
.footer-halo-legal { padding-top: 12px; border-top: 1px solid rgba(251,250,246,.1); font-size: 12px; opacity: .75; }

/* Footer de la landing : halo ambre qui monte du bas + slogan (.site-footer reste pour la page merci) */

/* ── Mobile sticky CTA ───────────────────────────────── */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(19,33,60,.12); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; transition: transform .25s ease; }
.sticky-cta .btn { flex: 1 1 auto; min-height: 54px; }
.sticky-cta.is-hidden { transform: translateY(110%); }

/* ── Thank-you page ──────────────────────────────────── */
.page-merci { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.thanks { flex: 1 0 auto; position: relative; overflow: hidden; }
.thanks-in { position: relative; padding-top: 36px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.thanks h1 { font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.thanks-lead { max-width: 420px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
/* Prochaine étape : mini parcours en 3 étapes, l'étape en cours (l'appel) est mise en avant. */
.next { width: 100%; max-width: 560px; margin-top: 16px; padding: 18px 18px 6px; background: #fff; border: 2px solid var(--navy); border-radius: 18px; box-shadow: 5px 5px 0 var(--navy); text-align: left; }
.next-title { margin-bottom: 14px; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
.next-steps { margin: 0; padding: 0; list-style: none; }
.next-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.next-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); }
.next-steps li.is-done::before { background: var(--svt); }
.next-dot { position: relative; z-index: 1; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--line-strong); color: var(--ink-3); font-family: var(--display); font-weight: 800; font-size: 15px; }
.is-done .next-dot { background: var(--svt); border-color: var(--svt); color: #fff; }
.is-now .next-dot { background: var(--accent); border-color: var(--navy); color: var(--navy); animation: next-ring 1.8s ease-out infinite; }
.next-steps li > div { min-width: 0; padding-top: 7px; display: flex; flex-direction: column; gap: 3px; }
.next-steps strong { font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.25; }
.next-steps li > div > span { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.is-done strong { color: var(--svt); }
.next-steps .is-now > div { margin-top: -4px; padding: 10px 12px; border-radius: 12px; background: #FDF3E1; }
.is-now strong { font-size: 17px; }
.is-now em { font-style: normal; background: linear-gradient(transparent 58%, rgba(232,163,61,.55) 58%); }
.is-now > div > span { color: var(--ink-2); }
@keyframes next-ring { 0% { box-shadow: 0 0 0 0 rgba(232,163,61,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(232,163,61,0); } }
@media (prefers-reduced-motion: reduce) { .is-now .next-dot { animation: none; } }
.btn-whatsapp { width: 100%; max-width: 560px; margin-top: 14px; background: #1DA851; color: #fff; border: 2px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); }
.btn-whatsapp:hover { color: #fff; background: #189345; }
.btn-whatsapp[hidden] { display: none; }
/* Coche animée : le cercle se dessine, puis la coche, puis un petit rebond. */
.thanks-check { margin-bottom: 4px; animation: check-pop .35s cubic-bezier(.3,1.6,.6,1) .95s both; }
.thanks-check circle { stroke: var(--svt); fill: #E7F3EC; stroke-dasharray: 151; stroke-dashoffset: 151; animation: check-draw .6s ease-out forwards; }
.thanks-check path { stroke: var(--svt); stroke-dasharray: 36; stroke-dashoffset: 36; animation: check-draw .35s ease-out .6s forwards; }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
@keyframes check-pop { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .thanks-check, .thanks-check circle, .thanks-check path { animation: none; stroke-dashoffset: 0; } }

/* ── Desktop ─────────────────────────────────────────── */
@media (min-width: 860px) {
  .peek { margin: 0 -24px; gap: 18px; }
  .peek-track { gap: 20px; padding: 6px 22cqw; }
  .peek-slide { flex-basis: 56cqw; aspect-ratio: 16 / 10; border-radius: 22px; }
  .peek-slide figcaption { left: 16px; bottom: 16px; font-size: 14px; }



  .stat-cards .container { padding-top: 96px; padding-bottom: 96px; gap: 36px; }
  .stat-cards-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stat-card { padding: 22px; gap: 10px; border-radius: 20px; box-shadow: 7px 7px 0 var(--accent); }
  .stat-card strong { font-size: 34px; }
  .stat-card small { font-size: 15px; }

  html { scroll-padding-top: 88px; }
  .container { padding-left: 24px; padding-right: 24px; }

  .m-only { display: none !important; }
  .grid-paper, .grid-dark { background-size: 28px 28px; }
  .eyebrow { font-size: 27px; }
  .section-title { font-size: clamp(32px, 3.8vw, 48px); }

  .site-header .container { padding-top: 12px; padding-bottom: 12px; gap: 12px 24px; }
  .brand-lockup { height: 60px; }
  .gallery-section { padding-top: 96px; padding-bottom: 64px; gap: 36px; }
  .proof-section { padding-top: 96px; padding-bottom: 0; gap: 36px; }
  .proof-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .proof { border-radius: 20px; padding: 28px; gap: 18px; }
  .proof-mark { font-size: 64px; }
  .proof blockquote { font-size: 17px; line-height: 1.6; }
  .proof figcaption { font-size: 14px; }
  .inline-cta { flex-direction: row; align-items: center; justify-content: center; gap: 18px; }
  .inline-cta span { font-size: 15px; }
  .site-nav .nav-link { display: inline; }
  .nav-cta { padding: 0 18px !important; font-size: 15px; }

  .hero::before, .thanks::before { background-size: 440px 440px; opacity: .12; }
  .hero-inner { padding-top: 72px; padding-bottom: 88px; gap: 56px; }
  .hero-copy { gap: 26px; }
  .pill { gap: 10px; padding: 8px 16px 8px 8px; font-size: 14px; }
  .pill-tag { padding: 3px 10px; font-size: 12px; }
  .hero h1 { font-size: clamp(40px, 5.4vw, 68px); }
  .underline svg { bottom: -10px; height: 16px; }
  .hero-lead { font-size: 20px; line-height: 1.55; }
  .hero-ctas { display: flex; }
  .hero-ctas .btn { font-size: 18px; font-weight: 700; }
  .hero-meta { gap: 10px 24px; font-size: 15px; padding-top: 6px; }
  .hero-meta > span { gap: 8px; }

  .form-card { max-width: 460px; border-radius: 22px; box-shadow: 10px 10px 0 var(--navy); padding: 30px; }
  .lead-form { gap: 18px; }
  .form-head { gap: 8px; }
  .offer-tag { padding: 5px 11px; border-radius: 8px; font-size: 13px; }
  .form-head h2 { font-size: 30px; }
  .form-head p { font-size: 15px; }
  .segmented { gap: 6px; }
  .segmented span { font-size: 14px; padding: 0 6px; }
  .form-submit { min-height: 58px; font-size: 19px; }
  .form-note { font-size: 13px; }


  .subjects-head { flex-direction: row; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; }
  .subjects-head .section-head { max-width: 640px; gap: 12px; }
  .subjects-intro { max-width: 380px; font-size: 16px; }



  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .step { border-radius: 20px; padding: 26px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .step-num { font-size: 56px; }
  .step h3 { font-size: 22px; margin-bottom: 0; }
  .step p { font-size: 16px; line-height: 1.55; }
  .step > div { display: flex; flex-direction: column; gap: 12px; }



  .site-footer { font-size: 14px; }
  .site-footer .container, .has-sticky .site-footer .container { padding-top: 32px; padding-bottom: 32px; }
  .footer-halo-in { padding-top: 30px; padding-bottom: 22px; gap: 16px; text-align: left; }
  .footer-halo-top { flex-direction: row; justify-content: space-between; gap: 24px; }
  .footer-halo-slogan { font-size: 24px; }
  .footer-halo-links { gap: 4px 26px; font-size: 15px; }
  .footer-halo-legal { font-size: 13px; }
  .sticky-cta { display: none; }

  .thanks-in { padding-top: 56px; padding-bottom: 72px; }
  .thanks h1 { font-size: 52px; }
  .thanks-lead { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation-duration: 2s; }
  .sticky-cta, .faq-sign::after { transition: none; }
}

/* Mobile fold: keep the first form fields visible in the Facebook in-app browser. */
@media (max-width: 859px) {
  .d-only { display: none !important; }
  .hero-inner { padding-top: 20px; gap: 16px; }
  .hero-copy { gap: 14px; }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 16px; }
  .form-card { margin-top: 4px; }
  .lead-form { gap: 14px; }
}

/* Keep the main CTA on one line on small phones. */
.form-submit { white-space: nowrap; padding: 0 14px; }
@media (max-width: 379px) {
  .form-submit { font-size: 17px; }
  .form-submit .arrow { display: none; }
}

/* ── Vidéo de présentation (VSL), dans le hero sous le sous-titre ── */
.vsl-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 2px solid var(--navy); border-radius: 16px; overflow: hidden; background: #FFFFFF; box-shadow: 5px 5px 0 var(--accent); }
.vsl-frame wistia-player { display: block; width: 100%; height: 100%; }
/* Aperçu (image + bouton lecture) posé sur le lecteur jusqu'à ce qu'il soit prêt — assets/video.js */
.vsl-facade { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #fff; cursor: pointer; }
.vsl-facade img { width: 100%; height: 100%; object-fit: cover; }
.vsl-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--navy); border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--navy); transition: transform .15s ease; }
.vsl-play svg { margin-left: 4px; }
.vsl-facade:hover .vsl-play { transform: scale(1.06); }
.vsl-frame.is-loading .vsl-play { animation: vsl-pulse 1s ease-in-out infinite; }
.vsl-frame.is-ready .vsl-facade { display: none; }
@keyframes vsl-pulse { 50% { transform: scale(.9); opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .vsl-frame.is-loading .vsl-play { animation: none; } }

@media (min-width: 860px) {
  .vsl-frame { border-radius: 20px; box-shadow: 8px 8px 0 var(--accent); }
}


/* ── Assistant (page merci, dans la page) ── */
.chat-card { width: 100%; max-width: 560px; margin-top: 4px; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--navy); border-radius: 18px; box-shadow: 5px 5px 0 var(--navy); overflow: hidden; text-align: left; }
.chat-card[hidden] { display: none; }
.chat-log { height: 320px; overflow-y: auto; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.chat-msg { max-width: 85%; padding: 10px 13px; border-radius: 16px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-row { align-self: flex-start; max-width: 90%; display: flex; align-items: flex-end; gap: 8px; }
.chat-row .chat-msg { max-width: none; }
.chat-ava { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--navy); }
.chat-log > .chat-row:first-child .chat-msg { font-size: 16px; font-weight: 600; }
.chat-msg--bot { align-self: flex-start; background: var(--sand); border-bottom-left-radius: 4px; color: var(--navy); }
.chat-msg--user { align-self: flex-end; background: var(--navy); color: var(--paper); border-bottom-right-radius: 4px; white-space: pre-wrap; }
.chat-msg a { color: var(--maths); }
.chat-typing { display: flex; gap: 4px; padding: 14px 16px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: .35; animation: chat-dot 1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1 1 auto; min-height: 52px; max-height: 120px; padding: 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--paper); color: var(--navy); font: inherit; font-size: 16px; line-height: 1.35; resize: none; }
.chat-form textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--navy); }
.chat-send { flex: 0 0 auto; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--accent); color: var(--navy); cursor: pointer; }
.chat-send:disabled { opacity: .5; cursor: default; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat-typing i { animation: none; } }
@media (min-width: 860px) {
  .chat-log { height: 380px; padding: 16px 16px 12px; }
  .next { padding: 22px 24px 8px; }
}
