/* ============================================
   PROPOSTA COMERCIAL WAN - GRUPO JET
   CSS Premium · Identidade Visual Grupo Jet
   ============================================ */

:root {
  --jet-orange: #FF5A00;
  --jet-orange-light: #FF7A2E;
  --jet-orange-glow: rgba(255, 90, 0, 0.15);
  --jet-charcoal: #1E1710;
  --jet-dark: #161008;
  --jet-gray: #4D4D4D;
  --jet-light-gray: #1A1209;
  --jet-border: rgba(255, 90, 0, 0.08);
  --jet-white: #FFFFFF;
  --fiber-color: #3B82F6;
  --starlink-color: #8B5CF6;
  --fiveg-color: #10B981;
  --dc-color: #F59E0B;
  --danger: #EF4444;
  --success: #16A34A;
  --gradient-brand: linear-gradient(135deg, #FF5A00, #FF7A2E, #FFB347);
  --gradient-dark: linear-gradient(135deg, #161008, #1A1209, #1E1710);
  --gradient-dark-r: linear-gradient(135deg, #1E1710, #1A1209, #161008);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.2);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 30px rgba(255, 90, 0, 0.25);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --nav-width: 220px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.72;
  background: linear-gradient(160deg, #161008 0%, #1A1209 40%, #1E1710 70%, #161008 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* =====================
   SIDE NAVIGATION
   ===================== */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--jet-charcoal);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform var(--transition);
}

.nav-logo {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-img {
  width: 130px;
  filter: brightness(0) invert(1);
}

.nav-links {
  list-style: none;
  padding: 10px 0;
  flex: 1;
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.05);
}

.nav-links li a.active {
  color: var(--jet-orange);
  background: rgba(255, 90, 0, 0.08);
  border-left-color: var(--jet-orange);
}

.nav-links li a i {
  width: 18px;
  text-align: center;
  font-size: 0.75rem;
}

.nav-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1100;
  background: var(--jet-charcoal);
  border: none;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-md);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MAIN CONTENT */
#main-content {
  margin-left: var(--nav-width);
  min-height: 100vh;
}

/* =====================
   HERO SECTION
   ===================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: var(--jet-orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.hero-logo {
  width: 280px;
  margin: 0 auto 40px;
  filter: brightness(0) invert(1);
}

.hero-divider {
  width: 80px;
  height: 4px;
  background: var(--jet-orange);
  border-radius: 2px;
  margin: 0 auto 30px;
}

.hero-section h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-section h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 50px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: white;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 18px 32px;
}

.hero-meta div {
  text-align: center;
}

.hero-meta small {
  display: block;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.hero-meta strong {
  display: block;
  color: white;
  font-size: 0.88rem;
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  margin-top: 50px;
  animation: bounce 2s infinite;
  transition: all var(--transition);
}

.hero-scroll-btn:hover {
  border-color: var(--jet-orange);
  color: var(--jet-orange);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* CONFIDENTIAL BAR */
.confidential-bar {
  background: var(--jet-orange);
  color: white;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
}

.confidential-bar i { margin-right: 6px; }

/* =====================
   SECTIONS
   ===================== */
.section {
  padding: 80px 60px;
  background: rgba(255, 90, 0, 0.02);
}

.section.alt {
  background: rgba(255, 90, 0, 0.04);
}

.section.dark-section {
  background: var(--gradient-dark);
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-number {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--jet-orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
}

.section-number.light { color: var(--jet-orange-light); }

.section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 14px;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--jet-orange);
  border-radius: 2px;
}

.section h2.light-text {
  color: white;
}

.center-text h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.center-text { text-align: center; }

.light-text { color: white !important; }
.light-text-sub { color: rgba(255,255,255,0.6) !important; margin-bottom: 30px; }

.section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* =====================
   STATS GRID (Resumo)
   ===================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.stat-card {
  background: rgba(255, 90, 0, 0.04);
  border: 1px solid rgba(255, 90, 0, 0.1);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-card.accent-card {
  background: var(--gradient-brand);
  border: none;
  color: white;
}

.stat-card i {
  font-size: 1.8rem;
  color: var(--jet-orange);
  margin-bottom: 12px;
  display: block;
}

.stat-card.accent-card i { color: white; }

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.1;
}

.stat-value.small-text { font-size: 1rem; }
.accent-card .stat-value { color: white; }

.stat-label {
  font-size: 0.75rem;
  color: #888;
  margin-top: 6px;
  line-height: 1.35;
}

.accent-card .stat-label { color: rgba(255,255,255,0.8); }

/* =====================
   CHALLENGE CARDS
   ===================== */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.challenge-card {
  background: rgba(255, 90, 0, 0.04);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--danger);
  transition: all var(--transition);
}

.challenge-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.challenge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.challenge-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.challenge-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* =====================
   OBJECTIVES
   ===================== */
