/* ── HERO ── */
.reserver-hero {
  position: relative;
  min-height: 32vh;
  text-align: center;
  background: url('images/fond.jpg') center 30% / cover no-repeat;
  background-color: var(--green-dark);
  margin-top: 92px;
  padding: 3rem 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reserver-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(20,45,25,0.32) 0%, rgba(14,32,18,0.7) 100%);
}

.reserver-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 640px;
  color: #fff;
}

.reserver-hero__content h1 {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 4px 20px rgba(0,0,0,0.4);
}

.reserver-hero__content p {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.95;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ── LAYOUT ── */
.reserver-form-section {
  background: var(--cream);
  padding: 5rem 5%;
}

.reserver-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── INFOS ── */
.reserver-info h2,
.reserver-form h2 {
  font-family: var(--font-title);
  font-size: 2.3rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.15;
  color: var(--green-dark);
  margin-bottom: 2rem;
}

.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.info-block strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-block p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  font-weight: 300;
}

.ateliers-list {
  position: relative;
  margin-top: 2rem;
  background: rgba(46,83,57,0.15);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--green-dark);
  overflow: hidden;
}

.ateliers-list__deco {
  position: absolute;
  bottom: -10px;
  right: 0.5rem;
  width: 60px;
  height: auto;
  opacity: 0.4;
}
.ateliers-list__deco path { stroke: var(--green-dark) !important; }

.ateliers-list h3 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
  position: relative;
}

.ateliers-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

.ateliers-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 400;
}

.ateliers-list li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── FORMULAIRE ── */
.reserver-form form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid #d4cec7;
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 300;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.char-counter {
  align-self: flex-end;
  font-size: 0.72rem;
  color: #999;
  letter-spacing: 0.04em;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
  padding: 1rem 2.2rem;
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s;
  align-self: flex-start;
}

.btn-submit:hover { background: var(--green-mid); }

.reserver-form__note {
  font-size: 0.8rem;
  color: #888;
  font-weight: 300;
}

/* ── SUCCESS ── */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem;
  background: #f0ede8;
  border-radius: 8px;
}

.form-success span { font-size: 2.5rem; }

.form-success p {
  font-size: 1rem;
  color: var(--green-dark);
  font-weight: 400;
  line-height: 1.6;
}

/* ── INPUT READONLY ── */
.input-readonly {
  background: var(--cream-dark) !important;
  color: #888 !important;
  cursor: default;
}

/* ── RADIO SÉANCE ── */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.3rem;
}

.radio-option {
  cursor: pointer;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.2rem 1rem;
  border: 1.5px solid #d4cec7;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}

.radio-option input:checked + .radio-box {
  border-color: var(--green-dark);
  background: rgba(46,83,57,0.05);
}

.radio-icon { color: var(--green-dark); }
.radio-icon svg { width: 22px; height: 22px; }
.radio-icon img { width: 36px; height: auto; }

.radio-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: 0.06em;
}

.radio-sub {
  font-size: 0.75rem;
  color: #888;
  font-weight: 300;
}

/* ── ACTIVE NAV ── */
.navbar__links a.active,
.btn-nav.active {
  border-bottom: 1px solid rgba(255,255,255,0.7);
  padding-bottom: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .reserver-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .reserver-form-section { padding: 3rem 5%; }
  /* Prévient le zoom automatique sur iOS lors du focus d'un champ */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }
  .btn-submit { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .reserver-hero__content h1 { font-size: 1.7rem; }
  .reserver-hero__content p { font-size: 0.9rem; }
  .reserver-hero { padding: 3.5rem 6%; }
  .reserver-info h2, .reserver-form h2 { font-size: 1.7rem; margin-bottom: 1.4rem; }
  .reserver-form-section { padding: 2.5rem 5%; }
}
