/* =========================================================
   NETZON — CLEAN & HARMONY STYLE (FINAL OPTIMIZED)
   Reorganizado + Cobertura corrigida + Responsividade por faixas:
   Mobile: até 480px
   Tablet: 481px até 768px
   Laptop: 769px até 1024px
   Desktop: 1025px até 1440px
   Large Desktop/TV: 1441px+
   ========================================================= */

/* =========================================================
   1. VARIÁVEIS DE DESIGN & CONFIGURAÇÕES GLOBAIS
   ========================================================= */
:root {
  /* Cores da Marca */
  --brand-primary: #ff5a1f;
  --brand-dark: #d93a00;
  --brand-gradient: linear-gradient(135deg, #ff4f14 0%, #ff8a4a 100%);

  /* Cores Neutras */
  --bg-body: #ffffff;
  --bg-soft: #f8f9fa;
  --text-main: #1f1f1f;
  --text-muted: #666666;
  --border-light: #e0e0e0;

  /* UI System (originais) */
  --radius-card: 20px;
  --radius-btn: 50px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(255, 90, 31, 0.2);
  --transition-fast: all 0.3s ease;

  /* Layout */
  --header-height: 80px;

  /* Aliases (para manter compatibilidade com trechos novos/antigos sem quebrar o site) */
  --radius: var(--radius-card);
  --radius-sm: 14px;
  --shadow-sm: var(--shadow-soft);
  --brand: var(--brand-primary);
  --brand-red: var(--brand-primary);
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; transition: var(--transition-fast); }
ul { list-style: none; padding: 0; margin: 0; }
img, video { max-width: 100%; height: auto; display: block; }

/* =========================================================
   3. CABEÇALHO & NAVEGAÇÃO
   ========================================================= */

/* Topbar */
.topbar {
  background: var(--brand-gradient);
  padding: 5px 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.topbar a {
  color: inherit;
  margin-left: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}
.topbar a:hover { opacity: 1; color: #fff; }

/* Navbar */
.nav-netzon {
  background: var(--brand-gradient) !important;
  box-shadow: 0 4px 20px rgba(255, 90, 31, 0.25);
  padding: 0.8rem 0;
  transition: var(--transition-fast);
}

.navbar-brand .brand-logo {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Links do Menu (Desktop) */
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 4px;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.2);
}

/* Toggler (Mobile) */
.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 8px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(255,255,255,0.3); }

/* =========================================================
   4. UI COMPONENTS (BOTÕES, CARDS, FORM)
   ========================================================= */

/* Botões */
.btn-cta {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: var(--radius-btn);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 90, 31, 0.3);
  text-align: center;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 90, 31, 0.5);
  filter: brightness(1.05);
}

/* Botão Navbar (Invertido) */
.navbar .btn-cta {
  background: #ffffff !important;
  color: var(--brand-primary) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.navbar .btn-cta:hover {
  background: #f8f8f8 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Formulários */
.form-control {
  background: #fdfdfd;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
}
.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.1);
  background: #fff;
  outline: none;
}

/* =========================================================
   5. SEÇÕES GERAIS E HERO
   ========================================================= */
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }

.section-title {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  color: var(--text-main);
  line-height: 1.2;
}
.section-title span { color: var(--brand-primary); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 3rem;
}

/* Hero Principal */
.hero-support {
  position: relative;
  min-height: 600px;
  height: 80vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -1px;
}

.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,90,31,0.9) 0%, rgba(255,90,31,0.5) 60%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* =========================================================
   6. CARDS DE PLANOS & CONTATO
   ========================================================= */
.plan-card {
  background: #fff;
  border: 2px solid #ffc8ba;
  border-radius: var(--radius-card);
  padding: 2.5rem 1.5rem;
  transition: 0.3s;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255, 90, 31, 0.3);
}

