/* 14Bis V38 Today Safe Update
   Escopo limitado: HOME hero, /booking-options Saiba Mais, modal WhatsApp/patinho.
   Não altera admin, API, SumUp, preços, conversões ou lógica de reserva. */

/* ===== HOME HERO FIX ===== */
.bis-v38-hero {
  box-sizing: border-box !important;
  overflow-x: clip !important;
  text-align: center !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-top: clamp(88px, 9vw, 132px) !important;
}
.bis-v38-hero * { box-sizing: border-box !important; }
.bis-v38-hero .bis-v38-hero-title {
  display: block !important;
  width: min(1050px, calc(100vw - 36px)) !important;
  max-width: min(1050px, calc(100vw - 36px)) !important;
  margin-top: 0 !important;
  margin-bottom: clamp(20px, 2.5vw, 30px) !important;
  text-align: center !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em !important;
  color: #fffaf0 !important;
  -webkit-text-fill-color: #fffaf0 !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.22) !important;
  opacity: 1 !important;
}
.bis-v38-hero .bis-v38-hero-title span,
.bis-v38-hero .bis-v38-hero-title em,
.bis-v38-hero .bis-v38-hero-title strong {
  color: #e0a71e !important;
  -webkit-text-fill-color: #e0a71e !important;
  background: none !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.18) !important;
}
.bis-v38-hero .bis-v38-hero-subtitle {
  display: block !important;
  width: min(940px, calc(100vw - 40px)) !important;
  max-width: min(940px, calc(100vw - 40px)) !important;
  margin: 0 auto clamp(32px, 4vw, 48px) auto !important;
  text-align: center !important;
  color: #fff7df !important;
  -webkit-text-fill-color: #fff7df !important;
  opacity: 1 !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.42) !important;
}
.bis-v38-hero .bis-v38-hero-trust {
  width: min(970px, calc(100vw - 44px)) !important;
  max-width: min(970px, calc(100vw - 44px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  background: linear-gradient(180deg, #fff8ea 0%, #f5edd7 100%) !important;
  border: 1px solid rgba(216,167,45,.7) !important;
  color: #073f42 !important;
  -webkit-text-fill-color: #073f42 !important;
}
.bis-v38-hero .bis-v38-hero-trust * {
  opacity: 1 !important;
  text-shadow: none !important;
}
.bis-v38-hero .bis-v38-text-dark {
  color: #073f42 !important;
  -webkit-text-fill-color: #073f42 !important;
}
.bis-v38-hero .bis-v38-text-light {
  color: #fff7df !important;
  -webkit-text-fill-color: #fff7df !important;
}
.bis-v38-hero .bis-v38-badge-cream,
.bis-v38-hero .bis-v38-badge-gold {
  color: #073f42 !important;
  -webkit-text-fill-color: #073f42 !important;
}
.bis-v38-hero .bis-v38-badge-teal,
.bis-v38-hero .bis-v38-badge-dark {
  color: #fff7df !important;
  -webkit-text-fill-color: #fff7df !important;
}

/* não mexe nos links, só garante legibilidade visual */
.bis-v38-hero a,
.bis-v38-hero button {
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .bis-v38-hero {
    padding-top: 112px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .bis-v38-hero .bis-v38-hero-title {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    font-size: clamp(42px, 12vw, 64px) !important;
    line-height: 1.04 !important;
  }
  .bis-v38-hero .bis-v38-hero-subtitle {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
  }
  .bis-v38-hero .bis-v38-hero-trust {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }
}

/* ===== BOOKING OPTIONS: SAIBA MAIS ===== */
.bis-v38-tour-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 12px 0 14px;
  padding: 11px 13px;
  border-radius: 16px;
  background: rgba(255, 248, 234, .82);
  border: 1px solid rgba(216, 167, 45, .38);
  color: #073f42;
  font-weight: 800;
  font-size: .93rem;
  line-height: 1.35;
}
.bis-v38-tour-info-text { flex: 1 1 250px; }
.bis-v38-more-btn {
  appearance: none;
  border: 1px solid rgba(7, 94, 102, .22);
  cursor: pointer;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  font-weight: 950;
  color: #073f42;
  background: linear-gradient(135deg, #e0a71e, #f4c852);
  box-shadow: 0 8px 18px rgba(216, 167, 45, .18);
  transition: transform .15s ease, opacity .15s ease;
}
.bis-v38-more-btn:hover { transform: translateY(-1px); }
.bis-v38-more-btn:focus-visible { outline: 3px solid rgba(7, 94, 102, .32); outline-offset: 2px; }

.bis-v38-modal-open { overflow: hidden; }
.bis-v38-gallery-overlay,
.bis-v38-wa-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147482900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 24, 27, .72);
  backdrop-filter: blur(4px);
}
.bis-v38-gallery-overlay.active,
.bis-v38-wa-overlay.active { display: flex; }
.bis-v38-gallery-card,
.bis-v38-wa-card {
  width: min(920px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border-radius: 26px;
  background: #fff8ea;
  color: #073f42;
  border: 1px solid rgba(216,167,45,.7);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.bis-v38-gallery-head,
.bis-v38-wa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(7,94,102,.12);
}
.bis-v38-gallery-title,
.bis-v38-wa-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.15;
  font-weight: 950;
  color: #073f42;
}
.bis-v38-x {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #073f42;
  color: #fff8ea;
  font-size: 24px;
  font-weight: 900;
}
.bis-v38-gallery-body { padding: 18px; }
.bis-v38-gallery-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #073f42;
  min-height: 260px;
}
.bis-v38-gallery-img {
  display: block;
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  background: #073f42;
}
.bis-v38-gallery-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(2, 24, 27, .78);
  color: #fff8ea;
  font-weight: 950;
  text-align: center;
}
.bis-v38-gallery-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
}
.bis-v38-gallery-controls button,
.bis-v38-wa-actions button,
.bis-v38-wa-actions a {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 950;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bis-v38-gallery-controls button,
.bis-v38-wa-continue {
  background: linear-gradient(135deg, #e0a71e, #f4c852);
  color: #073f42;
}
.bis-v38-wa-stay {
  background: #073f42;
  color: #fff8ea;
}
.bis-v38-gallery-empty {
  padding: 34px 16px;
  text-align: center;
  font-weight: 850;
  color: #073f42;
}

/* ===== PATINHO / WHATSAPP ===== */
.bis-v38-duckbox {
  margin: 18px auto 10px;
  width: min(230px, 90%);
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff8ea, #f3e8c9);
  border: 1px solid rgba(216,167,45,.7);
  color: #073f42;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}
.bis-v38-duck-face { font-size: 52px; line-height: 1; display: block; margin-bottom: 6px; }
.bis-v38-wa-card { width: min(480px, 100%); }
.bis-v38-wa-body { padding: 18px; text-align: center; }
.bis-v38-wa-visual {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.bis-v38-wa-message {
  margin: 0 auto 18px;
  max-width: 360px;
  color: #294f55;
  line-height: 1.45;
  font-weight: 750;
}
.bis-v38-wa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
@media (max-width: 520px) {
  .bis-v38-tour-info { align-items: stretch; }
  .bis-v38-more-btn { width: 100%; }
  .bis-v38-gallery-card, .bis-v38-wa-card { border-radius: 20px; }
  .bis-v38-gallery-img { height: 55vh; }
}
