:root {
  --bg: #070707;
  --bg-2: #101010;
  --panel: #161616;
  --ink: #f4efe6;
  --muted: #9a9388;
  --line: rgba(201, 162, 39, 0.22);
  --gold: #c9a227;
  --gold-2: #e8c45a;
  --gold-fg: #0b0b0b;
  --busy: #2a2a2a;
  --ok: #2ea043;
  --wait: #e3b341;
  --danger: #dc2626;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Rajdhani", system-ui, sans-serif;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, .brand-name, .bebas {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 0.95;
  margin: 0;
}

.demo-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #000;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.demo-bar strong { color: var(--gold); font-weight: 600; }
.demo-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #000;
}
.brand-name { font-size: 26px; color: var(--gold); display: block; }
.brand small {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 4px;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold {
  background: linear-gradient(135deg, #e8c45a, #c9a227);
  border-color: #c9a227;
  color: var(--gold-fg);
}
.btn-gold:hover { filter: brightness(1.08); color: var(--gold-fg); }
.btn-ghost { color: var(--muted); }
.btn-wide { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.section { padding: 72px 0; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
  font-weight: 600;
}
.lead { color: var(--muted); max-width: 42rem; font-size: 18px; }

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,7,7,0.55) 0%, rgba(7,7,7,0.78) 55%, #070707 100%),
    radial-gradient(circle at 70% 40%, rgba(201,162,39,0.18), transparent 45%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px 64px;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 92px);
  margin-bottom: 16px;
  text-shadow: 0 8px 40px rgba(0,0,0,0.7);
}
.hero h1 span { color: var(--gold); }
.hero p {
  margin: 0 auto 24px;
  max-width: 640px;
  font-size: 20px;
  color: #d7d0c4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.45);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(46, 160, 67, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(46, 160, 67, 0); }
}

.steps, .cards, .people, .stats { display: grid; gap: 16px; margin-top: 28px; }
.step, .card, .person, .stat, .book, .agenda {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.step { padding: 18px; }
.step b { display: block; font-family: "Bebas Neue", sans-serif; font-size: 28px; color: var(--gold); letter-spacing: 0.08em; }
.step span { color: var(--muted); }

.card { overflow: hidden; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.card-body h3 { font-size: 28px; }
.meta { color: var(--muted); font-size: 15px; }
.price {
  font-family: "Orbitron", monospace;
  color: var(--gold);
  font-size: 20px;
}

.person {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
}
.person img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
}

.interior {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--line);
}
.interior img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.book { padding: 22px; box-shadow: var(--shadow); }
.field { margin: 0 0 18px; border: 0; padding: 0; }
.field legend, .lab {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.choice, .days, .slots, .pay-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label, .chip, .slot, .pay-btn {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}
.choice label:has(input:checked),
.chip:has(input:checked),
.slot.on,
.pay-btn.on {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
  color: var(--gold);
}
.choice input, .chip input { accent-color: var(--gold); }
.slot { min-width: 76px; text-align: center; background: var(--bg); color: var(--ink); }
.slot.busy {
  background: var(--busy);
  color: #666;
  text-decoration: line-through;
  cursor: not-allowed;
}
.form-grid { display: grid; gap: 12px; }
.lab input {
  width: 100%;
  border: 1px solid var(--line);
  background: #0c0c0c;
  border-radius: 8px;
  padding: 11px 12px;
}
.summary {
  background: #0c0c0c;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 8px 0 14px;
  font-family: "Orbitron", monospace;
  font-size: 13px;
  color: var(--gold-2);
}
.err { color: #f87171; font-size: 14px; min-height: 1.2em; }

.pay-btn { min-width: 140px; text-align: center; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.foot {
  padding: 28px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.painel-head { padding: 28px 0 8px; }
.stat { padding: 16px; }
.stat span { display: block; color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.stat b { font-family: "Orbitron", monospace; font-size: 26px; color: var(--gold); font-weight: 700; }
.agenda { overflow: hidden; }
.agenda-row {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.agenda-row:last-child { border-bottom: 0; }
.agenda-row.new { background: rgba(201, 162, 39, 0.08); }
.time { font-family: "Orbitron", monospace; font-size: 18px; color: var(--gold); }
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  width: fit-content;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-ok { background: rgba(46, 160, 67, 0.18); color: #7ee089; }
.badge-wait { background: rgba(227, 179, 65, 0.16); color: var(--wait); }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: end center;
  z-index: 40;
  padding: 16px;
}
[hidden] { display: none !important; }
.sheet {
  width: min(460px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px 16px 8px 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.qr-box {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin: 12px 0;
}
.pix-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: #444;
  word-break: break-all;
}
.card-form { display: grid; gap: 10px; margin: 12px 0; }
.card-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ok-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c45a, #c9a227);
  color: var(--gold-fg);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: 0 auto 12px;
}

@media (min-width: 800px) {
  .steps, .cards, .stats { grid-template-columns: repeat(3, 1fr); }
  .people { grid-template-columns: 1fr 1fr; }
  .modal { place-items: center; }
  .sheet { border-radius: 16px; }
  .agenda-row {
    grid-template-columns: 80px 1fr auto auto;
    align-items: center;
  }
}
