/* =========================================================
   ASTÉRIA ACADÉMIE — Feuille de style principale
   « Comprendre avant d'apprendre »
   ========================================================= */

/* ---------- Polices ----------
   Titres : Adlery Swash. Dépose le fichier de la police dans
   assets/fonts/ sous le nom "adlery-swash.woff2" (ou .otf / .ttf)
   et il sera utilisé automatiquement. En attendant, Playfair Display
   prend le relais. */
@font-face {
  font-family: "Adlery Swash";
  src: local("Adlery Swash"), local("AdlerySwash"), local("Adlery Pro Swash"),
       url("../fonts/adlery-swash.woff2") format("woff2"),
       url("../fonts/adlery-swash.otf") format("opentype"),
       url("../fonts/adlery-swash.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Dancing Script"; /* écriture manuscrite des accroches (licence SIL OFL) */
  src: url("../fonts/dancing-script.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

/* ---------- Palette ---------- */
:root {
  /* Couleurs fournies */
  --bleu: #99ACFF;        /* couleur principale */
  --nuit: #1E235B;        /* textes, fonds sombres */
  --lavande: #E9E6FF;     /* lavande clair (validée) */
  --creme: #FFF7E6;       /* fond de page */
  --or: #F4C56B;          /* étoiles, accents, boutons */

  /* Teintes complémentaires proposées */
  --encre: #4F5FC7;       /* bleu plus soutenu : liens lisibles sur fond clair */
  --nuit-profonde: #141845;/* pied de page, ombres */
  --or-fonce: #C9952F;    /* or lisible sur fond clair */
  --blanc: #FFFFFF;

  --texte: var(--nuit);
  --texte-doux: #4A4F80;

  --font-titre: "Adlery Swash", "Playfair Display", "Times New Roman", serif;
  --font-texte: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-manuscrite: "Dancing Script", "Segoe Script", cursive;

  --radius: 22px;
  --radius-sm: 12px;
  --ombre: 0 18px 45px -20px rgba(30, 35, 91, .35);
  --ombre-douce: 0 8px 24px -12px rgba(30, 35, 91, .25);
  --largeur: 1140px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--texte);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--encre); text-underline-offset: 3px; }
a:hover { color: var(--nuit); }
h1, h2, h3, h4 { font-family: var(--font-titre); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; color: var(--nuit); }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 3.5vw, 1.7rem); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--or); color: var(--nuit); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--or); color: var(--nuit); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.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 { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 780px; }
.section { padding-block: clamp(56px, 10vw, 110px); position: relative; }
.section--lavande { background: var(--lavande); }
.section--nuit { background: var(--nuit); color: var(--creme); }
.section--nuit h2, .section--nuit h3 { color: var(--blanc); }
.center { text-align: center; }
.lead { font-size: clamp(1.02rem, 2.4vw, 1.15rem); color: var(--texte-doux); }
.section--nuit .lead { color: var(--lavande); }

/* Petit sur-titre avec étoile */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: clamp(.9rem, 2.6vw, 1.05rem); letter-spacing: .16em; text-transform: uppercase;
  color: var(--encre); margin-bottom: .9rem; font-weight: 700;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 16px; height: 16px; background: var(--or); clip-path: var(--etoile4); flex: none; }
.section--nuit .eyebrow { color: var(--or); }
.path__visual .eyebrow, .call-card .eyebrow { letter-spacing: .12em; }
.path__visual .eyebrow::before, .call-card .eyebrow::before,
.path__visual .eyebrow::after, .call-card .eyebrow::after { display: none; }

:root { --etoile4: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.sparkle { display: inline-block; width: 1em; height: 1em; background: var(--or); clip-path: var(--etoile4); vertical-align: -.1em; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--or); --fg: var(--nuit);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.7rem; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font: 700 1rem/1.2 var(--font-texte);
  text-decoration: none; cursor: pointer; overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(244, 197, 107, .75);
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
}
.btn::after { /* reflet qui traverse le bouton */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transition: transform .7s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 16px 36px -12px rgba(244, 197, 107, .9); }
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn .sparkle { width: .9em; height: .9em; background: currentColor; }
.btn--ghost { --bg: transparent; --fg: var(--blanc); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn--ghost:hover { --bg: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px var(--blanc); }
.btn--nuit { --bg: var(--nuit); --fg: var(--creme); box-shadow: var(--ombre-douce); }
.btn--nuit:hover { --fg: var(--creme); box-shadow: var(--ombre); }
.btn--outline { --bg: transparent; --fg: var(--nuit); box-shadow: inset 0 0 0 2px var(--nuit); }
.btn--outline:hover { --bg: var(--nuit); --fg: var(--creme); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s;
}
.site-header.is-scrolled, .menu-open .site-header {
  background: rgba(30, 35, 91, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
/* le flou crée un bloc conteneur qui casserait le menu plein écran : on le retire quand le menu est ouvert */
.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--nuit); }
.hero .eyebrow { color: var(--or); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h); max-width: 1280px; margin-inline: auto; padding-inline: 20px;
}
.logo { display: block; flex: none; order: 0; }
.logo img { height: 52px; width: auto; filter: drop-shadow(0 2px 10px rgba(20, 24, 69, .45)); }

.main-nav { order: 1; margin-left: auto; }
.main-nav a.nav-cta { margin-left: 8px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a, .submenu-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--blanc); text-decoration: none; font-size: .9rem;
  padding: .55rem .75rem; border-radius: 999px; background: none; border: 0; font-family: inherit; cursor: pointer;
  text-shadow: 0 1px 8px rgba(20, 24, 69, .5); white-space: nowrap;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .submenu-toggle:hover { background: rgba(255,255,255,.14); color: var(--blanc); }
.main-nav a[aria-current="page"], .main-nav .is-active > a, .main-nav .is-active > .submenu-toggle { color: var(--or); }
.main-nav a.nav-cta { background: var(--or); color: var(--nuit); text-shadow: none; font-weight: 700; }
.main-nav a.nav-cta:hover { background: #ffd98c; color: var(--nuit); }
.main-nav a.nav-cta[aria-current="page"] { color: var(--nuit); box-shadow: 0 0 0 2px var(--blanc); }

.has-submenu { position: relative; display: flex; align-items: center; }
.has-submenu > a { padding-right: .2rem; }
.submenu-toggle { padding-left: .2rem; padding-right: .5rem; }
.submenu-toggle svg { width: 12px; height: 12px; transition: transform .25s; }
.submenu {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  background: var(--blanc); border-radius: 16px; box-shadow: var(--ombre);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.submenu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu, .has-submenu.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.has-submenu:hover .submenu-toggle svg, .has-submenu.is-open .submenu-toggle svg { transform: rotate(180deg); }
.submenu a { display: block; color: var(--nuit); text-shadow: none; border-radius: 10px; padding: .6rem .9rem; white-space: normal; }
.submenu a:hover { background: var(--lavande); color: var(--nuit); }
.submenu a[aria-current="page"] { color: var(--encre); }
.submenu .sub-anchor { padding-left: 1.9rem; font-size: .84rem; color: var(--texte-doux); position: relative; }
.submenu .sub-anchor::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--or); clip-path: var(--etoile4); }

