/* « Réserver un appel » (rendez-vous.js): the site's own look (night ink, paper, taxi orange, Bricolage). A centred
   card on a computer, a full-height sheet on a phone. */
html.rdv-ouvert { overflow: hidden; }
.rdv { width: min(560px, calc(100vw - 24px)); max-height: min(860px, calc(100dvh - 24px)); margin: auto; padding: 0; border: 0; border-radius: 18px;
  background: var(--ink-2, #171513); color: var(--paper, #f4ead9); box-shadow: 0 0 0 1px var(--faint, rgba(244, 234, 217, .13)), 0 30px 80px rgba(0, 0, 0, .55);
  font-family: var(--font, system-ui, sans-serif); overscroll-behavior: contain; }
.rdv::backdrop { background: rgba(11, 10, 9, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rdv[open] { animation: rdv-entree .35s var(--ease, ease) both; }
@keyframes rdv-entree { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .rdv[open] { animation: none; } }
.rdv__boite { display: flex; flex-direction: column; max-height: inherit; }
.rdv__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 22px 12px; }
.rdv__kicker { margin: 0 0 6px; color: var(--taxi, #ff6b1a); font-size: 13px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; }
.rdv__titre { margin: 0; font-size: clamp(24px, 4.6vw, 30px); line-height: 1.05; letter-spacing: -.025em; }
.rdv__x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(244, 234, 217, .08); color: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.rdv__x:hover { background: rgba(244, 234, 217, .16); }
.rdv__corps { padding: 4px 22px 24px; overflow-y: auto; }
.rdv__h { margin: 16px 0 10px; font-size: 15px; font-weight: 650; }
.rdv__note { margin: 12px 0 0; color: var(--mute, rgba(244, 234, 217, .64)); font-size: 14px; line-height: 1.45; }
.rdv__erreur { margin: 8px 0 0; color: #ff9b6b; font-size: 14.5px; line-height: 1.4; }
.rdv__erreur:empty { display: none; }

.rdv__jours { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rdv__jours button { position: relative; flex: none; display: grid; justify-items: center; gap: 1px; width: 64px; padding: 9px 0 10px; border: 0; border-radius: 14px;
  background: rgba(244, 234, 217, .06); box-shadow: inset 0 0 0 1px var(--faint, rgba(244, 234, 217, .13)); color: inherit; font: inherit; cursor: pointer; scroll-snap-align: center; }
.rdv__jours button small { color: var(--mute, rgba(244, 234, 217, .64)); font-size: 12px; text-transform: capitalize; }
.rdv__jours button b { font-size: 22px; line-height: 1.1; }
.rdv__jours button[aria-selected="true"] { background: var(--taxi, #ff6b1a); box-shadow: none; color: var(--ink, #0b0a09); }
.rdv__jours button[aria-selected="true"] small { color: rgba(11, 10, 9, .7); }
.rdv__heures { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.rdv__heures button { min-height: 48px; border: 0; border-radius: 12px; background: rgba(244, 234, 217, .06); box-shadow: inset 0 0 0 1px var(--faint, rgba(244, 234, 217, .13));
  color: inherit; font: inherit; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.rdv__heures button:hover, .rdv__jours button:hover:not([aria-selected="true"]) { background: rgba(244, 234, 217, .12); }
.rdv :is(button, a, input, select, textarea):focus-visible { outline: 2px solid var(--taxi, #ff6b1a); outline-offset: 2px; }

.rdv__choisi { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 107, 26, .12); }
.rdv__choisi span { display: grid; gap: 2px; }
.rdv__choisi small { color: var(--mute, rgba(244, 234, 217, .64)); font-size: 12.5px; }
.rdv__choisi b { font-size: 16px; }
.rdv__choisi b::first-letter { text-transform: uppercase; }
.rdv__lien { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 99px; background: rgba(244, 234, 217, .1); color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.rdv__form { display: grid; gap: 16px; margin-top: 16px; }
.rdv__champ { display: grid; gap: 6px; }
.rdv__champ > span { font-size: 14px; font-weight: 600; }
.rdv__champ em { color: var(--mute, rgba(244, 234, 217, .64)); font-style: normal; font-weight: 400; }
.rdv__champ small { color: var(--mute, rgba(244, 234, 217, .64)); font-size: 12.5px; }
.rdv__champ :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: 12px; background: rgba(244, 234, 217, .06);
  box-shadow: inset 0 0 0 1px var(--faint, rgba(244, 234, 217, .13)); color: var(--paper, #f4ead9); font: inherit; font-size: 16px; }
.rdv__champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.rdv__champ select option { background: #171513; }
.rdv__champ textarea { resize: vertical; min-height: 72px; }
.rdv__champ :is(input, textarea)::placeholder { color: rgba(244, 234, 217, .35); }
.rdv__moyens { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.rdv__moyens legend { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.rdv__moyen { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--faint, rgba(244, 234, 217, .13)); cursor: pointer; }
.rdv__moyen:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--taxi, #ff6b1a); background: rgba(255, 107, 26, .08); }
.rdv__moyen input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--taxi, #ff6b1a); }
.rdv__moyen span { display: grid; gap: 1px; }
.rdv__moyen small { color: var(--mute, rgba(244, 234, 217, .64)); font-size: 13px; }
.rdv__accord { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--mute, rgba(244, 234, 217, .64)); cursor: pointer; }
.rdv__accord input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--taxi, #ff6b1a); }
.rdv__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rdv .btn { margin-top: 0; }
.rdv__envoyer { width: 100%; }

.rdv__fin { display: grid; justify-items: center; gap: 6px; padding: 8px 0 4px; text-align: center; }
.rdv__fin > p { margin: 0; line-height: 1.45; }
.rdv__coche { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 0 6px !important; border-radius: 50%; background: rgba(63, 207, 116, .16); color: #6fe39a; font-size: 32px; }
.rdv__ok { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.rdv__quand { font-size: 18px; font-weight: 650; }
.rdv__quand::first-letter { text-transform: uppercase; }
.rdv__quand small { color: var(--mute, rgba(244, 234, 217, .64)); font-size: 14px; font-weight: 400; }
.rdv__actions { display: grid; gap: 8px; width: 100%; margin-top: 14px; }

/* Phones: a sheet that takes the whole screen, the close button within reach. */
@media (max-width: 600px) {
  .rdv { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .rdv__tete { padding: calc(14px + env(safe-area-inset-top)) 16px 10px; }
  .rdv__corps { padding: 4px 16px calc(24px + env(safe-area-inset-bottom)); }
  .rdv__boite { height: 100%; }
}

/* The « Réserver un appel » buttons added to the page. */
.whoami__rdv { display: grid; gap: 6px; margin-top: 18px; }
.whoami__rdv .btn { width: 100%; margin-top: 0; }
.whoami__rdv small { color: var(--mute, rgba(244, 234, 217, .64)); font-size: 13px; text-align: center; }
.isac-card__rdv { margin: 14px 0 0; font-size: 14.5px; color: var(--mute, rgba(244, 234, 217, .64)); }
.isac-card__rdv button { padding: 0; border: 0; background: none; color: var(--taxi, #ff6b1a); font: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
