/* ============================================================================
   LUMIÈRE — thème du site du Cabinet de Neuropsychologie Sophie JACQUET
   v2 — direction « lumière & apaisement », mais avec de la profondeur.

   Le principe de la v1 était juste et le rendu était plat : des colonnes sages
   sur fond crème. La v2 garde la douceur et ajoute ce qui manquait — du plein
   écran, une section sombre qui fait respirer par contraste, et des visuels
   qui saignent jusqu'aux bords.

   Le récit visuel suit celui de Sophie : on entre dans la lumière, on traverse
   l'ombre (les signes d'appel), on en ressort.

   Organisation : ASGARD — ©byGP 2026
   ========================================================================= */

/* ---------- Tokens ------------------------------------------------------ */
:root {
  --creme:        #FDFBF7;
  --sable:        #F5EFE6;
  --sable-fonce:  #EADFCF;

  --encre:        #2A2724;
  --encre-douce:  #5C554E;
  --encre-tenue:  #8A8078;

  /* La nuit : chaude, jamais noire — c'est une ombre, pas un vide */
  --nuit:         #211E1B;
  --nuit-claire:  #322D28;

  --terre:        #B9613F;
  --terre-claire: #E3A183;
  --terre-voile:  #F6E4DA;

  --ciel:         #4E7E96;
  --ciel-clair:   #A9C8D6;
  --ciel-voile:   #E4EEF3;

  --sauge:        #7E9679;
  --sauge-voile:  #E9EFE7;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --page:        min(1280px, 100% - 3rem);
  --page-etroit: min(780px, 100% - 3rem);
  --r:       16px;
  --r-grand: 32px;

  --ombre-1: 0 2px 8px rgba(42,39,36,.04), 0 10px 30px rgba(42,39,36,.06);
  --ombre-2: 0 6px 20px rgba(42,39,36,.07), 0 28px 60px rgba(42,39,36,.1);
  --ombre-3: 0 20px 70px rgba(42,39,36,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 .55em;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  text-wrap: balance;
}

/* Une échelle franche : le titre écrase, le reste se tait. */
h1 { font-size: clamp(3rem, 1.2rem + 7.4vw, 8rem); }
h2 { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.6rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--terre); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--encre); }
img, video { max-width: 100%; display: block; }

.page        { width: var(--page);        margin-inline: auto; }
.page-etroit { width: var(--page-etroit); margin-inline: auto; }

.surtitre {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terre);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: .9em;
}
.surtitre::before {
  content: '';
  width: 2.4rem; height: 1px;
  background: currentColor;
  opacity: .5;
  flex: none;
}

.chapeau {
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
  line-height: 1.55;
  color: var(--encre-douce);
  text-wrap: pretty;
}

.accent { color: var(--terre); }
.serif-italique { font-family: var(--serif); font-style: italic; }

/* ---------- Boutons ----------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 1.05em 2.1em;
  border-radius: 100px;
  font-size: .97rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 300ms var(--ease), box-shadow 300ms ease, background 300ms ease, color 300ms ease, border-color 300ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.bouton--plein {
  background: var(--terre); color: #fff;
  box-shadow: 0 6px 20px rgba(185,97,63,.26);
}
.bouton--plein:hover {
  background: #A55637; color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(185,97,63,.34);
}
.bouton--ligne { border-color: rgba(42,39,36,.2); color: var(--encre); }
.bouton--ligne:hover { border-color: var(--encre); transform: translateY(-3px); }

/* Variantes sur fond sombre ou sur image */
.bouton--clair { background: var(--creme); color: var(--encre); }
.bouton--clair:hover { background: #fff; color: var(--encre); transform: translateY(-3px); }
.bouton--fantome { border-color: rgba(253,251,247,.35); color: var(--creme); }
.bouton--fantome:hover { border-color: var(--creme); color: var(--creme); background: rgba(253,251,247,.08); transform: translateY(-3px); }

.bouton .fleche { transition: transform 340ms var(--ease); }
.bouton:hover .fleche { transform: translateX(5px); }

/* ---------- En-tête ----------------------------------------------------- */
.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 500ms ease, box-shadow 500ms ease, padding 500ms ease;
}
/* Au-dessus du hero sombre, l'en-tête s'écrit en clair. */
.entete--sur-image .marque,
.entete--sur-image .nav a { color: var(--creme); }
.entete--sur-image .marque__role { color: rgba(253,251,247,.6); }
.entete--sur-image .burger span { background: var(--creme); }