.burger {
  order: 2; display: none; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: var(--blanc); cursor: pointer; position: relative;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .2s, top .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; right: 20px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 23px; right: 13px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 99;
    background: radial-gradient(ellipse at 70% 0%, #2f3790 0%, var(--nuit) 55%, var(--nuit-profonde) 100%);
    padding: 24px 24px calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .main-nav::before { /* poussière d'étoiles */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
    background-image:
      radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%),
      radial-gradient(1px 1px at 80% 20%, #fff 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 60% 70%, var(--or) 50%, transparent 51%),
      radial-gradient(1px 1px at 35% 85%, #fff 50%, transparent 51%),
      radial-gradient(1px 1px at 90% 60%, #fff 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 10% 65%, #fff 50%, transparent 51%);
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { position: relative; flex-direction: column; align-items: stretch; gap: 4px; max-width: 480px; margin-inline: auto; }
  .main-nav a, .submenu-toggle { font-size: 1.1rem; padding: .85rem 1rem; width: 100%; border-radius: 14px; white-space: normal; }
  .main-nav a.nav-cta { justify-content: center; margin-top: 10px; }
  .has-submenu { flex-wrap: wrap; }
  .has-submenu > a { width: auto; flex: 1; }
  .submenu-toggle { width: 52px; flex: none; justify-content: center; }
  .submenu-toggle svg { width: 16px; height: 16px; }
  .submenu {
    position: static; width: 100%; min-width: 0; background: rgba(255,255,255,.07); box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none; margin: 4px 0 8px;
  }
  .has-submenu:hover .submenu { display: none; }
  .has-submenu.is-open .submenu { display: block; }
  .submenu a { color: var(--lavande); font-size: 1rem; }
  .submenu a:hover { background: rgba(255,255,255,.1); color: var(--blanc); }
  .submenu .sub-anchor { color: var(--bleu); font-size: .95rem; }
  .menu-open { overflow: hidden; }
}
@media (min-width: 1121px) and (max-width: 1260px) {
  .main-nav a, .submenu-toggle { font-size: .84rem; padding-inline: .55rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--blanc); background: var(--nuit);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 40px) 20px 120px;
}
.hero--page { min-height: 62vh; min-height: 62svh; padding-bottom: 110px; }
/* Ciel étoilé dessiné en CSS : net à toutes les tailles d'écran.
   Pour revenir à la photo Canva, remplace "background: var(--ciel)" par :
   background: url("../img/fond-etoile.jpg") center 30% / cover no-repeat; */
:root {
  --ciel:
    radial-gradient(ellipse 55% 40% at 74% 26%, rgba(153,172,255,.50), transparent 70%),
    radial-gradient(ellipse 45% 35% at 18% 72%, rgba(244,197,107,.14), transparent 70%),
    radial-gradient(ellipse 70% 50% at 38% 42%, rgba(120,100,210,.38), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(153,172,255,.55), transparent 70%),
    linear-gradient(165deg, #10143A 0%, #1E235B 38%, #343B8C 72%, #5F6FCF 100%);
  --poussiere:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 37% 64%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 58% 26%, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 78%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 88% 12%, rgba(244,197,107,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 88%, rgba(200,210,255,.8) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 66% 52%, rgba(255,255,255,.8) 50%, transparent 51%);
}
.hero__bg {
  position: absolute; inset: -12% 0 -12% 0; z-index: -3;
  background: var(--ciel);
  will-change: transform;
}
.hero__bg::before { /* la Voie lactée */
  content: ""; position: absolute; left: -20%; right: -20%; top: 30%; height: 38%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(214,222,255,.30), rgba(153,172,255,.10) 55%, transparent 75%);
  transform: rotate(-24deg); filter: blur(18px);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: var(--poussiere); background-size: 220px 220px; opacity: .5; }
.hero__veil { /* voile pour la lisibilité du texte */
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(30,35,91,.15), rgba(30,35,91,.55) 100%),
    linear-gradient(180deg, rgba(20,24,69,.55) 0%, rgba(30,35,91,.25) 40%, rgba(30,35,91,.45) 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__content { position: relative; max-width: 860px; }
.hero__title {
  font-family: var(--font-titre); color: var(--blanc); font-size: clamp(3rem, 12vw, 6.6rem);
  line-height: 1; margin: 0 0 .25em; text-shadow: 0 4px 30px rgba(20,24,69,.55);
  position: relative; display: inline-block;
}
.hero__title .star-i { position: relative; }
.hero__title .star-i::after { /* l'étoile dorée du logo */
  content: ""; position: absolute; left: 50%; top: .17em; width: .2em; height: .2em; margin-left: -.1em;
  background: var(--or); clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  animation: twinkle 3.2s ease-in-out infinite;
}
.hero__title .star-i:nth-of-type(2)::after { animation-delay: 1.4s; }
.hero__tagline {
  font-family: var(--font-titre); font-size: clamp(1.5rem, 5.4vw, 2.5rem); color: var(--or); margin: 0 0 1.1rem;
  text-shadow: 0 2px 18px rgba(20,24,69,.6);
}
.hero__text { font-size: clamp(1rem, 2.8vw, 1.22rem); max-width: 640px; margin: 0 auto .4rem; text-shadow: 0 1px 12px rgba(20,24,69,.7); }
.hero__levels {
  display: inline-flex; align-items: center; gap: .7rem; margin: .6rem 0 2rem;
  font-style: italic; color: var(--lavande); font-size: clamp(.95rem, 2.5vw, 1.1rem);
}
.hero__levels::before, .hero__levels::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--or)); }
.hero__levels::after { transform: scaleX(-1); }
.hero .btn-row { justify-content: center; }
.hero--page .hero__title { font-size: clamp(2.5rem, 9vw, 4.6rem); display: block; }
.hero .eyebrow { display: flex; justify-content: center; }
.hero--page .hero__text { max-width: 620px; }

.breadcrumb { font-size: .82rem; margin-bottom: 1rem; color: var(--lavande); }
.breadcrumb a { color: var(--lavande); }
.breadcrumb a:hover { color: var(--or); }
.breadcrumb span[aria-hidden] { margin-inline: .4rem; color: var(--or); }

.hero__horizon { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: 90px; color: var(--creme); }
.hero__horizon--lavande { color: var(--lavande); }
.scroll-hint {
  position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.6);
}
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--or); animation: scrollhint 1.8s ease-in-out infinite; }

@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.35) rotate(18deg); opacity: .8; } }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Étincelles au clic */
.spark { position: fixed; z-index: 500; width: 12px; height: 12px; pointer-events: none; background: var(--or); clip-path: var(--etoile4); animation: spark .9s ease-out forwards; }
@keyframes spark { from { opacity: 1; transform: translate(0,0) scale(1) rotate(0); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2) rotate(140deg); } }

/* ---------- Révélation au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  position: relative; background: var(--blanc); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--ombre-douce); border: 1px solid rgba(153,172,255,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--bleu), #7d8ff0); color: var(--blanc); box-shadow: 0 10px 22px -10px var(--bleu);
}
.card__icon svg { width: 28px; height: 28px; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link .more { display: inline-flex; align-items: center; gap: .4rem; color: var(--encre); font-weight: 700; margin-top: .6rem; }
.card--link:hover .more { gap: .7rem; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }

/* ---------- Accueil : promesses ---------- */
.intro { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.05fr 1fr; gap: 70px; } }
.intro__quote {
  position: relative; padding: 36px 30px; border-radius: var(--radius);
  background: var(--nuit); color: var(--creme); overflow: hidden; box-shadow: var(--ombre);
}
.intro__quote::before { content: "“"; position: absolute; top: -30px; right: 18px; font-family: var(--font-titre); font-size: 10rem; color: var(--bleu); opacity: .25; line-height: 1; }
.intro__quote p { font-family: var(--font-titre); font-size: clamp(1.5rem, 4.2vw, 2.05rem); line-height: 1.3; color: var(--blanc); margin-bottom: .6em; }
.intro__quote .sig { font-family: var(--font-texte); font-size: .9rem; font-style: italic; color: var(--or); }

/* ---------- Constellation des étapes ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 26px; position: relative; counter-reset: step; }
.steps::before { /* le fil de la constellation */
  content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--bleu) 0 6px, transparent 6px 12px);
}
.step { position: relative; padding-left: 80px; counter-increment: step; }
.step__star {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--nuit); color: var(--or); font-family: var(--font-titre); font-size: 1.5rem;
  box-shadow: 0 0 0 6px var(--creme), 0 0 0 7px rgba(153,172,255,.6), 0 0 25px 6px rgba(244,197,107,.35);
}
.section--lavande .step__star { box-shadow: 0 0 0 6px var(--lavande), 0 0 0 7px rgba(153,172,255,.8), 0 0 25px 6px rgba(244,197,107,.35); }
.step__star::before { content: counter(step); }
.step h3 { margin-bottom: .25em; padding-top: 10px; }
.step p { margin: 0; color: var(--texte-doux); }
.step .tag { display: inline-block; margin-top: .5rem; font-size: .8rem; padding: .2rem .7rem; border-radius: 999px; background: var(--or); color: var(--nuit); font-weight: 700; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .steps::before { left: 12%; right: 12%; top: 28px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--bleu) 0 6px, transparent 6px 12px); }
  .step { padding-left: 0; text-align: center; }
  .step__star { position: relative; margin: 0 auto 18px; }
  .step:nth-child(even) { transform: translateY(26px); }
}

