﻿/* ============================================================
   Lightworker Collective - Composants (components.css)
   Page « Réservation » : UN SEUL ÉCRAN (pas une landing).
   Le formulaire EST la page : logo + titre + carte de parcours en
   verre liquide sur photo sombre, le tout dans 100 svh. AUCUN
   défilement de page - les étapes hautes (séances) défilent À
   L'INTÉRIEUR de la carte. Toutes les couleurs/polices viennent
   de brand.css.

   STRATÉGIE RESPONSIVE (charte §8) :
   • un seul seuil qui compte : 900px ;
   • tout en clamp() fluide + échelle :root indexée sur la HAUTEUR
     (bloc en fin de fichier) ;
   • le bloc @media (min-width:900px) reste EN FIN DE FICHIER.
   ============================================================ */

/* Rouge d'erreur - exception assumée HORS palette, héritée du formulaire
   de la page Aide (lwf-erreur). Défini UNE fois ici (brand.css est gelé).
   --ok-ink : vert sourd, exception assumée AUSSI (demande cliente : crochet
   vert / croix rouge sur l'étape de préparation). Teintes feutrées pour
   rester dans le registre premium de la marque. */
:root {
  --erreur-ink: #b4453f;
  --ok-ink: #3f7a5f;
}

/* ------------------------------------------------------------
   VERROU DE DÉFILEMENT - la page ne défile JAMAIS.
   Le fond charcoal du body évite toute bande claire si un viewport
   mobile redimensionne (barre d'URL, clavier virtuel).
   ------------------------------------------------------------ */
html, body { height: 100%; }
body {
  overflow: hidden;
  background: var(--charcoal);
}

/* ------------------------------------------------------------
   ÉCRAN UNIQUE - photo + voile charcoal (recette du hero Aide),
   contenu empilé et centré : logo · titre · carte · micro-ligne.
   ------------------------------------------------------------ */

.rsv-ecran {
  position: relative;
  overflow: hidden;               /* borne les blooms et le canvas */
  height: 100vh;
  height: 100dvh;                 /* suit la barre d'URL mobile ; repli vh */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.9vh, 1.4rem);
  padding: clamp(0.8rem, 2.4vh, 2rem) clamp(1rem, 4vw, 2.5rem);
  /* CIEL ASTRAL - profondeur cosmique en dégradés radiaux bleus (Mermaid +
     Celestial) sur un noir bleuté très profond. Aucune photo. */
  background-color: #04070a;
  background-image:
    radial-gradient(120% 85% at 50% -12%,
      color-mix(in srgb, var(--color-mermaid-blue) 62%, transparent) 0%, transparent 55%),
    radial-gradient(95% 80% at 86% 16%,
      color-mix(in srgb, var(--color-celestial-tides) 34%, transparent) 0%, transparent 55%),
    radial-gradient(100% 90% at 8% 108%,
      color-mix(in srgb, var(--color-mermaid-blue) 48%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, #060c12 0%, #04070c 58%, #030405 100%);
}

/* Tout le contenu au-dessus du fond astral. */
.rsv-ecran > * { position: relative; z-index: 1; }
.rsv-ecran > .bloom { z-index: 0; }

/* Canvas galaxie : étoiles PAR-DESSUS les nébuleuses (blooms), sous le contenu. */
.rsv-ecran > .galaxy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* En-tête : le logotype seul, discret. */
.rsv-entete { flex: 0 0 auto; text-align: center; }

/* Titre compact (Royal majuscules - mais bien plus petit qu'un hero). */
.rsv-titre {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(1.15rem, 2.6vh, 1.6rem);
  color: var(--cream);
  text-align: center;
  text-shadow: 0 2px 18px color-mix(in srgb, var(--charcoal) 62%, transparent);
}

/* Micro-ligne sous la carte : réassurance + porte de sortie douce. */
.rsv-micro {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  text-shadow: 0 1px 10px color-mix(in srgb, var(--charcoal) 60%, transparent);
}
.rsv-micro svg { width: 13px; height: 13px; flex: 0 0 auto; }
.rsv-micro a {
  color: var(--color-celestial-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rsv-micro a:hover { color: var(--cream); }

/* ------------------------------------------------------------
   Logo image (logo-lightworker.webp, fourni par la cliente).
   Hauteur bornée en vh : ne gruge jamais l'écran unique.
   ------------------------------------------------------------ */

.rsv-logo { display: inline-block; line-height: 0; }
.rsv-logo img {
  /* Mot-symbole très LARGE (1057×136) : on borne la LARGEUR (jamais
     plus large que l'écran mobile, jamais envahissant en hauteur). */
  width: min(400px, 84vw, 52vh);
  height: auto;
  filter: drop-shadow(0 2px 14px color-mix(in srgb, var(--charcoal) 55%, transparent));
}

/* ------------------------------------------------------------
   Boutons (recettes charte §6.2 - variante douce .btn--call,
   utilisée par le panneau « parcours doux »)
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);   /* Royal - parité avec la page Aide en ligne */
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  line-height: 1;
  text-decoration: none;
  padding: 0.78em 1.75em;
  border-radius: var(--radius-btn);
  background: var(--btn-bg, var(--charcoal));
  color: var(--btn-ink, var(--cream));
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}

.btn-arrow { display: inline-block; transition: transform 0.35s var(--ease-soft); }

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--powder-blue) 45%, transparent);
}

