/**
 * Réservation Planity : bouton header (desktop) + barre fixe mobile (site-wide)
 * + cartes de la page Prestations. Palette Nude Luxury via variables :root.
 */

/* ---------- Bouton « Prendre rendez-vous » dans le menu principal ---------- */
.sfc-menu__rdv { display: flex; align-items: center; margin: 0 26px; }

/* Scopé sous .sfc-menu pour battre la règle `.sfc-menu a` (padding/display/color/underline). */
.sfc-menu .sfc-rdv-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--color-cta-orange);
	color: var(--color-bg-white);
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 4px 14px -6px rgba(188, 79, 0, 0.4);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

/* Neutralise le soulignement `::after` hérité des liens du menu. */
.sfc-menu .sfc-rdv-btn::after {
	content: none;
	display: none;
}

.sfc-menu .sfc-rdv-btn__icon {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.sfc-menu .sfc-rdv-btn:hover,
.sfc-menu .sfc-rdv-btn:focus-visible {
	background: var(--al-orange, #F76309);
	color: var(--color-bg-white);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px -6px rgba(247, 99, 9, 0.5);
}

/* ---------- Barre fixe mobile ---------- */
.sfc-rdv-bar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 950;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	background: var(--color-bg-white);
	border-top: 1px solid var(--color-border-taupe);
	box-shadow: 0 -6px 20px -10px rgba(26, 26, 26, 0.25);
}

.sfc-rdv-bar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 18px;
	border-radius: 999px;
	background: var(--color-cta-orange);
	color: var(--color-bg-white) !important;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: 0 6px 16px -6px rgba(188, 79, 0, 0.5);
}

/* L'icône calendrier n'était dimensionnée que dans le menu desktop ;
   sans contrainte ici, le SVG s'affichait énorme dans la barre mobile. */
.sfc-rdv-bar__btn .sfc-rdv-btn__icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

@media (max-width: 768px) {
	/* Barre fixe « Prendre rendez-vous » retirée en mobile : le RDV est désormais
	   intégré à la bottom-nav (bouton central). Masquage forcé au cas où le markup
	   serait encore présent ; l'espace bas est géré par bottom-nav.css. */
	.sfc-rdv-bar { display: none !important; }
	/* Le bouton du menu desktop n'a pas de sens dans le drawer : on le masque. */
	.sfc-menu__rdv { display: none; }
}

/* ---------- Page Prestations (liste de prix par catégorie) ---------- */
.sfc-prestations__cats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px 40px;
}

.sfc-prestation-cat__title {
	font-family: var(--font-heading);
	font-size: 18px;
	color: var(--color-text-main);
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--color-border-taupe);
}

.sfc-prestation-cat__list { list-style: none; margin: 0 0 8px; padding: 0; }

.sfc-prestation-row {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: baseline;
	gap: 10px 16px;
	padding: 9px 0;
	border-bottom: 1px solid var(--color-border-taupe);
}

.sfc-prestation-row:last-child { border-bottom: 0; }

.sfc-prestation-row__name {
	font-size: 14px;
	color: var(--color-text);
}

.sfc-prestation-row__dur {
	font-size: 12px;
	color: var(--color-text-muted);
	white-space: nowrap;
}

.sfc-prestation-row__price {
	font-family: var(--font-heading);
	font-size: 16px;
	color: var(--color-cta-orange);
	white-space: nowrap;
	min-width: 56px;
	text-align: right;
}

.sfc-prestations__cta { margin-top: 32px; text-align: center; }

/* ---------- Bloc « À savoir » ---------- */
.sfc-prestations-info__title {
	font-family: var(--font-heading);
	font-size: clamp(20px, 2.4vw, 26px);
	color: var(--color-text-main);
	margin: 0 0 18px;
}

.sfc-prestations-info__list { list-style: none; margin: 0; padding: 0; max-width: 760px; }

.sfc-prestations-info__list li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-text);
}

.sfc-prestations-info__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-cta-orange);
}

@media (max-width: 760px) {
	.sfc-prestations__cats { grid-template-columns: 1fr; }
}

/* ---------- « À savoir » en split photo / liste (2.3.0) ---------- */
.sfc-prestations-info__split {
	display: grid;
	grid-template-columns: 0.85fr 1fr;
	align-items: center;
	gap: clamp(2rem, 4vw, 4rem);
}

.sfc-prestations-info__media {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-ui);
}

.sfc-prestations-info__media img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media (max-width: 860px) {
	.sfc-prestations-info__split {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
}
