/* ===================================================================
   CENTRAL DA SORTE — Landing Page
   Paleta: verde neon + dourado + fundo escuro
=================================================================== */

:root {
  --bg:        #0a120c;
  --bg-2:      #10201a;
  --bg-3:      #15281f;
  --green:     #15b53e;
  --green-neon:#3dff57;
  --green-dark:#0a6b27;
  --gold:      #e9c95a;
  --gold-2:    #b8902e;
  --gold-grad: linear-gradient(180deg, #f4dd7e 0%, #e3c14e 45%, #b8902e 100%);
  --text:      #eafff0;
  --text-dim:  #a9c2b3;
  --radius:    16px;
  --shadow:    0 12px 40px rgba(0,0,0,.45);
  --max:       1180px;
  --clover-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%233dff57' fill-opacity='.045'%3E%3Cg transform='translate(40,40) rotate(18)'%3E%3Ccircle cy='-8' r='8'/%3E%3Ccircle cy='8' r='8'/%3E%3Ccircle cx='-8' r='8'/%3E%3Ccircle cx='8' r='8'/%3E%3Crect x='-1.4' y='9' width='2.8' height='14' rx='1.4'/%3E%3C/g%3E%3Cg transform='translate(120,120) rotate(-24) scale(.65)'%3E%3Ccircle cy='-8' r='8'/%3E%3Ccircle cy='8' r='8'/%3E%3Ccircle cx='-8' r='8'/%3E%3Ccircle cx='8' r='8'/%3E%3Crect x='-1.4' y='9' width='2.8' height='14' rx='1.4'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%23e9c95a' fill-opacity='.05'%3E%3Ccircle cx='118' cy='38' r='2'/%3E%3Ccircle cx='30' cy='126' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

h1, h2, h3 { line-height: 1.05; }

.hl { color: var(--green-neon); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-gold {
  background: var(--gold-grad);
  color: #2a1d00;
  box-shadow: 0 6px 0 #8a6b18, 0 12px 24px rgba(0,0,0,.45);
  border: 2px solid #f6e69a;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 2px 0 #8a6b18, 0 6px 14px rgba(0,0,0,.4); }
.btn-sm { padding: 11px 20px; font-size: 13px; }
.btn-lg { padding: 18px 38px; font-size: 18px; }
.wpp-icon { width: 24px; height: 24px; }

.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 6px 0 #8a6b18, 0 0 0 0 rgba(61,255,87,.5); }
  70%  { box-shadow: 0 6px 0 #8a6b18, 0 0 0 18px rgba(61,255,87,0); }
  100% { box-shadow: 0 6px 0 #8a6b18, 0 0 0 0 rgba(61,255,87,0); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,16,11,.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61,255,87,.12);
  transition: background .3s ease;
}
.site-header.scrolled { background: rgba(8,16,11,.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-img { height: 56px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(61,255,87,.35)); }
.logo-mark { font-size: 26px; }
.logo-text {
  font-family: "Anton", sans-serif;
  font-size: 22px; letter-spacing: 1px;
  color: var(--green-neon);
  text-shadow: 0 0 12px rgba(61,255,87,.45);
}
.logo-text em { color: var(--gold); font-style: normal; }
.logo-text.small { font-size: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 70px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    var(--clover-pattern),
    radial-gradient(900px 500px at 75% 20%, rgba(21,181,62,.28), transparent 60%),
    radial-gradient(700px 500px at 15% 90%, rgba(10,107,39,.32), transparent 60%),
    radial-gradient(560px 320px at 50% 42%, rgba(233,201,90,.08), transparent 70%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(3,8,5,.55) 100%);
}

/* Trevos e bichinhos da sorte flutuando */
.lucky-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lucky {
  position: absolute;
  left: var(--x); top: var(--y);
  font-size: var(--s);
  opacity: .32;
  filter: drop-shadow(0 0 8px rgba(61,255,87,.4));
  animation: luckyFloat var(--t, 8s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes luckyFloat {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-18px) rotate(10deg); }
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(61,255,87,.1);
  border: 1px solid rgba(61,255,87,.35);
  color: var(--green-neon);
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 8px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-logo-wrap { margin-bottom: 28px; }
.hero-logo {
  width: min(150px, 31vw); height: auto;
  filter: drop-shadow(0 0 30px rgba(61,255,87,.45)) drop-shadow(0 12px 26px rgba(0,0,0,.55));
}
.hero-note { margin-top: 16px; font-size: 13px; color: var(--text-dim); }

/* Hero art / prize card */
.hero-art { display: flex; justify-content: center; }
.prize-card {
  position: relative;
  width: 100%; max-width: 360px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(233,201,90,.45);
  border-radius: 22px;
  padding: 32px 26px 26px;
  text-align: center;
  box-shadow: var(--shadow), 0 0 36px rgba(233,201,90,.12), inset 0 1px 0 rgba(244,221,126,.25);
}
.prize-card::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px dashed rgba(233,201,90,.25); border-radius: 16px;
  pointer-events: none;
}
.prize-tag { font-size: 40px; }
.prize-card h3 {
  font-family: "Anton", sans-serif; font-size: 26px; letter-spacing: 1px;
  color: var(--gold); margin: 6px 0 18px; text-transform: uppercase;
}
.prize-ticket {
  background: #fffdf3; color: #1a1a1a; border-radius: 12px;
  padding: 16px; text-align: left; box-shadow: inset 0 0 0 2px #e3c14e;
}
.prize-ticket > span {
  display: block; font-family: "Anton", sans-serif; font-size: 18px;
  letter-spacing: 2px; color: var(--green-dark); margin-bottom: 8px; text-align: center;
}
.prize-ticket ul { list-style: none; }
.prize-ticket li { font-weight: 700; padding: 4px 0; border-bottom: 1px dashed #d8cfa6; color: #15803d; }
.coins { font-size: 30px; margin-top: 16px; letter-spacing: 6px; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); border-block: 1px solid rgba(61,255,87,.1); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong {
  display: block; font-family: "Anton", sans-serif; font-size: clamp(28px, 4vw, 44px);
  color: var(--green-neon); text-shadow: 0 0 18px rgba(61,255,87,.4);
}
.stat span { font-size: 13px; color: var(--text-dim); font-weight: 600; }

/* ---------- Seções genéricas ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-title {
  font-family: "Anton", sans-serif; text-align: center;
  font-size: clamp(28px, 4.5vw, 44px); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 48px; text-shadow: 0 2px 0 rgba(0,0,0,.4);
}
.section-title::after {
  content: "🍀"; display: block; font-size: 18px; margin-top: 14px;
  filter: drop-shadow(0 0 8px rgba(61,255,87,.5));
}

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--bg-3); border: 1px solid rgba(61,255,87,.15);
  border-radius: var(--radius); padding: 34px 26px; position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold-grad); color: #2a1d00;
  font-family: "Anton", sans-serif; font-size: 26px; margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.step h3 { font-size: 20px; margin-bottom: 8px; color: var(--gold); }
.step p { color: var(--text-dim); font-weight: 500; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--bg); border: 1px solid rgba(233,201,90,.18);
  border-radius: var(--radius); padding: 30px 22px; text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(61,255,87,.5);
  box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 24px rgba(61,255,87,.12);
}
.feat-ico { font-size: 36px; display: block; margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-dim); font-weight: 500; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative; padding: 80px 0; overflow: hidden;
  background:
    var(--clover-pattern),
    radial-gradient(600px 300px at 50% 0%, rgba(21,181,62,.38), transparent 70%),
    radial-gradient(500px 260px at 50% 100%, rgba(233,201,90,.10), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  text-align: center;
}
.cta-final .cta-inner { position: relative; z-index: 1; }
.cta-final h2 {
  font-family: "Anton", sans-serif; font-size: clamp(28px, 5vw, 50px);
  text-transform: uppercase; margin-bottom: 14px; letter-spacing: 1px;
}
.cta-final p { color: var(--text-dim); font-weight: 600; margin-bottom: 30px; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: #060c08; padding: 40px 0; text-align: center; border-top: 1px solid rgba(61,255,87,.1); }
.site-footer .logo-text { display: inline-block; margin-bottom: 16px; }
.disclaimer { color: var(--gold); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.copy { color: var(--text-dim); font-size: 12px; }

/* ---------- Botão flutuante ---------- */
.float-wpp {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.5);
  animation: floatBob 2.5s ease-in-out infinite;
}
.float-wpp svg { width: 34px; height: 34px; }
@keyframes floatBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; margin-bottom: 10px; }
  .badge { white-space: normal; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hero { padding-top: 100px; }
  .header-inner .btn-sm { padding: 9px 14px; font-size: 11px; }
  .logo-img { height: 48px; }
  .features { grid-template-columns: 1fr; }
  .btn-lg { padding: 16px 26px; font-size: 16px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse, .float-wpp, .lucky { animation: none; }
  html { scroll-behavior: auto; }
}
