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

:root {
  --verde: #16a34a;
  --verde-dark: #15803d;
  --verde-light: #22c55e;
  --verde-xlight: #dcfce7;
  --verde-glow: rgba(22,163,74,0.25);
  --gold: #f59e0b;
  --rosa: #ec4899;
  --rosa-light: #fce7f3;
  --roxo: #831843;
  --roxo2: #9d174d;
  --bg: #f0fdf4;
  --bg2: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #d1fae5;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-green: 0 8px 32px var(--verde-glow);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 1.5rem; }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--verde); cursor: pointer; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.nav-user { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.btn-nav { padding: 0.45rem 1.1rem; border-radius: 8px; border: none; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; cursor: pointer; background: var(--verde); color: white; transition: all 0.2s; }
.btn-nav:hover { background: var(--verde-dark); transform: translateY(-1px); }
.btn-nav.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-muted); }
.btn-nav.btn-outline:hover { border-color: #ef4444; color: #ef4444; background: #fef2f2; }

/* SECTIONS */
.section { display: none; }
.section.active { display: block; }

/* CAUSA BANNER */
.causa-banner { background: linear-gradient(135deg, var(--roxo), var(--roxo2), #be185d); color: white; padding: 1rem 1.5rem; }
.causa-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.causa-icon { font-size: 2rem; flex-shrink: 0; }
.causa-titulo { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; }
.causa-sub { font-size: 0.82rem; opacity: 0.85; margin-top: 0.2rem; }

/* Ação realizada por terceiros */
.aviso-terceiros {
  color: #dc2626;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 8px;
  background: #fef2f2;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #fecaca;
}

/* SORTEIO BANNER */
.sorteio-banner {
  background: linear-gradient(135deg, #1e3a2f, #166534);
  color: white;
  padding: 1.1rem 1.5rem;
  text-align: center;
}
.sorteio-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.sorteio-icone { font-size: 1.8rem; flex-shrink: 0; }
.sorteio-titulo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; margin-bottom: 0.2rem; }
.sorteio-data { font-size: 0.9rem; opacity: 0.9; font-weight: 600; color: #86efac; }
.sorteio-insta { display: inline-block; margin-top: 0.3rem; font-size: 0.82rem; color: rgba(255,255,255,0.7); text-decoration: none; }
.sorteio-insta:hover { color: #86efac; }

/* HERO */
.hero { background: linear-gradient(135deg, #052e16 0%, #14532d 50%, #166534 100%); color: white; text-align: center; padding: 5rem 1.5rem 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,197,94,0.15) 0%, transparent 70%); }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 0.35rem 1rem; border-radius: 100px; font-size: 0.8rem; letter-spacing: 0.05em; margin-bottom: 1.5rem; position: relative; animation: pulse-badge 2s infinite; }
@keyframes pulse-badge { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.hero-title { font-family: 'Syne', sans-serif; font-size: clamp(2.4rem, 7vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; position: relative; }
.prize-highlight { background: linear-gradient(135deg, #86efac, #22c55e, #4ade80); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; font-size: 1.2em; }
.hero-sub { font-size: 1rem; opacity: 0.85; margin-bottom: 2.5rem; position: relative; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-stats { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; position: relative; }
.stat-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 1rem 1.5rem; min-width: 110px; backdrop-filter: blur(8px); }
.stat-num { display: block; font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: #86efac; }
.stat-label { font-size: 0.75rem; opacity: 0.7; }
.insta-link { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; margin-top: 1.2rem; transition: color 0.2s; position: relative; }
.insta-link:hover { color: #86efac; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.85rem 2rem; background: var(--verde); color: white; border: none; border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.25s; position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent); pointer-events: none; }
.btn-primary:hover { background: var(--verde-dark); transform: translateY(-2px); box-shadow: var(--shadow-green); }
.btn-primary.big { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: 16px; }
.btn-primary.full { width: 100%; margin-top: 0.5rem; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; background: transparent; border: 2px solid var(--verde); color: var(--verde); border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-outline:hover { background: var(--verde-xlight); }
.btn-outline.full { width: 100%; }

/* CONTAINER */
.container { max-width: 900px; margin: 0 auto; padding: 3rem 1.5rem; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; text-align: center; margin-bottom: 0.5rem; color: var(--text); }
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.sub-title { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--verde-dark); }

/* PACOTES */
.pacotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.pacote-card { background: var(--bg2); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1rem; text-align: center; cursor: pointer; transition: all 0.25s; }
.pacote-card:hover { border-color: var(--verde-light); transform: translateY(-4px); box-shadow: var(--shadow-green); }
.pacote-card.selected { border-color: var(--verde); background: var(--verde-xlight); transform: translateY(-4px); box-shadow: var(--shadow-green); }
.pacote-card.destaque { border-color: var(--verde); background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.pacote-badge { display: inline-block; background: var(--verde-xlight); color: var(--verde-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.7rem; border-radius: 100px; margin-bottom: 0.8rem; }
.pacote-badge.popular { background: var(--verde); color: white; }
.pacote-badge.gold { background: var(--gold); color: white; }
.pacote-cotas { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--text); margin-bottom: 0.3rem; }
.pacote-preco { font-size: 1.2rem; font-weight: 700; color: var(--verde); margin-bottom: 0.4rem; }
.pacote-desc { font-size: 0.8rem; color: var(--text-muted); }
.pacote-info-bar { background: var(--verde); color: white; border-radius: var(--radius-lg); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* COMO FUNCIONA */
.como-funciona { background: var(--bg2); border-radius: var(--radius-lg); max-width: 900px; margin: 0 auto; box-shadow: var(--shadow); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.step { display: flex; align-items: flex-start; gap: 1rem; padding: 0.5rem; }
.step-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--verde-xlight); line-height: 1; flex-shrink: 0; border: 2px solid var(--verde-xlight); border-radius: 10px; padding: 0.3rem 0.6rem; }
.step-text { font-size: 0.9rem; line-height: 1.5; color: var(--text-muted); }
.step-text strong { color: var(--text); }

/* IMPACTO */
.impacto-section {
  background: linear-gradient(135deg, #831843, #9d174d, #be185d);
  padding: 4rem 1.5rem;
  margin-top: 3rem;
}

.impacto-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* CONTAINER DA IMAGEM */
.impacto-imagem-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 1 / 1; /* quadrado = melhor pra logo */
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* IMAGEM */
.impacto-imagem {
  width: 100%;
  height: 100%;
  object-fit: contain; /* NÃO corta o logo */
  padding: 20px; /* espaço interno pra respirar */
  background: rgba(255,255,255,0.05);
  border-radius: 24px;
  border: 3px solid rgba(255,255,255,0.2);
}
.impacto-fallback { width: 100%; aspect-ratio: 4/5; background: rgba(255,255,255,0.1); border-radius: 20px; font-size: 5rem; align-items: center; justify-content: center; }
.impacto-texto { color: white; }
.impacto-texto h3 { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.impacto-texto p { font-size: 0.95rem; opacity: 0.9; line-height: 1.8; margin-bottom: 1.5rem; }
.impacto-sorteio-box { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius); padding: 1.2rem 1.5rem; backdrop-filter: blur(8px); }
.impacto-sorteio-titulo { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; margin-bottom: 0.4rem; }
.impacto-sorteio-data { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; color: #86efac; }
.impacto-sorteio-hora { font-size: 0.9rem; opacity: 0.85; margin-top: 0.3rem; }
.impacto-sorteio-link { display: inline-block; margin-top: 0.5rem; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.impacto-sorteio-link:hover { color: #86efac; }

/* AUTH */
.auth-card { max-width: 440px; margin: 3rem auto; background: var(--bg2); border-radius: var(--radius-lg); padding: 2.5rem 2rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.auth-logo { font-size: 2.5rem; text-align: center; margin-bottom: 0.5rem; }
.auth-card h2 { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; margin-bottom: 0.3rem; text-align: center; }
.auth-sub { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.9rem; text-align: center; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.form-group input { width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; background: var(--bg); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-group input:focus { border-color: var(--verde); box-shadow: 0 0 0 3px var(--verde-glow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.auth-link { text-align: center; margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.auth-link a { color: var(--verde); cursor: pointer; font-weight: 600; }

/* MSG */
.msg { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.9rem; font-weight: 500; text-align: center; }
.msg.success { background: var(--verde-xlight); color: var(--verde-dark); border: 1px solid #bbf7d0; }
.msg.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* NÚMEROS */
.numeros-info { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; justify-content: center; }
.num-info-card { background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 0.8rem 1.3rem; text-align: center; flex: 1; min-width: 120px; max-width: 200px; }
.num-info-card span { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.num-info-card strong { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--verde); }
.numero-input-area { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.numero-input-area input { flex: 1; min-width: 180px; padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 1rem; background: var(--bg2); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.numero-input-area input:focus { border-color: var(--verde); box-shadow: 0 0 0 3px var(--verde-glow); }
.numeros-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; min-height: 50px; margin-bottom: 1.5rem; padding: 1rem; background: var(--bg2); border-radius: var(--radius); border: 1.5px dashed var(--border); }
.num-chip { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--verde); color: white; padding: 0.45rem 0.9rem; border-radius: 100px; font-size: 0.9rem; font-weight: 700; font-family: 'Syne', sans-serif; animation: popIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes popIn { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.num-chip .remove-chip { cursor: pointer; font-size: 1rem; opacity: 0.7; transition: opacity 0.15s; }
.num-chip .remove-chip:hover { opacity: 1; }

/* PAGAMENTO */
.aviso-sorteio { background: linear-gradient(135deg, #1e3a2f, #166534); color: white; border-radius: var(--radius); padding: 0.9rem 1.2rem; text-align: center; font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.6; }
.resumo-compra { background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 2rem; box-shadow: var(--shadow); }
.resumo-compra h3 { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.resumo-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.95rem; color: var(--text-muted); }
.resumo-row strong { color: var(--text); font-weight: 600; }
.resumo-row.total { margin-top: 0.5rem; padding-top: 0.75rem; border-top: 2px solid var(--border); font-size: 1.1rem; color: var(--text); font-weight: 700; }
.resumo-row.total strong { color: var(--verde); font-size: 1.3rem; }
.metodos-pagamento { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.metodo-card { background: var(--bg2); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; cursor: pointer; transition: all 0.2s; }
.metodo-card:hover, .metodo-card.selected { border-color: var(--verde); background: var(--verde-xlight); transform: translateY(-2px); }
.metodo-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.metodo-nome { font-weight: 700; font-family: 'Syne', sans-serif; margin-bottom: 0.3rem; }
.metodo-desc { font-size: 0.8rem; color: var(--text-muted); }
.pag-detalhes { animation: slideUp 0.3s ease; }

/* PIX */
.pix-box { background: var(--verde-xlight); border: 2px dashed var(--verde); border-radius: var(--radius-lg); padding: 2rem; text-align: center; margin-bottom: 1.5rem; }
.pix-titulo { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem; }
.qrcode-wrap { margin: 0 auto 1.2rem; display: inline-block; }
.qrcode-img { width: 180px; height: 180px; border-radius: 12px; border: 3px solid var(--verde); padding: 6px; background: white; display: block; }
.qrcode-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; text-align: center; }
.pix-chave-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.4rem; font-weight: 600; }
.pix-chave { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--verde-dark); margin-bottom: 0.8rem; cursor: pointer; word-break: break-all; padding: 0.5rem 1rem; background: white; border-radius: 10px; border: 1px solid var(--border); display: inline-block; }
.pix-instrucao { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; }

/* DINHEIRO */
.dinheiro-box { background: #fefce8; border: 2px solid #fde047; border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; margin-bottom: 1.5rem; }
.dinheiro-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.dinheiro-titulo { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; color: #713f12; }
.dinheiro-desc { font-size: 0.9rem; color: #713f12; line-height: 1.6; }
.dinheiro-aviso { background: #fef3c7; border: 1px solid #fde047; border-radius: 10px; padding: 0.8rem 1rem; font-size: 0.85rem; color: #92400e; margin: 1rem 0; font-weight: 500; }

/* CONTA */
.conta-profile { background: linear-gradient(135deg, var(--verde), var(--verde-dark)); color: white; border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.conta-avatar { width: 64px; height: 64px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; }
.conta-nome { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; }
.conta-email { opacity: 0.8; font-size: 0.9rem; }
.conta-tel { opacity: 0.75; font-size: 0.85rem; margin-top: 0.2rem; }

/* AVISO SORTEIO NA CONTA */
.conta-sorteio-aviso {
  background: linear-gradient(135deg, #1e3a2f, #14532d);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.csa-icon { font-size: 2.5rem; flex-shrink: 0; }
.csa-titulo { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 800; margin-bottom: 0.25rem; }
.csa-data { font-size: 1.05rem; font-weight: 700; color: #86efac; margin-bottom: 0.25rem; }
.csa-link { color: rgba(255,255,255,0.7); font-size: 0.85rem; text-decoration: none; }
.csa-link:hover { color: #86efac; }

/* NÚMEROS DESTAQUE NA CONTA */
.conta-numeros-destaque {
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.conta-nums-lista { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.conta-num-big {
  background: var(--verde);
  color: white;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
}

.rifas-lista { display: flex; flex-direction: column; gap: 0.75rem; }
.rifa-item { background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.rifa-numeros { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rifa-num-badge { background: var(--verde-xlight); color: var(--verde-dark); padding: 0.2rem 0.6rem; border-radius: 100px; font-size: 0.8rem; font-weight: 700; font-family: 'Syne', sans-serif; }
.rifa-data { font-size: 0.8rem; color: var(--text-muted); }
.rifa-valor { font-weight: 700; color: var(--verde); font-family: 'Syne', sans-serif; }
.historico-lista { display: flex; flex-direction: column; gap: 0.5rem; }
.historico-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 0.8rem 1.25rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; flex-wrap: wrap; gap: 0.5rem; }
.hist-desc { color: var(--text-muted); }
.hist-valor { font-weight: 700; color: var(--verde); }
.hist-status { font-size: 0.75rem; background: var(--verde-xlight); color: var(--verde-dark); padding: 0.2rem 0.6rem; border-radius: 100px; font-weight: 600; }
.hist-metodo-dinheiro { font-size: 0.75rem; background: #fef3c7; color: #92400e; padding: 0.2rem 0.6rem; border-radius: 100px; font-weight: 600; }

/* ADMIN */
.admin-header { text-align: center; margin-bottom: 2rem; padding: 2rem; background: linear-gradient(135deg, #1e3a2f, #14532d); border-radius: var(--radius-lg); color: white; }
.admin-header .section-title { color: white; margin-bottom: 0.3rem; }
.admin-header .section-sub { color: rgba(255,255,255,0.7); margin-bottom: 0; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.admin-stat-card { background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); }
.admin-stat-card.destaque { background: linear-gradient(135deg, var(--verde), var(--verde-dark)); color: white; border-color: var(--verde); }
.admin-stat-card.destaque .admin-stat-label { color: rgba(255,255,255,0.8); }
.admin-stat-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.admin-stat-num { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--verde); margin-bottom: 0.3rem; }
.admin-stat-card.destaque .admin-stat-num { color: white; }
.admin-stat-label { font-size: 0.8rem; color: var(--text-muted); }
.admin-acoes { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn-admin { padding: 0.7rem 1.4rem; border-radius: 10px; border: none; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600; cursor: pointer; background: var(--verde); color: white; transition: all 0.2s; }
.btn-admin:hover { background: var(--verde-dark); transform: translateY(-1px); }
.btn-admin.btn-danger { background: #ef4444; }
.btn-admin.btn-danger:hover { background: #dc2626; }
.btn-danger-modal { background: #ef4444 !important; }
.btn-danger-modal:hover { background: #dc2626 !important; }
.admin-busca { margin-bottom: 1.5rem; }
.admin-busca input { width: 100%; padding: 0.85rem 1.2rem; border: 1.5px solid var(--border); border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; background: var(--bg2); outline: none; transition: border-color 0.2s; }
.admin-busca input:focus { border-color: var(--verde); }
.admin-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1.5px solid var(--border); background: var(--bg2); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table thead { background: linear-gradient(135deg, var(--verde), var(--verde-dark)); color: white; }
.admin-table th { padding: 0.9rem 1rem; text-align: left; font-weight: 700; font-family: 'Syne', sans-serif; white-space: nowrap; }
.admin-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--verde-xlight); }
.admin-table .num-badge { display: inline-block; background: var(--verde-xlight); color: var(--verde-dark); padding: 0.15rem 0.5rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700; margin: 0.1rem; }
.admin-table .metodo-badge { display: inline-block; background: #dbeafe; color: #1d4ed8; padding: 0.2rem 0.6rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.admin-table .metodo-dinheiro { background: #fef3c7; color: #92400e; }
.admin-table .valor-badge { font-weight: 700; color: var(--verde); }
.admin-table .id-badge { font-size: 0.72rem; color: var(--text-muted); font-family: monospace; }
.admin-table .end-cell { font-size: 0.78rem; color: var(--text-muted); max-width: 180px; }

/* EMPTY */
.empty-state { text-align: center; color: var(--text-muted); padding: 2rem; font-size: 0.95rem; }
.empty-state div { font-size: 2rem; margin-bottom: 0.5rem; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 200; }
.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 201; background: var(--bg2); border-radius: var(--radius-lg); padding: 2.5rem 2rem; text-align: center; max-width: 440px; width: 90%; box-shadow: 0 24px 60px rgba(0,0,0,0.25); animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; max-height: 90vh; overflow-y: auto; }
@keyframes modalIn { from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.modal-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.modal h2 { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; }
.modal p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.modal-sorteio { background: linear-gradient(135deg, #1e3a2f, #166534); color: white; border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.modal-sorteio-titulo { font-size: 0.8rem; opacity: 0.8; margin-bottom: 0.3rem; }
.modal-sorteio-data { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800; color: #86efac; }
.modal-sorteio-sub { font-size: 0.82rem; opacity: 0.75; margin-top: 0.25rem; }
.modal-causa { color: var(--rosa) !important; font-weight: 600 !important; }

/* FOOTER */
.footer { background: var(--text); color: rgba(255,255,255,0.5); text-align: center; padding: 2rem 1.5rem; font-size: 0.85rem; }
.footer-causa { color: #86efac; font-weight: 700; font-family: 'Syne', sans-serif; margin-bottom: 0.3rem; font-size: 0.95rem; }
.footer-sorteio { color: #fde047; font-size: 0.82rem; margin-bottom: 0.5rem; }
.footer a { display: block; color: #86efac; text-decoration: none; margin-top: 0.4rem; }
.footer a:hover { color: white; }

/* STATUS BADGES */
.status-badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.7rem; border-radius: 100px; font-size: 0.78rem; font-weight: 700; }
.status-confirmado { background: var(--verde-xlight); color: var(--verde-dark); }
.status-pendente   { background: #fef3c7; color: #92400e; }
.status-recusado   { background: #fef2f2; color: #dc2626; }
.status-aguardando_visita { background: #fef3c7; color: #92400e; }

/* RIFA ITEM ESTADOS */
.rifa-pendente { border-color: #fde047 !important; background: #fefce8 !important; }
.rifa-recusada { border-color: #fecaca !important; background: #fef2f2 !important; opacity: 0.7; }

/* PENDENTES ADMIN */
.badge-pendente {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  border-radius: 100px;
  padding: 0.1rem 0.5rem;
  margin-left: 0.4rem;
  vertical-align: middle;
  animation: pulse-badge 1.5s infinite;
}

.pendentes-lista { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }

.pendente-card {
  background: #fffbeb;
  border: 2px solid #fde047;
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(251,191,36,0.15);
}
.pendente-nome { font-size: 1rem; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.pendente-metodo-badge { font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 100px; background: #dbeafe; color: #1d4ed8; }
.pendente-detalhes { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.pendente-info { flex: 1; min-width: 220px; }
.pendente-acoes { display: flex; gap: 0.6rem; flex-shrink: 0; align-items: center; flex-wrap: wrap; }

.btn-aprovar, .btn-recusar {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-aprovar { background: var(--verde); color: white; }
.btn-aprovar:hover { background: var(--verde-dark); transform: translateY(-1px); box-shadow: var(--shadow-green); }
.btn-recusar { background: #fef2f2; color: #dc2626; border: 1.5px solid #fecaca; }
.btn-recusar:hover { background: #dc2626; color: white; }

/* BOTÕES MENORES NA TABELA */
.btn-tabela-aprovar, .btn-tabela-recusar {
  padding: 0.3rem 0.6rem;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-tabela-aprovar { background: var(--verde-xlight); }
.btn-tabela-aprovar:hover { background: var(--verde); }
.btn-tabela-recusar { background: #fef2f2; }
.btn-tabela-recusar:hover { background: #fecaca; }

/* MODAL PENDENTE AVISO */
.modal-pendente-aviso {
  background: #fef3c7;
  border: 1.5px solid #fde047;
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: #78350f;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* UTIL */
.hidden { display: none !important; }

/* RESPONSIVE */
@media (max-width: 700px) {
  .impacto-grid { grid-template-columns: 1fr; gap: 2rem; }
  .impacto-imagem { aspect-ratio: 3/2; }
}
@media (max-width: 600px) {
  .hero { padding: 3.5rem 1rem 3rem; }
  .pacotes-grid { grid-template-columns: 1fr 1fr; }
  .metodos-pagamento { grid-template-columns: 1fr; }
  .auth-card { margin: 1.5rem 1rem; padding: 1.8rem 1.2rem; }
  .container { padding: 2rem 1rem; }
  .numero-input-area { flex-direction: column; }
  .numero-input-area input { width: 100%; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .pacote-info-bar { flex-direction: column; text-align: center; }
  .admin-acoes { flex-direction: column; }
  .causa-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .sorteio-inner { flex-direction: column; }
}

/* ===== MOBILE ENHANCED ===== */
@media (max-width: 480px) {
  /* Navbar compacta */
  .nav-inner { height: auto; padding: 0.6rem 0; flex-wrap: wrap; gap: 0.4rem; }
  .logo { font-size: 1.1rem; }
  .btn-nav { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
  .aviso-terceiros { font-size: 0.65rem; width: 100%; text-align: center; }

  /* Hero mais compacto */
  .hero { padding: 2.8rem 1rem 2.5rem; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-sub { font-size: 0.9rem; margin-bottom: 1.8rem; }
  .hero-badge { font-size: 0.75rem; }
  .btn-primary.big { padding: 0.9rem 1.8rem; font-size: 1rem; width: 100%; }

  /* Pacotes em coluna única para telas muito pequenas */
  .pacotes-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .pacote-card { padding: 1.1rem 0.7rem; }
  .pacote-cotas { font-size: 1.3rem; }
  .pacote-preco { font-size: 1rem; }

  /* Steps em coluna única */
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .step { padding: 0.8rem; background: var(--bg2); border-radius: var(--radius); box-shadow: var(--shadow); }

  /* QR Code centralizado e grande no mobile */
  .qrcode-wrap { display: flex; flex-direction: column; align-items: center; }
  .qrcode-img { width: min(260px, 85vw) !important; height: auto !important; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

  /* Pix box mais espaçado */
  .pix-box { padding: 1.5rem 1rem; }
  .pix-chave { font-size: 0.75rem; word-break: break-all; padding: 0.8rem; }

  /* Impacto section */
  .impacto-texto { padding: 1.5rem 1rem; }
  .impacto-texto h3 { font-size: 1.3rem; }
  .impacto-sorteio-box { padding: 1rem; }
  .impacto-sorteio-data { font-size: 1.1rem; }

  /* Auth card */
  .auth-card { margin: 1rem 0.5rem; padding: 1.5rem 1rem; }
  .auth-card h2 { font-size: 1.4rem; }

  /* Form inputs maiores para toque */
  input[type="text"], input[type="email"], input[type="password"], input[type="tel"] {
    font-size: 16px !important; /* evita zoom no iOS */
    padding: 0.75rem 1rem;
    border-radius: 10px;
  }
  .btn-primary, .btn-outline { min-height: 48px; font-size: 0.95rem; }

  /* Números chips */
  .numeros-chips { gap: 0.4rem; }
  .numero-chip { font-size: 0.85rem; padding: 0.35rem 0.7rem; }

  /* Admin table scroll */
  .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Modal */
  .modal { padding: 2rem 1.2rem; width: 94%; }
  .modal h2 { font-size: 1.3rem; }
  .modal-icon { font-size: 2.8rem; }

  /* Footer */
  .footer { padding: 1.5rem 1rem; font-size: 0.8rem; }

  /* Conta section */
  .conta-profile { padding: 1rem; }
  .conta-sorteio-aviso { padding: 1rem; flex-direction: column; text-align: center; }
  .conta-numeros-destaque { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

  /* Metodos pagamento */
  .metodo-card { padding: 1.2rem 0.8rem; }
  .metodo-icon { font-size: 1.8rem; }

  /* Resumo compra */
  .resumo-compra { padding: 1rem; }
  .resumo-row { font-size: 0.9rem; }

  /* Pendente card admin */
  .pendente-card { padding: 1rem; }
  .pendente-acoes { width: 100%; justify-content: flex-end; }
}

/* Touch friendly tap targets */
@media (hover: none) and (pointer: coarse) {
  .pacote-card, .metodo-card { cursor: default; }
  .pacote-card:active { transform: scale(0.98); }
  .btn-primary:active { transform: scale(0.97); }
  .btn-outline:active { transform: scale(0.97); }
}

/* ============================================================
   MODAL DE TERMOS DE USO — Mobile-first
   ============================================================ */

.termos-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;        /* bottom-sheet no mobile */
  justify-content: center;
  padding: 0;
}

/* No desktop, centraliza normalmente */
@media (min-width: 600px) {
  .termos-overlay {
    align-items: center;
    padding: 1.5rem;
  }
}

.termos-modal {
  background: #ffffff;
  border-radius: 24px 24px 0 0;  /* bottom-sheet no mobile */
  width: 100%;
  /* Ocupa quase toda a tela no mobile, com espaço no topo para "ver que é modal" */
  height: 93dvh;
  max-height: 93dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.4);
  overflow: hidden;
  animation: termosSubir 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 600px) {
  .termos-modal {
    border-radius: 20px;
    max-width: 680px;
    height: auto;
    max-height: 88vh;
    animation: termosEntrar 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}

/* Indicador de arraste (bottom-sheet handle) */
.termos-modal::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: rgba(0,0,0,0.15);
  border-radius: 99px;
  margin: 10px auto 0;
  flex-shrink: 0;
}
@media (min-width: 600px) {
  .termos-modal::before { display: none; }
}

@keyframes termosSubir {
  from { transform: translateY(100%); opacity: 0.6; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes termosEntrar {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.termos-header {
  background: linear-gradient(135deg, var(--roxo), var(--roxo2), #be185d);
  color: white;
  padding: 1rem 1.4rem 1rem;
  text-align: center;
  flex-shrink: 0;
}

.termos-logo { font-size: 1.8rem; margin-bottom: 0.25rem; }

.termos-titulo {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.termos-subtitulo {
  font-size: 0.78rem;
  opacity: 0.85;
}

@media (min-width: 600px) {
  .termos-header { padding: 1.6rem 2rem 1.4rem; }
  .termos-logo   { font-size: 2.2rem; margin-bottom: 0.4rem; }
  .termos-titulo { font-size: 1.25rem; }
  .termos-subtitulo { font-size: 0.82rem; }
}

/* Barra de progresso de leitura */
.termos-progresso-wrap {
  flex-shrink: 0;
  background: #f1f5f9;
  padding: 0.55rem 1.2rem 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid var(--border);
}

.termos-progresso-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.termos-progresso-bar-wrap {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.termos-progresso-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--verde), var(--verde-light));
  border-radius: 99px;
  transition: width 0.2s ease;
}

.termos-corpo {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.2rem 1.2rem 0.5rem;
  line-height: 1.75;
  color: var(--text);
  font-size: 0.92rem;        /* ligeiramente maior para legibilidade mobile */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@media (min-width: 600px) {
  .termos-corpo {
    padding: 1.6rem 2rem;
    font-size: 0.88rem;
  }
}

.termos-corpo h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--roxo);
  margin: 1.5rem 0 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1.5px solid var(--rosa-light);
}

.termos-corpo h3:first-of-type { margin-top: 0.5rem; }

.termos-corpo p {
  margin-bottom: 0.65rem;
  color: #374151;
}

.termos-corpo ul {
  padding-left: 1.3rem;
  margin: 0.4rem 0 0.9rem;
  color: #374151;
}

.termos-corpo ul li {
  margin-bottom: 0.6rem;
  line-height: 1.65;
}

.termos-aviso-leitura {
  background: #fef3c7;
  border: 1.5px solid #f59e0b;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.termos-destaque-doacao {
  margin-top: 1.8rem;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid var(--verde);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: #166534;
  line-height: 1.6;
}

.termos-destaque-icone { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }

/* Rodapé fixo com botões — o mais importante no mobile */
.termos-rodape {
  flex-shrink: 0;
  padding: 0.85rem 1.2rem;
  /* safe-area para iPhones com notch */
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom));
  border-top: 1.5px solid var(--border);
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
}

@media (min-width: 600px) {
  .termos-rodape {
    padding: 1.2rem 2rem 1.4rem;
    box-shadow: none;
    background: #f8fafc;
  }
}

.termos-aviso-scroll {
  text-align: center;
  font-size: 0.78rem;
  color: #f59e0b;
  font-weight: 600;
  margin-bottom: 0.65rem;
  transition: opacity 0.4s, max-height 0.4s;
  max-height: 2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.termos-aviso-scroll.oculto {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  pointer-events: none;
}

.termos-botoes {
  display: flex;
  gap: 0.7rem;
}

/* Botão recusar — menor, discreto */
.btn-termos-recusar {
  flex: 0 0 auto;
  padding: 0 1.1rem;
  min-height: 52px;
  border-radius: 14px;
  border: 2px solid #ef4444;
  background: transparent;
  color: #ef4444;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-termos-recusar:active { background: #fef2f2; transform: scale(0.97); }

/* Botão aceitar — grande, destaque total */
.btn-termos-aceitar {
  flex: 1;
  min-height: 52px;
  border-radius: 14px;
  border: none;
  background: var(--verde);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  letter-spacing: 0.01em;
}

.btn-termos-aceitar:active:not(:disabled) {
  background: var(--verde-dark);
  transform: scale(0.97);
}

.btn-termos-aceitar:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  opacity: 0.65;
}

/* Pulsa levemente quando habilitado pela primeira vez */
.btn-termos-aceitar.habilitado {
  animation: pulsarAceitar 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes pulsarAceitar {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(22,163,74,0.18); }
  100% { transform: scale(1); box-shadow: none; }
}

.termos-nota {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.55rem;
}

/* TELA DE SAÍDA */
.tela-saida {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.tela-saida.hidden { display: none; }

.saida-card {
  text-align: center;
  color: white;
  max-width: 360px;
  padding: 0 1rem;
}

.saida-icone { font-size: 4rem; margin-bottom: 1rem; }

.saida-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #ef4444;
}

.saida-card p {
  font-size: 0.97rem;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.saida-sub {
  font-size: 0.82rem !important;
  color: #64748b !important;
}
