/* =========================================================================
   Centre auto — prise de rendez-vous en 4 étapes
   S’appuie sur les jetons et composants de app.css.
   ========================================================================= */

:root { --bk-bar-h: 0px; }
@media (max-width: 899.98px) {
  /* La barre de résumé collante se loge au-dessus de la barre d’onglets : on réserve sa hauteur. */
  :root { --bk-bar-h: 76px; }
  body { padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--bk-bar-h)); }
  body:has(.bk-bar.is-gone) { padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom)); }
  body:has(.bk-bar:not(.is-hidden)) .toast-region { bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--bk-bar-h) + 10px); }
}

/* ---------- Héros ---------- */
.ca-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(390px, 60svh, 540px);
  background: var(--night); color: #fff;
}
.ca-hero__media { position: absolute; inset: 0; z-index: -2; }
.ca-hero__media picture, .ca-hero__media img { width: 100%; height: 100%; }
.ca-hero__media img { object-fit: cover; object-position: 50% 24%; }
.ca-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(10 15 29 / 0.55) 0%, rgb(10 15 29 / 0) 24%),
    linear-gradient(0deg, rgb(10 15 29 / 0.97) 8%, rgb(10 15 29 / 0.66) 40%, rgb(10 15 29 / 0) 72%);
}
.ca-hero__content { width: 100%; max-width: var(--content-max); margin-inline: auto; padding: 24px var(--gutter) 86px; }
.ca-hero__pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  background: rgb(255 255 255 / 0.12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: var(--fs-sm); font-weight: 700;
}
.ca-hero__pill .icon { color: #ff7b7e; }
.ca-hero__title { font-size: clamp(2rem, 1.15rem + 3.7vw, 3.4rem); margin-top: 12px; }
.ca-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #ff4b4f, #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ca-hero__sub { margin-top: 12px; max-width: 36ch; color: rgb(255 255 255 / 0.84); font-size: var(--fs-md); line-height: 1.45; text-wrap: pretty; }

/* ---------- Carte du Centre auto ---------- */
.ca-store-wrap { position: relative; z-index: 2; margin-top: -62px; }
.ca-store {
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  padding: 14px;
}
.ca-store__row { display: flex; align-items: center; gap: 12px; }
.ca-store__ico {
  width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--ink); color: #fff;
}
.ca-store__id { flex: 1; min-width: 0; }
.ca-store__name { font-size: 1.05rem; font-weight: 800; font-stretch: 104%; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-store__status { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 0.8rem; color: var(--muted); }
.ca-store__status .status-dot { display: inline-block; }
.ca-store__change, .bk-veh__edit {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-weight: 750; font-size: var(--fs-sm); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: box-shadow var(--dur-2), transform var(--dur-1) var(--ease-out), background-color var(--dur-2);
}
.ca-store__change:active, .bk-veh__edit:active { transform: scale(0.96); }

.ca-next {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px;
  margin-top: 12px; padding: 10px 12px; border-radius: 16px; text-align: left;
  background: var(--green-50); color: var(--ink);
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2), box-shadow var(--dur-2);
}
.ca-next:active { transform: scale(0.985); }
.ca-next__ico { position: relative; width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--green); color: #fff; }
.ca-next__ico::after { content: ''; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 99px; background: #2fd67b; box-shadow: 0 0 0 2px var(--green-50); animation: live 2.2s var(--ease-in-out) infinite; }
@keyframes live { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.7); opacity: 0.55; } }
.ca-next__txt { flex: 1; min-width: 0; font-size: 0.78rem; line-height: 1.25; color: var(--green); font-weight: 700; }
.ca-next__txt b { display: block; margin-top: 1px; font-size: 1rem; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; }
.ca-next__go { flex: none; display: inline-flex; align-items: center; gap: 3px; font-weight: 800; font-size: 0.85rem; color: var(--green); }
.ca-next.is-on .ca-next__go { height: 30px; padding: 0 10px; border-radius: 999px; background: var(--green); color: #fff; animation: cta-in 520ms var(--spring); }

.ca-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
}
.ca-stats > div { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-end; gap: 1px; padding: 0 6px; text-align: center; }
.ca-stats > div + div { border-left: 1px solid var(--line); }
.ca-stats dt { font-size: 0.7rem; line-height: 1.25; font-weight: 650; color: var(--muted); }
.ca-stats dd { margin: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 1.12rem; font-weight: 850; font-stretch: 108%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ca-stats dd .ca-star { color: var(--gold); width: 17px; height: 17px; }
.ca-skel-line { display: block; width: 7.5em; max-width: 100%; height: 1em; border-radius: 6px; }
.ca-stats .ca-skel-line { width: 3em; }

/* Rendez-vous à venir */
.ca-upcoming {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center;
  margin-top: 16px; padding: 14px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-50) 0%, var(--card) 46%);
  box-shadow: var(--shadow-1), inset 0 0 0 1.5px rgb(11 122 59 / 0.22);
}
.ca-upcoming__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: #fff; }
.ca-upcoming__lbl { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.ca-upcoming__when { font-weight: 800; line-height: 1.25; }
.ca-upcoming__meta { font-size: 0.8rem; color: var(--muted); }
.ca-upcoming__actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.ca-upcoming__actions .btn { min-height: 44px; font-size: var(--fs-sm); padding-inline: 16px; }

/* ---------- Réservation ---------- */
.bk { padding-top: 34px; padding-bottom: 8px; }
.bk-head { display: grid; gap: 18px; margin-bottom: 26px; }
.bk-eyebrow { color: var(--red-600); }
.bk-head .h2 { margin-top: 4px; }

/* Indicateur de progression */
.bk-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bk-progress li { position: relative; }
.bk-progress li + li::before, .bk-progress li + li::after {
  content: ''; position: absolute; top: 16px; height: 2px; border-radius: 2px;
  left: calc(-50% + 22px); right: calc(50% + 22px);
}
.bk-progress li + li::before { background: var(--line-2); }
.bk-progress li + li::after { background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease-out); }
.bk-progress li.is-done + li::after { transform: scaleX(1); }
.bk-progress a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 58px;
  text-decoration: none; color: var(--muted); font-size: 0.72rem; font-weight: 750; line-height: 1.15; text-align: center;
  transition: color var(--dur-2);
}
.bk-progress__dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2);
  font-size: 0.85rem; font-weight: 850; color: var(--muted);
  transition: background-color var(--dur-2), box-shadow var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--spring);
}
.bk-progress__dot > * { grid-area: 1 / 1; transition: opacity var(--dur-2), transform 380ms var(--spring); }
.bk-progress__dot .icon { opacity: 0; transform: scale(0.3); }
.bk-progress li.is-current a { color: var(--ink); }
.bk-progress li.is-current .bk-progress__dot { background: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgb(20 21 24 / 0.08); }
.bk-progress li.is-done a { color: var(--ink-3); }
.bk-progress li.is-done .bk-progress__dot { background: var(--green); color: #fff; box-shadow: none; }
.bk-progress li.is-done .bk-progress__n { opacity: 0; transform: scale(0.4); }
.bk-progress li.is-done .bk-progress__dot .icon { opacity: 1; transform: none; }

/* Étapes */
.bk-layout { display: grid; gap: 38px; }
.bk-flow { display: grid; gap: 38px; min-width: 0; }
.bk-step, .bk-recap { min-width: 0; } /* le décalage sous l’en-tête vient de scroll-padding-top (app.css) */
.bk-step__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.bk-step__num {
  position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 850; font-size: 0.95rem; font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-2);
}
.bk-step__num > * { grid-area: 1 / 1; transition: opacity var(--dur-2), transform 420ms var(--spring); }
.bk-step__num .icon { opacity: 0; transform: scale(0.3) rotate(-25deg); }
.is-done > .bk-step__head .bk-step__num { background: var(--green); }
.is-done > .bk-step__head .bk-step__num > span { opacity: 0; transform: scale(0.4); }
.is-done > .bk-step__head .bk-step__num .icon { opacity: 1; transform: none; }
.is-flash > .bk-step__head .bk-step__num { animation: flash-ring 1100ms var(--ease-out); }
@keyframes flash-ring { 0% { box-shadow: 0 0 0 0 rgb(227 25 31 / 0.55); } 100% { box-shadow: 0 0 0 16px rgb(227 25 31 / 0); } }
.bk-step__title { padding-top: 3px; font-size: 1.32rem; font-weight: 800; font-stretch: 108%; letter-spacing: -0.015em; line-height: 1.15; }
.bk-step__sub { margin-top: 3px; font-size: 0.875rem; line-height: 1.4; color: var(--muted); text-wrap: pretty; }

