/* ======================================================
   HOSPEDAGENS — GoAlive | CSS limpo
   Substitui o arquivo hospedagens-css-extra.css inteiro.
   ====================================================== */

/* ===== HERO / INTRO ===== */
.hospedagem-page .hospedagem-hero {
  position: relative;
  padding-top: 18px;
}

.hospedagem-hero .section-header,
.hospedagem-page .section-header {
  max-width: 920px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #ff7a00;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hospedagem-page .section-header h1 {
  max-width: 980px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hospedagem-page .section-header h2 {
  color: #fff;
  font-size: 1.25rem;
}

.hospedagem-page .section-header p {
  display: block;
  max-width: 880px;
  color: rgba(255, 255, 255, .86);
  font-size: 1rem;
  line-height: 1.6;
}

.hospedagem-hero-row,
.hospedagem-hero-grid,
.hospedagem-hero-content {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 36px;
  align-items: start;
  margin-top: 18px;
  width: 100%;
  max-width: var(--container);
}

.hospedagem-hero-texts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hospedagem-page .section-header {
  max-width: 760px;
  margin-bottom: 0;
}

.hospedagem-page .section-header h1 {
  margin-bottom: 0;
}

.hospedagem-intro-text {
  max-width: 760px;
}

.hospedagem-intro-text {
  padding: 0;
  color: #fff;
}

.hospedagem-intro-text strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.hospedagem-intro-text p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  line-height: 1.55;
}

/* Botão/poppy do hero */
.hospedagem-whats-poppy,
.hospedagem-poppy-box,
.hospedagem-hero-poppy,
.poppy-cta-box {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  justify-self: end;
  text-align: center;
}

.hospedagem-whats-balloon,
.hospedagem-poppy-box a,
.hospedagem-hero-poppy a,
.poppy-cta-box a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 18px !important;
  border: 1px solid rgba(56, 198, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  white-space: nowrap;
}

.hospedagem-whats-poppy img,
.hospedagem-poppy-box img,
.hospedagem-hero-poppy img,
.poppy-cta-box img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  margin: 10px auto 0 !important;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .22));
  transition: transform .2s ease;
}

.hospedagem-whats-poppy:hover img {
  transform: translateY(-3px) scale(1.04);
}

.hospedagem-page > .section:nth-of-type(2)::before {
  content: none !important;
  display: none !important;
}

/* ===== CTA ANTIGO / FILTROS / CARDS ===== */
.hospedagem-cta-box {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(56, 198, 255, .45);
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hospedagem-cta-box strong {
  color: #fff;
  font-size: 1.2rem;
}

.hospedagem-cta-box p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .82);
}

.hospedagem-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hospedagem-selects select {
  min-width: 190px;
  min-height: 42px;
  padding: 0 14px;
  border: 1.5px solid rgba(53, 185, 230, .65);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 800;
}

.hospedagem-selects select option {
  color: #0c225d;
}

.hospedagem-page .produtos-filtros {
  margin: 20px 0 18px;
}

.hospedagem-page .produtos-filtros input {
  min-height: 58px;
  padding: 0 20px;
  border-radius: 16px;
  background: #fff;
  font-size: 1rem;
}

.hospedagem-page .produtos-status {
  margin-top: 18px;
}

.hospedagem-card .hospedagem-diferenciais {
  margin: 12px 0;
  padding-left: 18px;
  color: #0c225d;
  font-size: .92rem;
}

.produto-card-actions {
  margin-top: 16px;
}

.produto-whatsapp-card,
.hospedagem-card .produto-card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: #ff7a00;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

/* ===== FORMULÁRIO HOSPEDAGEM ===== */
.hospedagem-form-section {
  width: min(100% - 32px, 1040px);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 28px;
}

.hospedagem-form-section > h2,
.hospedagem-form-section > p {
  color: #fff;
}

.hospedagem-search-form,
#formHospedagem {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 18px 10px;
  border: 1.5px solid rgba(53, 185, 230, 0.48);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  overflow: visible;
}

.hospedagem-search-main,
.hospedagem-form-compacto {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px !important;
  padding: 0;
  align-items: stretch;
}

.hospedagem-field {
  display: grid;
  gap: 0;
  min-height: 36px;
  padding: 5px 9px;
  border: 1px solid rgba(53, 185, 230, 0.35);
  border-radius: 13px;
  background: #ffffff;
  color: #0c225d;
  font-weight: 800;
}

.hospedagem-field span {
  display: block;
  margin-bottom: 2px;
  color: #66708a;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
}

