/* ==================== Page de demande de reservation ====================
   Meme charte que le site : fond sombre, accents portes par la couleur du
   vehicule choisi (--accent / --ink poses sur <html> par reservation.js). */

.bk-body {
  min-height: 100vh;
  background: var(--bg);
  color: rgb(var(--fg-rgb));
}

/* ---------- en-tete ---------- */
.bk-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-veil);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(var(--fg-rgb), 0.09);
}
.bk-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px clamp(16px, 2.8vw, 42px);
  display: flex;
  align-items: center;
  gap: 16px;
}
.bk-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(var(--fg-rgb), 0.72);
}
.bk-back:hover { color: rgb(var(--fg-rgb)); }
.bk-back svg { width: 17px; height: 17px; flex-shrink: 0; }
.bk-back span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bk-logo {
  margin: 0 auto;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgb(var(--fg-rgb));
}
.bk-logo:hover { color: rgb(var(--fg-rgb)); }
.bk-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.bk-header-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.bk-header-total-label {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(var(--fg-rgb), 0.5);
}
.bk-header-total b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ---------- grille ---------- */
.bk-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(26px, 4vh, 44px) clamp(16px, 2.8vw, 42px) clamp(48px, 8vh, 80px);
}
.bk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
  align-items: start;
}
.bk-col-form { min-width: 0; }
.bk-col-recap { min-width: 0; }

.bk-title {
  margin: 0 0 8px;
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.bk-intro {
  margin: 0 0 clamp(20px, 3vh, 30px);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(var(--fg-rgb), 0.6);
  max-width: 54ch;
}

/* ---------- blocs de formulaire ---------- */
.bk-card {
  padding: clamp(18px, 2.2vw, 26px);
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(var(--fg-rgb), 0.035);
  border: 1px solid rgba(var(--fg-rgb), 0.09);
}
.bk-section-title {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bk-note {
  margin: -6px 0 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(var(--fg-rgb), 0.55);
}

.bk-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; min-width: 0; }
.bk-field:last-child { margin-bottom: 0; }
.bk-field label {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(var(--fg-rgb), 0.74);
}
.bk-optional { color: rgba(var(--fg-rgb), 0.4); font-weight: 400; }

.bk-field input,
.bk-field select,
.bk-field textarea {
  width: 100%;
  min-width: 0;
  font-family: inherit;
  font-size: 15px;
  color: rgb(var(--fg-rgb));
  background: var(--field-bg);
  border: 1px solid rgba(var(--fg-rgb), 0.16);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.bk-field textarea { resize: vertical; line-height: 1.5; }
.bk-field input::placeholder,
.bk-field textarea::placeholder { color: rgba(var(--fg-rgb), 0.34); }
.bk-field input:focus,
.bk-field select:focus,
.bk-field textarea:focus {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #22c1c3) 22%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .bk-field input:focus,
  .bk-field select:focus,
  .bk-field textarea:focus { box-shadow: 0 0 0 3px rgba(var(--fg-rgb), 0.14); }
}
.bk-field input.is-invalid,
.bk-field select.is-invalid { border-color: var(--danger); }

.bk-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bk-row-phone { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }

.bk-error {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--danger-text);
}

/* ---------- cases a cocher ---------- */
.bk-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(var(--fg-rgb), 0.82);
}
.bk-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.bk-check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid rgba(var(--fg-rgb), 0.34);
  position: relative;
  transition: background .18s ease, border-color .18s ease;
}
.bk-check input:checked + .bk-check-box {
  background: var(--accent, #22c1c3);
  border-color: var(--accent-text);
}
.bk-check input:checked + .bk-check-box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border-right: 2.2px solid var(--ink, #05201f);
  border-bottom: 2.2px solid var(--ink, #05201f);
  transform: rotate(45deg);
}
.bk-check input:focus-visible + .bk-check-box {
  box-shadow: 0 0 0 3px rgba(var(--fg-rgb), 0.22);
}
.bk-check-consent { margin: 6px 2px 2px; }

/* ---------- bloc paiement ---------- */
.bk-card-pay { background: rgba(var(--fg-rgb), 0.02); }
.bk-pay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bk-pay-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(var(--fg-rgb), 0.68);
}
.bk-pay-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 5px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent, #22c1c3);
  border-bottom: 2px solid var(--accent, #22c1c3);
  transform: rotate(-45deg);
}

/* ---------- envoi ---------- */
.bk-submit {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
  padding: 17px 24px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  background: var(--accent, #22c1c3);
  color: var(--ink, #05201f);
  transition: filter .18s ease;
}
.bk-submit:hover { filter: brightness(1.08); }
.bk-legal {
  margin: 14px 2px 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(var(--fg-rgb), 0.42);
}

/* ---------- recapitulatif ---------- */
.bk-recap {
  position: sticky;
  top: 88px;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: 18px;
  background: rgba(var(--fg-rgb), 0.05);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
}
.bk-recap-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(var(--fg-rgb), 0.09);
}
.bk-recap-thumb {
  flex-shrink: 0;
  width: 84px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(var(--fg-rgb), 0.1), rgba(0, 0, 0, 0.3));
}
.bk-recap-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bk-recap-id { min-width: 0; }
.bk-recap-name {
  margin: 0 0 3px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
}
.bk-recap-cat {
  margin: 0;
  font-size: 12.5px;
  color: rgba(var(--fg-rgb), 0.55);
}

.bk-recap-title {
  margin: 20px 0 12px;
  font-size: 14px;
  font-weight: 600;
}

.bk-trip { display: flex; flex-direction: column; gap: 14px; }
.bk-trip-line { display: flex; gap: 12px; }
.bk-trip-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  border: 2px solid var(--accent, #22c1c3);
}
.bk-trip-label {
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(var(--fg-rgb), 0.45);
}
.bk-trip-value { margin: 0; font-size: 13.5px; font-weight: 600; }
.bk-trip-date { margin: 2px 0 0; font-size: 12.5px; color: rgba(var(--fg-rgb), 0.62); }

.bk-recap-rows { list-style: none; margin: 0; padding: 0; }
.bk-recap-rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(var(--fg-rgb), 0.07);
  font-size: 13px;
  color: rgba(var(--fg-rgb), 0.66);
}
.bk-recap-rows li:last-child { border-bottom: none; }
.bk-recap-rows b { color: rgb(var(--fg-rgb)); font-size: 14px; white-space: nowrap; }

