/* ==========================================================
   Le Défoulatorium : la yourte
   Toit (couronne + perches), mur (treillis), sol (plancher).
   Cinq couleurs à bords francs, le safran est réservé aux actions.
   ========================================================== */

@font-face {
  font-family: 'Shrikhand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/shrikhand-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Shrikhand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/shrikhand-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/atkinson-next-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/atkinson-next-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/atkinson-next-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/atkinson-next-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Les cinq couleurs de la yourte */
  --framboise: #C21651;  /* la toile du toit, la page */
  --nuit: #2B0F3A;       /* les perches, le ciel, la nuit du mardi */
  --turquoise: #1FA39B;  /* le bois peint de la couronne */
  --feutre: #FFEFE6;     /* le texte, les points peints */
  --safran: #F6B63E;     /* réservé aux actions de réservation */

  --police-titre: 'Shrikhand', 'Atkinson Hyperlegible Next', serif;
  --police-texte: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gouttiere: clamp(1rem, 4vw, 3rem);
  --espace-section: clamp(4.5rem, 10vw, 8.5rem);
  --largeur: 76rem;
  --mesure: 66ch;
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
  scrollbar-color: var(--turquoise) var(--nuit);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--framboise);
  color: var(--feutre);
  font-family: var(--police-texte);
  font-size: 1.125rem;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--turquoise); color: var(--nuit); }

img { display: block; max-width: 100%; height: auto; }

[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--police-titre);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 0.16em; }

:focus-visible {
  outline: 3px solid var(--feutre);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.evitement {
  position: absolute;
  left: var(--gouttiere);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--feutre);
  color: var(--nuit);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.2s var(--sortie);
}
.evitement:focus { top: 1rem; }

/* ---------- Boutons : le safran ne sert qu'aux actions ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.875rem;
  padding: 0.7em 1.35em;
  border: 0;
  border-radius: 999px;
  background: var(--safran);
  color: var(--nuit);
  font: 700 1rem/1.15 var(--police-texte);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 3px 8px -4px rgba(43, 15, 58, 0.55);
  transition: transform 0.3s var(--sortie), box-shadow 0.3s var(--sortie);
}
.bouton:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(43, 15, 58, 0.7);
}
.bouton:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px -3px rgba(43, 15, 58, 0.6);
}
.bouton--grand {
  min-height: 3.5rem;
  padding: 0.9em 1.8em;
  font-size: 1.125rem;
}

.lien-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 2.75rem;
  padding: 0.6em 1.15em;
  border: 2px solid var(--feutre);
  border-radius: 999px;
  background: transparent;
  color: var(--feutre);
  font: 700 1rem/1.15 var(--police-texte);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--sortie), color 0.25s var(--sortie);
}
.lien-action:hover { background: var(--feutre); color: var(--nuit); }
.lien-action svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Barre du haut ---------- */

