/* Hallmark · genre: playful · macrostructure: Photographic (bandes photo + plis de texte variés) · design-system: DESIGN.md · designed-as-app
 * nav: barre de la yourte (logo, liens, Réserver) · footer: le plancher · enrichment: photos détourées + 3 illustrations à plat (Nano Banana 2.1)
 * Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5
 *
 * La nouvelle mise en page de l'accueil et des pages de session (14/10/2026).
 * Chargée APRÈS yourte.css, uniquement par index.html et session.html :
 * les autres pages gardent leur mise en page tant qu'elles ne sont pas refaites.
 * Les couleurs, les polices et les boutons viennent de yourte.css (DESIGN.md).
 */

:root {
  --sortie-forte: cubic-bezier(0.23, 1, 0.32, 1); /* les entrées : rapides au départ, douces à l'arrivée */
  --ombre-photo: 0 24px 48px -22px rgba(43, 15, 58, 0.85);
}

html, body { overflow-x: clip; }

/* Les boutons répondent sous le doigt */
.bouton:active { transform: scale(0.97); }
@media (hover: none) {
  .bouton:hover { transform: none; box-shadow: 0 3px 8px -4px rgba(43, 15, 58, 0.55); }
}

/* ==========================================================
   Le haut de page : le titre et les sessions à gauche,
   l'écran qui danse à droite (page d'une session)
   ========================================================== */

.toit--scene {
  justify-content: center;
  text-align: left;
  padding-top: clamp(4.75rem, 9vh, 6.5rem);
}
.scene {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
}
.scene-texte {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  container-type: inline-size;
}
/* « Défoulatorium » ne se coupe jamais : la taille suit la largeur de sa colonne */
.scene-titre {
  margin: 0;
  font-size: clamp(2.6rem, 12cqi, 5.75rem);
  line-height: 0.98;
}
.scene-titre .mot { display: inline-block; transform-origin: 50% 100%; }
#haut.toit--scene .accroche {
  max-width: 34ch;
  margin: 1.25rem 0 0 -1.4rem;
}
#haut.toit--scene .prochain {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.9rem;
  width: min(100%, 31rem);
  margin: 1rem 0 0 -1.6rem;
}
#haut.toit--scene .prochain .creneaux { flex-direction: column; align-items: stretch; gap: 0.75rem; }
#haut.toit--scene .prochain-prix { flex-basis: auto; }
#haut.toit--scene .prochain .creneau { justify-content: space-between; }

/* L'écran qui danse, avec la vraie photo de Caro dans sa case (jamais détourée) */
.portable--scene {
  width: min(100%, 44rem);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}
.portable--scene .rayons { top: 46%; }

