@font-face{font-family:"Montserrat";font-weight:300;font-display:swap;src:url("../fontes/Montserrat-Light.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-weight:400;font-display:swap;src:url("../fontes/Montserrat-Regular.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-weight:500;font-display:swap;src:url("../fontes/Montserrat-Medium.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-weight:600;font-display:swap;src:url("../fontes/Montserrat-SemiBold.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-weight:700;font-display:swap;src:url("../fontes/Montserrat-Bold.woff2") format("woff2")}
:root {
  --verde: #0F3D2E;
  --verde-profundo: #0B4A3A;
  --dourado: #C9A96A;
  --dourado-escuro: #86672F;
  --bege: #EDE1D1;
  --marfim: #F8F7F2;
  --cinza: #8C877F;
  --movimento: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
  margin: 0;
  color: var(--verde);
  background: var(--marfim);
  font: 400 17px/1.6 "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
h1, h2, p, figure, ul { margin: 0; }
img { display: block; width: 100%; height: auto; }
button, input { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
.sec-verde :focus-visible { outline-color: var(--bege); }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
section { padding-block: 92px; }
header.topo {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--bege);
  background: rgb(248 247 242 / .96);
}
header.topo .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header.topo img { height: 30px; width: auto; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 14px 26px;
  background: var(--verde);
  color: var(--marfim);
  border: 0;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s, transform .35s var(--movimento);
}
.btn:hover { background: var(--verde-profundo); transform: translateY(-2px); }
.btn.peq { padding: 10px 18px; font-size: 14px; }
.btn:disabled { opacity: .58; cursor: default; transform: none; background: var(--verde); }
.btn.claro { background: var(--dourado); color: var(--verde); }
.btn.claro:hover { background: var(--bege); }

.heroi { padding: 0; }
.introducao { border-block: 1px solid var(--bege); }
.heroi-texto h1 { max-width: 17ch; }
.heroi-texto .sub { max-width: 34em; }
.ref {
  margin-bottom: 16px;
  color: var(--verde-profundo);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
h2 { max-width: 20em; margin-bottom: 18px; font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.d { color: var(--dourado-escuro); }
.sec-verde .d { color: var(--dourado); }
.sub { margin: 22px 0 30px; }
.sub, .lead, .sub2, .par p {
  max-width: 34em;
  color: var(--verde-profundo);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
.lead { margin-bottom: 34px; }
.sub2, .par p { margin-bottom: 25px; }
.info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-top: 26px; font-size: 14px; font-weight: 600; }
.info span { padding-top: 7px; border-top: 2px solid var(--dourado-escuro); }
.info .preco { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }

.apresentacao { width: 100%; background: var(--marfim); }
.apresentacao-imagens {
  position: relative;
  min-height: 400px;
  height: calc(100svh - 65px);
  isolation: isolate;
  overflow: hidden;
  background: var(--bege);
}
.apresentacao-imagens img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  object-position: center bottom;
  transition: opacity .95s var(--movimento);
}
.apresentacao-imagens img.ativa { opacity: 1; }
.apresentacao-imagens img:first-child { object-position: 68% bottom; }
.legenda-apresentacao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 14px;
  width: min(1160px, calc(100% - 40px));
  min-height: 51px;
  margin-inline: auto;
  padding: 5px 0;
  color: var(--verde-profundo);
  font-size: 13px;
  line-height: 1.5;
}
.legenda-apresentacao button {
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
[hidden] { display: none !important; }
.apresentacao-filetes { display: flex; flex: 1 1 76px; max-width: 155px; gap: 4px; }
.apresentacao-filetes span { height: 2px; flex: 1; background: var(--bege); }
.apresentacao-filetes .ativo { background: var(--dourado-escuro); }

.galeria-real { padding-top: 72px; }
.galeria-real h2 { margin-bottom: 10px; }
.galeria-real .lead { margin-bottom: 22px; }
.galeria-fotos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.galeria-fotos figure { grid-column: span 3; }
.galeria-fotos img, .foto img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bege); }
.galeria-fotos figcaption, .foto figcaption { margin-top: 7px; color: var(--verde-profundo); font-size: 13px; line-height: 1.5; }

.sec-verde { background: var(--verde); color: var(--marfim); }
.sec-verde p { color: var(--marfim); font-size: 18px; font-weight: 300; }
.sec-areia { background: var(--bege); }
.fatos-lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; padding: 0; margin: 10px 0 36px; list-style: none; }
.fatos-lista li { padding: 15px 0; border-bottom: 1px solid rgb(237 225 209 / .25); }
.fatos-lista .dest { color: var(--bege); font-weight: 700; }
.fatos-lista .preco-g { color: var(--dourado); font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
.cols, .par, .contacto .wrap { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 56px; align-items: center; }
.contacto .wrap { align-items: start; }
.par.inv { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); }
.par.inv .par-imagens { order: -1; }
.par-imagens { display: grid; gap: 14px; }
.par-imagens .foto, .duas .foto { min-width: 0; }
.par-imagens .foto img { width: 100%; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duas img { aspect-ratio: 4 / 5; object-position: 63% center; }
.mapa { border: 1px solid var(--bege); border-radius: 6px; overflow: hidden; background: var(--marfim); }
.cred { padding: 6px 10px; color: var(--verde-profundo); background: var(--marfim); font-size: 12px; }
.grande { font-size: clamp(34px, 6vw, 76px); line-height: 1.05; letter-spacing: -.015em; max-width: 15em; }

form { display: grid; gap: 16px; }
label, legend { display: block; color: var(--verde); font-size: 14px; font-weight: 600; line-height: 1.3; }
label { margin-bottom: 6px; }
input[type=text], input[type=tel], input[type=email] {
  width: 100%;
  padding: 13px 14px;
  color: var(--verde);
  background: #FFFFFF;
  border: 1px solid var(--cinza);
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.4;
}
input:focus { outline: 2px solid var(--verde); outline-offset: 1px; }
fieldset { display: grid; gap: 0; min-width: 0; padding: 0; margin: 0; border: 0; }
legend { padding: 0; margin-bottom: 10px; }
.opc { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin: 0; padding: 10px 0; font-size: 16px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.opc input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--verde); cursor: pointer; }
form .btn { justify-self: start; }
footer { padding: 56px 0 40px; background: var(--verde); color: var(--marfim); }
footer img { width: auto; height: 34px; margin-bottom: 22px; }
footer p { font-size: 14px; font-weight: 300; }
footer .legal { color: var(--bege); font-weight: 500; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  section { padding-block: 60px; }
  header.topo img { height: 24px; }
  .apresentacao-imagens { min-height: 320px; }
  .apresentacao-imagens img:first-child { object-position: 68% center; }
  .apresentacao-imagens img:nth-child(2) { object-position: 56% center; }
  .apresentacao-imagens img:nth-child(3), .apresentacao-imagens img:nth-child(5) { object-position: 66% center; }
  .ref { font-size: 12px; }
  h1 { font-size: clamp(36px, 6vw, 40px); }
  h2 { font-size: clamp(28px, 4vw, 32px); }
  .grande { font-size: clamp(34px, 5.4vw, 40px); }
  .sub, .lead { font-size: 17px; }
  .sub { margin: 16px 0 24px; }
  .sub2, .par p, .sec-verde p { font-size: 16px; }
  .info .preco { font-size: 20px; }
  .fatos-lista .preco-g { font-size: 24px; }
  .cols, .par, .par.inv, .contacto .wrap { grid-template-columns: 1fr; gap: 28px; }
  .par.inv .par-imagens { order: 0; }
  .galeria-real { padding-top: 52px; }
  .galeria-fotos { gap: 14px 10px; }

  form .btn { width: 100%; }
}
@media (max-width: 480px) {
  header.topo .wrap { gap: 8px; }
  .btn.peq { padding-inline: 10px; }
  .apresentacao-filetes { display: none; }
  .fatos-lista { grid-template-columns: 1fr; }
  .galeria-fotos figure:nth-child(-n+2) { grid-column: span 6; }
  .duas { gap: 10px; }
}
@media (max-width: 360px) {
  header.topo img { height: 22px; }
  .btn.peq { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .apresentacao-imagens img { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Acessibilidade e navegação ---------- */
.saltar { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 16px; background: var(--verde); color: var(--marfim); font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 2px; }
.saltar:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--dourado-escuro); outline-offset: 3px; }
.sec-verde :focus-visible, footer :focus-visible { outline-color: var(--dourado); }
[tabindex="-1"]:focus { outline: none; }
.marca { display: inline-flex; align-items: center; min-height: 44px; }
.nav-ancoras { display: none; gap: 4px; margin-left: auto; }
.nav-ancoras a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--verde); font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 2px; }
.nav-ancoras a:hover { color: var(--dourado-escuro); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1024px) { .nav-ancoras { display: flex; } }
html.sem-scroll { overflow: hidden; }
.btn:focus-visible { outline-offset: 3px; }
.btn-contorno { background: transparent; color: var(--verde); box-shadow: inset 0 0 0 1.5px var(--verde); }
.btn-contorno:hover { background: var(--bege); }
.ligacao-botao { min-height: 44px; padding: 0 2px; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Cartão do topo ---------- */
.heroi-cartao {
  position: absolute;
  z-index: 2;
  left: max(20px, calc((100% - 1160px) / 2));
  bottom: 28px;
  display: grid;
  gap: 6px;
  width: min(360px, calc(100% - 40px));
  padding: 22px 24px 24px;
  background: rgb(248 247 242 / .96);
  border-top: 3px solid var(--dourado);
  border-radius: 4px;
  box-shadow: 0 14px 40px rgb(15 61 46 / .18);
}
.heroi-cartao-ref { color: var(--verde-profundo); font-size: 13px; font-weight: 600; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.heroi-cartao-preco { margin-bottom: 10px; color: var(--dourado-escuro); font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: .01em; }
.heroi-cartao .btn { width: 100%; }

/* ---------- Formulários de visita ---------- */
.sec-visita { border-top: 1px solid var(--bege); }
.sec-visita.sec-areia { border-top: 0; }
.visita-grelha { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.visita-texto { position: sticky; top: 100px; }
.visita-texto h2 { margin-bottom: 14px; }
.visita-texto .lead { margin-bottom: 18px; }
.visita-quem { padding-top: 10px; border-top: 2px solid var(--dourado-escuro); display: inline-block; color: var(--verde); font-size: 14px; font-weight: 600; line-height: 1.4; }
.form-visita {
  display: grid;
  gap: 20px;
  padding: 30px;
  background: #FFFFFF;
  border: 1px solid var(--bege);
  border-top: 3px solid var(--dourado);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgb(15 61 46 / .06);
}
.form-nota { color: var(--verde-profundo); font-size: 14px; line-height: 1.4; }
.campos-contacto { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.campos-contacto .campo-email { grid-column: 1 / -1; }
.campos-perguntas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; padding-top: 4px; border-top: 1px solid var(--bege); }
.campos-perguntas fieldset { padding-top: 16px; }
.campos-perguntas legend { float: left; width: 100%; padding-top: 16px; margin-bottom: 4px; }
.campos-perguntas legend + * { clear: both; }
.campo-consentimento { padding-top: 6px; border-top: 1px solid var(--bege); }
.campo-consentimento .opc { font-size: 14px; line-height: 1.5; }
.campo-consentimento a { font-weight: 600; text-underline-offset: 3px; }
.campo-erro { margin-top: 6px; color: #9E3B2A; font-size: 14px; font-weight: 600; line-height: 1.45; }
.campo-erro .ligacao-botao { min-height: 36px; font-size: 14px; color: var(--verde); }
input.is-erro, input[aria-invalid="true"][type=text], input[aria-invalid="true"][type=tel], input[aria-invalid="true"][type=email] { border-color: #9E3B2A; box-shadow: inset 0 0 0 1px #9E3B2A; }
fieldset.is-erro legend { color: #9E3B2A; }
.form-estado { min-height: 1.4em; color: var(--verde); font-size: 15px; font-weight: 600; line-height: 1.45; }
.form-estado:empty { display: none; }
.form-estado.is-erro { padding: 12px 14px; color: #9E3B2A; background: #F8ECE9; border-left: 3px solid #9E3B2A; border-radius: 2px; }
.campo-armadilha { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-visita .btn { min-height: 52px; padding-inline: 32px; font-size: 16px; }
.form-visita .btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-visita { position: relative; }

/* ---------- Galeria ampliável ---------- */
.foto-botao { display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; background: none; cursor: zoom-in; position: relative; }
.foto-botao img { transition: transform .5s var(--movimento), filter .3s; }
.foto-botao:hover img { filter: brightness(1.04); }
.foto-botao::after { content: "Ampliar"; position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; background: rgb(15 61 46 / .82); color: var(--marfim); font-size: 12px; font-weight: 600; border-radius: 2px; opacity: 0; transition: opacity .25s; }
.foto-botao:hover::after, .foto-botao:focus-visible::after { opacity: 1; }
@media (hover: none) { .foto-botao::after { opacity: 1; } }

.janela-foto { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgb(11 30 23 / .97); color: var(--marfim); }
.janela-foto[open] { display: grid; grid-template-rows: auto 1fr auto; }
.janela-foto::backdrop { background: rgb(11 30 23 / .9); }
.janela-topo, .janela-base { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
.janela-contador, .janela-legenda { font-size: 14px; font-weight: 500; }
.janela-legenda { flex: 1; text-align: center; }
.janela-fechar, .janela-anterior, .janela-seguinte { min-width: 48px; min-height: 48px; padding: 0 14px; border: 1px solid rgb(237 225 209 / .4); border-radius: 2px; background: transparent; color: var(--marfim); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.janela-anterior, .janela-seguinte { font-size: 28px; line-height: 1; }
.janela-fechar:hover, .janela-anterior:hover, .janela-seguinte:hover { background: rgb(237 225 209 / .12); }
.janela-foto :focus-visible { outline-color: var(--dourado); }
.janela-palco { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 12px; overflow: hidden; }
.janela-palco img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.janela-foto.is-planta .janela-palco { overflow: auto; }
.janela-foto.is-planta .janela-palco svg { width: auto; height: 100%; max-width: 100%; max-height: calc(100dvh - 150px); background: #FFFFFF; border-radius: 4px; padding: 8px; }

/* ---------- Planta ---------- */
.planta-grelha { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.planta-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.planta-areas div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgb(15 61 46 / .14); font-size: 15px; }
.planta-areas dt { font-weight: 600; }
.planta-areas dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.planta-areas small { display: block; color: var(--verde-profundo); font-size: 12px; }
.planta-figura figcaption { margin-top: 8px; color: var(--verde-profundo); font-size: 13px; line-height: 1.5; }
.planta-botao { position: relative; display: block; width: 100%; padding: 14px; border: 1px solid rgb(15 61 46 / .14); border-radius: 6px; background: #FFFFFF; cursor: zoom-in; }
.planta-svg { display: block; width: 100%; height: auto; }
.planta-ampliar { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; background: var(--verde); color: var(--marfim); font-size: 13px; font-weight: 600; border-radius: 2px; }
.pl-divisoes polygon { fill: #FFFFFF; stroke: var(--verde); stroke-width: 9; stroke-linejoin: miter; }
.pl-divisoes .pl-roupeiro { fill: var(--bege); stroke: var(--verde); stroke-width: 5; }
.pl-portas line { stroke: #FFFFFF; stroke-width: 12; }
.pl-janelas rect { fill: #FFFFFF; stroke: var(--dourado-escuro); stroke-width: 2.5; }
.pl-legendas text { fill: var(--verde); text-anchor: middle; font-family: "Montserrat", system-ui, sans-serif; }
.pl-nome { font-size: 22px; font-weight: 700; }
.pl-area { font-size: 19px; font-weight: 500; fill: var(--verde-profundo); }
.pl-medida { font-size: 15px; font-weight: 400; fill: var(--verde-profundo); }
.pl-pequena .pl-nome { font-size: 16px; }
.pl-pequena .pl-area { font-size: 16px; }

/* ---------- Diversos ---------- */
.mapa img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.garagem-texto { margin-top: 28px; font-weight: 300; }
.rodape-nota { margin-top: 10px; color: var(--bege); font-size: 13px; }
.rodape-ligacoes { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 18px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgb(237 225 209 / .2); font-size: 14px; }
.rodape-ligacoes a, .rodape-ligacoes .ligacao-botao { display: inline-flex; align-items: center; min-height: 44px; color: var(--marfim); font-weight: 500; text-underline-offset: 3px; }
.rodape-ligacoes li:has(> [hidden]) { display: none; }

/* ---------- Botão fixo no telemóvel ---------- */
.barra-visita { display: none; }
@media (max-width: 860px) {
  .barra-visita {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(248 247 242 / .97);
    border-top: 1px solid var(--bege);
    box-shadow: 0 -8px 24px rgb(15 61 46 / .1);
    transform: translateY(110%);
    transition: transform .35s var(--movimento);
  }
  .barra-visita.is-visivel { transform: none; }
  .barra-visita .btn { width: 100%; min-height: 50px; font-size: 16px; }
  footer { padding-bottom: 96px; }
}

/* ---------- Aviso de cookies ---------- */
.cookie { position: fixed; left: 50%; bottom: 24px; z-index: 40; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 110px); overflow: auto; padding: 22px; background: #FFFFFF; color: var(--verde); border-top: 3px solid var(--dourado); border-radius: 4px; box-shadow: 0 14px 44px rgb(15 61 46 / .25); font-size: 15px; line-height: 1.55; }
.cookie h2 { max-width: none; margin: 0 0 10px; font-size: 19px; line-height: 1.3; }
.cookie p { margin-bottom: 10px; color: var(--verde-profundo); }
.cookie .cookie-nota { font-size: 14px; }
.cookie-opcao { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin: 6px 0 0; padding: 6px 0; font-size: 15px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.cookie-opcao input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--verde); }
.cookie-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cookie-acoes .btn { flex: 1 1 140px; min-height: 48px; }
.cookie-simples .cookie-acoes .btn { flex: 1 1 0; }
.cookie-personalizar, .cookie-ligacao { display: inline-flex; align-items: center; min-height: 44px; margin: 6px 12px 0 0; padding: 0 2px; border: 0; background: none; color: var(--verde); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 860px) { .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100svh - 150px); } }

/* ---------- Páginas legais e de obrigado ---------- */
.pagina-simples main { padding-block: 64px 80px; }
.texto-legal { max-width: 46em; }
.texto-legal h1 { margin-bottom: 10px; font-size: clamp(32px, 4.4vw, 48px); }
.texto-legal .texto-legal-data { margin-bottom: 36px; color: var(--verde-profundo); font-size: 14px; }
.texto-legal h2 { margin: 38px 0 12px; font-size: clamp(22px, 2.6vw, 28px); }
.texto-legal p, .texto-legal li, .texto-legal dd, .texto-legal dt { color: var(--verde-profundo); font-size: 17px; line-height: 1.65; }
.texto-legal p + p { margin-top: 12px; }
.texto-legal ul { margin: 10px 0 0; padding-left: 1.2em; }
.texto-legal li + li { margin-top: 8px; }
.texto-legal a { font-weight: 600; text-underline-offset: 3px; }
.texto-legal .responsavel { margin: 14px 0 0; padding: 18px 20px; background: #FFFFFF; border: 1px solid var(--bege); border-left: 3px solid var(--dourado); border-radius: 4px; }
.texto-legal .responsavel + .responsavel { margin-top: 12px; }
.texto-legal .responsavel p { margin: 0; }
.texto-legal table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; }
.texto-legal th, .texto-legal td { padding: 10px 8px; border-bottom: 1px solid var(--bege); text-align: left; vertical-align: top; color: var(--verde-profundo); }
.texto-legal th { color: var(--verde); font-weight: 600; }
.tabela-rolagem { overflow-x: auto; }
.voltar { display: inline-flex; align-items: center; min-height: 44px; color: var(--verde); font-size: 14px; font-weight: 600; text-underline-offset: 3px; }
.obrigado { max-width: 40em; text-align: left; }
.obrigado .selo { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 26px; border: 2px solid var(--dourado); border-radius: 50%; }
.obrigado h1 { margin-bottom: 18px; }
.obrigado .acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (max-width: 860px) {
  .visita-grelha, .planta-grelha { grid-template-columns: 1fr; gap: 26px; }
  .visita-texto { position: static; }
  .form-visita { padding: 22px 18px; }
  .campos-perguntas { grid-template-columns: 1fr; gap: 4px; }
  .heroi-cartao { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 16px 18px 18px; grid-template-columns: 1fr auto; align-items: end; column-gap: 14px; }
  .heroi-cartao-ref { grid-column: 1 / -1; font-size: 12px; }
  .heroi-cartao-preco { margin: 0; font-size: 24px; }
  .heroi-cartao .btn { width: auto; padding-inline: 18px; }
}
@media (max-width: 560px) {
  .campos-contacto { grid-template-columns: 1fr; }
  .planta-areas { grid-template-columns: 1fr; }
  .heroi-cartao { grid-template-columns: 1fr; }
  .heroi-cartao .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .barra-visita, .foto-botao img, .foto-botao::after { transition: none; }
}

/* ---------- Movimento (só com js/efeitos.js e sem pedido de movimento reduzido) ---------- */
header.topo { transition: box-shadow .35s var(--movimento), background-color .35s; }
header.topo .marca img { transform-origin: left center; transition: transform .35s var(--movimento); }
header.topo.is-deslocado { box-shadow: 0 8px 24px rgb(15 61 46 / .08); background: rgb(248 247 242 / .98); }
header.topo.is-deslocado .marca img { transform: scale(.9); }
.fx .fx-subir { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--movimento) var(--atraso, 0ms), transform .8s var(--movimento) var(--atraso, 0ms); }
.fx .fx-subir.fx-visivel { opacity: 1; transform: none; }
.fx .fx-titulo .fx-palavra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.fx .fx-titulo .fx-palavra > span { display: inline-block; transform: translateY(105%); transition: transform .75s var(--movimento); transition-delay: calc(var(--i, 0) * 45ms); }
.fx .fx-titulo.fx-visivel .fx-palavra > span { transform: none; }
.fx .fx-revelar { position: relative; overflow: hidden; }
.fx .fx-revelar img { transform: scale(1.06); transition: transform 1.1s var(--movimento) var(--atraso, 0ms); }
.fx .fx-revelar::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--bege); transform-origin: right center; transition: transform .9s var(--movimento) var(--atraso, 0ms); pointer-events: none; }
.fx .sec-areia .fx-revelar::after { background: var(--marfim); }
.fx .fx-revelar.fx-visivel::after { transform: scaleX(0); }
.fx .fx-revelar.fx-visivel img { transform: none; }
.fx .fx-linha { position: relative; border-top-color: transparent; }
.fx .fx-linha::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--dourado-escuro); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--movimento) var(--atraso, 0ms); }
.fx .fx-linha.fx-visivel::before { transform: none; }
.fx-paralaxe .apresentacao-imagens img { transform: translate3d(0, var(--paralaxe, 0px), 0) scale(1.06); will-change: transform; }
/* Realce ao passar o rato ou tocar */
.foto-botao { overflow: hidden; }
.foto-botao:hover img { transform: scale(1.035); }
.form-visita { transition: box-shadow .4s var(--movimento), transform .4s var(--movimento); }
.form-visita:focus-within { box-shadow: 0 0 0 3px rgb(201 169 106 / .35), 0 16px 40px rgb(15 61 46 / .1); }
.planta-botao { transition: box-shadow .35s var(--movimento); }
.planta-botao:hover { box-shadow: 0 14px 34px rgb(15 61 46 / .12); }
.btn:active { transform: translateY(0) scale(.98); }
@media (prefers-reduced-motion: reduce) {
  header.topo, header.topo .marca img, .form-visita, .planta-botao { transition: none; }
  header.topo.is-deslocado .marca img, .foto-botao:hover img, .btn:active { transform: none; }
}

/* ---------- WhatsApp no obrigado ---------- */
.whatsapp-zona { margin-top: 30px; }
.btn-whatsapp { gap: 10px; min-height: 54px; padding-inline: 28px; font-size: 16px; }
.btn-whatsapp svg { flex: none; color: var(--dourado); }
.whatsapp-apoio { margin-top: 10px; color: var(--verde-profundo); font-size: 14px; }
.whatsapp-zona:not([hidden]) + .acoes { margin-top: 22px; }
@media (max-width: 560px) { .btn-whatsapp, .obrigado .acoes .btn { width: 100%; } }
