/* ==========================================================================
   RADAR CLIMÁTICO - DESIGN SYSTEM & STYLESHEET
   Paleta Oficial: #A60E35, #FEA24F, #10BBC3, #068187, #051A2D
   Inspirado no layout projeto_site.png
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. VARIÁVEIS GLOBAIS E TOKENS DE DESIGN (DARK & LIGHT)
   -------------------------------------------------------------------------- */
:root {
  /* Cores da Paleta Oficial Arboris / Radar Climático */
  --color-red: #A60E35;
  --color-orange: #FEA24F;
  --color-cyan: #10BBC3;
  --color-teal: #068187;
  --color-navy: #051A2D;

  /* Gradientes de Destaque */
  --grad-primary: linear-gradient(135deg, #10BBC3 0%, #068187 100%);
  --grad-warm: linear-gradient(90deg, #FEA24F 0%, #A60E35 100%);
  --grad-full: linear-gradient(90deg, #10BBC3 0%, #FEA24F 50%, #A60E35 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Tipografia */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transições suaves */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Dimensões */
  --navbar-height: 80px;
  --container-max: 1240px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
}

/* ==========================================================================
   TEMA ESCURO (PADRÃO - COMO NO PROJETO_SITE.PNG)
   ========================================================================== */
[data-theme="dark"] {
  --bg-main: #050B14;
  --bg-secondary: #081321;
  --bg-card: rgba(13, 24, 38, 0.75);
  --bg-card-hover: rgba(18, 32, 52, 0.9);
  --bg-surface: #0A1624;
  --bg-glass-nav: rgba(5, 11, 20, 0.82);
  --border-subtle: rgba(16, 187, 195, 0.12);
  --border-active: rgba(16, 187, 195, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);

  --text-primary: #FFFFFF;
  --text-secondary: #A0B3C6;
  --text-muted: #647B91;
  --text-contrast: #051A2D;

  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 35px rgba(16, 187, 195, 0.25);
  --shadow-glow-orange: 0 0 35px rgba(254, 162, 79, 0.25);

  --radar-scan-color: rgba(16, 187, 195, 0.18);
  --postit-bg: linear-gradient(135deg, #132233 0%, #0A131F 100%);
}

/* ==========================================================================
   TEMA CLARO (MODO CLARO REFINADO)
   ========================================================================== */
[data-theme="light"] {
  --bg-main: #F4F7FB;
  --bg-secondary: #E9EFF6;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-glass-nav: rgba(244, 247, 251, 0.88);
  --border-subtle: rgba(6, 129, 135, 0.15);
  --border-active: rgba(6, 129, 135, 0.5);
  --border-glass: rgba(5, 26, 45, 0.08);

  --text-primary: #051A2D;
  --text-secondary: #3B5369;
  --text-muted: #6C8296;
  --text-contrast: #FFFFFF;

  --shadow-subtle: 0 10px 30px rgba(5, 26, 45, 0.06);
  --shadow-card: 0 16px 36px rgba(5, 26, 45, 0.08);
  --shadow-glow-cyan: 0 0 25px rgba(16, 187, 195, 0.15);
  --shadow-glow-orange: 0 0 25px rgba(254, 162, 79, 0.15);

  --radar-scan-color: rgba(6, 129, 135, 0.12);
  --postit-bg: linear-gradient(135deg, #FFFFFF 0%, #F5F9FD 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-height) + 10px);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container de Conteúdo */
.content-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Classes Utilitárias */
.highlight-cyan { color: var(--color-cyan); }
.highlight-orange {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.highlight-red { color: var(--color-red); }
.highlight-teal { color: var(--color-teal); }
.nowrap { white-space: nowrap; }

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.tag-cyan { color: var(--color-cyan); }
.tag-solution { color: var(--color-cyan); }
.tag-problem { color: var(--color-red); }
.tag-orange { color: var(--color-orange); }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-intro, .section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 760px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header .section-desc,
.section-header .section-intro {
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   03. PRELOADER ANIMADO COM O CARANGUEJO
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #050B14;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(16, 187, 195, 0.15) 0%, transparent 65%);
}

.preloader-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.preloader-radar-wrapper {
  position: relative;
  width: 170px;
  height: 170px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ping {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(16, 187, 195, 0.4);
  animation: radarPulse 2.4s ease-out infinite;
}
.ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.ring-2 { width: 75%; height: 75%; animation-delay: 0.6s; }
.ring-3 { width: 50%; height: 50%; animation-delay: 1.2s; }

@keyframes radarPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.3); opacity: 0; }
}

.radar-sweep-beam {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 75%, rgba(16, 187, 195, 0.4) 100%);
  animation: radarBeamRotate 2.5s linear infinite;
}

@keyframes radarBeamRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-icon-box {
  position: relative;
  width: 105px;
  height: 105px;
  z-index: 3;
}

.preloader-crab-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(16, 187, 195, 0.7));
  animation: crabFloat 3s ease-in-out infinite;
}

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

.preloader-brand {
  margin-bottom: 20px;
}

.preloader-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FFFFFF;
}

.preloader-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #A0B3C6;
  letter-spacing: 1.5px;
}

