/* ===== Hero (fundo azul full-bleed) ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/bg-wave-hero.svg") center / cover no-repeat;
  opacity: .06;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 135px);
  min-height: 600px;
  padding-block: 40px 0;   /* sem padding embaixo: imagem cola no fim do banner */
}
.hero__title {
  color: var(--white);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.05;
  max-width: 12ch;
}
.hero__actions { margin-top: clamp(24px, 3vw, 50px); }
.hero__media { align-self: end; justify-self: end; }
.hero__media img { width: 100%; max-width: 656px; height: auto; }

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 40px 0;   /* imagem também colada no fim no mobile */
    text-align: center;
  }
  .hero__text { display: flex; flex-direction: column; align-items: center; }
  .hero__title { max-width: 100%; }   /* título ocupa a largura e centraliza */
  .hero__actions { display: flex; justify-content: center; }
  .hero__media { justify-self: center; }
  .hero__media img { max-width: 400px; }
}
