/* =========================
   CLEANKAR - RÉSERVATION
   ========================= */

.reservation-hero {
  background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 100%);
  padding: 65px 0 55px;
  border-bottom: 1px solid #e8edf7;
}

.reservation-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.reservation-heading .section-tag {
  display: inline-block;
  margin-bottom: 18px;
}

.reservation-heading h1 {
  font-family: "Nunito", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.08;
  color: #102044;
  margin: 0 0 15px;
  font-weight: 900;
}

.reservation-heading p {
  font-size: 1.05rem;
  color: #64708a;
  margin: 0;
}


/* PROGRESSION */

.reservation-progress {
  max-width: 850px;
  margin: 45px auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 90px;
  color: #8c96aa;
  font-size: 0.82rem;
}

.progress-step span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d9dfeb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 9px;
}

.progress-step strong {
  font-weight: 800;
}

.progress-step.active {
  color: #2147bd;
}

.progress-step.active span {
  background: #2147bd;
  border-color: #2147bd;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(33, 71, 189, 0.20);
}

.progress-line {
  height: 2px;
  background: #d9dfeb;
  flex: 1;
  max-width: 90px;
  margin-top: 20px;
}


/* MOBILE */

@media (max-width: 700px) {

  .reservation-hero {
    padding: 45px 0 40px;
  }

  .reservation-heading h1 {
    font-size: 2.2rem;
  }

  .reservation-progress {
    margin-top: 35px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .progress-step {
    min-width: 75px;
    font-size: 0.72rem;
  }

  .progress-step span {
    width: 36px;
    height: 36px;
  }

  .progress-line {
    min-width: 25px;
    margin-top: 17px;
  }
}

/* =========================
   CHOIX DE LA PRESTATION
   ========================= */

.reservation-content {
  padding: 65px 0 90px;
  background: #ffffff;
}

.booking-step {
  max-width: 1150px;
  margin: 0 auto;
}

.booking-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.booking-step-number {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  background: #2147bd;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 7px 20px rgba(33, 71, 189, 0.18);
}

.booking-step-header h2 {
  margin: 0 0 4px;
  color: #102044;
  font-size: 1.65rem;
  font-weight: 900;
}

.booking-step-header p {
  margin: 0;
  color: #7a8499;
}


/* CARTES */

.booking-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.booking-service {
  position: relative;
  appearance: none;
  font-family: inherit;
  text-align: left;
  background: #ffffff;
  border: 2px solid #e6eaf2;
  border-radius: 20px;
  padding: 24px;
  min-height: 235px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  color: #102044;
}

.booking-service:hover {
  transform: translateY(-4px);
  border-color: #2147bd;
  box-shadow: 0 14px 35px rgba(16, 32, 68, 0.10);
}

.bs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.bs-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.bs-price {
  color: #2147bd;
  font-size: 1.5rem;
  font-weight: 900;
}

.booking-service h3 {
  margin: 0 0 9px;
  font-size: 1.15rem;
  font-weight: 900;
  color: #102044;
}

.booking-service p {
  margin: 0 0 22px;
  color: #778198;
  font-size: .9rem;
  line-height: 1.5;
}

.bs-select {
  display: inline-flex;
  align-items: center;
  color: #2147bd;
  font-size: .86rem;
  font-weight: 800;
}


/* FORMULE MISE EN AVANT */

.booking-service.featured {
  border-color: #28c75f;
}

.bs-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #28c75f;
  color: #ffffff;
  border-radius: 30px;
  padding: 5px 12px;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .04em;
}


/* FORMULE SÉLECTIONNÉE - utilisée ensuite en JavaScript */

.booking-service.selected {
  border-color: #2147bd;
  background: #f7f9ff;
  box-shadow: 0 12px 30px rgba(33, 71, 189, 0.13);
}

.booking-service.selected .bs-select {
  color: #28c75f;
}


/* RESPONSIVE */

@media (max-width: 950px) {
  .booking-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reservation-content {
    padding: 45px 0 65px;
  }

  .booking-services {
    grid-template-columns: 1fr;
  }

  .booking-service {
    min-height: auto;
  }
}

/* =========================
   OPTIONS
   ========================= */

.booking-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.booking-option {
  appearance: none;
  width: 100%;
  border: 2px solid #e6eaf2;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.booking-option:hover {
  border-color: #2147bd;
  box-shadow: 0 8px 25px rgba(16, 32, 68, .07);
}

.bo-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 13px;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bo-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bo-content strong {
  color: #102044;
  font-size: .95rem;
  font-weight: 900;
  margin-bottom: 3px;
}

.bo-content small {
  color: #7a8499;
  font-size: .78rem;
  line-height: 1.35;
}

.bo-price {
  color: #2147bd;
  font-weight: 900;
  white-space: nowrap;
  font-size: .95rem;
}

.bo-check {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  border: 2px solid #dce2ed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2147bd;
  font-size: 1.2rem;
  font-weight: 800;
}


