/* Polices auto-hébergées (sous-ensemble latin) — pas d'appel à Google, RGPD-safe. */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Anton-400-kMRj_26.woff2") format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Barlow-400-l053MFU.woff2") format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Barlow-500-VMkGyYA.woff2") format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Barlow-600-fSS6XKm.woff2") format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/BarlowCondensed-600-iRpfLYp.woff2") format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/BarlowCondensed-700-fn5da0S.woff2") format('woff2');
}

/* =========================================================================
   Palm Barber — direction artistique « Vice City »
   Coucher de soleil néon, aplats de couleur saturés, typo massive.
   Un seul fichier : tout se lit de haut en bas, dans l'ordre de la page.
   ========================================================================= */

/* -------------------------------------------------------------- 1. Jetons */

:root {
    /* Nuit */
    --noir:      #0A0A0F;
    --nuit:      #12121C;
    --asphalte:  #191924;
    --bord:      rgba(244, 241, 232, .13);

    /* Encre */
    --craie:     #F4F1E8;
    --gris:      #A7A39A;

    /* Néons — le coucher de soleil, dans l'ordre du dégradé */
    --magenta:   #FF2E7E;
    --soleil:    #FF9A3C;
    --or:        #FFCF4A;
    --turquoise: #12D8C4;
    --hud:       #9BE564;   /* vert « mission accomplie » : réservé à la confirmation */

    --ciel: linear-gradient(178deg,
        #180F33 0%, #351A56 18%, #6B2565 40%,
        #B23568 62%, #F0603F 82%, #FF9A3C 100%);

    /* Typo */
    --titre:  'Anton', 'Haettenschweiler', 'Arial Narrow', sans-serif;
    --texte:  'Barlow', system-ui, -apple-system, sans-serif;
    --hud-ft: 'Barlow Condensed', 'Arial Narrow', sans-serif;

    /* Rythme */
    --entete-h: 84px;   /* hauteur mesurée de l'en-tête fixe, appui du fil collant */
    --gouttiere: clamp(20px, 5vw, 48px);
    --section: clamp(72px, 11vw, 132px);
}

/* --------------------------------------------------------- 2. Réinitialisation */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--noir);
    color: var(--craie);
    font-family: var(--texte);
    font-size: clamp(16px, 1.05vw, 17px);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.saut {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--or);
    color: var(--noir);
    padding: 12px 18px;
    font-family: var(--hud-ft);
    font-weight: 700;
    text-transform: uppercase;
    z-index: 100;
}
.saut:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------- 3. Utilitaires */

.wrap {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: var(--gouttiere);
}

.section { padding-block: var(--section); }

/* L'en-tête est fixe : sans cette marge, un lien d'ancre cale le titre de la
   section juste dessous et le masque. */
section[id] { scroll-margin-top: 96px; }

/* L'étiquette HUD : petite, condensée, très espacée. Elle nomme la zone,
   comme les libellés de l'interface du jeu. */
.hud {
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--soleil);
    margin: 0 0 14px;
}

/* Titre de section : Anton, en capitales, précédé d'un repère de couleur —
   le « blip » du radar. */