.entete.est-pose {
  background: rgba(253,251,247,.9);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  box-shadow: 0 1px 0 rgba(42,39,36,.08);
  padding: .8rem 0;
}
.entete.est-pose .marque,
.entete.est-pose .nav a { color: var(--encre); }
.entete.est-pose .nav a { color: var(--encre-douce); }
.entete.est-pose .marque__role { color: var(--encre-tenue); }
.entete.est-pose .burger span { background: var(--encre); }

.entete__grille { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.marque { text-decoration: none; color: var(--encre); line-height: 1.2; transition: color 400ms ease; }
.marque__nom { font-family: var(--serif); font-size: 1.3rem; display: block; }
.marque__role {
  font-size: .66rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--encre-tenue); display: block; margin-top: .2em; transition: color 400ms ease;
}

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__liens { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-size: .92rem; font-weight: 500; color: var(--encre-douce);
  text-decoration: none; position: relative; padding: .2em 0; transition: color 400ms ease;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 360ms var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .bouton { padding: .72em 1.4em; font-size: .89rem; }
.nav .bouton::after { display: none; }

.burger { display: none; }
.menu-mobile { display: none; }

/* ═══════════════ HERO — plein écran ═══════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 10rem 0 clamp(3.5rem, 6vh, 6rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--nuit);
}

/* Le média occupe tout le cadre. C'est lui qui accueille, pas une vignette. */
.hero__fond { position: absolute; inset: 0; z-index: -3; }
.hero__fond img,
.hero__fond video { width: 100%; height: 100%; object-fit: cover; }

/* Deux voiles : un pour la lisibilité, un pour la chaleur. */
.hero__fond::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(33,30,27,.94) 0%, rgba(33,30,27,.6) 38%, rgba(33,30,27,.25) 68%, rgba(33,30,27,.45) 100%),
    linear-gradient(105deg, rgba(185,97,63,.22), transparent 55%);
}

/* L'aurore passe au-dessus du média, très discrète — le souffle du site. */
.aurore { position: absolute; inset: -20%; z-index: -2; filter: blur(90px); opacity: .5; pointer-events: none; }
.aurore span { position: absolute; border-radius: 50%; will-change: transform; }
.aurore span:nth-child(1) {
  width: 55vw; height: 55vw; left: -10%; bottom: -15%;
  background: radial-gradient(circle, rgba(185,97,63,.5), transparent 66%);
  animation: derive-a 36s ease-in-out infinite alternate;
}
.aurore span:nth-child(2) {
  width: 48vw; height: 48vw; right: -8%; top: -10%;
  background: radial-gradient(circle, rgba(78,126,150,.42), transparent 66%);
  animation: derive-b 44s ease-in-out infinite alternate;
}
.aurore span:nth-child(3) {
  width: 40vw; height: 40vw; left: 40%; bottom: -20%;
  background: radial-gradient(circle, rgba(126,150,121,.34), transparent 64%);
  animation: derive-c 40s ease-in-out infinite alternate;
}
@keyframes derive-a { to { transform: translate3d(8vw, -5vh, 0) scale(1.16); } }
@keyframes derive-b { to { transform: translate3d(-7vw, 6vh, 0) scale(1.12); } }
@keyframes derive-c { to { transform: translate3d(5vw, -7vh, 0) scale(1.2); } }

.constellation { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }

