:root {
  --bg: #0f0f12;
  --surface: #1a1a20;
  --surface-2: #24242c;
  --text: #f0f0f2;
  --text-muted: #9a9aa6;
  --accent: #00d4aa;
  --accent-hover: #00f0bd;
  --error: #ff6b6b;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.25rem;
  padding-bottom: 3rem;
}

header { text-align: center; margin-bottom: 1rem; }
header h1 { margin: 0; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.subtitle { margin: 0.25rem 0 0; color: var(--text-muted); font-size: 0.95rem; }

.hero-figure {
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  aspect-ratio: 1;
  max-height: 200px;
  max-width: 200px;
  display: block;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.hero-figure:hover img { transform: scale(1.02); }

.zoom-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.zoom-overlay.ativo { opacity: 1; visibility: visible; }
.zoom-overlay img { max-width: 95vw; max-height: 95vh; object-fit: contain; border-radius: 8px; pointer-events: none; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.card h2 { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 600; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.35rem; }
.field input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font);
  font-size: 1rem;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
}
.field input:focus { outline: none; border-color: var(--accent); }
.field input::placeholder { color: var(--text-muted); opacity: 0.7; }
.hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

.erros { margin-bottom: 0.75rem; font-size: 0.85rem; color: var(--error); }
.erros:empty { display: none; }

.btn {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent-hover); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.lista-inscritos { list-style: none; margin: 0; padding: 0; }
.lista-inscritos li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 0.75rem;
  font-size: 0.95rem;
}
.lista-inscritos li:last-child { border-bottom: none; }
.lista-inscritos .nome { font-weight: 500; }
.lista-inscritos .whatsapp { color: var(--text-muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }

.lista-vazia { margin: 0; padding: 0.5rem 0; color: var(--text-muted); font-size: 0.9rem; }
.lista-vazia.escondido { display: none; }

@media (min-width: 480px) {
  .container { padding: 2rem; }
  .hero-figure { max-height: 220px; max-width: 220px; }
}