/* ---------- Matières ---------- */
.subject { overflow: hidden; }
.subject__formula { position: absolute; right: 22px; top: 14px; font-family: var(--font-titre); font-size: 3.6rem; color: var(--lavande); line-height: 1; pointer-events: none; z-index: 0; }
.subject > *:not(.subject__formula) { position: relative; z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.chips li { font-size: .8rem; padding: .25rem .75rem; border-radius: 999px; background: var(--lavande); color: var(--nuit); }

/* ---------- Bandeau prix ---------- */
.price-banner {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 6vw, 56px);
  background: linear-gradient(135deg, var(--nuit) 0%, #2e3687 60%, #4b58b8 100%); color: var(--creme);
  display: grid; gap: 26px; align-items: center; box-shadow: var(--ombre);
}
@media (min-width: 820px) { .price-banner { grid-template-columns: 1.3fr 1fr; } }
.price-banner h2 { color: var(--blanc); }
.price-banner::after { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -120px; background: radial-gradient(circle, rgba(244,197,107,.35), transparent 65%); pointer-events: none; }
.price-big { text-align: center; position: relative; z-index: 1; }
.price-big .old { display: block; text-decoration: line-through; text-decoration-color: var(--or); color: var(--bleu); font-size: 1.15rem; }
.price-big .now { display: block; font-family: var(--font-titre); font-size: clamp(4rem, 15vw, 6.2rem); line-height: 1; color: var(--or); }
.price-big .unit { color: var(--lavande); font-size: .95rem; }

/* ---------- Parcours (aperçu) ---------- */
.stars-level { display: inline-flex; gap: 4px; margin-bottom: 14px; }
.stars-level i { width: 20px; height: 20px; background: var(--or); clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.stars-level i.off { background: var(--lavande); }

/* ---------- Teaser À propos ---------- */
.about-teaser { display: grid; gap: 34px; align-items: center; }
@media (min-width: 860px) { .about-teaser { grid-template-columns: 300px 1fr; gap: 60px; } }
.portrait {
  position: relative; aspect-ratio: 4/5; max-width: 300px; width: 100%; margin-inline: auto; border-radius: 160px 160px 24px 24px;
  background: linear-gradient(160deg, var(--bleu), var(--nuit)); overflow: hidden; box-shadow: var(--ombre);
  display: grid; place-items: center; text-align: center; color: var(--lavande); padding: 24px;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; top: 14%; right: 14%; width: 22px; height: 22px; background: var(--or); clip-path: var(--etoile4); animation: twinkle 3s infinite; }
.big-quote { font-family: var(--font-titre); font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.12; color: var(--nuit); margin-bottom: .5em; }
.big-quote em { color: var(--encre); font-style: normal; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; position: relative; overflow: hidden; }
.cta-final h2 { max-width: 760px; margin-inline: auto; }
.cta-final .lead { max-width: 620px; margin-inline: auto; margin-bottom: 1.8rem; }
.cta-final .btn-row { justify-content: center; }
.cta-final .phone-line { margin-top: 1.4rem; font-size: .95rem; color: var(--lavande); }
.cta-final .phone-line a { color: var(--or); font-weight: 700; }

/* ---------- Bloc « à compléter » (à retirer à la mise en ligne) ---------- */
.todo {
  background: #FFE3EC; color: #8A1C43; border: 2px dashed #E0457B; border-radius: 8px;
  padding: .05em .45em; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .88em; font-style: normal; font-weight: 600;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; line-height: 1.6;
}
.todo::before { content: "✎ "; }
div.todo, p.todo { display: block; padding: .8em 1em; margin: 1em 0; }
.todo-badge {
  position: fixed; z-index: 400; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: .4rem; border: 0; cursor: pointer;
  background: #E0457B; color: #fff; font: 600 .8rem/1 system-ui, sans-serif; padding: .7rem .95rem; border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(224, 69, 123, .7);
}
.todo-badge small { opacity: .85; font-weight: 400; }
.todo.is-flash { animation: flash 1.2s ease; }
@keyframes flash { 0%,100% { box-shadow: 0 0 0 0 rgba(224,69,123,0); } 30% { box-shadow: 0 0 0 8px rgba(224,69,123,.35); } }

/* ---------- Pied de page ---------- */
.site-footer {
  position: relative; background: var(--nuit-profonde); color: var(--lavande); padding: 80px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .92rem;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.3px 1.3px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 47% 18%, var(--or) 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 55%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 83% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 78%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 5% 88%, var(--bleu) 50%, transparent 51%);
}
.footer-grid { position: relative; display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }
.site-footer h3 { font-family: var(--font-texte); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or); margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--lavande); text-decoration: none; }
.site-footer a:hover { color: var(--blanc); text-decoration: underline; }
.footer-logo img { height: 74px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-family: var(--font-titre); font-size: 1.35rem; color: var(--blanc); margin-bottom: .6rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: .25rem; color: var(--or); }
.footer-bottom {
  position: relative; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(153,172,255,.2);
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: .8rem; color: var(--bleu);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.social { display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem; }
.social svg { width: 20px; height: 20px; }

/* ---------- Pages intérieures : contenu ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--or-fonce); }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--reverse > :first-child { order: 2; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.1rem; height: 1.1rem; background: var(--or); clip-path: var(--etoile4); }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--lavande); border-left: 4px solid var(--bleu); font-size: .93rem;
}
.notice svg { flex: none; width: 22px; height: 22px; color: var(--encre); margin-top: .2rem; }
.notice p:last-child { margin: 0; }

/* ---------- L'accompagnement : grandes cartes ---------- */
.door {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 32px 28px;
  border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--blanc);
  background: var(--nuit); box-shadow: var(--ombre); isolation: isolate;
}
.door::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--poussiere), var(--ciel); background-size: 160px 160px, cover; transition: transform .8s ease; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30,35,91,.1) 0%, rgba(30,35,91,.92) 75%); }
.door:hover::before { transform: scale(1.08) rotate(1deg); }
.door h3 { color: var(--blanc); font-size: clamp(1.7rem, 4.5vw, 2.2rem); }
.door p { color: var(--lavande); }
.door .more { color: var(--or); font-weight: 700; display: inline-flex; gap: .5rem; align-items: center; }
.door .door__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-titre); font-size: 3.2rem; color: var(--or); opacity: .9; line-height: 1; }
.door ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .3rem; font-size: .9rem; }
.door ul li::before { content: "✦ "; color: var(--or); }