.hero__contenu { position: relative; z-index: 1; color: var(--creme); }
.hero h1 { max-width: 15ch; color: var(--creme); margin-bottom: .3em; }
.hero h1 .ligne { display: block; overflow: hidden; }
.hero h1 .ligne > span { display: block; animation: monte 1.25s var(--ease) both; }
.hero h1 .ligne:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ligne:nth-child(3) > span { animation-delay: .24s; }
@keyframes monte { from { transform: translateY(108%); } to { transform: translateY(0); } }

.hero__bas {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}
.hero__chapeau {
  max-width: 44ch;
  color: rgba(253,251,247,.82);
  animation: fondu-monte 1.1s ease-out .55s both;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; animation: fondu-monte 1.1s ease-out .72s both; }

@keyframes fondu-monte { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.defilez {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(253,251,247,.45);
  display: flex; flex-direction: column-reverse; align-items: center; gap: .7rem;
  animation: fondu-monte 1s ease-out 1.2s both;
  z-index: 1;
}
.defilez i { width: 1px; height: 38px; background: linear-gradient(rgba(253,251,247,.5), transparent); animation: respire 2.8s ease-in-out infinite; }
@keyframes respire { 0%,100% { opacity: .2; transform: scaleY(.65); } 50% { opacity: 1; transform: scaleY(1); } }

/* ═══════════════ SECTIONS ═══════════════ */
.section { padding: clamp(5.5rem, 3rem + 9vw, 11rem) 0; position: relative; }
.section--sable { background: var(--sable); }
.section--nuit  { background: var(--nuit); color: var(--sable); }
.section--nuit h2, .section--nuit h3 { color: var(--creme); }
.section--nuit .chapeau { color: rgba(245,239,230,.72); }
.section--nuit .surtitre { color: var(--terre-claire); }
.section--serree { padding-block: clamp(4rem, 2rem + 6vw, 7rem); }

.section__intro { max-width: 62ch; margin-bottom: clamp(3rem, 5vw, 5rem); }
.section__intro--large { max-width: 78ch; }

/* ---------- Le composant « plan » : l'emplacement d'un média -------------
   Tant que Kling n'a pas tourné, ces cadres montrent la composition finale
   plutôt qu'un trou. Ils portent le code du plan (V1, I3…) pour qu'on sache
   exactement quoi y déposer. Voir PROMPTS-GENERATIFS.md.
   -------------------------------------------------------------------------- */
.plan {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-grand);
  background: linear-gradient(150deg, var(--sable-fonce), var(--terre-voile) 45%, var(--ciel-voile));
  display: grid;
  place-items: center;
  isolation: isolate;
}
.plan img, .plan video { width: 100%; height: 100%; object-fit: cover; grid-area: 1/1; }
.plan::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.55), transparent 60%);
  z-index: 1;
}
.plan__attente {
  grid-area: 1/1;
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  color: var(--encre-douce);
}
.plan__code {
  display: inline-block;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .45em 1em;
  border-radius: 100px;
  background: rgba(42,39,36,.08);
  color: var(--encre);
  margin-bottom: .9rem;
}
.plan__titre { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; margin: 0 0 .35rem; color: var(--encre); }
.plan__note { font-size: .82rem; color: var(--encre-tenue); margin: 0; }

.plan--nuit { background: linear-gradient(150deg, var(--nuit-claire), #3d332c 50%, #2a2a2e); }
.plan--nuit::before { background: radial-gradient(120% 90% at 70% 20%, rgba(227,161,131,.22), transparent 62%); }
.plan--nuit .plan__code { background: rgba(253,251,247,.12); color: var(--creme); }
.plan--nuit .plan__titre { color: var(--creme); }
.plan--nuit .plan__note { color: rgba(245,239,230,.5); }

/* ---------- Bande pleine largeur ---------------------------------------- */
.bande {
  position: relative;
  height: clamp(340px, 46vw, 620px);
  overflow: hidden;
  border-radius: 0;
}
.bande .plan { border-radius: 0; height: 100%; }

/* ═══════════════ LES TROIS ÂGES — en escalier ═══════════════ */
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2vw, 2.2rem); align-items: start; }
.ages > :nth-child(2) { margin-top: clamp(2rem, 5vw, 5rem); }
.ages > :nth-child(3) { margin-top: clamp(4rem, 10vw, 10rem); }

