/* Reset e configurações gerais */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Header - Sofisticação com Toque Tecnológico */
header {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(0, 168, 255, 0.3);
  position: relative;
  z-index: 1000;
}

header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00a8ff, transparent);
  animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Efeito de partículas no header */
header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 168, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 157, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Botão WhatsApp Flutuante */
.btn-success {
  background: linear-gradient(45deg, #00ff9d, #00e676) !important;
  border: none !important;
  color: #0a0a0a !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3) !important;
}

.btn-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #00e676, #00ff9d);
  transition: left 0.5s;
  z-index: -1;
}

.btn-success:hover::before {
  left: 100%;
}

.btn-success:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4) !important;
}

.btn-success i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Barra de Navegação - Impacto Visual */
.navbar-dark {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%) !important;
  border-bottom: 1px solid rgba(0, 168, 255, 0.2);
  position: relative;
}

.navbar-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(0, 168, 255, 0.03) 2px,
      rgba(0, 168, 255, 0.03) 4px
    );
  pointer-events: none;
}

/* LED Ticker Profissional */
.led-ticker-container {
  background-color: #000;
  overflow: hidden;
  position: relative;
  min-width: 250px;
  max-width: 400px;
}

.led-ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.led-ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-block;
  position: relative;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  color: #00ff00 !important;
  text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
  margin-right: 30px;
  padding: 0 10px;
}

.ticker-item:after {
  content: "•";
  position: absolute;
  right: -5px;
  color: #00ff00;
  text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
  font-weight: bold;
}

.ticker-item:last-child:after {
  display: none;
}

/* Cores para diferentes tipos de palavras */
/* Removidas - agora tudo é verde */

@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .ticker-item {
    font-size: 0.9rem;
    padding: 0 15px;
  }
}

/* Menu Principal - Tipografia e Efeitos */
.navbar-nav .nav-link {
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 0.85rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
  width: 80%;
}

.navbar-nav .nav-link:hover {
  transform: translateY(-1px) !important;
}

/* Dropdown Menu - Sofisticação */
.dropdown-menu {
  border: 1px solid rgba(0, 168, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: dropdownFadeIn 0.3s ease-out;
  margin-top: 8px;
  min-width: 280px;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-header {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  letter-spacing: 1px !important;
  border-bottom: 1px solid rgba(0, 168, 255, 0.2) !important;
  margin-bottom: 4px !important;
}

.dropdown-item {
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  border-left: 3px solid transparent !important;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

.dropdown-item:hover {
  transform: translateX(4px) !important;
  padding-left: 20px !important;
}

.dropdown-divider {
  border-color: rgba(0, 168, 255, 0.2) !important;
  position: relative !important;
}

.dropdown-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 1px;
  transform: translate(-50%, -50%);
}

/* Botão Trabalhe Conosco */
.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
}

.btn-outline-light:hover {
  background-color: #00a8ff !important;
  border-color: #00a8ff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3) !important;
}

/* Botões primários */
.btn-primary {
  background: linear-gradient(45deg, #00a8ff, #0097e6) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3) !important;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0097e6, #00a8ff);
  transition: left 0.5s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 20px rgba(0, 168, 255, 0.4) !important;
}

/* Botões secundários */
.btn-secondary {
  background: linear-gradient(45deg, #6c757d, #5a6268) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3) !important;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #5a6268, #6c757d);
  transition: left 0.5s;
  z-index: -1;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4) !important;
}

/* Campo de busca */
.search-container {
  position: relative;
}

.search-container input {
  border: 1px solid rgba(0, 168, 255, 0.2) !important;
  padding-left: 35px !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s ease !important;
}

.search-container input::placeholder {
  /* Placeholder styles */
}

.search-container input:focus {
  border-color: #00a8ff !important;
  outline: none !important;
}

.search-container i {
  transition: color 0.3s ease !important;
}

.search-container input:focus + i {
  /* Focus styles */
}

/* Efeitos de loading para dropdowns */
.dropdown-menu.show {
  animation: dropdownSlideDown 0.3s ease-out;
}

@keyframes dropdownSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Correção para dropdown do condomínio */
#condominioDropdown + .dropdown-menu {
  right: 0 !important;
  left: auto !important;
}

/* Correção para dropdown de outros serviços */
#servicosDropdown + .dropdown-menu {
  right: 0 !important;
  left: auto !important;
}

