/* ==========================================================================
   X'istence — feuille de style du site
   Tokens repris à l'identique de l'application (expo/constants/colors.ts) :
   aucune couleur inventée. Typographie de marque : Instrument Serif (titres)
   + Inter (interface), polices auto-hébergées (aucun appel externe).
   ========================================================================== */

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/InstrumentSerif-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette de l'application */
  --ink: #1a1420;
  --ink-soft: #2a2233;
  --ink-line: rgba(255, 255, 255, 0.14);
  --surface: #f7f3f9;
  --surface-raised: #ffffff;
  --violet: #802080;
  --violet-dark: #651a65;
  --violet-soft: #f4eaf4;
  --violet-bright: #c77bc7;
  --gold: #c6a15b;
  --muted: #5c5468;
  --line: rgba(26, 20, 32, 0.12);
  --line-strong: rgba(26, 20, 32, 0.22);
  --success: #2f7d5b;

  /* Mise en page */
  --page: 1140px;
  --gutter: 28px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Rythme vertical */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 132px;

  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--violet-dark);
}

/* Focus visible net et lisible au clavier (jamais supprimé) */
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 3px;
}

.sur-sombre :focus-visible,
.bandeau :focus-visible {
  outline-color: var(--gold);
}

/* Lien d'évitement : invisible à la souris, premier élément atteint au clavier */
.lien-evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 40;
  background: var(--violet);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  text-decoration: none;
  font-weight: 600;
}

.lien-evitement:focus {
  left: 0;
}

/* ---------------------------------------------------------------- structure */

.enveloppe {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--space-6) 0;
}

section + section {
  border-top: 1px solid var(--line);
}

/* -------------------------------------------------------------- typographie */

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.03;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.16rem;
  line-height: 1.3;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
}

p {
  margin: 0 0 var(--space-2);
}

p:last-child {
  margin-bottom: 0;
}

.italic {
  font-style: italic;
}

.surtitre {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 var(--space-2);
}

.chapeau {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 62ch;
}

.numero {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--space-2);
}

/* ------------------------------------------------------------------ bandeau */

.bandeau {
  background: var(--ink);
  color: #fff;
}

.bandeau h1,
.bandeau h2 {
  color: #fff;
}

.bandeau .chapeau {
  color: #d9d2e0;
}

.entete {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 249, 0.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.entete-interne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 74px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.32rem;
}

.marque img {
  width: 34px;
  height: auto;
}

.marque span {
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.nav .bouton {
  color: #fff;
}

/* ------------------------------------------------------------------ boutons */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--violet);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.bouton:hover {
  background: var(--violet-dark);
  color: #fff;
}

.bouton-fantome {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.bouton-fantome:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.bandeau .bouton-fantome {
  border-color: var(--ink-line);
  color: #fff;
}

.bandeau .bouton-fantome:hover {
  border-color: #fff;
  color: #fff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-3);
}

/* --------------------------------------------------------------------- hero */

.hero {
  padding: var(--space-7) 0 var(--space-6);
  position: relative;
  overflow: hidden;
}

.hero-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: var(--space-5);
  align-items: end;
}

.hero .filet {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin-bottom: var(--space-3);
}

.hero-accroche {
  color: var(--violet);
  font-style: italic;
}

.monnaie {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.9;
  color: var(--ink);
  opacity: 0.1;
  text-align: right;
  user-select: none;
}

.faits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.faits li {
  position: relative;
  padding-left: 16px;
}

.faits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ------------------------------------------------------------------- listes */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-5);
  align-items: start;
}

.colonnes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4) var(--space-5);
}

.element {
  border-top: 1px solid var(--line);
  padding-top: var(--space-2);
}

.element h3, .etape h3, .pied-titre {
  margin-bottom: 6px;
}

.element p {
  color: var(--muted);
  font-size: 0.98rem;
}

.liste-propre {
  list-style: none;
  margin: 0;
  padding: 0;
}

.liste-propre li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 0.99rem;
}

