/* LOCVIA App — barra inferior, convite de instalação e ajustes em modo app */
:root {
  --lva-navy: #0F2540;
  --lva-gold: #C9A96E;
  --lva-nav-h: 64px;
  --lva-safe: env(safe-area-inset-bottom, 0px);
}

/* ---------- Barra inferior ---------- */
.lva-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99990;
  height: calc(var(--lva-nav-h) + var(--lva-safe));
  padding: 0 6px var(--lva-safe);
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid rgba(15, 37, 64, .10);
  box-shadow: 0 -4px 18px rgba(15, 37, 64, .06);
  justify-content: space-around;
  align-items: stretch;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: transform .25s ease;
}
html.lva-standalone .lva-nav[data-mode="app"],
html.lva-standalone .lva-nav[data-mode="mobile"] { display: flex; }
@media (max-width: 782px) {
  .lva-nav[data-mode="mobile"] { display: flex; }
}
@media (min-width: 1025px) {
  /* App instalada no computador: sem barra inferior, o menu do site chega. */
  html.lva-standalone .lva-nav { display: none !important; }
}
html.lva-typing .lva-nav { transform: translateY(110%); }

.lva-nav__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding-bottom: 10px;
  min-width: 0;
  color: #5b6676 !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .01em;
  -webkit-tap-highlight-color: transparent;
}
.lva-nav__item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lva-nav__item.is-active { color: var(--lva-navy) !important; font-weight: 600; }
.lva-nav__item.is-active svg { stroke-width: 2.1; }
.lva-nav__item:active { opacity: .6; }

.lva-nav__item--primary svg {
  width: 40px; height: 40px;
  padding: 9px;
  position: relative;
  top: -12px;
  margin-bottom: -18px;
  border-radius: 50%;
  background: var(--lva-navy);
  color: var(--lva-gold);
  stroke-width: 2.2;
  box-shadow: 0 4px 12px rgba(15, 37, 64, .28);
}
.lva-nav__item--primary span { position: relative; }

/* Espaço no fundo da página para a barra não tapar conteúdo */
html.lva-standalone body.lva-has-nav-app,
html.lva-standalone body.lva-has-nav-mobile { padding-bottom: calc(var(--lva-nav-h) + var(--lva-safe)) !important; }
@media (max-width: 782px) {
  body.lva-has-nav-mobile { padding-bottom: calc(var(--lva-nav-h) + var(--lva-safe)) !important; }
}
@media (min-width: 1025px) {
  html.lva-standalone body { padding-bottom: 0 !important; }
}

/* ---------- Modo app (instalada) ---------- */
html.lva-standalone body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
html.lva-standalone #wpadminbar { display: none !important; }
html.lva-standalone { margin-top: 0 !important; }
@supports (padding-top: env(safe-area-inset-top)) {
  html.lva-standalone body { padding-top: env(safe-area-inset-top); }
}

