/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* --- Background (imagem ou vídeo) --- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback: cor escura enquanto a imagem não carrega */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-dark);
  z-index: -1;
}

/* --- Overlay --- */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.30) 50%,
    rgba(0, 0, 0, 0.40) 100%
  );
}

/* --- Conteúdo --- */
.hero__content {
  user-select: none;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
  color: var(--color-white);
}

/* Frase de efeito */
.hero__label {
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.75);
}

/* Título principal */
.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--color-white);
  max-width: 900px;
}

/* Subtítulo / legenda */
.hero__subtitle {
  font-family: var(--font-base);
  font-size: clamp(var(--text-base), 1.5vw, var(--text-lg));
  color: rgba(255, 255, 255, 0.80);
  max-width: 560px;
  line-height: 1.5;
}

/* --- Botões --- */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-2);
}

.btn-hero-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid transparent;
  padding: var(--space-3) var(--space-8);
  border-radius: 10px;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: var(--text-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  transition: background-color var(--transition-base), transform var(--transition-fast);
}

.btn-hero-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-hero-outline {
  background-color: rgba(255, 255, 255, 0.10);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  padding: var(--space-3) var(--space-8);
  border-radius: 10px;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: var(--text-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.70);
  transform: translateY(-1px);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 768px) {
  .hero__title br {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    justify-content: center;
    width: 100%;
  }
}