@media (max-width: 900px) {
  .toit--scene { text-align: center; }
  .scene { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .scene-texte { display: contents; }
  .scene-titre { order: 1; font-size: clamp(2.4rem, 11vw, 4.75rem); }
  .portable--scene { order: 2; margin-top: 2rem; }
  #haut.toit--scene .accroche { order: 3; margin: 1.5rem auto 0; }
  #haut.toit--scene .prochain { order: 4; margin: 1.25rem auto 0; }
}
@media (max-width: 560px) {
  #haut.toit--scene .prochain { width: auto; margin-inline: calc(-1 * var(--gouttiere)); }
}

/* ---------- L'entrée : les rayons éclatent, l'écran monte, le titre rebondit ---------- */

@keyframes rayons-eclat {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.35); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes ecran-monte {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes mot-rebondit {
  0% { opacity: 0; transform: translateY(-70%) scaleY(1.12); }
  55% { opacity: 1; transform: translateY(7%) scaleY(0.92); }
  78% { transform: translateY(-2%) scaleY(1.02); }
  100% { opacity: 1; transform: none; }
}
@keyframes monte-doux {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Tant que l'entrée n'a pas commencé, on cache ce qui va arriver (seulement si le mouvement est permis) */
.avec-entree:not(.entree) .toit--scene :is(.rayons, .ecran, .socle, .mot, .accroche, .prochain, .fiche) { opacity: 0; }

.entree .toit--scene .rayons { animation: rayons-eclat 1.2s var(--sortie-forte) both; }
.entree .toit--scene .ecran,
.entree .toit--scene .socle { animation: ecran-monte 0.7s var(--sortie-forte) 0.1s both; }
.entree .toit--scene .mot { animation: mot-rebondit 0.75s var(--sortie-forte) 0.2s both; }
.entree .toit--scene .mot + .mot { animation-delay: 0.3s; }
.entree .toit--scene .accroche { animation: monte-doux 0.5s var(--sortie-forte) 0.85s both; }
.entree .toit--scene .prochain,
.entree .toit--scene .fiche { animation: monte-doux 0.5s var(--sortie-forte) 0.95s both; }

/* ==========================================================
   La danse : le texte et la photo de Caro, puis la vague
   ========================================================== */

.danse-ouverture {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.danse-intro .chapeau { margin-top: 1.5rem; }
.danse-colonnes {
  columns: 2 17rem;
  column-gap: clamp(1.75rem, 3vw, 2.75rem);
  margin-top: 1.75rem;
}
.danse-colonnes p { margin: 0 0 1.1rem; break-inside: avoid; }
.danse-colonnes a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }

.danse-photo { transform: rotate(2deg); }
.danse-photo img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; }

/* L'objectif : la photo, puis la liste à étoiles */
.objectif-bloc {
  max-width: 62rem;
  margin: clamp(4.5rem, 9vw, 7rem) auto 0;
}
.objectif-titre {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.1;
}
.objectif-chapeau { margin: 1rem 0 0; font-size: clamp(1.125rem, 1.6vw, 1.3rem); font-weight: 700; }
/* La liste : deux colonnes aérées, de toutes petites étoiles pour que le texte se lise d'abord */
.objectif-liste {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  columns: 2 21rem;
  column-gap: clamp(2rem, 5vw, 4rem);
}
.objectif-liste li { break-inside: avoid; }
.objectif-liste li, .decoupage li { display: flex; gap: 0.75rem; padding: 0.35rem 0; }
.objectif-liste svg, .decoupage svg {
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.2em;
  color: var(--turquoise);
  flex: none;
}
.objectif-liste li { gap: 0.6rem; padding: 0.5rem 0; line-height: 1.45; }
.objectif-liste svg { width: 0.6em; height: 0.6em; margin-top: 0.5em; }
.coeur-photo {
  width: min(100%, 38rem);
  margin: 2rem auto 0;
  transform: rotate(-1.5deg);
}
.coeur-photo img { display: block; width: 100%; height: auto; }
.coeur-bloc {
  max-width: 62ch;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}
.coeur-bloc p { margin: 0 0 1.1rem; }
.decoupage {
  max-width: 62ch;
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.vague-bloc {
  margin-top: clamp(4.5rem, 9vw, 7rem);
  text-align: center;
}
.vague-bloc .vague-titre {
  margin: 0 auto;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.1;
  max-width: 18ch;
}
.vague-chapeau {
  max-width: 46ch;
  margin: 1rem auto 0;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
}
.vague-image {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--ombre-photo);
}
.vague-image img { width: 100%; }
.vague--trois {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem clamp(1.5rem, 3vw, 2.5rem);
  margin: 2rem 0 0;
  text-align: left;
}
.vague--trois li { padding-top: 0.35rem; }
.vague-fin {
  max-width: 40ch;
  margin: 2.25rem auto 0;
  font-family: var(--police-titre);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.3;
}

.devise-bande {
  /* La section a déjà son espace du haut : pas de marge en plus (sinon le vide est double) */
  margin-top: 0;
  text-align: center;
}
.devise-bande .devise {
  margin: 0 auto;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  max-width: 22ch;
}
.devise-bande .reperes { justify-content: center; margin-top: 1.75rem; }

@media (max-width: 900px) {
  .danse-ouverture, .objectif-bloc { grid-template-columns: 1fr; }
  .danse-photo, .objectif-photo { width: min(100%, 26rem); margin: 0 auto; }
}
@media (max-width: 720px) {
  .vague--trois { grid-template-columns: 1fr; }
}

/* ==========================================================
   Les sessions : la planète qui danse, et l'agenda
   ========================================================== */

.sessions-duo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.sessions-tete { position: sticky; top: 2rem; }
/* Avant la saison : l'annonce de la première session (turquoise sur la nuit) */
.agenda-ouverture {
  margin-top: 1.25rem;
  color: var(--turquoise);
  font-family: var(--police-titre);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.2;
}
.planete {
  width: min(100%, 22rem);
  margin: 2.5rem 0 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 10px var(--turquoise);
}
.planete img { width: 100%; }
.acte-sessions .agenda { margin-top: 0; }
.acte-sessions .agenda-jour { grid-template-columns: minmax(10rem, 1fr) minmax(0, 1.6fr); }

@media (max-width: 900px) {
  .sessions-duo { grid-template-columns: 1fr; gap: 2rem; }
  .sessions-tete { position: static; }
  .planete { display: none; }
}
@media (max-width: 720px) {
  .acte-sessions .agenda-jour { grid-template-columns: 1fr; }
}

/* ==========================================================
   Les formules : quatre prix côte à côte, sous un rail
   ========================================================== */

.acte-formules .formules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 2.5vw, 2.5rem);
}
.acte-formules .formule {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 1.5rem 0 0;
  border-top: 5px solid var(--nuit);
}
.acte-formules .formule--meilleure { border-top-color: var(--turquoise); }
.acte-formules .formule .formule-prix {
  font-size: clamp(3rem, 5vw, 4.25rem);
  align-self: flex-start;
}
.acte-formules .formule-texte { margin-top: 1rem; }
.acte-formules .formule-actions {
  flex-direction: column;
  align-items: stretch;
  margin-top: auto;
  padding-top: 1.5rem;
}
.acte-formules .formule-choix { align-items: stretch; }
.acte-formules .formule .bouton { width: 100%; white-space: normal; text-align: center; }
.acte-formules .formule-variante { align-self: center; }

@media (max-width: 1000px) {
  .acte-formules .formules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .acte-formules .formules { grid-template-columns: 1fr; }
}

/* ==========================================================
   La bande photomaton : quatre gestes de Caro, accrochés
   ========================================================== */

