/* Parcours de réservation (/rdv/) : styles autonomes, couleurs du site (#0e7490) */
.rdv { --p: #0e7490; --p-dark: #155e75; --p-soft: #ecfeff; --ink: #1f2937; --muted: #6b7280; --line: #e5e7eb; --err: #b91c1c;
	background: linear-gradient(180deg, #f0fdff 0%, #fff 320px); padding: 32px 16px 48px; }
.rdv-wrap { max-width: 960px; margin: 0 auto; }
.rdv-head { text-align: center; margin-bottom: 24px; }
.rdv-kicker { color: var(--p); font-size: .9rem; letter-spacing: .02em; margin: 0 0 6px; }
.rdv h1 { font-size: 2.1rem; font-weight: 200; color: #111827; margin: 0 0 10px; }
.rdv-intro { color: #4b5563; max-width: 620px; margin: 0 auto; line-height: 1.6; }
.rdv-hours { color: #374151; max-width: 620px; margin: 10px auto 0; font-size: .92rem; font-weight: 600; }
.rdv-trust { list-style: none; padding: 0; margin: 14px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .85rem; color: #4b5563; }
.rdv-trust li { display: flex; align-items: center; gap: 6px; }
.rdv-trust li::before { content: "✓"; color: var(--p); font-weight: 700; }
.rdv-trust a { color: inherit; text-decoration: underline; text-decoration-color: #cbd5e1; text-underline-offset: 3px; }
.rdv-stars { color: #fbbf24; letter-spacing: 1px; }
.rdv-tel { white-space: nowrap; }
.rdv-slot-help { font-size: .85rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.rdv-slot-help a { color: var(--p); font-weight: 600; }
.rdv h2 { font-size: 1.35rem; font-weight: 300; margin: 0 0 16px; color: #111827; outline: none; }
.rdv h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 12px; }

.rdv-steps { display: flex; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: s; flex-wrap: wrap; }
.rdv-steps li { counter-increment: s; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.rdv-steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex;
	align-items: center; justify-content: center; font-size: .78rem; background: #fff; }
.rdv-steps li + li::after { content: none; }
.rdv-steps li.is-active { color: var(--p); font-weight: 600; }
.rdv-steps li.is-active::before { border-color: var(--p); background: var(--p); color: #fff; }
.rdv-steps li.is-done::before { content: '✓'; border-color: var(--p); color: var(--p); }

.rdv-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 6px 24px rgba(14, 116, 144, .07); }
.rdv-back { background: none; border: 0; color: var(--p); cursor: pointer; padding: 0; margin-bottom: 12px; font-size: .9rem; }
.rdv-back:hover { text-decoration: underline; }
.rdv-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Types */
.rdv-types { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rdv-type { text-align: left; background: #fff; border: 1.5px solid var(--line); border-left: 5px solid var(--c, var(--p)); border-radius: 14px;
	padding: 18px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, box-shadow .15s, transform .15s; font: inherit; color: inherit; }
.rdv-type:hover, .rdv-type:focus-visible { border-color: var(--c, var(--p)); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); transform: translateY(-1px); outline: none; }
.rdv-type-mode { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c, var(--p)); font-weight: 700; }
.rdv-type-name { font-size: 1.1rem; font-weight: 600; color: #111827; }
.rdv-type-desc { color: #4b5563; font-size: .95rem; }
.rdv-type-meta { font-weight: 600; color: var(--ink); }
.rdv-type-loc { font-size: .85rem; color: var(--muted); }

/* Calendrier */
.rdv-chosen { color: var(--muted); margin: -8px 0 16px; }
.rdv-cal-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rdv-cal-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.rdv-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rdv-cal-nav span { font-weight: 600; text-transform: capitalize; }
.rdv-cal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; cursor: pointer; color: var(--p); }
.rdv-cal-nav button:disabled { opacity: .3; cursor: default; }
.rdv-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.rdv-cal-grid.is-loading { opacity: .4; }
.rdv-dow { text-align: center; font-size: .75rem; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.rdv-day { aspect-ratio: 1; border-radius: 50%; border: 0; background: transparent; color: #c0c4cc; font: inherit; font-size: .95rem; cursor: default; max-width: 48px; width: 100%; justify-self: center; }
.rdv-day.is-available { background: var(--p-soft); color: var(--p-dark); font-weight: 700; cursor: pointer; }
.rdv-day.is-available:hover { background: #cffafe; }
.rdv-day.is-selected { background: var(--p) !important; color: #fff !important; }
.rdv-tz { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }

.rdv-slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 360px; overflow-y: auto; }
.rdv-slot { border: 1.5px solid var(--p); color: var(--p); background: #fff; border-radius: 10px; padding: 11px 0; font: inherit; font-weight: 600; cursor: pointer; }
.rdv-slot:hover, .rdv-slot:focus-visible { background: var(--p); color: #fff; outline: none; }
.rdv-loading { color: var(--muted); }

/* Formulaire */
.rdv-recap { background: var(--p-soft); border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; line-height: 1.5; }
.rdv-recap p { margin: 2px 0; color: #374151; }
#rdv-form label { display: block; font-size: .9rem; font-weight: 600; color: #374151; margin-bottom: 14px; }
#rdv-form input, #rdv-form textarea { display: block; width: 100%; margin-top: 6px; border: 1.5px solid #d1d5db; border-radius: 10px; padding: 11px 12px;
	font: inherit; font-weight: 400; color: var(--ink); background: #fff; box-sizing: border-box; }
#rdv-form input:focus, #rdv-form textarea:focus { border-color: var(--p); outline: 2px solid rgba(14, 116, 144, .2); }
#rdv-form [aria-invalid="true"] { border-color: var(--err); }
.rdv-row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rdv-row { grid-template-columns: 1fr 1fr; } }
.rdv-opt { font-weight: 400; color: var(--muted); }
.rdv-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rdv-field-error { display: block; color: var(--err); font-size: .82rem; font-weight: 500; margin-top: 4px; }
#rdv-form [aria-invalid="true"] { background: #fffafa; }
.rdv-hint { font-size: .84rem; color: var(--muted); margin: 0 0 10px; line-height: 1.45; }
.rdv-suggest { display: block; font-size: .84rem; color: #92400e; font-weight: 500; margin-top: 6px; }
.rdv-suggest button { font: inherit; font-weight: 700; color: var(--p); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.rdv-legal, .rdv-policy { font-size: .82rem; color: var(--muted); line-height: 1.5; margin: 4px 0 10px; }
.rdv-legal a { color: var(--p); }
.rdv-form-error { background: #fef2f2; color: var(--err); border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.rdv-submit { width: 100%; background: var(--p); color: #fff; border: 0; border-radius: 999px; padding: 15px 20px; font: inherit; font-weight: 700; font-size: 1.05rem;
	cursor: pointer; margin-top: 8px; box-shadow: 0 6px 16px rgba(14, 116, 144, .3); }
.rdv-submit:hover { background: var(--p-dark); }
.rdv-submit:disabled { opacity: .7; cursor: wait; }
.rdv-pow { font-size: .78rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.rdv-pow.is-ok { color: #047857; }
.rdv-help { text-align: center; color: var(--muted); margin-top: 20px; font-size: .92rem; }
.rdv-help a, .rdv-card a { color: var(--p); font-weight: 600; }

/* Pages confirmation / gérer */
.rdv-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; max-width: 640px; margin: 0 auto;
	box-shadow: 0 6px 24px rgba(14, 116, 144, .07); line-height: 1.6; }
.rdv-check { width: 56px; height: 56px; border-radius: 50%; background: #d1fae5; color: #047857; display: flex; align-items: center; justify-content: center;
	font-size: 1.8rem; margin: 0 auto 12px; }
.rdv-card h1 { text-align: center; font-size: 1.8rem; }
.rdv-card .rdv-recap { margin: 18px 0; }
.rdv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.rdv-btn { display: inline-block; border-radius: 999px; padding: 11px 20px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--p);
	color: var(--p) !important; background: #fff; cursor: pointer; font: inherit; }
.rdv-btn.is-primary { background: var(--p); color: #fff !important; }
.rdv-btn.is-danger { border-color: var(--err); color: var(--err) !important; }
.rdv-note { font-size: .88rem; color: var(--muted); }
.rdv-status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #e5e7eb; }
.rdv-status.is-confirmed { background: #d1fae5; color: #047857; }
.rdv-status.is-cancelled { background: #fee2e2; color: var(--err); }