.preloader-bar-bg {
  width: 240px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--grad-full);
  border-radius: 10px;
  transition: width 0.2s ease;
}

.preloader-status-text {
  font-size: 0.8rem;
  color: var(--color-cyan);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   04. NAVBAR / CABEÇALHO SUPERIOR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: var(--bg-glass-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-card);
  border-bottom-color: var(--border-subtle);
  height: 72px;
}

.navbar-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-logo-img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

/* Botões Sociais no Cabeçalho */
.social-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-nav-btn:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}
.social-nav-btn.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}
.social-nav-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.4);
}

/* Badge de Alertas Ativos */
.btn-alerts-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(254, 162, 79, 0.12);
  border: 1px solid rgba(254, 162, 79, 0.4);
  color: var(--color-orange);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.btn-alerts-badge:hover {
  background: rgba(254, 162, 79, 0.2);
  border-color: var(--color-orange);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(254, 162, 79, 0.3);
}

.beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-orange);
  box-shadow: 0 0 10px var(--color-orange);
  animation: pulseBeacon 1.5s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.alerts-count {
  background: var(--color-orange);
  color: #051A2D;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

/* Botão de Alternância de Tema */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--border-subtle);
  transform: rotate(15deg);
}

/* Ícones do Tema */
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* Menu Hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   05. SEÇÃO 1: HERO (INÍCIO)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}
.glow-cyan {
  width: 500px;
  height: 500px;
  background: var(--color-cyan);
  top: 10%;
  left: -100px;
}
.glow-orange {
  width: 450px;
  height: 450px;
  background: var(--color-orange);
  top: 30%;
  right: -80px;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 187, 195, 0.1);
  border: 1px solid rgba(16, 187, 195, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
}
.chip-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-cyan);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 35px;
  max-width: 580px;
}

/* Botões do Hero */
.button-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.btn-solid-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-warm);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(166, 14, 53, 0.35);
  transition: all var(--transition-fast);
}

.btn-solid-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(166, 14, 53, 0.5);
  filter: brightness(1.08);
}

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 187, 195, 0.08);
  border: 1px solid var(--color-cyan);
  color: var(--color-cyan);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 30px;
  transition: all var(--transition-fast);
}

.btn-outline-cyan:hover {
  background: var(--color-cyan);
  color: #051A2D;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 187, 195, 0.35);
}

.btn-glass-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 30px;
  transition: all var(--transition-fast);
}

.btn-glass-alert:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Weather Telemetry Row (Responsivo e anti-overflow) */
.weather-telemetry-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.weather-telemetry-card {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
  overflow: hidden;
}

.weather-telemetry-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.weather-icon-box {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.weather-icon-box svg {
  width: 18px;
  height: 18px;
}
.cyan-icon {
  background: rgba(16, 187, 195, 0.12);
  color: var(--color-cyan);
}
.teal-icon {
  background: rgba(6, 129, 135, 0.18);
  color: var(--color-cyan);
}
.orange-icon {
  background: rgba(254, 162, 79, 0.15);
  color: var(--color-orange);
}

.telemetry-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.telemetry-label {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

.telemetry-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 0;
}

#liveRiskValue {
  font-size: 0.90rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

#liveRiskText {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.telemetry-sub {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-top: 3px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.telemetry-sub .sub-part {
  display: inline-block;
  white-space: nowrap;
}

