/* ===== Mise en page (mobile-first) ===== */
.reservation-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* ===== Formulaire ===== */
.reservation-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid rgba(58,42,30,0.15);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form-section-title {
  font-size: 0.95rem;
  color: var(--brown-deep);
  font-weight: 700;
  margin-top: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(58,42,30,0.08);
}
.form-section-title:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.reservation-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ===== Sélection de chambres (cases à cocher) ===== */
.room-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.room-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(58,42,30,0.15);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  font-size: 0.9rem;
  background: var(--cream);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.room-checkbox:has(input:checked) {
  border-color: var(--gold);
  background: var(--cream-tint);
}
.room-checkbox input {
  accent-color: var(--red);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.room-checkbox small { color: var(--ink-soft); }

/* ===== Résumé ===== */
.reservation-summary {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.reservation-summary h3 { font-size: 1.05rem; margin-bottom: 1.2rem; }
#summaryRoomsList { margin-bottom: 0.4rem; }
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--ink-soft);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(58,42,30,0.08);
}
.summary-line span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(58,42,30,0.12);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
}
.summary-note { font-size: 0.76rem; color: var(--ink-soft); margin-top: 1rem; line-height: 1.5; }

/* ===== Tablette (≥ 600px) ===== */
@media (min-width: 600px) {
  .form-row { flex-direction: row; gap: 1.2rem; }
  .form-row .form-field { flex: 1; }
  .reservation-form .btn { width: auto; }
  .room-checkbox-list { flex-direction: row; flex-wrap: wrap; }
  .room-checkbox { flex: 1 1 calc(50% - 0.3rem); }
}

/* ===== Desktop (≥ 960px) ===== */
@media (min-width: 960px) {
  .reservation-grid {
    flex-direction: row;
    align-items: start;
  }
  .reservation-form { flex: 1.3; padding: 2rem; }
  .reservation-summary {
    flex: 1;
    padding: 2rem;
    position: sticky;
    top: 90px;
  }
  .reservation-summary h3 { font-size: 1.1rem; }
  .summary-total { font-size: 1.05rem; }
}