.bk-recap-incl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.bk-recap-incl li {
  position: relative;
  padding-left: 24px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(var(--fg-rgb), 0.66);
}
.bk-recap-incl li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 5px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent, #22c1c3);
  border-bottom: 2px solid var(--accent, #22c1c3);
  transform: rotate(-45deg);
}

.bk-recap-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--fg-rgb), 0.12);
  font-size: 13.5px;
  color: rgba(var(--fg-rgb), 0.7);
}
.bk-recap-total b {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgb(var(--fg-rgb));
  white-space: nowrap;
}
.bk-recap-note {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(var(--fg-rgb), 0.42);
}

/* ---------- confirmation ---------- */
.bk-done {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 66px);
  padding: clamp(24px, 6vh, 60px) clamp(16px, 2.8vw, 42px);
}
.bk-done[hidden] { display: none; }
.bk-done-card {
  max-width: 560px;
  text-align: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 22px;
  background: rgba(var(--fg-rgb), 0.045);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
}
.bk-done-mark {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent, #22c1c3);
  position: relative;
}
.bk-done-mark::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 15px;
  width: 13px;
  height: 24px;
  border-right: 3px solid var(--ink, #05201f);
  border-bottom: 3px solid var(--ink, #05201f);
  transform: rotate(45deg);
}
.bk-done-title {
  margin: 0 0 12px;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.bk-done-text {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(var(--fg-rgb), 0.72);
}
.bk-done-sub {
  margin: 0 0 26px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(var(--fg-rgb), 0.48);
}
.bk-done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.bk-done-again,
.bk-done-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
}
.bk-done-again {
  background: var(--accent, #22c1c3);
  color: var(--ink, #05201f);
}
.bk-done-again:hover { filter: brightness(1.08); color: var(--ink, #05201f); }
.bk-done-home {
  border: 1px solid rgba(var(--fg-rgb), 0.22);
  color: rgba(var(--fg-rgb), 0.82);
}
.bk-done-home:hover { color: rgb(var(--fg-rgb)); border-color: rgba(var(--fg-rgb), 0.4); }

/* ---------- adaptations ---------- */
@media (max-width: 900px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); }
  /* Le recap passe en premier : le client voit ce qu'il reserve avant de
     remplir le formulaire. */
  .bk-col-recap { order: -1; }
  .bk-recap { position: static; }
}

@media (max-width: 560px) {
  .bk-logo { display: none; }
  .bk-back span { display: none; }
  .bk-back { margin-right: auto; }
  .bk-row { grid-template-columns: minmax(0, 1fr); }
  .bk-row-phone { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .bk-header-total b { font-size: 16px; }
}

/* ==================== Page flotte (vehicules disponibles) ==================== */
.vh-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(22px, 3.5vh, 36px) clamp(16px, 2.8vw, 42px) clamp(48px, 8vh, 80px);
}
.vh-inner { min-width: 0; }

/* Le rappel des dates choisies dans le hero. */
.vh-trip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  padding: 16px clamp(16px, 2vw, 22px);
  margin-bottom: clamp(24px, 4vh, 38px);
  border-radius: 16px;
  background: rgba(var(--fg-rgb), 0.05);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
}
.vh-trip-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.vh-trip-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(34, 193, 195, 0.12);
  color: var(--accent-text);
}
.vh-trip-icon svg { width: 18px; height: 18px; }
.vh-trip-label {
  margin: 0 0 2px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(var(--fg-rgb), 0.45);
}
.vh-trip-value {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.vh-trip-edit {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  border-bottom: 1px solid rgba(34, 193, 195, 0.45);
  padding-bottom: 1px;
}
.vh-trip-edit:hover { color: var(--accent-text); }

/* Arrivee sans dates : on ramene vers la recherche plutot que d'afficher
   des tarifs qui ne correspondent a rien. */
.vh-trip-empty {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.vh-trip-empty-text {
  margin: 0;
  font-size: 14px;
  color: rgba(var(--fg-rgb), 0.72);
}
.vh-trip-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--accent);
  color: #05201f;
}
.vh-trip-cta:hover { filter: brightness(1.08); color: #05201f; }

.vh-main .fleet-heading { text-align: left; margin-bottom: clamp(18px, 2.6vh, 26px); }
.vh-main .fleet-title { font-size: clamp(25px, 3.4vw, 38px); }
.vh-main .fleet-filters { justify-content: flex-start; padding-left: 0; padding-right: 0; }

.vh-note {
  margin: clamp(22px, 3.4vh, 32px) 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(var(--fg-rgb), 0.42);
  max-width: 62ch;
}

@media (max-width: 640px) {
  .vh-trip { gap: 12px 18px; }
  .vh-trip-edit { margin-left: 0; }
  .vh-main .fleet-heading { text-align: center; }
  .vh-main .fleet-filters { justify-content: center; }
}

/* ============ Espace client (mise en page type Sixt, sans compte) ============ */
.ac-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 66px);
  padding: clamp(22px, 5vh, 56px) clamp(16px, 2.8vw, 42px) clamp(40px, 8vh, 80px);
}
.ac-card {
  width: 100%;
  max-width: 480px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 22px;
  background: rgba(var(--fg-rgb), 0.045);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
}
.ac-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #05201f;
  background: var(--accent);
}
.ac-title {
  margin: 0 0 12px;
  font-size: clamp(23px, 3.1vw, 29px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.ac-intro {
  margin: 0 0 clamp(20px, 3vh, 28px);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(var(--fg-rgb), 0.62);
}

/* --- panneaux connexion / inscription --- */
.ac-panel[hidden] { display: none; }

/* --- formulaires --- */
.ac-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ac-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ac-label-spaced { margin-top: 14px; }

.ac-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ac-label {
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(var(--fg-rgb), 0.78);
}
.ac-input {
  width: 100%;
  min-width: 0;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid rgba(var(--fg-rgb), 0.16);
  background: var(--field-bg);
  color: rgb(var(--fg-rgb));
  font: inherit;
  font-size: 14.5px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.ac-input::placeholder { color: rgba(var(--fg-rgb), 0.3); }
.ac-input:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(34, 193, 195, 0.18);
}
.ac-input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16);
}
.ac-error {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--danger-text);
}
.ac-error[hidden] { display: none; }

