.reservation-hero {
  background: linear-gradient(135deg, rgba(8,11,20,0.92), rgba(16,38,68,0.88)), url('/images/background/page-title.jpg') center/cover no-repeat;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.reservation-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.reservation-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.reservation-hero__title {
  font-size: clamp(36px, 4.6vw, 58px);
  margin: 28px 0 22px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reservation-hero__lead {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

.reservation-flow-section {
  position: relative;
  background: #ffffff;
  color: #000000;
}

.reservation-flow {
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #000000;
  padding: 48px;
  position: relative;
  box-shadow: none;
  display: grid;
  gap: 44px;
  overflow: hidden;
}

.reservation-flow::before,
.reservation-flow::after {
  content: none;
}

.reservation-flow::before {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -180px;
}

.reservation-flow::after {
  width: 360px;
  height: 360px;
  bottom: -200px;
  left: -160px;
}

.reservation-flow > * {
  position: relative;
  z-index: 1;
}

.reservation-step-input {
  position: absolute;
  inset: auto;
  opacity: 0;
  pointer-events: none;
}


.reservation-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 4px;
}

.reservation-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 0;
  background: #ffffff;
  border: 1px solid #000000;
  cursor: pointer;
  min-height: 100px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
  color: #000000;
}

.reservation-tab__number {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: #000000;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: none;
}

.reservation-tab__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reservation-tab__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #000000;
}

.reservation-tab__hint {
  font-size: 13px;
  color: rgba(0,0,0,0.6);
}

.reservation-panels {
  position: relative;
}

.reservation-panel {
  display: none;
  gap: 34px;
}

.reservation-panel__header {
  max-width: 640px;
}

.reservation-panel__header h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.8vw, 38px);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reservation-panel__header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(0,0,0,0.7);
}

.reservation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.reservation-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.reservation-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.reservation-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 0;
  border: 1px solid #000000;
  background: #ffffff;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.reservation-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
}

.reservation-card__meta {
  font-size: 14px;
  color: rgba(0,0,0,0.65);
}

.reservation-programs {
  display: grid;
  gap: 20px;
}

.reservation-program {
  position: relative;
  display: block;
  cursor: pointer;
}

.reservation-program input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.reservation-program__body {
  display: grid;
  gap: 12px;
  padding: 26px 28px;
  border-radius: 0;
  border: 1px solid #000000;
  background: #ffffff;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.reservation-program__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--theme-color);
  color: #ffffff;
}

.reservation-program__badge--light {
  background: #ffffff;
  border: 1px solid #000000;
  color: #000000;
}

.reservation-program__badge--outline {
  background: transparent;
  color: #102644;
  border: 1px solid rgba(16,38,68,0.32);
}

.reservation-program__title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.reservation-program__meta {
  font-size: 15px;
  color: rgba(0,0,0,0.62);
}

.reservation-program__description {
  font-size: 14px;
  color: rgba(0,0,0,0.62);
  line-height: 1.6;
}

.reservation-schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.reservation-schedule__field {
  display: grid;
  gap: 10px;
}

.reservation-field__label {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.74);
}

.reservation-field__control {
  width: 100%;
  padding: 14px 16px;
  border-radius: 0;
  border: 1px solid #000000;
  background: #ffffff;
  font-size: 16px;
  color: #000000;
}

.reservation-field__control:focus {
  outline: none;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.reservation-timeslots {
  grid-column: 1 / -1;
  border: 1px dashed rgba(16,38,68,0.16);
  border-radius: 18px;
  padding: 22px 24px;
  display: grid;
  gap: 16px;
}

.reservation-timeslots legend {
  padding: 0 10px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(16,38,68,0.7);
}

.reservation-timeslots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.timeslot-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.timeslot-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.timeslot-card__body {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(16,38,68,0.1);
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.timeslot-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #102644;
}

.timeslot-card__meta {
  font-size: 14px;
  color: rgba(16,38,68,0.65);
}

.reservation-confirm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 36px;
}

.reservation-confirm__form {
  display: grid;
  gap: 20px;
}

.reservation-form__group {
  display: grid;
  gap: 10px;
}

.reservation-form__group label {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(16,38,68,0.74);
}

.reservation-form__group input,
.reservation-form__group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(16,38,68,0.15);
  background: #ffffff;
  font-size: 16px;
  color: #081020;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.reservation-form__group textarea {
  resize: vertical;
}