.telemetry-sub .sub-sep {
  display: inline-block;
  margin: 0 3px;
  color: var(--text-muted);
  opacity: 0.7;
}
.val-cyan { color: var(--color-cyan); }
.val-teal { color: var(--color-teal); }
.val-warning { color: #FF9500; }
.val-danger { color: #FF3B30; }
.val-safe { color: #34C759; }

.amber-icon {
  background: rgba(255, 149, 0, 0.15);
  color: #FF9500;
}
.green-icon {
  background: rgba(52, 199, 89, 0.15);
  color: #34C759;
}

.pulsing-mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 1px;
  background: #FF3B30;
  animation: pulseBeacon 1s infinite;
}
.pulsing-mini-dot.dot-danger {
  background: #FF3B30;
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.6);
}
.pulsing-mini-dot.dot-warning {
  background: #FF9500;
  box-shadow: 0 0 8px rgba(255, 149, 0, 0.6);
}
.pulsing-mini-dot.dot-safe {
  background: #34C759;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.6);
}
.pulsing-mini-dot.dot-teal {
  background: var(--color-cyan);
  box-shadow: 0 0 8px rgba(16, 187, 195, 0.6);
}

/* Status Bar do Projeto */
.status-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.status-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  box-sizing: border-box;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-cyan {
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
}
.dot-orange {
  background: var(--color-orange);
  box-shadow: 0 0 10px var(--color-orange);
}
.dot-pink {
  background: var(--color-red);
  box-shadow: 0 0 10px var(--color-red);
}

.status-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-value {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   RADAR GRÁFICO VISUAL (LADO DIREITO DO HERO)
   -------------------------------------------------------------------------- */
.hero-visual-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.radar-disc-container {
  position: relative;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 187, 195, 0.08) 0%, rgba(5, 26, 45, 0.4) 65%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(16, 187, 195, 0.15);
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(16, 187, 195, 0.25);
  pointer-events: none;
}
.ring-outer {
  width: 96%;
  height: 96%;
  border-style: solid;
  border-color: rgba(16, 187, 195, 0.35);
  box-shadow: 0 0 20px rgba(16, 187, 195, 0.1);
}
.ring-mid {
  width: 70%;
  height: 70%;
  border-color: rgba(16, 187, 195, 0.25);
}
.ring-inner {
  width: 44%;
  height: 44%;
  border-color: rgba(16, 187, 195, 0.2);
}

.radar-crosshair-h,
.radar-crosshair-v {
  position: absolute;
  background: rgba(16, 187, 195, 0.12);
  pointer-events: none;
}
.radar-crosshair-h {
  width: 100%;
  height: 1px;
}
.radar-crosshair-v {
  height: 100%;
  width: 1px;
}

.radar-rotating-beam {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 72%, rgba(16, 187, 195, 0.22) 100%);
  animation: radarBeamRotate 5s linear infinite;
  pointer-events: none;
}

/* Pontos de Calor Térmico (Hotspots) */
.thermal-hotspot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FF3B30;
  box-shadow: 0 0 15px #FF3B30;
  animation: pulseBeacon 1.8s infinite;
  z-index: 4;
}
.spot-1 { top: 32%; right: 28%; }
.spot-2 { top: 48%; right: 35%; background: var(--color-orange); box-shadow: 0 0 15px var(--color-orange); animation-delay: 0.6s; }
.spot-3 { top: 62%; left: 36%; background: var(--color-cyan); box-shadow: 0 0 15px var(--color-cyan); animation-delay: 1.1s; }

/* Emblema do Caranguejo */
.radar-crab-badge {
  position: relative;
  z-index: 5;
  width: 290px;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-crab-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(16, 187, 195, 0.35));
  animation: crabFloat 5s ease-in-out infinite;
  transition: transform var(--transition-normal);
}

.radar-crab-illustration:hover {
  transform: scale(1.06) translateY(-6px);
  filter: drop-shadow(0 20px 40px rgba(16, 187, 195, 0.5));
}

/* Flutuantes de Dados em Tempo Real */
.floating-telemetry-badge {
  position: absolute;
  z-index: 6;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-active);
  padding: 10px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  font-size: 0.8rem;
  animation: floatBadge 4s ease-in-out infinite alternate;
}
.f-top-right {
  top: 15px;
  right: -10px;
}
.f-bottom-left {
  bottom: 25px;
  left: -20px;
  animation-delay: -2s;
}

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

.badge-info {
  display: flex;
  flex-direction: column;
}
.badge-info strong {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
}
.badge-info span {
  color: var(--color-cyan);
  font-size: 0.72rem;
}

/* ==========================================================================
   Seletor Interativo de Bairros Piloto no Badge Flutuante (Hero)
   ========================================================================== */
.interactive-neighborhood-badge {
  position: absolute;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.interactive-neighborhood-badge.dropdown-active {
  animation-play-state: paused;
  z-index: 50;
  border-color: var(--color-cyan);
  box-shadow: 0 0 25px rgba(16, 187, 195, 0.35);
}

.bairro-dropdown-trigger {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  transition: color 0.2s ease;
}

.bairro-dropdown-trigger:hover,
.bairro-dropdown-trigger:focus-visible {
  color: var(--color-cyan);
  outline: none;
}

.bairro-current-name {
  pointer-events: none;
}

.bairro-chevron-icon {
  color: var(--color-cyan);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}

.interactive-neighborhood-badge.dropdown-active .bairro-chevron-icon {
  transform: rotate(180deg);
}

.badge-peak-label {
  color: var(--color-cyan);
  font-size: 0.72rem;
  display: block;
}

.badge-peak-label strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Dropdown Menu Glassmorphism de Bairros */
.bairros-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  background: rgba(10, 25, 47, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 187, 195, 0.35);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 187, 195, 0.2);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  z-index: 60;
}

[data-theme="light"] .bairros-dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(6, 129, 135, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 0 25px rgba(6, 129, 135, 0.12);
}