.titre {
    font-family: var(--titre);
    font-weight: 400;
    font-size: clamp(2.1rem, 5.6vw, 3.5rem);
    line-height: .95;
    letter-spacing: .005em;
    text-transform: uppercase;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.titre::before {
    content: '';
    flex: none;
    width: 8px;
    align-self: stretch;
    background: var(--magenta);
}
.titre--turquoise::before { background: var(--turquoise); }
.titre--noir::before { background: var(--noir); }

.chapo {
    max-width: 54ch;
    color: var(--gris);
    margin: 0 0 40px;
    font-size: 1.05rem;
}
.chapo--sombre { color: rgba(10, 10, 15, .72); }

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border: 2px solid transparent;
    border-radius: 3px;
    background: none;
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .14s ease, background-color .14s ease, color .14s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--plein { background: var(--magenta); color: var(--noir); }
.btn--plein:hover { background: var(--or); }

.btn--ligne { border-color: var(--bord); color: var(--craie); }
.btn--ligne:hover { border-color: var(--craie); background: rgba(244, 241, 232, .07); }

.btn--noir { background: var(--noir); color: var(--craie); }
.btn--noir:hover { background: #23232F; }

.btn--large { width: 100%; }
.btn[disabled] { opacity: .38; cursor: not-allowed; transform: none; }

/* Apparition au défilement — neutralisée si l'utilisateur préfère le calme. */
.monte { opacity: 0; transform: translateY(18px); }
.monte.vu {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .3, 1);
}

/* ------------------------------------------------------------------ 4. En-tête */

.entete {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px var(--gouttiere);
    transition: background-color .3s ease, backdrop-filter .3s ease;
}
.entete--pose {
    background: rgba(10, 10, 15, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bord);
}

.marque {
    display: flex;
    align-items: baseline;
    gap: 9px;
    text-decoration: none;
    line-height: 1;
}
.marque__palm {
    font-family: var(--titre);
    font-size: 1.55rem;
    letter-spacing: .02em;
}
.marque__barber {
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: var(--soleil);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__lien {
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    color: var(--craie);
    padding-block: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color .16s ease, color .16s ease;
}
.nav__lien:hover { border-bottom-color: var(--magenta); }
.nav .btn { padding: 11px 20px; font-size: .94rem; }
.nav__court { display: none; }

@media (max-width: 860px) {
    .nav__lien { display: none; }
    .nav { gap: 14px; }
}

/* Sur un écran étroit, « Prendre rendez-vous » passe à la ligne dans le
   bouton : on garde le verbe seul. */
@media (max-width: 560px) {
    .nav__long { display: none; }
    .nav__court { display: inline; }
}

/* -------------------------------------------------------------------- 5. Héros */

.heros {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.heros__ciel {
    position: absolute;
    inset: 0;
    background: var(--ciel);
    z-index: -3;
}

/* Le soleil : un disque plein qui se lève derrière le nom. */
.heros__soleil {
    position: absolute;
    left: 64%;
    bottom: 30%;
    width: min(70vw, 580px);
    aspect-ratio: 1;
    transform: translate(-50%, 40%);
    border-radius: 50%;
    background: linear-gradient(180deg, #FFE9A3 0%, var(--or) 34%, var(--soleil) 66%, #F0603F 100%);
    z-index: -2;
    animation: lever 1.6s cubic-bezier(.2, .8, .3, 1) .1s both;
}
@keyframes lever {
    from { transform: translate(-50%, 62%); opacity: 0; }
    to   { transform: translate(-50%, 40%); opacity: 1; }
}

/* Le voile : il assombrit le côté où se pose le texte, sinon le titre et le
   numéro passent sur le jaune du soleil et deviennent illisibles. */
.heros__voile {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(100deg,
        rgba(10, 10, 15, .6) 0%,
        rgba(10, 10, 15, .3) 34%,
        transparent 60%);
}

/* La bande de palmiers, en aplat noir, ancrée au bas de l'écran. */
.heros__palmiers {
    position: absolute;
    inset: auto 0 0;
    /* Le dessin fait 1464 × 322 — cadre calé sur l'étendue réelle des palmes,
       qui débordaient du viewBox d'origine. « slice » recadre par le haut :
       toute bande plus plate que ce rapport décapite les palmiers, la hauteur
       suit donc la largeur (22.2vw ≈ 322/1464). Le plancher sert aux petits
       écrans, où le recadrage se fait sur les côtés, sans risque. */
    height: max(190px, 22.2vw);
    color: var(--noir);
    z-index: -1;
    pointer-events: none;
}
.heros__palmiers .palmiers { width: 100%; height: 100%; }
.heros__palmiers::after {
    content: '';
    position: absolute;
    inset: auto 0 -2px;
    height: 46%;
    background: linear-gradient(180deg, transparent, var(--noir) 62%);
}

.heros__contenu {
    position: relative;
    padding-bottom: clamp(160px, 26vh, 280px);
    padding-top: 120px;
}

.heros__hud {
    color: var(--craie);
    text-shadow: 0 1px 12px rgba(10, 10, 15, .5);
    animation: entree .7s ease .2s both;
}

/* Le nom, en deux lignes énormes avec une ombre portée dure — la seule
   fantaisie typographique de la page, réservée à cet endroit. */
.heros__nom {
    font-family: var(--titre);
    font-weight: 400;
    font-size: clamp(4.2rem, 17vw, 12rem);
    line-height: .8;
    letter-spacing: -.01em;
    text-transform: uppercase;
    margin: 0 0 22px;
    color: var(--craie);
}
.heros__nom span { display: block; }
.heros__nom span:nth-child(1) {
    text-shadow: 6px 6px 0 var(--magenta);
    animation: entree .8s cubic-bezier(.2, .8, .3, 1) .32s both;
}
.heros__nom span:nth-child(2) {
    padding-left: .09em;
    text-shadow: 6px 6px 0 var(--turquoise);
    animation: entree .8s cubic-bezier(.2, .8, .3, 1) .44s both;
}
@keyframes entree {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}

/* Serrées à .8, les deux lignes du nom se touchent une fois la police
   réduite : on desserre sur les petits écrans. */
@media (max-width: 640px) {
    .heros__nom { line-height: .88; }
    .heros__contenu { padding-bottom: clamp(130px, 20vh, 200px); }
}

.heros__ligne {
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0 0 34px;
    color: var(--craie);
    text-shadow: 0 1px 14px rgba(10, 10, 15, .55);
    animation: entree .8s ease .56s both;
}
.heros__ligne b { color: var(--noir); font-weight: 600; }

.heros__actions .btn--ligne {
    background: rgba(10, 10, 15, .55);
    border-color: rgba(244, 241, 232, .38);
    backdrop-filter: blur(4px);
}
.heros__actions .btn--ligne:hover { background: var(--noir); }

.heros__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: entree .8s ease .68s both;
}

/* Le bandeau défilant : les tarifs qui passent, comme un ticker de radio. */
.ticker {
    position: relative;
    z-index: 2;
    background: var(--magenta);
    color: var(--noir);
    border-block: 2px solid var(--noir);
    overflow: hidden;
    padding-block: 9px;
}
.ticker__piste {
    display: flex;
    width: max-content;
    animation: defile 34s linear infinite;
}
.ticker__groupe {
    display: flex;
    gap: 42px;
    padding-right: 42px;
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    white-space: nowrap;
}
@keyframes defile {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker:hover .ticker__piste { animation-play-state: paused; }

/* -------------------------------------------------------------- 6. Prestations */

.filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}
.filtre {
    padding: 9px 18px;
    border: 1px solid var(--bord);
    border-radius: 999px;
    background: none;
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--gris);
    cursor: pointer;
    transition: color .14s ease, border-color .14s ease, background-color .14s ease;
}
.filtre:hover { color: var(--craie); border-color: var(--craie); }
.filtre[aria-pressed="true"] {
    background: var(--craie);
    border-color: var(--craie);
    color: var(--noir);
}

.carte-tarifs {
    display: grid;
    gap: 2px;
    background: var(--bord);
    border: 1px solid var(--bord);
}

.presta {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: clamp(14px, 3vw, 32px);
    padding: 22px clamp(16px, 3vw, 28px);
    background: var(--nuit);
    transition: background-color .16s ease;
}
.presta:hover { background: var(--asphalte); }
.presta[hidden] { display: none; }

.presta__nom {
    font-family: var(--titre);
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1.1;
    margin: 0 0 4px;
}
.presta__detail { margin: 0; color: var(--gris); font-size: .95rem; }
.presta__duree {
    display: inline-block;
    margin-top: 7px;
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--turquoise);
}
.presta__prix {
    font-family: var(--titre);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    line-height: 1;
    color: var(--or);
    white-space: nowrap;
}
.presta__prix sup { font-size: .48em; vertical-align: super; margin-left: 2px; }
.presta .btn { padding: 12px 20px; font-size: .92rem; }

@media (max-width: 660px) {
    .presta {
        grid-template-columns: 1fr auto;
        row-gap: 16px;
    }
    .presta__texte { grid-column: 1 / -1; }
    .presta .btn { justify-self: end; }
}

/* ------------------------------------------------------------------ 7. Équipe */

.equipe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2px;
}
.membre {
    padding: 30px 26px 34px;
    color: var(--noir);
    display: flex;
    flex-direction: column;
    min-height: 260px;
}
.membre--magenta   { background: var(--magenta); }
.membre--turquoise { background: var(--turquoise); }
.membre--soleil    { background: var(--soleil); }

