:root {
  --bg-deep: #050b14;
  --bg-card: rgba(10, 25, 47, 0.78);
  --bg-card-strong: rgba(8, 22, 44, 0.92);
  --border-glow: rgba(0, 212, 255, 0.25);
  --border-glow-strong: rgba(0, 212, 255, 0.62);
  --primary-blue: #0066ff;
  --cyan-neon: #00d4ff;
  --cyan-bright: #38bdf8;
  --text-primary: #ffffff;
  --text-secondary: #d5e0ee;
  --text-muted: #94a3b8;
  --accent-gold: #fbbf24;
  --success-green: #10b981;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 32px rgba(0, 212, 255, 0.18);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.5);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(0, 102, 255, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 85% 58%, rgba(0, 212, 255, 0.11) 0%, transparent 45%);
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Barra Superior */
.top-banner {
  background: linear-gradient(90deg, #0044cc, #0084ff);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.top-banner span:first-child {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Header */
.main-header {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo-badge svg {
  color: var(--cyan-neon);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cyan-neon);
}

.nav-links a.nav-highlight {
  background: rgba(0, 212, 255, 0.14);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--cyan-neon);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 48px 0 32px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 192px;
  height: 192px;
  margin-bottom: 24px;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-neon), var(--primary-blue), #38bdf8);
  filter: blur(8px);
  z-index: 1;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 36% 18%;
  border: 4px solid #fff;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}

.badge-status {
  position: absolute;
  bottom: 4px;
  right: 2px;
  background: var(--success-green);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid #fff;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.75; }
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 35%, var(--cyan-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin-bottom: 26px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Alerta Pré-Dia 29 no Hero */
.pre-event-alert {
  margin-top: 28px;
  max-width: 780px;
  width: 100%;
  background: linear-gradient(135deg, rgba(34, 28, 12, 0.9), rgba(14, 27, 48, 0.94));
  border: 1.5px solid rgba(251, 191, 36, 0.55);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.pre-event-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #050b14;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.pre-event-text {
  color: #f8fafc;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.pre-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.42);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--cyan-neon);
}

.btn-gold {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  color: #050b14;
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(251, 191, 36, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan-bright);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.btn-ghost:hover {
  background: rgba(56, 189, 248, 0.1);
}

.btn-whatsapp {
  background: #22c55e;
  color: #052e16;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-2px);
}

.btn-copy {
  background: var(--cyan-neon);
  color: #050b14;
  font-weight: 700;
  white-space: nowrap;
}

.btn-copy:hover {
  background: var(--cyan-bright);
}

/* Seções */
section {
  padding: 46px 0;
}

.section-title {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.03rem;
  max-width: 680px;
  margin: 0 auto 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  min-width: 0;
  max-width: 100%;
}

.transparency-tables-grid > *,
.event-grid > *,
.pix-special-card > *,
.help-grid > * {
  min-width: 0;
}

.card-subtitle {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 6px;
}

/* História */
.story-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.story-lead {
  font-size: 1.15rem;
  color: #fff;
  border-left: 4px solid var(--cyan-neon);
  padding-left: 18px;
  line-height: 1.75;
}

.story-details p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 14px;
}

.treatments-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  background: rgba(0, 212, 255, 0.11);
  color: var(--cyan-bright);
  border: 1px solid rgba(0, 212, 255, 0.34);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Galinhada */
.event-card {
  background: linear-gradient(135deg, rgba(16, 28, 48, 0.94), rgba(28, 22, 12, 0.72));
  border: 1.5px solid rgba(251, 191, 36, 0.36);
}

.event-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.25fr;
  gap: 28px;
  align-items: start;
}

.event-flyer-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(0, 212, 255, 0.35);
  background: #050b14;
}

.event-flyer-preview img {
  width: 100%;
  display: block;
}

.event-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #050b14;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.event-details h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}

.event-meta {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.needs-box {
  background: rgba(5, 11, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
}

.needs-box h4 {
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 8px;
}

.item-status-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.item-status-list li {
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.item-status-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.item-status-list li.needed {
  color: #fde68a;
  font-weight: 600;
}

.item-status-list li.needed::before {
  background: var(--accent-gold);
}

.item-status-list li.done {
  color: #6ee7b7;
}

.item-status-list li.done::before {
  background: var(--success-green);
}

.post-event-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
  color: #d1fae5;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.fact-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.fact-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.fact-item strong {
  font-size: 0.95rem;
  color: #fff;
}

.event-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Como ajudar */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.help-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  gap: 20px;
}

.help-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.28));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
}