/* Destaque Dinâmico no Título */
.text-highlight {
  animation: highlightPulse 2s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

@keyframes highlightPulse {
  0%, 100% { 
    color: #00a8ff; 
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
  }
  50% { 
    color: #ff5555; 
    text-shadow: 0 0 15px rgba(255, 85, 85, 0.7);
  }
}

/* Selos de Credibilidade */
.credibility-badges {
  border: 1px solid rgba(0, 168, 255, 0.1);
  margin-bottom: 20px;
}

.badge-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.badge-item:last-child {
  margin-bottom: 0;
}

.badge-item i {
  margin-right: 8px;
  font-size: 1rem;
}

.time-counter {
  font-weight: bold;
  animation: timeBlink 1s ease-in-out infinite;
}

@keyframes timeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* CTA Principal Melhorado */
.cta-primary {
  border: none !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  animation: ctaGlow 2s ease-in-out infinite !important;
  flex: 1 !important;
  font-size: 0.85rem !important;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s;
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:hover {
  transform: translateY(-2px) scale(1.03) !important;
}

/* CTA WhatsApp */
.cta-whatsapp {
  border: none !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  animation: whatsappGlow 2s ease-in-out infinite !important;
  flex: 1 !important;
  font-size: 0.85rem !important;
}

.cta-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s;
}

.cta-whatsapp:hover::before {
  left: 100%;
}

.cta-whatsapp:hover {
  transform: translateY(-2px) scale(1.03) !important;
}

@keyframes ctaGlow {
  0%, 100% { 
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.3) !important;
  }
  50% { 
    box-shadow: 0 4px 25px rgba(0, 168, 255, 0.5) !important;
  }
}

@keyframes whatsappGlow {
  0%, 100% { 
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3) !important;
  }
  50% { 
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5) !important;
  }
}