.membre__initiales {
    font-family: var(--titre);
    font-size: 3.4rem;
    line-height: .9;
    margin: 0 0 auto;
    opacity: .38;
}
.membre__nom {
    font-family: var(--titre);
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 1;
    margin: 22px 0 6px;
}
.membre__role {
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin: 0 0 12px;
    opacity: .7;
}
.membre__bio { margin: 0; font-size: .98rem; color: rgba(10, 10, 15, .78); }

/* ------------------------------------------------------------------ 8. Salons */

/* La grande dalle orange : le plein jour au milieu de la nuit. */
.dalle {
    background: var(--soleil);
    color: var(--noir);
    position: relative;
    overflow: hidden;
}
.dalle .hud { color: rgba(10, 10, 15, .62); }
.dalle .titre { color: var(--noir); }

.salons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 44px;
}
/* Une seule adresse : la carte et les horaires se partagent la bande. */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: start;
}
.contact .salons { margin-bottom: 0; }
@media (max-width: 780px) {
    .contact { grid-template-columns: 1fr; }
    .contact .salons { margin-bottom: 4px; }
}

.salon {
    background: var(--noir);
    color: var(--craie);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.salon__blip {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 0 0 5px rgba(244, 241, 232, .12);
}
.salon__blip--magenta   { background: var(--magenta); }
.salon__blip--turquoise { background: var(--turquoise); }

.salon__nom {
    font-family: var(--titre);
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 1.05;
    margin: 0;
}
.salon__adresse { margin: 4px 0 0; font-size: 1.02rem; }
.salon__quartier {
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--gris);
    margin: 2px 0 16px;
}
.salon__lien {
    margin-top: auto;
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--or);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    align-self: flex-start;
    transition: border-color .16s ease;
}
.salon__lien:hover { border-bottom-color: var(--or); }