.age { display: flex; flex-direction: column; }
.age__visuel { aspect-ratio: 4/5; margin-bottom: 1.8rem; box-shadow: var(--ombre-1); transition: transform 620ms var(--ease), box-shadow 620ms ease; }
.age:hover .age__visuel { transform: translateY(-8px); box-shadow: var(--ombre-2); }

.age__age {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 2rem + 1.8vw, 3.8rem);
  line-height: 1; color: var(--terre); margin: 0 0 .1em;
}
.age--petits  .age__age { color: var(--sauge); }
.age--adultes .age__age { color: var(--ciel); }

.age__titre { font-size: 1.4rem; margin-bottom: .7rem; }
.age p { font-size: .99rem; color: var(--encre-douce); }
.age__lien { margin-top: 1.3rem; font-size: .92rem; font-weight: 600; text-decoration: none; display: inline-flex; gap: .5em; align-items: center; }

/* ═══════════════ SIGNES D'APPEL — la traversée de l'ombre ═══════════════ */
.signes { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }

.signes__liste { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.signes__liste li {
  padding: 1.15rem 0 1.15rem 2.6rem;
  border-bottom: 1px solid rgba(245,239,230,.12);
  position: relative;
  color: rgba(245,239,230,.74);
  font-size: 1.05rem;
}
.signes__liste li:first-child { border-top: 1px solid rgba(245,239,230,.12); }
.signes__liste li::before {
  content: ''; position: absolute; left: .5rem; top: 1.75rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--terre-claire);
}
.signes__liste strong { color: var(--creme); font-weight: 600; }

.definition {
  padding: clamp(2rem, 3vw, 3rem);
  background: rgba(253,251,247,.05);
  border: 1px solid rgba(245,239,230,.12);
  border-radius: var(--r-grand);
}
.definition h3 { font-size: 1.5rem; color: var(--terre-claire); }
.definition p { color: rgba(245,239,230,.7); font-size: .97rem; }
.definition strong { color: var(--creme); font-weight: 600; }
.definition em { color: var(--terre-claire); font-style: italic; }

/* ═══════════════ LA DÉMARCHE ═══════════════ */
.etapes { display: grid; gap: clamp(3rem, 6vw, 6rem); }

.etape { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.etape:nth-child(even) .etape__visuel { order: -1; }
.etape__visuel { aspect-ratio: 16/11; box-shadow: var(--ombre-2); }

.etape__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 2rem + 3vw, 5rem);
  line-height: .85;
  color: var(--sable-fonce);
  display: block;
  margin-bottom: .3rem;
}
.etape h3 { margin-bottom: .6rem; }
.etape p { color: var(--encre-douce); }
.etape__outils { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.puce {
  font-size: .76rem; font-weight: 600; letter-spacing: .05em;
  padding: .45em 1em; border-radius: 100px;
  background: var(--sable); color: var(--encre-douce);
}
.section--sable .puce { background: var(--creme); }

/* ═══════════════ PROGRAMMES ═══════════════ */
.programmes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 2.5vw, 2.4rem); }