/* ---------- Convite de instalação ---------- */
.lva-install {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + var(--lva-safe));
  z-index: 99995;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  background: #fff;
  color: #1b2430;
  border: 1px solid rgba(15, 37, 64, .10);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 37, 64, .18);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13.5px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
}
.lva-install[hidden] { display: none; }
.lva-install.is-open { opacity: 1; transform: none; }
.lva-install__icon { width: 48px; height: 48px; border-radius: 11px; flex: none; }
.lva-install__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lva-install__text strong { font-size: 14.5px; color: var(--lva-navy); }
.lva-install__msg { color: #5b6676; }
.lva-install__actions { display: flex; align-items: center; gap: 4px; flex: none; }
.lva-install__go {
  background: var(--lva-navy); color: #fff; border: 0;
  border-radius: 999px; padding: 9px 16px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.lva-install__go[hidden] { display: none; }
.lva-install__close {
  background: none; border: 0; color: #8a94a3;
  font-size: 24px; line-height: 1; width: 34px; height: 34px; cursor: pointer;
}
@media (max-width: 782px) {
  body.lva-has-nav-mobile .lva-install { bottom: calc(var(--lva-nav-h) + 12px + var(--lva-safe)); }
}

/* ---------- Shortcode ---------- */
.lva-sc { margin: 1.5em 0; }
.lva-sc__btn {
  background: var(--lva-navy); color: #fff; border: 0;
  border-radius: 999px; padding: 14px 26px;
  font-size: 16px; font-weight: 600; cursor: pointer;
}
.lva-sc__btn[hidden], .lva-sc p[hidden] { display: none; }

/* =====================================================================
 * v0.2 — componentes
 * ===================================================================== */
.lva-toast, .lva-sheet, .lva-voice, .lva-hub, .lva-buyer, .lva-banner, .lva-favs, .lva-near, .lva-chip-alert, .lva-card, .lva-import {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.lva-muted { color: #6b7684; font-size: 14px; margin: 8px 0; }
.lva-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--lva-navy) !important; border: 1px solid rgba(15,37,64,.18);
  border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600;
  text-decoration: none !important; cursor: pointer; line-height: 1.2;
}
.lva-pill:hover { border-color: var(--lva-navy); }

/* ---------- Toast ---------- */
.lva-toast {
  position: fixed; left: 12px; right: 12px; bottom: calc(16px + var(--lva-safe)); z-index: 100010;
  max-width: 440px; margin: 0 auto; padding: 12px 14px;
  background: var(--lva-navy); color: #fff; border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15,37,64,.3); font-size: 14px; line-height: 1.4;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .25s ease;
}
.lva-toast.is-open { opacity: 1; transform: none; pointer-events: auto; }
.lva-toast b { color: var(--lva-gold); }
.lva-toast__actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lva-toast__actions button {
  background: var(--lva-gold); color: var(--lva-navy); border: 0; border-radius: 999px;
  padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer;
}
html.lva-standalone .lva-toast { bottom: calc(var(--lva-nav-h) + 12px + var(--lva-safe)); }
@media (max-width: 782px) { body.lva-has-nav-mobile .lva-toast { bottom: calc(var(--lva-nav-h) + 12px + var(--lva-safe)); } }

/* ---------- Folha inferior ---------- */
html.lva-sheet-open, html.lva-sheet-open body { overflow: hidden; }
.lva-sheet { position: fixed; inset: 0; z-index: 100000; }
.lva-sheet__backdrop { position: absolute; inset: 0; background: rgba(10,22,38,.45); opacity: 0; transition: opacity .25s; }
.lva-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow: auto;
  background: #fff; border-radius: 22px 22px 0 0; padding: 6px 18px calc(20px + var(--lva-safe));
  transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 -10px 40px rgba(15,37,64,.18);
}
.lva-sheet--tall .lva-sheet__panel { height: 88vh; max-height: 88vh; }
.lva-sheet.is-open .lva-sheet__backdrop { opacity: 1; }
.lva-sheet.is-open .lva-sheet__panel { transform: none; }
@media (min-width: 783px) {
  .lva-sheet__panel { left: 50%; right: auto; width: 520px; margin-left: -260px; bottom: 24px; border-radius: 22px; max-height: 86vh; }
  .lva-sheet--tall .lva-sheet__panel { height: auto; min-height: 60vh; }
}
.lva-sheet__grip { width: 40px; height: 4px; border-radius: 4px; background: #d9dee5; margin: 6px auto 8px; }
.lva-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lva-sheet__head h3 { margin: 0; font-size: 18px; color: var(--lva-navy); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.lva-sheet__x { background: #f1f3f6; border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; color: #5b6676; cursor: pointer; }
.lva-ana-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lva-gold); box-shadow: 0 0 0 4px rgba(201,169,110,.25); }

/* ---------- Hub ---------- */
.lva-hub { display: flex; flex-direction: column; gap: 6px; }
.lva-hub__row {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: #f7f6f3; border: 0; border-radius: 14px; padding: 13px 14px; cursor: pointer; color: #1b2430;
}
.lva-hub__row:active { background: #efede8; }
.lva-hub__row b { display: block; font-size: 15px; color: var(--lva-navy); }
.lva-hub__row small { display: block; font-size: 12.5px; color: #6b7684; margin-top: 2px; }
.lva-hub__ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--lva-navy); color: var(--lva-gold); display: grid; place-items: center; font-size: 19px; }
.lva-hub__cur { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 4px 0; font-size: 14px; color: #3c4756; }
.lva-cur { border: 1px solid rgba(15,37,64,.2); border-radius: 10px; padding: 6px 8px; font-size: 14px; background: #fff; color: var(--lva-navy); }

/* ---------- Ana (voz) ---------- */
.lva-voice__hero { text-align: center; padding: 6px 0 4px; }
.lva-voice__mic {
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--lva-navy); color: var(--lva-gold); display: inline-grid; place-items: center;
  box-shadow: 0 10px 28px rgba(15,37,64,.3); position: relative;
}
.lva-voice__mic.is-listening { animation: lva-pulse 1.3s ease-out infinite; background: #13325a; }
@keyframes lva-pulse { 0% { box-shadow: 0 0 0 0 rgba(201,169,110,.55); } 100% { box-shadow: 0 0 0 26px rgba(201,169,110,0); } }
.lva-voice__status { color: #5b6676; font-size: 14px; margin: 12px 0 2px; }
.lva-voice__said { color: var(--lva-navy); font-size: 17px; font-weight: 600; min-height: 1.4em; margin: 4px 0 8px; }
.lva-voice__form { display: flex; gap: 8px; margin: 6px 0 10px; }
.lva-voice__form input, .lva-import input {
  flex: 1; min-width: 0; border: 1px solid rgba(15,37,64,.2); border-radius: 12px; padding: 11px 12px; font-size: 16px;
}
.lva-voice__form button, .lva-import button {
  background: var(--lva-navy); color: #fff; border: 0; border-radius: 12px; padding: 0 16px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.lva-import { display: flex; flex-direction: column; gap: 10px; }
.lva-import button { padding: 12px 16px; }
.lva-voice__examples { display: flex; flex-wrap: wrap; gap: 6px; }
.lva-voice__examples button, .lva-voice__sugg button {
  background: #f7f6f3; border: 1px solid #ebe7df; color: #3c4756; border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer; text-align: left;
}
.lva-voice__sugg { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; }
.lva-voice__sugg button { background: #fff8ec; border-color: #ecd9b4; color: #6a4f1d; font-weight: 600; }
.lva-voice__understood { background: #f1f4f8; border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--lva-navy); font-weight: 600; margin-top: 8px; }
.lva-voice__understood span { color: #6b7684; font-weight: 500; }
.lva-voice__say { font-size: 15px; color: #1b2430; margin: 10px 0; }
.lva-voice__alert { width: 100%; margin-top: 12px; background: #fff; border: 1.5px dashed var(--lva-gold); color: var(--lva-navy); border-radius: 12px; padding: 12px; font-weight: 700; cursor: pointer; }
.lva-voice__mute { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b7684; margin-top: 16px; }
.lva-voice__send p { margin: 14px 0 8px; font-size: 14px; color: var(--lva-navy); }

/* ---------- Partilha ---------- */
.lva-share { display: flex; flex-wrap: wrap; gap: 8px; }
.lva-share__btn {
  flex: 1 1 auto; text-align: center; border: 0; border-radius: 12px; padding: 11px 12px; font-weight: 700; font-size: 14px;
  text-decoration: none !important; cursor: pointer; color: #fff !important;
}
.lva-share__btn--wa { background: #1fa855; }
.lva-share__btn--tg { background: #2a9fd8; }
.lva-share__btn--em { background: var(--lva-navy); }
.lva-share__btn--more, .lva-share__btn--copy { background: #f1f3f6; color: var(--lva-navy) !important; }

/* ---------- Cartões ---------- */
.lva-cards { display: grid; gap: 10px; margin: 10px 0; }
@media (min-width: 700px) { .lva-favs .lva-cards, .lva-near:not(.lva-sheet .lva-near) .lva-cards { grid-template-columns: repeat(2, 1fr); } }
.lva-card {
  display: flex; gap: 12px; align-items: stretch; background: #fff; border: 1px solid #ece9e3; border-radius: 14px;
  overflow: hidden; text-decoration: none !important; color: #1b2430 !important; min-height: 92px;
}
.lva-card img, .lva-card__noimg { width: 112px; flex: none; object-fit: cover; background: #e9e6df; }
.lva-card__body { display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 10px 0; min-width: 0; }
.lva-card__title { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--lva-navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lva-card__place { font-size: 12.5px; color: #6b7684; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lva-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: auto; }
.lva-card__price { font-size: 15px; color: #1b2430; }
.lva-card__walk { font-size: 12.5px; color: #3c4756; font-weight: 600; }
.lva-card.is-gone { opacity: .55; }
.lva-fx { display: block; font-size: 12.5px; font-weight: 500; color: #8a6b32; margin-top: 2px; }
.lva-card .lva-fx { display: inline; margin: 0; }
.lva-badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.lva-badge--green { background: #e6f5ec; color: #1d7a45; }
.lva-badge--grey { background: #eef0f3; color: #6b7684; }

/* ---------- Corações ---------- */
.lva-heart {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--lva-navy); box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: transform .15s ease;
}
.lva-heart svg { fill: none; stroke: currentColor; stroke-width: 1.9; }
.lva-heart.is-on { color: #d64545; }
.lva-heart.is-on svg { fill: currentColor; }
.lva-heart:active { transform: scale(.88); }
.lva-heart.lva-pop { animation: lva-pop .4s ease; }
@keyframes lva-pop { 50% { transform: scale(1.25); } }
.lva-heart--card { position: absolute; top: 10px; right: 10px; z-index: 5; }
.lva-page-actions { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.lva-heart--page { box-shadow: none; border: 1px solid rgba(15,37,64,.18); }

/* ---------- Alerta de pesquisa ---------- */
.lva-chip-alert {
  position: fixed; left: 50%; bottom: calc(18px + var(--lva-safe)); z-index: 99980;
  transform: translate(-50%, 30px); opacity: 0; transition: all .35s ease;
  background: var(--lva-navy); color: #fff; border: 0; border-radius: 999px; padding: 11px 18px;
  font-weight: 700; font-size: 14px; box-shadow: 0 10px 26px rgba(15,37,64,.3); cursor: pointer; white-space: nowrap;
}
.lva-chip-alert.is-in { transform: translate(-50%, 0); opacity: 1; }
html.lva-standalone .lva-chip-alert { bottom: calc(var(--lva-nav-h) + 14px + var(--lva-safe)); }
@media (max-width: 782px) { body.lva-has-nav-mobile .lva-chip-alert { bottom: calc(var(--lva-nav-h) + 14px + var(--lva-safe)); } }

/* ---------- Comprador internacional ---------- */
.lva-buyer {
  margin: 14px 0 18px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(180deg, #fbf8f2, #fff); border: 1px solid #ecdfc6; color: #1b2430; font-size: 14px;
}
.lva-buyer__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; color: var(--lva-navy); margin-bottom: 8px; }
.lva-buyer__big { font-size: 20px; font-weight: 700; margin: 4px 0; }
.lva-buyer__big small, .lva-buyer__table small { color: #8a6b32; font-weight: 500; }
.lva-buyer__table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; }
.lva-buyer__table td { padding: 7px 0; border-bottom: 1px solid #f0e8d8; vertical-align: top; }
.lva-buyer__table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.lva-buyer__table td small { display: inline; font-size: 12px; color: #8a8f98; }
.lva-buyer__table td:last-child small { display: block; color: #8a6b32; }
.lva-buyer__total td { border-bottom: 0; font-size: 16px; font-weight: 800 !important; color: var(--lva-navy); padding-top: 10px; }
.lva-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: #3c4756; margin: 6px 0; cursor: pointer; }
.lva-check input { margin-top: 3px; }
.lva-buyer__note { font-size: 12px; color: #8a8f98; margin: 8px 0 0; line-height: 1.4; }

/* ---------- Favoritos ---------- */
.lva-favs__push { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #f7f6f3; border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--lva-navy); font-weight: 600; }
.lva-favs__h { font-size: 18px; color: var(--lva-navy); margin: 22px 0 6px; }
.lva-favs__h small { color: #8a8f98; font-weight: 500; font-size: 14px; }
.lva-favs__item { position: relative; }
.lva-favs__rm { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); box-shadow: 0 1px 4px rgba(0,0,0,.12); font-size: 18px; line-height: 1; cursor: pointer; color: #6b7684; }
.lva-favs__searches { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lva-favs__searches li { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ece9e3; border-radius: 12px; padding: 10px 44px 10px 12px; font-size: 14px; }
.lva-favs__searches li span { flex: 1; min-width: 0; }
.lva-favs__searches .lva-favs__rm { top: 50%; transform: translateY(-50%); }
.lva-empty { text-align: center; padding: 30px 10px; }
.lva-empty__ico { font-size: 40px; color: var(--lva-gold); margin: 0; }

/* ---------- Perto de mim ---------- */
.lva-near__head { display: flex; flex-direction: column; gap: 10px; }
.lva-near__go { background: var(--lva-navy); color: #fff; border: 0; border-radius: 14px; padding: 14px; font-weight: 700; font-size: 15px; cursor: pointer; }
.lva-near__radius { display: flex; gap: 6px; flex-wrap: wrap; }
.lva-near__radius button { background: #fff; border: 1px solid rgba(15,37,64,.18); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; color: #3c4756; }
.lva-near__radius button.is-on { background: var(--lva-navy); color: #fff; border-color: var(--lva-navy); }
.lva-near__count { font-weight: 700; color: var(--lva-navy); margin: 14px 0 4px; }

/* ---------- Botão de voz (shortcode) ---------- */
.lva-voicebtn {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--lva-navy);
  border: 1px solid rgba(15,37,64,.18); border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 700; font-size: 15px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(15,37,64,.08);
}
.lva-voicebtn__mic { width: 36px; height: 36px; border-radius: 50%; background: var(--lva-navy); color: var(--lva-gold); display: grid; place-items: center; }

/* ---------- Banner da app ---------- */
.lva-banner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; align-items: stretch;
  margin: 48px auto; max-width: 1060px; border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid #ece9e3; box-shadow: 0 18px 50px rgba(15,37,64,.08);
}
.lva-banner[hidden] { display: none; }
.lva-banner__visual {
  background: radial-gradient(120% 90% at 30% 20%, #1b3a63 0%, var(--lva-navy) 60%, #0a1a2e 100%);
  display: flex; align-items: center; justify-content: center; padding: 36px 20px; position: relative; overflow: hidden;
}
.lva-banner__visual::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(201,169,110,.25); right: -120px; bottom: -140px;
}
.lva-banner__body { padding: 38px 38px 34px; display: flex; flex-direction: column; }
.lva-banner__eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8a6b32; font-weight: 700; }
.lva-banner__title { margin: 0 0 8px; font-size: 30px; line-height: 1.15; color: var(--lva-navy); font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.lva-banner__text { margin: 0 0 14px; color: #4a5562; font-size: 16px; line-height: 1.5; }
.lva-banner__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: #3c4756; line-height: 1.4; }
.lva-banner__list b { color: var(--lva-navy); }
.lva-banner__cta { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid #f0ece4; }
.lva-banner__qr { width: 112px; height: 112px; flex: none; padding: 8px; background: #fff; border: 1px solid #e6e1d6; border-radius: 12px; }
.lva-banner__qr svg { width: 100%; height: 100%; display: block; }
.lva-banner__qr svg path, .lva-banner__qr svg rect[fill="black"] { fill: var(--lva-navy); }
.lva-banner__qrtext b { display: block; color: var(--lva-navy); font-size: 15px; }
.lva-banner__qrtext span { font-size: 13.5px; color: #6b7684; }
.lva-banner__btn {
  display: none; background: var(--lva-navy); color: #fff !important; text-decoration: none !important;
  border-radius: 999px; padding: 14px 22px; font-weight: 700; text-align: center;
}
@media (max-width: 860px) {
  .lva-banner { grid-template-columns: 1fr; margin: 28px 0; border-radius: 18px; }
  .lva-banner__visual { padding: 26px 16px 0; align-items: flex-end; max-height: 300px; }
  .lva-banner__body { padding: 24px 20px 22px; }
  .lva-banner__title { font-size: 25px; }
  .lva-banner__qr, .lva-banner__qrtext { display: none; }
  .lva-banner__btn { display: block; flex: 1; }
  .lva-banner__cta { border-top: 0; padding-top: 4px; }
}

/* Telemóvel desenhado em CSS (sem imagens nem créditos) */
.lva-phone {
  width: 230px; height: 440px; border-radius: 38px; background: #0a0f17; padding: 10px; position: relative; z-index: 1;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #2a3240; transform: rotate(-4deg);
}
.lva-phone__notch { position: absolute; top: 16px; left: 50%; width: 70px; height: 20px; margin-left: -35px; background: #0a0f17; border-radius: 12px; z-index: 2; }
.lva-phone__screen {
  height: 100%; border-radius: 30px; background: #f4f2ee; overflow: hidden; position: relative;
  display: flex; flex-direction: column; gap: 9px; padding: 40px 10px 0; font-size: 10.5px; line-height: 1.35; color: #1b2430;
}
.lva-phone__bar { position: absolute; top: 12px; left: 18px; right: 18px; display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: #1b2430; }
.lva-phone__bar span:nth-child(2) { opacity: 0; }
.lva-phone__brand { font-family: Georgia, serif; color: var(--lva-navy); letter-spacing: .08em; }
.lva-phone__push { display: flex; gap: 8px; background: rgba(255,255,255,.96); border-radius: 14px; padding: 8px; box-shadow: 0 6px 16px rgba(15,37,64,.14); animation: lva-drop 4s ease-in-out infinite; }
.lva-phone__push img { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.lva-phone__push b { display: block; font-size: 10.5px; }
.lva-phone__push span { color: #4a5562; }
@keyframes lva-drop { 0%, 8% { transform: translateY(-70px); opacity: 0; } 18%, 85% { transform: none; opacity: 1; } 100% { transform: translateY(-70px); opacity: 0; } }
.lva-phone__bubble { background: #fff; border-radius: 14px 14px 14px 4px; padding: 8px 10px; max-width: 88%; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.lva-phone__bubble--me { align-self: flex-end; background: var(--lva-navy); color: #fff; border-radius: 14px 14px 4px 14px; }
.lva-phone__chips { display: flex; gap: 6px; }
.lva-phone__chips span { background: #fff; border: 1px solid #e6e1d6; border-radius: 999px; padding: 4px 8px; font-weight: 600; color: var(--lva-navy); }
.lva-phone__nav { margin-top: auto; height: 48px; background: #fff; border-top: 1px solid #ebe7df; display: flex; justify-content: space-around; align-items: center; margin-left: -10px; margin-right: -10px; padding: 0 10px 6px; }
.lva-phone__nav i { width: 16px; height: 16px; border-radius: 5px; background: #cfd5dd; }
.lva-phone__nav i.is-main { width: 34px; height: 34px; border-radius: 50%; background: var(--lva-navy); box-shadow: 0 0 0 3px rgba(201,169,110,.5); margin-top: -18px; }
@media (max-width: 860px) { .lva-phone { transform: rotate(0); width: 210px; height: 300px; border-radius: 34px 34px 0 0; padding-bottom: 0; } .lva-phone__screen { border-radius: 26px 26px 0 0; } }
@media (prefers-reduced-motion: reduce) { .lva-phone__push, .lva-voice__mic.is-listening { animation: none; } }

/* Proteção contra estilos de botões do tema (ListingHive e outros) */
.lva-sheet button, .lva-toast button, .lva-chip-alert, .lva-heart, .lva-favs button, .lva-near button,
.lva-buyer select, .lva-banner a, .lva-voicebtn, .lva-sc__btn, .lva-install button, .lva-nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  text-transform: none !important; letter-spacing: normal !important; min-height: 0 !important; line-height: 1.25 !important;
}
.lva-voice__form button, .lva-import button, .lva-near__go, .lva-sc__btn, .lva-install__go, .lva-banner__btn {
  background: var(--lva-navy) !important; color: #fff !important; background-image: none !important; box-shadow: none !important;
}
.lva-toast__actions button { background: var(--lva-gold) !important; color: var(--lva-navy) !important; background-image: none !important; }
.lva-chip-alert { background: var(--lva-navy) !important; color: #fff !important; }
.lva-favs__item .lva-card__body { padding-right: 38px; }
.lva-voice__examples[hidden], .lva-voice__sugg[hidden] { display: none !important; }
.lva-buyer__region { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; background: #fff; border: 1px solid #ecdfc6; border-radius: 10px; padding: 8px 10px; margin: 2px 0 8px; font-size: 13px; color: #3c4756; }
.lva-buyer__region small { color: #8a8f98; }
.lva-buyer__region select { border: 1px solid rgba(15,37,64,.2); border-radius: 8px; padding: 4px 6px; font-size: 13px; background: #fff; }
.lva-buyer__region p { flex-basis: 100%; margin: 4px 0 0; color: #8a5a00; font-weight: 600; }
.lva-buyer__region.is-unsure { border-color: #e9b949; background: #fff8e6; }
.lva-buyer__res { background: #fff; border: 1px solid #ecdfc6; border-radius: 10px; padding: 10px; margin: 2px 0 8px; }
.lva-buyer__res > p { margin: 0 0 8px; font-weight: 700; color: var(--lva-navy); font-size: 13.5px; }
.lva-seg { display: flex; gap: 0; border: 1px solid rgba(15,37,64,.2); border-radius: 10px; overflow: hidden; }
.lva-seg button { flex: 1; border: 0 !important; background: #fff !important; color: #3c4756 !important; padding: 8px 6px !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer; border-radius: 0 !important; }
.lva-seg button + button { border-left: 1px solid rgba(15,37,64,.2) !important; }
.lva-seg button.is-on { background: var(--lva-navy) !important; color: #fff !important; }
.lva-buyer__refund { display: flex; flex-direction: column; gap: 4px; background: #eef7f1; border: 1px solid #cfe8d8; border-radius: 10px; padding: 10px; margin: 0 0 8px; font-size: 13px; color: #24563a; line-height: 1.4; }
.lva-buyer__refund b { color: #1d7a45; }
.lva-home-slot { width: 100%; box-sizing: border-box; clear: both; }
.lva-home-slot[hidden] { display: none !important; }
.lva-home-slot .lva-banner { max-width: none; margin: 40px 0 48px; }
@media (max-width: 860px) { .lva-home-slot .lva-banner { margin: 24px 0 32px; } }

/* Painel de custos sempre com largura própria, mesmo se algum tema o encaixar num bloco estreito */
.hp-page__content > .lva-buyer, .lva-buyer { max-width: 680px; box-sizing: border-box; font-size: 14px !important; line-height: 1.45 !important; }
.hp-listing--view-block .lva-buyer { display: none !important; }

/* ---------- v0.2.4: simulador à parte ---------- */
.lva-sim-btn {
  display: flex !important; align-items: center; gap: 14px; width: 100%; max-width: 100%; box-sizing: border-box;
  margin: 18px 0; padding: 14px 16px !important; text-align: left; cursor: pointer;
  background: #fff !important; color: #1b2430 !important; border: 1px solid #ecdfc6 !important; border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(15,37,64,.05) !important; transition: border-color .15s, box-shadow .15s;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; text-transform: none !important;
}
.lva-sim-btn:hover { border-color: var(--lva-gold) !important; box-shadow: 0 6px 18px rgba(15,37,64,.09) !important; }
.lva-sim-btn__ico { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--lva-navy); display: grid; place-items: center; font-size: 20px; }
.lva-sim-btn__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lva-sim-btn__txt b { font-size: 15px; color: var(--lva-navy); font-weight: 700; }
.lva-sim-btn__txt small { font-size: 12.5px; color: #6b7684; line-height: 1.35; }
.lva-sim-btn__go { font-size: 26px; color: var(--lva-gold); line-height: 1; }
.hp-listing--view-block .lva-sim-btn { display: none !important; }
.lva-buyer--sheet { margin: 0; border: 0; background: none; padding: 0; max-width: none !important; }
.lva-buyer--sheet .lva-buyer__top { display: none; }
.lva-sheet .lva-buyer--sheet .lva-buyer__top { display: flex; justify-content: flex-end; }
.lva-sheet .lva-buyer--sheet .lva-buyer__top span { display: none; }
.lva-buyer--page { max-width: 640px !important; margin: 10px 0 30px; }
.lva-buyer__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 10px; }
.lva-buyer__inputs label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--lva-navy); }
.lva-buyer__inputs input, .lva-buyer__inputs select { border: 1px solid rgba(15,37,64,.2); border-radius: 10px; padding: 9px 10px; font-size: 16px; background: #fff; width: 100%; box-sizing: border-box; }
@media (max-width: 520px) { .lva-buyer__inputs { grid-template-columns: 1fr; } }