.horaires {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: rgba(10, 10, 15, .22);
    border: 1px solid rgba(10, 10, 15, .22);
}
.jour {
    background: var(--soleil);
    padding: 14px 16px;
    text-align: center;
}
.jour--ferme { background: rgba(10, 10, 15, .1); }
.jour__nom {
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin: 0 0 4px;
}
.jour__plage { margin: 0; font-variant-numeric: tabular-nums; font-size: .98rem; }
.jour--ferme .jour__plage { opacity: .55; }

/* Variante en colonne, quand les horaires sont posés à côté de la carte. */
.horaires--colonne { grid-template-columns: 1fr; }
.horaires--colonne .jour {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    padding: 12px 18px;
}
.horaires--colonne .jour__nom { margin-bottom: 0; }

.note {
    margin: 18px 0 0;
    font-size: .92rem;
    color: rgba(10, 10, 15, .6);
}

/* ------------------------------------------------------------- 9. Appel final */

.appel {
    text-align: center;
    border-top: 1px solid var(--bord);
}
.appel .titre { justify-content: center; }
.appel .titre::before { display: none; }
.appel .chapo { margin-inline: auto; text-align: center; }
.appel__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ------------------------------------------------------------------- 10. Pied */

.pied {
    background: var(--nuit);
    border-top: 1px solid var(--bord);
    padding-block: 52px 34px;
}
.pied__grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 36px;
}
.pied__titre {
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: .84rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--soleil);
    margin: 0 0 12px;
}
.pied__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pied__liste a { text-decoration: none; color: var(--gris); transition: color .14s ease; }
.pied__liste a:hover { color: var(--craie); }
.pied__liste li { color: var(--gris); }
.pied__bas {
    border-top: 1px solid var(--bord);
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: .88rem;
    color: var(--gris);
}
.pied__bas a { text-decoration: none; }
.pied__bas a:hover { text-decoration: underline; }