/* Squelettes de chargement */
.bk-skel-svc { height: 118px; }
.bk-skel-veh { height: 84px; }
.bk-skel-date { flex: none; width: 64px; height: 92px; border-radius: 16px; }
.bk-skel-slot { height: 46px; border-radius: 12px; }

/* ---------- Étape 1 : services ---------- */
.bk-services { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.svc {
  position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px;
  padding: 14px; border-radius: var(--radius); background: var(--card); cursor: pointer;
  box-shadow: var(--shadow-1), inset 0 0 0 2px transparent;
  -webkit-user-select: none; user-select: none;
  transition: box-shadow var(--dur-2), transform var(--dur-1) var(--ease-out);
}
.svc:active { transform: scale(0.985); }
.svc input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.svc:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.svc:has(input:checked) { box-shadow: var(--shadow-1), inset 0 0 0 2px var(--ink); }
.svc__ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--well); color: var(--ink-2);
  transition: background-color var(--dur-2), color var(--dur-2), transform 420ms var(--spring);
}
.svc:has(input:checked) .svc__ico { background: var(--red); color: #fff; transform: rotate(-6deg); }
.svc__body { min-width: 0; }
.svc__name { display: block; padding-right: 34px; font-weight: 750; font-size: 1rem; line-height: 1.25; letter-spacing: -0.005em; text-wrap: balance; }
.svc__sub { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 0.78rem; font-weight: 650; color: var(--muted); }
.svc__sub .badge { height: 20px; padding: 0 7px; border-radius: 999px; font-size: 0.62rem; }
.svc__desc { display: block; margin-top: 5px; font-size: 0.83rem; line-height: 1.4; color: var(--ink-3); text-wrap: pretty; }
.svc__meta { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.svc__dur {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 999px;
  background: var(--well); font-size: 0.75rem; font-weight: 700; color: var(--ink-3); white-space: nowrap;
}
.svc__price { margin-left: auto; font-weight: 850; font-size: 1.08rem; font-stretch: 106%; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc__price.is-free { color: var(--green); }
/* Service déjà au panier (réglé avec la commande) : prix régulier barré, « Inclus » en vert */
.svc__was { margin-right: 6px; font-size: 0.8rem; font-weight: 650; color: var(--muted); text-decoration: line-through; }
.svc__sub .badge--green { gap: 4px; }
.svc__sub .badge--green .icon { width: 12px; height: 12px; }
.svc__check {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 999px; color: #fff;
  box-shadow: inset 0 0 0 2px var(--line-2);
  transition: background-color var(--dur-2), box-shadow var(--dur-2);
}
.svc__check .icon { width: 16px; height: 16px; transform: scale(0); transition: transform 380ms var(--spring); }
.svc:has(input:checked) .svc__check { background: var(--ink); box-shadow: none; }
.svc:has(input:checked) .svc__check .icon { transform: scale(1); }
@media (hover: hover) {
  .bk-date:hover:not(:has(input:checked, input:disabled)) { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
  .bk-slot:hover:not(:has(input:checked, input:disabled)) { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
  .ca-store__change:hover, .bk-veh__edit:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .ca-next:hover { box-shadow: inset 0 0 0 1.5px rgb(11 122 59 / 0.35); }
  .bk-asap:hover { background: var(--ink-2); }
  .faq-item summary:hover { background: #fbfaf8; }
  .svc:hover { box-shadow: var(--shadow-2), inset 0 0 0 2px transparent; }
  .svc:has(input:checked):hover { box-shadow: var(--shadow-2), inset 0 0 0 2px var(--ink); }
}

/* ---------- Étape 2 : véhicule ---------- */
.bk-veh { padding: 14px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-1); }
.bk-veh.is-new { animation: veh-in 700ms var(--spring); }
@keyframes veh-in { from { transform: scale(0.96); box-shadow: 0 0 0 4px rgb(11 122 59 / 0.35); } }
.bk-veh__row { display: flex; align-items: center; gap: 12px; }
.bk-veh__ico { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--ink); color: #fff; }
.bk-veh__id { flex: 1; min-width: 0; }
.bk-veh__name { display: block; font-weight: 800; font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.01em; }
.bk-veh__size { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 5px; font-size: 0.8rem; line-height: 1.3; color: var(--muted); }
.bk-veh__size b { padding: 2px 8px; border-radius: 6px; background: var(--well); color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.bk-veh__tip {
  display: flex; align-items: center; gap: 10px; min-height: 48px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 0.86rem; line-height: 1.3; text-decoration: none; color: var(--ink-3);
}
.bk-veh__tip .icon:first-child { color: var(--red); }
.bk-veh__tip b { color: var(--ink); }
.bk-veh__tip .icon:last-child { margin-left: auto; color: var(--muted); }
.bk-veh__tip:hover b { text-decoration: underline; }
.bk-veh--empty {
  display: grid; justify-items: center; gap: 4px; padding: 22px 16px 18px; text-align: center;
  background: rgb(255 255 255 / 0.55); box-shadow: inset 0 0 0 1.5px var(--line-2);
  border: 0; border-radius: var(--radius);
}
.bk-veh--empty .bk-veh__ico { margin-bottom: 6px; background: var(--well); color: var(--ink); }
.bk-veh--empty p { max-width: 34ch; font-size: 0.86rem; color: var(--muted); }
.bk-veh--empty .btn { margin-top: 12px; }
.bk-cart-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--green-50); color: var(--green); font-size: 0.84rem; font-weight: 650; line-height: 1.35; }
.bk-cart-note .icon { flex: none; margin-top: 1px; }

/* ---------- Étape 3 : date et heure ---------- */
.bk-asap {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px;
  padding: 12px 12px 12px 14px; border-radius: var(--radius); text-align: left;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-1);
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2);
}
.bk-asap:active { transform: scale(0.985); }
.bk-asap__ico { width: 40px; height: 40px; border-radius: 999px; flex: none; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 6px 16px rgb(227 25 31 / 0.4); }
.bk-asap__txt { flex: 1; min-width: 0; }
.bk-asap__txt b { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }
.bk-asap__txt span { display: block; font-size: 0.82rem; color: rgb(255 255 255 / 0.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-asap__go {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 36px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 0.82rem; font-weight: 800;
  transition: background-color var(--dur-2), color var(--dur-2);
}
.bk-asap.is-on .bk-asap__go { background: #2fd67b; color: var(--night); }
.bk-asap[disabled] { opacity: 0.5; }

.bk-subhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 18px; }
.bk-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bk-fs { min-width: 0; margin: 0; padding: 0; border: 0; }
.bk-dates-nav { display: none; gap: 4px; }
.bk-dates-nav .icon-btn { box-shadow: inset 0 0 0 1.5px var(--line); background: var(--card); }
.bk-dates-nav .icon-btn:disabled { opacity: 0.35; cursor: default; }

.bk-dates {
  position: relative; display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  padding: 4px var(--gutter) 22px; margin: 0 calc(var(--gutter) * -1) -12px;
}
.bk-dates::-webkit-scrollbar { display: none; }
.bk-date {
  position: relative; flex: none; width: 70px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 9px 4px 9px; border-radius: 16px; cursor: pointer;
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color var(--dur-2), box-shadow var(--dur-2), color var(--dur-2), transform var(--dur-1) var(--ease-out);
}
.bk-date input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.bk-date:active { transform: scale(0.95); }
.bk-date:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.bk-date__wd { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.bk-date__d { font-size: 1.45rem; font-weight: 850; font-stretch: 110%; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bk-date__m { font-size: 0.7rem; font-weight: 650; color: var(--muted); }
.bk-date__n { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 0.64rem; font-weight: 800; color: var(--green); white-space: nowrap; }
.bk-date__n::before { content: ''; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.bk-date__n.is-low { color: var(--amber); }
.bk-date__n.is-none { color: var(--muted-2); }
.bk-date__n.is-none::before { display: none; }
.bk-date:has(input:checked) { background: var(--ink); color: #fff; box-shadow: 0 6px 14px rgb(20 21 24 / 0.22); }
.bk-date:has(input:checked) :is(.bk-date__wd, .bk-date__m) { color: rgb(255 255 255 / 0.7); }
.bk-date:has(input:checked) .bk-date__n { color: #5fe39b; }
.bk-date:has(input:checked) .bk-date__n.is-low { color: #ffc46b; }
.bk-date:has(input:disabled) { cursor: not-allowed; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.bk-date:has(input:disabled) :is(.bk-date__d, .bk-date__wd, .bk-date__m) { color: var(--muted-2); }

.bk-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 650; color: var(--muted); }
.bk-legend i { width: 12px; height: 12px; border-radius: 4px; margin-left: 6px; }
.bk-legend i:first-child { margin-left: 0; }
.bk-legend .is-free { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.bk-legend .is-busy { background: repeating-linear-gradient(-45deg, var(--well) 0 2px, var(--line-2) 2px 4px); }
.bk-legend .is-on { background: var(--ink); }

.bk-notice {
  display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 12px; padding: 11px 12px; border-radius: 14px;
  background: var(--amber-50); color: var(--amber); font-size: 0.85rem; font-weight: 650; line-height: 1.35;
}
.bk-notice .icon { flex: none; margin-top: 1px; }
.bk-notice[hidden] { display: none; }

.bk-slots { min-height: 150px; }
.bk-slot-group + .bk-slot-group { margin-top: 16px; }
.bk-slot-group__h { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; font-size: 0.86rem; font-weight: 750; color: var(--ink-2); }
.bk-slot-group__h small { font-size: 0.76rem; font-weight: 600; color: var(--muted); }
.bk-slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bk-slot {
  position: relative; display: grid; place-items: center; min-height: 48px; padding: 0 2px; border-radius: 12px; cursor: pointer;
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 750; font-size: 0.92rem; font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: background-color var(--dur-2), box-shadow var(--dur-2), color var(--dur-2), transform var(--dur-1) var(--ease-out);
}
.bk-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.bk-slot:active { transform: scale(0.94); }
.bk-slot:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.bk-slot:has(input:checked) { background: var(--ink); color: #fff; box-shadow: 0 8px 18px rgb(20 21 24 / 0.26); animation: slot-pop 460ms var(--spring); }
@keyframes slot-pop { 0% { transform: scale(0.9); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }
.bk-slot:has(input:disabled) {
  cursor: not-allowed; color: var(--muted-2); text-decoration: line-through; text-decoration-color: rgb(20 21 24 / 0.22);
  background: repeating-linear-gradient(-45deg, transparent 0 6px, rgb(20 21 24 / 0.045) 6px 12px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bk-slot:has(input:disabled):active { transform: none; }
.bk-slots.is-in .bk-slot { animation: slot-in 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 14ms); }
.bk-slots.is-in .bk-slot:has(input:checked) { animation: slot-in 420ms var(--ease-out) both, slot-pop 460ms var(--spring) 200ms; }
@keyframes slot-in { from { opacity: 0; transform: translateY(8px); } }
.bk-slots__skel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bk-slots__skel .bk-skel-slot:first-child { grid-column: 1 / -1; width: 30%; height: 16px; border-radius: 6px; }
.bk-slot-empty { display: grid; justify-items: center; gap: 8px; padding: 22px 12px; border-radius: var(--radius); background: rgb(255 255 255 / 0.6); text-align: center; color: var(--muted); font-size: 0.9rem; }
.bk-slot-empty .icon { color: var(--line-2); width: 32px; height: 32px; }

.bk-slot-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 22px; font-size: 0.85rem; color: var(--muted); }
.bk-slot-foot .icon { color: var(--green); }
.bk-slot-foot b { color: var(--ink); }

/* ---------- Étape 4 : récapitulatif ---------- */
.bk-recap__card { padding: 4px 16px 18px; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-2); }
.bk-facts > li {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.bk-fact__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--well); color: var(--ink-2); }
.bk-fact__lbl { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.bk-fact__val { display: block; font-weight: 750; font-size: 0.93rem; line-height: 1.3; }
.bk-fact__val small { display: block; font-weight: 600; font-size: 0.8rem; color: var(--muted); }
.bk-fact__val.is-missing { color: var(--amber); }
.bk-fact__edit {
  min-height: 44px; min-width: 44px; padding: 0 4px; font-size: 0.8rem; font-weight: 750; color: var(--red-600);
  text-decoration: underline; text-decoration-color: rgb(200 18 26 / 0.3); text-underline-offset: 3px;
}
.bk-fact__edit.is-cta { padding: 0 12px; border-radius: 999px; background: var(--amber-50); color: var(--amber); text-decoration: none; }

.bk-lines { padding: 10px 0 2px; }
.bk-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; font-size: 0.88rem; }
.bk-lines li span:first-child { min-width: 0; }
.bk-lines li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-lines .is-free { color: var(--green); }
.bk-lines li small { display: block; margin-top: 1px; font-size: 0.75rem; font-weight: 650; color: var(--green); }
.bk-lines .is-empty { color: var(--muted); }
.bk-totals { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line-2); }
.bk-totals .summary-row { padding: 3px 0; color: var(--ink-3); }
.bk-totals .summary-row span:last-child { font-variant-numeric: tabular-nums; }
.bk-totals .summary-row--total { color: var(--ink); padding-top: 8px; font-size: 1.15rem; align-items: baseline; }
.bk-totals .summary-row--total small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.bk-totals .ctmoney { margin-top: 6px; }

.bk-seg { min-width: 0; margin: 16px 0 0; padding: 0; border: 0; }
.bk-seg .bk-label { display: block; margin-bottom: 8px; padding: 0; }
.bk-seg__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bk-seg__opt { position: relative; cursor: pointer; }
.bk-seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.bk-seg__opt > span {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: center;
  min-height: 58px; padding: 9px 10px; border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow var(--dur-2), background-color var(--dur-2), transform var(--dur-1) var(--ease-out);
}
.bk-seg__opt:active > span { transform: scale(0.97); }
.bk-seg__opt .icon { grid-row: span 2; color: var(--muted); }
.bk-seg__opt b { font-size: 0.9rem; line-height: 1.2; }
.bk-seg__opt small { font-size: 0.72rem; line-height: 1.2; color: var(--muted); }
.bk-seg__opt:has(input:checked) > span { background: #fbfaf8; box-shadow: inset 0 0 0 2px var(--ink); }
.bk-seg__opt:has(input:checked) .icon { color: var(--red); }
.bk-seg__opt:has(input:focus-visible) > span { outline: 3px solid var(--focus); outline-offset: 2px; }

.bk-sms { margin-top: 10px; }
.bk-switch { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; cursor: pointer; }
.bk-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.bk-switch__txt { flex: 1; min-width: 0; }
.bk-switch__txt b { display: block; font-size: 0.92rem; }
.bk-switch__txt span { display: block; font-size: 0.76rem; color: var(--muted); }
.bk-switch__ui { position: relative; flex: none; width: 48px; height: 30px; border-radius: 999px; background: var(--line-2); transition: background-color var(--dur-2); }
.bk-switch__ui::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 99px;
  background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.25); transition: transform 360ms var(--spring);
}
.bk-switch:has(input:checked) .bk-switch__ui { background: var(--green); }
.bk-switch:has(input:checked) .bk-switch__ui::after { transform: translateX(18px); }
.bk-switch:has(input:focus-visible) .bk-switch__ui { outline: 3px solid var(--focus); outline-offset: 2px; }
.bk-phone { padding: 2px 0 4px; animation: rise 420ms var(--ease-out) both; }
.bk-phone__lbl { display: block; margin-bottom: 6px; font-size: 0.82rem; font-weight: 700; }
.bk-phone__input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: #fff;
  font-size: 16px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.bk-phone__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(26 109 255 / 0.18); }
.bk-phone__input[aria-invalid='true'] { border-color: var(--red-600); box-shadow: 0 0 0 4px rgb(227 25 31 / 0.12); }
.bk-phone__help { margin-top: 6px; font-size: 0.76rem; color: var(--muted); }
.bk-phone__help.is-error { color: var(--red-600); font-weight: 700; }

.bk-confirm { margin-top: 16px; }
.bk-confirm[aria-disabled='true'] {
  pointer-events: auto; opacity: 1; box-shadow: inset 0 0 0 1.5px var(--line-2);
  --btn-bg: var(--well); --btn-fg: var(--muted);
}
.bk-confirm[aria-disabled='true']:hover { --btn-bg: var(--line); }
.bk-confirm.is-loading, .bk-bar__cta.is-loading { pointer-events: none; }
.bk-bar__cta.is-loading .icon { display: none; }
.bk-confirm.is-loading::before, .bk-bar__cta.is-loading::before {
  content: ''; width: 20px; height: 20px; border-radius: 99px; flex: none;
  border: 2.5px solid rgb(255 255 255 / 0.35); border-top-color: #fff; animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.bk-missing { margin-top: 8px; font-size: 0.8rem; font-weight: 700; text-align: center; color: var(--amber); }
.bk-missing:empty { display: none; }
.bk-fine { margin-top: 10px; font-size: 0.75rem; line-height: 1.4; text-align: center; color: var(--muted); text-wrap: balance; }
.bk-fine .icon { display: inline-block; vertical-align: -2px; margin-right: 5px; color: var(--green); }

/* ---------- Confirmation ---------- */
.bk-done { outline: none; }
.bk-done__hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 30px 18px 24px; border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(120% 100% at 50% 0%, #1d2747 0%, var(--night) 72%);
}
.bk-done__hero::before {
  content: ''; position: absolute; left: 50%; top: -120px; z-index: -1; width: 360px; height: 300px; margin-left: -180px;
  background: radial-gradient(closest-side, rgb(47 214 123 / 0.28), rgb(47 214 123 / 0));
}
.bk-check { position: relative; width: 92px; height: 92px; margin: 0 auto 14px; }
.bk-check svg { width: 100%; height: 100%; overflow: visible; }
.bk-check circle { fill: rgb(47 214 123 / 0.12); stroke: #2fd67b; stroke-width: 4; stroke-dasharray: 264; stroke-dashoffset: 264; transform: rotate(-90deg); transform-origin: 50% 50%; animation: draw 760ms var(--ease-out) 120ms forwards; }
.bk-check path { fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 420ms var(--ease-out) 720ms forwards; }
.bk-check::after { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: check-ring 1300ms var(--ease-out) 760ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes check-ring { from { box-shadow: 0 0 0 0 rgb(47 214 123 / 0.55); } to { box-shadow: 0 0 0 26px rgb(47 214 123 / 0); } }
.bk-burst { position: absolute; left: 50%; top: 76px; z-index: -1; width: 0; height: 0; }
.bk-burst i {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 9px; background: var(--c, var(--red));
  clip-path: polygon(0 0, 100% 0, 50% 100%); opacity: 0;
  animation: burst 1100ms cubic-bezier(0.15, 0.7, 0.3, 1) 680ms forwards;
}
@keyframes burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(0.6); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
}
.bk-done__eyebrow { color: #5fe39b; }
.bk-done__title { margin-top: 6px; }
.bk-done__when { margin-top: 10px; font-size: var(--fs-lg); line-height: 1.35; color: rgb(255 255 255 / 0.88); text-wrap: balance; }
.bk-done__when b { color: #fff; }
.bk-ref {
  display: flex; align-items: center; gap: 12px; width: min(100%, 360px);
  margin: 18px auto 0; padding: 8px 8px 8px 16px; border-radius: 18px; text-align: left;
  background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
}
.bk-ref p { flex: 1; min-width: 0; }
.bk-ref p span { display: block; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); }
.bk-ref b { display: block; color: #fff; font-size: 1.02rem; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bk-ref .btn { flex: none; min-height: 44px; }
.bk-done__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; }
.bk-done__actions .btn { min-width: 0; white-space: normal; text-align: center; line-height: 1.2; }
.bk-done__actions .nw { white-space: nowrap; }
.bk-done__actions .btn--ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.3); }
.bk-done__actions .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.bk-done__body { display: grid; gap: 12px; margin-top: 12px; }
.bk-done__card { padding: 16px; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-1); }
.bk-done__card .h3 { margin-bottom: 8px; }
.bk-done__card .bk-facts > li:last-child { border-bottom: 0; }
.bk-done__card .bk-facts > li { grid-template-columns: 38px minmax(0, 1fr); }
.bk-bring li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 0.88rem; line-height: 1.4; color: var(--ink-3); }
.bk-bring .icon { flex: none; color: var(--green); }
.bk-done__more { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 750; font-size: 0.9rem; text-decoration: none; }
.bk-done__more .icon:last-child { margin-left: auto; color: var(--muted); }
.bk-demo {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 12px 14px;
  border-radius: 14px; background: var(--well); color: var(--ink-3); font-size: 0.84rem; font-weight: 650; text-align: center;
}
.bk-demo .icon { flex: none; color: var(--muted); }
.bk-done.is-in .bk-done__hero > *:not(.bk-burst) { animation: rise 760ms var(--ease-out) both; }
.bk-done.is-in .bk-done__hero > :nth-child(3) { animation-delay: 380ms; }
.bk-done.is-in .bk-done__hero > :nth-child(4) { animation-delay: 460ms; }
.bk-done.is-in .bk-done__hero > :nth-child(5) { animation-delay: 540ms; }
.bk-done.is-in .bk-done__hero > :nth-child(6) { animation-delay: 620ms; }
.bk-done.is-in .bk-done__hero > :nth-child(7) { animation-delay: 700ms; }
.bk-done.is-in .bk-done__body > * { animation: rise 760ms var(--ease-out) 760ms both; }
.bk-done.is-in .bk-done__body > :nth-child(2) { animation-delay: 860ms; }

/* ---------- Barre de résumé collante (mobile) ---------- */
.bk-bar {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-bottom)); z-index: 55;
  background: rgb(255 255 255 / 0.95);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 -12px 30px rgb(20 21 24 / 0.08);
  transition: transform 420ms var(--ease-out), opacity 260ms, visibility 0s linear 0s;
}
.bk-bar.is-hidden {
  transform: translateY(calc(100% + 6px)); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 360ms var(--ease-in-out), opacity 260ms, visibility 0s linear 360ms;
}
.bk-bar__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; height: 3px; }
.bk-bar__track span { position: relative; overflow: hidden; background: var(--line); }
.bk-bar__track span::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), #ff6a3d);
  transform: scaleX(0); transform-origin: left; transition: transform 560ms var(--ease-out);
}
.bk-bar__track span.is-done::after { transform: scaleX(1); }
.bk-bar__inner { display: flex; align-items: center; gap: 12px; max-width: 640px; min-height: 73px; margin-inline: auto; padding: 8px var(--gutter); }
.bk-bar__info { flex: 1; min-width: 0; }
.bk-bar__sum { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.bk-bar__sum b { font-size: 1.22rem; font-weight: 850; font-stretch: 106%; letter-spacing: -0.02em; }
.bk-bar__dur { display: inline-flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 700; color: var(--muted); }
.bk-bar__dur::before { content: ''; width: 4px; height: 4px; border-radius: 99px; background: var(--line-2); }
.bk-bar__hint { margin-top: 1px; font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-bar__hint.is-ready { color: var(--ink); font-weight: 750; }
.bk-bar__hint .icon { display: inline-block; vertical-align: -2px; margin-right: 4px; color: var(--green); }
.bk-bar__cta { flex: none; min-height: 50px; padding: 0 18px; }
.bk-bar__cta.is-ready { animation: cta-in 520ms var(--spring); }
@keyframes cta-in { 0% { transform: scale(0.92); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }

/* ---------- Engagements ---------- */
.ca-promise { margin-top: 16px; }

/* ---------- FAQ ---------- */
.ca-faq__head { max-width: 640px; margin-bottom: 18px; }
.ca-faq__head .h2 { margin-top: 4px; }
.ca-faq__head p { margin-top: 8px; }
.ca-faq__list { overflow: hidden; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-1); interpolate-size: allow-keywords; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px;
  padding: 12px 14px 12px 18px; cursor: pointer; list-style: none;
  font-weight: 750; font-size: 0.98rem; line-height: 1.3; letter-spacing: -0.005em;
  transition: background-color var(--dur-2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: 0; }
.faq-item__chev {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  background: var(--well); transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2), color var(--dur-2);
}
.faq-item[open] .faq-item__chev { transform: rotate(180deg); background: var(--ink); color: #fff; }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size 380ms var(--ease-out), content-visibility 380ms allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-item__body { padding: 0 18px 18px; font-size: 0.93rem; line-height: 1.58; color: var(--ink-3); }
.faq-item__body p + p { margin-top: 8px; }
.faq-item__body a { color: var(--red-600); font-weight: 700; }
.faq-item__body sup { font-size: 0.65em; }
.faq-checks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.faq-checks .icon { flex: none; margin-top: 2px; color: var(--green); }

.ca-call {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding: 14px;
  border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-1);
}
.ca-call__ico { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); }
.ca-call p { flex: 1; min-width: 150px; font-size: 0.86rem; line-height: 1.35; color: var(--muted); }
.ca-call p b { display: block; font-size: 0.98rem; color: var(--ink); }
.ca-call .ca-call__num {
  flex: 1 1 100%; min-width: 0; display: grid; justify-items: start; gap: 1px; padding-left: 56px;
  color: var(--ink); font-weight: 800; font-size: 1.02rem; font-variant-numeric: tabular-nums;
}
.ca-call .ca-call__num small { font-size: 0.72rem; font-weight: 650; color: var(--muted); }

/* ---------- Petits téléphones (≤ 380 px) ---------- */
@media (max-width: 380px) {
  .bk-done__hero { padding-inline: 14px; }
  .bk-ref { gap: 8px; padding-left: 12px; }
  .bk-ref b { font-size: 0.95rem; letter-spacing: 0.03em; }
  .bk-done__actions .btn { padding-inline: 14px; }
  .ca-store__ico { display: none; }
  .ca-next__go span, .bk-asap__go span { display: none; }
  .bk-asap__go { padding: 0; }
  .bk-asap__ico { width: 36px; height: 36px; }
}

/* ---------- ≥ 600 px ---------- */
@media (min-width: 600px) {
  .ca-store { padding: 18px; }
  .bk-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-slot-grid, .bk-slots__skel { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bk-done__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  /* Côte à côte, à leur largeur naturelle (pas de colonne étirée sur toute la carte) */
  .bk-done__actions { grid-template-columns: none; grid-auto-flow: column; justify-content: center; }
  .bk-done__actions .btn { white-space: nowrap; }
  .ca-call .ca-call__num { flex: none; padding-left: 0; justify-items: end; text-align: right; }
  .ca-upcoming { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .ca-upcoming__actions { grid-column: auto; }
}
@media (min-width: 600px) and (hover: hover) {
  .bk-dates-nav { display: inline-flex; }
}

/* ---------- Bureau ---------- */
@media (min-width: 900px) {
  .ca-hero { min-height: 540px; background: radial-gradient(90% 120% at 0% 100%, #18233f 0%, var(--night) 60%); }
  .ca-hero__media { left: 42%; }
  .ca-hero__media img { object-position: 50% 30%; }
  .ca-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgb(10 15 29 / 0.6) 18%, rgb(10 15 29 / 0) 46%); }
  .ca-hero::after { background: linear-gradient(0deg, rgb(10 15 29 / 0.6), rgb(10 15 29 / 0) 36%); }
  .ca-hero__content { align-self: center; padding-block: 64px 132px; }
  .ca-hero__content > * { max-width: 560px; }
  .ca-hero__title { font-size: clamp(3rem, 1.4rem + 2.8vw, 4.4rem); }
  .ca-hero__sub { font-size: var(--fs-lg); }
  .ca-store-wrap { margin-top: -104px; }
  .ca-store { max-width: 620px; padding: 20px 22px; }
  .ca-upcoming { max-width: 620px; }

  .bk { padding-top: 52px; }
  .bk-head { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: end; gap: 32px; }
  .bk-layout { grid-template-columns: minmax(0, 1fr) 390px; gap: 44px; align-items: start; }
  /* Récapitulatif collant : le contenu défile au besoin, le bouton de confirmation reste toujours visible. */
  .bk-recap {
    position: sticky; top: calc(var(--header-h) + 20px);
    display: flex; flex-direction: column; max-height: calc(100dvh - var(--header-h) - 40px);
    transition: top var(--dur-3) var(--ease-out), max-height var(--dur-3) var(--ease-out);
  }
  body:has(.site-header.is-hidden) .bk-recap { top: 20px; max-height: calc(100dvh - 40px); }
  .bk-recap > .bk-step__head { flex: none; }
  .bk-recap__card { display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; }
  .bk-recap__body {
    min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 4px 18px 24px;
    mask-image: linear-gradient(180deg, #000 calc(100% - 24px), transparent);
  }
  .bk-recap__foot { flex: none; padding: 4px 18px 16px; box-shadow: 0 -1px 0 var(--line); }
  .bk-dates {
    margin-inline: -6px; padding-inline: 6px; scroll-padding-inline: 6px;
    --fade-l: 0px; --fade-r: 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  }
  .bk-dates.is-scrolled { --fade-l: 40px; }
  .bk-dates.is-end { --fade-r: 0px; }
  .bk-bar { display: none; }

  .bk-done__hero { padding: 44px 32px 34px; }

  .ca-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); column-gap: 48px; align-items: start; }
  .ca-faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
  .ca-call { grid-column: 2; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .bk-slots.is-in .bk-slot, .bk-done.is-in *, .bk-phone { animation: none !important; }
  .bk-check circle, .bk-check path { animation: none !important; stroke-dashoffset: 0; }
  .bk-burst { display: none; }
  .ca-next__ico::after { animation: none; }
}