.barre {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gouttiere);
}
.barre-marque {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--police-titre);
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
}
/* Le logo : la couronne de la yourte et son étoile magique */
.barre-marque::before {
  content: "";
  flex: none;
  width: 1.6em;
  height: 1.6em;
  background: url("/favicon.svg") center / contain no-repeat;
}
.barre nav ul {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.barre nav a {
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.barre nav a:hover { text-decoration: underline; }
.barre-actions { display: flex; align-items: center; gap: 1.5rem; }

@media (max-width: 760px) {
  .barre nav { display: none; }
}

/* ---------- Le toit : couronne et perches ---------- */

.toit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100svh;
  padding: 3.75rem var(--gouttiere) clamp(2.25rem, 5vh, 3.5rem);
  background: var(--framboise);
  text-align: center;
}

.couronne {
  display: block;
  width: min(100%, max(17.5rem, calc((100svh - 19.5rem) * 1.1613)), 46rem);
  height: auto;
  aspect-ratio: 720 / 620;
  overflow: visible;
  z-index: -1;
}
.couronne .perche { fill: var(--nuit); }
.couronne .ciel { fill: var(--nuit); }
.couronne .etoile { fill: var(--feutre); }
.couronne .barres line { stroke: var(--turquoise); stroke-width: 6; stroke-linecap: round; }
.couronne .moyeu { fill: var(--turquoise); stroke: var(--nuit); stroke-width: 2.5; }
.couronne .anneau { fill: none; stroke: var(--turquoise); stroke-width: 28; }
.couronne .anneau-bord { fill: none; stroke: var(--nuit); stroke-width: 2.5; }
.couronne .anneau-points {
  fill: none;
  stroke: var(--feutre);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 0 1;
}
.couronne .titre-arc {
  fill: var(--feutre);
  font-family: var(--police-titre);
  font-size: 74px;
  letter-spacing: 1px;
}
.couronne--session .titre-arc { font-size: 92px; }

.accroche {
  max-width: 34ch;
  margin-top: 0.25rem;
  font-size: clamp(1.125rem, 2.1vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
}
.accroche > span { display: block; font-weight: 400; }

.prochain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 2rem;
  margin-top: clamp(1.25rem, 3.2vh, 2.25rem);
}
.prochain-titre {
  font-family: var(--police-titre);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.1;
}
.creneaux {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.creneau {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
}
.creneau-texte { display: flex; flex-direction: column; line-height: 1.35; }
.creneau-niveau { font-weight: 700; }
.prochain-prix { flex-basis: 100%; margin: 0; }

@media (max-width: 560px) {
  .prochain { flex-direction: column; gap: 0.9rem; }
  .creneaux { flex-direction: column; align-items: stretch; width: 100%; max-width: 22rem; }
  .creneau { justify-content: space-between; }
}

/* ---------- La sangle des rimes ---------- */

.sangle {
  overflow: hidden;
  background: var(--nuit);
  color: var(--feutre);
  padding: 1rem 0;
}
.sangle-piste {
  display: flex;
  width: max-content;
  will-change: transform;
}
.sangle-motif {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0 1.4rem 0 0;
  list-style: none;
  font-family: var(--police-titre);
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  line-height: 1.2;
  white-space: nowrap;
}
.sangle-motif li { display: flex; align-items: center; gap: 1.4rem; }
.sangle-motif svg { width: 0.8em; height: 0.8em; color: var(--turquoise); flex: none; }

/* ---------- Sections ---------- */

.section {
  padding: var(--espace-section) var(--gouttiere);
}
.section--nuit { background: var(--nuit); }
.contenu {
  max-width: var(--largeur);
  margin: 0 auto;
}
.section h2 {
  font-size: clamp(2.25rem, 5.2vw, 3.9rem);
  max-width: 18ch;
}
.chapeau {
  max-width: var(--mesure);
  margin-top: 1.25rem;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
}

/* ---------- Le mur : la danse ---------- */

.danse {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.danse-texte p + p { margin-top: 1.1rem; }
.danse-texte .chapeau { margin-top: 1.5rem; }
.devise {
  margin-top: 2rem;
  font-family: var(--police-titre);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
}
.reperes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}
.reperes li { display: flex; align-items: center; gap: 0.55rem; }
.reperes svg { width: 1em; height: 1em; color: var(--feutre); flex: none; }

/* La danse : une ambiance d'étoiles sur toute la section, sans cadre autour de la photo */
#la-danse {
  background-color: var(--framboise);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='220'%3E%3Cg fill='%232B0F3A' stroke='%232B0F3A' stroke-width='2' stroke-linejoin='round'%3E%3Cpolygon transform='translate(34 46) scale(0.7)' points='0,-10 3.06,-4.21 9.51,-3.09 4.95,1.61 5.88,8.09 0,5.2 -5.88,8.09 -4.95,1.61 -9.51,-3.09 -3.06,-4.21'/%3E %3Cpolygon transform='translate(188 28) scale(0.95)' points='0,-10 3.06,-4.21 9.51,-3.09 4.95,1.61 5.88,8.09 0,5.2 -5.88,8.09 -4.95,1.61 -9.51,-3.09 -3.06,-4.21'/%3E %3Cpolygon transform='translate(118 132) scale(0.55)' points='0,-10 3.06,-4.21 9.51,-3.09 4.95,1.61 5.88,8.09 0,5.2 -5.88,8.09 -4.95,1.61 -9.51,-3.09 -3.06,-4.21'/%3E %3Cpolygon transform='translate(228 170) scale(0.75)' points='0,-10 3.06,-4.21 9.51,-3.09 4.95,1.61 5.88,8.09 0,5.2 -5.88,8.09 -4.95,1.61 -9.51,-3.09 -3.06,-4.21'/%3E %3Cpolygon transform='translate(46 182) scale(0.5)' points='0,-10 3.06,-4.21 9.51,-3.09 4.95,1.61 5.88,8.09 0,5.2 -5.88,8.09 -4.95,1.61 -9.51,-3.09 -3.06,-4.21'/%3E");
  background-size: 260px 220px;
}
.danse-photo { position: relative; }
.photo {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 48px -22px rgba(43, 15, 58, 0.85);
}
.photo img { width: 100%; }
.photo--seconde {
  width: 62%;
  margin: -16% 0 0 auto;
  position: relative;
}

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

/* ---------- Les mardis (la nuit) ---------- */

.niveaux {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 6vw, 5rem);
  margin: clamp(2.5rem, 5vw, 3.75rem) 0 0;
}
.niveau-nom {
  font-family: var(--police-titre);
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1;
  color: var(--turquoise);
}
.niveau-heure {
  margin-top: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.ouvert-a-tous { margin-top: 2rem; max-width: var(--mesure); }

.agenda-titre {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem) !important;
}
.agenda {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.agenda-jour {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.4fr);
  gap: 0.75rem 2rem;
  align-items: center;
  padding: 1.1rem 0;
}
.agenda-date {
  font-family: var(--police-titre);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.15;
}
.agenda-creneaux {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agenda-creneau {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.agenda-creneau .creneau-heure { min-width: 7.2rem; }
.agenda-jour--relache .agenda-date { color: var(--turquoise); }
.agenda-relache { color: var(--turquoise); font-weight: 700; }
.agenda-regle {
  max-width: var(--mesure);
  margin-top: 2rem;
  font-size: 1rem;
}

@media (max-width: 720px) {
  .niveaux { grid-template-columns: 1fr; }
  .agenda-jour { grid-template-columns: 1fr; gap: 0.6rem; padding: 1.25rem 0; }
  .agenda-creneaux { flex-direction: column; gap: 0.6rem; }
  .agenda-creneau { justify-content: space-between; }
}

/* ---------- Comment ça marche ---------- */

.etapes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.etapes li { counter-increment: etape; }
.etapes li::before {
  content: counter(etape);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--police-titre);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
}
.etapes h3 { font-size: 1.5rem; line-height: 1.15; }
.etapes p { margin-top: 0.6rem; }

@media (max-width: 900px) {
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .etapes { grid-template-columns: 1fr; }
}

/* ---------- Les formules ---------- */

.formules {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
}
.formule {
  display: grid;
  grid-template-columns: minmax(8.5rem, auto) minmax(0, 1fr) auto;
  gap: 0.5rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: 1.4rem 0;
}
.formule-prix {
  font-family: var(--police-titre);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1;
  white-space: nowrap;
}
.formule-prix .euro { margin-left: 0.1em; }
.formule-nom { font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.formule-detail { margin-top: 0.25rem; }
.note-paiement { max-width: var(--mesure); margin-top: 2rem; }
.note-paiement[hidden] { display: none; }

@media (max-width: 720px) {
  .formule { grid-template-columns: 1fr; padding: 1.5rem 0; }
  .formule .bouton { justify-self: start; }
}

/* ---------- La voix de Caro ---------- */

.voix {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}
.voix blockquote { margin: 0; }
.voix blockquote p {
  font-family: var(--police-titre);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.02;
  text-wrap: balance;
}
.voix blockquote footer {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.rimes {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  font-style: italic;
}

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

/* ---------- Questions ---------- */

.questions {
  max-width: 52rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}
.question + .question { margin-top: 0.35rem; }
.question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.question summary::-webkit-details-marker { display: none; }
.question summary svg {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
  color: var(--turquoise);
  transition: transform 0.35s var(--sortie);
}
.question[open] summary svg { transform: rotate(45deg); }
.question p { max-width: var(--mesure); padding: 0 0 1.4rem; }

/* ---------- Le plancher ---------- */

.plancher {
  background: var(--nuit);
  color: var(--feutre);
}
/* Le ciel du pied de page : un semis d'étoiles à cinq branches, framboise, et des paillettes d'or */
.lattes {
  height: 56px;
  background-color: var(--nuit);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='56'%3E%3Cg fill='%23C21651' stroke='%23C21651' stroke-width='2' stroke-linejoin='round'%3E%3Cpolygon transform='translate(22 17)' points='0,-10 3.06,-4.21 9.51,-3.09 4.95,1.61 5.88,8.09 0,5.2 -5.88,8.09 -4.95,1.61 -9.51,-3.09 -3.06,-4.21'/%3E%3Cpolygon transform='translate(66 40) scale(.8)' points='0,-10 3.06,-4.21 9.51,-3.09 4.95,1.61 5.88,8.09 0,5.2 -5.88,8.09 -4.95,1.61 -9.51,-3.09 -3.06,-4.21'/%3E%3C/g%3E%3Cg fill='%23F6B63E'%3E%3Cpath transform='translate(66 14)' d='M0,-5C.5,-1.2 1.2,-.5 5,0C1.2,.5 .5,1.2 0,5C-.5,1.2 -1.2,.5 -5,0C-1.2,-.5 -.5,-1.2 0,-5Z'/%3E%3Cpath transform='translate(22 44) scale(.7)' d='M0,-5C.5,-1.2 1.2,-.5 5,0C1.2,.5 .5,1.2 0,5C-.5,1.2 -1.2,.5 -5,0C-1.2,-.5 -.5,-1.2 0,-5Z'/%3E%3C/g%3E%3Ccircle cx='44' cy='28' r='1.6' fill='%231FA39B'/%3E%3C/svg%3E");
  background-size: 88px 56px;
}
.plancher-contenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem 3rem;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gouttiere) clamp(2.5rem, 5vw, 3.5rem);
}
.plancher-marque {
  font-family: var(--police-titre);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
}
.oh-yeah {
  margin-top: 0.5rem;
  font-family: var(--police-titre);
  font-size: 1.35rem;
  color: var(--turquoise);
}
.plancher address { font-style: normal; line-height: 1.7; }
.plancher address a { font-weight: 700; }

/* ---------- Page d'une session ---------- */

.toit--session { min-height: auto; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.toit--plein { min-height: 100svh; }
.toit--session .couronne {
  width: min(100%, max(16rem, calc((62svh - 6rem) * 1.1613)), 34rem);
}

.fiche {
  max-width: 44rem;
  margin: 0 auto;
}
.fiche h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); }
.fiche-heure {
  margin-top: 0.9rem;
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  font-weight: 700;
}
.fiche-chez-toi { margin-top: 0.25rem; }
.fiche-infos { margin-top: 0.9rem; }
.fiche-reserver { margin-top: 2rem; }
.fiche-apres { margin-top: 0.9rem; font-size: 1rem; max-width: 34rem; margin-inline: auto; }
.fiche-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
}
.fiche-adresse {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.fiche-adresse code {
  font-family: var(--police-texte);
  font-weight: 700;
}
.fiche-etat { margin-top: 1rem; font-weight: 700; color: var(--turquoise); }
.fiche-annonce[hidden] { display: none; }
.fiche-annonce { margin-top: 0.75rem; font-weight: 700; }

.suite {
  max-width: 44rem;
  margin: 0 auto;
}
.meme-soir { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.meme-soir[hidden] { display: none; }
.meme-soir ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 1.25rem;
  font-weight: 700;
}
.meme-soir li + li { margin-top: 0.5rem; }
.suite h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.suite p { margin-top: 1rem; }
.suite .etapes { grid-template-columns: 1fr; gap: 1.5rem; }
.suite .etapes li::before { font-size: 2.75rem; margin-bottom: 0.25rem; }

/* ==========================================================
   L'écran qui danse : la session en ligne, vue comme sur Zoom.
   Les rayons de la yourte partent de l'écran.
   ========================================================== */

.titre-principal {
  margin-top: clamp(0.75rem, 2.5vh, 1.75rem);
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  line-height: 1;
}
.toit .accroche { max-width: 40ch; margin-top: 0.8rem; }

.portable {
  position: relative;
  width: min(100%, 46rem, max(18rem, calc((100svh - 26rem) * 1.5)));
  margin: clamp(1.1rem, 3vh, 2rem) auto 0;
}
.portable--petit { width: min(100%, 30rem); }
.rayons {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 3200px;
  height: 3200px;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.ecran {
  position: relative;
  padding: clamp(7px, 1.3vw, 13px);
  border-radius: 18px 18px 6px 6px;
  background: var(--nuit);
  box-shadow: 0 34px 60px -30px rgba(43, 15, 58, 0.95);
}
.ecran-barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.2rem clamp(5px, 1vw, 9px);
  color: var(--feutre);
  font-size: clamp(0.6875rem, 1.2vw, 0.85rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}
.en-direct { display: inline-flex; align-items: center; gap: 0.45em; }
.en-direct::before {
  content: "";
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--framboise);
  box-shadow: 0 0 0 2px var(--feutre);
}
.galerie {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(3px, 0.6vw, 6px);
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tuile {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: clamp(3px, 0.6vw, 6px);
  background: var(--turquoise);
  color: var(--nuit);
}
.tuile--feutre { background: var(--feutre); color: var(--framboise); }
.tuile--framboise { background: var(--framboise); color: var(--feutre); }
.tuile--caro { grid-column: span 2; grid-row: span 2; background: var(--nuit); }
.tuile--caro img { width: 100%; height: 100%; object-fit: cover; }
.tuile svg {
  width: 68%;
  height: 68%;
  transform-origin: 50% 92%;
  animation: danse-a 1.15s ease-in-out infinite;
}
.tuile:nth-child(3n) svg { animation-name: danse-b; animation-duration: 0.95s; }
.tuile:nth-child(3n+1) svg { animation-name: danse-c; animation-duration: 1.35s; }
.tuile:nth-child(2) svg { animation-delay: -0.2s; }
.tuile:nth-child(4) svg { animation-delay: -0.5s; }
.tuile:nth-child(6) svg { animation-delay: -0.35s; }
.tuile:nth-child(8) svg { animation-delay: -0.7s; }
.tuile-nom {
  position: absolute;
  left: clamp(3px, 0.6vw, 6px);
  bottom: clamp(3px, 0.6vw, 6px);
  max-width: calc(100% - 12px);
  padding: 0.15em 0.6em;
  border-radius: 999px;
  background: var(--nuit);
  color: var(--feutre);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tuile--caro .tuile-nom { font-size: clamp(0.6875rem, 1.3vw, 0.9rem); }
.socle {
  position: relative;
  height: clamp(10px, 1.7vw, 17px);
  margin: 0 -7%;
  border-radius: 2px 2px 14px 14px;
  background: var(--nuit);
}
.socle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 40%;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: var(--framboise);
}

@keyframes danse-a {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-7%) rotate(5deg); }
}
@keyframes danse-b {
  0%, 100% { transform: translateY(-5%) scale(1); }
  50% { transform: translateY(4%) scale(1.05); }
}
@keyframes danse-c {
  0%, 100% { transform: rotate(7deg); }
  50% { transform: rotate(-7deg) translateY(-6%); }
}
@media (prefers-reduced-motion: reduce) {
  .tuile svg { animation: none; }
}

