/* ===============================
   TIPOGRAFIA GLOBAL E VARIÁVEIS
================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
  --neon-green: #00ff9c;
  --neon-green-soft: #66ffcc;
  --neon-yellow: #eaff00;

  --dark-bg: #050807;
  --dark-bg-soft: #0b120e;

  --text-light: #ffffff;
  --text-muted: #cfd8a8;
}

/* ===============================
   BASE GLOBAL DO SITE
================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;

  /* Compensa topbar fixa */
  padding-top: 80px;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

/* Links limpos */
a {
  color: inherit;
  text-decoration: none;
}

/* Imagens seguras */
img {
  max-width: 100%;
  display: block;
}

/* ===============================
   ESTRUTURA PADRÃO DAS SEÇÕES
================================ */

section {
  position: relative;
  width: 100%;
  padding: 17px 17px;
}

/* variações opcionais */
section.section-tight {
  padding: 32px 16px;
}

section.section-loose {
  padding: 64px 16px;
}

/* ===============================
   PERSONAGEM — USO GLOBAL
   (Hero + Doação + futuras páginas)
================================ */

.scene-character {
  position: relative;
  display: flex;
  justify-content: center;
}

.scene-character img {
  width: clamp(320px, 38vw, 520px);
  z-index: 2;
  animation: characterFloat 2s ease-in-out infinite alternate;
}

.scene-character .character-shadow {
  position: absolute;
  bottom: 10px;
  width: 220px;
  height: 26px;
  background: rgba(0,0,0,0.45);
  filter: blur(18px);
  border-radius: 50%;
  z-index: 1;
}

/* animação reutilizável */
@keyframes characterFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}

/* ===============================
   MODAL PIX — FUNDO
================================ */

.pix-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 5, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.pix-modal.active {
  display: flex;
}

/* ===============================
   MODAL PIX — CARD
================================ */

.pix-box {
  width: 92%;
  max-width: 360px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fdf9 100%);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  position: relative;

  border: 2px solid var(--neon-green-soft);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(0, 255, 156, 0.12);
}

/* ===============================
   MODAL PIX — HEADER
================================ */

.pix-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0b5f3a;
  margin-bottom: 18px;
}

/* ===============================
   MODAL PIX — QR AREA
================================ */

.pix-qrcode-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
}

.pix-mascot {
  width: 88px;
  margin: 0 auto;
  pointer-events: none;
}

#pix-qrcode {
  width: 230px;
  height: 230px;
  padding: 8px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e7e7e7;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

/* ===============================
   MODAL PIX — LOADING
================================ */

.pix-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 40px 0;
}

.pix-loading p {
  font-size: 14px;
  font-weight: 600;
  color: #0b5f3a;
}

.spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid #d9f5ea;
  border-top-color: var(--neon-green);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===============================
   MODAL PIX — AÇÕES
================================ */

#btn-copy-pix {
  margin: 8px auto 10px;
  width: 100%;
  max-width: 230px;
  padding: 13px 16px;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;

  color: #003b25;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-soft));
  box-shadow: 0 10px 22px rgba(0, 255, 156, 0.35);
}

.pix-wait {
  font-size: 13px;
  color: #4f6b5d;
  line-height: 1.35;
  margin-bottom: 14px;
}

#btn-close-pix {
  width: 100%;
  max-width: 230px;
  padding: 12px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;

  background: #f3f3f3;
  border: 1px solid #dddddd;
  color: #1a1a1a;
}

/* ===============================
   MODAL PIX — SUCESSO
================================ */

.pix-box--success h3 {
  margin-bottom: 14px;
}

.pix-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 900;
  font-size: 26px;
  color: #003b25;

  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-soft));
  box-shadow: 0 14px 28px rgba(0, 255, 156, 0.25);
}

.pix-success-text {
  display: flex;
  flex-direction: column;
  gap: 6px; /* controla o espaço entre as linhas */

  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 14px;

  color: #3f5f50;
}

/* primeira linha (mensagem inicial) */
.pix-success-text span:first-child {
  font-weight: 800;
}

/* última linha em destaque */
.pix-success-text .highlight {
  font-weight: 700;
  color: var(--neon-green);
}


.pix-success-btn {
  width: 100%;
  max-width: 230px;
  padding: 12px 16px;
  border: none;
  border-radius: 14px;
  cursor: pointer;

  font-weight: 900;
  font-size: 14px;

  color: #003b25;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-soft));
  box-shadow: 0 10px 22px rgba(0, 255, 156, 0.35);
}

