/* ============================================================
   VivvaNet Fibra — landing page estática
   HTML + CSS puros. Sem JavaScript, sem build, sem dependências.
   ============================================================ */

:root {
  --laranja: #f97316;
  --laranja-escuro: #ea580c;
  --azul: #38bdf8;
  --fundo: #020617;
  --fundo-alt: #070e1b;
  --card: #0b1526;
  --borda: #1e293b;
  --texto: #f1f5f9;
  --texto-suave: #94a3b8;
  --whatsapp: #25d366;
  --raio: 16px;
}

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

html { scroll-behavior: smooth; }

/* Barra de rolagem invisível — a rolagem continua normal
   (roda do mouse, teclado, touch, barra de espaço). */
html {
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* Edge legado */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {     /* Chrome, Edge, Safari, Opera */
  width: 0;
  height: 0;
  display: none;
}

body {
  background: var(--fundo);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.accent { color: var(--laranja); }

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

.container-narrow { max-width: 760px; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--laranja);
  color: #0b1120;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.btn-primary:hover { background: var(--laranja-escuro); }

.btn-ghost {
  background: #111c30;
  color: var(--texto);
  border: 1px solid var(--borda);
}

.btn-ghost:hover { background: #17253d; }

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- Cabeçalho ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borda);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--laranja), #d97706);
  color: #0b1120;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-text strong { display: block; font-size: 1.15rem; letter-spacing: -0.3px; }
.logo-text small { display: block; font-size: 0.65rem; color: var(--texto-suave); text-transform: uppercase; letter-spacing: 1px; }

.nav { display: flex; gap: 28px; font-size: 0.92rem; color: var(--texto-suave); }
.nav a:hover { color: var(--laranja); }

/* ---------- Hero ---------- */

.hero { padding: 72px 0 88px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

/* Mascote: halo + plataforma + sombra de contato dão a sensação de que
   o robô está apoiado no chão, em vez de flutuando solto na tela. */
.mascot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 480px;
}

.mascot-glow {
  position: absolute;
  inset: 6% 0 12%;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.20), transparent 70%);
  filter: blur(50px);
}

.mascot-platform {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  max-width: 380px;
  aspect-ratio: 3 / 1;
  border-radius: 50%;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.18), transparent 75%);
}

.mascot-shadow {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  max-width: 200px;
  height: 22px;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.85);
  filter: blur(12px);
}

.mascot-img {
  position: relative;
  width: auto;
  height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(2, 6, 23, 0.6));
  animation: flutuar 4s ease-in-out infinite;
}

@keyframes flutuar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Respeita quem pediu menos animação no sistema. */
@media (prefers-reduced-motion: reduce) {
  .mascot-img { animation: none; }
  .btn:hover { transform: none; }
  html { scroll-behavior: auto; }
}

.badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.10);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--laranja);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 800;
}

.lead { color: var(--texto-suave); font-size: 1.05rem; max-width: 560px; }

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 26px 0;
}

.highlights li {
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--fundo-alt);
  border: 1px solid var(--borda);
  font-size: 0.82rem;
  font-weight: 600;
}

.highlights li::before { content: "⚡ "; color: var(--laranja); }

.hero-note { margin-top: 14px; font-size: 0.8rem; color: var(--texto-suave); }

/* ---------- Seções ---------- */

.section { padding: 88px 0; }
.section-alt { background: var(--fundo-alt); border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }

.eyebrow {
  color: var(--laranja);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-head h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.5px;
}

.section-head p { color: var(--texto-suave); font-size: 0.98rem; }

/* ---------- Planos ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--borda);
}

.plan-featured {
  position: relative;
  border: 2px solid var(--laranja);
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.10);
}

.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--laranja);
  color: #0b1120;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.plan h3 { font-size: 2rem; letter-spacing: -1px; }
.plan h3 span { font-size: 0.95rem; color: var(--texto-suave); font-weight: 600; }

.plan-name { color: var(--texto-suave); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

.plan-price {
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

.plan-price s { display: block; color: #64748b; font-size: 0.8rem; }
.plan-price strong { font-size: 2rem; color: var(--laranja); letter-spacing: -1px; }
.plan-price span { color: var(--texto-suave); font-size: 0.85rem; }

.plan ul { list-style: none; margin-bottom: 24px; flex: 1; }

.plan li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: var(--texto-suave);
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
}

.plan .btn { width: 100%; }

.plans-note {
  margin-top: 34px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--texto-suave);
}

/* ---------- Diferenciais ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.benefits article {
  padding: 26px 22px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--borda);
}

.benefits h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefits p { color: var(--texto-suave); font-size: 0.88rem; }

/* ---------- Dúvidas (details/summary: sanfona sem JavaScript) ---------- */

details {
  border: 1px solid var(--borda);
  border-radius: 16px;
  background: var(--card);
  margin-bottom: 12px;
  overflow: hidden;
}

summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  color: var(--laranja);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

details[open] summary::after { transform: rotate(45deg); }

summary:hover { background: rgba(148, 163, 184, 0.05); }

details p {
  padding: 0 22px 20px;
  color: var(--texto-suave);
  font-size: 0.9rem;
}

/* ---------- CTA final ---------- */

.cta {
  padding: 92px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--fundo), #0a1526);
  border-top: 1px solid var(--borda);
}

.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.5px; }
.cta p { color: var(--texto-suave); margin: 14px 0 30px; }

/* ---------- Rodapé ---------- */

.footer {
  padding: 44px 0;
  background: var(--fundo);
  border-top: 1px solid var(--borda);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-legal {
  max-width: 520px;
  font-size: 0.72rem;
  color: #64748b;
  text-align: right;
}

/* ---------- Botão flutuante do WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #05300f;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.32);
  transition: transform 0.15s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .mascot { order: -1; min-height: 340px; }
  .mascot-img { height: 320px; }
  .mascot-platform { bottom: 12px; }
  .mascot-shadow { bottom: 20px; }
  .hero-copy { text-align: center; }
  .lead { margin: 0 auto; }
  .highlights { justify-content: center; }
  .nav { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
}