/* =========================================================================
   11. Réservation
   ========================================================================= */

.rdv { padding-top: 130px; padding-bottom: var(--section); }

.rdv__entete { margin-bottom: 30px; }
.rdv__entete .chapo { margin-bottom: 16px; }

/* Le fil des étapes : ici la numérotation dit quelque chose de vrai,
   c'est une séquence qu'on parcourt dans l'ordre. */
.etapes {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 34px;
    border: 1px solid var(--bord);
}
.etape {
    flex: 1 1 120px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    background: var(--nuit);
    border: none;
    text-align: left;
    cursor: default;
    color: var(--gris);
    transition: background-color .18s ease, color .18s ease;
}
.etape__num {
    font-family: var(--titre);
    font-size: 1.15rem;
    line-height: 1;
    opacity: .55;
}
.etape__nom {
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.etape[data-etat="faite"] { color: var(--craie); cursor: pointer; }
.etape[data-etat="faite"]:hover { background: var(--asphalte); }
.etape[data-etat="faite"] .etape__num { color: var(--hud); opacity: 1; }
.etape[data-etat="courante"] {
    background: var(--craie);
    color: var(--noir);
}
.etape[data-etat="courante"] .etape__num { opacity: 1; }

.panneau { display: none; }
.panneau[data-actif] { display: block; animation: entree .35s ease both; }

.panneau__titre {
    font-family: var(--titre);
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 6px;
}
.panneau__sous {
    color: var(--gris);
    margin: 0 0 24px;
    font-size: .98rem;
}

.retour {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    padding: 0;
    border: none;
    background: none;
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gris);
    cursor: pointer;
}
.retour:hover { color: var(--craie); }

/* Sur mobile, l'en-tête du tunnel mangeait la moitié de l'écran : titre,
   accroche et fil des étapes repoussaient le contenu sous la ligne de
   flottaison à chaque étape. On resserre, et le fil devient collant pour
   qu'on sache toujours où l'on en est sans remonter. */
@media (max-width: 620px) {
    .rdv { padding-top: 96px; }
    .rdv__entete { margin-bottom: 16px; }
    /* Moins d'interlettrage : l'étiquette tient sur une ligne jusqu'à 360 px. */
    .rdv__entete .hud { letter-spacing: .14em; }
    /* Idem pour le titre, qui se coupait en deux à 360 px. */
    .rdv__entete .titre { font-size: clamp(1.7rem, 7.9vw, 2.6rem); gap: 12px; }
    .rdv__entete .titre::before { width: 6px; }
    .rdv__entete .chapo { display: none; }

    .etapes {
        position: sticky;
        top: var(--entete-h);
        z-index: 20;
        background: var(--noir);
        margin-bottom: 22px;
    }
    /* Base « auto » : l'étape courante réserve la place de son libellé, les
       trois autres se contentent de leur numéro. */
    .etape {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        gap: 8px;
        padding: 11px 6px;
        white-space: nowrap;
    }
    /* Seule l'étape courante garde son libellé : les autres se réduisent à
       leur numéro, et les quatre tiennent sur une ligne. */
    .etape__nom { display: none; }
    .etape[data-etat="courante"] .etape__nom { display: inline; }

    .panneau__sous { margin-bottom: 18px; }
    .rdv .demo {
        margin-bottom: 20px;
        font-size: .78rem;
        letter-spacing: .08em;
        padding: 8px 14px;
    }

    /* Récapitulatif resserré : six lignes tenaient tout l'écran. */
    .recap { padding: 16px 18px; }
    .recap__ligne { padding: 5px 0; }

    .rdv .filtres {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-bottom: 20px;
        padding-bottom: 2px;
    }
    .rdv .filtres::-webkit-scrollbar { display: none; }
    .rdv .filtre { flex: none; }
}

