/* ==========================================================
   QUANDEA Booking 2.0 — thème « univers » (même ADN que le Hero 3D)
   Tout est préfixé par #quandea-booking : rien ne fuit vers le thème,
   et l'ID l'emporte sur les styles de boutons / champs du thème.
   ========================================================== */

#quandea-booking {
  --navy: #10224E;
  --navy-deep: #0A1636;
  --red: #ED4034;
  --red-light: #FF6A5C;
  --paper: #F9F9F6;
  --muted: rgba(249, 249, 246, 0.68);
  --faint: rgba(249, 249, 246, 0.38);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(249, 249, 246, 0.16);
  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Oswald', sans-serif;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1240px, calc(100% - 24px));
  margin: 32px auto 56px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 82% 8%, rgba(237, 64, 52, 0.22) 0%, transparent 38%),
    radial-gradient(circle at 50% 40%, #22408A 0%, #10224E 48%, #050B1C 100%);
  box-shadow: 0 40px 90px rgba(5, 11, 28, 0.35);
  color: var(--paper);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}
#quandea-booking.qb-fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw);
  border-radius: 0;
}

#quandea-booking,
#quandea-booking * { box-sizing: border-box; }

/* Remise à zéro des contrôles (le thème ne doit rien imposer) */
#quandea-booking button,
#quandea-booking input,
#quandea-booking textarea {
  font-family: var(--font-main);
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
#quandea-booking button { line-height: 1.2; min-height: 0; box-shadow: none; }
#quandea-booking h1, #quandea-booking h2, #quandea-booking h3, #quandea-booking p { margin: 0; padding: 0; text-transform: none; }
#quandea-booking h1, #quandea-booking h2, #quandea-booking h3, #quandea-booking p,
#quandea-booking label, #quandea-booking span, #quandea-booking strong, #quandea-booking b { font-family: inherit; }
/* Les thèmes qui stylent tous les span / liens ne doivent pas déformer le module */
#quandea-booking span, #quandea-booking strong, #quandea-booking b, #quandea-booking i {
  padding: 0; margin: 0; font-size: inherit; line-height: inherit; border: 0; background: none;
}
#quandea-booking a { text-decoration: none; }

/* ---------- Décor ---------- */
#quandea-booking .qb-universe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
#quandea-booking .qb-grain {
  position: absolute;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: qbGrain 0.8s steps(4) infinite;
}
@keyframes qbGrain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
  100% { transform: translate(0, 0); }
}
#quandea-booking .qb-viewfinder { position: absolute; inset: 18px; z-index: 1; pointer-events: none; }
#quandea-booking .qb-viewfinder i {
  position: absolute;
  width: 26px; height: 26px;
  border: 0 solid rgba(249, 249, 246, 0.32);
}
#quandea-booking .qb-viewfinder i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
#quandea-booking .qb-viewfinder i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
#quandea-booking .qb-viewfinder i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
#quandea-booking .qb-viewfinder i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

#quandea-booking .qb-wrap {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 72px;
}

/* ---------- Mini-header QUANDEA (commun à tous les plugins) ----------
   !important : les thèmes stylent souvent tous les liens (padding, couleur, soulignement…) */
#quandea-booking .qb-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 52px;
}
#quandea-booking a.qb-mh-logo {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
  background: none !important;
  line-height: 1 !important;
}
#quandea-booking .qb-mh-name {
  font-family: var(--font-display) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  padding-left: 0.16em !important;
  line-height: 1 !important;
}
#quandea-booking .qb-mh-name b { font-weight: 600; color: var(--red); }
#quandea-booking .qb-mh-sub {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 7px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
#quandea-booking .qb-mh-sub::before,
#quandea-booking .qb-mh-sub::after { content: ''; width: 12px; height: 1.5px; background: var(--red); }
#quandea-booking .qb-mh-nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#quandea-booking .qb-mh-nav a {
  display: block !important;
  margin: 0 !important;
  padding: 9px 18px !important;
  border-radius: 100px !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-family: var(--font-main) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap !important;
  transition: background 0.25s ease, color 0.25s ease;
}
#quandea-booking .qb-mh-nav a:hover,
#quandea-booking .qb-mh-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  outline: none;
}
#quandea-booking a.qb-mh-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 5px 0 18px !important;
  border-radius: 100px !important;
  border: 0 !important;
  background: var(--red) !important;
  color: #fff !important;
  font-family: var(--font-main) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 28px rgba(237, 64, 52, 0.4) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#quandea-booking .qb-mh-cta-label { display: block !important; line-height: 1 !important; }