.pillars { counter-reset: pillar; }
.pillar { position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--blanc); box-shadow: var(--ombre-douce); }
/* Numéro dans une étoile dorée, en haut à gauche ; le titre s'aligne à côté */
.pillar::before {
  counter-increment: pillar; content: counter(pillar);
  position: absolute; left: 16px; top: 18px; width: 58px; height: 58px;
  display: grid; place-items: center; padding-top: 7px;
  font-family: var(--font-titre); font-size: 1.45rem; font-weight: 700; line-height: 1; color: var(--nuit);
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  background: radial-gradient(circle at 50% 55%, #FFE3A3, var(--or) 60%, #E2A94A);
  clip-path: polygon(50% 0, 61.8% 34.5%, 98% 35%, 69% 57.5%, 79.5% 92%, 50% 71%, 20.5% 92%, 31% 57.5%, 2% 35%, 38.2% 34.5%);
  filter: drop-shadow(0 0 8px rgba(244,197,107,.5));
}
.pillar h3 { font-size: 1.25rem; min-height: 58px; display: flex; align-items: center; padding-left: 64px; margin: -6px 0 .8em; }

/* ---------- Bilan : le livre ouvert ---------- */
.book-wrap { position: relative; margin-top: 30px; }
.book {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 0;
  perspective: 2200px; max-width: 1040px; margin-inline: auto;
}
.book__page {
  position: relative; margin: 0; background: #fffdf8; padding: 16px; cursor: zoom-in;
  box-shadow: 0 30px 50px -30px rgba(30,35,91,.6), 0 2px 6px rgba(30,35,91,.12);
}
.book__page img { width: 100%; border-radius: 4px; }
.book__page figcaption { font-size: .82rem; font-style: italic; color: var(--texte-doux); text-align: center; padding-top: 10px; }
.book__zoom { position: absolute; top: 26px; right: 26px; width: 40px; height: 40px; border-radius: 50%; background: var(--nuit); color: var(--or); display: grid; place-items: center; box-shadow: var(--ombre-douce); }
.book__zoom svg { width: 20px; height: 20px; }
.book__tape { position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; margin-left: -55px; background: rgba(244,197,107,.75); transform: rotate(-3deg); z-index: 2; box-shadow: 0 2px 4px rgba(0,0,0,.08); }

/* Mobile : un carnet qu'on feuillette */
@media (max-width: 859px) {
  .book { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 20px 20px 30px; margin-inline: -20px; scrollbar-width: none; }
  .book::-webkit-scrollbar { display: none; }
  .book__spine, .book__ribbon { display: none; }
  .book__page { flex: 0 0 86%; scroll-snap-align: center; border-radius: 6px; }
  .book__page:nth-child(1) { transform: rotate(-1.2deg); }
  .book__page:nth-child(2) { transform: rotate(1.2deg); }
  .book-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
  .book-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--bleu); opacity: .4; cursor: pointer; transition: opacity .2s, width .2s; }
  .book-dots button.is-active { opacity: 1; width: 26px; border-radius: 6px; background: var(--nuit); }
  .book-hint { text-align: center; font-size: .82rem; font-style: italic; color: var(--texte-doux); margin-top: 6px; }
}
/* Grand écran : livre ouvert, avec reliure */
@media (min-width: 860px) {
  .book { grid-template-columns: 1fr 1fr; padding: 22px; border-radius: 18px; background: linear-gradient(90deg, #2b3179, var(--nuit) 50%, #2b3179); box-shadow: var(--ombre); }
  .book::before { /* tranche des pages */
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 14px; background: repeating-linear-gradient(180deg, #f3eee2 0 2px, #e2dccd 2px 3px); border-radius: 0 0 6px 6px; z-index: 0;
  }
  .book__page { z-index: 1; padding: 22px 26px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  .book__page:nth-child(1) { border-radius: 8px 2px 2px 8px; transform-origin: right center; transform: rotateY(6deg); background: linear-gradient(90deg, #fffdf8 85%, #ece5d6); }
  .book__page:nth-child(2) { border-radius: 2px 8px 8px 2px; transform-origin: left center; transform: rotateY(-6deg); background: linear-gradient(270deg, #fffdf8 85%, #ece5d6); }
  .book:hover .book__page:nth-child(1), .book:hover .book__page:nth-child(2) { transform: rotateY(0); }
  .book__spine { position: absolute; top: 22px; bottom: 22px; left: 50%; width: 40px; margin-left: -20px; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(30,35,91,.22) 45%, rgba(30,35,91,.32) 50%, rgba(30,35,91,.22) 55%, transparent); }
  .book-dots, .book-hint { display: none; }
  .book__ribbon { position: absolute; top: 0; left: calc(50% + 40px); width: 22px; height: 110px; z-index: 3; background: var(--or); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); box-shadow: 0 4px 8px rgba(0,0,0,.2); }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20,24,69,.88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.lightbox__close { position: absolute; top: -18px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--or); color: var(--nuit); font-size: 1.5rem; cursor: pointer; box-shadow: var(--ombre-douce); }

.timeline-mini { display: grid; gap: 18px; }
@media (min-width: 760px) { .timeline-mini { grid-template-columns: repeat(3, 1fr); } }
.timeline-mini .card h3 { display: flex; align-items: center; gap: .6rem; }
.timeline-mini .card h3 .badge { font-family: var(--font-texte); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--lavande); color: var(--encre); }

/* ---------- Parcours Astéria ---------- */
.anchor-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.anchor-nav a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 999px;
  background: rgba(255,255,255,.14); color: var(--blanc); text-decoration: none; font-size: .92rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.anchor-nav a:hover { background: var(--or); color: var(--nuit); }
.anchor-nav .stars-level { margin: 0; gap: 2px; }
.anchor-nav .stars-level i { width: 12px; height: 12px; }
.anchor-nav .stars-level i.off { background: rgba(255,255,255,.35); }

.path { position: relative; display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .path { grid-template-columns: 300px 1fr; gap: 60px; } }
.path__visual {
  position: relative; border-radius: 28px; padding: 34px 26px; text-align: center; color: var(--blanc); overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #3a44a6, var(--nuit) 70%); box-shadow: var(--ombre);
}
@media (min-width: 900px) { .path__visual { position: sticky; top: calc(var(--header-h) + 24px); } }
.path__visual .orb { width: 130px; height: 130px; margin: 0 auto 16px; position: relative; }
.path__visual .orb svg { width: 100%; height: 100%; overflow: visible; }
.path__visual h2 { color: var(--blanc); font-size: clamp(1.9rem, 5vw, 2.3rem); margin-bottom: .3em; }
.path__visual p { color: var(--lavande); font-size: .9rem; margin: 0; }
.path__visual .stars-level { justify-content: center; margin-top: 12px; }
.path__visual .stars-level i.off { background: rgba(255,255,255,.2); }
.path__body h3 { margin-top: 1.2em; }
.path__body h3:first-child { margin-top: 0; }
.for-whom { display: grid; gap: 10px; padding: 0; list-style: none; margin: 0 0 1.4em; }
.for-whom li { background: var(--blanc); border-radius: 14px; padding: .8rem 1rem .8rem 3rem; position: relative; box-shadow: var(--ombre-douce); font-style: italic; }
.for-whom li::before { content: "“"; position: absolute; left: 1rem; top: .2rem; font-family: var(--font-titre); font-size: 2rem; color: var(--bleu); }
.rythme { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 1.2rem; padding: 14px 18px; border-radius: 14px; background: var(--nuit); color: var(--creme); font-size: .92rem; }
.rythme strong { color: var(--or); }

.orbit-anim { transform-origin: 65px 65px; animation: orbit 14s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }

/* ---------- Tarifs ---------- */
.sap-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); margin-top: 26px; }
.sap-switch button { border: 0; background: none; color: var(--blanc); font: inherit; font-size: .88rem; padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer; }
.sap-switch button[aria-pressed="true"] { background: var(--or); color: var(--nuit); font-weight: 700; }

.pricing { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--blanc); border-radius: 26px; padding: 32px 26px 28px;
  box-shadow: var(--ombre-douce); border: 1px solid rgba(153,172,255,.4); text-align: center;
}
.plan--featured { background: var(--nuit); color: var(--creme); border-color: var(--nuit); box-shadow: var(--ombre); }
@media (min-width: 1000px) { .plan--featured { transform: translateY(-14px); } }
.plan--featured h3 { color: var(--blanc); }
.plan__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--or); color: var(--nuit); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; white-space: nowrap; }
.plan__label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--encre); font-weight: 700; margin-bottom: .4rem; }
.plan--featured .plan__label { color: var(--or); }
.plan h3 { font-size: 1.7rem; margin-bottom: .3em; }
.plan__price { margin: 10px 0 4px; }
.plan__price .amount { font-family: var(--font-titre); font-size: clamp(3rem, 11vw, 3.6rem); line-height: 1; color: var(--nuit); }
.plan--featured .plan__price .amount { color: var(--or); }
.plan__price .per { font-size: .9rem; color: var(--texte-doux); }
.plan--featured .plan__price .per { color: var(--lavande); }
.plan__before { font-size: .88rem; color: var(--texte-doux); min-height: 1.5em; }
.plan__before s { text-decoration-color: var(--or-fonce); }
.plan--featured .plan__before { color: var(--bleu); }
.plan__detail { font-size: .85rem; margin-top: 8px; padding: .4rem .8rem; border-radius: 999px; background: var(--lavande); color: var(--nuit); display: inline-block; }
.plan--featured .plan__detail { background: rgba(153,172,255,.2); color: var(--lavande); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; text-align: left; display: grid; gap: .55rem; font-size: .92rem; }
.plan ul li { position: relative; padding-left: 1.6rem; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: .4em; width: .9rem; height: .9rem; background: var(--or); clip-path: var(--etoile4); }
.plan .btn { margin-top: auto; width: 100%; }
.plan--featured .btn--outline { --fg: var(--creme); box-shadow: inset 0 0 0 2px var(--creme); }
[data-mode="avant"] .plan__before { visibility: hidden; }