/* OPTION SÉLECTIONNÉE */

.booking-option.selected {
  border-color: #28c75f;
  background: #f7fff9;
}

.booking-option.selected .bo-check {
  background: #28c75f;
  border-color: #28c75f;
  color: #ffffff;
}


/* ESPACEMENT ENTRE ÉTAPE 1 ET 2 */

.booking-options-section {
  padding-top: 10px;
}


/* MOBILE */

@media (max-width: 750px) {

  .booking-options {
    grid-template-columns: 1fr;
  }

  .booking-option {
    padding: 15px;
  }

}

/* =========================
   BARRE RÉCAPITULATIVE FIXE
   ========================= */

.booking-summary-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid #e3e8f1;
  box-shadow: 0 -8px 30px rgba(16, 32, 68, 0.10);
  backdrop-filter: blur(12px);
}

.booking-summary-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 38px;
}

.booking-summary-service,
.booking-summary-options,
.booking-summary-total {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.booking-summary-service {
  flex: 1;
}

.booking-summary-service span,
.booking-summary-options span,
.booking-summary-total span {
  color: #8a94a8;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking-summary-service strong,
.booking-summary-options strong {
  color: #102044;
  font-size: 0.95rem;
  font-weight: 900;
}

.booking-summary-options {
  min-width: 100px;
}

.booking-summary-total {
  min-width: 90px;
}

.booking-summary-total strong {
  color: #2147bd;
  font-size: 1.55rem;
  font-weight: 900;
}

.booking-summary-next {
  appearance: none;
  border: 0;
  border-radius: 50px;
  background: #2147bd;
  color: #ffffff;
  padding: 15px 26px;
  min-height: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.booking-summary-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(33, 71, 189, 0.22);
}

/* Empêche la barre de cacher le bas de la page */
body {
  padding-bottom: 105px;
}


/* MOBILE */

@media (max-width: 700px) {

  body {
    padding-bottom: 95px;
  }

  .booking-summary-inner {
    min-height: 78px;
    gap: 12px;
  }

  .booking-summary-options {
    display: none;
  }

  .booking-summary-service span {
    display: none;
  }

  .booking-summary-service strong {
    font-size: 0.8rem;
  }

  .booking-summary-total {
    min-width: 65px;
  }

  .booking-summary-total strong {
    font-size: 1.25rem;
  }

  .booking-summary-next {
    padding: 12px 17px;
    min-height: 44px;
    font-size: 0.82rem;
  }
}

/* =========================
   CALENDRIER DE RÉSERVATION
   ========================= */

.booking-slot-content {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  margin-top: 30px;
  align-items: start;
}

.booking-calendar,
.booking-times {
  background: #ffffff;
  border: 1px solid #e3e8f1;
  border-radius: 20px;
  padding: 24px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.calendar-header h3 {
  margin: 0;
  color: #102044;
  font-size: 1.2rem;
  font-weight: 900;
}

.calendar-arrow {
  appearance: none;
  width: 42px;
  height: 42px;
  border: 1px solid #dce2ed;
  border-radius: 50%;
  background: #ffffff;
  color: #2147bd;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-arrow:hover {
  background: #f0f4ff;
  border-color: #2147bd;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-weekdays {
  margin-bottom: 10px;
}

.calendar-weekdays span {
  text-align: center;
  color: #8a94a8;
  font-size: 0.78rem;
  font-weight: 900;
}

.calendar-days {
  min-height: 250px;
}

.booking-times h3 {
  margin: 0 0 8px;
  color: #102044;
  font-size: 1.05rem;
  font-weight: 900;
}

.booking-times-placeholder {
  margin: 0;
  color: #7a8499;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 750px) {

  .booking-slot-content {
    grid-template-columns: 1fr;
  }

  .booking-calendar,
  .booking-times {
    padding: 18px;
  }

}

/* =========================
   JOURS DU CALENDRIER
   ========================= */

.calendar-day {
  appearance: none;
  border: 1px solid transparent;
  background: #f7f9fc;
  color: #102044;
  border-radius: 12px;
  min-height: 48px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.calendar-day:hover {
  background: #f0f4ff;
  border-color: #2147bd;
  color: #2147bd;
}

.calendar-day.selected {
  background: #2147bd;
  border-color: #2147bd;
  color: #ffffff;
}

.calendar-day.disabled {
  background: transparent;
  color: #c5cad4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day.disabled:hover {
  background: transparent;
  border-color: transparent;
  color: #c5cad4;
}

/* =========================
   CRÉNEAUX HORAIRES
   ========================= */

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.time-slot {
  appearance: none;
  border: 1px solid #dce2ed;
  background: #f7f9fc;
  color: #102044;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.time-slot:hover {
  background: #f0f4ff;
  border-color: #2147bd;
  color: #2147bd;
}

.time-slot.selected {
  background: #2147bd;
  border-color: #2147bd;
  color: #ffffff;
}

@media (max-width: 750px) {
  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}