/* === SEÇÃO HERO === */
.hero-section {
  background: 
    linear-gradient(135deg, rgba(52, 58, 64, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%),
    radial-gradient(circle at 30% 70%, rgba(6, 88, 246, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, var(--color-gray-dark) 0%, #1a1a1a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Compensar header fixo */
  position: relative;
  overflow: hidden;
}

/* Vídeo de Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-slow);
  min-width: 100%;
  min-height: 100%;
}

/* Vídeo carregado e reproduzindo */
.hero-video.playing {
  opacity: 0.4;
}

/* Otimização para dispositivos móveis */
@media (max-width: 768px) {
  .hero-video.playing {
    opacity: 0.5; /* Menos opacidade em mobile para melhor legibilidade */
  }
}

/* Prefers-reduced-motion para acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* Overlay para melhorar legibilidade - SOBRE o vídeo mas ABAIXO dos contadores */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(52, 58, 64, 0.4) 0%, 
    rgba(26, 26, 26, 0.5) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 88, 246, 0.08) 0%, transparent 60%);
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: var(--font-5xl);
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--font-2xl);
  color: var(--color-gray-light);
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: var(--spacing-2xl);
}

/* Contadores de Expertise dentro do hero-content */
.hero-expertise {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
  padding: var(--spacing-xl) 0;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-expertise .expertise-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  text-align: center;
  padding: var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 191, 0, 0.4);
  transition: var(--transition-normal);
  min-width: 140px;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-expertise .expertise-item:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 191, 0, 0.15) 0%,
    rgba(255, 191, 0, 0.1) 100%
  );
  border-color: rgba(255, 191, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 
    0 8px 25px rgba(255, 191, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-expertise .expertise-number {
  font-size: var(--font-2xl);
  font-weight: 800;
  color: var(--color-secondary);
  font-family: var(--font-primary);
  line-height: 1;
}

.hero-expertise .expertise-label {
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--color-gray-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Responsividade */
@media (max-width: 767px) {
  .hero-section {
    min-height: 100vh;
    height: 100vh;
    padding-top: 80px;
    justify-content: center;
  }

  .hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
  }

  .hero-title {
    font-size: var(--font-3xl);
    margin-bottom: var(--spacing-lg);
  }

  .hero-subtitle {
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-xl);
  }

  .hero-cta {
    margin-top: var(--spacing-lg);
  }

  .hero-expertise {
    position: static;
    transform: none;
    margin-top: var(--spacing-2xl);
    gap: var(--spacing-lg);
    max-width: 100%;
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .hero-expertise .expertise-item {
    min-width: 100px;
    padding: var(--spacing-sm);
  }

  .hero-expertise .expertise-number {
    font-size: var(--font-xl);
  }

  .hero-expertise .expertise-label {
    font-size: 10px;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--font-5xl);
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 100px;
  }
}