.liste-propre li:first-child {
  border-top: 1px solid var(--line);
}

.liste-propre strong {
  font-weight: 600;
}

.liste-propre span {
  color: var(--muted);
  text-align: right;
}

/* ---------------------------------------------------------------- etapes */

.etapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  counter-reset: etape;
}

.etape {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}

.etape::before {
  counter-increment: etape;
  content: counter(etape, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--violet);
  display: block;
  margin-bottom: 10px;
}

.etape p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 6px 0 0;
}

/* Representation d'interface : volontairement sobre et annoncee comme telle */
.maquette {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  margin-top: var(--space-3);
}

.maquette-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.maquette-ligne:last-child {
  border-bottom: 0;
}

.maquette-heure {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
}

.maquette-choix {
  background: var(--violet-soft);
  border-radius: 999px;
  padding: 3px 12px;
  color: var(--violet);
  font-weight: 600;
  font-size: 0.84rem;
}

.maquette-occupe {
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.7;
}

.note {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 10px;
  font-style: italic;
}

/* ------------------------------------------------------------------ chiffres */

.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--space-4);
}

.chiffre-valeur {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1;
  color: var(--violet);
  display: block;
  margin-bottom: 8px;
}

.bandeau .chiffre-valeur {
  color: var(--violet-bright);
}

.chiffre-legende {
  font-size: 0.94rem;
  color: var(--muted);
}

.bandeau .chiffre-legende {
  color: #d9d2e0;
}

/* -------------------------------------------------------------------- demo */

.demo-cle {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 0.92rem;
}

.bandeau .demo-cle {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--ink-line);
  color: #fff;
}

/* ------------------------------------------------------------------ rappel */

.bandeau-cta {
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------- pied de page */

.pied {
  background: var(--ink);
  color: #cfc7d8;
  padding: var(--space-5) 0 var(--space-4);
  font-size: 0.93rem;
}

.pied a {
  color: #fff;
}

.pied-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4);
}

.pied-titre {
  color: #fff;
  margin-bottom: 10px;
}

.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pied li {
  margin-bottom: 8px;
}

.pied-bas {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px var(--space-3);
  justify-content: space-between;
  color: #a99fb5;
  font-size: 0.88rem;
}

/* ------------------------------------------------------------------ pages texte */

.page-legale {
  padding: var(--space-5) 0 var(--space-6);
}

.page-legale h2 {
  margin-top: var(--space-5);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-legale h3 {
  margin-top: var(--space-4);
  font-size: 1.2rem;
}

.page-legale h4 {
  margin-top: var(--space-3);
}

.page-legale ul {
  padding-left: 1.1rem;
}

.page-legale li {
  margin-bottom: 8px;
}

.contenu-etroit {
  max-width: 74ch;
}

.encadre {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-3);
  margin: var(--space-3) 0;
}

.maj {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------------------------------------------------------------- formules */

.formules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  align-items: start;
}

.formule {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: var(--space-4);
}

.formule-mise-en-avant {
  border-color: var(--violet);
  border-width: 2px;
  box-shadow: 0 20px 45px -30px rgba(128, 32, 128, 0.6);
}

.formule-badge {
  position: absolute;
  top: -13px;
  left: var(--space-4);
  margin: 0;
  background: var(--violet);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.formule h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.formule-prix {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  line-height: 1;
}

.formule-prix strong {
  font-weight: 400;
  color: var(--violet);
}

.formule-prix span {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--muted);
}

.formule-resume {
  margin: 0;
  color: var(--muted);
  min-height: 3em;
}

.formule-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.formule-liste li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
}

.formule-liste li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: rotate(-45deg);
}

.formule-option {
  margin: 0;
  background: var(--violet-soft);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.93rem;
  color: var(--ink);
}

.formule .actions {
  margin-top: auto;
  padding-top: var(--space-2, 12px);
}
/* ------------------------------------------------------- preuves du hero */

.preuves {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px var(--space-3);
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
}

.preuves li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.preuves li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: rotate(-45deg);
}