#quandea-booking .qb-mh-cta-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(10, 22, 54, 0.35) !important;
  line-height: 0 !important;
  transition: transform 0.3s ease;
}
#quandea-booking .qb-mh-cta-icon svg { display: block; }
#quandea-booking a.qb-mh-cta:hover,
#quandea-booking a.qb-mh-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(237, 64, 52, 0.55) !important;
  color: #fff !important;
  outline: none;
}
#quandea-booking a.qb-mh-cta:hover .qb-mh-cta-icon { transform: rotate(-45deg); }

/* ---------- Retour à l'accueil ----------
   !important : certains thèmes stylent tous les liens (padding, line-height, display…) */
#quandea-booking a.qb-home {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  height: 34px !important;
  min-height: 0 !important;
  margin: 0 0 26px !important;
  padding: 0 14px 0 4px !important;
  border-radius: 100px !important;
  border: 1px solid var(--glass-border) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--muted) !important;
  font-family: var(--font-main) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none !important;
  vertical-align: middle;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
#quandea-booking a.qb-home .qb-home-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--red) !important;
  color: #fff !important;
  line-height: 0 !important;
  transition: transform 0.3s ease;
}
#quandea-booking a.qb-home .qb-home-icon svg { display: block; width: 12px; height: 12px; }
#quandea-booking a.qb-home .qb-home-label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font: inherit !important;
  line-height: 1 !important;
  color: inherit !important;
  white-space: nowrap !important;
}
#quandea-booking a.qb-home:hover,
#quandea-booking a.qb-home:focus-visible {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(249, 249, 246, 0.36) !important;
  color: #fff !important;
  outline: none;
}
#quandea-booking a.qb-home:hover .qb-home-icon { transform: translateX(-2px); }

#quandea-booking .qb-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
#quandea-booking .qb-confirmation-actions a.qb-home {
  height: 52px !important;
  margin: 0 !important;
  padding: 0 24px 0 7px !important;
  gap: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
#quandea-booking .qb-confirmation-actions a.qb-home .qb-home-icon { flex-basis: 38px !important; width: 38px !important; height: 38px !important; }
#quandea-booking a.qb-home.qb-home-solid {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(237, 64, 52, 0.4) !important;
}
#quandea-booking a.qb-home.qb-home-solid .qb-home-icon { background: rgba(10, 22, 54, 0.35) !important; }
#quandea-booking a.qb-home.qb-home-solid:hover { transform: translateY(-3px); }

/* ---------- Intro ---------- */
#quandea-booking .qb-intro { margin: 0 0 34px; max-width: 760px; }
#quandea-booking .qb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
}
#quandea-booking .qb-kicker span { display: block; width: 28px; height: 2px; border-radius: 2px; background: var(--red); flex: none; }
#quandea-booking .qb-intro h1 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(52px, 7.4vw, 104px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
#quandea-booking .qb-intro h1 span { display: block; }
#quandea-booking .qb-intro h1 strong {
  display: block;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
}
#quandea-booking .qb-intro h1 i,
#quandea-booking .qb-confirmation h2 i { font-style: normal; color: var(--red); -webkit-text-stroke: 0; }
#quandea-booking .qb-intro p { max-width: 520px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Progression ---------- */
#quandea-booking .qb-progress {
  display: grid;
  grid-template-columns: max-content minmax(24px, 1fr) max-content minmax(24px, 1fr) max-content minmax(24px, 1fr) max-content;
  align-items: center;
  gap: 14px;
  margin: 0 0 40px;
  padding: 10px 14px;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#quandea-booking .qb-progress-step { display: flex; align-items: center; gap: 10px; opacity: 0.45; transition: opacity 0.4s ease; }
#quandea-booking .qb-progress-step.active,
#quandea-booking .qb-progress-step.done { opacity: 1; }
#quandea-booking .qb-progress-step span {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.4s ease;
}
#quandea-booking .qb-progress-step.active span {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(237, 64, 52, 0.18), 0 8px 24px rgba(237, 64, 52, 0.45);
}
#quandea-booking .qb-progress-step.done span { background: var(--paper); border-color: var(--paper); color: var(--navy); }
#quandea-booking .qb-progress-step b { color: var(--paper); font-size: 12px; font-weight: 700; white-space: nowrap; }
#quandea-booking .qb-progress-line {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: rgba(249, 249, 246, 0.14);
  overflow: hidden;
}
#quandea-booking .qb-progress-line::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
#quandea-booking .qb-progress-step.done + .qb-progress-line::after { transform: scaleX(1); }

