/* Base Styles & Typography */
body {
  font-family: 'Inter', sans-serif;
  color: #191c1e;
  background-color: #F8FAFC;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom audio waves animation */
@keyframes barPulse {
  0%, 100% {
    height: 8px;
  }
  50% {
    height: 42px;
  }
}

.audio-bar {
  animation: barPulse 1.2s ease-in-out infinite alternate;
}

/* Glassmorphism Header - Degradê Ultra Suave do Azul Escuro Ligoo para o Transparente (Efeito Contínuo) */
.glass-header {
  background: linear-gradient(
    180deg,
    rgba(7, 22, 44, 0.65) 0%,
    rgba(7, 22, 44, 0.45) 25%,
    rgba(13, 45, 89, 0.25) 55%,
    rgba(13, 45, 89, 0.08) 80%,
    rgba(13, 45, 89, 0) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-bottom: none;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Modo Fundo Claro (ao rolar sobre áreas claras) */
.glass-header.header-light {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 24, 58, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 24, 58, 0.06);
}

.glass-header.header-light .nav-link-item {
  color: #00183A;
}

.glass-header.header-light .nav-link-item:hover {
  color: #006398;
}

.glass-header.header-light .nav-link-item::after {
  background-color: #006398;
}

.glass-header.header-light .btn-header-ghost {
  color: #00183A;
  border-color: rgba(0, 24, 58, 0.25);
}

.glass-header.header-light .btn-header-ghost:hover {
  background: rgba(0, 99, 152, 0.08);
  border-color: #006398;
  color: #006398;
}

.nav-link-item {
  color: rgba(248, 250, 252, 0.82);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.5rem 0.875rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Linha sutil abaixo do texto carregando suave e devagar */
.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background-color: #00D2FF;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.45s ease;
  opacity: 0;
}

.nav-link-item:hover {
  color: #ffffff;
}

.nav-link-item:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.btn-header-primary {
  background: linear-gradient(135deg, #006398 0%, #1A73E8 50%, #00D2FF 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: 0;
  transition: all 0.2s ease;
}

.btn-header-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.3);
}

.btn-header-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  padding: 0.5625rem 1.125rem;
  border-radius: 0;
  transition: all 0.2s ease;
}

.btn-header-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #00D2FF;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Carrossel Infinito de Logos / CRMs (Passagem Lenta & Suave) */
@keyframes crmScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.crm-marquee {
  display: flex;
  width: max-content;
  animation: crmScroll 65s linear infinite;
}

.crm-marquee:hover {
  animation-play-state: paused;
}

.hero-video-overlay {
  display: none;
}

/* Floating video indicator */
.video-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}



