/* Banner Hero Full Width */
.hero-banner {
  position: relative;
  height: 100vh;
  margin-left: calc(-50vw + 50%);
  background-image: url('../images/banners/banner-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Filtro preto 70% */
.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* Gradiente lateral para suavizar bordas pretas do vídeo (Desktop) */
.hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, black 7%, transparent 30%, transparent 70%, black 93%);
  z-index: 1;
  pointer-events: none;
}

/* Conteúdo do banner */
.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

/* Headline principal */
.hero-banner h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: white;
}

/* Container da animação de digitação */
.typing-container {
  display: inline-block;
  position: relative;
}

/* Texto que será digitado */
.typing-text {
  color: white;
  font-weight: 700;
  border-right: 3px solid white;
  animation: blink 1s infinite;
}

/* Animação do cursor piscando */
@keyframes blink {
  0%, 50% { border-color: white; }
  51%, 100% { border-color: transparent; }
}

/* Frase que aparece com fade */
.hero-banner-subtitle {
  font-size: 1.1rem;
  font-weight: 200;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 2s;
  margin-top: 2rem;
  line-height: 1.4;
}

/* Animação fade in up */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Container dos botões */
.hero-banner-buttons {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 3s;
}

/* Estilos dos botões flat */
.hero-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: transparent;
  color: white;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover dos botões */
.hero-btn:hover {
  background-color: white;
  color: #333;
  transform: translateY(-2px);
  /*box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);*/
}

/* Botão primário (Orçamento) */
.hero-btn.primary {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

.hero-btn.primary:hover {
  /*background-color: transparent;*/
  border-color: #007bff;
  color: #fff;
}

/* Responsivo */
@media (max-width: 768px) {
  .hero-banner {
    height: 80vh;
  }
  
  .hero-banner h1 {
    font-size: 2.5rem;
  }
  
  .hero-banner-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-banner-buttons {
    margin-top: 2rem;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btn {
   padding: 7px 0px;
        font-size: 0.7rem;
        width: 160px;
        text-align: center;
}

  /* Desabilita gradiente no mobile */
  .hero-banner::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-banner h1 {
    font-size: 2rem;
  }
  
  .hero-banner-subtitle {
    font-size: 0.8rem;
  }
  
  .hero-banner-content {
    padding: 0 15px;
  }
}
