/* EB - Agenda : page de réservation, aux couleurs EB Esthétique */
.eb-agenda {
	--pink: #E83F6F;
	--pink2: #F14A7A;
	--baby: #FFEFF3;
	--powder: #E7C0CB;
	--wine: #62142A;
	--gold: #AD9552;
	--cream: #FFF9F7;
	--muted: #77515d;
	--line: #F3D7DF;
	font-family: "Raleway", -apple-system, "Segoe UI", sans-serif;
	color: var(--wine);
	max-width: 1080px;
	margin: 0 auto;
	padding: 24px 16px 70px;
	box-sizing: border-box;
}
.eb-agenda *, .eb-agenda *::before, .eb-agenda *::after { box-sizing: border-box; }
.eb-agenda button { font-family: inherit; }

.eba-hero { text-align: center; padding: 26px 0 30px; position: relative; }
.eba-kicker {
	display: inline-flex; align-items: center; gap: 10px; color: var(--pink);
	font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px;
}
.eba-kicker::before { content: ""; width: 26px; height: 2px; background: var(--pink); }
.eba-title {
	margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 600;
	font-size: clamp(36px, 5vw, 64px); line-height: .98; letter-spacing: -.04em; color: var(--wine);
}
.eba-title em { color: var(--pink); font-weight: 500; }
.eba-lead { max-width: 560px; margin: 16px auto 0; font-size: 16px; line-height: 1.75; color: var(--muted); }

.eba-app {
	background: #fff; border-radius: 32px; padding: clamp(18px, 3.5vw, 38px);
	box-shadow: 0 24px 70px rgba(98, 20, 42, .09); border: 1px solid var(--line);
}

