/* =============================================================
   RideWild RÉSERVATION — Dark & Gold Premium
   rw-theme.css chargé avant ce fichier
   ============================================================= */

:root {
  --gold:       #d4a853;
  --gold-light: #f0c878;
  --gold-dark:  #a07830;
  --border-sub: rgba(255, 255, 255, 0.055);
  --maxw:       1100px;
}

body {
  background: #0a0a0a;
  color: #f0ebe0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(58px + 1.5rem) 1.5rem 4rem;
}

/* ── Kicker ── */
.kicker {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 83, 0.3);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--gold);
  background: rgba(212, 168, 83, 0.06);
}

/* ── Hero ── */
.hero,
.panel {
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.9);
  margin-bottom: 1rem;
}

.hero {
  padding: 1.3rem;
  background: linear-gradient(120deg, rgba(212, 168, 83, 0.1), rgba(10, 10, 10, 0.95) 55%, rgba(212, 168, 83, 0.04));
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0ebe0;
}

.lead {
  margin: 0;
  color: #9a8868;
  max-width: 860px;
  font-size: 0.94rem;
  line-height: 1.75;
}

/* ── Layout grid ── */
.grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1rem;
}

/* ── Panel (form card) ── */
.panel {
  padding: 1.1rem;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Experience choices ── */
.experience-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.choice-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  color: #9a8868;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.15s ease;
}

.choice-btn:hover {
  border-color: rgba(212, 168, 83, 0.35);
  color: var(--gold);
  background: rgba(212, 168, 83, 0.05);
}

.choice-btn.active {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
}

.dynamic-select        { display: none; }
.dynamic-select.active { display: flex; }

/* ── Form fields ── */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  background: rgba(255, 255, 255, 0.025);
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

p  { color: #9a8868; margin: 0.15rem 0 0.4rem; font-size: 0.86rem; }
ul, ol { margin: 0.3rem 0 0; padding-left: 1.1rem; color: #9a8868; font-size: 0.86rem; }

/* ── Aside ── */
.aside {
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(212, 168, 83, 0.03);
}

/* ── Form inputs ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  margin-bottom: 0.55rem;
}

.field.full { grid-column: 1 / -1; }

label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9a8868;
  font-weight: 700;
}

input,
select,
textarea {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0ebe0;
  padding: 0.55rem 0.65rem;
  outline: none;
  font: inherit;
  font-size: 0.86rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

input::placeholder, textarea::placeholder { color: #4a4030; }

select option { background: #111; color: #f0ebe0; }

/* ── Checkbox consent ── */
.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.5;
  font-size: 0.82rem;
  color: #9a8868;
}

.consent-line input[type="checkbox"],
.field > label input[type="checkbox"] {
  width: 16px; height: 16px;
  min-width: 16px; min-height: 16px;
  margin-top: 0.1rem;
  accent-color: var(--gold);
  box-shadow: none;
  border-radius: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.help {
  font-size: 0.76rem;
  color: #4a4030;
  margin-top: 0.05rem;
}

/* ── Form actions ── */
.actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #0a0a0a;
  text-decoration: none;
  padding: 0.58rem 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ── Feedback messages ── */
.reservation-feedback {
  margin: 0.65rem 0 0;
  min-height: 1.1rem;
  font-size: 0.8rem;
  color: #9a8868;
}

.reservation-feedback.success { color: #7dd3a8; }
.reservation-feedback.error   { color: #f08080; }
.reservation-feedback.info    { color: #7aaad4; }

/* ── Footer ── */
footer {
  margin-top: 1rem;
  border-top: 1px solid rgba(212, 168, 83, 0.1);
  background: rgba(0, 0, 0, 0.92);
}

.footer-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
  color: #4a4030;
  font-size: 0.78rem;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .grid             { grid-template-columns: 1fr; }
  .form-grid        { grid-template-columns: 1fr; }
  .experience-choices { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  main { padding: calc(58px + 1rem) 1rem 3rem; }
  .experience-choices { grid-template-columns: 1fr; }
}
