/* =====================================================
   UPNET TELECOM - Main Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  --bg-main: #050B1A;
  --bg-dark: #0A1628;
  --bg-card: #0D1F3C;
  --blue-primary: #1E90FF;
  --blue-secondary: #60B4FF;
  --purple-accent: #7C3AED;
  --purple-light: #A78BFA;
  --gray: #94A3B8;
  --white: #F0F8FF;
  --gradient: linear-gradient(135deg, #1E90FF, #7C3AED);
  --gradient-hover: linear-gradient(135deg, #60B4FF, #A78BFA);
  --glass-bg: rgba(13, 31, 60, 0.6);
  --glass-border: rgba(30, 144, 255, 0.15);
  --glass-border-hover: rgba(30, 144, 255, 0.45);
  --shadow-blue: 0 0 30px rgba(30, 144, 255, 0.2);
  --shadow-purple: 0 0 30px rgba(124, 58, 237, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Orbitron', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mesh/grid overlay pattern */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(30, 144, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 144, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

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

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

ul { list-style: none; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.7;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }
.reveal.delay-6 { transition-delay: 0.6s; }

.reveal.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(30, 144, 255, 0.5), 0 0 40px rgba(124, 58, 237, 0.25);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--blue-primary);
  border: 1.5px solid var(--blue-primary);
}

.btn-outline-primary:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 144, 255, 0.4);
}

/* =====================================================
   GLASSMORPHISM CARDS
   ===================================================== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,144,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-blue), 0 20px 40px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.glass-card:hover::before { opacity: 1; }

/* =====================================================
   NAVIGATION
   ===================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(5, 11, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 144, 255, 0.1);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(240, 248, 255, 0.8);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after { width: 100%; }

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

.nav-cta {
  padding: 10px 22px;
  font-size: 0.875rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 11, 26, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--blue-primary); }

.mobile-menu .btn {
  margin-top: 16px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../imagens/imgs/fiber-optic-4393369_1920.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

#fiber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 144, 255, 0.12);
  border: 1px solid rgba(30, 144, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-secondary);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge .badge-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 750px;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(240, 248, 255, 0.78);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.3s both;
}

/* Floating badge */
.hero-floating-badge {
  position: absolute;
  right: 60px;
  bottom: 140px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(13, 31, 60, 0.75);
  border: 1px solid rgba(30, 144, 255, 0.25);
  backdrop-filter: blur(16px);
  padding: 18px 24px;
  border-radius: var(--radius);
  z-index: 3;
  animation: floatBadge 3s ease-in-out infinite, fadeInRight 1s ease 0.4s both;
  max-width: 240px;
}

.floating-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.floating-badge-text span {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.4;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s ease 0.6s both;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,248,255,0.5);
}

.scroll-chevron {
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(30,144,255,0.6);
  border-bottom: 2px solid rgba(30,144,255,0.6);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}

/* =====================================================
   STATS SECTION
   ===================================================== */
#stats {
  background: var(--bg-dark);
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

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

.stat-card {
  padding: 36px 28px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 500;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
#sobre {
  background: var(--bg-main);
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-subtitle {
  margin-bottom: 40px;
}

/* Timeline */
.about-timeline {
  position: relative;
  margin: 32px 0 8px;
  padding-left: 20px;
  border-left: 2px solid rgba(30, 144, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0 10px 8px;
  transition: background 0.2s;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e90ff, #7c3aed);
  box-shadow: 0 0 8px rgba(30, 144, 255, 0.6);
  flex-shrink: 0;
}

.timeline-year {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #60b4ff;
  letter-spacing: 1px;
  min-width: 40px;
  padding-top: 1px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.timeline-item.timeline-future::before {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}

.timeline-item.timeline-future .timeline-year {
  color: #a78bfa;
}

.timeline-item.timeline-future .timeline-desc {
  color: #7c8fa8;
  font-style: italic;
}

.timeline-future-dots {
  display: inline-block;
  color: #7c3aed;
  letter-spacing: 3px;
  animation: blink-dots 1.5s step-start infinite;
  font-style: normal;
  margin-left: 4px;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(124, 58, 237, 0.5); }
  50%       { box-shadow: 0 0 14px rgba(124, 58, 237, 0.9); }
}

@keyframes blink-dots {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* Highlights grid */
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: rgba(30, 144, 255, 0.06);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.highlight-box:hover {
  background: rgba(30, 144, 255, 0.1);
  border-color: rgba(30, 144, 255, 0.3);
  transform: translateY(-2px);
}

.highlight-box-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-box-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.highlight-box-text span {
  font-size: 0.78rem;
  color: var(--gray);
}

/* About image frame */
.about-image-frame {
  position: relative;
}

.about-image-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient);
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0.5;
}

.about-image-frame::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  background: var(--gradient);
  border-radius: var(--radius);
  opacity: 0.08;
  z-index: -2;
  filter: blur(30px);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gradient);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(30, 144, 255, 0.4);
}

.about-img-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.about-img-badge span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
#por-que {
  background: var(--bg-dark);
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.why-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-header .section-subtitle {
  margin: 0 auto;
}

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

