/* Page de réservation : parcours clair sur téléphone (novembre 2026), avec js/resa-parcours.js */

/* En-tête court : un titre et les étapes ; le bloc « Réservez directement en ligne » répétait le même message */
.fresha-section { display: none; }
.resa-hero { padding: calc(var(--nav) + 1.6rem) 0 1.4rem; }
.resa-hero .eyebrow { display: none; }
.resa-hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0 0 0.35rem; }
.resa-hero p { font-size: 0.92rem; }
/* Phrase sous le titre : ce que l'on peut réserver (pas seulement le spa) */
.resa-hero .resa-accroche { color: var(--text-muted); margin: 0 auto; max-width: 34ch; line-height: 1.45; }
.stepper { margin-top: 1.1rem; }
.resa-body { padding: 1.5rem 0 4rem; }
/* « Retour au site » : un simple lien, la page doit garder le client */
.nav-cta { background: transparent !important; color: var(--text-muted) !important; padding: 0.45rem 0.2rem; font-size: 0.82rem; }
.nav-cta:hover { color: var(--accent) !important; }

/* Prestations : lignes compactes rangées par famille, toute la ligne se touche */
/* Une seule colonne partout : sur iPad, deux colonnes coupaient les noms sur deux lignes */
.rp-liste { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; margin-bottom: 1.25rem; }
.rp-titre { grid-column: 1 / -1; margin: 0.9rem 0 0.1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.rp-titre[data-g="spa"] { margin-top: 0; }
.rp-liste .rp-ligne { grid-column: auto; display: block; padding: 0; border: 1.5px solid var(--border-s); border-radius: 12px; background: var(--bg-card); box-shadow: none; min-height: 0; transition: border-color 0.2s, background 0.2s, transform 0.1s; }
.rp-liste .rp-ligne > :not(.rp-contenu):not(input) { display: none !important; }
.rp-liste .rp-ligne:hover { border-color: var(--accent); background: rgba(166,124,82,0.04); }
.rp-liste .rp-ligne:active { transform: scale(0.99); }
.rp-liste .rp-ligne.selected { border-color: var(--accent); background: rgba(166,124,82,0.08); box-shadow: 0 0 0 1px var(--accent) inset; }
.rp-contenu { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 14px; align-items: center; gap: 0.75rem; padding: 0.8rem 0.85rem; min-height: 68px; }
.rp-icone { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #A67C52; background: radial-gradient(circle at 35% 30%, rgba(196,154,106,0.22), rgba(196,154,106,0.08)); }
.rp-icone svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rp-texte { min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.rp-nom { font-weight: 600; font-size: 0.97rem; color: var(--text); line-height: 1.25; }
.rp-sous { font-size: 0.82rem; color: var(--text-muted); line-height: 1.35; }
.rp-prix { font-family: var(--serif); font-size: 1rem; color: var(--accent); white-space: nowrap; text-align: right; }
.rp-fleche { width: 8px; height: 8px; border-right: 2px solid var(--text-dim, #b8a993); border-top: 2px solid var(--text-dim, #b8a993); transform: rotate(45deg); justify-self: end; }
.rp-ligne.selected .rp-fleche { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--accent); transform: none; box-shadow: inset 0 0 0 4px var(--bg-card); }
/* Prestation choisie : la liste se replie sur elle, la suite s'affiche juste dessous */
.rp-changer { display: none; grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 0.3rem 0; font: 600 0.88rem var(--sans); color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rp-choisi .rp-changer { display: block; }
.rp-choisi .rp-titre, .rp-choisi .rp-ligne:not(.selected) { display: none !important; }
.rp-choisi .rp-ligne.selected { grid-column: 1 / -1; }
.rp-cache { display: none !important; }
.rp-detail { font-size: 0.86rem; color: var(--text); margin: 0.45rem 0 0; line-height: 1.45; }

/* Barre en bas d'écran : le choix, le prix et le bouton pour avancer */
.rp-barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--bg-card); border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(0,0,0,0.08); padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform 0.25s; }
.rp-barre.rp-visible { transform: none; }
.rp-barre-in { max-width: 800px; margin: 0 auto; display: flex; align-items: center; gap: 0.8rem; }
.rp-barre-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* Nom sur deux lignes au plus (petits iPhone : « Head Spa Femme Évasion · 45 min » était coupé) */
.rp-barre-nom { font-weight: 600; font-size: 0.9rem; color: var(--text); line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rp-barre-sous { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-barre-btn { flex-shrink: 0; min-height: 48px; padding: 0 1.3rem; border: 1.5px solid var(--accent); border-radius: 10px; background: transparent; color: var(--accent); font: 700 0.95rem var(--sans); cursor: pointer; }
.rp-barre-btn.rp-pret { background: var(--accent); color: #fff; }
body.rp-avec-barre #panel-1 .step-nav { display: none; }
body.rp-avec-barre { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
/* Sur ordinateur, la barre suffit : le bouton « Suivant » du bas reste en secours */
@media (min-width: 861px) { .rp-barre { left: 50%; right: auto; width: min(800px, 100%); transform: translate(-50%, 110%); border: 1px solid var(--border); border-bottom: 0; border-radius: 14px 14px 0 0; } .rp-barre.rp-visible { transform: translate(-50%, 0); } }

/* Téléphone : moins de marges emboîtées, textes lisibles, pas de zoom automatique de l'iPhone sur les champs */
@media (max-width: 600px) {
  .rp-liste { grid-template-columns: 1fr; }
  .resa-body .wrap { padding: 0 0.6rem; }
  .resa-card { border-radius: 14px; }
  .step-panel { padding: 1.25rem 1rem !important; }
  .step-title { font-size: 1.3rem; }
  .step-sub { margin-bottom: 1.1rem; font-size: 0.88rem; }
  .resa-hero .resa-accroche { font-size: 0.9rem; }
  .rp-contenu { gap: 0.65rem; padding: 0.75rem 0.75rem; }
  .field-label { font-size: 0.74rem; }
  .step-nav .btn { min-height: 48px; }
}
input, select, textarea { font-size: max(16px, 1em); }
#cadeau-code-input, [id^="att-"], .extra-ent { font-size: 16px !important; }
.special-links { border-top: 0; margin-top: 0; }
.special-link { font-size: 0.85rem; padding: 0.45rem 0.9rem; min-height: 38px; }