/* ---------- Les danseurs articulés : chacun son style ----------
   Squelette (viewBox 100) : épaules 50 37, coudes 50 50, hanches 50 60, genoux 50 76, pieds 50 92.
   Bras et jambes pendent tout droit ; rotate(+) les envoie vers la gauche de l'écran, rotate(-) vers la droite. */

.tuile svg.danseur { animation: none; }
.danseur path { fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.danseur circle, .danseur rect { fill: currentColor; }
.danseur g {
  transform-box: view-box;
  animation-duration: var(--tempo, 1s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.danseur .d-corps { transform-origin: 50px 92px; }
.danseur .d-buste { transform-origin: 50px 60px; }
.danseur .d-tete { transform-origin: 50px 32px; }
.danseur .d-bras-g, .danseur .d-bras-d { transform-origin: 50px 37px; }
.danseur .d-main-g, .danseur .d-main-d { transform-origin: 50px 50px; }
.danseur .d-cuisse-g, .danseur .d-cuisse-d { transform-origin: 50px 60px; }
.danseur .d-tibia-g, .danseur .d-tibia-d { transform-origin: 50px 76px; }
.danseur .d-cuisse-g { transform: rotate(13deg); }
.danseur .d-cuisse-d { transform: rotate(-13deg); }

/* La Raclette : disco à la Travolta, le doigt au ciel puis au sol, la main sur la hanche */
.danse-disco { --tempo: 1.3s; }
.danse-disco .d-bras-d { animation-name: disco-doigt; }
.danse-disco .d-bras-g { transform: rotate(65deg); }
.danse-disco .d-main-g { transform: rotate(-90deg); }
.danse-disco .d-buste { animation-name: disco-hanches; }
.danse-disco .d-cuisse-d { animation-name: disco-genou; }
.danse-disco .d-tibia-d { animation-name: disco-tibia; }
@keyframes disco-doigt { 0%, 100% { transform: rotate(-150deg); } 50% { transform: rotate(35deg); } }
@keyframes disco-hanches { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(8deg); } }
@keyframes disco-genou { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(-28deg); } }
@keyframes disco-tibia { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(32deg); } }