.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow { transform: translateX(3px); }

.btn--call {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding-block: 1.05em;
  background: color-mix(in srgb, var(--color-celestial-tides) 9%, var(--white));
  color: var(--color-celestial-tides);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-celestial-tides) 28%, transparent);
  transition: color 0.35s var(--ease-soft), transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}
.btn--call::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-celestial-tides);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-soft);
}
.btn--call .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: var(--color-celestial-tides);
  color: var(--white);
  font-size: 0.82em;
  line-height: 1;
  transition: background-color 0.35s var(--ease-soft), color 0.35s var(--ease-soft);
}
.btn--call .btn-arrow svg { width: 0.95em; height: 0.95em; display: block; }
.btn--call:hover,
.btn--call:focus-visible {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px transparent;
}
.btn--call:hover::before,
.btn--call:focus-visible::before { transform: scaleX(1); }
.btn--call:hover .btn-arrow,
.btn--call:focus-visible .btn-arrow {
  background: #fff;
  color: var(--color-celestial-tides);
}

/* ============================================================
   CARTE DE PARCOURS (.rsv-carte) - LIQUID GLASS de marque.
   Recette charte §6.1 : le flou vit dans ::before (parent
   overflow:hidden + isolation:isolate -> pas de tache d'angle).
   FLEX COLONNE bornée à l'écran : tête et pied fixes, la SCÈNE
   défile à l'intérieur quand une étape est plus haute que l'écran.
   ============================================================ */

.rsv-carte {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  min-height: 0;                 /* autorise la scène à rétrécir + défiler */
  width: 100%;
  max-width: 780px;
  border-radius: 26px;
  padding: clamp(1.1rem, 2.6vh, 2rem) clamp(1.1rem, 3vw, 2.2rem);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--white) 72%, transparent);
  box-shadow:
    0 44px 100px rgba(0, 0, 0, 0.34),
    0 10px 26px rgba(0, 0, 0, 0.16),
    inset 0 2px 1px rgba(255, 255, 255, 0.95),
    inset 0 -2px 4px color-mix(in srgb, var(--color-celestial-tides) 12%, transparent);
}
.rsv-carte::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(152deg,
      color-mix(in srgb, var(--white) 88%, transparent),
      color-mix(in srgb, var(--color-celestial-light) 10%, color-mix(in srgb, var(--white) 76%, transparent)) 52%,
      color-mix(in srgb, var(--white) 82%, transparent));
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
}
.rsv-carte::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 68% at 18% -8%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 26%);
}

/* Tête : barre de progression + compteur d'étape */
.rsv-tete {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(0.9rem, 2vh, 1.6rem);
}
.rsv-tete[hidden] { display: none; }   /* [hidden] vs display:flex (piège §12.3) */
.rsv-progres {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--color-celestial-tides) 16%, transparent);
  overflow: hidden;
}
.rsv-progres-barre {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--color-celestial-tides);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-soft);
}
.rsv-compteur {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--charcoal) 64%, var(--white));   /* ≥4,5:1 (AA) */
  white-space: nowrap;
}

/* Scène : l'étape COURANTE est en flux ; la SORTANTE passe en absolu
   le temps de son fondu. C'est ICI que ça défile quand l'étape est
   plus haute que l'écran (la page, elle, ne bouge jamais). */
.rsv-scene {
  position: relative;
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;   /* le défilement interne ne « fuit » pas */
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--color-celestial-tides) 45%, transparent) transparent;
}

.rsv-etape {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.34s var(--ease-soft), transform 0.34s var(--ease-soft);
}
.rsv-etape.part-gauche,
.rsv-etape.part-droite { position: absolute; inset: 0; justify-content: flex-start; }
.rsv-etape.vient-droite { opacity: 0; transform: translateX(36px); }
.rsv-etape.vient-gauche { opacity: 0; transform: translateX(-36px); }
.rsv-etape.part-gauche  { opacity: 0; transform: translateX(-36px); }
.rsv-etape.part-droite  { opacity: 0; transform: translateX(36px); }

.rsv-question {
  margin: 0;
  font-family: var(--font-display);   /* Royal, MAJUSCULES (signature) */
  font-weight: 500;
  font-size: clamp(1.28rem, 3vw, 1.6rem);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}
.rsv-requis {
  margin-left: 0.28em;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.62em;
  vertical-align: super;
  color: var(--erreur-ink);
}

.rsv-aide {
  margin: 0.6rem 0 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--charcoal) 60%, var(--white));
}