.sap-flow { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 820px) { .sap-flow { grid-template-columns: repeat(3, 1fr); } }
.sap-flow .card { text-align: center; }
.sap-flow .num { font-family: var(--font-titre); font-size: 2.6rem; color: var(--or-fonce); line-height: 1; display: block; margin-bottom: .4rem; }

.split-bar { margin: 30px auto 0; max-width: 640px; }
.split-bar__track { display: flex; height: 64px; border-radius: 18px; overflow: hidden; box-shadow: var(--ombre-douce); }
.split-bar__track div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .82rem; line-height: 1.3; text-align: center; padding: 0 8px; }
.split-bar__track .you { background: var(--or); color: var(--nuit); }
.split-bar__track .state { background: var(--bleu); color: var(--nuit); }
.split-bar__track strong { font-size: 1.15rem; }
.split-bar__legend { text-align: center; font-size: .82rem; color: var(--texte-doux); margin-top: .7rem; }

/* ---------- Formulaire ---------- */
.rdv { display: grid; gap: 30px; align-items: start; }
@media (min-width: 960px) { .rdv { grid-template-columns: 1.55fr 1fr; gap: 44px; } }
.form-card { background: var(--blanc); border-radius: 28px; padding: clamp(24px, 5vw, 44px); box-shadow: var(--ombre); border: 1px solid rgba(153,172,255,.35); }
.form-card h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend { font-weight: 700; margin-bottom: .6rem; padding: 0; font-size: .95rem; }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .45rem; }
.field .opt, legend .opt { font-weight: 400; font-style: italic; color: var(--texte-doux); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; /* 16px : évite le zoom sur iPhone */
  color: var(--nuit); background: var(--creme); border: 2px solid transparent; border-radius: 14px; padding: .85rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(30,35,91,.15); transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E235B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.8rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bleu); background: var(--blanc); }
.field input:user-invalid, .field select:user-invalid { border-color: #E0457B; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pill span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .6rem 1.1rem; border-radius: 999px;
  background: var(--creme); box-shadow: inset 0 0 0 1px rgba(30,35,91,.18); font-size: .92rem; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s;
}
.pill input:checked + span { background: var(--nuit); color: var(--blanc); box-shadow: none; }
.pill input:checked + span::before { content: ""; width: .8rem; height: .8rem; background: var(--or); clip-path: var(--etoile4); }
.pill input:focus-visible + span { outline: 3px solid var(--or); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--texte-doux); margin: 8px 0 24px; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: .15rem; accent-color: var(--nuit); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: .95rem; }
.form-status.ok { background: #E7F6EC; color: #1f5b33; }
.form-status.err { background: #FFE3EC; color: #8A1C43; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .big-star { width: 80px; height: 80px; margin: 0 auto 16px; background: var(--or); clip-path: var(--etoile4); animation: twinkle 2.4s infinite; }

.call-card { position: relative; overflow: hidden; border-radius: 28px; padding: 32px 26px; background: var(--nuit); color: var(--creme); box-shadow: var(--ombre); text-align: center; }
.call-card h2 { color: var(--blanc); font-size: 1.9rem; }
.call-card .tel-big { display: inline-flex; align-items: center; gap: .6rem; margin: .4rem 0 1rem; font-family: var(--font-titre); font-size: clamp(1.9rem, 7vw, 2.3rem); color: var(--or); text-decoration: none; }
.call-card .tel-big svg { width: 28px; height: 28px; }
.call-card p { color: var(--lavande); font-size: .92rem; }
.call-card .btn { width: 100%; }
.side-stack { display: grid; gap: 22px; }
@media (min-width: 960px) { .side-stack { position: sticky; top: calc(var(--header-h) + 24px); } }
.mini-steps { list-style: none; counter-reset: ms; padding: 0; margin: 0; display: grid; gap: 14px; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 44px; font-size: .92rem; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--or); color: var(--nuit); font-weight: 700; font-size: .85rem; }

/* ---------- Infos pratiques ---------- */
.map-card { background: var(--nuit); border-radius: 28px; padding: 18px; box-shadow: var(--ombre); }
.map-card svg { width: 100%; height: auto; display: block; }
.map-card .map-caption { color: var(--lavande); font-size: .8rem; text-align: center; padding: 6px 10px 4px; font-style: italic; }
.town-list { columns: 2; column-gap: 24px; padding: 0; list-style: none; margin: 0 0 1em; }
.town-list li { break-inside: avoid; padding: .2rem 0 .2rem 1.3rem; position: relative; font-size: .95rem; }
.town-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: .7rem; height: .7rem; background: var(--bleu); clip-path: var(--etoile4); }
.town-list li.key::before { background: var(--or); }
.town-list li.key { font-weight: 700; }
.info-cards .card { display: flex; gap: 16px; align-items: flex-start; }
.info-cards .card__icon { flex: none; margin: 0; }
.info-cards .card h3 { font-size: 1.25rem; }
.info-cards a { word-break: break-word; }

/* ---------- À propos ---------- */
.story { position: relative; max-width: 860px; margin-inline: auto; }
.story::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--bleu), var(--or)); opacity: .6; }
.chapter { position: relative; padding-left: 70px; margin-bottom: 54px; }
.chapter:last-child { margin-bottom: 0; }
.chapter__star { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--nuit); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--creme), 0 0 22px 4px rgba(244,197,107,.35); }
.chapter__star::before { content: ""; width: 20px; height: 20px; background: var(--or); clip-path: var(--etoile4); }
.chapter__kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre); font-weight: 700; display: block; margin-bottom: .3rem; }
.chapter h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.chapter blockquote { margin: 1.2em 0; padding: 1rem 1.3rem; border-left: 3px solid var(--or); background: var(--blanc); border-radius: 0 14px 14px 0; font-style: italic; box-shadow: var(--ombre-douce); }
@media (min-width: 760px) {
  .story::before { left: 50%; margin-left: -1px; }
  .chapter { width: 50%; padding-left: 0; padding-right: 54px; }
  .chapter__star { left: auto; right: -22px; }
  .chapter:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 54px; }
  .chapter + .chapter { margin-top: -110px; } /* les chapitres s'imbriquent en quinconce */
  .chapter:nth-child(even) .chapter__star { right: auto; left: -22px; }
  .chapter:nth-child(odd) { text-align: right; }
  .chapter:nth-child(odd) blockquote { border-left: 0; border-right: 3px solid var(--or); border-radius: 14px 0 0 14px; }
}

.formula {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px;
  font-family: var(--font-titre); font-size: clamp(1.3rem, 4.5vw, 2rem); color: var(--blanc); margin: 26px 0 10px;
}
.formula .el { display: inline-flex; flex-direction: column; align-items: center; padding: .5rem 1rem; border-radius: 16px; background: rgba(153,172,255,.16); box-shadow: inset 0 0 0 1px rgba(153,172,255,.4); line-height: 1.1; }
.formula .el small { font-family: var(--font-texte); font-size: .7rem; color: var(--bleu); letter-spacing: .08em; text-transform: uppercase; margin-top: .3rem; }
.formula .op { color: var(--or); }
.formula .arrow { color: var(--or); font-size: 1.3em; }
.formula .el--result { background: var(--or); color: var(--nuit); box-shadow: 0 0 30px rgba(244,197,107,.5); }
.formula .el--result small { color: var(--nuit); }