/* ---------- Panneaux ---------- */
#quandea-booking .qb-panel { display: none; }
#quandea-booking .qb-panel.active { display: block; animation: qbReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes qbReveal {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
#quandea-booking .qb-section-title { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; }
#quandea-booking .qb-section-title > span {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; flex: 0 0 54px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--red-light) 0%, var(--red) 55%, #B9271D 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(237, 64, 52, 0.35);
}
#quandea-booking .qb-section-title h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
#quandea-booking .qb-section-title p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Verre dépoli commun */
#quandea-booking .qb-calendar,
#quandea-booking .qb-time-box,
#quandea-booking form#qbForm.qb-info-form,
#quandea-booking .qb-summary {
  position: relative;
  border-radius: 28px;
  background: rgba(10, 22, 54, 0.5);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* ---------- Étape 1 : cartes de choix ---------- */
#quandea-booking .qb-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
#quandea-booking .qb-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 330px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
#quandea-booking .qb-choice::before {
  content: '';
  position: absolute;
  top: -60%; left: -60%;
  width: 45%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(25deg) translateX(0);
  transition: transform 0.9s ease;
  pointer-events: none;
}
#quandea-booking .qb-choice:hover::before { transform: rotate(25deg) translateX(520%); }
#quandea-booking .qb-choice:hover,
#quandea-booking .qb-choice:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(249, 249, 246, 0.42);
  background: var(--glass-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  outline: none;
}
#quandea-booking .qb-choice-blue {
  background: linear-gradient(150deg, rgba(237, 64, 52, 0.28) 0%, rgba(16, 34, 78, 0.55) 60%);
  border-color: rgba(237, 64, 52, 0.45);
}
#quandea-booking .qb-choice-blue:hover { border-color: var(--red); box-shadow: 0 30px 60px rgba(237, 64, 52, 0.25); }
#quandea-booking .qb-choice-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 0 34px; }
#quandea-booking .qb-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 16px;
  background: linear-gradient(150deg, #1E3A7A 0%, var(--navy) 60%, var(--navy-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}
#quandea-booking .qb-choice-blue .qb-icon { background: linear-gradient(150deg, var(--red-light) 0%, var(--red) 55%, #B9271D 100%); border-color: transparent; }
#quandea-booking .qb-icon svg { width: 24px; height: 24px; display: block; }
#quandea-booking .qb-icon-star { font-size: 24px; line-height: 1; }
#quandea-booking .qb-badge {
  padding: 9px 14px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}
#quandea-booking .qb-badge-red { background: var(--red); border-color: var(--red); color: #fff; }
#quandea-booking .qb-small-title {
  margin: 0 0 10px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
#quandea-booking .qb-choice h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-main);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
}
#quandea-booking .qb-choice > p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 94%; }
#quandea-booking .qb-choice-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 26px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
#quandea-booking .qb-choice-bottom strong {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  transition: transform 0.3s ease;
}
#quandea-booking .qb-choice:hover .qb-choice-bottom strong { transform: rotate(-45deg); }

/* ---------- Étapes 2 à 4 : deux colonnes ---------- */
#quandea-booking .qb-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 20px;
  align-items: start;
}

/* Calendrier */
#quandea-booking .qb-calendar { padding: 26px; }
#quandea-booking .qb-calendar-nav { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin: 0 0 18px; }
#quandea-booking .qb-calendar-nav > div { text-align: center; }
#quandea-booking .qb-calendar-nav strong,
#quandea-booking .qb-calendar-nav span {
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
#quandea-booking .qb-calendar-nav span { color: var(--red); margin-left: 6px; }
#quandea-booking .qb-calendar-nav button {
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#quandea-booking .qb-calendar-nav button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.14); }
#quandea-booking .qb-calendar-nav button:disabled { opacity: 0.25; cursor: not-allowed; }
#quandea-booking .qb-week,
#quandea-booking .qb-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
#quandea-booking .qb-week span { padding: 6px 0; color: var(--faint); text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; }
#quandea-booking .qb-day {
  aspect-ratio: 1;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(249, 249, 246, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
#quandea-booking .qb-day:hover:not(:disabled) {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(249, 249, 246, 0.45);
}
#quandea-booking .qb-day.selected {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(237, 64, 52, 0.2), 0 10px 26px rgba(237, 64, 52, 0.5);
}
#quandea-booking .qb-day.today:not(.selected) { box-shadow: inset 0 0 0 2px var(--red); }
#quandea-booking .qb-day:disabled { background: transparent; border-color: transparent; color: rgba(249, 249, 246, 0.2); cursor: not-allowed; }