/* Sous-question (étapes à plusieurs questions) */
.rsv-bloc { margin-top: clamp(1.2rem, 2.6vh, 1.9rem); }
.rsv-bloc:first-of-type { margin-top: clamp(1rem, 2.2vh, 1.6rem); }
.rsv-sous-question {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--charcoal) 78%, var(--white));
}
.rsv-sous-question .rsv-requis { vertical-align: baseline; }

/* Champs - trait de soulignement signature */
.rsv-libelle {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--charcoal) 62%, var(--white));
}
.rsv-champ {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.62em 0.1em;
  font: inherit;
  font-size: 1.04rem;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  border-bottom: 2px solid color-mix(in srgb, var(--charcoal) 16%, transparent);
  border-radius: 0;
  transition: border-color 0.3s var(--ease-soft);
}
.rsv-champ:focus { outline: none; border-bottom-color: var(--color-celestial-tides); }
.rsv-champ::placeholder { color: color-mix(in srgb, var(--charcoal) 52%, var(--white)); opacity: 1; }
/* Zone de texte (intention, message) : une VRAIE boîte encadrée, pas un
   simple trait. Sans cadre, on ne comprend pas que c'est là qu'on écrit. */
textarea.rsv-champ {
  resize: vertical;
  min-height: 5.4em;
  margin-top: 0.55rem;
  padding: 0.8em 1em;
  font-size: 1rem;
  line-height: 1.5;
  background: color-mix(in srgb, var(--white) 74%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--color-celestial-tides) 30%, transparent);
  border-radius: 14px;
  box-shadow: inset 0 1px 3px color-mix(in srgb, var(--charcoal) 6%, transparent);
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
textarea.rsv-champ:focus {
  outline: none;
  border-color: var(--color-celestial-tides);
  box-shadow: inset 0 1px 3px color-mix(in srgb, var(--charcoal) 6%, transparent),
              0 0 0 3px color-mix(in srgb, var(--color-celestial-tides) 16%, transparent);
}

/* « Autre » coché : la zone de texte S'ILLUMINE (halo qui pulse 3 fois puis
   reste mis en avant) pour dire « c'est ici qu'on précise ». */
textarea.rsv-champ.is-attente {
  border-color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--color-celestial-tides) 8%, var(--white));
  animation: rsv-brille 1.5s var(--ease-soft) 3;
}
@keyframes rsv-brille {
  0%, 100% {
    box-shadow: inset 0 1px 3px color-mix(in srgb, var(--charcoal) 6%, transparent),
                0 0 0 0 color-mix(in srgb, var(--color-celestial-tides) 40%, transparent);
  }
  50% {
    box-shadow: inset 0 1px 3px color-mix(in srgb, var(--charcoal) 6%, transparent),
                0 0 0 7px color-mix(in srgb, var(--color-celestial-tides) 0%, transparent),
                0 0 22px 2px color-mix(in srgb, var(--color-celestial-tides) 45%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  textarea.rsv-champ.is-attente { animation: none; }
}

/* Grille de coordonnées : 2 colonnes dès 620px */
.rsv-grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem 1.5rem;
  margin-top: clamp(1rem, 2.2vh, 1.6rem);
}
@media (min-width: 620px) {
  .rsv-grille { grid-template-columns: 1fr 1fr; }
  .rsv-plein { grid-column: 1 / -1; }
}

/* Choix en pilules (mono ou multi) */
.rsv-choix { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.85rem; }
.rsv-option {
  flex: 0 1 auto;
  padding: 0.8em 1.3em;
  border-radius: 14px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--color-celestial-tides) 6%, var(--white));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-celestial-tides) 26%, transparent);
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft),
              box-shadow 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.rsv-option:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--color-celestial-tides); }
.rsv-option.is-choisi { background: var(--color-celestial-tides); color: var(--cream); box-shadow: none; }

.rsv-erreur {
  margin: 0.8rem 0 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--erreur-ink);
}

/* Pied : retour / suivant */
.rsv-pied[hidden] { display: none; }
.rsv-pied {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: clamp(0.9rem, 2vh, 1.5rem);
}
.rsv-prec {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--charcoal) 55%, var(--white));
  padding: 0.6em 0.2em;
  transition: color 0.3s var(--ease-soft);
}
.rsv-prec:hover { color: var(--charcoal); }
.rsv-prec[hidden] { display: none; }
.rsv-suiv {
  margin-left: auto;
  padding: 0.85em 1.9em;
  border-radius: 14px;
  background: var(--color-celestial-tides);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft),
              box-shadow 0.3s var(--ease-soft);
}
.rsv-suiv:hover {
  background: var(--color-celestial-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--color-celestial-tides) 40%, transparent);
}
.rsv-suiv[hidden] { display: none; }

/* ------------------------------------------------------------
   Étape 1 - CHOIX DU SERVICE : 4 cartes-boutons
   ------------------------------------------------------------ */

.rsv-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: clamp(1rem, 2.2vh, 1.6rem);
}
@media (min-width: 620px) { .rsv-services { grid-template-columns: 1fr 1fr; } }