.programme {
  border-radius: var(--r-grand);
  background: var(--creme);
  box-shadow: var(--ombre-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 560ms var(--ease), box-shadow 560ms ease;
}
.programme:hover { transform: translateY(-6px); box-shadow: var(--ombre-2); }
.programme__visuel { aspect-ratio: 16/9; border-radius: 0; }
.programme__corps { padding: clamp(1.8rem, 3vw, 2.8rem); display: flex; flex-direction: column; flex: 1; }

.programme__etiquette {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .45em 1em; border-radius: 100px; margin-bottom: 1.4rem;
}
.programme--habiletes .programme__etiquette { background: var(--sauge-voile); color: var(--sauge); }
.programme--pifam     .programme__etiquette { background: var(--terre-voile); color: var(--terre); }
.programme p { color: var(--encre-douce); font-size: .98rem; }

.programme__etat {
  margin-top: auto; padding-top: 1.6rem;
  display: flex; align-items: center; gap: .65rem;
  font-size: .9rem; font-weight: 600;
}
.pastille { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pastille--complet { background: var(--encre-tenue); }
.pastille--ouvert  { background: var(--sauge); box-shadow: 0 0 0 4px var(--sauge-voile); }

/* ═══════════════ PORTRAIT ═══════════════ */
.portrait { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.portrait__image {
  position: relative;
  border-radius: 300px 300px var(--r-grand) var(--r-grand);
  overflow: hidden;
  box-shadow: var(--ombre-3);
  aspect-ratio: 4/5;
}
.portrait__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.portrait__parcours { list-style: none; margin: 2.4rem 0 0; padding: 0; }
.portrait__parcours li {
  display: grid; grid-template-columns: 5rem 1fr; gap: 1.4rem;
  padding: .9rem 0; border-bottom: 1px solid rgba(42,39,36,.09);
  font-size: .94rem; color: var(--encre-douce);
}
.portrait__parcours time { font-weight: 700; color: var(--terre); font-variant-numeric: tabular-nums; }

/* ═══════════════ RÉSEAUX ═══════════════ */
.reseaux { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.3rem; }
.reseau {
  padding: 2rem;
  background: var(--creme);
  border-radius: var(--r);
  border: 1px solid rgba(42,39,36,.08);
  transition: transform 460ms var(--ease), border-color 460ms ease;
}
.reseau:hover { transform: translateY(-4px); border-color: var(--terre-claire); }
.reseau h4 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin-bottom: .45rem; }
.reseau p { font-size: .88rem; color: var(--encre-douce); margin: 0; }

/* ═══════════════ HONORAIRES ═══════════════ */
.honoraires { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.honoraires caption {
  text-align: left; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--encre-tenue); padding-bottom: 1.3rem;
}
.honoraires th, .honoraires td { padding: 1.15rem 1rem; text-align: left; vertical-align: top; }
.honoraires thead th {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--encre-tenue);
  border-bottom: 1.5px solid rgba(42,39,36,.16);
}
.honoraires tbody tr { border-bottom: 1px solid rgba(42,39,36,.08); transition: background 300ms ease; }
.honoraires tbody tr:hover { background: var(--sable); }
.honoraires td:first-child { font-weight: 500; max-width: 42ch; }
.honoraires td small { display: block; color: var(--encre-tenue); font-size: .84rem; font-weight: 400; margin-top: .25rem; line-height: 1.5; }
.honoraires .prix { font-family: var(--serif); font-size: 1.7rem; color: var(--terre); white-space: nowrap; font-variant-numeric: tabular-nums; }
.honoraires .duree { color: var(--encre-tenue); font-size: .9rem; white-space: nowrap; }
.tableau-defilant { overflow-x: auto; }

/* ═══════════════ APPEL FINAL — pleine largeur ═══════════════ */
.appel {
  position: relative;
  min-height: clamp(460px, 58vh, 680px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--nuit);
}
.appel__fond { position: absolute; inset: 0; z-index: -2; }
.appel__fond .plan { height: 100%; border-radius: 0; }
.appel__fond::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(33,30,27,.9), rgba(33,30,27,.62));
  z-index: 1;
}
.appel__contenu { position: relative; z-index: 1; padding: 4rem 1.5rem; color: var(--creme); }
.appel h2 { max-width: 17ch; margin-inline: auto; color: var(--creme); }
.appel .surtitre { justify-content: center; color: var(--terre-claire); }
.appel .chapeau { max-width: 54ch; margin-inline: auto; color: rgba(253,251,247,.78); }
.appel__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.6rem; }

