/* ==========================================================================
   Páginas de passeio (roteiros)
   ========================================================================== */

.tour-heading {
  padding: 20px;
}

.tour-heading__title {
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 600;
}

.tour-heading__subtitle {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
}

/* Foto + ficha de reserva
   ========================================================================== */

.tour-booking {
  display: flex;
  /* largura do bloco varia por passeio (definida inline na página) */
  width: var(--tour-booking-width, 96.195%);
  margin-inline: auto;
  padding: 10px;
}

.tour-booking__media {
  display: flex;
  flex: 0 0 70%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 37vh;
  padding: 10px;
  line-height: 0;
  text-align: center;
}

.tour-booking__form {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px;
}

/* Variação: bloco limitado à largura do conteúdo (foto 65% + ficha 35%) */
.tour-heading--lg {
  padding: 30px;
}

.tour-booking--boxed {
  width: 100%;
  max-width: 1160px;
  min-height: 80vh;
}

.tour-booking--boxed .tour-booking__media {
  flex: 0 0 65%;
  justify-content: flex-start;
  min-height: 0;
  padding: 10px;
}

.tour-booking--boxed .tour-booking__form {
  flex: 0 0 35%;
}

/* Variação: mesmas larguras da variação acima (foto 65% + ficha 35%),
   com cabeçalho e respiros próprios */
.tour-heading--xl {
  padding: 35px 35px 0;
}

.tour-heading--sm {
  padding: 10px;
}

.tour-heading--sm .tour-heading__subtitle,
.tour-heading--xl .tour-heading__subtitle {
  margin-top: 15px;
}

.tour-booking--split {
  justify-content: center;
  width: 100%;
  max-width: 1140px;
  padding: 20px 0 50px;
}

.tour-booking--split .tour-booking__media {
  flex: 0 0 65%;
  justify-content: flex-start;
  min-height: 0;
  padding: 10px;
}

.tour-booking--split .tour-booking__form {
  flex: 0 0 35%;
}

/* Conteúdo
   ========================================================================== */

.tour-content {
  padding: 60px 0;
}

.tour-content__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tour-content h2 {
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
}

.tour-content p {
  margin: 0;
}

.tour-note {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
}

.tour-note--small {
  font-size: 10px;
  font-style: italic;
}

.tour-map {
  display: block;
  line-height: 0;
  cursor: zoom-in;
}

.tour-map img {
  display: block;
  width: 100%;
  border: 3px solid #c6c6c6;
  border-radius: 20px;
}

.tour-alert {
  align-self: flex-start;
  padding: 15px;
  border-radius: 0 20px;
  background-color: #e4eeff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
}

/* Variação do original: recuo menor à esquerda */
.tour-alert--tight {
  padding-left: 6px;
}

.breadcrumb {
  padding: 0.9rem 0;
  color: #7a7a7a;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.tour-lead {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
}

.tour-photo {
  line-height: 0;
}

.tour-photo img {
  width: 100%;
  border: 3px solid #d6d6d6;
  border-radius: 10px;
}

.tour-divider {
  width: 100%;
  margin: 15px 0;
  border: 0;
  border-top: 1px solid #bebebe;
}

/* Informações do passeio (ícone + título + descrição)
   ========================================================================== */

.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--navy-900);
}

.info-item .icon {
  flex: 0 0 auto;
  font-size: 20px;
}

.info-item h3 {
  margin: 8px 0 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 0;
}

.info-item p {
  color: #363636;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
}

.info-item--alert {
  color: #f85555;
}

/* Roteiro (pontos sobrevoados)
   ========================================================================== */

.route {
  display: flex;
  gap: 20px;
  padding: 10px;
}

.route__col {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.route-item {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: -15px;
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 2px;
}

.route-item .icon {
  flex: 0 0 auto;
  font-size: 15px;
}

.route-item span,
.route-item h3 {
  margin: 8px 0 16px;
  font: inherit;
}

.route-item--departure {
  margin-bottom: 0;
}

.route-item--departure h3 span,
.route-item .route-item__note {
  margin: 0;
  font-weight: 400;
}

/* Roteiro em coluna única */
.route-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.route-item--alert {
  color: #f85555;
}

/* FAQ
   ========================================================================== */

.faq__footnote {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

/* Lightbox do mapa
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  display: flex;
  padding: 4px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
}

.lightbox__close:hover {
  opacity: 1;
}

/* Tablet (≤ 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .tour-booking__media {
    flex-basis: 47.639%;
    padding: 0;
  }

  .tour-content {
    padding: 60px 20px;
  }

  .faq--tour {
    padding: 80px 20px;
  }
}

/* Variação: FAQ com respiro menor no tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .faq--tour.faq--tight {
    padding: 60px 20px;
  }

  /* Variação: sem margem lateral no tablet (como no original) */
  .tour-content.is-flush-tablet,
  .faq--tour.is-flush-tablet {
    padding: 60px 0;
  }
}

/* Mobile (≤ 767px)
   ========================================================================== */

@media (max-width: 767px) {
  .tour-booking {
    flex-wrap: wrap;
    width: 100%;
  }

  .tour-booking__media,
  .tour-booking__form {
    flex: 0 0 100%;
  }

  .tour-booking--boxed .tour-booking__media,
  .tour-booking--boxed .tour-booking__form {
    flex: 0 0 100%;
  }

  .tour-booking--split {
    gap: 40px;
  }

  .tour-booking--split .tour-booking__media,
  .tour-booking--split .tour-booking__form {
    flex: 0 0 100%;
  }

  .tour-content {
    padding: 40px 20px 60px;
  }

  .tour-content h2 {
    font-size: 25px;
  }

  .tour-content h2.is-centered-mobile,
  .tour-note.is-centered-mobile {
    text-align: center;
  }

  .info-item {
    gap: 7px;
  }

  .info-item .icon {
    font-size: 18px;
  }

  .info-item h3 {
    line-height: 0.4em;
  }

  .info-item:first-child h3 {
    line-height: 0.5em;
  }

  .info-item--alert {
    gap: 4px;
  }

  .info-item.info-item--alert h3 {
    margin-bottom: 10px;
    line-height: 1.1em;
  }

  /* o terceiro item mantém a altura do desktop no original */
  .info-item:nth-child(3) h3 {
    line-height: 0;
  }

  .route {
    flex-wrap: wrap;
  }

  .route__col {
    flex: 0 0 100%;
  }

  .route-item--departure {
    align-items: center;
    line-height: 1.3em;
  }

  .faq--tour {
    padding: 50px 20px;
  }
}