.rsv-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  text-align: left;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--white) 66%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--color-celestial-tides) 22%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft),
              background 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}
.rsv-service:hover {
  transform: translateY(-3px);
  border-color: var(--color-celestial-tides);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 36px color-mix(in srgb, var(--charcoal) 10%, transparent);
}
.rsv-service.is-choisi {
  background: var(--color-celestial-tides);
  border-color: var(--color-celestial-tides);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--color-celestial-tides) 35%, transparent);
}
.rsv-service.is-choisi .rsv-service-nom,
.rsv-service.is-choisi .rsv-service-desc { color: var(--cream); }
.rsv-service.is-choisi .rsv-service-icone {
  color: var(--cream);
  background: color-mix(in srgb, var(--cream) 14%, transparent);
  border-color: color-mix(in srgb, var(--cream) 30%, transparent);
}

.rsv-service-icone {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--color-celestial-tides) 12%, var(--white));
  border: 1px solid color-mix(in srgb, var(--color-celestial-tides) 26%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft),
              border-color 0.35s var(--ease-soft);
}
.rsv-service-icone svg { width: 22px; height: 22px; }

.rsv-service-nom {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  transition: color 0.35s var(--ease-soft);
}
.rsv-service-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--charcoal) 66%, var(--white));
  transition: color 0.35s var(--ease-soft);
}

/* ------------------------------------------------------------
   Étape sécurité - rangées à cocher (contre-indications)
   ------------------------------------------------------------ */

.rsv-secu {
  display: grid;
  gap: 0.55rem;
  margin-top: clamp(1rem, 2.2vh, 1.6rem);
}
.rsv-coche-ligne {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  text-align: left;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--charcoal) 84%, var(--white));
  background: color-mix(in srgb, var(--white) 55%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--color-celestial-tides) 18%, transparent);
  transition: border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}
.rsv-coche-ligne:hover { border-color: var(--color-celestial-tides); }
.rsv-coche-ligne.is-choisi {
  background: color-mix(in srgb, var(--color-celestial-tides) 10%, var(--white));
  border-color: var(--color-celestial-tides);
}
.rsv-coche-case {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: transparent;
  background: var(--white);
  border: 1.5px solid color-mix(in srgb, var(--color-celestial-tides) 40%, transparent);
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft),
              border-color 0.3s var(--ease-soft);
}
.rsv-coche-case svg { width: 13px; height: 13px; }
.rsv-coche-ligne.is-choisi .rsv-coche-case {
  background: var(--color-celestial-tides);
  border-color: var(--color-celestial-tides);
  color: var(--cream);
}
/* La rangée « aucune de ces situations » se détache légèrement. */
.rsv-coche-ligne--aucune { margin-top: 0.5rem; font-weight: 600; }

.rsv-confidentiel {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--charcoal) 62%, var(--white));   /* ≥4,5:1 (AA) */
}
.rsv-confidentiel svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* Panneau « profil non éligible » - doux, jamais un refus. */
.rsv-bloque {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding-block: 0.5rem;
}
.rsv-bloque-icone {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--cream);
  background: var(--color-celestial-tides);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--color-celestial-tides) 38%, transparent);
}
.rsv-bloque-icone svg { width: 26px; height: 26px; }
.rsv-bloque .rsv-aide { max-width: 34rem; }
.rsv-bloque .btn--call { margin-top: 0.6rem; }
.rsv-bloque .link-btn {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--charcoal) 55%, var(--white));
}

/* ------------------------------------------------------------
   Étape séances - recherche par code postal + liste
   ------------------------------------------------------------ */

.rsv-cp-ligne {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: clamp(1rem, 2vh, 1.5rem);
}
.rsv-cp-champ {
  flex: 1 1 180px;
  padding: 0.72em 1.1em;
  font: inherit;
  font-size: 1.04rem;   /* ≥16px rendus sur mobile : évite le zoom auto iOS */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: color-mix(in srgb, var(--white) 74%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--color-celestial-tides) 26%, transparent);
  border-radius: 14px;
  transition: border-color 0.3s var(--ease-soft);
}
.rsv-cp-champ:focus { outline: none; border-color: var(--color-celestial-tides); }
.rsv-cp-champ::placeholder { text-transform: none; letter-spacing: 0; color: color-mix(in srgb, var(--charcoal) 52%, var(--white)); opacity: 1; }
.rsv-cp-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.72em 1.4em;
  border-radius: 14px;
  background: var(--color-celestial-tides);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.rsv-cp-btn:hover { background: var(--color-celestial-light); transform: translateY(-2px); }
.rsv-cp-btn svg { width: 15px; height: 15px; }
.rsv-cp-note {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--charcoal) 62%, var(--white));   /* ≥4,5:1 (AA) */
}

