/* ==========================================================================
   NetJaz Fibra - Folha de Estilos de Alto Contraste & Padrão Telecom
   Paleta Otimizada para Acessibilidade (WCAG AA & AAA):
   - Azul Corporativo Profundo: #050a26 (Dark Navy - Contraste 19:1 com branco)
   - Azul Principal: #0a134a (Navy - Contraste 15:1 com branco)
   - Laranja de Ação / Botões: #ff7a00
   - Laranja da Marca (NetJaz): #ff7a00 (Laranja Vibrante Oficial)
   - Texto Principal em fundos claros: #0f172a (Slate 900) e #1e293b (Slate 800)
   - Texto em fundos escuros: #ffffff (Branco puro) e #f1f5f9 (Slate 100)
   ========================================================================== */

:root {
  --color-navy-dark: #050a26;
  --color-navy: #0a134a;
  --color-navy-light: #131f6d;
  --color-orange-action: #ff7a00;
  --color-orange-dark: #ff7a00;
  --color-orange-amber: #b45309;
  --color-text-main: #0f172a;
  --color-text-body: #1e293b;
  --color-text-muted: #475569;
  --color-bg-light: #f8fafc;
  --color-border-card: #cbd5e1;
  --shadow-card: 0 4px 16px -2px rgba(5, 10, 38, 0.08), 0 2px 4px -1px rgba(5, 10, 38, 0.04);
  --shadow-card-hover: 0 16px 32px -4px rgba(5, 10, 38, 0.16);
}

/* Tipografia Base */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.025em;
  color: #050a26;
}

/* Top Utility Bar - Alto Contraste */
.top-utility-bar {
  background-color: #030617;
  color: #f1f5f9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Banner de Notificação de Geolocalização */
.location-alert-banner {
  background: linear-gradient(90deg, #070d38 0%, #0d1752 100%);
  border-bottom: 2px solid #ff9f1c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Header Principal */
.main-header {
  background-color: #ffffff;
  border-bottom: 2px solid #e2e8f0;
  transition: box-shadow 0.25s ease;
}

.main-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(5, 10, 38, 0.12);
}

/* Botões com Máxima Legibilidade */
.btn-orange-action {
  background-color: #ff9f1c;
  color: #050a26 !important;
  font-weight: 800;
  border: 1px solid #f59200;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(245, 146, 0, 0.28);
}

.btn-orange-action:hover {
  background-color: #ffaa33;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 146, 0, 0.42);
}

.btn-navy-action {
  background-color: #0a134a;
  color: #ffffff !important;
  font-weight: 800;
  border: 1px solid #050a26;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(10, 19, 74, 0.2);
}

.btn-navy-action:hover {
  background-color: #050a26;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 10, 38, 0.35);
}

.btn-outline-navy-action {
  background-color: transparent;
  color: #0a134a;
  border: 2px solid #0a134a;
  font-weight: 800;
  transition: all 0.2s ease;
}

.btn-outline-navy-action:hover {
  background-color: #0a134a;
  color: #ffffff;
}

/* Hero Section Telecom */
.telecom-hero-banner {
  background: linear-gradient(135deg, #030617 0%, #060b2b 50%, #0a134a 100%);
  color: #ffffff;
  position: relative;
  border-bottom: 3px solid #ff9f1c;
}

/* =========================================================================
   CARROSSEL PRINCIPAL AUTOMÁTICO
   ========================================================================= */
.carousel-container {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.carousel-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  overflow: hidden;
}

.carousel-progress-fill {
  height: 100%;
  background: #ff9f1c;
  width: 0%;
}

/* Card dos Planos */
.plan-card-standard {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card-standard:hover {
  transform: translateY(-6px);
  border-color: #0a134a;
  box-shadow: var(--shadow-card-hover);
}

.plan-card-featured-night {
  background: linear-gradient(180deg, #070d38 0%, #040822 100%);
  border: 3px solid #ff9f1c;
  border-radius: 1.25rem;
  box-shadow: 0 16px 36px -4px rgba(5, 10, 38, 0.4), 0 0 0 1px rgba(255, 159, 28, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-4px);
  color: #ffffff;
}

.plan-card-featured-night:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px -6px rgba(5, 10, 38, 0.55), 0 0 20px rgba(255, 159, 28, 0.4);
}

.featured-ribbon-badge {
  background-color: #ff9f1c;
  color: #050a26;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Valores e Velocidades */
.speed-number-display {
  font-size: 3.85rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-family: 'Outfit', sans-serif;
}

/* Floating WhatsApp Button */
.whatsapp-float-container {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 50;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

@media (min-width: 768px) {
  .whatsapp-float-container {
    bottom: 2rem;
    right: 2rem;
  }
}

/* Mobile Sticky Action Bar & Bottom Nav */
.mobile-bottom-actions {
  display: block;
}

.text-brand-orange {
  color: #ff7a00 !important;
}

.bg-brand-orange {
  background-color: #ff7a00 !important;
}

.border-brand-orange {
  border-color: #ff7a00 !important;
}

/* Suporte a toque e deslizamento suave no mobile */
.touch-pan-y {
  touch-action: pan-y;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 5.5rem;
  }
}

@media (min-width: 768px) {
  .mobile-bottom-actions {
    display: none !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0a134a;
}

/* Bloqueio do site até a definição de localidade pelo usuário */
html.location-unselected #location-prompt-modal {
  display: flex !important;
}
html.location-unselected body {
  overflow: hidden !important;
}

/* Abas de Troca Direta de Região */
.region-tab-btn {
  cursor: pointer;
  user-select: none;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.01em;
}

.dedicated-city-pill {
  cursor: pointer;
  user-select: none;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