.objectives-list {
  margin-top: 30px;
}

.objective-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--jet-border);
}

.objective-item:last-child { border-bottom: none; }

.obj-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.objective-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* =====================
   TECH CARDS
   ===================== */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.tech-card {
  background: rgba(255, 90, 0, 0.04);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid rgba(255, 90, 0, 0.15);
  transition: all var(--transition);
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
}

.tech-icon.fiber { background: rgba(59, 130, 246, 0.1); color: var(--fiber-color); }
.tech-icon.starlink { background: rgba(139, 92, 246, 0.1); color: var(--starlink-color); }
.tech-icon.fiveg { background: rgba(16, 185, 129, 0.1); color: var(--fiveg-color); }

.tech-card:nth-child(1) { border-top-color: var(--fiber-color); }
.tech-card:nth-child(2) { border-top-color: var(--starlink-color); }
.tech-card:nth-child(3) { border-top-color: var(--fiveg-color); }

.tech-card h4 {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.tech-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* INFO BOX */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 90, 0, 0.06);
  border-left: 4px solid var(--jet-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin-top: 20px;
}

.info-box i { color: var(--jet-orange); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.info-box p { margin-bottom: 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.5); }

/* =====================
   TOPOLOGY (Premium v2)
   ===================== */
.topo-section {
  padding-bottom: 50px;
}

.topo-inner {
  max-width: 1100px;
}

.topo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.topo-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6EE7B7;
  letter-spacing: 0.02em;
}

.topo-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: statusPulse 2s ease infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.topology-container {
  position: relative;
  width: 100%;
  height: 620px;
  background: linear-gradient(180deg, rgba(10,10,22,0.95), rgba(15,15,30,0.98));
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0 24px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}

#topology-canvas {
  width: 100%;
  height: 100%;
  cursor: default;
}

.topology-tooltip {
  position: absolute;
  background: rgba(10,10,20,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  max-width: 280px;
  line-height: 1.6;
  border: 1px solid rgba(255,90,0,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(255,90,0,0.1);
  z-index: 10;
}

.topology-tooltip b { color: var(--jet-orange-light); }
.topology-tooltip.visible { opacity: 1; }

/* Legend Bar */
.topo-legend-bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px 24px;
}

.topo-legend-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.topo-legend-title {
  display: block;
  width: 100%;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: -4px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
}

/* Legend: line indicators */
.legend-line {
  width: 24px;
  height: 3px;
  border-radius: 2px;
}

.fiber-line { background: var(--fiber-color); }
.starlink-line { background: #A855F7; box-shadow: 0 0 6px rgba(168,85,247,0.4); }
.fiveg-line { background: var(--fiveg-color); box-shadow: 0 0 6px rgba(16,185,129,0.4); }

/* Legend: shape indicators */
.legend-shape {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.cloud-shape {
  background: #06B6D4;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.nse-shape {
  background: var(--jet-orange);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.dc-shape {
  background: var(--dc-color);
  border-radius: 3px;
}

.unit-shape {
  background: var(--jet-orange);
  border-radius: 4px;
  width: 12px;
  height: 10px;
}

/* KPIs */
.topo-kpi {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.topo-kpi strong {
  color: var(--jet-orange-light);
  font-size: 0.88rem;
  margin-right: 3px;
}

/* =====================
   ARCHITECTURE
   ===================== */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.arch-card {
  background: rgba(255, 90, 0, 0.035);
  border-radius: var(--radius);
  padding: 30px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.arch-card:hover {
  border-color: var(--jet-orange);
  box-shadow: var(--shadow-glow);
}

.arch-card.full-width {
  grid-column: 1 / -1;
}

.arch-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.arch-card h4 {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.arch-card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 0; }

/* =====================
   BENEFITS
   ===================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.benefit-card {
  background: rgba(255, 90, 0, 0.04);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--jet-orange-glow);
  color: var(--jet-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.benefit-card h4 { font-weight: 700; color: rgba(255, 255, 255, 0.9); margin-bottom: 8px; }
.benefit-card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 0; }

/* =====================
   INCLUDED ITEMS
   ===================== */
.included-items {
  margin-top: 30px;
}

.inc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 90, 0, 0.035);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  transition: all var(--transition);
}

.inc-item:hover { background: #F0EDFF; }

.inc-item i {
  color: var(--success);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.inc-item span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

/* =====================
   PREMISSAS
   ===================== */
.premissas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.premissa-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255, 90, 0, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.premissa-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.premissa-item i {
  color: var(--jet-orange);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.premissa-item p { margin-bottom: 0; font-size: 0.88rem; }

/* =====================
   TABLES
   ===================== */
.premium-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.premium-table thead th {
  background: var(--jet-charcoal);
  color: white;
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.premium-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--jet-border);
  vertical-align: middle;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 90, 0, 0.02);
}

.premium-table tbody tr:last-child td { border-bottom: none; }

.premium-table tbody tr:hover td {
  background: rgba(255, 90, 0, 0.03);
}

.highlight-row td {
  background: rgba(245, 158, 11, 0.06) !important;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important;
}

.risk-table thead th {
  background: linear-gradient(135deg, #DC2626, #EF4444);
}

.risk-icon {
  color: var(--danger);
  margin-right: 8px;
}

.scope-table-wrap, .risk-table-wrap, .units-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

/* =====================
   TIMELINE
   ===================== */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--jet-orange), var(--jet-border));
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--jet-orange);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--jet-orange-glow);
}

.timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}

.phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--jet-orange);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 8px;
}

.timeline-content p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}



/* =====================
   INVESTMENT SECTION
   ===================== */
.investment-hero {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  margin: 30px 0 40px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.investment-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
}

.inv-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
}

.inv-main-value {
  font-size: 3.2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
}

.inv-suffix {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.7;
}

.inv-total {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  position: relative;
}

.inv-light { font-weight: 400; opacity: 0.7; }

.inv-setup-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 8px 22px;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 14px;
  position: relative;
}

.inv-setup-badge i { margin-right: 6px; }

.commercial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.comm-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comm-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.comm-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  text-align: right;
}

.comm-value.orange { color: var(--jet-orange-light); }
.comm-value.green { color: #4ADE80; }

/* =====================
   UNITS SEARCH
   ===================== */
.units-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 2px solid var(--jet-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}

.search-box input:focus {
  border-color: var(--jet-orange);
}

.units-counter {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
}

.units-counter span { color: var(--jet-orange); font-size: 1.1rem; }

.units-table {
  font-size: 0.78rem;
}

.units-table th { padding: 10px 10px; font-size: 0.68rem; }
.units-table td { padding: 8px 10px; }
.units-table td:first-child { font-weight: 700; color: var(--jet-orange); text-align: center; width: 40px; }
.units-table td:nth-child(2) { font-weight: 600; white-space: nowrap; }

.dc-row td {
  background: rgba(245, 158, 11, 0.08) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700;
}

/* =====================
   RESPONSIBLE
   ===================== */
.responsible-card {
  max-width: 700px;
  margin: 30px auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.responsible-img {
  width: 100%;
  display: block;
}

.responsible-note {
  max-width: 600px;
  margin: 20px auto 0;
  color: #888;
  font-size: 0.88rem;
}

/* =====================
   SIGNATURE
   ===================== */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  text-align: center;
}

.signature-box {
  padding: 20px;
}

.sig-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--jet-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sig-space { height: 60px; }

.sig-line {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--jet-border);
  padding-top: 12px;
  margin-bottom: 8px;
}

.sig-detail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.sig-date { margin-top: 12px; color: #999; }

/* =====================
   FOOTER
   ===================== */
.main-footer {
  background: var(--gradient-dark-r);
  padding: 40px 60px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  width: 140px;
  filter: brightness(0) invert(1);
}

.footer-text {
  text-align: right;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-text strong {
  color: white;
  display: block;
  margin-bottom: 4px;
}

/* =====================
   ANIMATIONS
   ===================== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered children */
.stats-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.stats-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.stats-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.stats-grid [data-animate]:nth-child(5) { transition-delay: 0.4s; }
.stats-grid [data-animate]:nth-child(6) { transition-delay: 0.5s; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  :root { --nav-width: 0px; }
  .side-nav { transform: translateX(-100%); width: 220px; }
  .side-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  #main-content { margin-left: 0; }
  .section { padding: 60px 30px; }
  .hero-section h1 { font-size: 2.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .premissas-list { grid-template-columns: 1fr; }
  .commercial-grid { grid-template-columns: 1fr; }
  .topology-container { height: 480px; }
  .topo-legend-bar { flex-direction: column; gap: 16px; }
}

@media (max-width: 768px) {
  .challenge-grid,
  .tech-cards,
  .arch-grid,
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-section h1 { font-size: 2rem; }
  .hero-meta { flex-direction: column; gap: 12px; }
  .signature-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-text { text-align: center; }
  .topology-container { height: 400px; }
  .topo-legend-bar { flex-direction: column; gap: 14px; padding: 14px 16px; }
  .topo-header { flex-direction: column; }

  .section { padding: 50px 20px; }
  .units-controls { flex-direction: column; align-items: stretch; }
  .inv-main-value { font-size: 2.2rem; }
}

/* =====================
   PRINT STYLES
   ===================== */
@media print {
  .side-nav, .nav-toggle, .hero-scroll-btn { display: none !important; }
  #main-content { margin-left: 0 !important; }
  body { background: white; }
  .section { padding: 30px 20px; break-inside: avoid; }
  .topology-container { height: 300px; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
}