.sess-liste {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.sess-carte {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.4vw, 1.2rem);
  width: 100%;
  text-align: left;
  padding: 0.9rem 1.05rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--white) 66%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--color-celestial-tides) 20%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft),
              box-shadow 0.35s var(--ease-soft), background 0.35s var(--ease-soft);
}
.sess-carte:hover:not(.is-complet) {
  transform: translateY(-2px);
  border-color: var(--color-celestial-tides);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 32px color-mix(in srgb, var(--charcoal) 9%, transparent);
}
.sess-carte.is-choisi {
  border-color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--color-celestial-tides) 9%, var(--white));
  box-shadow: 0 14px 32px color-mix(in srgb, var(--color-celestial-tides) 22%, transparent);
}
/* Séance complète : atténuée par le FOND (pas par l'opacité du texte,
   qui deviendrait illisible) ; reste dans l'ordre de tabulation avec
   aria-disabled (le clic est ignoré côté JS). */
.sess-carte.is-complet {
  cursor: not-allowed;
  background: color-mix(in srgb, var(--white) 34%, transparent);
  border-style: dashed;
  box-shadow: none;
}

/* Bloc date (jour en Royal, mois en petites capitales) */
.sess-date {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px;
  padding: 0.5rem 0.2rem;
  border-radius: 13px;
  background: color-mix(in srgb, var(--color-celestial-tides) 10%, var(--white));
  border: 1px solid color-mix(in srgb, var(--color-celestial-tides) 22%, transparent);
}
.sess-jour {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--charcoal);
}
.sess-mois {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-celestial-tides);
  margin-top: 0.25em;
}

.sess-infos { flex: 1 1 auto; min-width: 0; }
.sess-titre {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}
.sess-lieu {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--charcoal) 62%, var(--white));
}
.sess-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin-top: 0.45rem;
}
.sess-puce {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32em 0.75em;
  border-radius: var(--radius-btn);
  color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--color-celestial-tides) 9%, var(--white));
  border: 1px solid color-mix(in srgb, var(--color-celestial-tides) 22%, transparent);
}
.sess-puce svg { width: 11px; height: 11px; }
/* Alerte (« Complet », « Plus que X places ») : on reste dans l'accent
   bleu unique (l'or est dormant, charte §2) - la distinction passe par
   le poids et une bordure plus présente. */
.sess-puce--alerte {
  color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--color-celestial-tides) 16%, var(--white));
  border-color: color-mix(in srgb, var(--color-celestial-tides) 48%, transparent);
  font-weight: 700;
}

.sess-cote {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.sess-choisir {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-celestial-tides);
  white-space: nowrap;
}
.sess-carte.is-choisi .sess-choisir { color: var(--charcoal); }

/* Puce de durée d'une retraite (« Immersion 3 jours ») - un peu plus affirmée. */
.sess-puce--duree {
  color: var(--cream);
  background: var(--color-celestial-tides);
  border-color: transparent;
  font-weight: 700;
}

/* ------------------------------------------------------------
   FILE D'ATTENTE (retraites complètes) - carte d'invitation +
   panneau de consentement.
   ------------------------------------------------------------ */

.rsv-attente:empty { display: none; }

.rsv-attente-carte {
  margin-top: 1rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 18px;
  text-align: center;
  background: color-mix(in srgb, var(--color-celestial-tides) 9%, var(--white));
  border: 1.5px dashed color-mix(in srgb, var(--color-celestial-tides) 42%, transparent);
}
.rsv-attente-titre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--charcoal);
}
.rsv-attente-titre > span[aria-hidden] { color: var(--color-celestial-tides); }
.rsv-attente-txt {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--charcoal) 66%, var(--white));
}
.rsv-attente-btn {
  margin-top: 0.95rem;
  padding: 0.8em 1.6em;
  border-radius: 14px;
  background: var(--color-celestial-tides);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft),
              box-shadow 0.3s var(--ease-soft);
}
.rsv-attente-btn:hover {
  background: var(--color-celestial-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--color-celestial-tides) 40%, transparent);
}

/* Pied de panneau autonome (file d'attente) : même rythme que .rsv-pied. */
.rsv-pied-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: clamp(0.9rem, 2vh, 1.5rem);
}

/* Lignes de consentement autonomes (file d'attente, paiement) : le texte
   court sur plusieurs lignes, la case reste alignée en haut. */
.rsv-etape > .rsv-coche-ligne[data-attente-consent],
.rsv-etape > .rsv-consent {
  align-items: flex-start;
  margin-top: clamp(1rem, 2.2vh, 1.5rem);
}
.rsv-coche-ligne[data-attente-consent] .rsv-coche-case,
.rsv-consent .rsv-coche-case { margin-top: 0.1rem; }
/* Mention légale : un cran plus discret que les questions du parcours. */
.rsv-consent { font-size: 0.86rem; line-height: 1.45; }

