/* --- Variables & Reset --- */
:root {
  --primary-color: #4a2840;
  --primary-hover: #331b2c;
  --accent-color: #d4af37;
  --text-dark: #2c2529;
  --text-light: #6e656a;
  --bg-light: #fcfaf7;
  --bg-white: #ffffff;
  --shadow: 0 15px 35px rgba(74, 40, 64, 0.06);
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
}

/* Application du dégradé de couleur sable/lin doux et lumineux */
body {
  line-height: 1.6;
  background: linear-gradient(135deg, #f5eee6 0%, #e8d9c8 50%, #d8c2aa 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.container-form {
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px 80px 20px;
}

/* --- Typographie --- */
h1,
h2,
.form-header {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-header h1 {
  color: var(--text-dark);
  font-size: 2.4rem;
  margin-bottom: 15px;
}
.form-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Liens & Boutons --- */
.back-link {
  text-decoration: none;
  display: inline-block;
  color: var(--bg-white);
  font-size: 0.95rem;
  font-weight: 500;
  background-color: var(--primary-color);
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(74, 40, 64, 0.15);
  transition: var(--transition);
}
.back-link:hover {
  color: var(--bg-white);
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 40, 64, 0.25);
}

.btn-submit {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 18px;
  font-size: 1.1rem;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(74, 40, 64, 0.15);
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 40, 64, 0.25);
}

/* --- Structure du Formulaire --- */
.nav-simple {
  position: static;
  background-color: transparent;
  padding: 25px 0 10px 0;
}

.nav-container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--text-dark);
  font-size: 1.6rem;
  letter-spacing: 2px;
}

/* Bloc du formulaire principal */
.booking-form {
  background-color: rgba(255, 255, 255, 0.98);
  padding: 45px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(74, 40, 64, 0.02);
}

@media (max-width: 600px) {
  .booking-form {
    padding: 25px;
  }
}

.form-section {
  margin-bottom: 45px;
}
.form-section:last-of-type {
  margin-bottom: 35px;
}

.form-section h2 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  border-bottom: 2px solid #f2ebf0;
  padding-bottom: 12px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
}

.form-group input {
  padding: 14px;
  border: 1px solid #d4cbd2;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: #fdfcfd;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(74, 40, 64, 0.12);
}

/* --- Liste des Soins --- */
.care-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.care-item {
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  padding: 22px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(74, 40, 64, 0.05);
  transition: var(--transition);
}

.care-item:hover {
  background-color: #f5eff3;
  transform: translateX(3px);
  border-color: rgba(74, 40, 64, 0.15);
}

.care-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary-color);
  margin-right: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.care-details {
  flex-grow: 1;
  padding-right: 15px;
}
.care-title {
  display: block;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1.05rem;
}
.care-desc {
  display: block;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.4;
}
.care-price {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.15rem;
  white-space: nowrap;
}
