/* VOLANTE APP — HOME-HERO.CSS */
/* Escopo: Hero / Intro da Home */

.home-intro {
  width: 100%;
  max-width: 1440px;
  margin: 6px auto 4px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: minmax(320px, 440px) minmax(0, 520px);
  gap: 24px;
  align-items: start;
  justify-content: space-between;
}

.home-intro-texto {
  max-width: 440px;
}

.home-intro-texto h1 {
  margin: 0 0 6px;
  color: var(--texto);
  font-size: clamp(1.8rem, 2.45vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 950;
}

.home-intro-texto p {
  margin: 0;
  color: var(--texto-suave);
  font-size: .94rem;
  line-height: 1.35;
  font-weight: 500;
}

.home-busca {
  align-self: center;
  justify-self: end;
  max-width: 420px;
}

.hero-banner-home {
  width: 100%;
  max-width: 1440px;
  margin: 12px auto 10px;
  padding: 0 22px;
  position: relative;
}

.hero-banner-home-img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.hero-banner-overlay {
  position: absolute;
  left: 78px;
  bottom: 58px;
  z-index: 3;
  width: min(560px, calc(100% - 156px));
  display: grid;
  gap: 14px;
}

.hero-banner-busca {
  min-height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: 0 12px 28px rgba(2, 6, 23, .22);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 16px;
}

.hero-banner-busca span {
  color: #1e3a8a;
  font-size: 20px;
  line-height: 1;
}

.hero-banner-busca input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
}

.hero-banner-busca input::placeholder {
  color: #64748b;
}

.hero-banner-busca .busca-botao {
  min-height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #07111f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}

.hero-banner-cta {
  width: fit-content;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8aa55, #b9852e);
  color: #07111f;
  font-size: 14px;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(2, 6, 23, .22);
}

@media (max-width: 1024px) {

  .home-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .home-intro-texto {
    max-width: 560px;
  }

  .home-intro-texto h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .home-busca {
    align-self: start;
    justify-self: end;
    max-width: 420px;
  }

  .hero-banner-home-img {
    height: 330px;
  }

  .hero-banner-overlay {
    left: 46px;
    bottom: 34px;
    width: min(500px, calc(100% - 92px));
  }

}

@media (max-width: 620px) {

  .home-intro {
    margin: 6px auto 4px;
    padding: 0 12px;
    gap: 8px;
  }

  .home-intro-texto {
    max-width: 100%;
  }

  .home-intro-texto h1 {
    margin-bottom: 5px;
    font-size: 1.72rem;
    line-height: 1.03;
    letter-spacing: -.042em;
  }

  .home-intro-texto p {
    font-size: .9rem;
    line-height: 1.32;
  }

  .home-busca {
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-banner-home {
    margin: 8px 0 8px;
    padding: 0 12px;
  }

  .hero-banner-home-img {
    height: 210px;
    border-radius: 20px;
    object-position: center;
  }

  .hero-banner-overlay {
    left: 24px;
    right: 24px;
    bottom: 18px;
    width: auto;
    gap: 8px;
  }

  .hero-banner-busca {
    min-height: 42px;
    border-radius: 13px;
    gap: 7px;
    padding: 0 6px 0 12px;
  }

  .hero-banner-busca span {
    font-size: 16px;
  }

  .hero-banner-busca input {
    font-size: 12px;
  }

  .hero-banner-busca .busca-botao {
    min-height: 31px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 10px;
  }

  .hero-banner-cta {
    min-height: 34px;
    padding: 0 14px;
    font-size: 11px;
  }

}