.hospedagem-field input,
.hospedagem-field select,
.hospedagem-field textarea {
  width: 100%;
  min-height: 20px;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: #0c225d;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

.hospedagem-field textarea {
  height: 30px;
  min-height: 30px;
  resize: none;
  padding-top: 1px;
}

/* Ordem visual do formulário:
   destino
   check-in / check-out
   adultos / crianças / quartos
   perfil / tipo
   nome
   e-mail / whatsapp
   observações
   botão
*/
.hospedagem-field-destino {
  grid-column: span 4;
}

.hospedagem-field:has(input[name="checkin"]),
.hospedagem-field:has(input[name="checkout"]) {
  grid-column: span 1;
}

.hospedagem-field:has(input[name="adultos"]),
.hospedagem-field:has(input[name="criancas"]),
.hospedagem-field:has(input[name="quartos"]) {
  grid-column: span 1;
}

.hospedagem-field:has(select[name="perfil"]),
.hospedagem-field:has(select[name="tipo"]) {
  grid-column: span 1;
}

.hospedagem-field:has(input[name="nome"]) {
  grid-column: span 2;
}

.hospedagem-field:has(input[name="email"]),
.hospedagem-field:has(input[name="whatsapp"]) {
  grid-column: span 1;
}

.hospedagem-field-observacoes,
.hospedagem-search-button,
.hospedagem-form-note {
  grid-column: 1 / -1;
}

.hospedagem-search-button {
  min-height: 38px;
  border: 0;
  border-radius: 13px;
  background: #ff7a00;
  color: #fff;
  font-size: 0;
  font-weight: 950;
  cursor: pointer;
  padding: 0 18px;
  grid-column: span 2;
}

.hospedagem-search-button::after {
  content: "Solicitar";
  font-size: 0.95rem;
  font-weight: 950;
}

.hospedagem-search-button:hover {
  filter: brightness(1.05);
}

.hospedagem-form-note {
  margin: 4px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 0.72rem;
  line-height: 1.25;
}

/* Neutraliza versões antigas que não estão mais em uso */
.hospedagem-extra-fields,
.hospedagem-search-tabs {
  display: none;
}

















/* ===== RESPONSIVO ===== */
@media (max-width: 1100px) {
  .hospedagem-form-section {
    width: min(100% - 32px, 1040px);
  }

  .hospedagem-search-main,
  .hospedagem-form-compacto {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hospedagem-hero-row,
  .hospedagem-hero-grid,
  .hospedagem-hero-content {
    grid-template-columns: 1fr;
  }

  .hospedagem-whats-poppy,
  .hospedagem-poppy-box,
  .hospedagem-hero-poppy,
  .poppy-cta-box {
    justify-self: start;
    align-items: center !important;
  }

  .hospedagem-whats-poppy img,
  .hospedagem-poppy-box img,
  .hospedagem-hero-poppy img,
  .poppy-cta-box img {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 768px) {
  .hospedagem-cta-box,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hospedagem-selects {
    flex-direction: column;
  }

  .hospedagem-search-main,
  .hospedagem-form-compacto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hospedagem-field,
  .hospedagem-field:has(input[name="checkin"]),
  .hospedagem-field:has(input[name="checkout"]),
  .hospedagem-field:has(input[name="adultos"]),
  .hospedagem-field:has(input[name="criancas"]),
  .hospedagem-field:has(input[name="quartos"]),
  .hospedagem-field:has(select[name="perfil"]),
  .hospedagem-field:has(select[name="tipo"]),
  .hospedagem-field:has(input[name="email"]),
  .hospedagem-field:has(input[name="whatsapp"]) {
    grid-column: span 1;
  }

  .hospedagem-field-destino,
  .hospedagem-field:has(input[name="nome"]),
  .hospedagem-field-observacoes,
  .hospedagem-search-button,
  .hospedagem-form-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hospedagem-page .hospedagem-hero,
  .hospedagem-hero {
    padding: 24px 18px 18px !important;
  }

  .hospedagem-page .section-header h1,
  .hospedagem-hero h1 {
    max-width: 100% !important;
    font-size: 2.15rem !important;
    line-height: 1.12 !important;
  }

  .hospedagem-page .section-header p,
  .hospedagem-hero p {
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .hospedagem-whats-poppy,
  .hospedagem-poppy-box,
  .hospedagem-hero-poppy,
  .poppy-cta-box {
    justify-self: end;
    max-width: 170px !important;
    margin: 6px 0 0 auto !important;
  }

  .hospedagem-whats-poppy img,
  .hospedagem-poppy-box img,
  .hospedagem-hero-poppy img,
  .poppy-cta-box img {
    width: 92px !important;
    height: 92px !important;
  }

  .hospedagem-form-section {
    width: min(100% - 24px, 1040px);
    padding-top: 18px;
  }

  .hospedagem-search-form,
  #formHospedagem {
    padding: 14px;
  }

  .hospedagem-search-main,
  .hospedagem-form-compacto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
  }
}

@media (max-width: 430px) {
  .hospedagem-search-main,
  .hospedagem-form-compacto {
    grid-template-columns: 1fr;
  }

  .hospedagem-field,
  .hospedagem-field-destino,
  .hospedagem-field-observacoes,
  .hospedagem-search-button,
  .hospedagem-form-note {
    grid-column: 1 / -1 !important;
  }
}