/* Récapitulatif */
#quandea-booking .qb-summary { padding: 28px 26px 24px; overflow: hidden; }
#quandea-booking .qb-summary::before {
  content: '';
  position: absolute;
  left: 26px; top: 0;
  width: 56px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--red);
}
#quandea-booking .qb-summary-label { margin: 0 0 16px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; }
#quandea-booking .qb-summary h3 { margin: 0 0 18px; color: #fff; font-size: 21px; font-weight: 800; line-height: 1.15; }
#quandea-booking .qb-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(249, 249, 246, 0.12);
}
#quandea-booking .qb-summary-line span { color: var(--muted); font-size: 12px; }
#quandea-booking .qb-summary-line strong { color: #fff; font-size: 13px; font-weight: 700; text-align: right; }
#quandea-booking .qb-back {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#quandea-booking .qb-back:hover { color: #fff; }

/* Créneaux */
#quandea-booking .qb-time-box { padding: 26px; }
#quandea-booking .qb-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
#quandea-booking .qb-time {
  height: 64px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(249, 249, 246, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
#quandea-booking .qb-time:hover:not(:disabled) { transform: translateY(-3px); background: rgba(255, 255, 255, 0.14); border-color: rgba(249, 249, 246, 0.45); }
#quandea-booking .qb-time.selected {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 5px rgba(237, 64, 52, 0.2), 0 10px 26px rgba(237, 64, 52, 0.5);
}
#quandea-booking .qb-time:disabled { background: transparent; border-style: dashed; color: rgba(249, 249, 246, 0.22); text-decoration: line-through; cursor: not-allowed; }
#quandea-booking .qb-time-loading,
#quandea-booking .qb-no-time {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
}
#quandea-booking .qb-time-loading::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: qbPulse 1s ease-in-out infinite;
}
@keyframes qbPulse { 50% { transform: scale(1.8); opacity: 0.4; } }

/* Messages (le JS ajoute .active — .show gardé pour compatibilité) */
#quandea-booking .qb-status { display: none; }
#quandea-booking .qb-status.active,
#quandea-booking .qb-status.show {
  display: block;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(237, 64, 52, 0.5);
  background: rgba(237, 64, 52, 0.14);
  color: #FFD2CD;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- Étape 4 : formulaire ---------- */
#quandea-booking form#qbForm.qb-info-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 28px;
}
#quandea-booking .qb-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#quandea-booking .qb-info-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
#quandea-booking .qb-info-field label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#quandea-booking .qb-info-field input,
#quandea-booking .qb-info-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(249, 249, 246, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  box-shadow: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
#quandea-booking .qb-info-field input { height: 50px; padding: 0 16px; }
#quandea-booking .qb-info-field textarea { height: 110px; min-height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
#quandea-booking .qb-info-field input::placeholder,
#quandea-booking .qb-info-field textarea::placeholder { color: rgba(249, 249, 246, 0.32); }
#quandea-booking .qb-info-field input:focus,
#quandea-booking .qb-info-field textarea:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(237, 64, 52, 0.18);
}
#quandea-booking .qb-info-field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 100px #1A2C5E inset;
  caret-color: #fff;
}
#quandea-booking .qb-info-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
#quandea-booking .qb-info-back {
  height: 50px;
  padding: 0 22px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}
#quandea-booking .qb-info-back:hover { background: rgba(255, 255, 255, 0.12); }
#quandea-booking .qb-info-submit {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 54px;
  padding: 0 7px 0 24px;
  border-radius: 100px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(237, 64, 52, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#quandea-booking .qb-info-submit span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10, 22, 54, 0.35);
  font-size: 16px;
  transition: transform 0.3s ease;
}
#quandea-booking .qb-info-submit:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(237, 64, 52, 0.55); }
#quandea-booking .qb-info-submit:hover:not(:disabled) span { transform: rotate(-45deg); }
#quandea-booking .qb-info-submit:disabled { opacity: 0.6; cursor: not-allowed; padding: 0 24px; }

/* ---------- Confirmation ---------- */
#quandea-booking .qb-confirmation { display: none; position: relative; padding: 40px 20px 20px; text-align: center; }
#quandea-booking .qb-confirmation.active,
#quandea-booking .qb-confirmation.show { display: block; animation: qbReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
#quandea-booking .qb-check {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 84px; height: 84px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--red-light), var(--red) 60%, #B9271D);
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 0 60px rgba(237, 64, 52, 0.6);
}
#quandea-booking .qb-check i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: qbShock 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
#quandea-booking .qb-check i:nth-child(2) { animation-delay: 1.2s; }
@keyframes qbShock {
  from { transform: scale(1); opacity: 0.9; }
  to   { transform: scale(3.2); opacity: 0; }
}
#quandea-booking .qb-kicker-center { justify-content: center; }
#quandea-booking .qb-confirmation h2 {
  margin: 4px 0 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}
