/* Le Chandra Coiffure — page client (bleu nuit du mur, or, blanc), 02/12/2026. Repris de la feuille Gaze.
   Chargé APRÈS le style d'origine de Barber Pilot : il ne fait que le surcharger. */
:root {
  --bg: #0A0F1A;
  --card: #111A2B;
  --border: #22304A;
  --line: #1C2840;
  --text: #F4F2EC;
  --muted: #A9B2C3;
  --gold: #D6AE55;
  --gold-hi: #ECC978;
  --gold-bg: #17160F;
  --accent: var(--gold);
  --accent-dark: #0A0F1A;
  --green: #6FCF97;
  --danger: #F28B82;
  --hk-soft: #111A2B;
  --hk-tint: #17160F;
  --gz-serif: 'Marcellus', Georgia, serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

/* ===== En-tête ===== */
.header {
  text-align: left; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; background: var(--bg); border-bottom: 1px solid var(--line);
  max-width: 720px; margin: 0 auto; box-sizing: border-box;
}
.header .hk-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: 0 0 44px; }
.header .hk-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.header h1 { font-family: var(--gz-serif); font-size: 18px; font-weight: 700; letter-spacing: 0.04em; color: var(--text); margin: 0; }
.header h1 span { color: var(--text); }
.header .hk-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.header p, .header .emoji { display: none; }
.header .hk-back {
  margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid #2A3854; border-radius: 999px; color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.header .hk-back:hover { border-color: var(--gold); }

/* ===== Accueil ===== */
#homeChoice.container { max-width: 720px; padding: 0 0 8px; }
.gz-hero { position: relative; min-height: 520px; overflow: hidden; display: flex; align-items: flex-end; }
.gz-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gz-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,26,.15) 0%, rgba(10,15,26,.6) 45%, #0A0F1A 100%); }
.gz-hero-in { position: relative; z-index: 1; width: 100%; padding: 0 22px 28px; display: flex; flex-direction: column; gap: 14px; box-sizing: border-box; }
.gz-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.gz-title { margin: 0; font-family: var(--gz-serif); font-size: clamp(34px, 9vw, 52px); font-weight: 600; line-height: 1.08; color: var(--text); }
.gz-lead { margin: 0; font-size: 16px; line-height: 1.5; color: #D5DBE6; max-width: 460px; }
.gz-cta {
  margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px;
  border: none; border-radius: 14px; background: var(--gold); color: #0A0F1A; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
}
.gz-cta:hover { background: var(--gold-hi); }
.gz-ghost {
  display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 14px;
  border: 1px solid #33446A; background: rgba(10,15,26,.5); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none;
}
.gz-ghost:hover { border-color: var(--gold); color: var(--text); }

.gz-infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 8px 18px 26px; }
.gz-tile { border: 1px solid var(--border); background: var(--card); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; color: var(--gold); }
.gz-tl { font-size: 12px; font-weight: 600; color: var(--muted); }
.gz-tv { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.35; }

.gz-sec { padding: 8px 18px 28px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 12px; }
.gz-sec-head { display: flex; align-items: baseline; justify-content: space-between; }
.gz-sec-head h2 { margin: 0; font-family: var(--gz-serif); font-size: 26px; font-weight: 600; color: var(--text); }
.gz-sec-head span { font-size: 13px; color: var(--muted); }

.gz-feat {
  width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 18px; text-align: left; cursor: pointer;
  border-radius: 18px; border: 1px solid var(--gold); background: var(--gold-bg); color: var(--text); font: inherit;
}
.gz-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #0A0F1A; background: var(--gold); padding: 4px 8px; border-radius: 6px; }
.gz-feat-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gz-feat-n { font-size: 18px; font-weight: 700; }
.gz-feat-p { font-family: var(--gz-serif); font-size: 24px; font-weight: 700; color: var(--gold); white-space: nowrap; }

.gz-menu { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 18px; background: var(--card); overflow: hidden; }
.gz-cat { padding: 14px 16px 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); border-top: 1px solid var(--line); }
.gz-cat:first-child { border-top: none; }
.gz-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.gz-nm { display: flex; flex-direction: column; }
.gz-n { font-size: 16px; font-weight: 600; color: var(--text); }
.gz-m { font-size: 13px; color: var(--muted); }
.gz-p { font-size: 17px; font-weight: 700; color: var(--text); white-space: nowrap; }

.gz-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gz-gal img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; display: block; }
.gz-gal .gz-wide { grid-column: span 2; height: 200px; }

/* Cartes d'accueil restantes : abonnement, carte cadeau */
#homeChoice .home-card { margin: 0 18px 12px; }
.home-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: none; color: var(--text); min-height: 72px;
}
.home-card.gold { background: var(--gold-bg); border-color: var(--gold); }
.hc-icon { display: none; }
.hc-title { color: var(--text); font-weight: 700; }
.hc-desc { color: var(--muted); }
.hc-badge { background: var(--gold); color: #0A0F1A; }
.hc-arrow { color: var(--muted); }

.gz-foot {
  max-width: 720px; margin: 8px auto 0; box-sizing: border-box; border-top: 1px solid var(--line);
  padding: 26px 18px 34px; display: flex; flex-direction: column; gap: 12px;
}
.gz-foot img { width: 100%; height: 200px; object-fit: cover; object-position: center 20%; border-radius: 16px; }
.gz-foot strong { font-family: var(--gz-serif); font-size: 20px; font-weight: 600; }
.gz-small { font-size: 13px; color: var(--muted); }

/* ===== Réservation ===== */
.container { max-width: 560px; padding: 22px 18px 48px; }
.step { margin-bottom: 26px; }
.step-title {
  font-family: Inter, system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); gap: 10px; margin-bottom: 12px;
}
.step-num {
  background: var(--gold); color: #0A0F1A; font-family: Inter, system-ui, sans-serif;
  font-size: 13px; font-weight: 700; width: 26px; height: 26px; min-width: 26px; box-shadow: none; letter-spacing: 0;
}

