/* Residencial Bosque Verde — landing page
   Layout: faixas alternadas névoa / mata; a foto de abertura entra pelo arco do Pórtico; as demais fotos usam a curva da encosta.
   Tokens vindos do sistema de marca Bosque Verde. Prefixo bv- em tudo. */
:root {
  --bv-mata: #243918;
  --bv-encosta: #4b5a30;
  --bv-folha: #727e57;
  --bv-serra: #c8923a;
  --bv-sol: #e6cc98;
  --bv-fundo: #eef0e6;
  --bv-elevado: #f8f9f3;
  --bv-tinta: #243918;
  --bv-tinta-suave: #4b5a30;
  --bv-sobre-mata: #eef0e6;
  --bv-sobre-mata-suave: #c9cfb8;
  --bv-dourado-texto: #8a5f1c;
  --bv-linha: #cdd1c0;
  --bv-linha-forte: #7d866a;
  --bv-vendido: #64685c;
  --bv-erro: #8a2f1c;
  --bv-display: Marcellus, "Trajan Pro", Georgia, serif;
  --bv-texto: Commissioner, "Segoe UI", system-ui, sans-serif;
  --bv-raio-placa: 3px;
  --bv-raio-foto: 14px;
  --bv-sombra-flutuante: 0 8px 24px rgba(20, 30, 14, 0.18);
  color-scheme: light;
}

@font-face { font-family: Marcellus; src: url(../fonts/Marcellus-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Commissioner; font-weight: 300 700; src: url(../fonts/Commissioner-Flare.woff2) format("woff2"); font-display: swap; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bv-fundo); color: var(--bv-tinta); font: 400 16px/1.65 var(--bv-texto); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bv-fundo); }
img { max-width: 100%; display: block; }

.bv-pagina { container-type: inline-size; container-name: pagina; overflow-x: clip; }
.bv-wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  box-sizing: border-box;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.bv-secao { padding-block: clamp(56px, 8cqi, 96px); }
.bv-secao--mata { background: var(--bv-mata); color: var(--bv-sobre-mata); --bv-foco: var(--bv-serra); }
.bv-secao--elevada { background: var(--bv-elevado); }
.bv-secao--sol { background: var(--bv-sol); }

/* Tipografia */
.bv-h1, .bv-h2, .bv-h3 { font-family: var(--bv-display); font-weight: 400; margin: 0; text-wrap: balance; }
.bv-h1 { font-size: clamp(38px, 5.6cqi, 66px); line-height: 1.06; letter-spacing: -0.01em; }
.bv-h2 { font-size: clamp(30px, 4.2cqi, 48px); line-height: 1.1; }
.bv-h3 { font-size: clamp(22px, 2.4cqi, 26px); line-height: 1.2; }
.bv-abertura { font-size: clamp(18px, 1.8cqi, 21px); line-height: 1.55; font-weight: 300; max-width: 34em; margin: 0; }
.bv-corpo { max-width: 38em; margin: 0; }
.bv-pequeno { font-size: 14px; line-height: 1.55; }
.bv-suave { color: var(--bv-tinta-suave); }
.bv-secao--mata .bv-suave { color: var(--bv-sobre-mata-suave); }
.bv-pilha { display: grid; gap: 20px; align-content: start; min-width: 0; }
.bv-pilha--larga { gap: 32px; }

/* Placeholder a preencher com dado real */
.bv-ph { background: rgba(200, 146, 58, 0.22); border-bottom: 1.5px dashed var(--bv-dourado-texto); padding: 0 3px; border-radius: 2px; }
.bv-secao--mata .bv-ph { background: rgba(230, 204, 152, 0.18); border-bottom-color: var(--bv-sol); }

