/* Page de réservation Nexelum. Couleurs de la nouvelle charte (à valider) : bleu encre, corail
   électrique, blanc perle. Le corail sert aux boutons, jamais au texte courant. */
:root {
  --ink: #16213e;
  --coral: #ff5a4f;
  --coral-dark: #d93a30;
  --pearl: #f7f5f0;
  --card: #ffffff;
  --muted: #5b6478;
  --error: #b00020;
  --line: #d9d6cf;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--pearl);
  color: var(--ink);
}
main {
  max-width: 34rem;
  margin: 1.5rem auto;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(22, 33, 62, 0.08);
}
header { margin-bottom: 1rem; }
.brand { margin: 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
h1 { margin: 0.2rem 0 0.4rem; font-size: 1.6rem; }
h2 { font-size: 1.1rem; margin: 1.2rem 0 0.6rem; }
label { display: block; margin: 0.8rem 0; font-weight: 600; }
input, select, textarea {
  display: block; width: 100%; margin-top: 0.3rem; padding: 0.65rem 0.75rem;
  font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid rgba(255, 90, 79, 0.45); outline-offset: 1px; }
.row { display: flex; gap: 0.8rem; }
.row label { flex: 1; }
.check { display: flex; gap: 0.6rem; font-weight: 400; align-items: flex-start; }
.check input { width: auto; margin-top: 0.3rem; }
.slots { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.slots button {
  min-width: 4.8rem; padding: 0.6rem 0.8rem; font: inherit; font-weight: 600;
  color: var(--ink); background: var(--pearl); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.slots button:hover { border-color: var(--coral); }
.slots.full button { color: var(--muted); background: #fff; border-style: dashed; }
.waiting { background: #e9edf7; }
.service { width: 100%; margin: 0.6rem 0 0.1rem; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.primary {
  display: block; width: 100%; margin-top: 1rem; padding: 0.85rem; font: inherit; font-weight: 700;
  color: var(--ink); background: var(--coral); border: 0; border-radius: 12px; cursor: pointer;
}
.primary:hover { background: var(--coral-dark); color: #fff; }
.primary:disabled { opacity: 0.6; cursor: wait; }
.link { padding: 0; font: inherit; color: var(--ink); text-decoration: underline; background: none; border: 0; cursor: pointer; }
.summary { padding: 0.75rem; background: var(--pearl); border-radius: 10px; font-weight: 600; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 0.85rem; }
.error { color: var(--error); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
footer { text-align: center; margin: 1rem 0 2rem; font-size: 0.85rem; }
footer a { color: var(--muted); }
@media (max-width: 30rem) { main { margin: 0; border-radius: 0; min-height: 100vh; } }