#quandea-booking .qb-confirmation h2 strong { font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
#quandea-booking .qb-confirmation p { max-width: 580px; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.65; }
#quandea-booking #qbRestart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin: 0;
  padding: 0 26px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
#quandea-booking #qbRestart:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(249, 249, 246, 0.42); }

/* Focus clavier visible partout */
#quandea-booking button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  #quandea-booking .qb-two-columns { grid-template-columns: 1fr; }
  #quandea-booking .qb-progress-step b { display: none; }
  #quandea-booking .qb-progress-step.active b { display: block; }
}
@media (max-width: 760px) {
  #quandea-booking { width: calc(100% - 16px); margin: 16px auto 40px; border-radius: 26px; }
  #quandea-booking .qb-viewfinder { inset: 12px; }
  #quandea-booking .qb-wrap { width: calc(100% - 32px); padding: 24px 0 44px; }
  #quandea-booking .qb-intro { margin-bottom: 26px; }
  #quandea-booking .qb-mini-header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 10px; margin-bottom: 34px; }
  #quandea-booking a.qb-mh-logo { justify-self: start; }
  #quandea-booking .qb-mh-sub { letter-spacing: 0.2em !important; }
  #quandea-booking .qb-mh-nav { grid-column: 1 / -1; order: 3; justify-content: space-between; }
  #quandea-booking .qb-mh-nav a { flex: 1; text-align: center; padding: 10px 6px !important; }
  #quandea-booking .qb-mh-name { font-size: 20px !important; }
  #quandea-booking a.qb-mh-cta { height: 38px !important; font-size: 12px !important; padding-left: 14px !important; }
  #quandea-booking .qb-mh-cta-icon { flex-basis: 28px !important; width: 28px !important; height: 28px !important; }
  #quandea-booking .qb-confirmation-actions { flex-direction: column; align-items: stretch; }
  #quandea-booking .qb-confirmation-actions a.qb-home,
  #quandea-booking #qbRestart { justify-content: center !important; }
  #quandea-booking .qb-intro h1 { font-size: clamp(44px, 13vw, 64px); }
  #quandea-booking .qb-intro p { font-size: 14px; }
  #quandea-booking .qb-progress { gap: 8px; padding: 8px 10px; margin-bottom: 30px; }
  #quandea-booking .qb-progress-step { gap: 8px; }
  #quandea-booking .qb-progress-step span { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }
  #quandea-booking .qb-progress-step b,
  #quandea-booking .qb-progress-step.active b { display: none; }
  #quandea-booking .qb-section-title { gap: 14px; }
  #quandea-booking .qb-section-title > span { width: 44px; height: 44px; flex-basis: 44px; border-radius: 13px; font-size: 15px; }
  #quandea-booking .qb-choice-grid { grid-template-columns: 1fr; gap: 14px; }
  #quandea-booking .qb-choice { min-height: 0; padding: 22px; border-radius: 24px; }
  #quandea-booking .qb-choice-top { margin-bottom: 22px; }
  #quandea-booking .qb-choice:hover { transform: none; }
  #quandea-booking .qb-calendar,
  #quandea-booking .qb-time-box,
  #quandea-booking form#qbForm.qb-info-form,
  #quandea-booking .qb-summary { padding: 20px 16px; border-radius: 22px; }
  #quandea-booking .qb-summary { padding-top: 24px; }
  #quandea-booking .qb-week,
  #quandea-booking .qb-days { gap: 5px; }
  #quandea-booking .qb-day { border-radius: 11px; font-size: 15px; }
  #quandea-booking .qb-times { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  #quandea-booking .qb-time { height: 56px; font-size: 19px; }
  #quandea-booking .qb-info-grid { grid-template-columns: 1fr; }
  #quandea-booking .qb-info-actions { flex-direction: column-reverse; align-items: stretch; }
  #quandea-booking .qb-info-submit { justify-content: space-between; }
  #quandea-booking .qb-info-back { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #quandea-booking .qb-grain,
  #quandea-booking .qb-check i { animation: none; }
  #quandea-booking .qb-panel.active,
  #quandea-booking .qb-confirmation.active { animation: none; }
}