/* Botões */
.bv-botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; box-sizing: border-box;
  border: 1.5px solid transparent; border-radius: var(--bv-raio-placa);
  font: 600 16px/1.2 var(--bv-texto); text-decoration: none; cursor: pointer; text-align: center;
  transition: box-shadow 120ms ease, background-color 120ms ease;
}
.bv-botao--principal { background: var(--bv-serra); color: var(--bv-mata); }
.bv-botao--principal:hover { box-shadow: inset 0 -3px 0 rgba(36, 57, 24, 0.35); }
.bv-botao--contorno { background: transparent; color: var(--bv-tinta); border-color: var(--bv-tinta); }
.bv-botao--contorno:hover { background: var(--bv-elevado); }
.bv-secao--mata .bv-botao--contorno { color: var(--bv-sobre-mata); border-color: var(--bv-sobre-mata); }
.bv-secao--mata .bv-botao--contorno:hover { background: rgba(238, 240, 230, 0.08); }
.bv-botao--cheio { width: 100%; }
:focus-visible { outline: 2px solid var(--bv-foco, var(--bv-mata)); outline-offset: 2px; }
.bv-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .bv-botao { transition: none; } }

/* Faixa de topo */
.bv-aviso { background: var(--bv-sol); color: var(--bv-mata); font-size: 14px; line-height: 1.4; }
.bv-aviso .bv-wrap { padding-block: 9px; text-align: center; }

/* Cabeçalho */
.bv-topo { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(238, 240, 230, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bv-linha); }
.bv-topo .bv-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.bv-topo__logo img { height: 44px; width: auto; }
.bv-topo__nav { display: none; gap: 28px; font-size: 15px; }
.bv-topo__nav a { color: var(--bv-tinta); text-decoration: none; }
.bv-topo__nav a:hover { color: var(--bv-dourado-texto); }
.bv-topo .bv-botao { min-height: 42px; padding: 0 16px; font-size: 14px; }
@container pagina (min-width: 900px) { .bv-topo__nav { display: flex; } }

/* Hero: a foto entra pelo arco do Pórtico */
.bv-hero { padding-block: clamp(36px, 6cqi, 72px) clamp(56px, 8cqi, 96px); }
.bv-hero__grade { display: grid; gap: 40px; }
.bv-hero__texto { display: grid; gap: 22px; align-content: start; min-width: 0; }
.bv-arco { position: relative; width: min(100%, 520px); justify-self: center; margin-top: 18px; }
.bv-arco::before {
  content: ""; position: absolute; inset: -16px -16px 0; border: 1.5px solid var(--bv-folha); border-bottom: 0;
  border-radius: 50% 50% 0 0 / 41.6% 41.6% 0 0;
  pointer-events: none;
}
.bv-arco__janela { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: var(--bv-linha); max-width: 100%; }
.bv-arco__janela img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; animation: bv-entrada 1600ms cubic-bezier(.2, .7, .2, 1) both; }
.bv-arco__legenda { position: absolute; left: 0; bottom: -28px; font-size: 12px; color: var(--bv-tinta-suave); }
@keyframes bv-entrada { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bv-arco__janela img { animation: none; } }
@container pagina (min-width: 900px) {
  .bv-hero__grade { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: start; }
  .bv-arco { margin-top: 24px; }
}

/* Formulário */
.bv-form { background: var(--bv-elevado); color: var(--bv-tinta); border: 1px solid var(--bv-linha); border-radius: 6px; padding: clamp(20px, 3cqi, 28px); display: grid; gap: 14px; max-width: 560px; box-sizing: border-box; --bv-foco: var(--bv-mata); }
.bv-form__titulo { font-family: var(--bv-display); font-size: 22px; line-height: 1.25; margin: 0; }
.bv-form__linha { display: grid; gap: 14px; }
@container pagina (min-width: 640px) { .bv-form__linha { grid-template-columns: 1fr 1fr; } }
.bv-campo { display: grid; gap: 6px; min-width: 0; }
.bv-campo label { font-size: 14px; font-weight: 600; }
.bv-campo input, .bv-campo select {
  font: 400 16px/1.3 var(--bv-texto); color: var(--bv-tinta); background: #fff;
  border: 1.5px solid var(--bv-linha-forte); border-radius: var(--bv-raio-placa); min-height: 48px; padding: 0 12px; box-sizing: border-box; width: 100%;
}
.bv-campo input::placeholder { color: #7d866a; }
.bv-campo input[aria-invalid="true"] { border-color: var(--bv-erro); }
.bv-campo__erro { font-size: 13px; color: var(--bv-erro); min-height: 0; }
.bv-aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--bv-tinta-suave); }
.bv-aceite input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bv-mata); flex: none; }
.bv-aceite a { color: inherit; }
.bv-form__nota { font-size: 13px; color: var(--bv-tinta-suave); margin: 0; text-align: center; }
.bv-form__ok { display: grid; gap: 12px; text-align: left; }
.bv-form__ok p { margin: 0; }

