/* Page de réservation et pages simples */
.booking-page { padding-bottom: 0; }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "←"; }

.booking { max-width: 820px; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; }
.booking__head { margin-bottom: 2.5rem; }
.booking__intro { color: var(--muted); }
.muted { color: var(--muted); margin: 0; }
.muted a, .legal-note a, .booking__phone a { color: var(--text); border-bottom: 1px solid var(--gold); }

.step { padding: 2rem 0; border-top: 1px solid var(--line); transition: opacity .3s var(--ease); }
.step.is-disabled { opacity: .4; pointer-events: none; }
.step__title { display: flex; align-items: center; gap: .9rem; font-family: var(--font-title); font-size: 1.7rem; margin-bottom: 1.3rem; }
.step__title span {
  width: 30px; height: 30px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--gold);
  font-family: var(--font-body); font-size: .85rem; font-weight: 700;
}

/* Champs radio stylés */
.choice input, .chip input, .day input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.choice, .chip, .day, .slot { position: relative; cursor: pointer; }
.choice__body, .chip span, .day span, .slot span {
  display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.choice:hover .choice__body, .chip:hover span, .day:hover span, .slot:hover span { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
input:checked + .choice__body, input:checked + span { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); }
input:focus-visible + .choice__body, input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.choices { display: grid; gap: .6rem; }
.choice__body { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: 1rem 1.2rem; }
.choice__name { font-weight: 600; }
.choice__meta { color: var(--muted); font-size: .9rem; grid-row: 2; }
.choice__price { grid-row: span 2; align-self: center; font-family: var(--font-title); font-size: 1.4rem; color: var(--gold-soft); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip span { padding: .7rem 1.2rem; min-height: 44px; display: flex; align-items: center; gap: .6rem; }
.chip__photo, .chip__initials { width: 34px; height: 34px; margin: -.3rem 0 -.3rem -.6rem; border-radius: 50%; object-fit: cover; flex: none; }
.chip__initials { display: grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 700; background: var(--surface); color: var(--gold-soft); }

.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; }
.day span { text-align: center; padding: .6rem .3rem; line-height: 1.25; }
.day small { display: block; font-size: .78rem; color: var(--muted); text-transform: capitalize; }
.day strong { display: block; font-size: 1.35rem; font-family: var(--font-title); }
.day--more { display: none; }
.days.show-all .day--more { display: block; }
.days__more { grid-column: 1 / -1; background: none; border: 1px dashed var(--line); color: var(--muted); padding: .8rem; border-radius: var(--radius); cursor: pointer; font: inherit; }
.days__more:hover { color: var(--text); border-color: var(--gold); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.slot span { text-align: center; padding: .75rem .3rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.fields { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field .opt { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 65%, var(--bg)); }
.hp { position: absolute; left: -9999px; }
.terms { display: flex; gap: .7rem; align-items: flex-start; margin: 1.4rem 0 0; font-size: .9rem; color: var(--text); cursor: pointer; }
.terms input { flex: none; width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--gold); cursor: pointer; }
.terms a { color: var(--text); border-bottom: 1px solid var(--gold); }
.legal-note { font-size: .85rem; color: var(--muted); margin: 1.2rem 0 0; }

.summary {
  position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom)); margin-top: 1rem;
  background: color-mix(in srgb, var(--bg) 96%, transparent); border-top: 1px solid var(--line);
}
.summary__text { margin: 0; font-size: .95rem; color: var(--muted); }
.summary__text strong { color: var(--text); }
.summary .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.form-error { color: #f0a58f; margin: 1rem 0 0; }

.done { text-align: center; padding: 2rem 0 3rem; outline: none; }
.done__icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 1.6rem; }
.done__details { font-size: 1.1rem; line-height: 1.8; }
.done__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.booking__phone { text-align: center; color: var(--muted); margin-top: 2.5rem; }

@media (min-width: 600px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .summary { flex-direction: column; align-items: stretch; }
  .summary .btn { width: 100%; }
}
/* bandeau cookies au-dessus de la barre de confirmation */
.cookie-bar { bottom: calc(6rem + env(safe-area-inset-bottom)) !important; }