.interactive-neighborhood-badge.dropdown-active .bairros-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px 8px 6px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 6px;
}

.dropdown-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-cyan);
}

.dropdown-tag {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(16, 187, 195, 0.14);
  color: var(--color-cyan);
  font-weight: 600;
}

.bairros-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 2px;
}

.bairros-list::-webkit-scrollbar {
  width: 4px;
}
.bairros-list::-webkit-scrollbar-thumb {
  background: rgba(16, 187, 195, 0.3);
  border-radius: 4px;
}

.bairro-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.bairro-dropdown-item:hover,
.bairro-dropdown-item:focus-visible {
  background: rgba(16, 187, 195, 0.12);
  border-color: rgba(16, 187, 195, 0.28);
  transform: translateX(2px);
  outline: none;
}

.bairro-dropdown-item.active {
  background: rgba(16, 187, 195, 0.18);
  border-color: var(--color-cyan);
}

.bairro-item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bairro-item-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bairro-item-zone {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.bairro-item-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bairro-item-temp {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-cyan);
}

.bairro-item-check {
  width: 13px;
  height: 13px;
  color: var(--color-cyan);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.18s ease;
}

.bairro-dropdown-item.active .bairro-item-check {
  opacity: 1;
  transform: scale(1);
}

/* Efeito de flash suave na atualização dos KPIs */
@keyframes telemetryFlashGlow {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.4) drop-shadow(0 0 12px rgba(16, 187, 195, 0.8)); }
  100% { transform: scale(1); filter: brightness(1); }
}

.flash-update {
  animation: telemetryFlashGlow 0.45s ease-out;
}

/* Divisor Tecnológico Curvo (Transição fluida) */
.tech-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  color: var(--bg-secondary);
}
.tech-wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* --------------------------------------------------------------------------
   06. SEÇÃO 2: CONTEXTO (PROBLEMA & SOLUÇÃO)
   -------------------------------------------------------------------------- */
.section-contexto {
  background: var(--bg-secondary);
  padding: 100px 0;
  position: relative;
}

.problem-container {
  max-width: 960px;
  margin: 0 auto 100px auto;
  text-align: center;
}

.problem-card-glow {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 45px 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.problem-card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-warm);
}

.problem-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 35px;
  text-align: left;
}

.highlight-text {
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(166, 14, 53, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.problem-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.problem-mini-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 20px;
  transition: transform var(--transition-fast);
}

.problem-mini-box:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
}

.mini-box-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.mini-box-content h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.mini-box-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Solução: Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
  margin-bottom: 60px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 38px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-subtle);
}

.card-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}
.feature-card:hover .card-glow-bg {
  opacity: 1;
}

.feature-card.card-cyan:hover { border-color: var(--color-cyan); box-shadow: var(--shadow-glow-cyan); }
.feature-card.card-orange:hover { border-color: var(--color-orange); box-shadow: var(--shadow-glow-orange); }
.feature-card.card-teal:hover { border-color: var(--color-teal); box-shadow: 0 0 35px rgba(6, 129, 135, 0.3); }
.feature-card.card-red:hover { border-color: var(--color-red); box-shadow: 0 0 35px rgba(166, 14, 53, 0.3); }

.icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform var(--transition-bounce);
}
.feature-card:hover .icon-wrapper {
  transform: scale(1.15);
}
.icon-wrapper svg {
  width: 44px;
  height: 44px;
}
.card-cyan .icon-wrapper svg { color: var(--color-cyan); }
.card-orange .icon-wrapper svg { color: var(--color-orange); }
.card-teal .icon-wrapper svg { color: var(--color-cyan); }
.card-red .icon-wrapper svg { color: var(--color-red); }

.card-line {
  width: 30px;
  height: 3px;
  margin: 0 auto 18px auto;
  border-radius: 2px;
  transition: width var(--transition-normal);
}
.line-cyan { background: var(--color-cyan); }
.line-orange { background: var(--color-orange); }
.line-teal { background: var(--color-teal); }
.line-red { background: var(--color-red); }

.feature-card:hover .card-line {
  width: 60px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Ribbon de Métricas (Gradient Border Bar) */
.stats-gradient-ribbon {
  background: var(--grad-full);
  padding: 2px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
}

.stats-inner-container {
  background: var(--bg-main);
  border-radius: calc(var(--border-radius-lg) - 2px);
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 25px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
}
.stat-icon-wrapper.cyan { color: var(--color-cyan); }
.stat-icon-wrapper.teal { color: var(--color-teal); }
.stat-icon-wrapper.orange { color: var(--color-orange); }
.stat-icon-wrapper.red { color: var(--color-red); }

.stat-text-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}
.val-red { color: var(--color-red); }
.val-orange { color: var(--color-orange); }

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   07. SEÇÃO 3: ESTRATÉGIA GEOGRÁFICA (BAIRROS & MAPA)
   -------------------------------------------------------------------------- */
