/* =========================================================
   GRUPO WKM SEGURANÇA E SERVIÇOS - ESTILOS PERSONALIZADOS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --wkm-blue-dark: #071527;
  --wkm-blue-navy: #0a1f38;
  --wkm-blue-accent: #0284c7;
  --wkm-blue-primary: #1d4ed8;
  --wkm-red-brigada: #dc2626;
  --wkm-gold: #f59e0b;
  --wkm-gold-light: #fbbf24;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #050b14;
  color: #f1f5f9;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Montserrat', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #07111e;
}
::-webkit-scrollbar-thumb {
  background: #1e3a5f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Esconder barra de rolagem mantendo funcionalidade */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Previne zoom indesejado no iOS ao focar em inputs */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(11, 25, 44, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-gold {
  background: rgba(18, 28, 44, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15);
}

.glass-card-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.25);
}

/* Glow effects */
.glow-gold {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}
.glow-blue {
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.35);
}
.glow-red {
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.35);
}

/* Radar pulse animation */
@keyframes radar-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
.radar-live {
  animation: radar-pulse 2s infinite;
}

/* Accordion transition styles */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease-out;
  opacity: 0;
}
.accordion-content.open {
  max-height: 500px;
  opacity: 1;
}

/* Form focus ring */
.input-wkm:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

/* Custom Range Slider Styling (Calculadora de Efetivo) */
input[type=range].slider-wkm {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  cursor: pointer;
}
input[type=range].slider-wkm::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #38bdf8;
  border: 3px solid #0f172a;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
input[type=range].slider-wkm::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #0284c7;
}

/* Timeline Custom Styles */
.timeline-dot {
  position: relative;
}
.timeline-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  filter: blur(6px);
  opacity: 0.6;
}

/* Floating animation */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.floating-anim {
  animation: float-slow 4s ease-in-out infinite;
}

/* Print styling */
@media print {
  .no-print {
    display: none !important;
  }
}
