/*
 * Clean Isère — Réservation
 * Premium UI v3 — grandes cartes conversion
 * La logique métier reste portée par booking-app.js ; ce fichier ne modifie que la présentation.
 */

.cis-booking,
.cis-booking *,
.cis-booking *::before,
.cis-booking *::after {
  box-sizing: border-box;
}

.cis-booking {
  --cis-canvas: #f4f1e9;
  --cis-canvas-strong: #ebe5d7;
  --cis-surface: #ffffff;
  --cis-surface-soft: #fbfaf7;
  --cis-surface-warm: #f7f0dc;
  --cis-ink: #111215;
  --cis-ink-soft: #303238;
  --cis-muted: #696b72;
  --cis-muted-light: #91939a;
  --cis-gold: #d8b23e;
  --cis-gold-light: #f1d66f;
  --cis-gold-dark: #8d6f11;
  --cis-gold-wash: rgba(216, 178, 62, 0.13);
  --cis-dark: #0e0f11;
  --cis-dark-soft: #17191d;
  --cis-success: #17663d;
  --cis-success-surface: #eef8f2;
  --cis-error: #9b1c1c;
  --cis-error-surface: #fff3f1;
  --cis-border: rgba(17, 18, 21, 0.1);
  --cis-border-strong: rgba(17, 18, 21, 0.2);
  --cis-border-dark: rgba(255, 255, 255, 0.12);
  --cis-radius-xs: 10px;
  --cis-radius-sm: 14px;
  --cis-radius: 20px;
  --cis-radius-lg: 28px;
  --cis-radius-xl: 34px;
  --cis-shadow-sm: 0 8px 24px rgba(17, 18, 21, 0.07);
  --cis-shadow: 0 22px 70px rgba(17, 18, 21, 0.11);
  --cis-shadow-strong: 0 30px 90px rgba(17, 18, 21, 0.16);
  --cis-preview-bar-inset: 0px;

  position: relative;
  isolation: isolate;
  width: min(100%, 1240px);
  max-width: 1240px;
  margin: clamp(18px, 3vw, 44px) auto;
  padding: clamp(8px, 1vw, 12px);
  overflow: hidden;
  color: var(--cis-ink);
  color-scheme: light;
  background:
    radial-gradient(circle at 8% 2%, rgba(216, 178, 62, 0.18), transparent 28%),
    radial-gradient(
      circle at 92% 88%,
      rgba(216, 178, 62, 0.12),
      transparent 32%
    ),
    linear-gradient(145deg, #f8f6f1 0%, var(--cis-canvas) 52%, #eeeadf 100%);
  border: 1px solid rgba(17, 18, 21, 0.08);
  border-radius: var(--cis-radius-xl);
  box-shadow: var(--cis-shadow-strong);
  font-family:
    Poppins,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cis-booking [hidden] {
  display: none !important;
}

.cis-booking button,
.cis-booking input,
.cis-booking select,
.cis-booking textarea {
  font-family: inherit;
}

.cis-booking button,
.cis-booking a,
.cis-booking label,
.cis-booking input,
.cis-booking select,
.cis-booking textarea {
  -webkit-tap-highlight-color: transparent;
}

.cis-booking h2,
.cis-booking h3,
.cis-booking p,
.cis-booking ul,
.cis-booking ol {
  margin-top: 0;
}

.cis-booking h2,
.cis-booking h3,
.cis-booking strong {
  text-wrap: balance;
}

.cis-booking h2,
.cis-booking h3 {
  color: inherit;
  font-family:
    Inter,
    Poppins,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.08;
}

.cis-booking a {
  color: inherit;
}

.cis-booking__anchor {
  position: absolute;
  top: -96px;
  display: block;
  width: 1px;
  height: 1px;
  scroll-margin-top: 110px;
}

.cis-booking__ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cis-booking__ambient span {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(216, 178, 62, 0.18);
  border-radius: 50%;
}

.cis-booking__ambient span:first-child {
  top: -150px;
  right: -95px;
}

.cis-booking__ambient span:last-child {
  bottom: -175px;
  left: -110px;
  width: 330px;
  height: 330px;
}

.cis-booking__frame {
  display: grid;
  gap: 12px;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.cis-booking__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 66px);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      620px 330px at 9% 0%,
      rgba(216, 178, 62, 0.28),
      transparent 66%
    ),
    radial-gradient(
      420px 260px at 100% 100%,
      rgba(216, 178, 62, 0.12),
      transparent 72%
    ),
    linear-gradient(135deg, #17191d 0%, #0e0f11 58%, #08090a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--cis-radius-xl) - 4px);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.26);
}

.cis-booking__hero::before {
  position: absolute;
  top: -120px;
  right: 12%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(216, 178, 62, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cis-booking__hero::after {
  position: absolute;
  right: -88px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cis-booking__hero-copy,
.cis-booking__hero-card {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.cis-booking__brandline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cis-booking__brand-mark {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cis-gold);
  box-shadow: 0 0 0 6px rgba(216, 178, 62, 0.15);
  flex: 0 0 auto;
}

.cis-booking__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 17px;
  padding: 7px 12px;
  color: #f4d66c;
  background: rgba(216, 178, 62, 0.1);
  border: 1px solid rgba(216, 178, 62, 0.27);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.cis-booking__hero h1,
.cis-booking__hero h2 {
  max-width: 800px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.55rem, 5.4vw, 5.15rem);
  font-weight: 920;
  letter-spacing: -0.058em;
  line-height: 0.96;
}

.cis-booking__intro {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.68;
}

.cis-booking__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cis-booking__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 760;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cis-booking__trust li::before {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #151515;
  background: var(--cis-gold);
  border-radius: 50%;
  content: "✓";
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 950;
}

.cis-booking__hero-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cis-booking__hero-card-label {
  margin: 0 0 16px;
  color: #f2cf61;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cis-booking__hero-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cis-booking__hero-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 14px 0;
}

.cis-booking__hero-steps li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cis-booking__hero-steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #181818;
  background: linear-gradient(145deg, var(--cis-gold-light), var(--cis-gold));
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(216, 178, 62, 0.16);
  font-size: 0.72rem;
  font-weight: 950;
}

.cis-booking__hero-steps strong,
.cis-booking__hero-steps small {
  display: block;
}

.cis-booking__hero-steps strong {
  color: #ffffff;
  font-size: 0.93rem;
  font-weight: 850;
}

.cis-booking__hero-steps small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.35;
}

.cis-booking__hero-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.cis-booking__hero-support span {
  color: rgba(255, 255, 255, 0.55);
}

.cis-booking__hero-support a {
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Booking panel and progress
   -------------------------------------------------------------------------- */

.cis-booking__panel {
  min-width: 0;
  padding: clamp(16px, 2.4vw, 30px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: calc(var(--cis-radius-xl) - 4px);
  box-shadow: var(--cis-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cis-booking__progress-wrap {
  padding: 17px 18px 15px;
  background: linear-gradient(145deg, #fffdf8, #f7f1e1);
  border: 1px solid rgba(141, 111, 17, 0.16);
  border-radius: 18px;
}

.cis-booking__progress-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.cis-booking__progress-label {
  margin: 0;
  color: var(--cis-ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.cis-booking__progress-hint {
  color: var(--cis-muted);
  font-size: 0.74rem;
}

.cis-booking__progress {
  display: block;
  width: 100%;
  height: 9px;
  overflow: hidden;
  appearance: none;
  background: rgba(17, 18, 21, 0.09);
  border: 0;
  border-radius: 999px;
}

.cis-booking__progress::-webkit-progress-bar {
  background: rgba(17, 18, 21, 0.09);
  border-radius: 999px;
}

.cis-booking__progress::-webkit-progress-value {
  background: linear-gradient(
    90deg,
    #af8813 0%,
    var(--cis-gold) 55%,
    var(--cis-gold-light) 100%
  );
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(216, 178, 62, 0.35);
  transition: width 220ms ease;
}

.cis-booking__progress::-moz-progress-bar {
  background: linear-gradient(
    90deg,
    #af8813 0%,
    var(--cis-gold) 55%,
    var(--cis-gold-light) 100%
  );
  border-radius: 999px;
}

.cis-booking__milestones {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--cis-muted-light);
  font-size: 0.66rem;
  font-weight: 760;
}

.cis-booking__status {
  min-height: 25px;
  margin: 10px 2px 12px;
  color: var(--cis-muted);
  font-size: 0.82rem;
}

.cis-booking__status:empty {
  min-height: 0;
  margin-bottom: 4px;
}

.cis-booking[aria-busy="true"] .cis-booking__status::before {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 8px;
  border: 2px solid rgba(17, 18, 21, 0.16);
  border-top-color: var(--cis-gold-dark);
  border-radius: 50%;
  content: "";
  vertical-align: -1px;
  animation: cis-booking-spin 700ms linear infinite;
}

@keyframes cis-booking-spin {
  to {
    transform: rotate(360deg);
  }
}

.cis-booking__error {
  margin: 12px 0 16px;
  padding: 17px 18px;
  color: var(--cis-error);
  background: linear-gradient(145deg, #fff8f6, var(--cis-error-surface));
  border: 1px solid rgba(155, 28, 28, 0.22);
  border-left: 4px solid var(--cis-error);
  border-radius: var(--cis-radius-sm);
  box-shadow: var(--cis-shadow-sm);
}

.cis-booking__error strong,
.cis-booking__error p {
  display: block;
  margin-bottom: 5px;
}

.cis-booking__error p:last-of-type {
  margin-bottom: 11px;
}

.cis-booking__error-action {
  min-height: 44px;
  padding: 9px 15px;
  color: #ffffff;
  background: var(--cis-error);
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.cis-booking__error-action:hover {
  box-shadow: 0 10px 24px rgba(155, 28, 28, 0.2);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Stage and summary
   -------------------------------------------------------------------------- */

.cis-booking__layout {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.cis-booking__stage,
.cis-booking__aside {
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 22px;
}

.cis-booking__stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216, 178, 62, 0.085),
      transparent 30%
    ),
    var(--cis-surface);
  border: 1px solid var(--cis-border);
  box-shadow: 0 18px 48px rgba(17, 18, 21, 0.07);
}

.cis-booking__stage::before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 74px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--cis-gold-dark),
    var(--cis-gold-light)
  );
  border-radius: 0 0 999px 999px;
  content: "";
}

.cis-booking__aside {
  color: #ffffff;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216, 178, 62, 0.18),
      transparent 34%
    ),
    linear-gradient(145deg, #1a1c20, #0e0f11 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(14, 15, 17, 0.2);
}

.cis-booking__step-title {
  max-width: 760px;
  margin: 0 0 9px;
  color: var(--cis-ink);
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.cis-booking__step-title:focus {
  outline: 3px solid rgba(216, 178, 62, 0.62);
  outline-offset: 5px;
  border-radius: 5px;
}

.cis-booking__step-description {
  max-width: 730px;
  margin: 0 0 24px;
  color: var(--cis-muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.cis-booking__choices,
.cis-booking__slots {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  min-width: 0;
}

.cis-booking__choice {
  position: relative;
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 102px;
  padding: 18px;
  overflow: hidden;
  color: var(--cis-ink);
  background: linear-gradient(145deg, #ffffff 0%, #fbfaf7 100%);
  border: 1px solid var(--cis-border-strong);
  border-radius: 16px;
  box-shadow: 0 9px 22px rgba(17, 18, 21, 0.035);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease,
    background 170ms ease;
}

.cis-booking__choice::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cis-gold), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.cis-booking__choice:hover:not(:disabled) {
  border-color: rgba(141, 111, 17, 0.48);
  box-shadow: 0 16px 34px rgba(17, 18, 21, 0.09);
  transform: translateY(-3px);
}

.cis-booking__choice:hover:not(:disabled)::after,
.cis-booking__choice[aria-pressed="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.cis-booking__choice:active:not(:disabled) {
  transform: translateY(-1px);
}

.cis-booking__choice[aria-pressed="true"] {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216, 178, 62, 0.15),
      transparent 38%
    ),
    #fffdf7;
  border: 2px solid var(--cis-dark);
  box-shadow:
    0 0 0 4px rgba(216, 178, 62, 0.18),
    0 18px 38px rgba(17, 18, 21, 0.09);
}

.cis-booking__choice:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.cis-booking__choice-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.cis-booking__choice-header strong,
.cis-booking__check-body strong {
  color: var(--cis-ink);
  font-family: Inter, Poppins, system-ui, sans-serif;
  font-size: 1.04rem;
  font-weight: 850;
  letter-spacing: -0.018em;
}

.cis-booking__choice-marker {
  flex: 0 0 auto;
  min-height: 27px;
  padding: 6px 9px;
  color: #6d550a;
  background: var(--cis-gold-wash);
  border: 1px solid rgba(141, 111, 17, 0.16);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.cis-booking__choice[aria-pressed="true"] .cis-booking__choice-marker {
  color: #111215;
  background: linear-gradient(145deg, var(--cis-gold-light), var(--cis-gold));
  border-color: transparent;
}

.cis-booking__choice-copy {
  display: block;
  color: var(--cis-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cis-booking__choice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--cis-ink-soft);
  font-size: 0.77rem;
  font-weight: 820;
}

.cis-booking__choice-meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  background: #f2efe7;
  border: 1px solid rgba(17, 18, 21, 0.06);
  border-radius: 999px;
}

.cis-booking[data-step="category"] .cis-booking__choice,
.cis-booking[data-step="formula"] .cis-booking__choice {
  min-height: 148px;
}

.cis-booking[data-step="slot"] .cis-booking__choice {
  min-height: 82px;
  align-content: center;
}

.cis-booking__check-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 12px;
  min-height: 86px;
  padding: 17px;
  color: var(--cis-ink);
  background: linear-gradient(145deg, #ffffff, #fbfaf7);
  border: 1px solid var(--cis-border-strong);
  border-radius: 16px;
  cursor: pointer;
  transition:
    border-color 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease;
}

.cis-booking__check-card:hover {
  border-color: rgba(141, 111, 17, 0.48);
  box-shadow: var(--cis-shadow-sm);
  transform: translateY(-2px);
}

.cis-booking__check-card:has(input:checked) {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216, 178, 62, 0.15),
      transparent 38%
    ),
    #fffdf7;
  border: 2px solid var(--cis-dark);
  box-shadow: 0 0 0 4px rgba(216, 178, 62, 0.18);
}

.cis-booking__check-card input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--cis-dark);
}

.cis-booking__check-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.cis-booking__empty {
  padding: 22px;
  color: var(--cis-muted);
  background: linear-gradient(145deg, #faf9f5, #f2efe7);
  border: 1px dashed rgba(17, 18, 21, 0.22);
  border-radius: 16px;
}

.cis-booking__empty--positive {
  color: #5d4b0d;
  background: linear-gradient(145deg, #fffdf7, #f7efd8);
  border-style: solid;
  border-color: rgba(141, 111, 17, 0.24);
}

.cis-booking__empty strong,
.cis-booking__empty p {
  display: block;
  margin-bottom: 5px;
}

.cis-booking__empty strong {
  color: var(--cis-ink);
}

.cis-booking__empty p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.cis-booking__form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.cis-booking__field {
  min-width: 0;
}

.cis-booking__field label {
  display: block;
  margin-bottom: 8px;
  color: var(--cis-ink);
  font-size: 0.83rem;
  font-weight: 850;
}

.cis-booking__optional {
  color: var(--cis-muted);
  font-weight: 500;
}

.cis-booking__field-help {
  margin: -3px 0 8px;
  color: var(--cis-muted);
  font-size: 0.78rem;
}

.cis-booking input,
.cis-booking select,
.cis-booking textarea {
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  color: var(--cis-ink);
  background: #ffffff;
  border: 1px solid rgba(17, 18, 21, 0.22);
  border-radius: 13px;
  box-shadow: inset 0 1px 2px rgba(17, 18, 21, 0.025);
  font: inherit;
  font-size: 16px;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.cis-booking select {
  cursor: pointer;
}

.cis-booking textarea {
  min-height: 126px;
  resize: vertical;
}

.cis-booking input:hover,
.cis-booking select:hover,
.cis-booking textarea:hover {
  border-color: rgba(17, 18, 21, 0.42);
}

.cis-booking input:focus,
.cis-booking select:focus,
.cis-booking textarea:focus {
  border-color: var(--cis-gold-dark);
  box-shadow: 0 0 0 4px rgba(216, 178, 62, 0.16);
  outline: none;
}

.cis-booking input[aria-invalid="true"],
.cis-booking select[aria-invalid="true"],
.cis-booking textarea[aria-invalid="true"] {
  border-color: var(--cis-error);
  box-shadow: 0 0 0 3px rgba(155, 28, 28, 0.1);
}

.cis-booking__field-error {
  margin: 7px 0 0;
  color: var(--cis-error);
  font-size: 0.78rem;
  font-weight: 750;
}

.cis-booking__date-field {
  max-width: 440px;
}

.cis-booking__zone,
.cis-booking__notice {
  margin-top: 18px;
  padding: 17px 18px;
  color: var(--cis-ink);
  background: linear-gradient(145deg, #fffdf7, #f7efd8);
  border: 1px solid rgba(141, 111, 17, 0.24);
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(141, 111, 17, 0.06);
}

.cis-booking__zone {
  border-left: 4px solid var(--cis-gold);
}

.cis-booking__zone strong,
.cis-booking__zone p,
.cis-booking__notice strong,
.cis-booking__notice p {
  display: block;
  margin-bottom: 5px;
}

.cis-booking__zone p:last-child,
.cis-booking__notice p:last-child {
  margin-bottom: 0;
}

.cis-booking__zone-price {
  color: var(--cis-gold-dark);
  font-weight: 850;
}

.cis-booking__notice--review {
  background: linear-gradient(145deg, #f6f3ed, #e9e2d5);
  border-color: rgba(17, 18, 21, 0.14);
  box-shadow: none;
}

.cis-booking__slot-count {
  margin-bottom: 13px;
  color: var(--cis-muted);
  font-size: 0.84rem;
  font-weight: 850;
}

/* --------------------------------------------------------------------------
   Summary and confirmation
   -------------------------------------------------------------------------- */

.cis-booking__summary-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--cis-border);
  border-radius: 15px;
}

.cis-booking__summary-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--cis-border);
}

.cis-booking__summary-row:last-child {
  border-bottom: 0;
}

.cis-booking__summary-row span {
  color: var(--cis-muted);
  font-size: 0.77rem;
}

.cis-booking__summary-row strong {
  min-width: 0;
  color: var(--cis-ink);
  font-size: 0.82rem;
  text-align: right;
}

.cis-booking__aside-title {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 880;
  letter-spacing: -0.025em;
}

.cis-booking__aside .cis-booking__summary-card {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.11);
}

.cis-booking__aside .cis-booking__summary-row {
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.cis-booking__aside .cis-booking__summary-row span {
  color: rgba(255, 255, 255, 0.52);
}

.cis-booking__aside .cis-booking__summary-row strong {
  color: #ffffff;
}

.cis-booking__confirmation-hero {
  position: relative;
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216, 178, 62, 0.28),
      transparent 40%
    ),
    linear-gradient(145deg, #1a1c20, #0e0f11 72%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(14, 15, 17, 0.2);
}

.cis-booking__confirmation-hero::after {
  position: absolute;
  right: -55px;
  bottom: -85px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(216, 178, 62, 0.18);
  border-radius: 50%;
  content: "";
}

.cis-booking__confirmation-hero--review {
  color: var(--cis-ink);
  background: linear-gradient(145deg, #fffdf7, #e9e2d5);
  border-color: rgba(17, 18, 21, 0.12);
  box-shadow: var(--cis-shadow-sm);
}

.cis-booking__confirmation-kicker {
  position: relative;
  z-index: 1;
  color: var(--cis-gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cis-booking__confirmation-hero--review .cis-booking__confirmation-kicker {
  color: var(--cis-gold-dark);
}

.cis-booking__confirmation-title {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: inherit;
  font-family: Inter, Poppins, system-ui, sans-serif;
  font-size: clamp(1.45rem, 4.4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.cis-booking__reference {
  position: relative;
  z-index: 1;
  justify-self: start;
  margin-top: 7px;
  padding: 8px 11px;
  color: var(--cis-ink);
  background: linear-gradient(145deg, var(--cis-gold-light), var(--cis-gold));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 9px 24px rgba(216, 178, 62, 0.18);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 900;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.cis-booking__navigation {
  position: sticky;
  z-index: 5;
  bottom: var(--cis-preview-bar-inset, 0px);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 11px;
  margin: 18px 0 0;
  padding: 13px;
  padding-bottom: calc(13px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid var(--cis-border);
  border-radius: 17px;
  box-shadow: 0 16px 42px rgba(17, 18, 21, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cis-booking__navigation-context {
  display: none;
}

.cis-booking__navigation:has(.cis-booking__secondary-button[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}

.cis-booking__primary-button,
.cis-booking__secondary-button {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.cis-booking__primary-button {
  color: #111215;
  background: linear-gradient(145deg, var(--cis-gold-light), var(--cis-gold));
  border: 1px solid rgba(141, 111, 17, 0.35);
  box-shadow: 0 11px 25px rgba(141, 111, 17, 0.18);
}

.cis-booking__primary-button:hover:not(:disabled) {
  background: linear-gradient(145deg, #f5dc78, #cfa72e);
  box-shadow: 0 15px 32px rgba(141, 111, 17, 0.24);
  transform: translateY(-2px);
}

.cis-booking__secondary-button {
  color: var(--cis-ink);
  background: #ffffff;
  border: 1px solid var(--cis-border-strong);
}

.cis-booking__secondary-button:hover:not(:disabled) {
  background: #f6f3ec;
  border-color: rgba(17, 18, 21, 0.34);
  transform: translateY(-1px);
}

.cis-booking button:disabled,
.cis-booking input:disabled,
.cis-booking select:disabled,
.cis-booking textarea:disabled {
  cursor: wait;
  opacity: 0.52;
}

/* --------------------------------------------------------------------------
   Media upload
   -------------------------------------------------------------------------- */

.cis-booking__media {
  min-width: 0;
  margin: 24px 0 0;
  padding: 20px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216, 178, 62, 0.12),
      transparent 36%
    ),
    #fffdf8;
  border: 1px solid rgba(141, 111, 17, 0.22);
  border-radius: 17px;
}

.cis-booking__media legend {
  padding-inline: 6px;
  color: var(--cis-ink);
  font-family: Inter, Poppins, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
}

.cis-booking__media-copy,
.cis-booking__media-hint,
.cis-booking__media-counter {
  margin: 0 0 8px;
}

.cis-booking__media-copy {
  color: var(--cis-ink-soft);
  font-size: 0.84rem;
}

.cis-booking__media-hint {
  color: var(--cis-muted);
  font-size: 0.76rem;
}

.cis-booking__media-counter {
  color: var(--cis-gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.cis-booking__media-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.cis-booking__media-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 15px;
  color: var(--cis-ink);
  background: #ffffff;
  border: 1px solid var(--cis-border-strong);
  border-radius: 12px;
  font-weight: 880;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.cis-booking__media-action:hover:not([aria-disabled="true"]) {
  background: var(--cis-surface-warm);
  border-color: var(--cis-gold-dark);
  transform: translateY(-1px);
}

.cis-booking__media-action[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.52;
}

.cis-booking .cis-booking__visually-hidden-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cis-booking__media-action:has(input:focus-visible) {
  outline: 3px solid rgba(216, 178, 62, 0.64);
  outline-offset: 3px;
}

.cis-booking__media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.cis-booking__media-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 13px;
  min-width: 0;
  padding: 11px;
  background: #ffffff;
  border: 1px solid var(--cis-border-strong);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(17, 18, 21, 0.04);
}

.cis-booking__media-preview,
.cis-booking__media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  object-fit: cover;
  color: var(--cis-muted);
  background: #f2efe7;
  border-radius: 11px;
  font-size: 0.68rem;
  text-align: center;
}

.cis-booking__media-card-body {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.cis-booking__media-status {
  color: var(--cis-muted);
  font-size: 0.77rem;
  overflow-wrap: anywhere;
}

.cis-booking__media-status--error {
  color: var(--cis-error);
  font-weight: 750;
}

.cis-booking__media-progress {
  width: 100%;
  min-height: 10px;
  accent-color: var(--cis-gold);
}

.cis-booking__media-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cis-booking__media-retry,
.cis-booking__media-remove {
  min-height: 42px;
  padding: 8px 11px;
  color: var(--cis-ink);
  background: #ffffff;
  border: 1px solid var(--cis-border-strong);
  border-radius: 9px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 880;
  cursor: pointer;
}

.cis-booking__media-retry {
  background: linear-gradient(145deg, var(--cis-gold-light), var(--cis-gold));
  border-color: rgba(141, 111, 17, 0.24);
}

/* --------------------------------------------------------------------------
   Support footer and no-script
   -------------------------------------------------------------------------- */

.cis-booking__support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  color: var(--cis-ink);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(17, 18, 21, 0.08);
  border-radius: 19px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cis-booking__support-copy {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.cis-booking__support-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #111215;
  background: linear-gradient(145deg, var(--cis-gold-light), var(--cis-gold));
  border-radius: 13px;
  flex: 0 0 auto;
  font-weight: 950;
}

.cis-booking__support-copy strong,
.cis-booking__support-copy p {
  display: block;
  margin: 0;
}

.cis-booking__support-copy strong {
  font-size: 0.9rem;
  font-weight: 880;
}

.cis-booking__support-copy p {
  margin-top: 2px;
  color: var(--cis-muted);
  font-size: 0.77rem;
}

.cis-booking__support-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.cis-booking__support-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: var(--cis-ink);
  background: #ffffff;
  border: 1px solid var(--cis-border-strong);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.cis-booking__support-actions a:first-child {
  color: #ffffff;
  background: var(--cis-dark);
  border-color: var(--cis-dark);
}

.cis-booking__support-actions a:hover {
  border-color: var(--cis-gold-dark);
  transform: translateY(-1px);
}

.cis-booking__noscript {
  display: block;
  margin: 14px;
  padding: 15px;
  color: var(--cis-error);
  background: var(--cis-error-surface);
  border-radius: var(--cis-radius-sm);
  font-weight: 750;
}

/* --------------------------------------------------------------------------
   Focus, disabled and accessibility
   -------------------------------------------------------------------------- */

.cis-booking button:focus-visible,
.cis-booking input:focus-visible,
.cis-booking select:focus-visible,
.cis-booking textarea:focus-visible,
.cis-booking a:focus-visible {
  outline: 3px solid rgba(216, 178, 62, 0.68);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 560px) {
  .cis-booking__choices,
  .cis-booking__slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cis-booking__media-actions,
  .cis-booking__media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cis-booking__media-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cis-booking__media-preview,
  .cis-booking__media-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 768px) {
  .cis-booking__form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cis-booking__field--wide {
    grid-column: 1 / -1;
  }

  .cis-booking__navigation {
    grid-template-columns: 180px minmax(260px, 380px);
    justify-content: end;
  }
}

@media (min-width: 960px) {
  .cis-booking[data-step="category"] .cis-booking__choices,
  .cis-booking[data-step="formula"] .cis-booking__choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cis-booking[data-step="slot"] .cis-booking__slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .cis-booking__layout {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
    align-items: start;
  }

  .cis-booking__aside {
    position: sticky;
    top: 22px;
  }

  .cis-booking__stage {
    min-height: 500px;
  }
}

@media (max-width: 980px) {
  .cis-booking__hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .cis-booking__hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 690px;
  }

  .cis-booking__hero-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .cis-booking__hero-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
  }

  .cis-booking__hero-steps li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cis-booking__hero-steps li > span {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 720px) {
  .cis-booking {
    /* Clip rounded decoration without creating a scroll container that traps sticky navigation. */
    overflow: visible;
    overflow: clip;
    width: min(100%, calc(100vw - 14px));
    margin: 8px auto 24px;
    padding: 6px;
    border-radius: 25px;
  }

  .cis-booking__frame {
    gap: 8px;
  }

  .cis-booking__hero {
    gap: 25px;
    padding: 28px 21px;
    border-radius: 21px;
  }

  .cis-booking__brandline {
    margin-bottom: 18px;
    font-size: 0.72rem;
  }

  .cis-booking__hero h1,
  .cis-booking__hero h2 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .cis-booking__intro {
    font-size: 0.96rem;
  }

  .cis-booking__trust {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .cis-booking__trust li {
    width: fit-content;
  }

  .cis-booking__hero-card {
    padding: 12px;
  }

  .cis-booking__hero-card-label,
  .cis-booking__hero-steps {
    display: none;
  }

  .cis-booking__hero-support {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .cis-booking__hero-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .cis-booking__hero-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .cis-booking__panel {
    padding: 10px;
    border-radius: 21px;
  }

  .cis-booking__progress-wrap {
    padding: 14px;
  }

  .cis-booking__progress-topline {
    display: grid;
    gap: 3px;
  }

  .cis-booking__progress-hint {
    display: none;
  }

  .cis-booking__milestones span:nth-child(2),
  .cis-booking__milestones span:nth-child(3) {
    display: none;
  }

  .cis-booking__stage,
  .cis-booking__aside {
    padding: 20px 16px;
    border-radius: 17px;
  }

  .cis-booking__stage::before {
    left: 18px;
  }

  .cis-booking__step-title {
    font-size: clamp(1.55rem, 8.5vw, 2.15rem);
    scroll-margin-top: 110px;
  }

  .cis-booking__choice {
    min-height: 96px;
    padding: 16px;
  }

  .cis-booking__choice-header {
    align-items: center;
  }

  .cis-booking__choice-marker {
    min-height: 25px;
    font-size: 0.63rem;
  }

  .cis-booking__summary-row {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  }

  .cis-booking__navigation {
    position: sticky;
    bottom: max(
      var(--cis-preview-bar-inset, 0px),
      var(--cis-keyboard-inset, 0px)
    );
    margin-top: 12px;
    padding: 9px;
    padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
  }

  .cis-booking__navigation-context {
    display: block;
    grid-column: 1 / -1;
    color: var(--cis-muted);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
  }

  .cis-booking__stage :is(input, textarea, select) {
    scroll-margin-bottom: 120px;
  }

  .cis-booking__support {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .cis-booking__support-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cis-booking__support-actions a:only-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .cis-booking__eyebrow {
    max-width: 100%;
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .cis-booking__hero h1,
  .cis-booking__hero h2 {
    font-size: 2.34rem;
  }

  .cis-booking__hero-support {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .cis-booking__choice-header {
    align-items: flex-start;
  }

  .cis-booking__choice-marker {
    max-width: 105px;
    text-align: center;
    white-space: normal;
  }

  .cis-booking__summary-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .cis-booking__summary-row strong {
    text-align: left;
  }

  .cis-booking__navigation {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 8px;
  }

  .cis-booking__primary-button,
  .cis-booking__secondary-button {
    min-height: 50px;
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .cis-booking__media-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cis-booking__media-preview,
  .cis-booking__media-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cis-booking *,
  .cis-booking *::before,
  .cis-booking *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .cis-booking__choice[aria-pressed="true"],
  .cis-booking__check-card:has(input:checked),
  .cis-booking__primary-button,
  .cis-booking__reference,
  .cis-booking__media-action,
  .cis-booking__media-card,
  .cis-booking__media-retry,
  .cis-booking__media-remove {
    border: 2px solid ButtonText;
  }

  .cis-booking__progress {
    border: 1px solid CanvasText;
  }
}

/* Layout adaptatif : lorsque le récapitulatif est masqué, l’étape utilise toute la largeur. */
@media (min-width: 1040px) {
  .cis-booking__layout:has(.cis-booking__aside[hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .cis-booking__layout:has(.cis-booking__aside[hidden]) .cis-booking__stage {
    min-height: 380px;
  }
}

/* Mobile conversion : garder le formulaire proche du premier écran. */
@media (max-width: 720px) {
  .cis-booking__trust {
    display: flex;
  }

  .cis-booking__trust li {
    width: auto;
  }

  .cis-booking__hero-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .cis-booking__hero-steps li {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 7px;
    padding: 10px 6px;
    text-align: center;
  }

  .cis-booking__hero-steps li > span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .cis-booking__hero-steps strong {
    font-size: 0.74rem;
  }

  .cis-booking__hero-steps small {
    display: none;
  }

  .cis-booking__hero-support {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }
}

@media (max-width: 460px) {
  .cis-booking__hero-card {
    padding: 10px;
  }

  .cis-booking__hero-card-label,
  .cis-booking__hero-support {
    display: none;
  }

  .cis-booking__hero-steps li {
    padding: 8px 4px;
  }
}

/* =========================================================
   AVANTAGE FISCAL — TEXTILE
   Visible uniquement lorsque le catalogue expose taxCredit.
   ========================================================= */
.cis-booking__choice--tax {
  border-color: rgba(180, 139, 21, 0.28);
}

.cis-booking__tax-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 6px 11px 6px 7px;
  color: #2b2308;
  background: linear-gradient(135deg, #fff5c8 0%, #f0cf5a 100%);
  border: 1px solid rgba(141, 111, 17, 0.28);
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(141, 111, 17, 0.12);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.cis-booking__tax-badge::before {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  flex: 0 0 22px;
  color: #f1cf5a;
  background: #111215;
  border-radius: 50%;
  content: "%";
  font-size: 0.72rem;
  font-weight: 950;
}

.cis-booking__tax-price {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding: 10px 12px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(240, 207, 90, 0.22),
      transparent 44%
    ),
    #111215;
  border: 1px solid rgba(240, 207, 90, 0.18);
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.3;
}

.cis-booking__tax-price::before {
  color: #e9c750;
  content: "Votre avantage";
  flex: 0 0 auto;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cis-booking__tax-footnote {
  margin: 13px 2px 0;
  color: var(--cis-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.cis-booking__summary-row:has(+ .cis-booking__summary-row) {
  min-width: 0;
}

@media (max-width: 560px) {
  .cis-booking__tax-badge {
    font-size: 0.72rem;
  }

  .cis-booking__tax-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (forced-colors: active) {
  .cis-booking__tax-badge,
  .cis-booking__tax-price {
    border: 2px solid CanvasText;
  }
}

/* ==========================================================================\n   PREMIUM V3 — GRANDES CARTES DE CONVERSION\n   Catégories, prestations et formules deviennent de vraies offres commerciales.\n   ========================================================================== */

.cis-booking__choice-body {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex: 1 1 auto;
  flex-direction: column;
}

.cis-booking__choice-visual {
  position: relative;
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  place-items: center;
  overflow: hidden;
  color: var(--cis-ink);
  background:
    radial-gradient(
      circle at 28% 22%,
      rgba(255, 255, 255, 0.94),
      transparent 42%
    ),
    linear-gradient(145deg, #f6df8c, #d5a91d);
  border: 1px solid rgba(128, 94, 4, 0.2);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(141, 111, 17, 0.18);
  flex: 0 0 auto;
}

.cis-booking__choice-visual::before {
  width: 38px;
  height: 38px;
  background: currentColor;
  content: "";
  -webkit-mask: var(--cis-choice-icon) center / contain no-repeat;
  mask: var(--cis-choice-icon) center / contain no-repeat;
}

.cis-booking__choice-visual[data-icon="car"] {
  --cis-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.1 6.5A2.5 2.5 0 0 1 7.45 5h9.1a2.5 2.5 0 0 1 2.35 1.5L20.35 10H21a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-1v1a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-1H9v1a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1H3a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h.65L5.1 6.5ZM7.45 7a.5.5 0 0 0-.47.3L5.85 10h12.3l-1.13-2.7a.5.5 0 0 0-.47-.3h-9.1ZM6.5 13A1.5 1.5 0 1 0 6.5 16a1.5 1.5 0 0 0 0-3Zm11 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z'/%3E%3C/svg%3E");
}

.cis-booking__choice-visual[data-icon="sofa"] {
  --cis-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4a3 3 0 0 0-3 3v4.17A3 3 0 0 0 1 14v3a2 2 0 0 0 2 2v1a1 1 0 0 0 2 0v-1h14v1a1 1 0 1 0 2 0v-1a2 2 0 0 0 2-2v-3a3 3 0 0 0-2-2.83V7a3 3 0 0 0-3-3H6Zm0 2h12a1 1 0 0 1 1 1v4h-1a3 3 0 0 0-3 3H9a3 3 0 0 0-3-3H5V7a1 1 0 0 1 1-1Zm-2 7a1 1 0 0 1 1 1v2h14v-2a1 1 0 1 1 2 0v3H3v-3a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
}

.cis-booking__choice-visual[data-icon="bed"] {
  --cis-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3a1 1 0 0 1 1 1v7h2V8a2 2 0 0 1 2-2h8a4 4 0 0 1 4 4v1a2 2 0 0 1 2 2v7a1 1 0 1 1-2 0v-2H5v2a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1Zm5 5v3h10v-1a2 2 0 0 0-2-2H9Zm-4 5v3h16v-3H5Z'/%3E%3C/svg%3E");
}

.cis-booking__choice-visual[data-icon="sparkle"] {
  --cis-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a1 1 0 0 1 .95.68l1.04 3.13a6.6 6.6 0 0 0 4.2 4.2l3.13 1.04a1 1 0 0 1 0 1.9l-3.13 1.04a6.6 6.6 0 0 0-4.2 4.2l-1.04 3.13a1 1 0 0 1-1.9 0l-1.04-3.13a6.6 6.6 0 0 0-4.2-4.2l-3.13-1.04a1 1 0 0 1 0-1.9l3.13-1.04a6.6 6.6 0 0 0 4.2-4.2l1.04-3.13A1 1 0 0 1 12 2Z'/%3E%3C/svg%3E");
}

.cis-booking__choice-index,
.cis-booking__choice-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 12px;
  color: var(--cis-gold-dark);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.cis-booking__choice-index {
  min-width: 42px;
  min-height: 30px;
  justify-content: center;
  padding: 6px 9px;
  color: #111215;
  background: linear-gradient(145deg, var(--cis-gold-light), var(--cis-gold));
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(141, 111, 17, 0.14);
}

.cis-booking__choice-price {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 20px;
}

.cis-booking__choice-price strong {
  color: var(--cis-ink);
  font-family: Inter, Poppins, system-ui, sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.cis-booking__choice-price small {
  color: var(--cis-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.cis-booking__choice-cta {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 12px 14px;
  color: #ffffff;
  background: #111215;
  border: 1px solid #111215;
  border-radius: 13px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  transition:
    background 170ms ease,
    color 170ms ease,
    transform 170ms ease;
}

.cis-booking__choice-arrow {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #111215;
  background: var(--cis-gold-light);
  border-radius: 50%;
  flex: 0 0 27px;
  font-size: 1rem;
  line-height: 1;
}

.cis-booking__choice:hover:not(:disabled) .cis-booking__choice-cta,
.cis-booking__choice[aria-pressed="true"] .cis-booking__choice-cta {
  color: #111215;
  background: linear-gradient(145deg, var(--cis-gold-light), var(--cis-gold));
  border-color: rgba(141, 111, 17, 0.26);
}

.cis-booking__choice:hover:not(:disabled) .cis-booking__choice-arrow,
.cis-booking__choice[aria-pressed="true"] .cis-booking__choice-arrow {
  color: #ffffff;
  background: #111215;
}

/* Catégories : trois offres fortes, visuelles et immédiatement compréhensibles. */
.cis-booking[data-step="category"] .cis-booking__stage {
  padding: clamp(26px, 3.4vw, 42px);
}

.cis-booking[data-step="category"] .cis-booking__choices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-kind="category"] {
  min-height: 365px;
  align-content: stretch;
  padding: clamp(22px, 2.4vw, 30px);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216, 178, 62, 0.14),
      transparent 38%
    ),
    linear-gradient(150deg, #ffffff 0%, #fbf8ef 100%);
  border: 1px solid rgba(17, 18, 21, 0.14);
  border-radius: 25px;
  box-shadow: 0 18px 44px rgba(17, 18, 21, 0.08);
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-kind="category"]::after {
  height: 5px;
}

.cis-booking[data-step="category"] .cis-booking__choice-header strong {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.cis-booking[data-step="category"] .cis-booking__choice-copy {
  min-height: 70px;
  margin-top: 10px;
  color: #595c63;
  font-size: 0.94rem;
  line-height: 1.55;
}

.cis-booking[data-step="category"] .cis-booking__choice-marker {
  display: none;
}

.cis-booking[data-step="category"] .cis-booking__choice-meta {
  margin-top: 14px;
}

.cis-booking[data-step="category"] .cis-booking__choice-meta > span {
  min-height: 31px;
  padding: 6px 10px;
  color: #393b40;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 18, 21, 0.09);
  font-size: 0.73rem;
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"] {
  color: #ffffff;
  background:
    radial-gradient(
      520px 260px at 18% 0%,
      rgba(216, 178, 62, 0.28),
      transparent 68%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(216, 178, 62, 0.12),
      transparent 36%
    ),
    linear-gradient(145deg, #1a1c20 0%, #0e0f11 72%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 55px rgba(14, 15, 17, 0.2);
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"]
  .cis-booking__choice-header
  strong,
.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"]
  .cis-booking__choice-price
  strong {
  color: #ffffff;
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"]
  .cis-booking__choice-copy,
.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"]
  .cis-booking__choice-price
  small {
  color: rgba(255, 255, 255, 0.69);
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"]
  .cis-booking__choice-kicker {
  color: #f1d66f;
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"]
  .cis-booking__choice-meta
  > span {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"]
  .cis-booking__choice-visual {
  color: #111215;
  background: linear-gradient(145deg, #f3d86f, #d5a91d);
  border-color: rgba(255, 255, 255, 0.1);
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"]
  .cis-booking__choice-cta {
  color: #111215;
  background: linear-gradient(145deg, #f3d86f, #d5a91d);
  border-color: rgba(216, 178, 62, 0.3);
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"]
  .cis-booking__choice-arrow {
  color: #ffffff;
  background: #111215;
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-kind="category"]:hover:not(:disabled) {
  transform: translateY(-7px);
}

/* Prestations : conserver un choix évident même lorsqu'une seule prestation existe. */
.cis-booking[data-step="service"] .cis-booking__choices {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 20px;
}

.cis-booking[data-step="service"]
  .cis-booking__choice[data-choice-kind="service"] {
  min-height: 285px;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 24px;
}

.cis-booking[data-step="service"] .cis-booking__choice-visual {
  width: 86px;
  height: 86px;
  margin: 0;
}

.cis-booking[data-step="service"] .cis-booking__choice-header strong {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 950;
}

.cis-booking[data-step="service"] .cis-booking__choice-marker {
  display: none;
}

/* Formules : de vraies cartes d'offre, prix et avantage fiscal en premier plan. */
.cis-booking[data-step="formula"] .cis-booking__stage {
  padding: clamp(26px, 3.4vw, 42px);
}

.cis-booking[data-step="formula"] .cis-booking__choices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.cis-booking[data-step="formula"]
  .cis-booking__choice[data-choice-kind="formula"] {
  min-height: 430px;
  align-content: stretch;
  padding: clamp(22px, 2.35vw, 30px);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216, 178, 62, 0.12),
      transparent 34%
    ),
    linear-gradient(150deg, #ffffff, #fbfaf7);
  border: 1px solid rgba(17, 18, 21, 0.14);
  border-radius: 25px;
  box-shadow: 0 18px 44px rgba(17, 18, 21, 0.075);
}

.cis-booking[data-step="formula"] .cis-booking__choice[data-featured="true"] {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(216, 178, 62, 0.22),
      transparent 38%
    ),
    linear-gradient(150deg, #fffef9, #f9f1d9);
  border: 2px solid rgba(183, 143, 26, 0.62);
  box-shadow: 0 24px 60px rgba(141, 111, 17, 0.17);
  transform: translateY(-8px);
}

.cis-booking[data-step="formula"]
  .cis-booking__choice[data-featured="true"]:hover:not(:disabled) {
  transform: translateY(-13px);
}

.cis-booking[data-step="formula"] .cis-booking__choice-header strong {
  font-size: clamp(1.5rem, 2.25vw, 1.95rem);
  font-weight: 950;
  letter-spacing: -0.045em;
}

.cis-booking[data-step="formula"] .cis-booking__choice-marker {
  display: none;
}

.cis-booking[data-step="formula"] .cis-booking__choice-copy {
  min-height: 92px;
  margin-top: 12px;
  color: #5c5f66;
  font-size: 0.94rem;
  line-height: 1.55;
}

.cis-booking[data-step="formula"] .cis-booking__choice-price {
  margin-top: 20px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(17, 18, 21, 0.09);
}

.cis-booking[data-step="formula"] .cis-booking__choice-price strong {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

.cis-booking[data-step="formula"] .cis-booking__choice-meta {
  margin-top: 12px;
}

.cis-booking[data-step="formula"] .cis-booking__choice-meta > span {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 0.76rem;
}

.cis-booking[data-step="formula"] .cis-booking__tax-badge {
  margin-top: 13px;
}

.cis-booking[data-step="formula"] .cis-booking__tax-price {
  display: grid;
  gap: 3px;
  min-height: 66px;
  align-content: center;
  justify-content: stretch;
  margin-top: 14px;
  padding: 13px 15px;
  font-size: 1rem;
}

.cis-booking[data-step="formula"] .cis-booking__tax-price::before {
  content: "Votre reste à charge estimé";
}

.cis-booking[data-step="formula"] .cis-booking__choice-cta {
  margin-top: auto;
}

.cis-booking[data-step="formula"] .cis-booking__tax-footnote {
  max-width: 880px;
  margin: 18px auto 0;
  padding: 12px 14px;
  color: #5e5230;
  background: rgba(216, 178, 62, 0.1);
  border: 1px solid rgba(141, 111, 17, 0.17);
  border-radius: 12px;
  text-align: center;
}

/* Choix sélectionné : visible en un coup d'œil. */
.cis-booking__choice[data-choice-kind="category"][aria-pressed="true"],
.cis-booking__choice[data-choice-kind="formula"][aria-pressed="true"],
.cis-booking__choice[data-choice-kind="service"][aria-pressed="true"] {
  border-color: #111215;
  box-shadow:
    0 0 0 5px rgba(216, 178, 62, 0.22),
    0 24px 56px rgba(17, 18, 21, 0.14);
}

.cis-booking[data-step="category"]
  .cis-booking__choice[data-choice-slug="automobile"][aria-pressed="true"] {
  border-color: var(--cis-gold-light);
  box-shadow:
    0 0 0 5px rgba(216, 178, 62, 0.24),
    0 28px 64px rgba(14, 15, 17, 0.28);
}

/* Tablette et mobile : grandes cartes sans rendre le parcours interminable. */
@media (max-width: 1040px) {
  .cis-booking[data-step="category"] .cis-booking__choices,
  .cis-booking[data-step="formula"] .cis-booking__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cis-booking[data-step="category"]
    .cis-booking__choice[data-choice-slug="automobile"] {
    grid-column: 1 / -1;
    min-height: 310px;
  }

  .cis-booking[data-step="formula"] .cis-booking__choice[data-featured="true"] {
    transform: none;
  }

  .cis-booking[data-step="formula"]
    .cis-booking__choice[data-featured="true"]:hover:not(:disabled) {
    transform: translateY(-5px);
  }
}

@media (max-width: 700px) {
  .cis-booking[data-step="category"] .cis-booking__choices,
  .cis-booking[data-step="formula"] .cis-booking__choices,
  .cis-booking[data-step="service"] .cis-booking__choices {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .cis-booking[data-step="category"]
    .cis-booking__choice[data-choice-kind="category"],
  .cis-booking[data-step="category"]
    .cis-booking__choice[data-choice-slug="automobile"] {
    grid-column: auto;
    min-height: 285px;
    padding: 22px;
  }

  .cis-booking[data-step="category"] .cis-booking__choice-copy {
    min-height: 0;
  }

  .cis-booking[data-step="service"]
    .cis-booking__choice[data-choice-kind="service"] {
    min-height: 260px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 22px;
  }

  .cis-booking[data-step="service"] .cis-booking__choice-visual {
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
  }

  .cis-booking[data-step="formula"]
    .cis-booking__choice[data-choice-kind="formula"] {
    min-height: 360px;
    padding: 22px;
  }

  .cis-booking[data-step="formula"] .cis-booking__choice-copy {
    min-height: 0;
  }

  .cis-booking__choice-price strong {
    font-size: 2.15rem;
  }
}

@media (max-width: 430px) {
  .cis-booking[data-step="category"] .cis-booking__stage,
  .cis-booking[data-step="formula"] .cis-booking__stage {
    padding: 19px 15px;
  }

  .cis-booking__choice-visual {
    width: 64px;
    height: 64px;
    margin-bottom: 17px;
    border-radius: 18px;
  }

  .cis-booking__choice-visual::before {
    width: 32px;
    height: 32px;
  }

  .cis-booking[data-step="category"]
    .cis-booking__choice[data-choice-kind="category"] {
    min-height: 270px;
  }

  .cis-booking[data-step="formula"]
    .cis-booking__choice[data-choice-kind="formula"] {
    min-height: 345px;
  }

  .cis-booking__choice-cta {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cis-booking[data-step="formula"] .cis-booking__choice[data-featured="true"] {
    transform: none;
  }
}

/* V4.5.5: additions only; preserve the existing Premium UI V3 styling. */
.cis-booking__upsell-badge {
  align-self: flex-start;
  padding: 3px 9px;
  color: var(--cis-gold-dark);
  background: var(--cis-gold-wash);
  border: 1px solid var(--cis-border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.cis-booking__last-options {
  display: grid;
  gap: 10px;
  margin-block: 18px;
  padding: clamp(12px, 2vw, 20px);
  background: var(--cis-surface-soft);
  border: 1px solid var(--cis-border);
  border-radius: var(--cis-radius);
}

.cis-booking__last-options > h3,
.cis-booking__last-options > p {
  margin: 0;
}

.cis-booking__last-options > p {
  color: var(--cis-muted);
  font-size: 0.875rem;
}

.cis-booking__last-card {
  min-height: 56px;
  padding: 12px;
}

.cis-booking__all-included {
  border-color: var(--cis-gold);
  background: var(--cis-surface-warm);
}

@media (forced-colors: active) {
  .cis-booking__upsell-badge,
  .cis-booking__last-options,
  .cis-booking__all-included {
    border: 2px solid CanvasText;
  }
}