/* Étapes */
.eba-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; flex-wrap: wrap; }
.eba-steps li {
	display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px;
	background: var(--cream); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.eba-steps li span {
	width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; border: 1px solid var(--powder); font-size: 11px;
}
.eba-steps li.active { background: var(--wine); color: #fff; }
.eba-steps li.active span { background: var(--pink); border-color: var(--pink); color: #fff; }
.eba-steps li.done { background: var(--baby); color: var(--wine); }
.eba-steps li.done span { background: var(--pink); border-color: var(--pink); color: #fff; }

/* Catalogue */
.eba-toolbar { margin-bottom: 14px; }
.eba-search {
	display: flex; align-items: center; gap: 10px; background: var(--cream); border: 1px solid var(--line);
	border-radius: 999px; padding: 0 18px; min-height: 52px; font-size: 18px; color: var(--pink);
}
.eba-search input { border: 0; background: transparent; outline: none; width: 100%; font: 500 15px "Raleway", sans-serif; color: var(--wine); padding: 14px 0; box-shadow: none; }
.eba-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; scrollbar-width: none; }
.eba-chips::-webkit-scrollbar { display: none; }
.eba-chip {
	flex: 0 0 auto; border: 1px solid var(--powder); background: #fff; color: var(--wine); border-radius: 999px;
	padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: .2s;
}
.eba-chip:hover { border-color: var(--pink); color: var(--pink); }
.eba-chip.is-on { background: var(--pink); border-color: var(--pink); color: #fff; }

.eba-group { margin-top: 10px; }
.eba-group-title {
	font-family: "Playfair Display", Georgia, serif; font-size: 26px; font-weight: 600; margin: 18px 0 12px; color: var(--wine);
}
.eba-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.eba-item {
	display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 18px 18px 20px;
	border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: .25s;
}
.eba-item:hover { border-color: var(--pink); box-shadow: 0 12px 30px rgba(232, 63, 111, .10); transform: translateY(-2px); }
.eba-item-sub { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.eba-item-title { margin: 4px 0 6px; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--wine); font-family: "Raleway", sans-serif; }
.eba-item-desc { margin: 0 0 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.eba-item-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.eba-price { font-weight: 800; color: var(--pink); }
.eba-item.is-phone { background: var(--cream); }
.eba-item-ph { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex: 0 0 auto; }
.eba-item-main { flex: 1; min-width: 0; }

/* Boutons */
.eba-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
	border-radius: 999px; border: 0; background: var(--pink); color: #fff !important; text-decoration: none !important;
	font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; white-space: nowrap;
	box-shadow: 0 10px 26px rgba(232, 63, 111, .20); transition: .25s ease;
}
.eba-btn:hover:not([disabled]) { background: var(--wine); transform: translateY(-2px) rotate(-1deg); }
.eba-btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.eba-btn-ghost { background: #fff; color: var(--wine) !important; border: 1px solid var(--powder); box-shadow: none; font-size: 11px; white-space: normal; text-align: center; }
.eba-btn-ghost:hover { color: #fff !important; }
.eba-btn-wine { background: var(--wine); }
.eba-btn-big { min-height: 56px; padding: 0 30px; font-size: 13px; }
.eba-link { background: none; border: 0; padding: 6px 0; color: var(--wine); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.eba-link:hover { color: var(--pink); }

/* Soin choisi */
.eba-chosen {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	background: var(--baby); border-radius: 22px; padding: 16px 22px; margin-bottom: 22px;
}
.eba-chosen-kicker { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.eba-chosen-title { font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 600; margin: 2px 0; }
.eba-chosen-meta { font-size: 14px; color: var(--muted); }
.eba-chosen-meta strong { color: var(--wine); }

/* Calendrier + créneaux */
.eba-moment { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: start; }
.eba-cal { background: var(--cream); border-radius: 24px; padding: 18px; }
.eba-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.eba-month { font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 600; text-transform: capitalize; }
.eba-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--powder); background: #fff; color: var(--wine); font-size: 22px; line-height: 1; cursor: pointer; }
.eba-nav:hover:not([disabled]) { background: var(--pink); color: #fff; border-color: var(--pink); }
.eba-nav[disabled] { opacity: .3; cursor: default; }
.eba-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.eba-dow { text-align: center; font-size: 11px; font-weight: 800; color: var(--gold); padding: 4px 0; }
.eba-day {
	aspect-ratio: 1; border-radius: 14px; border: 0; background: transparent; font-size: 14px; font-weight: 700;
	color: var(--wine); cursor: pointer; transition: .15s; position: relative;
}
.eba-day.is-off { color: #cdb5bc; cursor: default; text-decoration: line-through; text-decoration-color: rgba(98,20,42,.15); }
.eba-day.is-free { background: #fff; box-shadow: inset 0 0 0 1px var(--powder); }
.eba-day.is-free:hover { box-shadow: inset 0 0 0 2px var(--pink); }
.eba-day.is-on { background: var(--pink) !important; color: #fff; box-shadow: none; }
.eba-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.eba-day.is-loading { color: #ddc6cd; cursor: default; animation: eba-pulse 1.2s ease-in-out infinite; }
@keyframes eba-pulse { 50% { opacity: .45; } }
.eba-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.eba-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.eba-legend i.is-free { background: #fff; box-shadow: inset 0 0 0 1px var(--powder); }
.eba-legend i.is-off { background: #f1e6e9; }

.eba-slots-title { font-family: "Playfair Display", Georgia, serif; font-size: 24px; font-weight: 600; margin: 4px 0 14px; text-transform: none; }
.eba-slots-title::first-letter { text-transform: uppercase; }
.eba-slot-group { margin-bottom: 16px; }
.eba-slot-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.eba-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.eba-slot {
	min-height: 44px; border-radius: 14px; border: 1px solid var(--powder); background: #fff; color: var(--wine);
	font-size: 14px; font-weight: 800; cursor: pointer; transition: .15s;
}
.eba-slot:hover { border-color: var(--pink); color: var(--pink); }
.eba-slot.is-on { background: var(--wine); border-color: var(--wine); color: #fff; }
.eba-hint { color: var(--muted); font-size: 15px; margin-top: 10px; }

.eba-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Formulaire */
.eba-form { display: grid; gap: 14px; }
.eba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eba-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: var(--wine); }
.eba-form label small { font-weight: 500; color: var(--muted); }
.eba-form input, .eba-form textarea {
	width: 100%; border: 1px solid var(--line); background: var(--cream); border-radius: 16px; padding: 14px 16px;
	font: 500 15px "Raleway", sans-serif; color: var(--wine); outline: none; transition: .2s; box-shadow: none;
}
.eba-form input:focus, .eba-form textarea:focus { border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px rgba(232, 63, 111, .10); }
.eba-form .eba-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; line-height: 1.5; color: var(--muted); }
.eba-form .eba-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--pink); flex: 0 0 auto; }
.eba-form .eba-check a { color: var(--wine); }
.eba-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.eba-punctual { background: var(--baby); border-left: 4px solid var(--pink); border-radius: 14px; padding: 14px 18px; font-size: 14px; line-height: 1.6; color: var(--wine); }

/* Messages */
.eba-msg { background: var(--cream); border-radius: 16px; padding: 14px 18px; color: var(--wine); font-size: 15px; }
.eba-msg.is-error { background: #fff0f2; color: #a3123a; border: 1px solid #f7c4d0; }
.eba-empty { color: var(--muted); text-align: center; padding: 30px 0; }
.eba-loading { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 24px 0; justify-content: center; }
.eba-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--powder); border-top-color: var(--pink); animation: eba-spin .7s linear infinite; display: inline-block; }
@keyframes eba-spin { to { transform: rotate(360deg); } }

/* Succès / gestion */
.eba-success { text-align: center; padding: 10px 0; display: grid; justify-items: center; gap: 16px; }
.eba-success .eba-title { font-size: clamp(32px, 4.4vw, 52px); }
.eba-flower { width: 76px; height: 76px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 38px; animation: eba-pop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes eba-pop { from { transform: scale(.3) rotate(-30deg); opacity: 0; } }
.eba-recap { width: 100%; max-width: 520px; background: var(--baby); border-radius: 22px; padding: 8px 22px; text-align: left; }
.eba-recap div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--powder); }
.eba-recap div:last-child { border-bottom: 0; }
.eba-recap span { white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.eba-recap strong { text-align: right; font-size: 15px; }
.eba-recap strong::first-letter { text-transform: uppercase; }
.eba-recap a { color: var(--wine); }
.eba-recap.is-cancelled strong { text-decoration: line-through; opacity: .6; }
.eba-success .eba-punctual { max-width: 520px; text-align: left; }

@media (max-width: 760px) {
	.eba-moment { grid-template-columns: 1fr; }
	.eba-row { grid-template-columns: 1fr; }
	.eba-list { grid-template-columns: 1fr; }
	.eba-item { flex-direction: column; align-items: stretch; }
	.eba-item .eba-btn { width: 100%; }
	.eba-item-ph { width: 100%; height: 150px; }
	.eba-steps { flex-wrap: nowrap; gap: 4px; }
	.eba-steps li { font-size: 9px; padding: 6px 8px 6px 6px; gap: 5px; letter-spacing: .02em; }
	.eba-steps li span { width: 20px; height: 20px; }
	.eba-actions .eba-btn { width: 100%; }
	.eba-actions { flex-direction: column-reverse; }
}
