:root {
  --cream: #F7F5F0;
  --paper: #FFFFFF;
  --ink: #2E2C27;
  --ink-soft: #6B6A62;
  --gold: #A9863F;
  --gold-soft: #F1E9D6;
  --lagoon: #5F8A8B;
  --lagoon-soft: #E4EEEC;
  --border: #E5E1D6;
  --busy: #EFECE5;
  --error: #A2402F;
  --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--cream); color: var(--ink); line-height: 1.5;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; margin: 0; letter-spacing: 0.005em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--cream);
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover { background: #45423b; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--paper); border-color: var(--gold); color: var(--gold); }
.btn-small { padding: 7px 14px; font-size: 13.5px; }
.btn-danger { background: transparent; color: var(--error); border-color: #E3C9C2; }
.btn-danger:hover { background: #FBF1EE; }

/* ---------- En-tête des pages internes ---------- */
.topbar {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  max-width: 960px; margin: 0 auto;
}
.topbar img { width: 54px; height: 54px; object-fit: contain; }
.topbar .who { font-family: 'Fraunces', serif; font-size: 17px; line-height: 1.2; }
.topbar .where { font-size: 13px; color: var(--ink-soft); }
.topbar .back { margin-left: auto; font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.topbar .back:hover { color: var(--gold); }

.demo-banner {
  background: var(--gold-soft); color: #6B5320; font-size: 13.5px; text-align: center;
  padding: 8px 16px;
}

/* ---------- Champs ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field .opt { color: var(--ink-soft); font-weight: 400; }
.field .hint { font-size: 12.5px; color: var(--ink-soft); }
.field .err { font-size: 13px; color: var(--error); min-height: 0; }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=date], input[type=time], select, textarea {
  width: 100%; background: var(--paper); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 13px; font-size: 16px; min-height: 46px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(169,134,63,.15); }
.field.invalid input { border-color: var(--error); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