/* --- boutons --- */
.ac-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: filter .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.ac-btn svg { width: 18px; height: 18px; flex: none; }
.ac-btn-primary {
  margin-top: 16px;
  background: var(--accent);
  color: #05201f;
}
.ac-btn-primary:hover { filter: brightness(1.08); color: #05201f; }
.ac-btn-ghost {
  border-color: rgba(var(--fg-rgb), 0.2);
  color: rgba(var(--fg-rgb), 0.86);
  background: transparent;
}
.ac-btn-ghost:hover {
  color: rgb(var(--fg-rgb));
  border-color: rgba(var(--fg-rgb), 0.42);
  background: rgba(var(--fg-rgb), 0.04);
}
.ac-btn-grey {
  background: rgba(var(--fg-rgb), 0.1);
  color: rgba(var(--fg-rgb), 0.9);
}
.ac-btn-grey:hover { background: rgba(var(--fg-rgb), 0.16); color: rgb(var(--fg-rgb)); }

/* --- confirmation apres envoi --- */
.ac-done {
  display: flex;
  gap: 11px;
  margin-top: clamp(16px, 2.4vh, 22px);
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 193, 195, 0.35);
  background: rgba(34, 193, 195, 0.09);
}
.ac-done[hidden] { display: none; }
.ac-done-icon { width: 19px; height: 19px; flex: none; color: var(--accent-text); margin-top: 1px; }
.ac-done-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(var(--fg-rgb), 0.82);
}