.reservation-form__group input:focus,
.reservation-form__group textarea:focus {
  outline: none;
  border-color: rgba(16,38,68,0.45);
  box-shadow: 0 0 0 3px rgba(16,38,68,0.15);
}

.reservation-submit {
  justify-self: start;
  padding: 16px 42px;
}

.reservation-note {
  margin: 0;
  font-size: 13px;
  color: rgba(16,38,68,0.6);
}

.reservation-confirm__summary {
  border-radius: 0;
  background: var(--theme-color);
  color: #ffffff;
  padding: 28px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.reservation-confirm__summary h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reservation-receipt {
  display: grid;
  gap: 18px;
}

.reservation-receipt div {
  display: grid;
  gap: 6px;
}

.reservation-receipt dt {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.reservation-receipt dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.reservation-receipt__footnote {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

/* Active states for tabs and panels */
#step-city:checked ~ .reservation-tabs label[for="step-city"],
#step-stage:checked ~ .reservation-tabs label[for="step-stage"],
#step-schedule:checked ~ .reservation-tabs label[for="step-schedule"],
#step-contact:checked ~ .reservation-tabs label[for="step-contact"] {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: none;
}

#step-city:checked ~ .reservation-tabs label[for="step-city"] .reservation-tab__number,
#step-stage:checked ~ .reservation-tabs label[for="step-stage"] .reservation-tab__number,
#step-schedule:checked ~ .reservation-tabs label[for="step-schedule"] .reservation-tab__number,
#step-contact:checked ~ .reservation-tabs label[for="step-contact"] .reservation-tab__number {
  background: #ffffff;
  color: var(--theme-color);
  box-shadow: none;
}

#step-city:checked ~ .reservation-tabs label[for="step-city"] .reservation-tab__hint,
#step-stage:checked ~ .reservation-tabs label[for="step-stage"] .reservation-tab__hint,
#step-schedule:checked ~ .reservation-tabs label[for="step-schedule"] .reservation-tab__hint,
#step-contact:checked ~ .reservation-tabs label[for="step-contact"] .reservation-tab__hint {
  color: #ffffff;
}

#step-city:checked ~ .reservation-panels [data-step="city"],
#step-stage:checked ~ .reservation-panels [data-step="stage"],
#step-schedule:checked ~ .reservation-panels [data-step="schedule"],
#step-contact:checked ~ .reservation-panels [data-step="contact"] {
  display: grid;
}

/* Selection highlights */
.reservation-card:hover .reservation-card__body,
.reservation-program:hover .reservation-program__body,
.timeslot-card:hover .timeslot-card__body {
  border-color: rgba(0,0,0,0.6);
  box-shadow: 0 10px 26px -24px rgba(0,0,0,0.55);
}

.reservation-card input:checked + .reservation-card__body,
.reservation-program input:checked + .reservation-program__body,
.timeslot-card input:checked + .timeslot-card__body {
  color: #000000;
  border-color: var(--theme-color);
  box-shadow: 0 18px 45px -28px rgba(0,0,0,0.45);
}

.reservation-card input:checked + .reservation-card__body::after,
.reservation-program input:checked + .reservation-program__body::after,
.timeslot-card input:checked + .timeslot-card__body::after {
  content: 'Sélectionné';
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 0;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.08);
  color: #000000;
}

/* Responsive tweaks */
@media (max-width: 1399px) {
  .reservation-flow { padding: 36px; }
}

@media (max-width: 1199px) {
  .reservation-tabs { gap: 12px; }
  .reservation-tab { padding: 16px 18px; }
  .reservation-confirm { grid-template-columns: 1fr; }
  .reservation-confirm__summary { order: -1; }
}

@media (max-width: 991px) {
  .reservation-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .reservation-flow { padding: 28px 22px; }
  .reservation-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .reservation-tab {
    min-height: auto;
    padding: 16px 18px;
  }
  .reservation-tab__content { gap: 4px; }
  .reservation-tab__hint { display: none; }
  .reservation-panel { gap: 24px; }
}

@media (max-width: 575px) {
  .reservation-hero__eyebrow { font-size: 12px; letter-spacing: .26em; }
  .reservation-hero__lead { font-size: 16px; }
  .reservation-flow { padding: 24px 18px; border-radius: 0; }
  .reservation-card__body,
  .reservation-program__body,
  .timeslot-card__body { padding: 18px; }
  .reservation-timeslots { padding: 18px; }
}