.sess-vide {
  margin: 1.4rem 0 0;
  padding: 1.2rem 1.3rem;
  border-radius: 16px;
  font-size: 0.94rem;
  color: color-mix(in srgb, var(--charcoal) 66%, var(--white));
  background: color-mix(in srgb, var(--white) 55%, transparent);
  border: 1.5px dashed color-mix(in srgb, var(--color-celestial-tides) 32%, transparent);
}

/* ------------------------------------------------------------
   Étape « Comment ça se passe » (services SUR RENDEZ-VOUS) -
   les 3 jalons du rappel sous 24 h, numérotés.
   ------------------------------------------------------------ */

.rdv-liste {
  display: grid;
  gap: 0.65rem;
  margin: clamp(1rem, 2.2vh, 1.6rem) 0 0;
  padding: 0;
  list-style: none;
}
.rdv-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.05rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--white) 60%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--color-celestial-tides) 20%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.rdv-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-celestial-tides);
  color: var(--cream);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-celestial-tides) 35%, transparent);
}
.rdv-txt { display: grid; gap: 0.22rem; }
.rdv-txt strong {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.rdv-txt > span {
  font-size: 0.88rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--charcoal) 66%, var(--white));
}

/* ------------------------------------------------------------
   Étape PRÉPARATION - deux colonnes : à faire (crochet vert) /
   à ne pas faire (croix rouge). Empilées sous 620px.
   ------------------------------------------------------------ */

.prep-grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: clamp(1rem, 2.2vh, 1.6rem);
}
@media (min-width: 620px) { .prep-grille { grid-template-columns: 1fr 1fr; } }

.prep-col {
  padding: 1.05rem 1.15rem 1.15rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--white) 62%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--charcoal) 10%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.prep-col--faire {
  background: color-mix(in srgb, var(--ok-ink) 6%, var(--white));
  border-color: color-mix(in srgb, var(--ok-ink) 30%, transparent);
}
.prep-col--eviter {
  background: color-mix(in srgb, var(--erreur-ink) 5%, var(--white));
  border-color: color-mix(in srgb, var(--erreur-ink) 26%, transparent);
}

.prep-titre {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--charcoal);
}
.prep-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--white);
}
.prep-badge svg { width: 13px; height: 13px; }
.prep-badge--ok  { background: var(--ok-ink);     box-shadow: 0 6px 14px color-mix(in srgb, var(--ok-ink) 35%, transparent); }
.prep-badge--non { background: var(--erreur-ink); box-shadow: 0 6px 14px color-mix(in srgb, var(--erreur-ink) 32%, transparent); }

.prep-liste {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.prep-liste li {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  font-size: 0.88rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--charcoal) 82%, var(--white));
}
.prep-puce { flex: 0 0 auto; margin-top: 0.15em; }
.prep-puce svg { display: block; width: 14px; height: 14px; }
.prep-puce--ok  { color: var(--ok-ink); }
.prep-puce--non { color: var(--erreur-ink); }

/* ------------------------------------------------------------
   Étape récapitulatif + paiement
   ------------------------------------------------------------ */

.rsv-recap {
  margin-top: clamp(1rem, 2.2vh, 1.6rem);
  border-radius: 18px;
  padding: 0.4rem 1.2rem;
  background: color-mix(in srgb, var(--white) 60%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--color-celestial-tides) 18%, transparent);
}
.rsv-recap-ligne {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid color-mix(in srgb, var(--charcoal) 9%, transparent);
  font-size: 0.94rem;
}
.rsv-recap-ligne:last-child { border-bottom: 0; }
.rsv-recap-cle {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--charcoal) 55%, var(--white));
  white-space: nowrap;
}
.rsv-recap-val { text-align: right; color: var(--charcoal); }
.rsv-recap-rabais .rsv-recap-cle,
.rsv-recap-rabais .rsv-recap-val { color: var(--color-celestial-tides); }
.rsv-recap-total .rsv-recap-cle { color: var(--charcoal); }
.rsv-recap-total .rsv-recap-val {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

/* Bouton Stripe (démo visuelle - voir main.js pour le point d'intégration)
   et son jumeau « Envoyer ma demande » (parcours sur rendez-vous). */
.rsv-stripe,
.rsv-envoyer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  width: 100%;
  margin-top: 1.2rem;
  padding: 1.05em 1.4em;
  border-radius: 16px;
  background: var(--color-celestial-tides);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft),
              box-shadow 0.3s var(--ease-soft);
}
.rsv-stripe:hover,
.rsv-envoyer:hover {
  background: var(--color-celestial-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--color-celestial-tides) 40%, transparent);
}
.rsv-stripe svg,
.rsv-envoyer svg { width: 16px; height: 16px; flex: 0 0 auto; }
.rsv-stripe-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4em 0.55em;
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--charcoal) 62%, var(--white));   /* ≥4,5:1 (AA) */
}
.rsv-stripe-note > svg { width: 13px; height: 13px; flex: 0 0 auto; }   /* cadenas */
.rsv-secu-txt { white-space: nowrap; }