/* Faixa de escassez */
.bv-escassez { display: grid; gap: 24px; align-items: center; }
@container pagina (min-width: 900px) { .bv-escassez { grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; } }
.bv-escassez__frase { margin: 0; font-size: 18px; line-height: 1.5; }
.bv-escassez__numero { font-family: var(--bv-display); font-size: clamp(40px, 5cqi, 56px); line-height: 1; color: var(--bv-sol); margin-right: 8px; }
.bv-escassez__trilho { height: 10px; border-radius: 999px; background: rgba(238, 240, 230, 0.16); overflow: hidden; margin-top: 16px; max-width: 640px; }
.bv-escassez__cheio { height: 100%; width: 0; border-radius: 999px; background: var(--bv-serra); }
.bv-escassez__nota { margin: 12px 0 0; font-size: 14px; color: var(--bv-sobre-mata-suave); }

/* Duas colunas genéricas */
.bv-duas { display: grid; gap: 40px; align-items: center; }
@container pagina (min-width: 900px) {
  .bv-duas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .bv-duas--invertida > :first-child { order: 2; }
}

/* Foto com a curva da encosta */
.bv-foto { margin: 0; display: grid; gap: 10px; min-width: 0; }
.bv-foto__quadro {
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--bv-raio-foto) var(--bv-raio-foto) 0 0; background: var(--bv-linha); max-width: 100%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V78C72 78 40 86 0 100Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V78C72 78 40 86 0 100Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.bv-foto__quadro img { width: 100%; height: 100%; object-fit: cover; }
.bv-foto figcaption { font-size: 12px; letter-spacing: 0.02em; color: var(--bv-tinta-suave); }
.bv-secao--mata .bv-foto figcaption { color: var(--bv-sobre-mata-suave); }

/* Números do terreno */
.bv-numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid var(--bv-linha); }
.bv-numeros div { min-width: 0; }
.bv-numeros dt { font-family: var(--bv-display); font-size: clamp(26px, 3cqi, 34px); line-height: 1.1; }
.bv-numeros dd { margin: 4px 0 0; font-size: 14px; color: var(--bv-tinta-suave); }

/* Lista com o broto como marcador */
.bv-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 36px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.bv-lista li { position: relative; padding-left: 34px; min-width: 0; }
.bv-lista li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 21px; background: var(--bv-folha);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 32 48 50'%3E%3Cpath d='M57 82V58H63V82Z'/%3E%3Cpath d='M60 34C70 43 70 57 60 66C50 57 50 43 60 34Z'/%3E%3Cpath transform='rotate(-55 60 68)' d='M60 41C68 48 68 59 60 67C52 59 52 48 60 41Z'/%3E%3Cpath transform='rotate(55 60 68)' d='M60 41C68 48 68 59 60 67C52 59 52 48 60 41Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='36 32 48 50'%3E%3Cpath d='M57 82V58H63V82Z'/%3E%3Cpath d='M60 34C70 43 70 57 60 66C50 57 50 43 60 34Z'/%3E%3Cpath transform='rotate(-55 60 68)' d='M60 41C68 48 68 59 60 67C52 59 52 48 60 41Z'/%3E%3Cpath transform='rotate(55 60 68)' d='M60 41C68 48 68 59 60 67C52 59 52 48 60 41Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bv-secao--mata .bv-lista li::before { background: var(--bv-sol); }
.bv-lista strong { display: block; font-weight: 600; }
.bv-lista span { display: block; font-size: 15px; color: var(--bv-tinta-suave); }
.bv-secao--mata .bv-lista span { color: var(--bv-sobre-mata-suave); }
.bv-lista span.bv-ph, .bv-lista span span { display: inline; font-size: inherit; color: inherit; }