/* ------------------------------------------------- maquette « téléphone » */

.telephone {
  width: min(320px, 100%);
  margin: 0 auto;
  background: var(--ink);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 40px 80px -50px rgba(26, 20, 32, 0.85);
}

.telephone-ecran {
  background: var(--surface-raised);
  border-radius: 28px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.telephone-entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
}

.telephone-titre {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}

.telephone-note {
  color: var(--gold);
  font-weight: 600;
}

.telephone-ville {
  font-size: 0.74rem;
  color: var(--muted);
}

.telephone-photo {
  height: 96px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet-soft), var(--violet) 120%);
  color: var(--violet-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telephone-section {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.telephone-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.telephone-services li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}

.telephone-services li.actif {
  background: var(--violet-soft);
  outline: 1px solid var(--violet);
}

.telephone-services em {
  font-style: normal;
  font-weight: 600;
  color: var(--violet);
}

.telephone-creneaux {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.telephone-creneaux span {
  text-align: center;
  font-size: 0.76rem;
  padding: 7px 0;
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}

.telephone-creneaux .occupe {
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.telephone-creneaux .choisi {
  background: var(--violet);
  color: #fff;
  font-weight: 600;
}

.telephone-bouton {
  margin-top: 4px;
  text-align: center;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 12px;
  border-radius: 12px;
}

/* ---------------------------------------------------- maquette « agenda » */

.agenda {
  margin-top: var(--space-4);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.agenda-tete,
.agenda-pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.agenda-jour {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}

.agenda-pastille {
  background: var(--violet-soft);
  color: var(--violet-dark);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 0.74rem;
}

.agenda-grille {
  --minute: 0.26rem;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  margin: 14px 0;
  height: calc(480 * var(--minute));
}

.agenda-heures {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
}

.agenda-colonne {
  position: relative;
  border-left: 1px solid var(--line);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(60 * var(--minute) - 1px), var(--line) calc(60 * var(--minute) - 1px), var(--line) calc(60 * var(--minute)));
}

.agenda-rdv,
.agenda-pause {
  position: absolute;
  left: 8px;
  right: 8px;
  top: calc(var(--debut) * var(--minute));
  height: calc(var(--duree) * var(--minute));
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.74rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
  background: var(--violet-soft);
  border-left: 3px solid var(--violet);
  color: var(--ink);
}

.agenda-rdv strong {
  font-weight: 600;
}

.agenda-rdv span {
  color: var(--muted);
  font-size: 0.68rem;
}

.agenda-rdv-2 {
  background: rgba(198, 161, 91, 0.16);
  border-left-color: var(--gold);
}

.agenda-rdv-3 {
  background: rgba(47, 125, 91, 0.14);
  border-left-color: var(--success, #2f7d5b);
}

.agenda-pause {
  background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 6px, transparent 6px, transparent 12px);
  border-left-color: var(--line);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.64rem;
}

/* ------------------------------------------------ réservation interactive */

.reservation {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
  align-items: start;
}

.reservation-etapes {
  display: grid;
  gap: var(--space-3);
}

.reservation-bloc {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: var(--space-3);
}

.reservation-bloc h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.choix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.choix-dates {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.choix-item {
  text-align: left;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.choix-item strong {
  font-weight: 600;
  font-size: 0.96rem;
}

.choix-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.choix-item:hover {
  border-color: var(--violet-bright);
  transform: translateY(-1px);
}

.choix-item[aria-pressed="true"] {
  background: var(--violet-soft);
  border-color: var(--violet);
}

.creneaux {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 8px;
}

.creneau {
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  padding: 10px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.creneau:hover:not(:disabled) {
  border-color: var(--violet);
  transform: translateY(-1px);
}

.creneau[aria-pressed="true"] {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  font-weight: 600;
}

.creneau:disabled {
  cursor: not-allowed;
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.55;
}

.reservation-note,
.reservation-pause {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.reservation-pause {
  margin: 10px 0 0;
}

.reservation-recap {
  position: sticky;
  top: 92px;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: var(--space-3);
}

.reservation-recap h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 14px;
}

.recap-ligne,
.recap-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 9px;
  font-size: 0.9rem;
}

.recap-ligne span {
  color: #a99fb5;
}

.recap-ligne strong {
  text-align: right;
  font-weight: 600;
}

.recap-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-line);
  font-size: 1.02rem;
}

.recap-total strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.bouton-large {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
}

.bouton-large:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.recap-message {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--violet-bright);
  min-height: 1.2em;
}

.reservation-recap .note {
  color: #a99fb5;
  margin-top: 12px;
}

/* -------------------------------------------------------------- accordéon */

.accordeon {
  display: grid;
  gap: 10px;
}

.accordeon details {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 16px;
  transition: border-color 0.18s ease;
}

.accordeon details[open] {
  border-color: var(--violet);
}

.accordeon summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.accordeon summary::-webkit-details-marker {
  display: none;
}

.accordeon summary::after {
  content: "+";
  color: var(--violet);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
}

.accordeon details[open] summary::after {
  content: "–";
}

.accordeon p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* ------------------------------------------------------ tarifs (accueil) */

.tarifs-commission {
  margin-top: var(--space-3);
  background: var(--violet-soft);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--ink);
  max-width: 78ch;
}

/* ------------------------------------------------------- apparition douce */

/* Sans JavaScript, rien n'est masqué : l'état initial n'est appliqué que si le
   script a pu s'exécuter (classe « js » posée sur <html>). */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].revele {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.entete.reduite {
  box-shadow: 0 10px 30px -22px rgba(26, 20, 32, 0.5);
}
/* ------------------------------------------------------------- cinq univers */

.univers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: var(--space-3);
  list-style: none;
  margin: var(--space-4) 0 var(--space-3);
  padding: 0;
}