/* --- separateurs --- */
.ac-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(20px, 3vh, 26px) 0 14px;
  font-size: 12.5px;
  color: rgba(var(--fg-rgb), 0.48);
}
.ac-sep::before,
.ac-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(var(--fg-rgb), 0.12);
}
.ac-sep span { white-space: nowrap; }

.ac-alts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ac-social { padding: 13px 18px; }
.ac-social svg { width: 21px; height: 21px; }

.ac-link {
  display: block;
  margin-top: clamp(20px, 3vh, 26px);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  color: rgba(var(--fg-rgb), 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ac-link:hover { color: rgb(var(--fg-rgb)); }
.ac-link-tight { margin-top: 10px; }

/* --- ce que l'espace contiendra --- */
.ac-more {
  margin-top: clamp(20px, 3vh, 26px);
  padding-top: clamp(18px, 2.6vh, 24px);
  border-top: 1px solid rgba(var(--fg-rgb), 0.1);
}
.ac-more summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: rgba(var(--fg-rgb), 0.8);
}
.ac-more summary::-webkit-details-marker { display: none; }
.ac-more summary::after {
  content: '+';
  float: right;
  font-weight: 500;
  color: rgba(var(--fg-rgb), 0.5);
}
.ac-more[open] summary::after { content: '\2013'; }
.ac-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ac-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(var(--fg-rgb), 0.66);
}
.ac-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ac-legal {
  margin: clamp(20px, 3vh, 26px) 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(var(--fg-rgb), 0.42);
}

/* ============ Numero de reservation et « Mes reservations » ============ */
/* Encart du numero : le meme sur la confirmation d'envoi (bk-ref) et sur la
   fiche retrouvee (mr-ref). C'est ce que le client doit repartir avec, donc
   il est donne en grand et espace, chiffre par chiffre. */
.bk-ref,
.mr-ref {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(var(--fg-rgb), 0.14);
  background: var(--field-bg);
}
.bk-ref-label,
.mr-ref-label {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--fg-rgb), 0.5);
}
.bk-ref-value,
.mr-ref-value {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 27px);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
}
.bk-ref-copy {
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--fg-rgb), 0.24);
  background: transparent;
  color: rgba(var(--fg-rgb), 0.86);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.bk-ref-copy:hover {
  color: rgb(var(--fg-rgb));
  border-color: rgba(var(--fg-rgb), 0.45);
  background: rgba(var(--fg-rgb), 0.05);
}

