/* Parcours de réservation La Piscine — charte : #9F7F47, #BDA36C, #C89E63, #FDFDFC */
.pr-booking {
	--pr-gold: #9f7f47;
	--pr-gold-2: #bda36c;
	--pr-gold-3: #c89e63;
	--pr-cream: #fdfdfc;
	--pr-sand: #f6f1e8;
	--pr-ink: #3b3326;
	--pr-muted: #7a6f5e;
	--pr-line: #e6dccb;
	--pr-danger: #a2412f;
	--pr-radius: 14px;
	color: var(--pr-ink);
	max-width: 1120px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.45;
}
.pr-booking *, .pr-booking *::before, .pr-booking *::after { box-sizing: border-box; }
.pr-booking__title { color: var(--pr-gold); margin: 0 0 1rem; }
.pr-booking button { font: inherit; color: inherit; cursor: pointer; }
.pr-booking button:disabled { cursor: not-allowed; }
.pr-booking button:focus-visible { outline: 3px solid var(--pr-gold-3); outline-offset: 2px; }

.pr-alert { background: #fbeeea; border: 1px solid #e9c2b8; color: var(--pr-danger); padding: .75rem 1rem; border-radius: 10px; margin: 0 0 1rem; }

.pr-step { background: #fff; border: 1px solid var(--pr-line); border-radius: var(--pr-radius); padding: 1.25rem; margin-bottom: 1rem; }
.pr-step__title { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; margin: 0 0 1rem; color: var(--pr-ink); }
.pr-step__num { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--pr-gold); color: #fff; font-size: .9rem; }

/* Onglets */
.pr-tabs { display: inline-flex; background: var(--pr-sand); border-radius: 999px; padding: 4px; margin-bottom: 1rem; flex-wrap: wrap; }
.pr-tab { border: 0; background: transparent; padding: .5rem 1.1rem; border-radius: 999px; }
.pr-tab[aria-selected="true"] { background: #fff; color: var(--pr-gold); font-weight: 600; box-shadow: 0 1px 3px rgba(59, 51, 38, .12); }

/* Formules */
.pr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: .75rem; }
.pr-card { display: flex; flex-direction: column; gap: .25rem; text-align: left; background: var(--pr-cream); border: 1.5px solid var(--pr-line); border-radius: 12px; padding: 1rem; }
.pr-card__name { font-weight: 600; margin: 0; }
.pr-card__meta { color: var(--pr-muted); font-size: .9rem; margin: 0; }
.pr-card__price { margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--pr-gold); font-size: 1.15rem; }
.pr-card--offer:hover { border-color: var(--pr-gold-2); }
.pr-card--offer[aria-pressed="true"], .pr-card--room.is-active { border-color: var(--pr-gold); background: #fff; box-shadow: 0 0 0 1px var(--pr-gold) inset; }
.pr-choices { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.pr-choice { flex: 1 1 0; min-width: 110px; display: flex; flex-direction: column; align-items: center; border: 1.5px solid var(--pr-gold-2); background: #fff; border-radius: 999px; padding: .45rem .75rem; }
.pr-choice__label { font-size: .85rem; color: var(--pr-muted); }
.pr-choice__price { font-weight: 700; color: var(--pr-gold); }
.pr-choice[aria-pressed="true"] { background: var(--pr-gold); border-color: var(--pr-gold); }
.pr-choice[aria-pressed="true"] span { color: #fff; }

/* Calendrier */
.pr-cal.is-loading .pr-cal__grid { opacity: .5; }
.pr-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.pr-cal__month { margin: 0; font-weight: 600; text-transform: capitalize; }
.pr-cal__nav { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1.5px solid var(--pr-line); background: #fff; font-size: 1.3rem; line-height: 1; }
.pr-cal__nav:disabled { opacity: .35; }
.pr-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.pr-cal__dow { text-align: center; font-size: .8rem; color: var(--pr-muted); padding-bottom: .25rem; }
.pr-day { aspect-ratio: 1 / 1; min-height: 44px; border-radius: 10px; border: 1.5px solid transparent; background: var(--pr-sand); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2px; }
.pr-day span { font-weight: 600; }
.pr-day small { font-size: .65rem; color: var(--pr-muted); line-height: 1.1; }
.pr-day.is-free, .pr-day.is-partial { background: #fff; border-color: var(--pr-gold-2); }
.pr-day.is-free:hover, .pr-day.is-partial:hover { background: var(--pr-sand); }
.pr-day.is-partial { border-style: dashed; }
.pr-day.is-full { background: #efe9df; color: #b3a893; text-decoration: line-through; }
.pr-day.is-full small { text-decoration: none; }
.pr-day.is-closed, .pr-day.is-past, .pr-day.is-loading { background: transparent; color: #c9bfae; }
.pr-day.is-selected { background: var(--pr-gold); border-color: var(--pr-gold); color: #fff; }
.pr-day.is-selected small { color: #fff; }
.pr-cal__prices { font-size: .8rem; color: var(--pr-muted); margin: .4rem 0 0; }
.pr-cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: .8rem; color: var(--pr-muted); margin: .9rem 0 0; }
.pr-dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.pr-dot.is-free { background: #fff; border: 1.5px solid var(--pr-gold-2); }
.pr-dot.is-full { background: #efe9df; }
.pr-dot.is-closed { background: transparent; border: 1px dashed #c9bfae; }

/* Créneaux */
.pr-slots { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pr-slot { display: flex; flex-direction: column; gap: .15rem; align-items: center; padding: .9rem; border-radius: 12px; border: 1.5px solid var(--pr-gold-2); background: #fff; }
.pr-slot span { color: var(--pr-muted); font-size: .9rem; }
.pr-slot[aria-pressed="true"] { background: var(--pr-gold); border-color: var(--pr-gold); color: #fff; }
.pr-slot[aria-pressed="true"] span { color: #fff; }
.pr-slot:disabled { opacity: .45; border-style: dashed; }

/* Récapitulatif */
.pr-summary { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: center; background: var(--pr-cream); border: 1.5px solid var(--pr-gold-2); border-radius: var(--pr-radius); padding: 1rem 1.25rem; box-shadow: 0 -6px 18px rgba(59, 51, 38, .08); }
.pr-summary p { margin: 0; }
.pr-summary__offer { font-weight: 600; }
.pr-summary__when, .pr-summary__hint { color: var(--pr-muted); font-size: .95rem; }
.pr-summary__note { grid-column: 1 / -1; font-size: .8rem; color: var(--pr-muted); }
.pr-submit { border: 2px solid var(--pr-gold); background: var(--pr-gold); color: #fff !important; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.pr-submit:hover:not(:disabled) { background: #8a6d3b; border-color: #8a6d3b; }
.pr-submit:disabled { background: transparent; color: var(--pr-gold) !important; opacity: .6; }
.pr-hp, .pl-form .pr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
	.pr-step { padding: 1rem; }
	.pr-cal__grid { gap: 4px; }
	.pr-day small { display: none; }
	.pr-summary { grid-template-columns: 1fr; border-radius: var(--pr-radius) var(--pr-radius) 0 0; }
	.pr-submit { width: 100%; }
}

/* Page de paiement et confirmation */
.pr-checkout-note { font-size: .9rem; color: #7a6f5e; margin: 0 0 1rem; }
.pr-thankyou { border: 1.5px solid #bda36c; border-radius: 14px; padding: 1.25rem; margin: 0 0 2rem; background: #fdfdfc; }
.pr-thankyou h2 { margin-top: 0; color: #9f7f47; }
.pr-thankyou__status { font-weight: 600; color: #9f7f47; }
.pr-thankyou__status.pr-is-hold { color: #a2412f; }

/* Espace client : Mes réservations et page de confirmation */
.pr-account h3 { color: #9f7f47; margin: 1.5rem 0 .75rem; }
.pr-res { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: start; border: 1.5px solid #e6dccb; border-radius: 14px; padding: 1rem 1.25rem; margin: 0 0 .75rem; background: #fff; }
.pr-res.is-inactive { background: #faf8f4; color: #7a6f5e; }
.pr-res p { margin: 0; }
.pr-res__title { font-weight: 600; }
.pr-res__when { margin-top: .2rem !important; }
.pr-res__ref { font-size: .85rem; color: #7a6f5e; margin-top: .2rem !important; }
.pr-res__badge { display: inline-block; font-size: .75rem; font-weight: 500; padding: .1rem .55rem; border-radius: 999px; margin-left: .4rem; background: #efe9df; color: #7a6f5e; vertical-align: 1px; }
.pr-res__badge.is-confirmed { background: #e8f1e4; color: #2f6b2a; }
.pr-res__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.pr-res__cancel { grid-column: 1 / -1; border-top: 1px solid #efe9df; padding-top: .6rem; font-size: .9rem; }
.pr-res__cancel summary { cursor: pointer; color: #a2412f; }
.pr-res__cancel form { margin-top: .6rem; }
.pr-res__cancel form p { margin-bottom: .6rem; }
.pr-res__note { color: #7a6f5e; }
.pr-btn { display: inline-block; border: 1.5px solid #9f7f47; color: #9f7f47 !important; background: #fff; border-radius: 999px; padding: .4rem 1rem; font-size: .9rem; text-decoration: none !important; cursor: pointer; font: inherit; }
.pr-btn:hover { background: #f6f1e8; }
.pr-btn--danger { border-color: #a2412f; color: #a2412f !important; }
.pr-flash { background: #e8f1e4; border: 1px solid #c4dcbd; color: #2f6b2a; padding: .75rem 1rem; border-radius: 10px; margin: 0 0 1rem; }
.pr-thankyou__address { font-size: .9rem; color: #7a6f5e; margin-top: .75rem; }
@media (max-width: 560px) { .pr-res { grid-template-columns: 1fr; } .pr-res__actions { justify-content: flex-start; } }

/* Mise en page en deux colonnes (formule | date) à partir de 900 px */
.pr-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1rem; align-items: start; }
.pr-layout__col > .pr-step { margin-bottom: 1rem; }
.pr-step.is-waiting { opacity: .75; }
.pr-placeholder { margin: 0; padding: 2.5rem 1rem; text-align: center; color: var(--pr-muted); background: var(--pr-sand); border-radius: 12px; }
.pr-cal { max-width: 460px; margin: 0 auto; }
.pr-day { min-height: 40px; }
@media (min-width: 900px) {
	.pr-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.pr-layout__col--offers .pr-cards { grid-template-columns: 1fr 1fr; }
	.pr-layout__col--date { position: sticky; top: 140px; }
}

/* Survol, focus, clic : le thème donne un fond brun à tous les boutons. On garde les couleurs du module. */
.pr-booking .pr-card:is(:hover, :focus, :active) { background: #fff; color: var(--pr-ink); border: 1.5px solid var(--pr-gold-2); box-shadow: 0 6px 18px rgba(59, 51, 38, .08); }
.pr-booking .pr-card--offer[aria-pressed="true"], .pr-booking .pr-card--offer[aria-pressed="true"]:is(:hover, :focus, :active) { background: #fff; border-color: var(--pr-gold); box-shadow: 0 0 0 1px var(--pr-gold) inset; }
.pr-booking .pr-tab:is(:hover, :focus, :active) { background: rgba(255, 255, 255, .6); color: var(--pr-gold); border: 0; box-shadow: none; }
.pr-booking .pr-tab[aria-selected="true"]:is(:hover, :focus, :active) { background: #fff; box-shadow: 0 1px 3px rgba(59, 51, 38, .12); }
.pr-booking .pr-choice:is(:hover, :focus, :active) { background: var(--pr-sand); color: var(--pr-ink); border: 1.5px solid var(--pr-gold); box-shadow: none; }
.pr-booking .pr-choice[aria-pressed="true"]:is(:hover, :focus, :active) { background: var(--pr-gold); }
.pr-booking .pr-cal__nav:is(:hover, :focus, :active) { background: var(--pr-sand); color: var(--pr-ink); border: 1.5px solid var(--pr-gold-2); box-shadow: none; }
.pr-booking .pr-cal__nav:disabled:is(:hover, :focus, :active) { background: #fff; border-color: var(--pr-line); }
.pr-booking .pr-day:is(:hover, :focus, :active) { background: var(--pr-sand); color: var(--pr-ink); border: 1.5px solid transparent; box-shadow: none; }
.pr-booking .pr-day:is(.is-free, .is-partial):is(:hover, :focus, :active) { background: var(--pr-sand); border-color: var(--pr-gold); }
.pr-booking .pr-day.is-partial:is(:hover, :focus, :active) { border-style: dashed; }
.pr-booking .pr-day.is-full:is(:hover, :focus, :active) { background: #efe9df; color: #b3a893; }
.pr-booking .pr-day:is(.is-closed, .is-past, .is-loading):is(:hover, :focus, :active) { background: transparent; color: #c9bfae; }
.pr-booking .pr-day.is-selected:is(:hover, :focus, :active) { background: var(--pr-gold); border-color: var(--pr-gold); color: #fff; }
.pr-booking .pr-slot:is(:hover, :focus, :active) { background: var(--pr-sand); color: var(--pr-ink); border: 1.5px solid var(--pr-gold); box-shadow: none; }
.pr-booking .pr-slot[aria-pressed="true"]:is(:hover, :focus, :active) { background: var(--pr-gold); color: #fff; }
.pr-booking .pr-slot:disabled:is(:hover, :focus, :active) { background: #fff; border: 1.5px dashed var(--pr-gold-2); }
.pr-booking .pr-submit:is(:hover, :focus, :active) { background: #8a6d3b; border: 2px solid #8a6d3b; box-shadow: none; }
.pr-booking .pr-submit:disabled:is(:hover, :focus, :active) { background: transparent; border-color: var(--pr-gold); }
.pr-booking .pr-link { border: 0; background: none; padding: 0; color: var(--pr-gold); text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }
.pr-booking .pr-link:is(:hover, :focus, :active) { background: none; color: #8a6d3b; border: 0; box-shadow: none; }

/* Format compact (hero de l'accueil) : une étape à la fois, dans une carte */
.pr-booking--compact { max-width: 480px; margin: 0; background: #fff; border-radius: 20px; padding: 1.25rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .22); text-align: left; }
.pr-booking--compact .pr-booking__title { font-size: 1.35rem; margin: 0 0 .9rem; }
.pr-booking--compact .pr-step { border: 0; padding: 0; margin: 0 0 1rem; }
.pr-booking--compact .pr-step__title { font-size: 1rem; margin-bottom: .75rem; }
.pr-booking--compact .pr-tabs { display: flex; margin-bottom: .75rem; }
.pr-booking--compact .pr-tab { flex: 1 1 auto; padding: .45rem .8rem; font-size: .95rem; }
.pr-booking--compact .pr-cards, .pr-booking--compact .pr-layout__col--offers .pr-cards { grid-template-columns: 1fr; gap: .5rem; }
.pr-booking--compact .pr-card--offer { display: grid; grid-template-columns: 1fr auto; column-gap: .75rem; align-items: center; padding: .7rem .9rem; }
.pr-booking--compact .pr-card--offer .pr-card__meta { grid-column: 1; font-size: .85rem; }
.pr-booking--compact .pr-card--offer .pr-card__price { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; font-size: 1.05rem; }
.pr-booking--compact .pr-card--room { display: grid; grid-template-columns: 1fr auto; column-gap: .75rem; align-items: center; padding: .6rem .6rem .6rem .9rem; }
.pr-booking--compact .pr-card--room .pr-card__name { grid-column: 1; }
.pr-booking--compact .pr-card--room .pr-card__meta { grid-column: 1; }
.pr-booking--compact .pr-card--room .pr-choices { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-wrap: nowrap; gap: .35rem; }
.pr-booking--compact .pr-card--room .pr-choice { flex: 0 0 auto; min-width: 84px; line-height: 1.2; }
.pr-booking--compact .pr-choice__label { font-size: .75rem; }
.pr-booking--compact .pr-card--room .pr-card__meta { font-size: .85rem; }
.pr-booking--compact .pr-layout { display: block; }
.pr-booking--compact .pr-layout__col--date { position: static; }
.pr-booking--compact .pr-cal { max-width: none; }
.pr-booking--compact .pr-cal__grid { gap: 4px; }
.pr-booking--compact .pr-day { aspect-ratio: auto; min-height: 38px; }
.pr-booking--compact .pr-day small { display: none; }
.pr-booking--compact .pr-cal__legend { margin-top: .6rem; }
.pr-booking--compact .pr-summary { position: static; box-shadow: none; padding: .8rem 1rem; grid-template-columns: 1fr; }
.pr-booking--compact .pr-submit { width: 100%; }
.pr-chosen { display: flex; justify-content: space-between; align-items: center; gap: .75rem; background: var(--pr-sand); border-radius: 12px; padding: .6rem .9rem; margin: 0 0 1rem; }
.pr-chosen p { margin: 0; }
.pr-chosen__name { font-weight: 600; }
.pr-chosen__price { color: var(--pr-gold); font-weight: 700; margin-left: .35rem; }
@media (max-width: 560px) {
	.pr-booking--compact { padding: 1rem; border-radius: 16px; }
	.pr-booking--compact .pr-card--room { grid-template-columns: 1fr; }
	.pr-booking--compact .pr-card--room .pr-choices { grid-column: 1; grid-row: auto; margin-top: .5rem; }
	.pr-booking--compact .pr-card--room .pr-choice { flex: 1 1 0; }
}
.pr-booking--compact .pr-booking__app > :last-child { margin-bottom: 0; }

/* Options des salles */
.pr-options { display: flex; flex-direction: column; gap: 8px; }
.pr-option { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px 14px; padding: 10px 14px; border: 1px solid var(--pr-line); border-radius: 10px; background: #fff; transition: border-color .15s, background .15s; }
.pr-option.is-selected { border-color: var(--pr-gold); background: var(--pr-sand); }
.pr-option.is-out { opacity: .6; }
.pr-option__text strong { display: block; font-weight: 600; }
.pr-option__text small { display: block; color: var(--pr-muted); font-size: .85em; }
.pr-option__price { color: var(--pr-gold); font-weight: 600; white-space: nowrap; }
.pr-option__toggle { min-width: 96px; padding: .45em 1em; border: 1.5px solid var(--pr-gold); border-radius: 999px; background: #fff; color: var(--pr-gold); font: inherit; font-weight: 600; cursor: pointer; }
.pr-option__toggle[aria-pressed="true"] { background: var(--pr-gold); color: #fff; }
.pr-option__toggle:focus-visible, .pr-qty button:focus-visible { outline: 2px solid var(--pr-gold); outline-offset: 2px; }
.pr-option__out { color: var(--pr-muted); font-size: .85em; }
.pr-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--pr-gold); border-radius: 999px; overflow: hidden; }
.pr-qty button { width: 34px; height: 34px; border: 0; background: #fff; color: var(--pr-gold); font-size: 1.1em; font-weight: 700; cursor: pointer; }
.pr-qty button:disabled { color: var(--pr-line); cursor: default; }
.pr-qty output { min-width: 26px; text-align: center; font-weight: 600; }
.pr-summary__extras { margin: .2em 0 0; color: var(--pr-muted); font-size: .92em; }
@media (max-width: 560px) {
	.pr-option { grid-template-columns: 1fr auto; }
	.pr-option__price { grid-column: 1; grid-row: 2; }
	.pr-option__toggle, .pr-qty, .pr-option__out { grid-column: 2; grid-row: 1 / span 2; }
}

/* Très petits écrans (320 px) : le calendrier tient dans la largeur. */
.pr-cal__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.pr-day { min-width: 0; }
@media (max-width: 380px) {
	.pr-step { padding: .8rem; }
	.pr-cal__grid { gap: 3px; }
	.pr-day { aspect-ratio: auto; min-height: 38px; border-radius: 8px; }
}

/* Journée découverte mise en avant (encart en tête des formules) */
.pr-booking .pr-promo { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; margin: 0 0 1rem; padding: .8rem 1rem; border: 1px dashed var(--pr-gold); border-radius: 14px; background: #fbf6ec; color: #3b3326; cursor: pointer; font: inherit; transition: background .2s, box-shadow .2s; }
.pr-booking .pr-promo:is(:hover, :focus-visible) { background: #f6ecd8; color: #3b3326; box-shadow: 0 6px 18px rgba(159, 127, 71, .18); }
.pr-booking .pr-promo[aria-pressed="true"], .pr-booking .pr-promo[aria-pressed="true"]:is(:hover, :focus, :active) { background: #fff; color: #3b3326; border-style: solid; box-shadow: 0 0 0 1px var(--pr-gold) inset; }
.pr-promo__icon { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--pr-gold); color: #fff; display: grid; place-items: center; }
.pr-promo__icon svg { width: 22px; height: 22px; }
.pr-promo__text { display: grid; gap: .1rem; flex: 1; min-width: 0; }
.pr-promo__text strong { font-size: .98rem; line-height: 1.25; }
.pr-promo__text small { font-size: .82rem; color: var(--pr-muted); }
.pr-promo__cta { flex: 0 0 auto; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--pr-gold); border-radius: 999px; padding: .35rem .8rem; }
@media (max-width: 420px) { .pr-promo__cta { display: none; } }

/* Journées Focus : repère discret dans le calendrier */
.pr-day.is-focus::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--pr-gold); }
.pr-day.is-focus { position: relative; }
.pr-dot.is-focus { background: var(--pr-gold); width: .5rem; height: .5rem; border-radius: 50%; vertical-align: 1px; }
.pr-day.is-focus.is-selected::after { background: #fff; }
.pr-cal__focus { margin: .6rem 0 0; padding: .55rem .8rem; border-radius: 10px; background: #fbf6ec; font-size: .85rem; color: #6b5a3c; }
.pr-cal__focus::before { content: "◎ "; color: var(--pr-gold); font-weight: 700; }
.pr-summary__focus { font-size: .85rem; color: #6b5a3c; margin: .15rem 0 0; }
