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

:root {
  --bg: #050508;
  --surface: rgba(15, 15, 22, 0.65);
  --line: rgba(255, 255, 255, 0.08);
  --red: #ff2a2a;
  --red-soft: rgba(255, 42, 42, 0.45);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.62);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

html, body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { display: block; }

/* ---------- loader ---------- */

#loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease;
}
#loader.fade-out { opacity: 0; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.loader-logo .accent { color: var(--red); }
.progress-bar-container {
  width: 200px; height: 3px; margin-top: 18px;
  background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden;
}
#progress-bar { width: 0%; height: 100%; background: var(--red); box-shadow: 0 0 12px var(--red); transition: width 0.2s ease; }

/* ---------- fundo: video canvas ---------- */

#scroll-canvas {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh;
  z-index: 0; pointer-events: none; background-color: var(--bg);
}

#video-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(5,5,8,0) 0%, rgba(5,5,8,0.35) 60%, rgba(5,5,8,0.75) 100%),
    linear-gradient(180deg, rgba(5,5,8,0.15) 0%, rgba(5,5,8,0.55) 100%);
}

/* ---------- fundo: esfera 3D ---------- */

#sphere-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100dvh;
  z-index: 2; pointer-events: none; display: block;
}

/* ---------- glass card base ---------- */

.glass-card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.glass-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--red-soft);
  box-shadow: 0 20px 60px -20px rgba(255, 42, 42, 0.25);
}

/* ---------- botoes ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 8px 30px -8px rgba(255, 42, 42, 0.55);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 40px -8px rgba(255, 42, 42, 0.75); }
.btn-outline {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: #fff;
}
.btn-outline:hover { border-color: var(--red-soft); transform: translateY(-2px) scale(1.02); }
.btn-block { width: 100%; margin-top: 24px; }
.btn-nav { padding: 11px 20px; font-size: 0.82rem; }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- layout base ---------- */

.content-wrapper { position: relative; z-index: 10; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--text-dim);
}
.badge-dot {
  position: relative;
  width: 6px; height: 6px; border-radius: 999px; background: var(--red); box-shadow: 0 0 8px 2px var(--red);
}
.badge-dot::before {
  content: "";
  position: absolute; inset: 0; border-radius: 999px; background: var(--red);
  animation: fab-ring 2.2s ease-out infinite;
}

.accent { color: var(--red); }
.gradient-text {
  background: linear-gradient(120deg, #ffffff 20%, #ff6a6a 60%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.section-lead { font-size: 0.95rem; color: var(--text-dim); line-height: 1.6; max-width: 58ch; }

/* ---------- navbar ---------- */

.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; margin-bottom: 20px;
}
.logo { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.nav-links {
  display: flex; gap: 6px; padding: 6px;
  background: rgba(10,10,14,0.6); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 999px;
}
.nav-item { padding: 9px 18px; font-size: 0.85rem; font-weight: 500; color: var(--text-dim); border-radius: 999px; transition: color 0.3s ease, background 0.3s ease; }
.nav-item:hover, .nav-item.active { color: #fff; background: rgba(255,42,42,0.12); }

@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- hero ---------- */

.hero-section {
  min-height: 92vh; display: flex; align-items: center;
  padding: 40px 0 80px;
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05; max-width: 16ch; margin: 24px 0 20px;
}
.hero-subtitle { font-size: clamp(15px, 1.6vw, 18px); color: var(--text-dim); max-width: 46ch; line-height: 1.6; margin-bottom: 36px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 20px; font-size: 0.82rem; color: var(--text-dim); letter-spacing: 0.01em; }

/* ---------- diferenciais ---------- */

.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 28px 24px; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,42,42,0.1); border: 1px solid var(--red-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--red); }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature-card p { font-size: 0.86rem; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 980px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-grid { grid-template-columns: 1fr; } }

.guarantee-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .guarantee-grid { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */

.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 800px; }
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; color: var(--text); cursor: pointer;
  padding: 22px 26px; font-family: inherit; font-size: 0.98rem; font-weight: 600; text-align: left;
}
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--red); transition: transform 0.4s var(--ease); }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
  padding: 0 26px;
}
.faq-item.is-open .faq-answer { max-height: 240px; padding: 0 26px 24px; }
.faq-answer p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

/* ---------- pacotes ---------- */

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pricing-card { padding: 36px 32px; display: flex; flex-direction: column; }
.pricing-featured { border-color: var(--red-soft); box-shadow: 0 0 0 1px var(--red-soft), 0 25px 70px -25px rgba(255,42,42,0.4); }
.pricing-badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; letter-spacing: 0.02em;
  box-shadow: 0 0 20px rgba(255,42,42,0.6);
}
.pricing-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.pricing-name { font-size: 1.2rem; font-weight: 700; }
.pricing-tag { font-size: 0.78rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.pricing-value { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.price-note { font-size: 0.8rem; color: var(--text-dim); }
.pricing-audience { font-size: 0.86rem; color: var(--text-dim); line-height: 1.55; margin-bottom: 22px; }
.pricing-list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-list li {
  font-size: 0.86rem; color: var(--text); padding-left: 26px; position: relative; line-height: 1.4;
}
.pricing-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  border-radius: 999px; background: rgba(255,42,42,0.12); border: 1px solid var(--red-soft);
}
.pricing-list li::after {
  content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 3px;
  border-left: 1.6px solid var(--red); border-bottom: 1.6px solid var(--red); transform: rotate(-45deg);
}

@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- hospedagem ---------- */

.hosting-banner {
  display: flex; align-items: center; gap: 28px; padding: 40px clamp(24px, 5vw, 48px);
}
.hosting-icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px;
  background: rgba(255,42,42,0.1); border: 1px solid var(--red-soft);
  display: flex; align-items: center; justify-content: center;
}
.hosting-icon svg { width: 30px; height: 30px; color: var(--red); }
.hosting-text h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.hosting-text p { font-size: 0.92rem; color: var(--text-dim); line-height: 1.6; max-width: 60ch; }
.hosting-text strong { color: var(--red); }

@media (max-width: 640px) { .hosting-banner { flex-direction: column; text-align: center; } }

/* ---------- como funciona ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { padding: 32px 26px; }
.step-num {
  display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--red);
  border: 1px solid var(--red-soft); border-radius: 8px; padding: 5px 11px; margin-bottom: 18px;
}
.step-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; line-height: 1.3; }
.step-card p { font-size: 0.86rem; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding: 36px 0 60px; border-top: 1px solid var(--line); margin-top: 40px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.3s ease; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }

/* ---------- whatsapp fab ---------- */

.whatsapp-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 58px; height: 58px; border-radius: 999px;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px -6px rgba(255,42,42,0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: fab-pulse 2.2s ease-out infinite;
}
.whatsapp-fab::before {
  content: "";
  position: absolute; inset: 0; border-radius: 999px;
  background: var(--red);
  animation: fab-ring 2.2s ease-out infinite;
  z-index: -1;
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 44px -6px rgba(255,42,42,0.9); }

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 10px 34px -6px rgba(255,42,42,0.7); }
  50% { box-shadow: 0 10px 34px -6px rgba(255,42,42,0.95), 0 0 0 4px rgba(255,42,42,0.15); }
}

@keyframes fab-ring {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- scrollbar ---------- */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,42,42,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,42,42,0.55); }
