/* =====================================================
   NETTERA — CSS Principal
   Identidade visual: Teal/Verde-água + Navy + Branco
   ===================================================== */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: #f4f6fa;
  color: #1a2340;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(14,165,233,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(14,165,233,0.45); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.45); }

.btn-green {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(22,163,74,0.35);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(22,163,74,0.45); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-xl { padding: 18px 44px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; border-radius: 12px; }

.pulse-btn {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7); }
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 17, 40, 0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.logo-link { display: flex; align-items: center; }

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }

.header-cta { font-size: 0.88rem; padding: 10px 20px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #040b1e 0%, #0a1a3e 40%, #062540 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.35);
  color: #38bdf8;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #0ea5e9, #22d3ee, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(34,211,238,0.12));
  border: 1px solid rgba(14,165,233,0.3);
  color: #0ea5e9;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.section-subtitle {
  color: #64748b;
  font-size: 1rem;
}

/* ---- PLANOS ---- */
.planos {
  padding: 96px 0;
  background: #f8fafc;
}

.tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 32px;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  transition: all 0.25s ease;
  min-width: 220px;
}
.tab-btn small { font-size: 0.72rem; font-weight: 400; color: #94a3b8; }
.tab-btn i { font-size: 1.2rem; margin-bottom: 2px; }

.tab-btn.active {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: linear-gradient(135deg, rgba(14,165,233,0.06), rgba(34,211,238,0.06));
  box-shadow: 0 4px 20px rgba(14,165,233,0.15);
}
.tab-btn:hover:not(.active) { border-color: #94a3b8; color: #475569; }

.tab-content { display: none; }
.tab-content.active { display: block; }

.planos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plano-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  border: 2px solid #e2e8f0;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plano-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-color: #cbd5e1; }

.plano-destaque {
  background: linear-gradient(160deg, #0a1a3e 0%, #0f2d5c 100%);
  border-color: #0ea5e9;
  transform: scale(1.04);
  box-shadow: 0 20px 50px rgba(14,165,233,0.25);
}
.plano-destaque:hover { transform: scale(1.04) translateY(-6px); }
.plano-destaque .plano-nome,
.plano-destaque .plano-velocidade,
.plano-destaque .plano-preco,
.plano-destaque .plano-features li { color: #fff !important; }
.plano-destaque .plano-tag { background: rgba(14,165,233,0.2); color: #38bdf8; }
.plano-destaque .plano-icon { color: #38bdf8; }
.plano-destaque .plano-features li i { color: #34d399; }

.plano-destaque-radio {
  background: linear-gradient(160deg, #052e16 0%, #14532d 100%);
  border-color: #22c55e;
  box-shadow: 0 20px 50px rgba(34,197,94,0.25);
}

.plano-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245,158,11,0.4);
}
.plano-badge-radio {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 4px 12px rgba(34,197,94,0.4);
}

.plano-icon {
  font-size: 1.6rem;
  color: #0ea5e9;
}

.plano-tag {
  display: inline-block;
  background: rgba(14,165,233,0.1);
  color: #0284c7;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  width: fit-content;
}
.plano-tag-radio { background: rgba(22,163,74,0.1); color: #16a34a; }

.plano-nome {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.plano-velocidade {
  font-size: 3rem;
  font-weight: 900;
  color: #0ea5e9;
  line-height: 1;
}
.plano-velocidade span { font-size: 1.2rem; font-weight: 600; }

.plano-preco {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  color: #0f172a;
}
.preco-prefix { font-size: 1rem; font-weight: 700; margin-top: 8px; }
.preco-valor { font-size: 2.8rem; font-weight: 900; line-height: 1; }
.preco-cents { font-size: 1rem; font-weight: 600; margin-top: 10px; }
.preco-cents small { font-size: 0.75rem; color: #94a3b8; font-weight: 400; }

.plano-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plano-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #475569;
}
.plano-features li i { color: #0ea5e9; font-size: 0.75rem; flex-shrink: 0; }

.cobertura-aviso {
  text-align: center;
  margin-top: 32px;
  color: #475569;
  font-size: 0.9rem;
}
.cobertura-aviso i { color: #0ea5e9; margin-right: 6px; }
.cobertura-aviso-radio i { color: #16a34a; }

/* ---- COBERTURA ---- */
.cobertura {
  padding: 96px 0;
  background: #fff;
}

.cobertura-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cobertura-card {
  padding: 48px 40px;
  border-radius: 24px;
  border: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}
.cobertura-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.cobertura-fibra { border-color: rgba(14,165,233,0.3); background: linear-gradient(135deg, rgba(14,165,233,0.03), rgba(34,211,238,0.03)); }
.cobertura-radio { border-color: rgba(22,163,74,0.3); background: linear-gradient(135deg, rgba(22,163,74,0.03), rgba(34,197,94,0.03)); }

.cobertura-icon {
  width: 56px; height: 56px;
  background: rgba(14,165,233,0.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #0ea5e9;
}
.cobertura-icon-radio { background: rgba(22,163,74,0.1); color: #16a34a; }

.cobertura-tipo {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0ea5e9;
}
.cobertura-tipo-radio { color: #16a34a; }

.cobertura-card h3 { font-size: 1.3rem; font-weight: 800; color: #0f172a; }

.cobertura-areas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cobertura-areas li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
}
.cobertura-areas li i { color: #0ea5e9; font-size: 0.85rem; }

/* ---- CTA CENTRAL ---- */
.cta-central {
  background: linear-gradient(135deg, #040b1e 0%, #0a1a3e 100%);
  padding: 72px 0;
}

.cta-central-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-central-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.cta-central-text p { color: rgba(255,255,255,0.65); font-size: 1rem; }

/* ---- DIFERENCIAIS ---- */
.diferenciais {
  padding: 96px 0;
  background: #f8fafc;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diferencial-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.diferencial-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: rgba(14,165,233,0.3); }

.diferencial-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(34,211,238,0.1));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #0ea5e9;
}

.diferencial-card h3 { font-size: 1.05rem; font-weight: 700; color: #0f172a; }
.diferencial-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

/* ---- CONTATO ---- */
.contato {
  padding: 96px 0;
  background: #fff;
}

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contato-info { display: flex; flex-direction: column; gap: 20px; }
.contato-info p { color: #475569; font-size: 1rem; }

.contato-canais { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }

.canal-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.canal-item:hover { border-color: rgba(37,211,102,0.4); background: rgba(37,211,102,0.04); }

.canal-item i {
  font-size: 1.5rem;
  color: #25d366;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.canal-item div { display: flex; flex-direction: column; }
.canal-item strong { font-size: 0.85rem; color: #0f172a; }
.canal-item span { font-size: 0.9rem; color: #475569; }

.contato-form-wrap {
  background: #f8fafc;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #e2e8f0;
}

.contato-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label { font-size: 0.85rem; font-weight: 600; color: #374151; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #1a2340;
  background: #fff;
  transition: border-color 0.2s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }

.form-group textarea { resize: vertical; min-height: 90px; }

/* ---- FOOTER ---- */
.footer {
  background: #040b1e;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer-brand p { font-size: 0.88rem; line-height: 1.6; }

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25d366;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}
.footer-whatsapp:hover { opacity: 0.85; }
.footer-whatsapp i { font-size: 1.2rem; }

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

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

.footer-links ul li,
.footer-links ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}
.footer-links ul a:hover { color: #38bdf8; }

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ---- WHATSAPP FLUTUANTE ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
  transition: all 0.3s ease;
  animation: floatPulse 3s ease-in-out infinite;
}

.whatsapp-float i { font-size: 1.4rem; }

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(37,211,102,0.6);
}

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

/* ---- MOBILE MENU ---- */
@media (max-width: 900px) {
  .nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #040b1e;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { display: flex; }
  .nav-link { padding: 14px 18px; font-size: 1rem; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
}

/* ---- RESPONSIVO ---- */
@media (max-width: 1024px) {
  .planos-grid { grid-template-columns: 1fr 1fr; }
  .plano-destaque { transform: none; }
  .plano-destaque:hover { transform: translateY(-6px); }
  .diferenciais-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .planos-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .cobertura-grid { grid-template-columns: 1fr; }
  .contato-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-central-inner { flex-direction: column; text-align: center; }
  .diferenciais-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .whatsapp-float-text { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
  .tabs { flex-direction: column; align-items: stretch; }
  .tab-btn { min-width: unset; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .contato-form-wrap { padding: 24px 20px; }
}