.photomaton {
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gouttiere);
  background: var(--nuit);
  text-align: center;
}
.photomaton-bande {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.photomaton-bande li {
  border-radius: 6px;
  overflow: hidden;
  transform: rotate(-2deg);
}
.photomaton-bande li:nth-child(2n) { transform: rotate(1.6deg) translateY(0.75rem); }
.photomaton-bande li:nth-child(3) { transform: rotate(-1deg); }
.photomaton-bande img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photomaton-legende {
  max-width: 24ch;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  font-family: var(--police-titre);
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  text-wrap: balance;
}

@media (max-width: 720px) {
  .photomaton-bande { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================
   Débutants ou avancés : un diptyque turquoise / framboise
   ========================================================== */

.acte-niveaux { padding-inline: 0; }
.niveaux-tete,
.niveaux-pied { padding-inline: var(--gouttiere); }
.niveaux--diptyque {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch; /* les deux panneaux ont toujours la même hauteur */
  gap: 0;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}
.niveaux--diptyque .niveau {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gouttiere);
}
.niveaux--diptyque .niveau > * { max-width: 32rem; margin-inline: auto; }
.niveaux--diptyque .niveau .scene { margin-inline: auto; }
.niveaux--diptyque .niveau-nom { margin-top: 0.5rem; }

/* Sur la turquoise : tout le texte en nuit */
.niveau--turquoise { background: var(--turquoise); color: var(--nuit); }
.niveau--turquoise .scene { color: var(--nuit); }
.niveau--turquoise .scene-fleche { stroke: var(--feutre); }
.niveau--turquoise .scene-etincelle { color: var(--feutre); }
.niveau--turquoise .scene-texte,
.niveau--turquoise .scene-legende { fill: var(--nuit); }
.niveau--turquoise .niveau-nom { color: var(--nuit); }
.niveau--turquoise .niveau-liste svg { color: var(--feutre); }

/* Sur la framboise : texte feutre, jamais de turquoise écrite */
.niveau--framboise { background: var(--framboise); color: var(--feutre); }
.niveau--framboise .niveau-nom { color: var(--feutre); }

.niveaux-pied { max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding-top: clamp(3rem, 6vw, 4.5rem); }
.niveaux-pied .saucisses { margin-top: 0; }
.niveaux-pied .non-jugement { max-width: 58ch; margin-top: 1.75rem; font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

@media (max-width: 720px) {
  .niveaux--diptyque { grid-template-columns: 1fr; }
}

/* ==========================================================
   Comment ça marche : le salon dessiné et les quatre étapes
   ========================================================== */

.comment-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.salon {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--ombre-photo);
}
.salon img { width: 100%; }

/* Les quatre scènes dessinées : dedans, dehors, seul ou à plusieurs */
.mosaique { margin: 0; }
.mosaique-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.5vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mosaique-images li {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--ombre-photo);
}
.mosaique-images img { width: 100%; }
.mosaique figcaption {
  margin-top: 1.25rem;
  font-family: var(--police-titre);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}
.section--nuit .salon { box-shadow: none; } /* une ombre nuit sur la nuit ne se verrait pas */
.etapes--liste {
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.etapes--liste li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: baseline;
}
.etapes--liste li::before {
  grid-row: span 2;
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
}
.etapes--liste h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.etapes--liste p { margin-top: 0.35rem; grid-column: 2; }

@media (max-width: 900px) {
  .comment-duo { grid-template-columns: 1fr; }
}

/* ==========================================================
   Avec Caro : la photo de Caro qui danse dans la yourte, la citation à côté
   ========================================================== */

.caro--duo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
/* « Je rayonne » et le dernier appel : le même cadre que les autres photos du site
   (coins à peine arrondis, ombre douce, légèrement penchées). Les bords fondus ont été essayés
   le 15/10 et refusés par Caro : sur le framboise, ils font un voile sale. */
.photo-caro-rayonne { transform: rotate(-1.5deg); }
.photo-caro-rayonne img,
.appel-final-photo--large img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.appel-final-photo--large { flex: 0 1 32rem; width: min(32rem, 100%); }
@media (max-width: 900px) {
  .caro--duo { grid-template-columns: minmax(0, 1fr); }
  .caro--duo .caro-texte { margin-top: -1rem; }
}

/* ==========================================================
   Les questions : le titre reste à gauche pendant qu'on lit
   ========================================================== */

.questions-duo {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.questions-duo h2 { position: sticky; top: 2rem; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.questions-duo .questions { margin-top: 0; }
@media (max-width: 900px) {
  .questions-duo { grid-template-columns: 1fr; }
  .questions-duo h2 { position: static; }
}

/* ==========================================================
   Le dernier appel : la rime, le bouton, et la photo de Caro dans la yourte
   ========================================================== */

.appel-final {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem clamp(2rem, 5vw, 5rem);
  padding: clamp(3.5rem, 8vw, 6rem) var(--gouttiere);
  background: var(--framboise);
  overflow: hidden;
}
.appel-final-contenu {
  flex: 1 1 22rem;
  max-width: 38rem;
}
.appel-final h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  max-width: 14ch;
}
.appel-final .bouton { margin-top: 2rem; }
.appel-final-photo {
  flex: 0 1 24rem;
  width: min(24rem, 100%);
  transform: rotate(-2deg);
}
@media (max-width: 760px) {
  .appel-final { text-align: center; }
  .appel-final h2 { margin-inline: auto; }
}

/* ==========================================================
   Page d'une session : la fiche à gauche, l'écran à droite
   ========================================================== */

.toit--session.toit--scene { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.scene--session { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.scene--session .fiche {
  max-width: none;
  margin: 0;
  text-align: left;
}
.scene--session .fiche-choix,
.scene--session .fiche-actions { justify-content: flex-start; }
.scene--session .fiche-apres { margin-inline: 0; }
.scene--session .carnet-form { margin-inline: 0; }
.scene--session .fiche { order: 1; }
.scene--session .portable--scene { order: 2; width: min(100%, 34rem); }
.suite--salon {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: var(--largeur);
}
.suite--salon .salon { order: 2; }
@media (max-width: 900px) {
  .scene--session { grid-template-columns: minmax(0, 1fr); }
  .scene--session .fiche { order: 2; text-align: center; margin-top: 1.5rem; }
  .scene--session .portable--scene { order: 1; }
  .scene--session .fiche-choix,
  .scene--session .fiche-actions { justify-content: center; }
  .scene--session .fiche-apres { margin-inline: auto; }
  .scene--session .carnet-form { margin-inline: auto; }
  .suite--salon { grid-template-columns: minmax(0, 1fr); }
  .suite--salon .salon { order: 0; }
}
@media (max-width: 560px) {
  .scene--session .fiche { margin-inline: calc(-1 * var(--gouttiere)); }
}

/* ==========================================================
   L'accueil (15/10, choix de Caro) : le haut de page centré comme avant,
   un titre qui respire sous le menu, une seule phrase, un écran plus grand.
   Les sessions ne sont plus dans le haut de page : on les trouve en
   descendant ou par le menu.
   ========================================================== */

.toit--centre {
  justify-content: flex-start;
  text-align: center;
  padding-top: clamp(6.5rem, 15vh, 9rem);
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
}
.toit--centre .scene-titre {
  margin: 0;
  font-size: clamp(2.6rem, 8.4vw, 6.25rem);
  line-height: 1;
}
#haut.toit--centre .accroche {
  max-width: none;
  margin: clamp(1.5rem, 3.5vh, 2.25rem) auto 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}
.toit--centre .portable--scene {
  width: min(100%, 54rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
/* Sur téléphone aussi : le titre, puis la phrase, puis l'écran */
.toit--centre .scene-titre,
#haut.toit--centre .accroche,
.toit--centre .portable--scene { order: 0; }
/* Petits téléphones : « Défoulatorium » tient toujours sur la largeur, sans être coupé */
@media (max-width: 560px) {
  .toit--centre .scene-titre { font-size: 11vw; }
}

/* ==========================================================
   Les pages intérieures (Qui suis-je, Sans effort, Contact, Merci,
   pages légales, page introuvable) : le même système que l'accueil.
   Haut de page centré et aéré, titre qui rebondit, une phrase sur son aplat,
   puis un visuel (couronne, médaillon, hublot, photo) avec ses rayons.
   ========================================================== */

.toit--page.toit--scene {
  text-align: center;
  padding-top: clamp(6rem, 13vh, 8.5rem);
}
.toit--scene .scene-titre--page {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.25rem);
  line-height: 1.02;
  max-width: 16ch;
}
/* Le titre et la phrase passent devant les rayons du visuel (qui viennent après dans la page),
   et sur téléphone le titre reste en haut, avant la phrase et le visuel */
.toit--scene > .scene-titre--page,
.toit--scene > .accroche {
  position: relative;
  z-index: 1;
  order: 0;
}
.toit--scene > .accroche {
  max-width: 40ch;
  margin: clamp(1.25rem, 3vh, 2rem) auto 0;
  padding: 0.7rem 1.4rem;
  background: var(--framboise);
  border-radius: var(--arrondi-aplat);
}

/* Le visuel du haut : il porte ses rayons */
.scene-visuel {
  position: relative;
  margin: clamp(2.25rem, 5vw, 3.5rem) auto 0;
}
.scene-visuel .rayons { top: 50%; }
.toit--scene .portrait { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.toit--scene .medaillon { position: relative; margin: 0 auto; }
.hublot {
  display: block;
  width: min(66vw, 19rem);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 12px var(--turquoise), 0 0 0 15px var(--nuit);
}
.hublot img { width: 100%; height: 100%; object-fit: cover; }
/* Une photo devant les rayons : toujours dans un cercle, avec un anneau turquoise et une couronne de petites étoiles (demande de Caro, 19/11/2026) */
.photo-coucou {
  position: relative;
  width: min(62vw, 16rem);
  margin: 0 auto;
  overflow: visible;
  border-radius: 50%;
  box-shadow: none;
}
.photo-coucou img {
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 50%;
  box-shadow: 0 0 0 10px var(--turquoise), 0 0 0 13px var(--nuit);
}
.photo-coucou::after {
  content: "";
  position: absolute;
  inset: -15%;
  background: url("/assets/img/anneau-etoiles.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.avec-entree:not(.entree) .toit--scene :is(.scene-visuel, .portrait) { opacity: 0; }
.entree .toit--scene :is(.scene-visuel, .portrait) { animation: ecran-monte 0.7s var(--sortie-forte) 0.15s both; }

/* Le dernier appel, version nuit (après une section framboise) */
.appel-final--nuit { background: var(--nuit); }
.appel-final .chapeau { margin-top: 1rem; }

/* ---------- Qui suis-je ---------- */

.bio--scene { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.bio-cordes {
  padding-top: 1.5rem;
  border-top: 5px solid var(--nuit);
}
.bio-cordes h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}
.bio-cordes .bio-liste { margin-top: 1rem; }

.manifeste { text-align: center; }
.manifeste blockquote { margin: 0 auto; max-width: 34ch; }
.manifeste blockquote p {
  font-family: var(--police-titre);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.05;
  text-wrap: balance;
}
.manifeste blockquote footer { margin-top: 1rem; font-size: 1.2rem; font-weight: 700; }
.manifeste-texte {
  columns: 2 20rem;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 52rem;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  text-align: left;
}
.manifeste-texte p { margin: 0 0 1.1rem; break-inside: avoid; }
.manifeste-texte a { color: inherit; text-decoration-thickness: 2px; }

.origines--scene { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.origines--scene .photo { transform: rotate(-1.5deg); }
/* Sur téléphone et tablette : une seule colonne (ces règles passent après celles de yourte.css) */
@media (max-width: 900px) {
  .bio--scene,
  .origines--scene { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Sans effort ---------- */

.texte-duo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.texte-duo--inverse .texte-duo-image { order: -1; }
.texte-duo-texte p + p { margin-top: 1.1rem; }
.texte-duo-texte .chapeau { margin-bottom: 1.1rem; }
.texte-duo-image {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--ombre-photo);
}
.texte-duo-image img { width: 100%; }
.texte-centre {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.texte-centre h2 { margin-inline: auto; }
.texte-centre .chapeau { margin-inline: auto; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.texte-centre p + p { margin-top: 1.1rem; }
.texte-centre .jedi { margin: 1.5rem auto 0; max-width: 34ch; font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
@media (max-width: 900px) {
  .texte-duo { grid-template-columns: minmax(0, 1fr); }
  .texte-duo--inverse .texte-duo-image { order: 0; }
}

/* ---------- Contact ---------- */

.contact-cartes--rails { gap: 2.5rem clamp(1.5rem, 3vw, 2.5rem); }
.contact-cartes--rails .contact-carte {
  padding-top: 1.25rem;
  border-top: 5px solid var(--nuit);
}
.rimes-contact--grand {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem clamp(2rem, 4vw, 3.5rem);
  max-width: 60rem;
}
.rimes-contact--grand li { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
@media (max-width: 720px) {
  .rimes-contact--grand { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Merci ---------- */

.toit--plein.toit--scene { justify-content: center; }
.merci-scene .fiche { margin-top: clamp(3rem, 6vw, 4.5rem); }
.merci-scene .fiche-niveau { font-size: clamp(1.9rem, 4.8vw, 3.1rem); }

/* ---------- Pages légales : un sommaire qui reste à côté pendant qu'on lit ---------- */

.legal-duo {
  display: grid;
  grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: var(--largeur);
  margin: 0 auto;
}
.sommaire {
  position: sticky;
  top: 2rem;
  padding-top: 1.25rem;
  border-top: 5px solid var(--nuit);
}
.sommaire-titre {
  font-family: var(--police-titre);
  font-size: 1.4rem;
  line-height: 1.1;
}
.sommaire ul { margin: 0.9rem 0 0; padding: 0; list-style: none; }
.sommaire li + li { margin-top: 0.45rem; }
.sommaire a { color: var(--feutre); font-weight: 700; font-size: 1rem; line-height: 1.35; text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.legal-duo .legal { max-width: 68ch; line-height: 1.7; }
.legal-duo .legal h2 { scroll-margin-top: 1.5rem; }
@media (max-width: 900px) {
  .legal-duo { grid-template-columns: minmax(0, 1fr); }
  .sommaire { position: static; }
}

/* ---------- Qui suis-je : la photo ronde et la folle sagesse, tout en bas ---------- */
.sagesse { text-align: center; }
.sagesse-contenu { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.sagesse-photo {
  width: min(16rem, 62vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 5px solid var(--feutre); box-shadow: 0 6px 0 var(--framboise);
}
.sagesse blockquote { margin: 0; max-width: 30ch; }
.sagesse blockquote p { font-family: var(--police-titre); font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.1; text-wrap: balance; margin: 0; }
.sagesse blockquote footer { margin-top: 1rem; font-size: 1.1rem; font-weight: 700; }
.sagesse-humour { margin: 0; max-width: 40ch; font-size: 1.1rem; font-style: italic; }

/* Devise : « Musique et liberté, » puis « joie, sport et foi. » sur une seule ligne */
.devise-bande .devise-ligne { white-space: nowrap; }
@media (max-width: 520px) { .devise-bande .devise-ligne { white-space: normal; } }

/* Sur ordinateur, le texte courant est un peu plus grand */
@media (min-width: 1000px) {
  body { font-size: 1.25rem; }
}

/* ==========================================================
   Témoignages : trois vidéos penchées, puis la promo de Caro
   ========================================================== */

.temoins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  list-style: none;
}
.temoin { margin: 0; }
.temoin-video, .promo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--nuit);
  border-radius: 6px;
  box-shadow: var(--ombre-photo);
}
.temoin-nom {
  margin: 1.25rem 0 0;
  font-family: var(--police-titre);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
}
.temoin-citation { margin: 0.5rem 0 0; max-width: 32ch; }
.temoin-texte { margin-top: 0.75rem; }
.temoin-texte summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.temoin-texte summary::-webkit-details-marker { display: none; }
.temoin-texte summary svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  transition: transform 0.2s var(--sortie-forte);
}
.temoin-texte[open] summary svg { transform: rotate(45deg); }
.temoin-texte p { max-width: 34ch; font-size: 1rem; }
.temoin-texte p + p { margin-top: 0.75rem; }

.promo-video { max-width: 22rem; margin-inline: auto; }
.promo-boutons { margin-top: 2rem; }

@media (max-width: 900px) {
  .temoins { grid-template-columns: minmax(0, 1fr); max-width: 22rem; margin-inline: auto; gap: 3rem; }
}

/* Corrections de Caro (25/10/2026) */
.danse-citation { font-style: italic; }
.devise-bande { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
/* Le dernier appel de l'accueil : la rime plus petite, la photo Jedi plus grosse */
.appel-final--rime h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); max-width: 20ch; }
.appel-final--rime .appel-final-photo--large { flex-basis: 44rem; width: min(44rem, 100%); }
@media (max-width: 760px) { .appel-final--rime .appel-final-photo--large { width: min(100%, 30rem); } }

/* « Viens danser avec moi ! » : la vidéo de danse à la place de la photo */
.appel-final-video { width: min(24rem, 100%); max-width: 540px; flex: 0 1 24rem; } /* jamais plus large que la vidéo (540 px) : l image reste nette */
.danse-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--nuit);
}

/* ==========================================================
   Un témoignage écrit : le cadre doré à gauche (une saucisse dedans), le texte à droite.
   Section turquoise, texte nuit (5,5:1). Les cadres sont fabriqués par outils/fabriquer-cadres.py.
   ========================================================== */

.section--turquoise { background: var(--turquoise); color: var(--nuit); }
.section--turquoise :is(h2, h3) { color: var(--nuit); }
.section--turquoise a { color: inherit; }
.fanny {
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.cadre-or { margin: 0; justify-self: center; width: 100%; }
.cadre-or img { display: block; width: 100%; height: auto; }
.fanny-texte h2 { margin: 0; max-width: none; }
.fanny-metier {
  margin: 0.6rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.fanny-citation { margin: 1.75rem 0 0; max-width: 62ch; }
.fanny-citation p { margin: 0; line-height: 1.65; }
.fanny-citation p + p { margin-top: 1rem; }
.fanny-citation .fanny-accroche {
  margin-bottom: 1.25rem;
  font-family: var(--police-titre);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  text-wrap: balance;
}
@media (max-width: 820px) {
  .fanny { grid-template-columns: 1fr; text-align: left; }
  .cadre-or { max-width: 20rem; }
}


/* Tableau des horaires dans la FAQ : l'heure de la session selon le pays */
.fuseaux-boite { overflow-x: auto; margin: .8rem 0; }
.fuseaux { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fuseaux th, .fuseaux td { padding: .5rem .6rem; text-align: left; border-bottom: 1px solid currentColor; border-bottom-color: color-mix(in srgb, currentColor 22%, transparent); vertical-align: top; }
.fuseaux thead th { font-weight: 700; }
.fuseaux tbody th { font-weight: 600; }
.fuseaux td { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .fuseaux { font-size: .88rem; } .fuseaux td { white-space: normal; } }

/* ==========================================================
   Page Parrainage (18/11/2026)
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.parrain-etapes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
.parrain-etapes li {
  background: var(--nuit);
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--ombre-photo);
}
.parrain-num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--nuit);
  font-family: var(--police-titre);
  font-size: 1.6rem;
  line-height: 1;
}
.parrain-etapes h3 { margin: 0 0 .6rem; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.15; text-wrap: balance; }
.parrain-etapes p { margin: 0; }
.parrain-note, .parrain-petit { max-width: 62ch; margin: 2rem 0 0; font-size: 1rem; }

.parrain-tableaux {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.parrain-bloc h3 { margin: 0; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.parrain-sous { margin: .4rem 0 1.1rem; }
.parrain-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--feutre);
  color: var(--nuit);
  border-radius: 6px;
  overflow: hidden;
  font-size: 1.05rem;
}
.parrain-table th, .parrain-table td { padding: .85rem 1rem; text-align: left; vertical-align: middle; }
.parrain-table thead th { background: var(--turquoise); color: var(--nuit); font-weight: 700; }
.parrain-table tbody th { font-weight: 700; }
.parrain-table tbody tr + tr > * { border-top: 2px solid var(--nuit); }
.parrain-table td strong { font-size: 1.2rem; }
.parrain-table .rang { display: block; font-family: var(--police-titre); font-weight: 400; font-size: 1.25rem; line-height: 1.15; }
.parrain-table .rang-seuil, .parrain-table .rang-total { display: block; font-size: .9rem; font-weight: 400; }
.parrain-table--rangs td { text-align: right; }
.parrain-table--rangs thead th:last-child { text-align: right; }
.parrain-legende { margin: .8rem 0 0; font-size: .95rem; font-style: italic; }

.parrain-titre-ex { margin: clamp(2.5rem, 5vw, 4rem) 0 1.25rem; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.parrain-exemples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.parrain-exemple { background: var(--turquoise); color: var(--nuit); border-radius: 6px; padding: 1.5rem; }
.parrain-exemple p { margin: 0; }
.parrain-exemple p + p { margin-top: .9rem; }
.parrain-calcul { font-size: 1rem; }
.parrain-total { font-family: var(--police-titre); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.parrain-rang { font-weight: 700; }

.parrain-sep { display: flex; align-items: center; gap: 1rem; margin: clamp(2.5rem, 5vw, 4rem) auto 1.5rem; max-width: 34rem; color: var(--turquoise); }
.parrain-sep span { flex: 1; height: 3px; background: currentColor; border-radius: 2px; }
.parrain-sep svg { width: 1.6rem; height: 1.6rem; flex: none; }
.parrain-suivi { max-width: 52ch; margin: 0 auto; text-align: center; }

.parrain-avoirs { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.parrain-avoirs-texte p + p { margin-top: 1.1rem; }
.parrain-coupon {
  position: relative;
  justify-self: center;
  width: min(100%, 24rem);
  padding: 2rem 1.5rem;
  background: var(--feutre);
  color: var(--nuit);
  text-align: center;
  border-radius: 8px;
  border: 4px dashed var(--turquoise);
  outline: 6px solid var(--feutre);
  transform: rotate(-2deg);
  box-shadow: var(--ombre-photo);
}
.parrain-coupon p { margin: 0; }
.parrain-coupon-haut { font-weight: 700; font-size: 1.1rem; }
.parrain-coupon-montant { font-family: var(--police-titre); font-size: clamp(3.5rem, 9vw, 5rem); line-height: 1.1; color: var(--framboise); }
.parrain-coupon-bas { font-size: .95rem; }
.parrain-merci { text-align: center; }
.parrain-merci h2, .parrain-merci .chapeau, .parrain-merci .parrain-petit { margin-left: auto; margin-right: auto; }
.parrain-merci h2 { max-width: 22ch; }

@media (max-width: 900px) {
  .parrain-etapes, .parrain-tableaux, .parrain-exemples, .parrain-avoirs { grid-template-columns: 1fr; }
  .parrain-table th, .parrain-table td { padding: .7rem .6rem; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .parrain-coupon { transform: none; } }

/* Règle de Caro (18/11/2026) : un titre tient sur une seule ligne dès que c'est possible */
.main-parrainage .section h2 { max-width: none; font-size: clamp(1.5rem, 3.7vw, 3rem); text-wrap: balance; }
.main-parrainage .parrain-etapes h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }

/* Parrainage : icônes des rangs, rang en framboise dans les exemples */
.parrain-table--rangs tbody th { display: table-cell; }
.parrain-table--rangs tbody th { padding-left: .6rem; }
.parrain-table--rangs .rang-icone { float: left; width: 3.5rem; height: 3.5rem; margin-right: .8rem; object-fit: contain; }
.parrain-table--rangs .rang-texte { display: block; overflow: hidden; padding-top: .3rem; }
.parrain-rang span { display: inline-block; padding: .25rem .9rem; background: var(--framboise); color: var(--feutre); border-radius: 999px; }

/* Pied de page : le petit logo rond (l'étoile) au milieu */
.plancher-logo { width: 6rem; height: 6rem; align-self: center; flex: none; }
@media (max-width: 700px) { .plancher-logo { order: -1; width: 4.5rem; height: 4.5rem; } }

/* Parrainage : titre d'ouverture sur une ligne, deux tableaux alignés avec un trait framboise au milieu */
.main-parrainage #titre-comment { font-size: clamp(1.25rem, 3vw, 2.4rem); }
.parrain-tableaux { position: relative; align-items: stretch; }
.parrain-bloc { display: flex; flex-direction: column; }
.parrain-bloc .parrain-table { flex: 1; height: 100%; }
.parrain-table--inscr tbody th { padding-left: 1rem; }
.parrain-table--inscr .rang-texte { padding-top: 0; }
@media (min-width: 901px) {
  .parrain-sous { min-height: 3.3em; }
  .parrain-tableaux::before {
    content: "";
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 4px;
    margin-left: -2px;
    background: var(--framboise);
    border-radius: 2px;
  }
}

/* Parrainage : titres de colonnes valorisés, phrase sous les tableaux, légende des exemples */
.parrain-table thead th.titre-col { font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.1; padding-top: 1rem; padding-bottom: 1rem; }
.parrain-ou-deux { margin: 1.75rem 0 0; text-align: center; font-weight: 700; }
.parrain-legende-p { margin: -.5rem 0 1rem; font-size: .95rem; font-style: italic; }

/* ==========================================================
   Espace du parrain (/parrainage/NOM) et suivi de Caro (/parrainage-suivi)
   ========================================================== */
.esp { max-width: 46rem; }
.suivi { max-width: var(--largeur); }
.esp-bloc { background: var(--nuit); border-radius: 6px; padding: 1.5rem 1.5rem 1.75rem; margin-top: 1.5rem; box-shadow: var(--ombre-photo); }
.esp-bloc h3 { margin: 0 0 1rem; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.1; }
.esp-bloc p { margin: 0; }
.esp-rang { display: flex; align-items: center; gap: 1.5rem; margin-top: 0; background: var(--turquoise); color: var(--nuit); }
.esp-rang-icone { width: 7rem; height: 7rem; object-fit: contain; flex: none; }
.esp-etiquette { font-weight: 700; font-size: 1rem; }
.esp-rang-nom { margin: .1rem 0 .4rem; font-family: var(--police-titre); font-weight: 400; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.05; max-width: none; }
.esp-rang-detail { font-size: 1.1rem; }
.esp-prochain { margin: 1.1rem 0 0; font-size: 1.05rem; }
.esp-alerte { margin: 1.25rem 0 0; padding: 1rem 1.25rem; background: var(--safran); color: var(--nuit); border-radius: 6px; font-weight: 700; }
.esp-lignes { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.esp-lignes li { display: flex; align-items: center; gap: .9rem; font-size: 1.1rem; }
.esp-ligne-nom { flex: 1; font-family: var(--police-titre); font-size: 1.25rem; }
.esp-mini { width: 2.5rem; height: 2.5rem; object-fit: contain; flex: none; vertical-align: middle; }
.esp-somme { margin-top: 1rem !important; padding-top: .8rem; border-top: 3px solid var(--framboise); font-weight: 700; }
.esp-table th, .esp-table td { text-align: center; }
.esp-table tbody th { text-align: left; }
.esp-prenoms { margin-top: 1rem !important; font-style: italic; }
.esp-coupon { margin: 2rem auto 0; max-width: 28rem; padding: 2rem 1.5rem; background: var(--feutre); color: var(--nuit); text-align: center; border-radius: 8px; border: 4px dashed var(--turquoise); outline: 6px solid var(--feutre); transform: rotate(-1.5deg); box-shadow: var(--ombre-photo); }
.esp-coupon p { margin: 0; }
.esp-coupon-haut { font-weight: 700; font-size: 1.1rem; }
.esp-coupon-montant { font-family: var(--police-titre); font-size: clamp(3.4rem, 10vw, 5rem); line-height: 1.1; color: var(--framboise); }
.esp-coupon-calcul { font-weight: 700; }
.esp-coupon-bas { font-size: .95rem; margin-top: .4rem !important; }
.esp-bouton { margin-top: 1.25rem; }
.esp-code { margin-top: 1rem; }
.esp-code-valeur { display: inline-block; margin: .6rem 0; padding: .6rem 1.1rem; background: var(--feutre); color: var(--nuit); border-radius: 8px; font-family: var(--police-titre); font-size: clamp(1.2rem, 4vw, 1.8rem); letter-spacing: .02em; }
.esp-code-aide { font-size: 1rem; }
.esp-merci { margin-top: 2rem; text-align: center; font-family: var(--police-titre); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.25; text-wrap: balance; }
.esp-merci p { margin: 0 auto; max-width: 34ch; }

.suivi-chiffres { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.suivi-chiffre { background: var(--nuit); border-radius: 6px; padding: 1.1rem 1rem; text-align: center; }
.suivi-chiffre strong { display: block; font-family: var(--police-titre); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; color: var(--feutre); }
.suivi-chiffre span { font-size: .95rem; }
.suivi-defile { margin-top: 1.5rem; overflow-x: auto; }
.suivi-table { min-width: 44rem; }
.suivi-table th, .suivi-table td { text-align: center; white-space: nowrap; }
.suivi-table tbody th { text-align: left; }
.suivi-nom { display: block; font-family: var(--police-titre); font-weight: 400; font-size: 1.1rem; }
.suivi-prenom { display: block; font-weight: 400; font-size: .9rem; }
@media (max-width: 900px) {
  .suivi-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .esp-rang { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .esp-coupon { transform: none; } }

.suivi-table .esp-mini { display: inline-block; margin-right: .4rem; }

/* Espace de parrainage : le montant des avoirs à utiliser, et la note « arrive demain » */
.esp-montant-etiquette { display: block; margin: 1rem 0 0.5rem; font-weight: 700; }
.esp-montant {
  width: 6.5rem;
  padding: 0.4em 0.6em;
  font: inherit;
  color: var(--nuit);
  background: var(--feutre);
  border: 3px solid var(--nuit);
  border-radius: 6px;
}
.esp-note { margin-top: 1rem; font-weight: 700; }

.esp-ligne-nom small { font-family: var(--police-texte); font-size: .9rem; opacity: .85; }
.esp-actuel { background: var(--turquoise); color: var(--nuit); border-radius: 6px; padding: .35rem .6rem; margin: 0 -.6rem; }
.esp-recap-ins { margin-top: 1rem !important; }
.esp-recap-lien { margin-top: 1rem !important; }
.esp-recap .esp-lignes li { font-size: 1.05rem; }
.esp-ligne-nom small { display: block; margin-top: .1rem; }

.esp-bravo { margin: 0 0 1rem; font-family: var(--police-titre); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; max-width: none; color: var(--feutre); }

.esp-nom { margin-top: 0; text-align: center; }
.esp-nom-valeur { margin: .5rem auto 1rem !important; display: inline-block; padding: .6rem 1.4rem; background: var(--framboise); border: 3px solid var(--safran); border-radius: 14px; font-family: var(--police-titre); font-size: clamp(1.8rem, 5.5vw, 2.8rem); line-height: 1.15; }
.esp-nom-aide { margin-bottom: .8rem !important; }
.esp-message { width: 100%; padding: .9rem 1rem; background: var(--feutre); color: var(--nuit); border: 0; border-radius: 8px; font: inherit; font-size: 1rem; line-height: 1.5; text-align: left; resize: vertical; }
.esp-copier { margin-top: 1rem; }

.esp-nom { margin-top: 1.5rem; }
.esp-message { resize: none; overflow: hidden; }