.help-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.help-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.status-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan-bright);
  border: 1px solid rgba(0, 212, 255, 0.28);
}

.status-tag.status-gold {
  background: rgba(251, 191, 36, 0.14);
  color: var(--accent-gold);
  border-color: rgba(251, 191, 36, 0.35);
}

.pix-redirect-banner {
  margin-top: 24px;
  background: rgba(0, 102, 255, 0.14);
  border: 1px solid rgba(0, 212, 255, 0.38);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.pix-redirect-banner span {
  color: #e2e8f0;
  font-size: 0.98rem;
}

/* Transparência */
.transparency-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.stat-box.stat-total {
  border-color: var(--cyan-neon);
  background: rgba(0, 102, 255, 0.16);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cyan-neon);
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.transparency-tables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.table-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.table-responsive {
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.93rem;
}

.custom-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-weight: 600;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.updates-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.update-item {
  background: rgba(5, 11, 20, 0.55);
  border-left: 3px solid var(--cyan-neon);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.update-item small {
  color: var(--cyan-bright);
  font-weight: 700;
}

.update-item h4 {
  color: #fff;
  margin: 4px 0;
  font-size: 1rem;
}

.update-item p {
  color: var(--text-secondary);
  font-size: 0.93rem;
}

/* Pix Oficial no Final */
.pix-special-card {
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.96), rgba(4, 38, 82, 0.88));
  border: 2px solid var(--cyan-neon);
  box-shadow: var(--shadow-glow);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: center;
}

.pix-qr-container {
  background: #000;
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-glow);
}

.pix-qr-image {
  width: 100%;
  max-width: 230px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

.pix-qr-container small {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.pix-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.badge-immediate {
  background: var(--cyan-neon);
  color: #050b14;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.badge-bank {
  color: var(--cyan-bright);
  font-size: 0.9rem;
  font-weight: 600;
}

.pix-info h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.pix-info p {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.pix-data-box {
  background: rgba(0, 0, 0, 0.34);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.pix-field {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 0.95rem;
}

.pix-field span:first-child {
  color: var(--text-muted);
}

.pix-field span:last-child {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pix-key-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pix-key-input {
  flex: 1;
  min-width: 0;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--cyan-bright);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
}

/* Contato e Encerramento */
.contact-section {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-note {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 22px;
}

.qr-download-strip {
  background: rgba(5, 11, 20, 0.55);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.qr-download-strip span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.qr-download-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.qr-download-links a {
  color: var(--cyan-neon);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.45);
}

.qr-download-links a:hover {
  color: #fff;
}

.closing-quote {
  font-style: italic;
  font-size: 1.08rem;
  color: #fff;
  padding: 20px 22px;
  background: rgba(0, 102, 255, 0.12);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--cyan-neon);
  text-align: left;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 36px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-sub {
  margin-top: 6px;
  font-size: 0.82rem;
}

.footer-admin-link {
  color: var(--cyan-bright);
  text-decoration: none;
}

.footer-admin-link:hover {
  text-decoration: underline;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--success-green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 1000;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsividade */
@media (max-width: 900px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
  .pix-special-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .card {
    padding: 20px 16px;
  }
  .custom-table th,
  .custom-table td {
    padding: 10px;
    font-size: 0.85rem;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 32px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-buttons,
  .pre-event-actions,
  .event-cta-row,
  .contact-buttons,
  .pix-key-row,
  .pix-redirect-banner {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .event-facts {
    grid-template-columns: 1fr;
  }
  .pix-field {
    flex-direction: column;
    gap: 2px;
  }
  .pix-field span:last-child {
    text-align: left;
  }
}