.diploma {
  position: relative; display: grid; gap: 4px; padding: 26px 24px 24px 76px; border-radius: 20px; background: var(--blanc); box-shadow: var(--ombre-douce);
}
.diploma svg { position: absolute; left: 22px; top: 24px; width: 36px; height: 36px; color: var(--encre); }
.diploma strong { font-size: 1.05rem; }
.diploma span { color: var(--texte-doux); font-size: .9rem; }

.degrees { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.degrees li { font-size: .82rem; padding: .35rem .8rem; border-radius: 999px; background: var(--lavande); color: var(--nuit); }
.degrees b { color: var(--encre); margin-right: .35rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-cat { margin: 34px 0 14px; font-size: 1.6rem; }
.faq-cat:first-child { margin-top: 0; }
.faq details { background: var(--blanc); border-radius: 18px; box-shadow: var(--ombre-douce); border: 1px solid rgba(153,172,255,.3); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; position: relative; font-weight: 700; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: var(--bleu); clip-path: var(--etoile4); transition: transform .35s ease, background .35s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--or); }
.faq details[open] summary { color: var(--encre); }
.faq .answer { padding: 0 22px 22px; color: var(--texte-doux); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; margin-inline: auto; background: var(--blanc); border-radius: 26px; padding: clamp(24px, 5vw, 54px); box-shadow: var(--ombre-douce); }
.legal h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin-top: 1.7em; padding-top: .6em; border-top: 1px solid var(--lavande); }
.legal h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-family: var(--font-texte); font-weight: 700; font-size: 1.02rem; margin-top: 1.3em; }
.legal ul { padding-left: 1.2em; }
.legal .updated { font-size: .85rem; color: var(--texte-doux); font-style: italic; }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 4px 20px; margin: 0 0 1em; }
@media (min-width: 620px) { .legal dl { grid-template-columns: 220px 1fr; } }
.legal dt { font-weight: 700; }
.legal dd { margin: 0 0 .6rem; }
.toc { background: var(--lavande); border-radius: 16px; padding: 18px 22px; margin-bottom: 2em; font-size: .92rem; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 220px; }

/* ---------- 404 ---------- */
.lost .hero__title { font-size: clamp(5rem, 22vw, 10rem); }

/* ---------- Écriture manuscrite (Dancing Script) : accroches et citations ---------- */
.hero__tagline { font-family: var(--font-manuscrite); font-weight: 600; font-size: clamp(1.9rem, 6.6vw, 3.1rem); line-height: 1.15; }
.footer-tagline { font-family: var(--font-manuscrite); font-weight: 600; font-size: 1.7rem; }
.intro__quote p { font-family: var(--font-manuscrite); font-weight: 600; font-size: clamp(1.8rem, 5vw, 2.4rem); }
.big-quote { font-family: var(--font-manuscrite); font-weight: 600; font-size: clamp(2.3rem, 7vw, 3.5rem); }
.big-quote em { font-style: normal; }
.chapter blockquote { font-family: var(--font-manuscrite); font-style: normal; font-weight: 700; font-size: 1.55rem; line-height: 1.35; color: var(--nuit); }
.testimonial::before { font-family: var(--font-manuscrite); }

/* ---------- Chiffres clés (comptent jusqu'à leur valeur) ---------- */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.stat {
  position: relative; overflow: hidden; text-align: center; padding: 26px 14px 22px; border-radius: 22px;
  background: var(--poussiere), var(--ciel); background-size: 180px 180px, cover; color: var(--lavande); box-shadow: var(--ombre-douce);
}
.stat__num { display: block; font-family: var(--font-titre); font-size: clamp(2.4rem, 8vw, 3.4rem); line-height: 1; color: var(--or); margin-bottom: .35rem; text-shadow: 0 0 22px rgba(244,197,107,.45); }
.stat__label { font-size: .85rem; line-height: 1.4; display: block; }

/* ---------- La constellation des étapes se trace au défilement ---------- */
.steps.reveal { opacity: 1; transform: none; }
.steps::before { transform-origin: top center; transform: scaleY(0); transition: transform 1.6s cubic-bezier(.3,.7,.2,1) .2s; }
.steps.is-visible::before { transform: none; }
@media (min-width: 900px) { .steps::before { transform-origin: left center; transform: scaleX(0); } .steps.is-visible::before { transform: none; } }
.steps .step__star { transition: box-shadow .6s ease; }
.steps.is-visible .step__star { animation: starpop .7s cubic-bezier(.3,1.6,.5,1) both; }
.steps.is-visible .step:nth-child(2) .step__star { animation-delay: .35s; }
.steps.is-visible .step:nth-child(3) .step__star { animation-delay: .7s; }
.steps.is-visible .step:nth-child(4) .step__star { animation-delay: 1.05s; }
@keyframes starpop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

/* ---------- Témoignages ---------- */
.testimonials { display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 20px 30px; margin: 0 -20px; scrollbar-width: none; }
.testimonials::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 min(86%, 360px); scroll-snap-align: center; position: relative; margin: 0;
  background: var(--blanc); border-radius: 24px; padding: 34px 26px 26px; box-shadow: var(--ombre-douce); border: 1px solid rgba(153,172,255,.35);
}
.testimonial:nth-child(odd) { transform: rotate(-1deg); }
.testimonial:nth-child(even) { transform: rotate(1deg) translateY(10px); }
.testimonial::before { content: "“"; position: absolute; top: -26px; left: 20px; font-family: var(--font-titre); font-size: 5rem; line-height: 1; color: var(--bleu); }
.testimonial .rating { display: flex; gap: 3px; margin-bottom: 12px; }
.testimonial .rating i { width: 18px; height: 18px; background: var(--or); clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); animation: twinkle 3s ease-in-out infinite; }
.testimonial .rating i:nth-child(2) { animation-delay: .3s; } .testimonial .rating i:nth-child(3) { animation-delay: .6s; }
.testimonial .rating i:nth-child(4) { animation-delay: .9s; } .testimonial .rating i:nth-child(5) { animation-delay: 1.2s; }
.testimonial blockquote { margin: 0 0 16px; font-style: italic; }
.testimonial figcaption { font-size: .85rem; color: var(--texte-doux); }
.testimonial figcaption strong { color: var(--nuit); display: block; font-style: normal; }
.testimonials-nav { display: flex; justify-content: center; gap: 10px; }
.testimonials-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--nuit); color: var(--or); cursor: pointer; display: grid; place-items: center; box-shadow: var(--ombre-douce); }
.testimonials-nav svg { width: 20px; height: 20px; }

/* ---------- Ateliers : billets ---------- */
.tickets { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ticket {
  position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden;
  background: var(--blanc); box-shadow: var(--ombre); transition: transform .35s ease;
}
.ticket:hover { transform: translateY(-6px) rotate(-.6deg); }
.ticket__head { position: relative; padding: 26px 24px 30px; color: var(--blanc); background: var(--poussiere), var(--ciel); background-size: 160px 160px, cover; }
.ticket__head h3 { color: var(--blanc); margin: .3rem 0 0; }
.ticket__head .eyebrow { margin: 0; }
.ticket__icon { position: absolute; top: 20px; right: 22px; font-family: var(--font-titre); font-size: 2.6rem; color: var(--or); line-height: 1; }
.ticket__body { position: relative; padding: 30px 24px 26px; border-top: 2px dashed rgba(153,172,255,.6); }
.ticket__body::before, .ticket__body::after { /* les perforations du billet */
  content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--creme);
}
.section--lavande .ticket__body::before, .section--lavande .ticket__body::after { background: var(--lavande); }
.ticket__body::before { left: -14px; } .ticket__body::after { right: -14px; }
.ticket__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.ticket__meta li { font-size: .8rem; padding: .3rem .75rem; border-radius: 999px; background: var(--lavande); }
.ticket__soon { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; color: var(--or-fonce); }
.ticket__soon::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 0 rgba(244,197,107,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(244,197,107,.7); } 70% { box-shadow: 0 0 0 10px rgba(244,197,107,0); } 100% { box-shadow: 0 0 0 0 rgba(244,197,107,0); } }