.section-estrategia {
  padding: 100px 0;
  background: var(--bg-main);
}

.scope-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.map-large-showcase {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-glass);
  margin-bottom: 60px;
  cursor: pointer;
}

.map-large-showcase img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.map-large-showcase:hover img {
  transform: scale(1.02);
}

.map-overlay-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-active);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.beacon-mini {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
}

.map-zoom-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Action Board com os 6 Post-its */
.action-board {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-xl);
  padding: 50px 35px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.action-board-title {
  text-align: center;
  margin-bottom: 45px;
}
.action-board-title h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.action-board-title span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
}

.post-it-card {
  background: var(--postit-bg);
  border-radius: 6px;
  border-bottom-right-radius: 30px;
  padding: 35px 24px 24px 24px;
  position: relative;
  box-shadow: 6px 16px 28px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-normal);
}

.post-it-card.c1 { border-top: 3px solid #FF3B30; border-left: 1px solid rgba(255, 59, 48, 0.3); }
.post-it-card.c2 { border-top: 3px solid #FF9500; border-left: 1px solid rgba(255, 149, 0, 0.3); }
.post-it-card.c3 { border-top: 3px solid #FFCC00; border-left: 1px solid rgba(255, 204, 0, 0.3); }
.post-it-card.c4 { border-top: 3px solid #32ADE6; border-left: 1px solid rgba(50, 173, 230, 0.3); }
.post-it-card.c5 { border-top: 3px solid #34C759; border-left: 1px solid rgba(52, 199, 89, 0.3); }
.post-it-card.c6 { border-top: 3px solid #AF52DE; border-left: 1px solid rgba(175, 82, 222, 0.3); }

.post-it-card:nth-child(odd) { transform: rotate(-1.2deg); }
.post-it-card:nth-child(even) { transform: rotate(1.2deg); }

.post-it-card:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 10px 24px 38px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.pin {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background-image: url('https://png.pngtree.com/png-vector/20241204/ourmid/pngtree-shiny-purple-pin-for-office-use-png-image_14539431.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

.n-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.n-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
}
.c1 .n-number { color: #FF3B30; }
.c2 .n-number { color: #FF9500; }
.c3 .n-number { color: #FFCC00; }
.c4 .n-number { color: #32ADE6; }
.c5 .n-number { color: #34C759; }
.c6 .n-number { color: #AF52DE; }

.n-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.n-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.n-badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   08. SEÇÃO 4: PERSONA (QUEM ESTAMOS AJUDANDO)
   -------------------------------------------------------------------------- */
.section-persona {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.persona-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-xl);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.profile-col {
  flex: 1;
  min-width: 290px;
  padding: 45px 35px;
  background: linear-gradient(180deg, rgba(16, 187, 195, 0.05) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--border-glass);
}

.profile-avatar-wrapper {
  position: relative;
  margin-bottom: 22px;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 4px solid var(--color-cyan);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.avatar-badge-icon {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: var(--bg-main);
  border: 1px solid var(--color-cyan);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.profile-role {
  color: var(--color-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.profile-bio {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.skills-container {
  width: 100%;
  margin-top: auto;
}

.skills-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.tech-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.tag {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.tag.tag-cyan {
  background: rgba(16, 187, 195, 0.12);
  color: var(--color-cyan);
  border: 1px solid rgba(16, 187, 195, 0.25);
}
.tag.tag-orange {
  background: rgba(254, 162, 79, 0.12);
  color: var(--color-orange);
  border: 1px solid rgba(254, 162, 79, 0.25);
}

.data-col {
  flex: 2;
  min-width: 330px;
  padding: 45px 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.info-group {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 26px;
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-fast);
}

.info-group:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.info-group.full-width {
  grid-column: 1 / -1;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.group-title h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.icon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.custom-list {
  list-style: none;
}
.custom-list li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}
.custom-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-cyan);
  font-weight: bold;
}
.custom-list .highlight {
  color: var(--text-primary);
  font-weight: 600;
}

.goals-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.goal-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goal-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
}
.goal-tag.tag-cyan { background: rgba(16, 187, 195, 0.15); color: var(--color-cyan); }
.goal-tag.tag-orange { background: rgba(254, 162, 79, 0.15); color: var(--color-orange); }

.goal-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   09. SEÇÃO 5: TECNOLOGIA & HARDWARE IOT
   -------------------------------------------------------------------------- */
.section-hardware {
  padding: 100px 0;
  background: var(--bg-main);
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 32px;
}

.hw-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.hw-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.hw-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hw-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-mobile {
  background: rgba(16, 187, 195, 0.12);
  color: var(--color-cyan);
  border: 1px solid rgba(16, 187, 195, 0.3);
}
.badge-fixed {
  background: rgba(254, 162, 79, 0.12);
  color: var(--color-orange);
  border: 1px solid rgba(254, 162, 79, 0.3);
}

.hw-spec-chip {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hw-images-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.hw-img-box {
  flex: 1;
  height: 180px;
  background: var(--bg-surface);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  position: relative;
  padding: 10px;
}

.hw-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.hw-img-box:hover img {
  transform: scale(1.08);
}

.img-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-cyan);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.img-label.label-orange {
  color: var(--color-orange);
}

.hw-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.hw-model {
  font-family: var(--font-mono);
  color: var(--color-cyan);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 12px;
}

.hw-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.hw-features-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-glass);
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   10. SEÇÃO 6: MVP & DASHBOARD INTERATIVO
   -------------------------------------------------------------------------- */
.section-mvp {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.mvp-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--border-radius-xl);
  padding: 60px 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 980px;
  margin: 0 auto;
}

.mvp-bg-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 187, 195, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.dashboard-preview-container {
  position: relative;
  margin: 35px 0 30px 0;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-active);
}

.dashboard-preview-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-normal);
}

.dashboard-preview-container:hover .dashboard-preview-img {
  transform: scale(1.02);
}

.dash-floating-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-tag-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 6px #34C759;
}

/* .telemetry-sub unificado acima com suporte a quebra responsiva */

.badge-live-hint {
  display: block;
  font-size: 0.64rem;
  color: #34C759;
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.2px;
}

.mvp-cta-card {
  max-width: 1140px;
}

.dashboard-live-embed-container {
  background: #07101d;
  border: 1px solid rgba(16, 187, 195, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(16, 187, 195, 0.14);
}

.mvp-browser-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(5, 11, 20, 0.95);
  border-bottom: 1px solid rgba(16, 187, 195, 0.22);
  flex-wrap: wrap;
}

.mvp-browser-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mvp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mvp-dot.dot-r { background: #FF5F56; }
.mvp-dot.dot-y { background: #FFBD2E; }
.mvp-dot.dot-g { background: #27C93F; }

.mvp-browser-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.mvp-browser-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mvp-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mvp-bar-btn:hover {
  background: rgba(16, 187, 195, 0.18);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.mvp-bar-btn-primary {
  background: rgba(16, 187, 195, 0.16);
  border-color: rgba(16, 187, 195, 0.45);
  color: var(--color-cyan);
}

.mvp-iframe-viewport {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #0b1320;
}

.mvp-live-iframe {
  width: 1440px;
  height: 860px;
  border: 0;
  transform-origin: 0 0;
  display: block;
}

.mvp-desc {
  max-width: 780px;
  margin: 0 auto 35px auto;
}

.mvp-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-mvp-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 34px;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(16, 187, 195, 0.4);
  transition: all var(--transition-fast);
}

.btn-mvp-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(16, 187, 195, 0.6);
  filter: brightness(1.1);
}

.btn-mvp-secondary {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  border-radius: 30px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-mvp-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   11. SEÇÃO 7: COMUNIDADE & FÓRUM DE SUGESTÕES (FIDER)
   -------------------------------------------------------------------------- */
.section-community {
  padding: 100px 0;
  background: var(--bg-main);
  position: relative;
}

.anchor-compat {
  position: absolute;
  top: -90px;
  left: 0;
  visibility: hidden;
  pointer-events: none;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-bottom: 40px;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition-bounce);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.community-card:hover {
  transform: translateY(-8px);
}

.community-card.card-ideias:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 14px 35px rgba(16, 187, 195, 0.22);
}

.community-card.card-bugs:hover {
  border-color: var(--color-orange);
  box-shadow: 0 14px 35px rgba(254, 162, 79, 0.22);
}

.community-card.card-votos:hover {
  border-color: #26c6da;
  box-shadow: 0 14px 35px rgba(38, 198, 218, 0.22);
}

.community-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--border-glass);
  transition: transform var(--transition-fast);
}

.community-card:hover .community-icon-box {
  transform: scale(1.1);
}

.card-ideias .community-icon-box {
  background: rgba(16, 187, 195, 0.12);
  color: var(--color-cyan);
  border-color: rgba(16, 187, 195, 0.25);
}

.card-bugs .community-icon-box {
  background: rgba(254, 162, 79, 0.12);
  color: var(--color-orange);
  border-color: rgba(254, 162, 79, 0.25);
}

.card-votos .community-icon-box {
  background: rgba(6, 129, 135, 0.16);
  color: #1fd6de;
  border-color: rgba(6, 129, 135, 0.35);
}

.community-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.community-card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.community-card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
}

/* Hero Banner Central da Comunidade */
.community-hero-banner {
  background: linear-gradient(135deg, rgba(16, 187, 195, 0.08) 0%, rgba(6, 129, 135, 0.04) 50%, rgba(5, 26, 45, 0.75) 100%);
  border: 1px solid rgba(16, 187, 195, 0.28);
  border-radius: var(--border-radius-xl);
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .community-hero-banner {
  background: linear-gradient(135deg, rgba(16, 187, 195, 0.12) 0%, rgba(6, 129, 135, 0.06) 50%, rgba(240, 246, 252, 0.95) 100%);
  border-color: rgba(6, 129, 135, 0.25);
  box-shadow: 0 16px 40px rgba(5, 26, 45, 0.08);
}

.community-banner-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

/* Badge sutil do Fider (menos expressivo, discreto e elegante) */
.community-fider-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  margin-bottom: 22px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

[data-theme="light"] .community-fider-pill {
  background: rgba(5, 26, 45, 0.05);
  border-color: rgba(5, 26, 45, 0.1);
  color: var(--text-secondary);
}

.fider-mini-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
}

.community-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.community-banner-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 30px;
}

.community-banner-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.btn-community-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 34px;
  box-shadow: 0 8px 25px rgba(16, 187, 195, 0.4);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-community-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(16, 187, 195, 0.6);
  filter: brightness(1.1);
}

.community-banner-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.banner-perk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.banner-perk svg {
  color: var(--color-cyan);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .community-hero-banner {
    padding: 34px 20px;
  }

  .community-banner-title {
    white-space: normal;
    font-size: 1.35rem;
  }

  .btn-community-primary {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 0.88rem;
  }

  .community-banner-perks {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-top: 20px;
  }
}

/* --------------------------------------------------------------------------
   12. SEÇÃO 8: EQUIPE ARBORIS
   -------------------------------------------------------------------------- */
.section-team {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.team-member-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-xl);
  padding: 35px 20px;
  text-align: center;
  position: relative;
  transition: all var(--transition-bounce);
  box-shadow: var(--shadow-subtle);
}

.team-member-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-card);
}

.shape-bg {
  width: 170px;
  height: 190px;
  margin: 0 auto 20px auto;
  border-radius: 100px 100px 24px 24px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.team-member-card:hover .shape-bg {
  transform: scale(1.04);
}

.color-1 { background: #64748B; } /* Cinza moderno e visível no escuro (Odir) */
.color-2 { background: #06B6D4; } /* Ciano vibrante (Leonardo) */
.color-3 { background: #8B5CF6; } /* Roxo elétrico (Patrick) */
.color-4 { background: #F97316; } /* Laranja radiante (Leônidas) */
.color-5 { background: #EC4899; } /* Magenta vibrante (Ariely) */
.color-6 { background: #10B981; } /* Verde esmeralda fresco (Thaís) */

.photo-container {
  width: 148px;
  height: 170px;
  border-radius: 90px 90px 18px 18px;
  overflow: hidden;
  margin-bottom: 8px;
  border: 3px solid var(--bg-main);
  background: var(--bg-surface);
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--transition-fast);
}

.doodle {
  position: absolute;
  font-weight: bold;
  font-family: var(--font-mono);
  opacity: 0.4;
  transition: all var(--transition-fast);
}

.team-member-card:hover .doodle {
  opacity: 1;
  transform: scale(1.25) rotate(10deg);
}

.doodle-1 { top: 20px; left: 24px; color: var(--color-cyan); font-size: 1.6rem; }
.doodle-2 { bottom: 80px; right: 24px; color: var(--color-orange); font-size: 1.3rem; }

.member-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.member-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   13. SEÇÃO 9: NOTÍCIAS & NEWSLETTER (LAYOUT projeto_site.png)
   -------------------------------------------------------------------------- */
.section-news {
  padding: 100px 0;
  background: var(--bg-main);
}

.news-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 45px;
  flex-wrap: wrap;
  gap: 20px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-cyan);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: gap var(--transition-fast);
}

.view-all-link:hover {
  gap: 12px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-bottom: 60px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-card);
}

.news-img-box {
  position: relative;
  height: 175px;
  overflow: hidden;
}

.news-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img-box img {
  transform: scale(1.08);
}

.news-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-alerta { background: #FF3B30; color: #FFFFFF; }
.badge-dados { background: var(--color-cyan); color: #051A2D; }
.badge-acoes { background: var(--color-orange); color: #051A2D; }
.badge-previsao { background: var(--color-teal); color: #FFFFFF; }

.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.news-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.news-read-more {
  color: var(--color-cyan);
  font-weight: 600;
}

/* Banner de Alertas e Recomendações (Newsletter) */
.newsletter-gradient-card {
  background: var(--bg-card);
  border: 1px solid rgba(254, 162, 79, 0.4);
  border-radius: var(--border-radius-xl);
  padding: 36px 38px;
  display: grid;
  grid-template-columns: auto 1.4fr 1.6fr;
  align-items: center;
  gap: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.newsletter-gradient-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(16, 187, 195, 0.08) 0%, rgba(254, 162, 79, 0.12) 60%, rgba(166, 14, 53, 0.15) 100%);
  pointer-events: none;
}

.newsletter-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 187, 195, 0.15);
  border: 1px solid var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.newsletter-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: 30px;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--color-orange);
}

.newsletter-submit-btn {
  background: var(--grad-warm);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 30px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.newsletter-submit-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(166, 14, 53, 0.4);
}

/* --------------------------------------------------------------------------
   14. BOTÃO FLUTUANTE DE WHATSAPP (ACOMPANHA TODAS AS SEÇÕES)
   -------------------------------------------------------------------------- */
.whatsapp-floating-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.floating-tooltip {
  position: absolute;
  right: 75px;
  background: rgba(5, 11, 20, 0.9);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-floating-container:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.whatsapp-floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.floating-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseBeacon 2s infinite;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   15. MODAIS (ALERTAS E MAPA ZOOM)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--border-radius-xl);
  width: 100%;
  max-width: 620px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: scale(0.92);
  transition: transform var(--transition-bounce);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1);
}

.modal-dialog-lg {
  max-width: 900px;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-title-box h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  font-size: 1.8rem;
  color: var(--text-muted);
  line-height: 1;
  transition: color var(--transition-fast);
}
.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-alert-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.modal-alert-item {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 16px;
  border-left: 4px solid var(--color-cyan);
}
.modal-alert-item.alert-high { border-left-color: #FF3B30; }
.modal-alert-item.alert-medium { border-left-color: var(--color-orange); }

.alert-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.alert-zone {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.alert-status {
  font-size: 0.72rem;
  font-weight: 800;
  color: #FF3B30;
}

.alert-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.alert-actions-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.alert-actions-chips span {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 12px;
  color: var(--text-muted);
}

.modal-body-scrollable {
  max-height: 75vh;
  overflow-y: auto;
  padding: 10px;
}

.map-zoomed-view {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
}

/* --------------------------------------------------------------------------
   16. RODAPÉ (FOOTER) REFINADO
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px 0;
}

.footer-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-logo {
  margin-bottom: 18px;
}

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

.footer-mission-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-social-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.footer-subheading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-footer-btn svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.social-footer-btn:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}

.social-footer-btn:hover svg {
  transform: scale(1.1);
}

.social-footer-btn.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.social-footer-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.4);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-nav-list,
.footer-contact-list {
  list-style: none;
}

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--color-cyan);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-contact-list svg {
  color: var(--color-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.partners-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  transition: all var(--transition-fast);
}

.partner-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-2px);
}

.partner-card img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.partner-circle {
  border-radius: 50%;
  width: 52px;
  padding: 6px;
}
.partner-circle img {
  border-radius: 50%;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-glass);
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-copy-text {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 187, 195, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--color-cyan);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   17. ANIMAÇÕES DE SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVIDADE (MOBILE & TABLET)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .weather-telemetry-row {
    justify-content: center;
  }
  .status-bar {
    justify-content: center;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .newsletter-gradient-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .newsletter-icon-circle {
    margin: 0 auto;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-glass);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-links {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .hamburger-btn {
    display: flex;
  }
  .problem-highlights-grid {
    grid-template-columns: 1fr;
  }
  .data-col {
    grid-template-columns: 1fr;
  }
  .hardware-grid {
    grid-template-columns: 1fr;
  }
  .goals-split {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .weather-telemetry-row {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
    margin-bottom: 20px;
  }
  .weather-telemetry-card {
    width: 100%;
    padding: 12px 14px;
    gap: 12px;
  }
  .weather-icon-box {
    width: 38px;
    height: 38px;
  }
  .weather-icon-box svg {
    width: 20px;
    height: 20px;
  }
  #liveRiskValue {
    font-size: 1rem;
  }
  .status-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .status-item {
    justify-content: flex-start;
    padding: 8px 12px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .radar-disc-container {
    width: 320px;
    height: 320px;
  }
  .radar-crab-badge {
    width: 220px;
    height: 220px;
  }
  .floating-telemetry-badge.f-bottom-left {
    display: none;
  }
  .floating-telemetry-badge.f-top-right {
    display: flex;
    top: -12px;
    right: 0px;
    padding: 7px 12px;
    font-size: 0.75rem;
  }
  .bairros-dropdown-menu {
    width: 260px;
    right: -10px;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .button-group {
    flex-direction: column;
    width: 100%;
  }
  .button-group a, .button-group button {
    width: 100%;
    justify-content: center;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-floating-btn {
    width: 52px;
    height: 52px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }
}

@media (max-width: 400px) {
  .status-bar {
    grid-template-columns: 1fr;
  }
  .telemetry-value {
    font-size: 1.05rem;
  }
  #liveRiskValue {
    font-size: 0.92rem;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-title .nowrap {
    white-space: normal;
  }
}
