/* secoes.css
   estilos das secoes de hoteis, diferenciais e newsletter */

/* cards dos hoteis */
.card-hotel {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.25s;
}

.card-hotel:hover {
  transform: translateY(-4px);
}

.card-hotel-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-hotel-img i {
  font-size: 3.5rem;
  opacity: 0.25;
}

.card-hotel .card-body {
  padding: 18px 20px;
}

.estrelas {
  color: var(--laranja);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.card-hotel h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--azul-escuro);
}

.card-hotel .localizacao {
  font-size: 0.85rem;
  color: var(--cinza-texto);
  margin-bottom: 10px;
}

.card-hotel .nota {
  background: var(--azul-claro);
  color: var(--branco);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-hotel .preco-hotel {
  text-align: right;
  min-width: 0;
}
.card-hotel .preco-hotel small {
  font-size: 0.75rem;
  color: var(--cinza-texto);
  display: block;
}
.card-hotel .preco-hotel strong {
  font-size: 1.1rem;
  color: var(--azul-claro);
  font-weight: 700;
  white-space: nowrap;
}

/* secao 'por que escolher a horizonte' */
.secao-diferenciais {
  background: var(--cinza-claro);
}

.card-diferencial {
  text-align: center;
  padding: 36px 24px;
  background: var(--branco);
  border-radius: 16px;
  box-shadow: var(--sombra);
  transition: transform 0.2s;
  /* height 100% faz todos os cards ocuparem a mesma altura da linha */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* o paragrafo cresce pra preencher o espaco sobrando */
.card-diferencial p {
  flex: 1;
}

.card-diferencial:hover {
  transform: translateY(-4px);
}

.card-diferencial .icone {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--azul-claro), var(--azul-medio));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card-diferencial .icone i {
  font-size: 1.8rem;
  color: var(--branco);
}

.card-diferencial h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--azul-escuro);
  margin-bottom: 10px;
}

.card-diferencial p {
  font-size: 0.9rem;
  color: var(--cinza-texto);
  line-height: 1.6;
  flex: 1;
}

/* banner laranja de newsletter */
.banner-newsletter {
  background: linear-gradient(90deg, var(--laranja-escuro), var(--laranja));
  padding: 60px 0;
}

.banner-newsletter h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--azul-escuro);
}

.banner-newsletter p {
  color: rgba(10, 22, 40, 0.7);
  font-size: 1rem;
}

.input-newsletter {
  border: none;
  border-radius: 10px 0 0 10px;
  padding: 14px 20px;
  font-size: 1rem;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.btn-newsletter {
  background: var(--azul-escuro);
  color: var(--branco);
  border: none;
  border-radius: 0 10px 10px 0;
  padding: 14px 28px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
  cursor: pointer;
}

.btn-newsletter:hover {
  background: var(--azul-medio);
  color: var(--branco);
}

/* responsividade da newsletter no celular */
@media (max-width: 768px) {
  .banner-newsletter h2 {
    font-size: 1.5rem;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .input-newsletter {
    border-radius: 10px;
  }
  .btn-newsletter {
    border-radius: 10px;
    width: 100%;
  }
}