/* Rangée de logos de paiement en pastilles blanches. */
.rsv-cartes { display: inline-flex; align-items: center; gap: 0.3em; }
.rsv-carte-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 4px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(0, 0, 0, 0.07);
}
/* Dimensions portées par les attributs width/height des SVG (les <text>
   et cercles n'ont pas de largeur intrinsèque -> width:auto s'effondrerait). */
.rsv-carte-logo svg { display: block; }

/* ------------------------------------------------------------
   SIMULATION DE PAIEMENT (en attendant le vrai Stripe)
   ------------------------------------------------------------ */

.stripe-sim-banniere {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  padding: 0.7em 1em;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #8a5a20;
  background: color-mix(in srgb, #CC9C54 16%, var(--white));
  border: 1.5px dashed color-mix(in srgb, #CC9C54 55%, transparent);
}

.stripe-sim-boite {
  margin-top: clamp(1rem, 2.2vh, 1.6rem);
  padding: clamp(1.2rem, 3vh, 1.9rem) 1.2rem;
  border-radius: 18px;
  text-align: center;
  background: color-mix(in srgb, var(--white) 70%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--charcoal) 10%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.stripe-sim-marque { display: inline-flex; }
.stripe-sim-libelle {
  margin: 0.8rem 0 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--charcoal) 58%, var(--white));
}
.stripe-sim-montant {
  margin: 0.25rem 0 0;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--charcoal);
}
.stripe-sim-detail {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--charcoal) 62%, var(--white));
}
.stripe-sim-cartes { display: flex; justify-content: center; gap: 0.3em; margin-top: 1rem; }

/* ------------------------------------------------------------
   FORMULAIRE DE CONSENTEMENT (après paiement)
   ------------------------------------------------------------ */

.csn-facultatif {
  margin-left: 0.6em;
  padding: 0.3em 0.7em;
  border-radius: var(--radius-btn);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.52em;
  letter-spacing: 0.12em;
  vertical-align: middle;
  color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--color-celestial-tides) 12%, var(--white));
}

.csn-liste {
  display: grid;
  gap: 0.5rem;
  margin: clamp(0.9rem, 2vh, 1.3rem) 0 0;
  padding: 0;
  list-style: none;
}
.csn-liste li {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  font-size: 0.9rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--charcoal) 78%, var(--white));
}
.csn-puce { flex: 0 0 auto; margin-top: 0.2em; color: var(--color-celestial-tides); }
.csn-puce svg { display: block; width: 13px; height: 13px; }

.csn-citation {
  margin: clamp(0.9rem, 2vh, 1.3rem) 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border-left: 3px solid var(--color-celestial-tides);
  font-family: var(--font-editorial);
  font-size: 0.92rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--charcoal) 82%, var(--white));
  background: color-mix(in srgb, var(--color-celestial-tides) 7%, var(--white));
}

.csn-precision { display: block; margin-top: clamp(1rem, 2.2vh, 1.5rem); }

/* Bloc signature */
.csn-signature { margin-top: clamp(1rem, 2.2vh, 1.5rem); }
.csn-champ { display: block; }
.csn-date {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  margin: 1.1rem 0 0;
  font-size: 0.94rem;
  color: var(--charcoal);
}
.csn-sig-titre { margin: 1.2rem 0 0.45rem; }
.csn-pad {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: color-mix(in srgb, var(--white) 82%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--color-celestial-tides) 32%, transparent);
  box-shadow: inset 0 1px 3px color-mix(in srgb, var(--charcoal) 7%, transparent);
}
.csn-pad canvas {
  display: block;
  width: 100%;
  height: 150px;
  touch-action: none;   /* le doigt dessine, il ne fait pas défiler */
  cursor: crosshair;
}
.csn-effacer {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.42em 0.9em;
  border-radius: var(--radius-btn);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--white) 88%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-celestial-tides) 26%, transparent);
}
.csn-effacer:hover { box-shadow: inset 0 0 0 1.5px var(--color-celestial-tides); }
.csn-sig-aide { font-size: 0.82rem; }

/* États (envoi, succès, blocage) - centrés */
.rsv-etat { align-items: center; text-align: center; }
.rsv-etat .rsv-aide { margin-top: 0.7rem; max-width: 32rem; }
.rsv-etat .rsv-suiv { margin: 1.4rem auto 0; }

/* Écrans finaux : « Nouvelle réservation » (plein) + « Revenir au site »
   (bouton SECONDAIRE contouré - même gabarit, hiérarchie claire). */
.rsv-etat-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.rsv-etat-actions .rsv-suiv { margin: 0; }