/* --- Étape 1 : le salon, puis la prestation --- */

.choix-salon {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
}

/* --- Étape 1 : la prestation, en grille de cartes cliquables --- */

.choix-presta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2px;
    background: var(--noir);
    border: 1px solid var(--bord);
}
.tuile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 22px;
    background: var(--nuit);
    border: none;
    border-left: 4px solid transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease;
}
.tuile:hover { background: var(--asphalte); border-left-color: var(--magenta); }
.tuile[hidden] { display: none; }
.tuile__nom {
    font-family: var(--titre);
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1.1;
}
.tuile__detail { color: var(--gris); font-size: .93rem; }
.tuile__pied {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 12px;
}
.tuile__prix { font-family: var(--titre); font-size: 1.7rem; line-height: 1; color: var(--or); }
.tuile__duree {
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--turquoise);
}

/* --- Étape 2 : la roue de sélection --- */

.roue-zone {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
}
@media (max-width: 780px) {
    .roue-zone { grid-template-columns: 1fr; }
}

.roue {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    margin-inline: auto;
}
.roue__svg { width: 100%; height: 100%; overflow: visible; }

.roue__seg {
    fill: var(--asphalte);
    fill: color-mix(in srgb, var(--teinte) 22%, var(--asphalte));
    stroke: var(--noir);
    stroke-width: 1.5;
    cursor: pointer;
    transform-origin: 50% 50%;
    transition: fill .18s ease, transform .18s cubic-bezier(.2, .8, .3, 1);
}
.roue__seg:hover { fill: color-mix(in srgb, var(--teinte) 42%, var(--asphalte)); }
.roue__seg[aria-checked="true"] { fill: var(--teinte); transform: scale(1.045); }
/* Au clic, Chrome dessine son propre anneau autour du tracé SVG : on le
   remplace par un liseré doré, visible uniquement au clavier. */
.roue__seg:focus { outline: none; }
.roue__seg:focus-visible { stroke: var(--or); stroke-width: 3; }

/* Les libellés flottent au-dessus de leur secteur. */
.roue__etiquette {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 8.5em;
    text-align: center;
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    pointer-events: none;
    color: var(--craie);
    transition: color .18s ease;
}
.roue__etiquette[data-choisi] { color: var(--noir); }

.roue__coeur {
    position: absolute;
    inset: 26% 26%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    padding: 6px;
}
.roue__coeur-nom {
    font-family: var(--titre);
    font-size: clamp(1.1rem, 3.2vw, 1.5rem);
    text-transform: uppercase;
    line-height: 1;
}
.roue__coeur-role {
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gris);
    margin-top: 5px;
}

.roue__fiche { min-width: 0; }
.roue__fiche-bio { color: var(--gris); margin: 0 0 22px; font-size: 1.02rem; }

/* --- Étape 3 : les créneaux --- */

.dates {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 26px;
    scrollbar-width: thin;
}
.date {
    flex: 1 0 108px;
    padding: 14px 10px;
    background: var(--nuit);
    border: none;
    border-top: 3px solid transparent;
    text-align: center;
    cursor: pointer;
    color: var(--craie);
    transition: background-color .16s ease, border-color .16s ease;
}
.date:hover:not([disabled]) { background: var(--asphalte); }
.date__jour {
    display: block;
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--gris);
}
.date__num {
    display: block;
    font-family: var(--titre);
    font-size: 1.6rem;
    line-height: 1.2;
}
.date__mois {
    display: block;
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--gris);
}
.date[aria-pressed="true"] {
    background: var(--craie);
    color: var(--noir);
    border-top-color: var(--magenta);
}
.date[aria-pressed="true"] .date__jour,
.date[aria-pressed="true"] .date__mois { color: rgba(10, 10, 15, .62); }
.date[disabled] { opacity: .34; cursor: not-allowed; }