/* Prestations : une carte par ligne, prix à droite */
#services { display: flex; flex-direction: column; gap: 10px; }
#services .chip {
  width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 64px; padding: 14px 16px; text-align: left;
}
#services .chip .c-day { font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0; }
#services .chip .c-date { font-size: 14px; color: var(--muted); white-space: nowrap; }

.chip { background: var(--card); border: 1px solid var(--border); border-radius: 14px; color: var(--text); box-shadow: none; min-height: 44px; }
.chip .c-day { color: var(--text); font-weight: 600; }
.chip .c-date { color: var(--muted); }
.chip.selected { background: var(--gold-bg); border-color: var(--gold); box-shadow: none; }
.chip.selected .c-day { color: var(--text); }
.chip.selected .c-date { color: var(--gold); }
#dates .chip.selected { background: var(--text); border-color: var(--text); }
#dates .chip.selected .c-day, #dates .chip.selected .c-date { color: #0A0F1A; }
.chip.disabled { opacity: 0.4; border-style: dashed; }

.barber-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: none; padding: 14px 10px; }
.barber-card .b-icon {
  width: 48px; height: 48px; margin: 0 auto; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: #1C2840; color: var(--text); font-family: var(--gz-serif); font-size: 20px; font-weight: 700; border: none;
}
.barber-card .b-name { color: var(--text); font-weight: 700; }
.barber-card .b-sub { color: var(--muted); }
.barber-card.selected { background: var(--gold-bg); border-color: var(--gold); box-shadow: none; }
.barber-card.selected .b-icon { background: var(--gold); color: #0A0F1A; }

.slot { background: var(--card); border: 1px solid #26344F; border-radius: 12px; color: var(--text); min-height: 46px; box-shadow: none; font-weight: 600; }
.slot.selected { background: var(--gold); border-color: var(--gold); color: #0A0F1A; }
.slot.taken { background: transparent; color: #6C7891; border-color: #18233A; text-decoration: line-through; }

.form-group label { color: var(--text); letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 600; }
.form-group input, .form-group textarea {
  background: var(--card); border: 1px solid #2C3B58; border-radius: 12px; color: var(--text); min-height: 50px;
  font-family: inherit; font-size: 16px; color-scheme: dark;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(214,174,85,.18); }

.recap { background: var(--card); border: 1px solid var(--border); border-radius: 16px; color: var(--text); }
.recap b { color: var(--gold); }
.submit-btn, .again-btn, .wl-btn {
  background: var(--gold); color: #0A0F1A; border: none; border-radius: 14px; min-height: 56px;
  font-weight: 700; font-size: 17px; box-shadow: none; text-shadow: none;
}
.submit-btn:hover:not(:disabled), .again-btn:hover, .wl-btn:hover { background: var(--gold-hi); }
#submit { position: sticky; bottom: 14px; z-index: 5; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.submit-btn:disabled { background: #26344F; color: var(--muted); box-shadow: none; }
.again-btn[onclick*="/reservation"] { background: transparent; color: var(--text); border: 1px solid #33446A; }
.error-msg { color: var(--danger); background: #2A1514; border-color: #5A2A27; }

.wl-box { background: var(--card); border: 1px solid var(--border); color: var(--text); }
.success { color: var(--text); max-width: 560px; margin: 0 auto; padding: 40px 18px; }
.success .s-icon { display: none; }
.gz-s-logo { display: block; width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 22px; object-fit: cover; }
.success h2 { font-family: var(--gz-serif); font-size: 30px; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.success p { color: var(--muted); }
.success .s-recap { background: var(--card); border: 1px solid var(--border); border-radius: 18px; color: var(--text); }
.success .s-recap b { color: var(--gold); }
.loading { color: var(--muted); }

@media (min-width: 700px) {
  .gz-hero { min-height: 600px; border-radius: 0 0 24px 24px; }
  .gz-cta, .gz-ghost { max-width: 420px; }
}

/* Nous trouver (adresse, appel, itinéraire) */
.gz-find-card { border: 1px solid var(--border); background: var(--card); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.gz-find-row { display: flex; flex-direction: column; gap: 4px; }
.gz-tel { color: var(--text); text-decoration: none; font-size: 18px; }
.gz-find-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.gz-find-btns .gz-cta { margin-top: 0; text-decoration: none; }

/* ===== Le Chandra : logo du panneau (blanc détouré) ===== */
.lch-hero-logo { width: min(320px, 78%); height: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.6)); }
.gz-foot img.lch-foot-logo { width: min(260px, 70%); height: auto; object-fit: contain; border-radius: 0; margin: 4px auto 0; }
.header h1 { letter-spacing: 0.06em; }
