/* Componentes funcionais copiados de /styles.css (Kata, termo de aceite, cookies,
   modal dos professores, lotes/cupom/pagamento). Cores remapeadas via variáveis em novo.css. */
/* ── KEYFRAMES ───────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 195, 6, 0); }
  50%       { box-shadow: 0 0 0 6px rgba(255, 195, 6, 0.12); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glow-line {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ===== Botão flutuante de WhatsApp (lado esquerdo) ===== */
.wa-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 35;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.wa-float:hover { transform: scale(1.06); background: #1ebe5a; }
@media (max-width: 600px) {
  .wa-float { left: 16px; bottom: 16px; width: 52px; height: 52px; }
  body:has(.aichat--open) .wa-float { display: none; }
}

/* ===== Banner de cookies (consentimento LGPD) ===== */
.cookie-banner {
  position: fixed;
  left: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 940px;
  margin-inline: auto;
  padding: 16px 20px;
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  background: rgba(12, 17, 22, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  color: rgba(245, 245, 245, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--gold);
  white-space: nowrap;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  border-radius: 8px;
  padding: 10px 22px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn--ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.cookie-banner__btn--ghost:hover {
  color: var(--white);
  border-color: var(--muted);
}

.cookie-banner__btn--accept {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--black);
}

.cookie-banner__btn--accept:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.cookie-banner__link {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cookie-banner__link:hover {
  color: var(--white);
}

@media (max-width: 560px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
    padding: 13px 15px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie-banner__text {
    flex: none;
    font-size: 12px;
    line-height: 1.4;
  }
  .cookie-banner__actions {
    justify-content: center;
    gap: 8px;
  }
  .cookie-banner__btn {
    flex: 1;
    padding: 9px 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .cookie-banner__link {
    font-size: 10px;
    order: -1;
    margin-bottom: -6px;
  }
}

/* ─── Coach Modal ─────────────────────────────────── */
.coach-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.coach-modal[hidden] { display: none; }

.coach-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 9, 0.88);
  backdrop-filter: blur(6px);
}

.coach-modal__panel {
  position: relative;
  background: var(--graphite);
  border: 1px solid var(--line);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.coach-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.coach-modal__close:hover { color: var(--white); }

.coach-modal__name {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  margin: 0 0 24px;
  line-height: 1;
}

.coach-modal__body p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.coach-modal__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
}

.coach-modal__body li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.coach-modal__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.coach-modal__close-bottom {
  display: block;
  margin: 32px auto 0;
  background: none;
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.coach-modal__close-bottom:hover {
  background: var(--gold);
  color: var(--graphite);
}

/* ============================================================
   PACOTES → Lotes e Valores (integrado na seção #packages)
   ============================================================ */
.price-grid {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.price-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 24px);
}

.price-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.price-card--featured {
  border-color: var(--gold-line);
  background:
    linear-gradient(180deg, rgba(255, 195, 6, 0.05), transparent 40%),
    rgba(255, 255, 255, 0.03);
}

.price-tag {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.price-card__head h3 {
  margin: 10px 0 2px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.95;
  text-transform: uppercase;
  font-family: var(--display);
}

.price-dates {
  margin: 4px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-duration {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.lote-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lote {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 2.2vw, 26px);
  background: rgba(5, 7, 9, 0.4);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.lote__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lote__name {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lote__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lote__badge--open {
  color: var(--black);
  background: var(--gold);
}

.lote__badge--soon {
  color: var(--muted);
  background: rgba(245, 245, 245, 0.06);
  border: 1px solid var(--line);
}

.lote--locked.lote--scheduled {
  opacity: 1;
  filter: none;
  border-color: var(--gold-line);
  background:
    linear-gradient(180deg, rgba(255, 195, 6, 0.06), transparent 45%),
    rgba(5, 7, 9, 0.55);
}

.lote__countdown-hero {
  margin-top: 12px;
}

.lote__countdown-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lote__countdown-grid {
  display: grid;
  /* minmax(0, 1fr), não só 1fr — 1fr sozinho equivale a minmax(auto, 1fr),
     que nunca encolhe abaixo do conteúdo. Num card estreito (mobile, ou o
     3º card do Day Use) isso fazia a grade de 4 unidades estourar a
     largura do .price-card, que corta overflow — a unidade "Seg" sumia
     de vez e "Min" cortava no meio. Achado com Playwright real em 440px. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.lote__countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border-radius: 10px;
  border: 1px solid var(--gold-line);
  background: rgba(255, 195, 6, 0.07);
}

.lote__countdown-num {
  font-family: var(--display);
  font-size: clamp(18px, 4.5vw, 30px);
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 195, 6, 0.25);
}

.lote__countdown-lbl {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lote__price-sm--scheduled {
  color: var(--white);
}

/* Cards lado a lado (>= 880px): o número usa cqi (largura DESTA grade), não vw —
   em 2 colunas a caixa do lote fica estreita e "06" a 30px estourava a unidade.
   Abaixo disso (abas/mobile) continua exatamente como antes. */
@media (min-width: 880px) {
  .lote__countdown-grid { container-type: inline-size; }
  .lote__countdown-num { font-size: clamp(14px, 10cqi, 30px); }
}

@media (max-width: 420px) {
  .lote__countdown-grid {
    gap: 5px;
  }
  .lote__countdown-unit {
    padding: 8px 2px;
  }
}

.lote__price-sm--tbd {
  color: var(--muted);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lote--locked.lote--closed {
  opacity: 1;
  filter: none;
  border-color: var(--gold-line);
}

.lote__closed-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.lote__badge--closed {
  color: #ff5b5b;
  background: rgba(255, 60, 60, 0.08);
  border: 1px solid rgba(255, 60, 60, 0.5);
  text-shadow: 0 0 12px rgba(255, 60, 60, 0.45);
}

.lote__closed-icon {
  filter: drop-shadow(0 0 5px rgba(255, 60, 60, 0.6));
}

.lote__closed-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.lote__price-sm--closed {
  color: var(--white);
  text-decoration: line-through;
  text-decoration-color: rgba(245, 245, 245, 0.4);
  text-decoration-thickness: 2px;
}

.lote__lock {
  flex-shrink: 0;
}

.lote__from {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lote__price {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.01em;
}

.lote__price-value {
  background: linear-gradient(120deg, var(--sand), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lote__installments {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.lote--active .lote__cta {
  width: 100%;
  margin-top: 18px;
}

.lote__purchase {
  display: flex;
  flex-direction: column;
}

.lote__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.lote__qty[hidden] {
  display: none;
}

.lote__qty-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lote__qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lote__qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.4);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lote__qty-btn:hover {
  border-color: var(--gold);
  background: rgba(255, 195, 6, 0.12);
}

.lote__qty-input {
  width: 46px;
  height: 30px;
  min-height: 0;
  padding: 0;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.4);
  color: var(--white);
  font-size: 14px;
  -moz-appearance: textfield;
}

.lote__qty-input::-webkit-inner-spin-button,
.lote__qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lote__qty-error {
  margin: 8px 0 0;
  color: #ff6b6b;
  font-size: 12px;
}

.lote__inst-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.lote__inst-stepper[hidden] {
  display: none;
}

.lote__inst-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lote__inst-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lote__inst-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.4);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lote__inst-btn:hover {
  border-color: var(--gold);
  background: rgba(255, 195, 6, 0.12);
}

.lote__inst-value {
  min-width: 34px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.lote--active .lote__cta.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.lote--locked {
  opacity: 0.5;
  filter: grayscale(0.9);
}

.lote--locked .lote__price--locked {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--muted);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.lote--locked .lote__cta {
  width: 100%;
  margin-top: 16px;
  border-color: var(--line);
  color: var(--muted);
  background: transparent;
  cursor: not-allowed;
}

.lote--locked .lote__cta:hover {
  transform: none;
  gap: 12px;
  background: transparent;
}

.lote-includes {
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 2.4vw, 26px);
}

.lote-includes__title {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lote-includes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.lote-includes li {
  position: relative;
  padding-left: 18px;
  line-height: 1.4;
}

.lote-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.prices-currency-note {
  width: min(var(--max), 100%);
  max-width: 760px;
  margin: clamp(30px, 4vw, 48px) auto 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}

.prices-currency-note__base {
  display: block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

@media (max-width: 860px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Lotes: urgência, desconto, economia, anchoring ===== */
.urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  width: fit-content;
  align-self: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: urgencyPulse 1.7s ease-in-out infinite;
}

@keyframes urgencyPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes urgencyDot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px currentColor; }
  50% { transform: scale(1.4); box-shadow: 0 0 14px currentColor, 0 0 5px currentColor; }
}

.urgency--hot {
  color: #ff5b35;
  background: rgba(255, 91, 53, 0.12);
  border: 1px solid rgba(255, 91, 53, 0.4);
}

.urgency--low {
  color: var(--gold);
  background: rgba(255, 195, 6, 0.1);
  border: 1px solid var(--gold-line);
}

.urgency .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: urgencyDot 1.7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .urgency,
  .urgency .dot {
    animation: none;
  }
}

.lote__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.lote__discount {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--black);
  background: var(--gold);
}

.lote__discount--muted {
  color: var(--muted);
  background: rgba(245, 245, 245, 0.08);
  border: 1px solid var(--line);
}

/* Selo de cupom aplicado (assets/photos/cupom-aplicado-selo.svg, vetorial,
   fundo transparente) ao lado do valor. A porcentagem fica em HTML por cima
   da faixa do selo, girada no mesmo ângulo da faixa (-5.45deg) e centralizada
   nela — por isso acompanha a inclinação e escala junto com o selo. Entra com
   um "carimbo" e pisca 3 vezes. [hidden] precisa vencer o display. */
.lote__price-block {
  position: relative;
}

.lote__price {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
}

.lote__price-value {
  white-space: nowrap;
}

.coupon-stamp[hidden] {
  display: none;
}

.coupon-stamp {
  position: relative;
  flex-shrink: 1;
  width: 110px;
  min-width: 60px;
  aspect-ratio: 1;
  margin-block: -34px;
  container-type: inline-size;
  pointer-events: none;
  animation:
    couponStampIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    couponStampBlink 0.6s ease-in-out 0.5s 3;
}

.coupon-stamp__img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
}

/* Faixa do SVG: centro em (49.9%, 48.8%), altura interna ~24% do selo. */
.coupon-stamp__band {
  position: absolute;
  left: 49.9%;
  top: 48.8%;
  width: 62%;
  height: 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) rotate(-5.45deg);
}

.coupon-stamp__pct {
  font-family: var(--display);
  font-size: 27cqw;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
  white-space: nowrap;
}

@keyframes couponStampIn {
  0% { transform: scale(1.8) rotate(-12deg); opacity: 0; }
  60% { transform: scale(0.94) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes couponStampBlink {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 480px) {
  .coupon-stamp { width: 90px; margin-block: -24px; }
}

.lote__was {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.lote__was .lote__money {
  text-decoration: line-through;
  text-decoration-color: rgba(245, 245, 245, 0.45);
}

.lote--active .lote__price {
  margin-top: 2px;
}

.lote__save {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  padding: 8px 13px;
  border-radius: 8px;
  background: rgba(54, 211, 132, 0.12);
  border: 1px solid rgba(54, 211, 132, 0.35);
  color: #36d384;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lote__save-check {
  font-weight: 900;
}

.lote__locked-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.lote__price-sm {
  font-family: var(--display);
  font-size: 30px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.lote__final {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Seletor de moeda (segmentado) — acima do preço no Lote 1 */
.cur-seg {
  display: inline-flex;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 7, 9, 0.5);
}

.cur-seg button {
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 13px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.cur-seg button:last-child {
  border-right: 0;
}

.cur-seg button:hover {
  color: var(--white);
}

.cur-seg button.on {
  color: var(--black);
  background: var(--gold);
  font-weight: 700;
}

/* ── NOTA DE PREÇO (parcelamento selecionado) ── */
.lote__price-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.lote__price-note[hidden] {
  display: none;
}

/* ── SELETOR DE FORMA DE PAGAMENTO ── */
.lote__pay-opts {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lote__pay-opts[hidden] {
  display: none;
}

.lote__pay-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lote__pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  user-select: none;
}

.lote__pay-option:hover {
  border-color: rgba(255, 195, 6, 0.3);
  background: rgba(255, 195, 6, 0.03);
}

.lote__pay-option--active {
  border-color: var(--gold-line);
  background: rgba(255, 195, 6, 0.05);
}

.lote__pay-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}

.lote__pay-option--active .lote__pay-radio {
  border-color: var(--gold);
}

.lote__pay-radio::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lote__pay-option--active .lote__pay-radio::after {
  opacity: 1;
}

.lote__pay-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lote__pay-title {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.lote__pay-sub {
  color: var(--muted);
  font-size: 11px;
}

.lote__pay-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  flex-shrink: 0;
}

.lote__pay-price {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-align: right;
}

.lote__pay-price-sub {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
  white-space: nowrap;
}

/* ── CUPOM DE DESCONTO ── */
.lote__coupon-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.lote__coupon-row[hidden] {
  display: none;
}

.lote__coupon-input {
  flex: 1;
  padding: 9px 12px;
  background: rgba(5, 7, 9, 0.5);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}

.lote__coupon-input::placeholder {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.lote__coupon-input:focus {
  border-color: var(--gold-line);
  outline: none;
}

.lote__coupon-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lote__coupon-btn {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--gold-line);
  background: transparent;
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.lote__coupon-btn:hover:not(:disabled) {
  background: rgba(255, 195, 6, 0.1);
}

.lote__coupon-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.lote__coupon-feedback {
  margin: 5px 0 0;
  font-size: 12px;
  min-height: 16px;
}

.lote__coupon-feedback--ok {
  color: #4caf82;
}

.lote__coupon-feedback--err {
  color: #ff6b6b;
}

/* ============================================================
   Terms Acceptance Modal
   ============================================================ */
.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.terms-modal[hidden] { display: none; }

.terms-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.terms-modal__box {
  position: relative;
  z-index: 1;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  width: min(680px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.terms-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.terms-modal__title {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.terms-modal__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}
.terms-modal__close:hover { color: #fff; }

.terms-modal__body {
  overflow-y: auto;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.terms-modal__preview { display: flex; flex-direction: column; gap: 14px; }

.terms-modal__doc-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.terms-modal__doc-title-full {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0;
}
.terms-modal__doc-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.terms-modal__toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  font-size: 12px;
  padding: 7px 13px;
  transition: border-color 0.2s, color 0.2s;
}
.terms-modal__toggle:hover { border-color: rgba(255,255,255,0.35); color: #fff; }
.terms-modal__toggle-arrow { font-size: 10px; transition: transform 0.25s; display: inline-block; }
.terms-modal__toggle.is-open .terms-modal__toggle-arrow { transform: rotate(180deg); }

.terms-modal__text {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
}
.terms-modal__text[hidden] { display: none; }

/* ── contract inner typography ─────────────────────────────────────── */
.terms-modal__text .terms-doc__title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  text-align: center;
  margin: 0 0 5px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}
.terms-modal__text .terms-doc__event {
  font-size: 10.5px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.terms-modal__text .terms-doc__intro {
  font-style: italic;
  color: rgba(255,255,255,0.58);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.terms-modal__text .terms-section {
  margin-bottom: 14px;
}
.terms-modal__text .terms-section__title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.88);
  margin: 0 0 7px;
  padding: 6px 0 5px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.terms-modal__text .terms-section p {
  margin: 0 0 5px;
}
.terms-modal__text .terms-sub {
  padding-left: 10px;
  border-left: 2px solid rgba(255,255,255,0.12);
  margin: 0 0 6px;
}
.terms-modal__text .terms-sub__num {
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  margin-right: 3px;
}
.terms-modal__text .terms-declaration {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.terms-modal__text .terms-declaration__title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.88);
  margin: 0 0 8px;
}
.terms-modal__text .terms-declaration p {
  margin: 0 0 4px;
  color: rgba(255,255,255,0.6);
}

.terms-modal__form { display: flex; flex-direction: column; gap: 16px; }

.terms-modal__checks { display: flex; flex-direction: column; gap: 10px; }

.terms-modal__check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  line-height: 1.4;
}
.terms-modal__check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-accent, #e5c67a);
  cursor: pointer;
}

.terms-modal__fields { display: flex; flex-direction: column; gap: 10px; }

.terms-modal__input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.terms-modal__input:focus { border-color: rgba(255,255,255,0.4); }
.terms-modal__input::placeholder { color: rgba(255,255,255,0.38); }

.terms-modal__error {
  color: #f87171;
  font-size: 13px;
  margin: 0;
}
.terms-modal__error[hidden] { display: none; }

.terms-modal__submit { width: 100%; }
.terms-modal__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── AI CHAT WIDGET ───────────────────────────────────── */
@keyframes aichat-pop {
  from { opacity: 0; transform: scale(0.9) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes aichat-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes aichat-typing {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.35; }
  40%           { transform: scale(1);   opacity: 1; }
}


/* ── WhatsApp status badge: balão de PENSAMENTO (nuvem) perto do .wa-float ── */
.wa-status-badge {
  position: fixed;
  left: 24px;
  bottom: 98px;
  max-width: 240px;
  background: #fff;
  color: #222;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  pointer-events: none;
  z-index: 56;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.wa-status-badge.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-status-badge__link {
  display: block;
  color: inherit;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  padding: 10px 26px 10px 16px;
  cursor: pointer;
}
.wa-status-badge__close {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.wa-status-badge__close:hover { background: rgba(0,0,0,0.06); color: #555; }
/* Bolha média — trilha do balão de pensamento até o botão */
.wa-status-badge::before {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -14px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
/* Bolha pequena — mais perto do botão do WhatsApp */
.wa-status-badge::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -22px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.wa-status-badge__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #1ebe5a;
  margin-bottom: 3px;
}
.wa-status-badge--offline .wa-status-badge__status { color: #9a9a9a; }
.wa-status-badge__dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
}
.wa-status-badge--offline .wa-status-badge__dot { background: #b0b0b0; }
@media (max-width: 600px) {
  .wa-status-badge { left: 20px; bottom: 88px; max-width: 210px; }
}

/* ── FAB Button — posição fixa independente da janela ── */
.aichat__fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9991;
  width: 72px;
  height: 72px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.5));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.aichat__fab:hover {
  transform: scale(1.09);
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.6));
}
.aichat__fab-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ── Chat Window — posição fixa, abre acima do FAB ── */
.aichat__window {
  position: fixed;
  bottom: 100px; /* 20px FAB bottom + 68px FAB height + 12px gap */
  right: 20px;
  z-index: 9990;
  width: 340px;
  max-height: 520px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: aichat-pop 0.25s cubic-bezier(0.22,1,0.36,1) both;
}
.aichat__window[hidden] { display: none; }

/* ── Header — fundo escuro com mascote ── */
.aichat__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
  background: linear-gradient(135deg, #1a1c22 0%, #111318 100%);
  flex-shrink: 0;
}
.aichat__header-mascot {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.aichat__header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.aichat__header-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.3px;
}
.aichat__header-status {
  font-size: 11px;
  color: #4ade80;
  letter-spacing: 0.2px;
}
.aichat__close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}
.aichat__close-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ── Messages — fundo branco ── */
.aichat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7f8fa;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.aichat__messages::-webkit-scrollbar { width: 4px; }
.aichat__messages::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 4px;
}

.aichat__msg {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  animation: aichat-msg-in 0.2s ease both;
  word-break: break-word;
}
.aichat__msg--bot {
  background: #fff;
  color: #1a1a1a;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.aichat__msg--user {
  background: linear-gradient(135deg, #c9a227 0%, #e0bc50 100%);
  color: #1a1100;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
}
.aichat__msg--action {
  align-self: center;
  background: rgba(201,162,39,0.1);
  color: rgba(0,0,0,0.45);
  font-size: 11.5px;
  border-radius: 20px;
  padding: 4px 12px;
  max-width: 100%;
  text-align: center;
  animation: aichat-msg-in 0.2s ease both;
}
.aichat__wa-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: 0 2px 6px rgba(37,211,102,0.35);
  animation: aichat-msg-in 0.2s ease both;
}
.aichat__wa-btn::before { content: "\1F4AC"; }
.aichat__wa-btn:hover { background: #1ebe5a; }

/* Typing indicator */
.aichat__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 11px 14px;
  background: #fff;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  animation: aichat-msg-in 0.2s ease both;
}
.aichat__typing span {
  width: 7px;
  height: 7px;
  background: #aaa;
  border-radius: 50%;
  display: inline-block;
  animation: aichat-typing 1.2s infinite ease-in-out;
}
.aichat__typing span:nth-child(2) { animation-delay: 0.2s; }
.aichat__typing span:nth-child(3) { animation-delay: 0.4s; }

/* ── Footer ── */
.aichat__footer {
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  background: #fff;
}
.aichat__input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.aichat__input {
  flex: 1;
  background: #f2f3f5;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #1a1a1a;
  font-size: 13.5px;
  font-family: inherit;
  padding: 9px 13px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.aichat__input::placeholder { color: #aaa; }
.aichat__input:focus {
  border-color: rgba(201,162,39,0.5);
  background: #fff;
}
.aichat__send-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #c9a227 0%, #ddb93e 100%);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 2px 8px rgba(201,162,39,0.35);
}
.aichat__send-btn:hover { transform: scale(1.08); }
.aichat__send-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ── Bold dentro das mensagens do bot ── */
.aichat__msg--bot strong { font-weight: 700; color: #111; }

/* ── Mascot popup (auto, 15s) ── */
@keyframes aichat-mascot-in {
  from { opacity: 0; transform: translateY(60px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.aichat__mascot-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9992;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  cursor: pointer;
  animation: aichat-mascot-in 0.45s cubic-bezier(0.22,1,0.36,1) both;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.aichat__mascot-popup--hide {
  opacity: 0;
  transform: translateY(60px) scale(0.8);
}
@keyframes aichat-bubble-in {
  from { opacity: 0; transform: translateY(12px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
@keyframes aichat-bubble-out {
  from { opacity: 1; transform: translateY(0)  scale(1); }
  to   { opacity: 0; transform: translateY(-8px) scale(0.9); }
}
.aichat__mascot-bubble {
  background: #fff;
  border-radius: 14px 14px 4px 14px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  max-width: 200px;
  line-height: 1.45;
  margin-bottom: 10px;
  position: relative;
  animation: aichat-bubble-in 0.38s cubic-bezier(0.22,1,0.36,1) both;
}
/* Seta aponta para a cabeça do robô (centro do topo da imagem) */
.aichat__mascot-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
}
.aichat__mascot-bubble--cta {
  background: #C9A227;
  color: #111;
  font-weight: 800;
  font-size: 13px;
  border-radius: 14px 14px 4px 14px;
}
.aichat__mascot-bubble--cta::after {
  border-top-color: #C9A227;
}
.aichat__mascot-img {
  width: 150px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.35));
}

/* ── Destaque da seção quando a IA faz scroll ── */
@keyframes aichat-section-pulse {
  0%, 100% { box-shadow: none; }
  30%, 70%  { box-shadow: 0 0 0 4px rgba(201,162,39,0.35), 0 0 24px rgba(201,162,39,0.12); }
}
.aichat-highlight {
  animation: aichat-section-pulse 0.7s ease 3;
  scroll-margin-top: 80px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .aichat__fab { right: 14px; bottom: 14px; }
  .aichat__window { width: calc(100vw - 28px); right: 14px; bottom: 94px; max-height: 68vh; }
  .aichat__mascot-popup { right: 14px; bottom: 14px; }
  .aichat__mascot-img { width: 120px; }
  .aichat__mascot-bubble { font-size: 12px; max-width: 170px; }
}

/* Chat bottom-sheet no mobile quando aberto */
@media (max-width: 600px) {
  .aichat--open .aichat__window {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 88dvh;
    max-height: 88dvh;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.22);
    animation: aichat-sheet-in 0.3s cubic-bezier(0.22,1,0.36,1) both;
  }
  @keyframes aichat-sheet-in {
    from { transform: translateY(100%); opacity: 0.6; }
    to   { transform: translateY(0);    opacity: 1; }
  }
  .aichat--open .aichat__fab {
    display: none;
  }
}
