/* ==========================================================================
   360APP // PRADUS SYSTEM 2026 · ENOQUE ENGINE STYLING
   ========================================================================== */

:root {
  --bg-color: #000103;
  --text-main: #e6f1ff;
  --text-dim: #627794;
  --cyber-primary: #00ffcc;
  --cyber-secondary: #0055ff;
  --cyber-magenta: #b829ff;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hud-border: rgba(0, 255, 204, 0.22);
  --hud-glow: 0 0 24px rgba(0, 255, 204, 0.45);
  --panel-bg: rgba(3, 8, 16, 0.92);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Canvas WebGL 3D interativo */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  outline: none;
  pointer-events: auto;
  cursor: crosshair;
}

/* Filtro de Vinheta e Scanlines Ultra-Escuras */
.vignette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 1, 3, 0.96) 100%),
              linear-gradient(rgba(10, 8, 8, 0) 50%, rgba(0, 0, 0, 0.4) 50%);
  background-size: 100% 100%, 100% 4px;
}

/* Camada da Interface de Usuário (HUD) */
.hud-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 36px;
}

/* HEADER DO HUD */
.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-badge .logo-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--cyber-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hud-glow);
  color: var(--cyber-primary);
  font-weight: 900;
  font-size: 16px;
  animation: pulse-border 3s infinite alternate ease-in-out;
  background: rgba(0, 255, 204, 0.06);
}

.brand-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 255, 204, 0.35);
}

.brand-sub {
  font-size: 10px;
  color: var(--text-dim);
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-hud {
  background: rgba(0, 255, 204, 0.05);
  border: 1px solid var(--hud-border);
  color: var(--text-main);
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.btn-hud:hover, .btn-hud.active {
  background: var(--cyber-primary);
  color: #000;
  box-shadow: var(--hud-glow);
  border-color: var(--cyber-primary);
}

.btn-cta {
  background: linear-gradient(135deg, rgba(0, 255, 204, 0.22), rgba(0, 85, 255, 0.28));
  border-color: var(--cyber-primary);
  color: var(--cyber-primary);
  font-weight: 800;
}

/* TELEMETRIA LATERAL */
.telemetry-left {
  position: absolute;
  top: 50%;
  left: 36px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 360px;
  pointer-events: none;
}

.sector-tag {
  color: var(--cyber-primary);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sector-tag::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--cyber-primary);
  box-shadow: var(--hud-glow);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}

.sector-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 28px rgba(0, 255, 204, 0.45);
}

.sector-desc {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: none;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.stat-item {
  border-left: 2px solid var(--cyber-primary);
  padding-left: 10px;
}

.stat-val {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.stat-lbl {
  font-size: 9px;
  color: var(--text-dim);
}

/* NAVEGAÇÃO DE SETORES (LATERAL DIREITA) */
.sector-nav {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
}

.sector-tab {
  background: var(--panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(14px);
  text-align: left;
}

.sector-tab:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.sector-tab.active {
  border-color: var(--cyber-primary);
  color: #fff;
  background: rgba(0, 255, 204, 0.12);
  box-shadow: -4px 0 0 var(--cyber-primary), var(--hud-glow);
}

.sector-tab.sector-tab-tours:hover, .sector-tab.sector-tab-tours.active {
  border-color: #b829ff;
  color: #fff;
  background: rgba(184, 41, 255, 0.18);
  box-shadow: -4px 0 0 #b829ff, 0 0 20px rgba(184, 41, 255, 0.45);
}

.sector-tab .tab-idx {
  font-size: 10px;
  opacity: 0.6;
}

.sector-tab .tab-name {
  font-size: 11px;
  font-weight: 800;
}

/* FOOTER DO HUD */
.hud-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
}

.telemetry-dot {
  color: var(--cyber-primary);
  animation: blink 1.2s infinite;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyber-primary);
  font-size: 11px;
  animation: float 2s infinite ease-in-out;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--text-dim);
}

.spatial-8d-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--cyber-primary);
  background: rgba(0, 255, 204, 0.06);
  border: 1px solid rgba(0, 255, 204, 0.3);
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.15);
  transition: all 0.25s ease;
}

.spatial-8d-badge .spatial-icon {
  font-weight: 800;
  color: #fff;
}

.spatial-8d-badge #hud-8d-track {
  color: var(--cyber-primary);
  font-weight: 700;
}

.spatial-8d-badge #hud-8d-pos {
  color: #00e1ff;
  font-family: var(--font-mono);
}

/* ==========================================================================
   EXPERIÊNCIA PRINCIPAL DA NAVE (HOME 3D COM COLAPSO E RETORNO SUAVE)
   ========================================================================== */