.rsv-secondaire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.9em;
  border-radius: 14px;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--color-celestial-tides);
  background: color-mix(in srgb, var(--color-celestial-tides) 6%, var(--white));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-celestial-tides) 30%, transparent);
  transition: background 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft),
              transform 0.3s var(--ease-soft);
}
.rsv-secondaire:hover,
.rsv-secondaire:focus-visible {
  background: color-mix(in srgb, var(--color-celestial-tides) 13%, var(--white));
  box-shadow: inset 0 0 0 1.5px var(--color-celestial-tides);
  transform: translateY(-2px);
}
.rsv-spin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, var(--color-celestial-tides) 22%, transparent);
  border-top-color: var(--color-celestial-tides);
  animation: rsv-tourne 0.75s linear infinite;
}
@keyframes rsv-tourne { to { transform: rotate(360deg); } }
.rsv-coche {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.3rem;
  border-radius: 50%;
  color: var(--cream);
  background: var(--color-celestial-tides);
}
.rsv-coche svg { width: 25px; height: 25px; }

.link-btn { text-decoration: underline; text-underline-offset: 3px; color: inherit; cursor: pointer; }

/* ============================================================
   POP-UP MINUTERIE (rabais limité) - verre liquide, coin bas-droit.
   [hidden] rétabli explicitement (piège §12.3). L'entrée est animée
   par .is-in (voir animations.css). Disparaît à l'expiration.
   ============================================================ */

.promo-pop {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 150;
  width: min(330px, calc(100vw - 2rem));
  border-radius: 20px;
  padding: 1.1rem 1.2rem 1.15rem;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--white) 72%, transparent);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.24),
    0 8px 22px rgba(0, 0, 0, 0.10),
    inset 0 2px 1px rgba(255, 255, 255, 0.95);
  color: var(--charcoal);
}
.promo-pop[hidden] { display: none; }
.promo-pop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(152deg,
      color-mix(in srgb, var(--white) 90%, transparent),
      color-mix(in srgb, var(--color-celestial-light) 12%, color-mix(in srgb, var(--white) 80%, transparent)) 52%,
      color-mix(in srgb, var(--white) 86%, transparent));
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.promo-pop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 68% at 18% -8%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 55%);
}

.promo-titre {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin: 0;
  padding-right: 1.6rem;   /* place pour le bouton fermer */
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}
.promo-titre > span[aria-hidden] { color: var(--color-celestial-tides); }
.promo-texte {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--charcoal) 66%, var(--white));
}
.promo-compte {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  color: var(--color-celestial-tides);
  font-variant-numeric: tabular-nums;
}
.promo-fermer {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: color-mix(in srgb, var(--charcoal) 55%, var(--white));
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.promo-fermer svg { width: 15px; height: 15px; }
.promo-fermer:hover { background: color-mix(in srgb, var(--charcoal) 8%, transparent); color: var(--charcoal); }

/* ============================================================
   VERSANT MOBILE - @media (max-width: 899px)
   On ne redéfinit JAMAIS une taille globale : on relève des
   planchers de clamp() et on compacte les composants.
   ============================================================ */
@media (max-width: 899px) {
  /* Écran unique compacté. */
  .rsv-ecran { padding-inline: 0.85rem; gap: clamp(0.55rem, 1.6vh, 1rem); }
  .rsv-titre { font-size: clamp(1.05rem, 2.4vh, 1.35rem); }
  .logo-light { font-size: 1.3rem; }
  .logo-worker { font-size: 0.88rem; }
  .rsv-micro { font-size: 0.62rem; }

  /* Carte de parcours compactée. */
  .rsv-carte { padding: 1rem 0.95rem 1.1rem; border-radius: 20px; }

  /* Séances : la carte passe en 2 rangées (date+infos / prix à droite). */
  .sess-carte { flex-wrap: wrap; padding: 0.85rem 0.95rem; }
  .sess-cote {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.55rem;
    margin-top: 0.25rem;
    border-top: 1px solid color-mix(in srgb, var(--charcoal) 8%, transparent);
  }

  /* Pop-up minuterie : pleine largeur en bas, COMPACT (une seule ligne :
     titre + compteur) pour ne pas manger le petit écran. */
  .promo-pop {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 2.6rem 0.75rem 1.05rem;
  }
  .promo-texte { display: none; }
  .promo-titre { flex: 1 1 auto; margin: 0; padding-right: 0; font-size: 0.8rem; }
  .promo-compte { flex: 0 0 auto; margin: 0; font-size: 1.35rem; }
  .promo-fermer { top: 50%; transform: translateY(-50%); }

  /* Flou ALLÉGÉ sur mobile (charte §6.1/§10 : backdrop-filter coûteux GPU,
     garder ≤ 8px) - la carte de parcours et le pop-up sont les deux plus
     grandes surfaces floutées de la page. */
  .rsv-carte::before,
  .promo-pop::before {
    -webkit-backdrop-filter: blur(8px) saturate(1.4);
    backdrop-filter: blur(8px) saturate(1.4);
  }
}

/* ============================================================
   ÉCHELLE PILOTÉE PAR LA HAUTEUR - le correctif « laptop »
   (charte §8.1). 16px au-dessus de ~900px de haut, descend à
   12,5px sur un laptop bas. Réservé au desktop.
   ============================================================ */
@media (min-width: 900px) {
  :root { font-size: clamp(12.5px, 1.78vh, 16px); }
}