/* Masterplan e tabela de lançamento */
.bv-planta { display: grid; gap: 32px; }
@container pagina (min-width: 980px) { .bv-planta { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.bv-planta__mapa { background: var(--bv-elevado); border: 1px solid var(--bv-linha); border-radius: 6px; padding: clamp(14px, 2.5cqi, 28px); display: grid; gap: 16px; min-width: 0; }
.bv-planta__mapa img { width: 100%; height: auto; }
.bv-legenda { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--bv-tinta-suave); }
.bv-lote { display: inline-flex; align-items: center; padding: 3px 12px 4px; border: 1.5px solid transparent; border-radius: 999px; font: 500 12px/18px var(--bv-texto); letter-spacing: 0.02em; white-space: nowrap; }
.bv-lote--disponivel { background: var(--bv-encosta); color: var(--bv-sobre-mata); }
.bv-lote--reservado { background: var(--bv-serra); color: var(--bv-mata); }
.bv-lote--vendido { border-color: var(--bv-vendido); color: var(--bv-vendido); text-decoration: line-through; }
.bv-tabela { background: var(--bv-sol); border-radius: 6px; padding: clamp(22px, 3cqi, 32px); display: grid; gap: 16px; }
.bv-tabela .bv-ph { background: rgba(255, 255, 255, 0.45); }
.bv-tabela__titulo { font-family: var(--bv-display); font-size: 24px; line-height: 1.25; margin: 0; }
.bv-tabela p { margin: 0; }
.bv-tabela .bv-lista { grid-template-columns: 1fr; gap: 12px; }
.bv-tabela .bv-lista li::before { background: var(--bv-mata); }

/* Passos para garantir o lote: uma sequência real */
.bv-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: passo; }
.bv-passos li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; counter-increment: passo; min-width: 0; }
.bv-passos li::before {
  content: counter(passo); display: grid; place-items: center; width: 52px; height: 64px; padding-top: 10px; box-sizing: border-box;
  background: var(--bv-mata); color: var(--bv-sol); font: 400 24px/1 var(--bv-display); border-radius: 26px 26px 0 0;
}
.bv-passos strong { display: block; font-weight: 600; font-size: 17px; }
.bv-passos span { display: block; color: var(--bv-tinta-suave); font-size: 15px; }

/* Perguntas frequentes */
.bv-faq { display: grid; gap: 0; border-top: 1px solid var(--bv-linha); max-width: 820px; }
.bv-faq details { border-bottom: 1px solid var(--bv-linha); }
.bv-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
.bv-faq summary::-webkit-details-marker { display: none; }
.bv-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--bv-encosta); border-bottom: 2px solid var(--bv-encosta); transform: translateY(-70%) rotate(45deg); transition: transform 160ms ease; }
.bv-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.bv-faq details p { margin: 0 0 20px; max-width: 40em; color: var(--bv-tinta-suave); }
@media (prefers-reduced-motion: reduce) { .bv-faq summary::after { transition: none; } }

/* CTA final */
.bv-final { display: grid; gap: 36px; }
@container pagina (min-width: 900px) { .bv-final { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } }

/* Rodapé */
.bv-rodape { background: var(--bv-mata); color: var(--bv-sobre-mata-suave); border-top: 1px solid rgba(238, 240, 230, 0.14); font-size: 13px; line-height: 1.6; }
.bv-rodape .bv-wrap { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 24px; }
@container pagina (min-width: 900px) { .bv-rodape .bv-wrap { grid-template-columns: auto 1fr; gap: 64px; align-items: center; } }
.bv-rodape img { height: 52px; width: auto; }
.bv-rodape p { margin: 0; }

/* WhatsApp flutuante */
.bv-zap {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 25;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--bv-mata); color: var(--bv-sobre-mata); text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: var(--bv-sombra-flutuante);
  --bv-foco: var(--bv-serra);
}
.bv-zap svg { width: 24px; height: 24px; flex: none; }
.bv-zap__texto { display: none; }
@media (min-width: 700px) { .bv-zap__texto { display: inline; } }

.bv-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Versão 2: vídeo, imagens maiores, galeria e mapa ao vivo ---------- */
[hidden] { display: none !important; }
.bv-isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Vídeo de apresentação: faixa mata, vídeo panorâmico em tela cheia */
.bv-video { background: var(--bv-mata); color: var(--bv-sobre-mata); padding-block: clamp(48px, 7cqi, 88px) clamp(28px, 4cqi, 44px); --bv-foco: var(--bv-serra); }
.bv-video__cabeca { display: grid; gap: 12px; margin-bottom: clamp(24px, 3cqi, 36px); }
.bv-video__cabeca .bv-corpo { color: var(--bv-sobre-mata-suave); }
.bv-video__quadro { position: relative; width: 100%; max-width: 1600px; margin-inline: auto; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
@container pagina (min-width: 900px) { .bv-video__quadro { aspect-ratio: 2.5 / 1; } }
.bv-video__quadro video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bv-video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 26px 10px 14px; border: 0; border-radius: 999px;
  background: var(--bv-sol); color: var(--bv-mata); font: 600 17px/1.2 var(--bv-texto); cursor: pointer; box-shadow: var(--bv-sombra-flutuante);
  transition: transform 160ms ease;
}
.bv-video__play:hover { transform: translate(-50%, -50%) scale(1.03); }
.bv-video__play svg { width: 34px; height: 44px; flex: none; }
.bv-video__quadro.is-som .bv-video__play { display: none; }
.bv-video__legenda { margin: 12px auto 0; font-size: 12px; color: var(--bv-sobre-mata-suave); }
@media (prefers-reduced-motion: reduce) { .bv-video__play { transition: none; } }

/* Fotos de seção um pouco mais altas */
.bv-foto--alta .bv-foto__quadro { aspect-ratio: 5 / 4; }

/* Faixa de foto em tela cheia */
.bv-faixa-foto { position: relative; height: clamp(420px, 56cqi, 680px); overflow: hidden; background: var(--bv-linha); }
.bv-faixa-foto > img { width: 100%; height: 100%; object-fit: cover; }
.bv-faixa-foto__texto { position: absolute; left: 0; right: 0; bottom: 0; }
.bv-faixa-foto__texto .bv-wrap { padding-bottom: clamp(24px, 4cqi, 48px); }
.bv-faixa-foto__texto .bv-h2, .bv-faixa-foto__texto .bv-abertura {
  display: inline; background: var(--bv-mata); color: var(--bv-sobre-mata); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 2px 14px;
}
.bv-faixa-foto__texto .bv-h2 { line-height: 1.35; }
.bv-faixa-foto__texto .bv-abertura { display: inline-block; margin-top: 10px; font-size: 18px; padding: 6px 14px; }
.bv-faixa-foto__legenda { position: absolute; top: 12px; right: 16px; font-size: 12px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }

/* Galeria com rolagem por foto */
.bv-galeria__cabeca { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.bv-galeria__setas { display: flex; gap: 8px; }
.bv-seta { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--bv-mata); background: transparent; color: var(--bv-mata); cursor: pointer; display: grid; place-items: center; }
.bv-seta svg { width: 20px; height: 20px; }
.bv-seta:hover { background: var(--bv-fundo); }
.bv-galeria__trilho {
  list-style: none; margin: 0 0 16px; display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 860px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100% - 1160px) / 2 + 20px));
  padding: 4px max(20px, calc((100% - 1160px) / 2 + 20px)) 12px; scrollbar-width: thin;
}
.bv-galeria__trilho > li { scroll-snap-align: start; min-width: 0; }

/* Mapa ao vivo */
.bv-mapa { position: relative; aspect-ratio: 1159 / 869; max-width: 100%; }
.bv-mapa__fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bv-mapa[data-estado="pronto"] .bv-mapa__fundo { opacity: 0.45; }
.bv-mapa__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bv-mapa__svg path { stroke: #f8f9f3; stroke-width: 0.8; stroke-linejoin: round; }
.bv-mapa__svg .is-disponivel { fill: #5f8a34; cursor: pointer; }
.bv-mapa__svg .is-disponivel:hover, .bv-mapa__svg .is-disponivel:focus-visible { fill: #3f6b1c; outline: none; }
.bv-mapa__svg .is-reservado { fill: var(--bv-serra); }
.bv-mapa__svg .is-vendido { fill: #8a8f80; fill-opacity: 0.8; }
.bv-mapa__svg .is-escolhido { fill: var(--bv-mata) !important; stroke: var(--bv-serra); stroke-width: 2.5; }
.bv-mapa__dica { position: absolute; left: 8px; top: 8px; background: var(--bv-mata); color: var(--bv-sobre-mata); font-size: 13px; padding: 6px 10px; border-radius: 3px; pointer-events: none; }
.bv-legenda .bv-lote span { margin-left: 4px; font-weight: 600; }
.bv-escolhido { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--bv-linha); padding-top: 14px; }
.bv-escolhido p { margin: 0; }

/* Lote escolhido dentro do formulário */
.bv-chip-lote { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--bv-sol); color: var(--bv-mata); padding: 8px 12px; border-radius: 3px; font-size: 14px; }
.bv-chip-lote button { margin-left: auto; border: 0; background: none; color: var(--bv-mata); text-decoration: underline; cursor: pointer; font: inherit; }

/* Números vindos da API: sem tabela de lançamento (ou sem API), os trechos com número somem */
.bv-pagina:not(.tem-tabela) [data-bv-requer="tabela"] { display: none !important; }
.bv-pagina.tem-tabela [data-bv-sem="tabela"] { display: none !important; }
.bv-mapa-lista { max-width: 320px; }
.bv-mapa-lista select { font: 400 16px/1.3 var(--bv-texto); color: var(--bv-tinta); background: #fff; border: 1.5px solid var(--bv-linha-forte); border-radius: var(--bv-raio-placa); min-height: 48px; padding: 0 12px; width: 100%; }
.bv-tabela .bv-lista li > span { display: block; color: var(--bv-mata); font-size: 16px; }
.bv-tabela .bv-lista li > span strong, .bv-tabela .bv-lista li > span span { display: inline; font-size: inherit; color: inherit; }
@container pagina (max-width: 520px) {
  .bv-video__play { font-size: 14px; min-height: 50px; padding: 8px 18px 8px 10px; gap: 10px; white-space: nowrap; }
  .bv-video__play svg { width: 26px; height: 34px; }
}

/* ---------- Versão 3: renders em alta ---------- */
/* Os renders são panorâmicos (2,25:1): na galeria, quadro largo; no celular, 4:3 */
.bv-galeria .bv-foto__quadro { aspect-ratio: 4 / 3; }
@container pagina (min-width: 700px) { .bv-galeria .bv-foto__quadro { aspect-ratio: 16 / 9; } }
.bv-secao--sol .bv-foto figcaption { color: var(--bv-tinta-suave); }
.bv-secao--sol .bv-foto { margin-top: 8px; }
.bv-galeria__cabeca { flex-wrap: wrap; }