.home-experience {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  transform-origin: center center;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease, filter 0.75s ease;
  will-change: transform, opacity, filter;
}

/* REQUISITO: Fechando ao centro e esmaecendo até preto e sumir */
body.vr-portal-active .home-experience {
  transform: scale(0.60);
  opacity: 0;
  filter: blur(14px) brightness(0.08);
  pointer-events: none;
}

/* ==========================================================================
   OVERLAY DE TRANSIÇÃO CINEMÁTICA: ÓCULOS VR LIMPO (SEM MOLDURA / SEM BORDA)
   ========================================================================== */
.vr-portal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 2, 5, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
  overflow: hidden;
}

.vr-portal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Wrapper limpo sem bordas ou molduras */
.vr-headset-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  will-change: transform, opacity;
}

.vr-headset-wrapper video {
  display: none;
  width: 82vw;
  max-width: 1150px;
  height: 78vh;
  max-height: 750px;
  object-fit: contain;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  background: transparent !important;
}

.vr-headset-wrapper canvas {
  width: 85vw;
  max-width: 1280px;
  height: 80vh;
  max-height: 800px;
  object-fit: contain;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  pointer-events: none;
}

/* CORTINA PRETA PARA TRANSIÇÃO FADE-OUT / FADE-IN */
.vr-black-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 550;
  background: #000000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.42s;
}

.vr-black-curtain.fade-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   JANELA DE TOURS VIRTUAIS 75% (IMERSÃO 360APP XR COM FUNDO TRANSLÚCIDO)
   ========================================================================== */
.tour-hub-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.tour-hub-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Backdrop clicável para fechar ao clicar fora */
.tour-hub-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 1, 3, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

/* Experiência Full-Page de Tours Virtuais XR (Tela Inteira, Clean & Sofisticado) */
.tour-hub-frame {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: #06080d;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: none !important;
  overflow: hidden;
}

.tour-hub-modal.open .tour-hub-frame {
  transform: none !important;
  width: 100vw !important;
  height: 100vh !important;
}

/* Cantoneiras Holográficas (HUD Brackets) */
.holo-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #00ffcc;
  pointer-events: none;
}
.holo-corner.top-l { top: -1px; left: -1px; border-top: 3px solid #00ffcc; border-left: 3px solid #00ffcc; }
.holo-corner.top-r { top: -1px; right: -1px; border-top: 3px solid #00ffcc; border-right: 3px solid #00ffcc; }
.holo-corner.bot-l { bottom: -1px; left: -1px; border-bottom: 3px solid #00ffcc; border-left: 3px solid #00ffcc; }
.holo-corner.bot-r { bottom: -1px; right: -1px; border-bottom: 3px solid #00ffcc; border-right: 3px solid #00ffcc; }

.tour-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 255, 204, 0.25);
  gap: 16px;
}

.tour-hub-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tour-hub-tag {
  font-size: 10px;
  color: #00ffcc;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tour-hub-title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  text-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}

.tour-hub-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tour-tabs-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tour-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-dim);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  pointer-events: auto;
}

.tour-tab-btn:hover {
  border-color: #00ffcc;
  color: #fff;
  background: rgba(0, 255, 204, 0.1);
}

.tour-tab-btn.active {
  border-color: #00ffcc;
  background: rgba(0, 255, 204, 0.22);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.45);
}

.btn-tour-fullscreen {
  border-color: rgba(255, 255, 255, 0.3) !important;
  font-size: 11px !important;
  padding: 8px 14px !important;
}

.btn-close-tour {
  background: rgba(255, 0, 85, 0.18) !important;
  border: 1px solid #ff0055 !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  padding: 8px 18px !important;
  letter-spacing: 0.14em !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 0 12px rgba(255, 0, 85, 0.4) !important;
  pointer-events: auto !important;
}

.btn-close-tour:hover {
  background: #ff0055 !important;
  color: #fff !important;
  box-shadow: 0 0 25px rgba(255, 0, 85, 0.9) !important;
  border-color: #ff0055 !important;
}

/* Corpo do Tour: Iframe interativo */
.tour-hub-body {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border: 1px solid rgba(0, 255, 204, 0.2);
  overflow: hidden;
}

.tour-hub-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.tour-scanlines-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 255, 204, 0.03) 50%);
  background-size: 100% 4px;
}

.tour-hub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.tour-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00ffcc;
}

.holo-main-cta:hover {
  background: #00ffcc;
  color: #000;
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.8);
}

