/* ==========================================================================
   Conversion UI — social proof, floating WhatsApp, sticky mobile action bar.
   Kept separate from styles.css so it can be reverted by dropping one enqueue.
   ========================================================================== */

:root {
  --bz-wa: #25d366;
  --bz-wa-deep: #1da851;
  --bz-ta: #00aa6c;
  --bz-star: #e0a325;
  --bz-sticky-h: 62px;
}

/* ── Social proof ──────────────────────────────────────────────────────── */

.bz-reviews {
  padding: clamp(48px, 7vw, 84px) var(--carousel-edge-gap, 20px);
  background: linear-gradient(180deg, rgb(232 239 238 / 55%) 0%, rgb(232 239 238 / 0%) 100%);
}

.bz-reviews-inner {
  max-width: var(--max-shell, 1240px);
  margin: 0 auto;
}

.bz-reviews-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.bz-reviews-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--breeze-brand-soft, #3f6a63);
}

.bz-reviews-title {
  margin: 0 0 14px;
  font-size: clamp(23px, 3.2vw, 34px);
  line-height: 1.22;
  font-weight: 600;
  color: var(--breeze-brand-deep, #1d3a35);
}

.bz-reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  font-size: 14px;
  color: var(--breeze-brand-ink, #223b37);
}

.bz-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--bz-star);
  line-height: 0;
}

.bz-reviews-score-text {
  font-weight: 600;
}

.bz-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.bz-review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--card, #fffdf9);
  border: 1px solid var(--line-soft, #d1ddd8);
  border-radius: var(--radius, 14px);
  box-shadow: 0 2px 10px rgb(29 58 53 / 5%);
}

.bz-review-stars {
  display: flex;
  gap: 2px;
  margin: 0;
  color: var(--bz-star);
  line-height: 0;
}

.bz-review-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink, #1a1a1a);
}

.bz-review-text::before {
  content: "\201C";
}

.bz-review-text::after {
  content: "\201D";
}

.bz-review-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft, #d1ddd8);
  font-size: 13px;
  color: var(--breeze-brand-soft, #3f6a63);
}

.bz-review-name {
  font-weight: 600;
  color: var(--breeze-brand-deep, #1d3a35);
}

.bz-reviews-cta {
  margin: clamp(24px, 3vw, 34px) 0 0;
  text-align: center;
}

.bz-reviews-cta a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--bz-ta);
  border-radius: 999px;
  color: var(--bz-ta);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.bz-reviews-cta a:hover,
.bz-reviews-cta a:focus-visible {
  background: var(--bz-ta);
  color: #fff;
}

/* ── Floating WhatsApp ─────────────────────────────────────────────────── */

.bz-wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bz-wa);
  color: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 22%);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.bz-wa-float:hover,
.bz-wa-float:focus-visible {
  background: var(--bz-wa-deep);
  transform: translateY(-2px);
}

/* ── Sticky action bar (mobile only) ───────────────────────────────────── */

.bz-sticky-bar {
  display: none;
}

@media (max-width: 980px) {
  .bz-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
    background: rgb(255 253 249 / 96%);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line-soft, #d1ddd8);
    box-shadow: 0 -2px 14px rgb(29 58 53 / 10%);
  }

  .bz-sticky-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    border-radius: 8px;
    background: var(--breeze-brand, #2a4e48);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
  }

  .bz-sticky-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    border-radius: 8px;
    background: var(--bz-wa);
    color: #fff;
    flex: 0 0 auto;
  }

  /* Lift the floating bubble clear of the bar. */
  .bz-wa-float {
    bottom: calc(var(--bz-sticky-h) + 14px);
    width: 48px;
    height: 48px;
  }

  /* Stop the bar covering the end of the page. */
  body {
    padding-bottom: var(--bz-sticky-h);
  }
}

/* Two WhatsApp entry points on one small screen is noise — keep the bar's. */
@media (max-width: 620px) {
  .bz-wa-float {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bz-wa-float,
  .bz-reviews-cta a {
    transition: none;
  }

  .bz-wa-float:hover,
  .bz-wa-float:focus-visible {
    transform: none;
  }
}

/* ── Nav CTA ───────────────────────────────────────────────────────────────
   "Peça o itinerário" is roughly twice the width of the old "Contactar".
   Keep it on one line and let it shed padding before the nav wraps.
   ------------------------------------------------------------------------ */

.nav-btn-inquire {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .nav-btn-inquire {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
  }
}
