/* ============================================================
   APT 212 — Área do Hóspede
   Tokens e componentes compartilhados (login / reserva / comprovante)
   ============================================================ */

:root {
  /* cor — tema dark/tech, paleta verde + dourado */
  --bg: #0E1712;
  --bg-grid: #142019;
  --surface: #16211A;
  --surface-raised: #1B2820;
  --ink: #EAF0E8;
  --ink-soft: #8FA098;
  --forest: #4A8562;
  --forest-deep: #2C4432;
  --forest-glow: rgba(74, 133, 98, 0.45);
  --sage-line: #2A3830;
  --brass: #D4B06A;
  --brass-soft: #3A3323;
  --brass-glow: rgba(212, 176, 106, 0.4);
  --line: #253028;
  --status-ok-bg: #1C3324;
  --status-ok-dot: #5FBF7C;

  /* tipografia */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --radius-card: 22px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* textura sutil de "circuito" no fundo, no espírito da identidade visual */
body {
  background-image:
    radial-gradient(circle at 15% 10%, rgba(74, 133, 98, 0.08), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(212, 176, 106, 0.06), transparent 45%),
    repeating-linear-gradient(0deg, rgba(74, 133, 98, 0.035) 0px, rgba(74, 133, 98, 0.035) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(74, 133, 98, 0.035) 0px, rgba(74, 133, 98, 0.035) 1px, transparent 1px, transparent 64px);
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 64px;
}

/* ---------- brandmark ---------- */
.brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.brandmark__key {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--forest);
  background: var(--surface-raised);
  border: 1px solid var(--forest);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  box-shadow: 0 0 14px -2px var(--forest-glow);
}

.brandmark__text {
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.brandmark__text em {
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- ticket / stub card ---------- */
.stub-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 20px 40px -20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 10px;
}

/* ---------- status badge ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--status-ok-bg);
  color: var(--status-ok-dot);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(95, 191, 124, 0.25);
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-ok-dot);
  box-shadow: 0 0 6px 1px var(--status-ok-dot);
}

/* ---------- buttons ---------- */
.btn-primary {
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 18px;
  box-shadow: 0 0 0 1px rgba(74, 133, 98, 0.3), 0 8px 20px -8px var(--forest-glow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(74, 133, 98, 0.5), 0 0 20px -2px var(--forest-glow);
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-google:hover { border-color: var(--ink-soft); background: var(--surface); }

.btn-ghost {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
}
.btn-ghost:hover { background: var(--surface-raised); }

.page-note {
  margin-top: 28px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  max-width: 360px;
}