/* ---------- Traînée d'étoiles derrière la souris (dans le ciel) ---------- */
.trail { position: fixed; z-index: 500; width: 8px; height: 8px; pointer-events: none; background: var(--or); clip-path: var(--etoile4); animation: trail .8s ease-out forwards; }
@keyframes trail { from { opacity: .9; transform: scale(1) rotate(0); } to { opacity: 0; transform: translateY(14px) scale(.2) rotate(90deg); } }

/* ---------- Page « Bientôt » : compte à rebours ---------- */
.soon .hero { padding-top: calc(40px + env(safe-area-inset-top, 0px)); padding-bottom: 60px; }
.soon__logo { width: min(260px, 60vw); margin: 0 auto 26px; filter: drop-shadow(0 4px 20px rgba(20,24,69,.5)); }
.soon__date { display: inline-flex; align-items: center; gap: .6rem; margin: 6px 0 28px; padding: .55rem 1.2rem; border-radius: 999px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .95rem; }
.soon__date .sparkle { width: .9em; height: .9em; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2.5vw, 18px); max-width: 620px; margin: 0 auto 30px; }
.countdown__unit {
  position: relative; padding: clamp(14px, 3.5vw, 22px) 6px clamp(10px, 2.5vw, 16px); border-radius: 20px;
  background: rgba(20,24,69,.45); box-shadow: inset 0 0 0 1px rgba(153,172,255,.45), 0 18px 40px -20px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden;
}
.countdown__unit::before { /* reflet */ content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,.08), transparent); pointer-events: none; }
.countdown__num { display: block; font-family: var(--font-titre); font-size: clamp(2.2rem, 10vw, 4.2rem); line-height: 1; color: var(--blanc); font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(153,172,255,.6); }
.countdown__num.tick { animation: tick .5s cubic-bezier(.3,1.5,.5,1); }
.countdown__unit:last-child .countdown__num { color: var(--or); text-shadow: 0 0 24px rgba(244,197,107,.6); }
.countdown__label { display: block; margin-top: .45rem; font-size: clamp(.65rem, 2.2vw, .8rem); letter-spacing: .14em; text-transform: uppercase; color: var(--lavande); }
@keyframes tick { 0% { transform: translateY(-35%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.soon__launched { font-family: var(--font-manuscrite); font-size: clamp(2rem, 7vw, 3rem); color: var(--or); margin: 0 0 20px; }
.soon__teasers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.soon__teasers .card { text-align: center; }
.soon__teasers .card__icon { margin-inline: auto; }
.soon__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.soon__footer { background: var(--nuit-profonde); color: var(--bleu); text-align: center; font-size: .8rem; padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px)); }
.soon__footer a { color: var(--lavande); }

/* ---------- Accueil : retours de Cloé (oct. 2026) ---------- */
/* Accroche sur une seule ligne sur ordinateur */
@media (min-width: 900px) { /* uniquement le hero de l'accueil */
  .hero:not(.hero--page) .hero__content { max-width: 1000px; }
  .hero:not(.hero--page) .hero__text { max-width: none; white-space: nowrap; }
}
.hero__levels { font-size: clamp(1.15rem, 3.6vw, 1.5rem); }
.hero__levels::before, .hero__levels::after { width: 48px; }

/* Listes à étoiles dans les cartes « Pourquoi choisir Astéria Académie ? » */
.check-list--card { gap: .6rem; margin: 0; font-size: .95rem; }
.check-list--card li { padding-left: 1.7rem; }
.check-list--card li::before { width: 1rem; height: 1rem; }
.check-list--card strong { color: var(--encre); }

/* Étapes « Comment ça se passe ? » : des étoiles reliées en constellation */
.step__star { width: 84px; height: 84px; background: none; box-shadow: none !important; border-radius: 0; filter: drop-shadow(0 0 14px rgba(244,197,107,.55)); }
.step__star::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 55%, #FFE3A3, var(--or) 60%, #E2A94A);
  clip-path: polygon(50% 0, 61.8% 34.5%, 98% 35%, 69% 57.5%, 79.5% 92%, 50% 71%, 20.5% 92%, 31% 57.5%, 2% 35%, 38.2% 34.5%);
}
.step__star::after {
  content: counter(step); position: relative; z-index: 1; margin-top: 7px;
  font-family: var(--font-titre); font-size: 2rem; font-weight: 700; color: var(--nuit); line-height: 1;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.price-big .now small { font-size: .38em; margin-left: .08em; }
.steps::before { left: 41px; }
.step { padding-left: 104px; }
.step h3 { padding-top: 22px; }
@media (min-width: 900px) {
  .steps::before { left: 12%; right: 12%; top: 42px; }
  .step { padding-left: 0; }
  .step h3 { padding-top: 0; }
  .step:nth-child(even) { transform: none; }
}
.price-banner .eyebrow { color: var(--or); }

/* Bandeau 25 € : plus d'air sous le prix */
.price-big .now { margin: .05em 0 .3em; line-height: .95; }
.price-big .unit { display: block; }

/* Les parcours en escalier */
.stairs { display: grid; gap: 22px; margin-top: 34px; }
.stair { display: flex; flex-direction: column; }
.stair .more { margin-top: auto; padding-top: .6rem; }
.stair__icon { display: block; width: 64px; height: 64px; margin-bottom: 12px; filter: drop-shadow(0 6px 14px rgba(30,35,91,.25)); }
.stair__icon svg { width: 100%; height: 100%; }
.stair__label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); font-weight: 700; margin-bottom: .4rem; }
@media (max-width: 899px) { /* sur mobile, chaque marche se décale un peu plus */
  .stair:nth-child(2) { margin-left: 18px; }
  .stair:nth-child(3) { margin-left: 36px; }
}
@media (min-width: 900px) {
  .stairs { grid-template-columns: repeat(3, 1fr); align-items: end; padding-bottom: 20px; }
  .stair { position: relative; --rise: 0px; margin-bottom: var(--rise); }
  .stair:nth-child(2) { --rise: 60px; }
  .stair:nth-child(3) { --rise: 120px; }
  .stair::after { /* la marche sous chaque carte */
    content: ""; position: absolute; left: 6%; right: 6%; top: calc(100% + 10px); height: calc(var(--rise) + 10px);
    border-radius: 0 0 14px 14px; background: linear-gradient(180deg, rgba(153,172,255,.55), rgba(153,172,255,.12));
  }
  .stair:hover { transform: translateY(-6px); }
}

/* ---------- Texte justifié (paragraphes courants) ---------- */
@media (min-width: 600px) { /* sur téléphone, les lignes sont trop courtes : on garde l'alignement à gauche */
  p, .check-list li, .for-whom li, .mini-steps li, .legal li {
    text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto;
  }
}
/* … sauf dans les blocs centrés, qui gardent leur alignement */
.center p, .hero p, .cta-final p, .plan p, .plan li, .stat p, .sap-flow p, .call-card p,
.soon__teasers p, .price-big p, .map-card p, .book p, .split-bar p, .step p, .card[style*="center"] p,
.form-success p, .notice p.center, .footer-bottom p, .breadcrumb, .eyebrow, .big-quote, .intro__quote p,
.testimonial blockquote, .path__visual p, .hero__levels, .soon__date, .soon__launched, .countdown, .anchor-nav {
  text-align: inherit; -webkit-hyphens: manual; hyphens: manual;
}
/* Colonnes étroites (cartes en 3 ou 4 colonnes) : la justification y crée des trous, on reste à gauche */
.grid .card p, .grid .card li, .site-footer p, .holidays p, .info-cards p, .side-stack p, .side-stack li, .door p, .pillar p, .stair p, .grid--4 .card p, .grid--4 .card li, .check-list--card li, .ticket p, .timeline-mini p {
  text-align: left;
}
/* Frise « À propos » : les chapitres alignés à droite gardent leur dernière ligne à droite */
@media (min-width: 760px) {
  .chapter:nth-child(odd) p { text-align-last: right; }
}