/* ═══════════════ PIED ═══════════════ */
.pied { background: var(--nuit); color: var(--sable); padding: 5.5rem 0 2.5rem; border-top: 1px solid rgba(245,239,230,.1); }
.pied a { color: var(--sable); text-decoration: none; }
.pied a:hover { color: var(--terre-claire); text-decoration: underline; }
.pied__grille {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(245,239,230,.14);
}
.pied h4 {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(245,239,230,.45); margin-bottom: 1.3rem;
}
.pied address { font-style: normal; line-height: 1.9; color: rgba(245,239,230,.82); }
.pied address small { color: rgba(245,239,230,.5); }
.pied ul { list-style: none; margin: 0; padding: 0; line-height: 2.15; color: rgba(245,239,230,.82); }
.pied__bas {
  padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; font-size: .83rem; color: rgba(245,239,230,.42);
}

/* ═══════════════ RÉVÉLATION ═══════════════ */
.reveler { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s var(--ease); }
.reveler.est-visible { opacity: 1; transform: none; }
.reveler[data-delai="1"] { transition-delay: 120ms; }
.reveler[data-delai="2"] { transition-delay: 240ms; }
.reveler[data-delai="3"] { transition-delay: 360ms; }

/* ═══════════════ ACCESSIBILITÉ ═══════════════ */
:focus-visible { outline: 2.5px solid var(--terre); outline-offset: 3px; border-radius: 4px; }
.section--nuit :focus-visible, .hero :focus-visible, .appel :focus-visible { outline-color: var(--terre-claire); }

.saut-contenu {
  position: absolute; left: -9999px; top: 0;
  background: var(--terre); color: #fff; padding: 1em 1.6em; z-index: 200;
  border-radius: 0 0 var(--r) 0;
}
.saut-contenu:focus { left: 0; }

/* Une partie du public est TSA ou TDA/H : le mouvement se coupe net. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveler { opacity: 1; transform: none; }
}

/* ═══════════════ ADAPTATIF ═══════════════ */
@media (max-width: 1100px) {
  .ages { grid-template-columns: 1fr 1fr; }
  .ages > :nth-child(3) { margin-top: 0; grid-column: 1 / -1; max-width: 52%; }
}

@media (max-width: 900px) {
  :root { --page: min(1280px, 100% - 2.2rem); }

  .nav__liens { display: none; }
  .burger {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: .6rem; cursor: pointer;
  }
  .burger span { width: 22px; height: 1.5px; background: var(--encre); display: block; transition: transform 300ms ease, opacity 300ms ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .menu-mobile {
    display: grid; position: fixed; inset: 0; background: var(--creme);
    align-content: center; justify-items: center; gap: 1.7rem; z-index: 99;
    opacity: 0; pointer-events: none; transition: opacity 340ms ease;
  }
  .menu-mobile.est-ouvert { opacity: 1; pointer-events: auto; }
  .menu-mobile a { font-family: var(--serif); font-size: 2rem; color: var(--encre); text-decoration: none; }

  .hero { min-height: 92svh; padding-top: 9rem; }
  .hero__bas { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .defilez { display: none; }

  .ages { grid-template-columns: 1fr; gap: 3rem; }
  .ages > :nth-child(2), .ages > :nth-child(3) { margin-top: 0; max-width: none; }
  .age__visuel { aspect-ratio: 16/10; }

  .signes { grid-template-columns: 1fr; }
  .etape { grid-template-columns: 1fr; gap: 2rem; }
  .etape:nth-child(even) .etape__visuel { order: 0; }
  .programmes { grid-template-columns: 1fr; }
  .portrait { grid-template-columns: 1fr; }
  .portrait__image { max-width: 400px; }
  .pied__grille { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.7rem, 2rem + 5vw, 4rem); }
  .honoraires th, .honoraires td { padding: .9rem .6rem; }
  .honoraires .prix { font-size: 1.35rem; }
}