/* Carrossel com Overlay */
.carousel-overlay {
  position: relative;
  overflow: hidden;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.carousel-caption h4 {
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.carousel-caption p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* Efeito de transição do carrossel */
.carousel-item {
  transition: all 0.6s ease-in-out;
}

.carousel-item.active {
  transform: scale(1.02);
}

/* Lista de Serviços com Ícones */
.services-list {
  border: 1px solid rgba(0, 168, 255, 0.1);
  margin-bottom: 15px;
}

.service-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item:hover {
  transform: translateX(5px);
  padding-left: 10px;
}

.service-item i {
  margin-right: 10px;
  font-size: 1rem;
  width: 16px;
  text-shadow: 0 0 8px currentColor;
}

.service-item span {
  font-weight: 500;
  line-height: 1.3;
  font-size: 0.9rem;
}

/* Cores dos ícones seguindo a identidade */
.service-item .text-primary { color: #00a8ff !important; }
.service-item .text-warning { color: #ff9d00 !important; }
.service-item .text-info { color: #00a8ff !important; }
.service-item .text-danger { color: #ff5555 !important; }
.service-item .text-success { color: #00ff9d !important; }

/* Cards de Serviços com Navegação por Âncoras */
.service-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #00a8ff;
}

/* Efeito de destaque quando navega para âncora */
.service-card:target {
  animation: cardHighlight 1s ease-in-out;
  border-color: #00ff9d;
}

@keyframes cardHighlight {
  0% { 
    transform: scale(1);
    border-color: transparent;
  }
  50% { 
    transform: scale(1.02);
    border-color: #00ff9d;
  }
  100% { 
    transform: scale(1);
    border-color: #00ff9d;
  }
}

/* Scroll suave para âncoras */
html {
  scroll-behavior: smooth;
}

/* Ajuste de scroll para compensar header fixo */
section[id] {
  scroll-margin-top: 100px;
}

/* Indicador visual de seção ativa */
.service-card.active {
  border-color: #00a8ff;
}

/* Responsividade para cards */
@media (max-width: 768px) {
  .service-card:hover {
    transform: translateY(-3px);
  }
  
  .service-card:target {
    animation: cardHighlight 0.8s ease-in-out;
  }
}

/* Elementos dos Cards de Vendas */
.benefits-list {
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-item i {
  font-size: 0.9rem;
  flex-shrink: 0;
}

.price-estimate {
  border: 1px solid #dee2e6;
}

.price-estimate .text-muted {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-estimate small {
  font-size: 0.8rem;
  font-weight: 600;
}

/* CTAs dos Cards */
.service-card .btn {
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s;
}

.service-card .btn:hover::before {
  left: 100%;
}

.service-card .btn:hover {
  transform: translateY(-2px);
}

/* Elementos de Urgência */
.service-card small.text-danger {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: urgencyPulse 2s infinite;
}

@keyframes urgencyPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Responsividade para cards de vendas */
@media (max-width: 768px) {
  .benefit-item {
    font-size: 0.8rem;
  }
  
  .price {
    font-size: 1.3rem;
  }
  
  .service-card .btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .price-estimate {
    padding: 0.5rem;
  }
}

/* Efeito de destaque para cards com preços */
.service-card:hover .price {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Melhorias visuais para cards */
.service-card .card-body {
}

.service-card .icon {
  margin-bottom: 1rem;
}

.service-card .card-title {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.service-card .card-text {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Estilos para o Simulador de Orçamento Online Aprimorado */
.form-label.fw-bold {
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-select, .form-control {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.form-select:focus, .form-control:focus {
  border-color: #00a8ff;
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 255, 0.25);
}

/* Cards de equipamentos por categoria */
.card-header.bg-primary {
  background: linear-gradient(45deg, #00a8ff, #0097e6) !important;
}

.card-header.bg-warning {
  background: linear-gradient(45deg, #ffc107, #ffb300) !important;
}

.card-header.bg-danger {
  background: linear-gradient(45deg, #dc3545, #c82333) !important;
}

.card-header.bg-success {
  background: linear-gradient(45deg, #28a745, #20c997) !important;
}

/* Campos de quantidade */
.form-control-sm {
  height: 32px;
  font-size: 0.8rem;
  text-align: center;
}

/* Badges de preço */
.badge {
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

.badge.bg-primary {
  background: linear-gradient(45deg, #00a8ff, #0097e6) !important;
}

.badge.bg-warning {
  background: linear-gradient(45deg, #ffc107, #ffb300) !important;
  color: #333 !important;
}

.badge.bg-danger {
  background: linear-gradient(45deg, #dc3545, #c82333) !important;
}

.badge.bg-success {
  background: linear-gradient(45deg, #28a745, #20c997) !important;
}

/* Hover effects para cards de equipamentos */
.hover-effect {
  transition: all 0.3s ease;
  cursor: pointer;
}

.hover-effect:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 168, 255, 0.15);
  border-color: #00a8ff !important;
}

/* Estilos para especificações técnicas */
.small.text-muted {
  font-size: 0.75rem;
  line-height: 1.3;
}

/* Responsividade para campos de quantidade */
@media (max-width: 768px) {
  .form-control-sm {
    width: 50px !important;
    font-size: 0.7rem;
  }
  
  .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
  
  .small.text-muted {
    font-size: 0.7rem;
  }
}

/* Estilos para animações de transição */
.transition-fade {
  transition: opacity 0.3s ease-in-out;
}

.transition-slide {
  transition: transform 0.3s ease-in-out;
}

/* Estilos para destaque de seleção */
.border-primary {
  border-color: #00a8ff !important;
  background-color: rgba(0, 168, 255, 0.05);
}

/* Estilos para mensagens de resultado */
.result-highlight {
}

/* Estilos para ícones nos resultados */
.fa-times-circle {
}

.fa-check-circle {
}

/* Estilos para seção do simulador */
#simulador {
  position: relative;
}

#simulador::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* Estilos para cards de equipamentos */
.equipamento-card {
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.equipamento-card:hover {
  border-color: #00a8ff;
  background-color: rgba(0, 168, 255, 0.02);
}

/* Estilos para valor final destacado */
#valor-final {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Estilos para botões de ação */
.btn-action {
  position: relative;
  overflow: hidden;
}

.btn-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s;
}

.btn-action:hover::before {
  left: 100%;
}

/* Estilos para o mapa de calor */
.mapa-calor {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.zona {
  cursor: help;
  transition: all 0.3s ease;
  position: relative;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.zona:hover {
  transform: translateY(-2px);
  border-color: #00a8ff !important;
}

.zona i {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.zona small {
  font-size: 0.7rem;
  font-weight: bold;
}

.risco-alto { 
  background-color: #ff6b6b; 
}

.risco-medio { 
  background-color: #ffd166; 
}

.risco-baixo { 
  background-color: #06d6a0; 
}

/* Tooltip para o mapa de calor */
.zona[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 5px;
}

.zona[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  margin-bottom: -5px;
}

/* Estilos para indicadores de progresso */
.progress-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 10px;
}

.progress-step {
  width: 40px;
  height: 40px;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.progress-step.active {
  background-color: #00a8ff;
}

.progress-step.completed {
  background-color: #28a745;
}

.progress-step.completed::after {
  content: '✓';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: 2px solid white;
}

/* Estilos para resultado destacado */
.result-highlight {
  position: relative;
  overflow: hidden;
}

.result-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s;
}

.result-highlight:hover::before {
  left: 100%;
}

#pontuacao {
  font-size: 3rem;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Estilos para tabela comparativa */
.table-responsive {
  overflow: hidden;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  border: none;
  font-weight: 600;
}

.table tbody td {
  vertical-align: middle;
  border-color: #dee2e6;
}

.table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.table tbody tr:hover {
  background-color: #e9ecef;
}

/* Estilos para cards de resultado */
.card.border-warning,
.card.border-success,
.card.border-info {
  border-width: 2px;
  transition: all 0.3s ease;
}

.card.border-warning:hover,
.card.border-success:hover,
.card.border-info:hover {
  transform: translateY(-2px);
}

.card-header {
  border-bottom: none;
  font-weight: 600;
}

.card-body {
}

/* Estilos para botões de ação */
.btn-success {
  border: none;
  transition: all 0.3s ease;
}

.btn-success:hover {
  transform: translateY(-2px);
}

.btn-outline-primary {
  border-color: #00a8ff;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #00a8ff;
  border-color: #00a8ff;
  transform: translateY(-2px);
}

/* Estilos responsivos para mobile */
@media (max-width: 768px) {
  .mapa-calor {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .zona {
    padding: 10px 5px;
    min-height: 60px;
  }
  
  .zona i {
    font-size: 1.2rem;
  }
  
  .zona small {
    font-size: 0.6rem;
  }
  
  .progress-step {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  #pontuacao {
    font-size: 2.5rem;
  }
  
  .result-highlight {
    padding: 1.5rem;
  }
  
  .table-responsive {
    font-size: 0.9rem;
  }
  
  .table thead th,
  .table tbody td {
    padding: 0.75rem;
  }
}

@media (max-width: 576px) {
  .mapa-calor {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .progress-indicator {
    gap: 5px;
  }
  
  .progress-step {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* Animações para elementos do teste */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.etapa-teste {
  animation: slideInUp 0.5s ease-out;
}

/* Estilos para destaque de seleção melhorado */
.border-primary {
  border-color: #00a8ff !important;
}

/* Estilos para ícones nos resultados */
.fa-times-circle {
  animation: pulse 2s infinite;
}

.fa-check-circle {
  animation: bounce 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

/* Estilos compactos para o Teste de Vulnerabilidade */
.result-highlight-compact {
  background: #ffffff;
  color: #333;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 168, 255, 0.1);
  border: 1px solid #e9ecef;
}

.result-highlight-compact h2 {
  font-weight: 700;
  margin: 0;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.result-highlight-compact h4 {
  font-weight: 600;
  margin: 0;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Estilos para seção do teste */
#teste-vulnerabilidade {
}

#teste-vulnerabilidade .card {
  border: 1px solid #e9ecef;
}

/* Estilos para formulários de seleção */
.form-check-input:checked {
  background-color: #00a8ff;
  border-color: #00a8ff;
}

.form-check-input:focus {
  border-color: #00a8ff;
}

/* Estilos para etapas do simulador */
.etapa-simulador {
  animation: fadeIn 0.5s ease-in-out;
}

.etapa-teste {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para formulários de seleção */
.form-check-input:checked {
  background-color: #00a8ff;
  border-color: #00a8ff;
}

.form-check-input:focus {
  border-color: #00a8ff;
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 255, 0.25);
}

/* Estilos para seção de teste de vulnerabilidade */
#teste-vulnerabilidade {
  position: relative;
}

#teste-vulnerabilidade::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* Estilos para progresso visual */
.progress-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.progress-step {
  width: 40px;
  height: 40px;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.progress-step.active {
  background-color: #00a8ff;
}

.progress-step.completed {
  background-color: #28a745;
}

.progress-step.completed::after {
  content: '✓';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: 2px solid white;
}

/* Estilos responsivos para mobile */
@media (max-width: 768px) {
  .hover-effect:hover {
    transform: none;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .form-check {
    padding: 1rem;
  }
}

/* Mapa de calor compacto */
.mapa-calor-compact {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.mapa-calor-compact .zona {
  cursor: help;
  transition: all 0.3s ease;
  position: relative;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mapa-calor-compact .zona:hover {
  transform: scale(1.03);
}

.mapa-calor-compact .zona i {
  font-size: 1.2rem;
  margin-bottom: 3px;
}

.mapa-calor-compact .zona small {
  font-size: 0.6rem;
  font-weight: bold;
}

.mapa-calor-compact .risco-alto { 
  background-color: #dc3545; 
}

.mapa-calor-compact .risco-medio { 
  background-color: #ffc107; 
}

.mapa-calor-compact .risco-baixo { 
  background-color: #28a745; 
}

/* Indicadores de progresso compactos */
.progress-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 8px;
}

.progress-step {
  width: 35px;
  height: 35px;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  font-size: 0.9rem;
}

.progress-step.active {
  background-color: #00a8ff;
  border-color: #0097e6;
  transform: scale(1.05);
}

.progress-step.completed {
  background-color: #28a745;
  border-color: #20c997;
}

.progress-step.completed::after {
  content: '✓';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  border: 1px solid white;
}

/* Estilos para cards compactos */
.card.border-0.bg-light {
  border: 1px solid #dee2e6 !important;
  transition: all 0.3s ease;
}

.card.border-0.bg-light:hover {
  transform: translateY(-1px);
}

.card-header.bg-light {
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
}

/* Estilos para listas compactas */
#pontos-fracos li,
#solucoes-recomendadas li {
  border-bottom: 1px solid #f8f9fa;
  font-size: 0.9rem;
}

#pontos-fracos li:last-child,
#solucoes-recomendadas li:last-child {
  border-bottom: none;
}

/* Estilos para tabela compacta */
.table-sm th,
.table-sm td {
  font-size: 0.85rem;
}

.table-light {
  background-color: #f8f9fa;
}

/* Estilos para botões compactos */
.btn-sm {
  font-size: 0.875rem;
}

/* Estilos para ícones nos resultados */
.fa-times-circle {
  animation: pulse 2s infinite;
}

.fa-check-circle {
  animation: bounce 2s infinite;
}

/* Estilos para destaque de seleção */
.border-primary {
  border-color: #00a8ff !important;
}

/* Efeitos hover mais sutis */
.hover-effect:hover {
  transform: translateY(-1px);
  border-color: #00a8ff !important;
}

/* Responsividade para versão compacta */
@media (max-width: 768px) {
  .mapa-calor-compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .mapa-calor-compact .zona {
    padding: 8px 6px;
    min-height: 50px;
  }
  
  .mapa-calor-compact .zona i {
    font-size: 1rem;
  }
  
  .mapa-calor-compact .zona small {
    font-size: 0.55rem;
  }
  
  .progress-step {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .result-highlight-compact {
    padding: 1rem;
  }
  
  #pontuacao {
    font-size: 2rem;
  }
  
  .card-body {
    padding: 0.75rem;
  }
  
  .table-sm th,
  .table-sm td {
    padding: 0.4rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .mapa-calor-compact {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .progress-indicator {
    gap: 5px;
  }
  
  .progress-step {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  
  .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Animações suaves */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-3px); }
  60% { transform: translateY(-2px); }
}