/* Touille-Touille : le moulin à vent, un bras qui touille le ciel */
.danse-moulin { --tempo: 0.9s; }
.danse-moulin .d-bras-d { animation-name: moulin-bras; animation-timing-function: linear; }
.danse-moulin .d-bras-g { transform: rotate(65deg); }
.danse-moulin .d-main-g { transform: rotate(-90deg); }
.danse-moulin .d-corps { animation-name: moulin-rebond; animation-duration: 0.45s; }
.danse-moulin .d-tete { animation-name: moulin-tete; }
@keyframes moulin-bras { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes moulin-rebond { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes moulin-tete { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }

/* La Licorne : Michael Jackson, chapeau, coup de pied et penché magique */
.danse-mj { --tempo: 2.2s; }
.danse-mj .d-bras-g { transform: rotate(150deg); }
.danse-mj .d-main-g { transform: rotate(44deg); }
.danse-mj .d-bras-d { animation-name: mj-bras; }
.danse-mj .d-cuisse-g { transform: rotate(4deg); }
.danse-mj .d-cuisse-d { animation-name: mj-jambe; }
.danse-mj .d-tibia-d { animation-name: mj-tibia; }
.danse-mj .d-corps { animation-name: mj-penche; }
@keyframes mj-bras { 0%, 8% { transform: rotate(-30deg); } 18% { transform: rotate(-105deg); } 30%, 100% { transform: rotate(-30deg); } }
@keyframes mj-jambe { 0%, 8% { transform: rotate(-5deg); } 18% { transform: rotate(-78deg); } 30%, 100% { transform: rotate(-5deg); } }
@keyframes mj-tibia { 0%, 8% { transform: rotate(0deg); } 18% { transform: rotate(14deg); } 30%, 100% { transform: rotate(0deg); } }
@keyframes mj-penche { 0%, 40% { transform: rotate(0deg); } 52%, 82% { transform: rotate(-16deg); } 94%, 100% { transform: rotate(0deg); } }

/* Le Dragon : le robot, tout en saccades */
.danse-robot { --tempo: 1.6s; }
.danse-robot g { animation-timing-function: steps(1, end); }
.danse-robot .d-bras-g { transform: rotate(90deg); }
.danse-robot .d-bras-d { transform: rotate(-90deg); }
.danse-robot .d-main-g, .danse-robot .d-main-d { animation-name: robot-avant-bras; }
.danse-robot .d-tete { animation-name: robot-tete; }
.danse-robot .d-corps { animation-name: robot-pas; }
@keyframes robot-avant-bras { 0% { transform: rotate(90deg); } 50% { transform: rotate(-90deg); } }
@keyframes robot-tete { 0% { transform: rotate(-14deg); } 25% { transform: rotate(0deg); } 50% { transform: rotate(14deg); } 75% { transform: rotate(0deg); } }
@keyframes robot-pas { 0% { transform: translate(-3px, 0); } 25% { transform: translate(0, 3px); } 50% { transform: translate(3px, 0); } 75% { transform: translate(0, 3px); } }

/* Côtelette : la danse des canards, les ailes qui battent et les genoux qui plient */
.danse-poule { --tempo: 0.5s; }
.danse-poule g { animation-direction: alternate; }
.danse-poule .d-bras-g { animation-name: poule-aile-g; }
.danse-poule .d-bras-d { animation-name: poule-aile-d; }
.danse-poule .d-main-g { transform: rotate(162deg); }
.danse-poule .d-main-d { transform: rotate(-162deg); }
.danse-poule .d-corps { animation-name: poule-plie; }
.danse-poule .d-cuisse-g { animation-name: poule-genou-g; }
.danse-poule .d-cuisse-d { animation-name: poule-genou-d; }
.danse-poule .d-tibia-g { animation-name: poule-tibia-g; }
.danse-poule .d-tibia-d { animation-name: poule-tibia-d; }
.danse-poule .d-tete { animation-name: poule-bec; }
@keyframes poule-aile-g { from { transform: rotate(45deg); } to { transform: rotate(100deg); } }
@keyframes poule-aile-d { from { transform: rotate(-45deg); } to { transform: rotate(-100deg); } }
@keyframes poule-plie { from { transform: translateY(0); } to { transform: translateY(6px); } }
@keyframes poule-genou-g { from { transform: rotate(13deg); } to { transform: rotate(26deg); } }
@keyframes poule-genou-d { from { transform: rotate(-13deg); } to { transform: rotate(-26deg); } }
@keyframes poule-tibia-g { from { transform: rotate(0deg); } to { transform: rotate(-34deg); } }
@keyframes poule-tibia-d { from { transform: rotate(0deg); } to { transform: rotate(34deg); } }
@keyframes poule-bec { from { transform: translateX(0); } to { transform: translateX(4px); } }

/* La Nouille : le floss, les bras d'un côté, les hanches de l'autre */
.danse-floss { --tempo: 0.55s; }
.danse-floss g { animation-direction: alternate; }
.danse-floss .d-bras-g { animation-name: floss-bras-g; }
.danse-floss .d-bras-d { animation-name: floss-bras-d; }
.danse-floss .d-corps { animation-name: floss-hanches; }
@keyframes floss-bras-g { from { transform: rotate(55deg); } to { transform: rotate(-25deg); } }
@keyframes floss-bras-d { from { transform: rotate(25deg); } to { transform: rotate(-55deg); } }
@keyframes floss-hanches { from { transform: translateX(5px); } to { transform: translateX(-5px); } }

/* Tartiflette : Y.M.C.A. ! */
.danse-ymca { --tempo: 2.4s; }
.danse-ymca g { animation-timing-function: steps(1, end); }
.danse-ymca .d-bras-g { animation-name: ymca-bras-g; }
.danse-ymca .d-main-g { animation-name: ymca-main-g; }
.danse-ymca .d-bras-d { animation-name: ymca-bras-d; }
.danse-ymca .d-main-d { animation-name: ymca-main-d; }
.danse-ymca .d-corps { animation-name: ymca-saut; }
@keyframes ymca-bras-g { 0% { transform: rotate(155deg); } 25% { transform: rotate(125deg); } 50% { transform: rotate(125deg); } 75% { transform: rotate(160deg); } }
@keyframes ymca-main-g { 0% { transform: rotate(0deg); } 25% { transform: rotate(79deg); } 50% { transform: rotate(55deg); } 75% { transform: rotate(40deg); } }
@keyframes ymca-bras-d { 0% { transform: rotate(-155deg); } 25% { transform: rotate(-125deg); } 50% { transform: rotate(55deg); } 75% { transform: rotate(-160deg); } }
@keyframes ymca-main-d { 0% { transform: rotate(0deg); } 25% { transform: rotate(-79deg); } 50% { transform: rotate(-65deg); } 75% { transform: rotate(-40deg); } }
@keyframes ymca-saut { 0%, 25%, 50%, 75% { transform: translateY(-3px); } 12%, 37%, 62%, 87% { transform: translateY(0); } }

/* La Marmite : le twist, genoux pliés et hanches qui tournent */
.danse-twist { --tempo: 0.65s; }
.danse-twist g { animation-direction: alternate; }
.danse-twist .d-corps { transform: translateY(5px); }
.danse-twist .d-cuisse-g, .danse-twist .d-cuisse-d { animation-name: twist-genoux; }
.danse-twist .d-tibia-g, .danse-twist .d-tibia-d { animation-name: twist-tibias; }
.danse-twist .d-buste { animation-name: twist-buste; }
.danse-twist .d-bras-g { animation-name: twist-bras-g; }
.danse-twist .d-bras-d { animation-name: twist-bras-d; }
.danse-twist .d-main-g { transform: rotate(100deg); }
.danse-twist .d-main-d { transform: rotate(-100deg); }
@keyframes twist-genoux { from { transform: rotate(22deg); } to { transform: rotate(-22deg); } }
@keyframes twist-tibias { from { transform: rotate(-38deg); } to { transform: rotate(38deg); } }
@keyframes twist-buste { from { transform: rotate(10deg); } to { transform: rotate(-10deg); } }
@keyframes twist-bras-g { from { transform: rotate(25deg); } to { transform: rotate(65deg); } }
@keyframes twist-bras-d { from { transform: rotate(-65deg); } to { transform: rotate(-25deg); } }

@media (prefers-reduced-motion: reduce) {
  .danseur g { animation-play-state: paused; }
}

@media (max-width: 640px) {
  .galerie {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    aspect-ratio: 4 / 3;
  }
  .galerie .tuile:nth-child(n+7) { display: none; }
  .tuile:not(.tuile--caro) .tuile-nom { display: none; }
}

.toit .prochain { margin-top: clamp(1.25rem, 3vh, 2rem); }

/* ---------- La danse : la photo de Caro ---------- */

.photo--caro img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 20%; }

/* ---------- Formules : prix au mois, plusieurs boutons ---------- */

.formule-prix .unite {
  margin-left: 0.08em;
  font-size: 0.42em;
}
.formule--meilleure .formule-nom::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.4em;
  vertical-align: -0.05em;
  background: var(--feutre);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0,-10 C1.2,-2.4 2.4,-1.2 10,0 C2.4,1.2 1.2,2.4 0,10 C-1.2,2.4 -2.4,1.2 -10,0 C-2.4,-1.2 -1.2,-2.4 0,-10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0,-10 C1.2,-2.4 2.4,-1.2 10,0 C2.4,1.2 1.2,2.4 0,10 C-1.2,2.4 -2.4,1.2 -10,0 C-2.4,-1.2 -1.2,-2.4 0,-10Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.formule-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}