.why-card {
  padding: 36px 28px;
}

.why-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.4);
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.why-card-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* =====================================================
   COVERAGE SECTION
   ===================================================== */
#cobertura {
  background: var(--bg-main);
  padding: 100px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cobertura-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('../imagens/imgs/waves-7111753_1920.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
}

.cobertura-header {
  text-align: center;
  margin-bottom: 60px;
}

.cobertura-header .section-subtitle {
  margin: 0 auto;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.coverage-card {
  padding: 48px 36px;
  text-align: center;
  position: relative;
}

.coverage-card.primary-city {
  border-color: rgba(30, 144, 255, 0.3);
}

.coverage-card.secondary-city {
  border-color: rgba(124, 58, 237, 0.3);
}

.coverage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.25);
}

.coverage-card.secondary-city .coverage-icon {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.25);
}

.coverage-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.coverage-type {
  font-size: 0.82rem;
  color: var(--blue-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.coverage-card.secondary-city .coverage-type {
  color: var(--purple-light);
}

.coverage-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.65;
}

.coverage-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.coverage-note::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.coverage-map-cta {
  display: flex;
  justify-content: center;
  margin: 32px 0 20px;
}

/* =====================================================
   SPEED TEST — BOTÃO FLUTUANTE
   ===================================================== */
.speedtest-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, #1e90ff, #7c3aed);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.45);
  transition: var(--transition);
  white-space: nowrap;
}

.speedtest-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(30, 144, 255, 0.6), 0 0 40px rgba(124, 58, 237, 0.3);
}

@media (max-width: 480px) {
  .speedtest-fab span { display: none; }
  .speedtest-fab { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }
}

/* =====================================================
   TECHNOLOGY SECTION
   ===================================================== */
#tecnologia {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  z-index: 1;
}

.tech-bg {
  position: absolute;
  inset: 0;
  background-image: url('../imagens/imgs/technology-7111752_1920.jpg');
  background-size: cover;
  background-position: center;
}

.tech-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 11, 26, 0.88) 0%, rgba(10, 22, 40, 0.78) 100%);
}

.tech-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.tech-quote {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.tech-subtitle {
  font-size: 1.1rem;
  color: rgba(240,248,255,0.75);
  line-height: 1.75;
  margin-bottom: 40px;
}

.tech-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.tech-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--blue-secondary);
  font-weight: 500;
}

.tech-feature-dot {
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
#contato {
  background: var(--bg-dark);
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-subtitle {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 32px;
  line-height: 1.65;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-primary);
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-item-text a,
.contact-item-text span {
  font-size: 0.95rem;
  color: var(--white);
  transition: color 0.2s;
}

.contact-item-text a:hover { color: var(--blue-secondary); }

/* Contact Form */
.contact-form-wrapper {
  padding: 40px;
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(5, 11, 26, 0.6);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  background: rgba(5, 11, 26, 0.8);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-group textarea {
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}

/* =====================================================
   FOOTER
   ===================================================== */
#footer {
  background: #030810;
  border-top: 1px solid rgba(30, 144, 255, 0.1);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .footer-logo {
  height: 44px;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gray);
}

.social-link:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-primary);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-primary);
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(30, 144, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.6);
}

.footer-cnpj {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.45);
}

/* =====================================================
   KEYFRAME ANIMATIONS
   ===================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* =====================================================
   FORM SUCCESS MESSAGE
   ===================================================== */
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: #25D366;
  font-weight: 600;
  font-size: 1rem;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image-frame {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-floating-badge {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .about-highlights {
    grid-template-columns: 1fr;
  }

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

  .contact-form-wrapper {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .tech-features {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .section-padding { padding: 70px 0; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .container { padding: 0 16px; }
}

/* =====================================================
   BLOG BADGE — NAV LINK
   ===================================================== */

.nav-blog-badge {
  position: relative;
  padding: 5px 13px !important;
  border-radius: 20px;
  font-size: 0.85rem !important;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

/* Borda gradiente via máscara */
.nav-blog-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: var(--gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: var(--transition);
}

.nav-blog-badge:hover::before {
  background: var(--gradient-hover);
  box-shadow: 0 0 14px rgba(30, 144, 255, 0.35);
}

.nav-blog-badge:hover {
  background: var(--gradient-hover);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mobile menu — mantém aparência mas adapta tamanho */
.mobile-menu .nav-blog-badge {
  display: inline-block;
  margin-top: 4px;
}

/* =====================================================
   SERVIÇOS SECTION
   ===================================================== */

.servicos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.servico-card {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.servico-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.servico-icon-blue {
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.25);
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.12);
}

.servico-icon-purple {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.12);
}

.servico-title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.servico-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

.servico-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.servico-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.servico-feature-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-primary);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(30, 144, 255, 0.7);
}

.servico-feature-dot-purple {
  background: var(--purple-light);
  box-shadow: 0 0 6px rgba(167, 139, 250, 0.7);
}

@media (max-width: 768px) {
  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .servico-card {
    padding: 32px 24px;
  }
}