/* ---------- L'accompagnement : retours de Cloé ---------- */
/* Les 3 portes : titre aligné avec le numéro, en haut de la carte */
.doors .door { justify-content: flex-start; min-height: 320px; }
.doors .door::after { background: linear-gradient(180deg, rgba(30,35,91,.55) 0%, rgba(30,35,91,.9) 100%); }
.doors .door h3 { font-size: clamp(1.45rem, 3.4vw, 1.75rem); min-height: 2.3em; display: flex; align-items: center; padding-right: 64px; margin-bottom: .6em; }
.doors .door .door__num { top: 30px; font-size: 2.8rem; line-height: 1; }
.doors .door .more { margin-top: auto; }

/* Les 4 étapes d'une séance, dans un encadré */
.mini-steps--card { background: var(--blanc); border-radius: var(--radius); padding: 26px 26px 26px 24px; margin: 8px 0 26px; box-shadow: var(--ombre-douce); border: 1px solid rgba(153,172,255,.35); }

/* ---------- Infos pratiques : la semaine des cours ---------- */
.week { display: grid; gap: 10px; grid-template-columns: repeat(7, 1fr); margin-top: 34px; }
.week__day {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px;
  padding: 18px 8px 22px; border-radius: 20px; text-align: center; overflow: hidden;
  background: var(--poussiere), var(--ciel); background-size: 160px 160px, cover; color: var(--blanc); box-shadow: var(--ombre-douce);
}
.week__day::before { content: ""; width: 22px; height: 22px; background: var(--or); clip-path: var(--etoile4); filter: drop-shadow(0 0 6px rgba(244,197,107,.8)); order: 1; }
.week__name { font-family: var(--font-titre); font-size: 1.15rem; order: 0; }
.week__slot { order: 2; font-weight: 700; color: var(--or); font-size: 1.02rem; line-height: 1.35; }
.week__slot small { display: block; font-weight: 400; font-size: .75rem; color: var(--lavande); margin-top: 4px; }
.week__day--sat { background: linear-gradient(160deg, #3a44a6, var(--nuit)); }
.week__day--off { background: var(--blanc); color: var(--texte-doux); box-shadow: inset 0 0 0 1px rgba(153,172,255,.5); }
.week__day--off::before { background: var(--lavande); filter: none; }
.week__day--off .week__slot { color: var(--texte-doux); font-weight: 400; font-style: italic; }
@media (max-width: 760px) {
  .week { grid-template-columns: 1fr; gap: 8px; }
  .week__day { flex-direction: row; justify-content: space-between; padding: 14px 20px; }
  .week__day::before { order: 0; width: 16px; height: 16px; flex: none; }
  .week__name { order: 1; margin-right: auto; }
  .week__slot { text-align: right; }
}

/* À propos : frise des diplômes */
.timeline-deg { list-style: none; margin: 26px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.timeline-deg::before { content: ""; position: absolute; left: 10%; right: 10%; top: 38px; height: 2px; background: linear-gradient(90deg, var(--bleu), var(--or)); }
.timeline-deg li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.timeline-deg__year { font-family: var(--font-titre); font-size: 1.1rem; color: var(--encre); line-height: 1; }
.timeline-deg__dot { position: relative; width: 22px; height: 22px; background: var(--bleu); clip-path: var(--etoile4); }
.timeline-deg li.is-last .timeline-deg__dot { width: 30px; height: 30px; margin-top: -4px; background: var(--or); filter: drop-shadow(0 0 8px rgba(244,197,107,.8)); }
.timeline-deg__label { font-size: .85rem; font-weight: 700; line-height: 1.3; color: var(--nuit); }
.timeline-deg__label small { display: block; font-weight: 400; color: var(--texte-doux); }
@media (max-width: 560px) {
  .timeline-deg { grid-template-columns: 1fr; gap: 14px; padding-left: 4px; }
  .timeline-deg::before { left: 62px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--bleu), var(--or)); }
  .timeline-deg li { flex-direction: row; text-align: left; gap: 14px; }
  .timeline-deg__year { width: 44px; }
  .timeline-deg li.is-last .timeline-deg__dot { margin: 0 -4px; }
}

/* À propos : le bécher du nom */
.beaker { margin: 40px auto 0; max-width: 640px; text-align: center; }
.beaker svg { width: 100%; height: auto; overflow: visible; }
.beaker figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 6px; }
.beaker__eq { font-size: .95rem; color: var(--texte-doux); }
.beaker__eq b { color: var(--or-fonce); margin: 0 .3em; }
.beaker__result { font-family: var(--font-titre); font-size: clamp(2rem, 6vw, 2.8rem); color: var(--nuit); line-height: 1.1; }
.beaker__result::before, .beaker__result::after { content: "✦"; color: var(--or); font-size: .55em; vertical-align: middle; margin: 0 .4em; }
.beaker__note { font-style: italic; color: var(--texte-doux); font-size: .92rem; }
.beaker__bubbles circle { animation: bubble 3s ease-in infinite; }
.beaker__bubbles circle:nth-child(2) { animation-delay: 1s; }
.beaker__bubbles circle:nth-child(3) { animation-delay: 2s; }
@keyframes bubble { 0% { transform: translateY(20px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-30px); opacity: 0; } }
.beaker__dust { animation: twinkle 3s ease-in-out infinite; transform-origin: 320px 130px; }

/* À propos : phrase seule dans le chapitre 6 */
.chapter__echo { font-family: var(--font-manuscrite); font-weight: 700; font-size: 1.5rem; color: var(--encre); margin: .2em 0 1em; }

/* ---------- Parcours : extraits de témoignages ---------- */
.path-quote { position: relative; margin: 22px 0 0; padding: 20px 22px 18px 58px; background: var(--blanc); border-radius: 18px; box-shadow: var(--ombre-douce); border-left: 4px solid var(--or); }
.path-quote::before { content: "“"; position: absolute; left: 16px; top: 4px; font-family: var(--font-titre); font-size: 3.4rem; line-height: 1; color: var(--bleu); }
.path-quote blockquote { margin: 0 0 8px; font-style: italic; text-align: left; }
.path-quote figcaption { font-size: .85rem; color: var(--texte-doux); }
.path-quote figcaption strong { color: var(--nuit); }
.path-quote + .path-quote { margin-top: 14px; }
p.path-quote__more { margin: 12px 0 0; font-size: .88rem; text-align: right; }

/* ---------- Infos pratiques : vacances ---------- */
.holidays { display: flex; gap: 18px; align-items: flex-start; max-width: 820px; margin: 26px auto 0; padding: 22px 26px; border-radius: var(--radius); background: var(--blanc); box-shadow: var(--ombre-douce); border-left: 4px solid var(--or); }
.holidays__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: var(--nuit); background: radial-gradient(circle, #FFE3A3, var(--or)); }
.holidays h3 { font-size: 1.3rem; margin-bottom: .3em; }
.holidays p { margin: 0; }

/* ---------- Le kit Astéria ---------- */
.kit { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); max-width: 860px; margin: 34px auto 0; }
.kit__item { background: var(--blanc); border-radius: var(--radius); padding: 26px 26px 24px; text-align: center; box-shadow: var(--ombre-douce); transition: transform .3s; }
.kit__item:hover { transform: translateY(-4px) rotate(-.5deg); }
.kit__img { width: 120px; height: 120px; margin: 0 auto 10px; display: block; filter: drop-shadow(0 10px 16px rgba(30,35,91,.2)); }
.kit__item p { text-align: left; margin: 0; }
.kit__note { margin-top: 24px; font-size: 1.02rem; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
