.hero{
  position: relative;
  min-height: calc(100vh - 70px); /* desconta o header */
  background-image: url("../../assets/banners/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
}

/* camada escura por cima da imagem */
.hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.60) 50%,
    rgba(0,0,0,.35) 100%
  );
}

/* conteúdo */
.hero__content{
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1{
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero p{
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text);
}

.hero__actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Degradê do hero para o background */
.hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(
  to bottom,
  rgba(25,25,25,0) 0%,
  rgba(25,25,25,.65) 50%,
  var(--bg) 100%
  );
  pointer-events: none;
}

@media (max-width: 768px){
  .hero{
    background-position: 70% center;
  }
}

@media (max-width: 768px){
  .hero__overlay{
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.85) 0%,
      rgba(0,0,0,.75) 45%,
      rgba(0,0,0,.60) 100%
    );
  }
}


