.hero {
  position: relative;

  /* altura mais equilibrada */
  min-height: 70vh;
  max-height: 750px;

  display: flex;

  align-items: center; /* ✅ correto (apenas uma linha) */

  /* espaçamento mais ajustado */
  padding: 120px 0 80px;

  background: url('/img/banner-hero-galaxias-observatorios.webp') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

/* acabamento profissional no final do hero */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;

  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0) 0%,
    #050505 100%
  );
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.60) 40%,
    rgba(0, 0, 0, 0.24) 100%
  );
}

.hero-conteudo {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-tag {
  display: block;
  margin-bottom: 20px;
  color: #f1b53b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.hero-botoes {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-principal {
  background: #f1b53b;
  color: #111;
  box-shadow: 0 8px 20px rgba(241, 181, 59, 0.3);
}

.btn-principal:hover {
  background: #e5a832;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(241, 181, 59, 0.4);
}

.btn-secundario {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
}

.btn-secundario:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-conteudo {
    max-width: 600px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -0.5px;
  }

  .hero p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-conteudo {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-botoes {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}