/* MODAL DE ESTUDO DE CASO */
.case-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 1, 3, 0.88);
  backdrop-filter: blur(18px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.case-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.case-modal-content {
  width: 700px;
  max-width: 90vw;
  background: rgba(3, 8, 16, 0.96);
  border: 1px solid var(--cyber-primary);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95), var(--hud-glow);
  padding: 42px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.case-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hud-border);
  padding-bottom: 16px;
}

.case-modal-category {
  font-size: 11px;
  color: var(--cyber-primary);
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}

.case-modal-title {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
}

.case-modal-desc {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: none;
  line-height: 1.7;
  margin-bottom: 24px;
}

.case-section-title {
  font-size: 11px;
  color: var(--cyber-primary);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.12em;
}

.case-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.case-metric-box {
  background: rgba(0, 255, 204, 0.04);
  border: 1px solid var(--hud-border);
  padding: 14px;
  text-align: center;
}

.metric-val {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.metric-lbl {
  font-size: 9px;
  color: var(--text-dim);
  margin-top: 4px;
}

.case-tech-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  font-size: 10px;
  color: #fff;
}

/* GAVETA DE BRIEFING (CHAT IA & BI) */
.briefing-drawer {
  position: fixed;
  top: 0;
  right: -560px;
  width: 540px;
  max-width: 95vw;
  height: 100vh;
  background: rgba(2, 6, 12, 0.97);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--cyber-primary);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.95);
  z-index: 250;
  transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  display: flex;
  flex-direction: column;
  padding: 32px;
  visibility: hidden;
  pointer-events: none;
}

.briefing-drawer.open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hud-border);
}

.drawer-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--cyber-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close:hover {
  border-color: #ff0055;
  color: #ff0055;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-chat-messages {
  flex: 1;
  min-height: 220px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 6px;
}

.ai-msg {
  padding: 12px 14px;
  border-radius: 2px;
  font-size: 12px;
  line-height: 1.5;
  text-transform: none;
}

.msg-sender {
  font-size: 9px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 0.1em;
}

.bot-msg {
  background: rgba(0, 255, 204, 0.08);
  border: 1px solid var(--hud-border);
  color: #e6f1ff;
}

.bot-msg .msg-sender {
  color: var(--cyber-primary);
}

.user-msg {
  background: rgba(0, 85, 255, 0.15);
  border: 1px solid rgba(0, 85, 255, 0.4);
  color: #fff;
  align-self: flex-end;
  text-align: right;
}

.user-msg .msg-sender {
  color: #70aaff;
}

.quick-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-reply-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.quick-reply-chip:hover {
  border-color: var(--cyber-primary);
  color: #fff;
  background: rgba(0, 255, 204, 0.1);
}

.chat-input-wrapper {
  display: flex;
}

.form-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--cyber-primary);
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.25);
}

/* WIDGET DE TELEMETRIA DE BI */
.bi-widget {
  background: rgba(3, 8, 16, 0.94);
  border: 1px solid var(--cyber-primary);
  padding: 18px;
  margin-top: 10px;
  box-shadow: var(--hud-glow);
}

.bi-header {
  font-size: 11px;
  font-weight: 900;
  color: var(--cyber-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bi-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.bi-stat {
  border-left: 2px solid var(--cyber-primary);
  padding-left: 8px;
}

.bi-val {
  font-size: 18px;
  font-weight: 900;
}

.bi-lbl {
  font-size: 8px;
  color: var(--text-dim);
  margin-top: 2px;
}

.text-green { color: #00ffaa; }
.text-cyan { color: #00e1ff; }
.text-purple { color: #cc66ff; }

.bi-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bi-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ffcc, #0055ff);
  box-shadow: 0 0 8px #00ffcc;
  transition: width 0.8s ease;
}

/* ANIMAÇÕES */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes pulse-border {
  0% { border-color: var(--cyber-primary); }
  100% { border-color: rgba(0, 255, 204, 0.3); }
}

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

/* RESPONSIVIDADE */
@media (max-width: 900px) {
  .hud-container {
    padding: 16px;
  }
  .telemetry-left {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    max-width: 100%;
    margin: 16px 0;
  }
  .sector-title {
    font-size: 24px;
  }
  .sector-nav {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
  }
  .sector-tab {
    padding: 6px 12px;
    font-size: 10px;
  }
  .holo-frame {
    width: 94vw;
    height: 72vh;
    padding: 16px;
  }
  .holo-header {
    flex-direction: column;
    gap: 10px;
  }
  .case-metrics-grid {
    grid-template-columns: 1fr;
  }
  .footer-right {
    display: none;
  }
}
