/* Hero Video Styles - Production Ready */

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-background {
  background: linear-gradient(135deg, var(--cor-roxo) 0%, var(--cor-teal) 100%);
}

/* Container do vídeo */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  
  /* Otimizações de performance */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  
  /* Transição suave */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Quando vídeo está carregando */
.hero-video-bg.video-loading {
  opacity: 0.5;
}

/* Quando vídeo está pronto */
.hero-video-bg.video-loaded {
  opacity: 1;
}

/* Overlay para legibilidade */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
  pointer-events: none;
}

/* Conteúdo do hero */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: var(--cor-branco);
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-name {
  display: inline-block;
  color: var(--cor-laranja);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-section h1 {
  color: var(--cor-branco);
  margin-bottom: 20px;
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
  margin-bottom: 40px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-botoes {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsividade */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 500px;
  }
  
  .hero-section h1 {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 400px;
    padding: 40px 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-name {
    font-size: 0.9rem;
  }
  
  .hero-botoes {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 300px;
    padding: 30px 0;
  }
  
  .hero-section h1 {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
  
  .hero-botoes {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-botoes .btn {
    width: 100%;
  }
}
