/* ============================================================
   PLANET INTERNET – style.css
   Paleta: #0a0f2c (fundo), #ffffff (texto), #00e5ff (destaque)
   Tipografia: Poppins
   ============================================================ */

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark:       #0a2c22;
  --bg-card:       rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --accent:        #00ff4c;
  --accent-glow:   rgba(0, 255, 136, 0.35);
  --accent-dark:   #00d423;
  --text-primary:  #ffffff;
  --text-muted:    rgba(255, 255, 255, 0.6);
  --border:        rgba(0, 255, 55, 0.18);
  --radius-card:   20px;
  --radius-btn:    50px;
  --transition:    0.3s ease;
  --max-width:     1160px;
  --header-h:      72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ── UTILITÁRIOS ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BOTÕES ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition),
              box-shadow var(--transition),
              background var(--transition),
              color var(--transition);
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 16px 24px;
}

/* ── LOGO ────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
}

/* Placeholder de logo – substitua por <img> se desejar */
.logo__placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__img {
  height: 42px;           /* ajuste conforme sua logo */
  width: auto;
}

.logo__icon {
  font-size: 1.7rem;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo__text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* ── HEADER ──────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 44, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header.scrolled {
  background: rgba(10, 44, 37, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ── NAVEGAÇÃO ───────────────────────────────────────────── */
.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav__link--cta {
  background: var(--accent);
  color: var(--bg-dark) !important;
  font-weight: 700;
}

.nav__link--cta:hover {
  background: var(--accent-dark);
  color: var(--bg-dark) !important;
}

/* ── HAMBÚRGUER ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px 10px;
  transition: border-color var(--transition);
}

.hamburger:hover {
  border-color: var(--accent);
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Estado aberto */
.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* Orbs de fundo */
.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero__bg-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 106, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero__bg-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(63, 251, 220, 0.2) 0%, transparent 70%);
  bottom: 0;
  left: -120px;
}

/* Grade de pontos no fundo */
.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(rgba(0, 255, 128, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Texto do hero */
.hero__text {
  flex: 1;
  max-width: 560px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--accent-glow);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title--accent {
  color: var(--accent);
  text-shadow: 0 0 24px var(--accent-glow);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Visual roteador */
.hero__visual {
  flex: 0 0 auto;
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.router {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.router__body {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(0, 255, 64, 0.2), rgba(63, 251, 157, 0.3));
  border: 2px solid var(--accent);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 40px var(--accent-glow), inset 0 0 20px rgba(0, 255, 55, 0.1);
}

.router__icon {
  font-size: 2.4rem;
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent);
}

.router__led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: ledBlink 1.8s ease-in-out infinite;
}

@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* Ondas de sinal */
.signal {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: ripple 3s ease-out infinite;
}

.signal--1 { width: 140px; height: 140px; animation-delay: 0s; }
.signal--2 { width: 210px; height: 210px; animation-delay: 0.8s; }
.signal--3 { width: 290px; height: 290px; animation-delay: 1.6s; }

@keyframes ripple {
  0%   { opacity: 0.6; transform: scale(0.85); }
  100% { opacity: 0;   transform: scale(1.05); }
}

/* Stats flutuantes */
.hero__stat {
  position: absolute;
  background: rgba(10, 44, 25, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  animation: floatStat 4s ease-in-out infinite;
}

.hero__stat--left  { left: -8px;  top: 40px; animation-delay: 0s; }
.hero__stat-right  { right: -8px; bottom: 50px; animation-delay: 1.5s; }

.hero__stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.hero__stat-right i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 4px;
}

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

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header__sub {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── PLANOS ──────────────────────────────────────────────── */
.plans {
  padding: 100px 0;
  position: relative;
}

/* Linha divisória topo */
.plans::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 99px;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

/* ── CARD DE PLANO ───────────────────────────────────────── */
.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 32px 36px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform var(--transition),
              box-shadow var(--transition),
              background var(--transition);
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg,
    rgba(0, 255, 76, 0.06) 0%,
    transparent 60%);
  pointer-events: none;
}

.plan-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(0, 255, 21, 0.3),
              0 0 40px rgba(0, 255, 106, 0.08);
}

/* Card em destaque */
.plan-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(0, 255, 98, 0.12);
}

.plan-card--featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

/* Badge "Mais Popular" */
.plan-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

/* Badge "100% fibra" */
.plan-card__fiber-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

/* Velocidade */
.plan-card__speed {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
}

.plan-card__number {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.plan-card--featured .plan-card__number {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.plan-card__unit {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Benefícios */
.plan-card__benefits {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-card__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-card__benefits li i {
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand .logo__placeholder {
  margin-bottom: 14px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.6;
}

.footer__links h4,
.footer__contact h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__contact p {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer__contact i {
  color: var(--accent);
  width: 14px;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer__disclaimer {
  font-size: 0.7rem !important;
  opacity: 0.5;
}

/* ── ANIMAÇÃO DE ENTRADA (scroll) ────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    width: 280px;
    height: 280px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .hamburger {
    display: flex;
  }

  /* Nav mobile */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 44, 23, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    opacity: 0;
  }

  .nav.is-open {
    max-height: 400px;
    opacity: 1;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
  }

  .nav__link {
    display: block;
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .nav__link--cta {
    text-align: center;
    margin-top: 8px;
  }

  /* Hero */
  .hero__visual {
    display: none;          /* Oculto em mobile pequeno */
  }

  /* Planos: um card abaixo do outro */
  .plans__grid {
    grid-template-columns: 1fr;
  }

  .plan-card__number {
    font-size: 4.5rem;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: auto;
  }
}

@media (max-width: 400px) {
  .hero__title {
    font-size: 1.75rem;
  }
}