@media (max-width: 720px) {
  .formule-actions { justify-content: flex-start; }
}

/* ---------- Caro sur la page d'accueil ---------- */

.caro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.caro .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.caro blockquote { margin: 0; }
.caro blockquote p {
  font-family: var(--police-titre);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  text-wrap: balance;
}
.caro blockquote footer { margin-top: 1rem; font-size: 1.2rem; font-weight: 700; }
.caro-texte > p { max-width: 52ch; margin-top: 1.5rem; }
.caro-texte .lien-action { margin-top: 1.75rem; }
@media (max-width: 900px) {
  .caro { grid-template-columns: 1fr; }
}

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

.toit--page { min-height: auto; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.portrait {
  display: block;
  width: min(78vw, 26rem);
  height: auto;
  aspect-ratio: 1;
  margin-top: 3.25rem;
  overflow: visible;
}
.portrait .anneau { fill: none; stroke: var(--turquoise); stroke-width: 28; }
.portrait .anneau-bord { fill: none; stroke: var(--nuit); stroke-width: 2.5; }
.portrait .anneau-points { fill: none; stroke: var(--feutre); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0 1; }
.toit--page h1 { margin-top: 1.25rem; font-size: clamp(2.6rem, 7vw, 5rem); }
.toit--page .accroche { margin-top: 0.75rem; }

.bio {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.bio-texte p + p { margin-top: 1.1rem; }
.bio-texte .chapeau { margin-top: 0; }
.bio-liste {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bio-liste li {
  display: flex;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-weight: 700;
}
.bio-liste svg { width: 1em; height: 1em; margin-top: 0.3em; color: var(--turquoise); flex: none; }
.origines {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.origines figcaption { margin-top: 0.75rem; font-size: 1rem; }
@media (max-width: 900px) {
  .bio, .origines { grid-template-columns: 1fr; }
}
.appel { text-align: center; }
.appel h2 { margin: 0 auto; }
.appel .bouton { margin-top: 2rem; }

/* ---------- Page d'une session ---------- */

.fiche-niveau {
  margin-top: clamp(1.25rem, 3vh, 2rem);
  font-family: var(--police-titre);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1;
}
.fiche h1 { margin-top: 0.5rem; font-size: clamp(1.75rem, 4.6vw, 2.75rem); }
.fiche-decouverte { display: inline-block; margin-top: 0.9rem; font-weight: 700; }

/* Formules : les boutons passent sous le texte, quel que soit leur nombre */
.formule {
  grid-template-columns: minmax(9rem, auto) minmax(0, 1fr);
  align-items: start;
}
.formule .formule-prix { grid-row: span 2; align-self: center; }
.formule-actions { grid-column: 2; justify-content: flex-start; margin-top: 0.4rem; }
@media (max-width: 720px) {
  .formule { grid-template-columns: 1fr; }
  .formule .formule-prix { grid-row: auto; }
  .formule-actions { grid-column: 1; }
}

/* Corrections : unité de prix lisible, pas d'ombre sombre sur fond nuit */
.formule-prix .unite { font-size: max(0.875rem, 0.42em); }
/* « /mois » passe sous le prix : tous les prix ont la même largeur, les boutons s'alignent */
.formule-prix .unite { display: block; margin: 0.15em 0 0; line-height: 1; }
.formule-detail + .formule-detail { margin-top: 0.15rem; }
.section--nuit .bouton,
.section--nuit .bouton:hover,
.section--nuit .bouton:active { box-shadow: none; }

/* Formules : un bouton et, dessous, sa variante (paiement en 3 fois) */
.formule-choix { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.formule-variante { font-size: 0.95rem; font-weight: 700; }

/* Réserver avec son carnet */
.carnet { margin-top: 1.75rem; }
.carnet-form { margin: 1.25rem auto 0; max-width: 32rem; text-align: left; }
.carnet-form label { display: block; margin-bottom: 0.5rem; font-weight: 700; }
.carnet-ligne { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.carnet-ligne input {
  flex: 1 1 14rem;
  min-height: 2.875rem;
  padding: 0.6em 1.1em;
  border: 2px solid var(--feutre);
  border-radius: 999px;
  background: var(--feutre);
  color: var(--nuit);
  font: 400 1rem/1.2 var(--police-texte);
  caret-color: var(--framboise);
}
.carnet-ligne input:focus-visible { outline: 3px solid var(--safran); outline-offset: 2px; }
.carnet-ligne .bouton[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.carnet-message { margin-top: 0.75rem; font-weight: 700; min-height: 1.6em; }

/* ==========================================================
   Débutants ou avancés : deux colonnes illustrées
   ========================================================== */
#sessions .chapeau { margin-bottom: 0; }
.niveaux { align-items: start; gap: clamp(3rem, 6vw, 4rem) clamp(2rem, 6vw, 5rem); }
.niveau .scene {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin-bottom: 1.25rem;
  color: var(--feutre);
  overflow: visible;
}
.scene-fleche { stroke: var(--turquoise); }
.scene-etincelle { color: var(--turquoise); }
.scene-texte { fill: var(--turquoise); font: 700 16px var(--police-texte); }
.scene-legende { fill: var(--feutre); font: 700 16px var(--police-texte); }
.scene-legende--fort { font-family: var(--police-titre); font-weight: 400; font-size: 20px; }
.niveau .niveau-nom { margin: 0; }
.niveau-texte { margin-top: 1rem; max-width: 46ch; }
.niveau-liste { margin: 1rem 0 0; padding: 0; list-style: none; }
.niveau-liste li { display: flex; gap: 0.7rem; padding: 0.3rem 0; font-weight: 700; }
.niveau-liste svg { width: 0.9em; height: 0.9em; margin-top: 0.35em; color: var(--turquoise); flex: none; }
.niveau-talent {
  margin-top: 1.25rem;
  font-family: var(--police-titre);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.3;
  max-width: 30ch;
}
.saucisses {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 62ch;
  margin-top: clamp(3rem, 6vw, 4rem);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
}
.saucisse { width: 6.5rem; height: auto; flex: none; color: var(--feutre); }
.saucisse-corps { fill: var(--framboise); stroke: var(--feutre); stroke-width: 3; }
.saucisse-oeil { fill: var(--nuit); }
.saucisse-bouche { stroke: var(--nuit); }
@media (max-width: 520px) {
  .saucisses { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   La sangle des rimes défile lentement toute seule
   ========================================================== */
.sangle { position: relative; padding-right: 3.5rem; }
.sangle-piste { animation: defile-rimes 95s linear infinite; }
.sangle:hover .sangle-piste,
.sangle:focus-within .sangle-piste,
.sangle.en-pause .sangle-piste { animation-play-state: paused; }
@keyframes defile-rimes {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.sangle-pause {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  transform: translateY(-50%);
  border: 2px solid var(--feutre);
  border-radius: 50%;
  background: var(--nuit);
  color: var(--feutre);
  cursor: pointer;
}
.sangle-pause svg { width: 1rem; height: 1rem; }
.sangle-pause .icone-lecture { display: none; }
.sangle.en-pause .sangle-pause .icone-pause { display: none; }
.sangle.en-pause .sangle-pause .icone-lecture { display: block; }
@media (prefers-reduced-motion: reduce) {
  .sangle { padding-right: 0; }
  .sangle-piste { animation: none; width: auto; }
  .sangle-motif + .sangle-motif { display: none; }
  .sangle-motif {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.5rem;
    padding: 0 var(--gouttiere);
    white-space: normal;
  }
  .sangle-pause { display: none; }
}
.saucisse { width: 9.5rem; }
.saucisses { font-size: 1.3rem; }

/* ---------- Retouches du 06/10 ---------- */

/* « sport sans effort » : un lien vers la page qui l'explique */
.accroche a, .danse-texte a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.accroche a:hover, .danse-texte a:hover { text-decoration-color: var(--safran); }

/* La vague d'une session : échauffement, montée, retour au calme */
.vague-titre {
  margin-top: 2rem;
  font-family: var(--police-titre);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.2;
}
.vague {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: vague;
}
.vague li {
  position: relative;
  padding: 0.45rem 0 0.45rem 2.6rem;
  counter-increment: vague;
}
.vague li::before {
  content: counter(vague);
  position: absolute;
  left: 0;
  top: 0.35rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--nuit);
  color: var(--feutre);
  font-family: var(--police-titre);
  font-size: 1rem;
  line-height: 1;
}
.danse-texte .vague + p { margin-top: 1rem; }

/* Deux sections de nuit qui se suivent : un seul bloc */
.section--nuit + .section--suite { padding-top: 0; }

/* Les dates sans session (pour celles et ceux qui ne suivent pas le calendrier de la zone A) */
.pauses { max-width: var(--mesure); margin-top: 2.25rem; }
.pauses-titre {
  font-family: var(--police-titre);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 400;
}
.pauses-liste { margin: 0.9rem 0 0; padding: 0; list-style: none; }
.pauses-liste li { padding: 0.35rem 0; border-top: 1px solid rgba(255, 239, 230, 0.18); }
.pauses-liste li:first-child { border-top: 0; }
.pauses-liste .pause-motif { color: var(--turquoise); font-weight: 700; }

/* L'espace de non-jugement */
.non-jugement {
  max-width: var(--mesure);
  margin-top: 1.75rem;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
}

/* Bas de page : les liens d'information */
.plancher-liens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  flex-basis: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 239, 230, 0.18);
  font-size: 0.95rem;
}
.plancher-liens a { color: var(--feutre); }

/* Les danseurs en twist de la première rangée : chacun son tempo */
.tuile:nth-child(2) .danse-twist { --tempo: 0.8s; }
.tuile:nth-child(3) .danse-twist { --tempo: 0.55s; }

/* Pages Sans effort et Contact : le médaillon du logo */
.medaillon {
  display: block;
  width: min(44vw, 12rem);
  height: auto;
  margin-top: 3.5rem;
}
.texte-long { max-width: var(--mesure); }
.texte-long p + p { margin-top: 1.1rem; }
.texte-long h2 + p, .texte-long h2 + .chapeau { margin-top: 1.25rem; }
.jedi {
  font-family: var(--police-titre);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
}

/* Contact */
.contact-cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2.25rem;
}
.contact-carte { display: grid; gap: 0.6rem; align-content: start; }
.contact-carte h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); max-width: none; }
.contact-carte .valeur { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; overflow-wrap: anywhere; }
.contact-carte .valeur a { color: inherit; }
.rimes-contact { margin: 2.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.8rem; }
.rimes-contact li {
  display: flex;
  gap: 0.75rem;
  font-family: var(--police-titre);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.25;
}
.rimes-contact svg { width: 1em; height: 1em; margin-top: 0.2em; flex: none; color: var(--turquoise); }

/* Pages légales : du texte bien lisible */
.legal { max-width: var(--mesure); }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); max-width: none; margin-top: 2.5rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.legal p, .legal li { margin-top: 0.75rem; }
.legal ul { padding-left: 1.25rem; }
.legal a { color: inherit; }
/* Page Merci : le médaillon au-dessus du message */
.medaillon--merci { width: min(34vw, 8.5rem); margin: 3.25rem auto 0; }
.merci-humour { max-width: 46ch; margin-inline: auto; font-weight: 700; }