.nav-dates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.nav-dates__libelle {
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--soleil);
}
.nav-dates__boutons { display: flex; gap: 6px; }
.fleche {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--bord);
    border-radius: 3px;
    background: none;
    cursor: pointer;
    color: var(--craie);
    transition: border-color .16s ease, background-color .16s ease;
}
.fleche:hover:not([disabled]) { border-color: var(--craie); background: var(--asphalte); }
.fleche[disabled] { opacity: .3; cursor: not-allowed; }

/* Sur mobile, des tuiles plus étroites laissent dépasser la suivante :
   c'est ce qui signale que la bande se fait glisser. */
@media (max-width: 700px) {
    .date { flex: 1 0 92px; }
}

.creneaux {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
}
.creneau {
    padding: 13px 8px;
    border: 1px solid var(--bord);
    border-radius: 3px;
    background: var(--nuit);
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}
.creneau:hover { background: var(--craie); color: var(--noir); border-color: var(--craie); }

.vide {
    padding: 30px 22px;
    border: 1px dashed var(--bord);
    color: var(--gris);
    text-align: center;
}

/* --- Étape 4 : les coordonnées --- */

.form { max-width: 480px; }
.champ { margin-bottom: 18px; }
.champ__label {
    display: block;
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--soleil);
    margin-bottom: 7px;
}
.champ__saisie {
    width: 100%;
    padding: 14px 16px;
    background: var(--nuit);
    border: 1px solid var(--bord);
    border-radius: 3px;
    color: var(--craie);
    font-family: var(--texte);
    font-size: 1.02rem;
}
.champ__saisie::placeholder { color: #5E5B57; }
.champ__saisie:focus { border-color: var(--or); outline: none; }
.champ__erreur {
    display: none;
    margin: 7px 0 0;
    font-size: .9rem;
    color: var(--magenta);
}
.champ[data-invalide] .champ__saisie { border-color: var(--magenta); }
.champ[data-invalide] .champ__erreur { display: block; }

.recap {
    max-width: 560px;
    background: var(--nuit);
    border: 1px solid var(--bord);
    border-left: 4px solid var(--or);
    padding: 20px 22px;
    margin-bottom: 26px;
}
.recap__ligne {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 7px 0;
    border-bottom: 1px solid var(--bord);
}
.recap__ligne:last-child { border-bottom: none; }
.recap__cle {
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: var(--gris);
    flex: none;
}
.recap__val { text-align: right; font-weight: 500; }
.recap__val--prix { font-family: var(--titre); font-size: 1.3rem; color: var(--or); line-height: 1; }

/* --- Confirmation : le panneau « mission accomplie » --- */

.confirme { text-align: center; padding-block: 30px; }
.confirme__badge {
    font-family: var(--titre);
    font-size: clamp(2.2rem, 7vw, 4.2rem);
    line-height: 1.04;
    text-transform: uppercase;
    color: var(--hud);
    margin: 0 0 4px;
    animation: frappe .5s cubic-bezier(.2, .9, .3, 1) both;
}
@keyframes frappe {
    from { opacity: 0; transform: scale(1.35); letter-spacing: .3em; }
    to   { opacity: 1; transform: none; letter-spacing: normal; }
}
.confirme__respect {
    font-family: var(--hud-ft);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--or);
    margin: 0 0 26px;
    animation: entree .5s ease .32s both;
}
.confirme .recap { text-align: left; max-width: 480px; margin-inline: auto; }
.confirme__mail { color: var(--gris); margin: 0 0 26px; }
.confirme__mail b { color: var(--craie); font-weight: 600; }

.demo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid var(--bord);
    border-radius: 999px;
    font-family: var(--hud-ft);
    font-weight: 600;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gris);
}
.demo::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--soleil);
}

/* ---------------------------------------------------- 12. Confort de lecture */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .monte { opacity: 1; transform: none; }
    .ticker__piste { animation: none; }
}

/* Pages de texte simple (mentions légales) */
.texte { padding-top: 128px; }
.texte h2 {
    font-family: var(--titre);
    text-transform: uppercase;
    font-size: 1.5rem;
    margin: 34px 0 10px;
}
.texte p, .texte li { color: var(--gris); max-width: 68ch; }
