:root{
  --bg:#0b0b10;
  --surface:#101018;
  --card:#141420;
  --muted:#a9a9bc;
  --text:#f3f3f8;

  --gold:#d4af37;
  --gold-soft:#f0d37a;

  --line: rgba(255,255,255,.08);
  --line-soft: rgba(255,255,255,.05);

  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}

/* =========================
   BODY + CÉU ESTRELADO
========================= */
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: linear-gradient(180deg, #050509 0%, #0b0b10 60%, #09090e 100%);
  position:relative;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,.4), transparent),
    radial-gradient(2px 2px at 15% 60%, rgba(255,255,255,.6), transparent),
    radial-gradient(2px 2px at 50% 40%, rgba(255,255,255,.5), transparent),
    radial-gradient(2px 2px at 75% 85%, rgba(255,255,255,.6), transparent),
    radial-gradient(600px 300px at 50% -10%, rgba(212,175,55,.08), transparent 70%),
    radial-gradient(500px 260px at 80% 10%, rgba(240,211,122,.06), transparent 75%);
  background-repeat:repeat;
  background-size:
    220px 220px,
    260px 260px,
    300px 300px,
    340px 340px,
    380px 380px,
    420px 420px,
    460px 460px,
    520px 520px,
    100% 100%,
    100% 100%;
  pointer-events:none;
}

/* =========================
   LAYOUT BASE
========================= */
.wrap{
  max-width:1000px;
  margin:0 auto;
  padding:22px;
}

/* =========================
   TOPBAR
========================= */
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background: linear-gradient(
    180deg,
    rgba(12,12,18,.85),
    rgba(12,12,18,.65)
  );
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line-soft);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.logo{
  height:38px;
  width:auto;
  display:block;
}

.nav{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  opacity:.82;
}
.nav a:hover{opacity:1}

/* =========================
   HERO / SECTIONS
========================= */
.hero{
  margin-top:20px;
  padding:30px;
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(20,20,32,.95),
    rgba(16,16,26,.88)
  );
  border:1px solid var(--line-soft);
  box-shadow:
    0 18px 60px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.h-title{
  font-size: clamp(22px, 3.4vw, 40px);
  margin:0 0 10px;
  font-weight:900;
}

.h-sub{
  color:var(--muted);
  margin:0 0 18px;
  line-height:1.45;
}

/* =========================
   GRID
========================= */
.grid{display:grid;gap:14px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:860px){.grid-3{grid-template-columns:1fr}}

/* =========================
   CARDS
========================= */
.card{
  padding:18px;
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(22,22,36,.92),
    rgba(18,18,30,.92)
  );
  border:1px solid var(--line-soft);
  box-shadow: 0 12px 36px rgba(0,0,0,.28);
}

.card h3{margin:0 0 8px;font-weight:800}
.small{color:var(--muted);font-size:14px;line-height:1.4}

/* =========================
   BOTÕES
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  color:var(--text);
  background: linear-gradient(
    180deg,
    rgba(212,175,55,.24),
    rgba(212,175,55,.12)
  );
  border:1px solid rgba(212,175,55,.45);
  box-shadow:
    0 10px 28px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.btn:hover{filter:brightness(1.06);transform:translateY(-1px)}
.btn2{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
}

/* =========================
   BADGE
========================= */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
  color:var(--gold-soft);
  background: linear-gradient(
    180deg,
    rgba(212,175,55,.18),
    rgba(212,175,55,.08)
  );
  border:1px solid rgba(212,175,55,.35);
}

/* =========================
   FOOTER
========================= */
.footer{
  margin-top:40px;
  background: linear-gradient(
    180deg,
    rgba(12,12,18,.85),
    rgba(10,10,16,.95)
  );
  border-top:1px solid var(--line-soft);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  font-size:14px;
}

.footer a{
  color:rgba(255,255,255,.75);
  text-decoration:none;
  font-weight:600;
}
.footer a:hover{color:#fff}

/* =========================
   WHATSAPP FLOAT (PREMIUM)
========================= */
.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:60;

  display:flex;
  align-items:center;
  gap:10px;

  padding:14px 18px;
  border-radius:999px;

  font-weight:900;
  font-size:14px;
  letter-spacing:.02em;
  text-decoration:none;

  color:#fff;

  background: linear-gradient(180deg, #25D366, #1ebe57);
  border:1px solid rgba(0,0,0,.15);

  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    0 0 0 0 rgba(37,211,102,.45);

  animation: waPulse 1.6s ease-in-out infinite;
}

.wa-float:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
  animation-play-state: paused;
}

.wa-icon{
  width:30px;
  height:30px;
  border-radius:999px;

  background: rgba(0,0,0,.18);

  display:flex;
  align-items:center;
  justify-content:center;

  overflow:hidden;
}

.wa-icon img{
  width:18px;
  height:18px;
  object-fit:contain;
  display:block;
}

.wa-text{
  white-space:nowrap;
}

@keyframes waPulse{
  0%{
    box-shadow:
      0 18px 40px rgba(0,0,0,.45),
      0 0 0 0 rgba(37,211,102,.40);
  }
  60%{
    box-shadow:
      0 18px 40px rgba(0,0,0,.45),
      0 0 0 14px rgba(37,211,102,.15);
  }
  100%{
    box-shadow:
      0 18px 40px rgba(0,0,0,.45),
      0 0 0 0 rgba(37,211,102,0);
  }
}

@media (max-width:520px){
  .wa-text{display:none}
  .wa-float{padding:14px}
}