.plan-card.highlight {
  border: 2px solid var(--brand-primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
  z-index: 2;
}
.plan-card.highlight:hover { transform: scale(1.05) translateY(-5px); }

.plan-speed {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  margin-top: 10px;
}

.plan-name {
  color: var(--brand-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 15px 0;
}

.plan-price {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.plan-list { flex-grow: 1; margin-bottom: 1.5rem; }
.plan-list li { margin-bottom: 10px; color: var(--text-muted); }
.plan-list i { color: var(--brand-primary); margin-right: 8px; }

.contact-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   7. PÁGINA: NOSSA HISTÓRIA (Timeline & Headers)
   ========================================================= */

/* Page Header (Cabeçalho de páginas internas) */
.page-header {
  background: linear-gradient(90deg, #000 0%, #1a1a1a 100%);
  padding: 100px 0 50px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--brand-primary);
}

/* Cards MVV (Missão, Visão, Valores) */
.mvv-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  text-align: center;
  border-top: 4px solid var(--brand-primary);
  transition: transform 0.3s;
}
.mvv-card:hover { transform: translateY(-5px); }
.mvv-icon { font-size: 2rem; margin-bottom: 1rem; color: var(--brand-primary); }

.value-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform 0.3s ease;
  text-align: center;
}
.value-card:hover { transform: translateY(-5px); }
.value-icon { font-size: 2.5rem; color: var(--brand-primary); margin-bottom: 1rem; }

/* Timeline (Trajetória) */
.timeline {
  position: relative;
  padding: 20px 0;
  list-style: none;
}

.timeline:before {
  content: " ";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background-color: #e9ecef;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.timeline-item:after {
  content: ""; display: table; clear: both;
}

.timeline-badge {
  color: #fff;
  width: 50px; height: 50px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 0; left: 50%;
  margin-left: -25px;
  background-color: var(--brand-primary);
  z-index: 100;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.timeline-panel {
  width: 46%;
  float: left;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.timeline-item.inverted .timeline-panel { float: right; }
.timeline-title { margin-top: 0; color: inherit; font-weight: 700; }

/* =========================================================
   8. FOOTER
   ========================================================= */
.footer-v2 {
  background: linear-gradient(160deg, #ff4f14 0%, #d93a00 100%);
  color: #fff;
  padding: 4rem 0 1.5rem;
}

.footer-title {
  color: #fff;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo {
  max-width: 150px;
  margin: 0 auto 1.2rem auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-social a {
  display: inline-flex;
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: #fff;
  color: var(--brand-primary);
  transform: translateY(-4px);
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
.footer-link:hover { color: #fff; padding-left: 6px; }

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 3rem 0 1.5rem;
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* =========================================================
   9. ELEMENTOS FLUTUANTES (WHATSAPP)
   ========================================================= */
.whats-float {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: 0.3s;
}
.whats-float:hover {
  transform: scale(1.1);
  background: #20b858;
  color: #fff;
}

/* =========================================================
   COBERTURA — CSS CORRIGIDO
   ========================================================= */

#cobertura .section-subtitle {
  margin-bottom: 2rem;
}

/* Container do Label (Fica acima do grupo de input) */
#cobertura .coverage-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #6c757d; /* text-muted */
  text-align: left;
  font-size: 0.875rem; /* small */
}

/* Wrapper que segura o Input + Botão na mesma linha */
#cobertura .coverage-input-group {
  display: flex;
  align-items: stretch; /* Garante que tenham a mesma altura */
  gap: 12px;
  position: relative;
}

/* Container relativo para o ícone funcionar */
#cobertura .coverage-field-wrapper {
  position: relative;
  flex-grow: 1; /* Ocupa todo espaço sobrando */
}

/* O Ícone absoluto */
#cobertura .coverage-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%); /* Centraliza verticalmente exato */
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 90, 31, 0.1);
  border: 1px solid rgba(255, 90, 31, 0.22);
  color: var(--brand-primary, #ff5a1f); /* Fallback de cor */
  pointer-events: none; /* Clica através do ícone */
  z-index: 5;
}

/* O Input em si */
#cobertura .coverage-field-wrapper .form-control {
  min-height: 50px; /* Altura fixa confortável */
  padding-left: 48px !important; /* IMPORTANTE: Espaço para o ícone não cobrir o texto */
  border-radius: 8px; /* Ajuste conforme seu design */
}

/* O Botão ao lado */
#cobertura .coverage-btn {
  min-height: 50px; /* Mesma altura do input */
  padding-left: 24px !important;
  padding-right: 24px !important;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* Área de mensagens (Help/Error) abaixo do grupo */
#cobertura .coverage-feedback-area {
  min-height: 24px;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Responsividade: No celular, botão cai para baixo */
@media (max-width: 576px) {
  #cobertura .coverage-input-group {
    flex-direction: column;
  }
  
  #cobertura .coverage-btn {
    width: 100%;
  }
}