.univers li {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 4px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.univers li:hover {
  border-color: var(--violet-bright);
  transform: translateY(-2px);
}

.univers-rond {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet-dark);
  font-family: var(--serif);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.univers strong {
  font-weight: 600;
  color: var(--ink);
}

.univers em {
  font-style: normal;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ------------------------------------------------------------- calculateur */

.calculateur {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: var(--space-3);
  display: grid;
  gap: 18px;
}

.calculateur-champ {
  display: grid;
  gap: 8px;
}

.calculateur-champ label {
  font-size: 0.92rem;
  color: var(--muted);
}

.calculateur-champ label strong {
  color: var(--ink);
}

.calculateur-champ input[type="range"] {
  width: 100%;
  accent-color: var(--violet);
  height: 26px;
}

.calculateur-champ select {
  font: inherit;
  padding: 11px 12px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.calculateur-resultats {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 9px;
}

.calculateur-resultats p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  font-size: 0.94rem;
}

.calculateur-resultats span {
  color: var(--muted);
}

.calculateur-resultats strong {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.calculateur-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.calculateur-total strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--violet);
}

.calculateur-part strong {
  color: var(--violet-dark);
}

@media (max-width: 720px) {
  .univers {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
/* ------------------------------------------------------------- adaptatif */

@media (max-width: 980px) {
  .hero-grille,
  .duo {
    grid-template-columns: 1fr;
  }
  .monnaie {
    text-align: left;
    font-size: clamp(3rem, 14vw, 5rem);
  }
  .hero {
    padding-top: var(--space-6);
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    --space-6: 72px;
    --space-7: 84px;
  }
  body {
    font-size: 16px;
  }
  .nav {
    gap: var(--space-2);
  }
  .nav a:not(.bouton) {
    display: none;
  }
  .liste-propre li {
    flex-direction: column;
    gap: 2px;
  }
  .liste-propre span {
    text-align: left;
  }
}

/* Respect du choix « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Impression : les pages légales doivent rester lisibles sur papier */
@media print {
  .entete,
  .actions,
  .pied {
    display: none;
  }
  body {
    background: #fff;
    font-size: 12pt;
  }
  section {
    border: 0;
    padding: 12pt 0;
  }
}