.mr-card { max-width: 540px; }
.mr-lookup[hidden],
.mr-result[hidden] { display: none; }
.mr-ref { text-align: left; }
.mr-status {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink, #05201f);
  background: var(--accent, #22c1c3);
}
.mr-ref-date {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: rgba(var(--fg-rgb), 0.5);
}
.mr-note {
  margin: 22px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(var(--fg-rgb), 0.5);
}
.mr-actions { justify-content: flex-start; margin-top: 20px; }
.mr-actions .bk-done-home {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
}

/* Les autres demandes faites avec la meme adresse : un rang par reservation,
   qui remplace la fiche affichee sans repasser par la recherche. */
.mr-others {
  margin-top: 26px;
  padding-top: 4px;
  border-top: 1px solid rgba(var(--fg-rgb), 0.1);
}
.mr-other {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px 14px;
  width: 100%;
  margin-bottom: 8px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(var(--fg-rgb), 0.14);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.mr-other:hover {
  border-color: rgba(var(--fg-rgb), 0.4);
  background: rgba(var(--fg-rgb), 0.04);
}
.mr-other-ref {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
}
.mr-other-car {
  min-width: 0;
  font-size: 13px;
  color: rgba(var(--fg-rgb), 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mr-other-date {
  font-size: 12px;
  white-space: nowrap;
  color: rgba(var(--fg-rgb), 0.45);
}

@media (max-width: 420px) {
  .ac-fields { grid-template-columns: 1fr; }
  .mr-other { grid-template-columns: 1fr; }
  .mr-other-car { white-space: normal; }
}

/* ============ Mentions legales ============ */
/* Page de texte : la carte de l'espace client, elargie pour que les lignes
   restent lisibles, et une liste de definitions pour l'identite de la
   societe — libelle a gauche, valeur a droite, une seule colonne sur mobile. */
.ml-card {
  max-width: 760px;
}
.ml-section {
  margin-top: clamp(24px, 4vh, 34px);
  padding-top: clamp(20px, 3vh, 26px);
  border-top: 1px solid rgba(var(--fg-rgb), 0.1);
}
.ml-title {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ml-text {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(var(--fg-rgb), 0.72);
}
.ml-text:last-child { margin-bottom: 0; }
.ml-text a,
.ml-facts a {
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--fg-rgb), 0.25);
}
.ml-text a:hover,
.ml-facts a:hover { border-bottom-color: currentColor; }

.ml-facts {
  display: grid;
  grid-template-columns: minmax(150px, 34%) 1fr;
  gap: 10px 18px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
}
.ml-facts dt {
  color: rgba(var(--fg-rgb), 0.5);
}
.ml-facts dd {
  margin: 0;
  color: rgba(var(--fg-rgb), 0.85);
}
/* Valeur encore a renseigner avant la mise en ligne : signalee, jamais muette. */
.ml-todo {
  font-style: italic;
  color: rgba(var(--fg-rgb), 0.45);
}

/* Lien discret vers les mentions legales, au pied des pages sans grand
   pied de page (reservation, connexion, vehicules, mes reservations). */
.mini-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  padding: 0 clamp(16px, 2.8vw, 42px) clamp(26px, 5vh, 40px);
  font-size: 12px;
  color: rgba(var(--fg-rgb), 0.38);
}
.mini-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mini-footer a:hover { color: rgba(var(--fg-rgb), 0.75); }

/* La carte de l'espace client remplit l'ecran : quand ce lien la suit, on lui
   reprend sa hauteur, pour ne pas ouvrir un second ecran presque vide. Les
   navigateurs sans :has ignorent la regle et posent simplement le lien plus bas. */
.ac-main:has(+ .mini-footer) {
  min-height: calc(100vh - 66px - 56px);
}

@media (max-width: 520px) {
  .ml-facts { grid-template-columns: 1fr; gap: 2px 0; }
  .ml-facts dd { margin-bottom: 10px; }
  .ml-facts dd:last-child { margin-bottom: 0; }
}
