/* VIDA Pau de Canela · estilos da página
   Cores tiradas da logo vetorial e da faixa dos PDFs da Gioda. Fonte: Fira Sans (a mesma do site da Tetra). */

:root {
  --bg: #F1F3F0;          /* papel levemente esverdeado */
  --surface: #E3E8E4;     /* degrau de tom */
  --ink: #0E2A29;         /* tinta: petróleo escuro */
  --muted: #4A5E5C;
  --petrol: #016966;      /* faixa da marca */
  --deep: #013938;        /* verde escuro da marca */
  --leaf: #4F854D;        /* verde da logo */
  --mint: #7ABDBC;        /* teal da logo */
  --coral: #E8544C;       /* só na logo */
  --paper: #F7F8F5;
  --accent: var(--petrol);
  --accent-ink: #FFFFFF;
  --focus: #7ABDBC;
  --radius: 0;
  --m: clamp(16px, 2.2vw, 32px);
  --step-small: 0.875rem;                       /* 14px */
  --step-body: clamp(1.0625rem, 0.98rem + 0.25vw, 1.1875rem); /* 17 a 19px */
  --step-lead: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);       /* 20 a 24px */
  --step-h2: clamp(2.125rem, 1.3rem + 2.6vw, 3.5rem);          /* 34 a 56px */
  --step-display: clamp(2.75rem, 1.2rem + 5vw, 6rem);          /* 44 a 96px */
  --panel-w: min(460px, 36vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Fira Sans", system-ui, sans-serif;
  font-size: var(--step-body); line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 400; line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tabular { font-variant-numeric: tabular-nums; }
.wrap { padding-inline: var(--m); }
section { position: relative; }

/* ---------- Botões ---------- */
.btn { font-weight: 500; letter-spacing: .005em; --fill: var(--deep); --fill-ink: #fff; }
.btn--claro { --btn-bg: var(--paper); --btn-ink: var(--deep); --fill: #fff; --fill-ink: var(--deep); }
.btn--linha { --btn-bg: transparent; --btn-ink: currentColor; border: 1.5px solid currentColor; --fill: currentColor; }
.btn--linha:hover { color: var(--bg); }
.btn svg { width: 20px; height: 20px; flex: none; }
.link { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Topo ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px; padding-inline: var(--m); color: #fff; }
.topo.is-scrolled { background: var(--bg); color: var(--ink); }
.topo.is-scrolled.sobre-palco { background: transparent; color: #fff; }
.topo.is-scrolled.sobre-palco .logo-claro { display: block; }
.topo.is-scrolled.sobre-palco .logo-escuro { display: none; }
.topo__marca { display: block; width: 148px; }
.topo__marca img { width: 100%; height: auto; }
.topo__marca .logo-escuro { display: none; }
.topo.is-scrolled .logo-claro { display: none; }
.topo.is-scrolled .logo-escuro { display: block; }
.topo__nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); font-size: var(--step-small); font-weight: 500; }
.topo__nav a:not(.btn) { text-decoration: none; padding-block: 12px; }
.topo__nav a:not(.btn):hover { text-decoration: underline; }
.topo .btn { min-height: 44px; padding: .6em 1.1em; font-size: var(--step-small); }
.topo:not(.is-scrolled) .btn { --btn-bg: rgba(1, 57, 56, .82); }
.topo__menu { display: none; min-height: 44px; padding: 0 4px; background: none; border: 0; font-weight: 500; cursor: pointer; }
.menu-painel { position: fixed; inset: 0; z-index: 80; background: var(--deep); color: var(--paper); padding: 96px var(--m) 32px;
  display: flex; flex-direction: column; gap: 8px; }
.menu-painel[hidden] { display: none; }
.menu-painel a:not(.btn) { font-size: clamp(28px, 8vw, 40px); text-decoration: none; padding-block: 6px; }
.menu-painel .btn { margin-top: auto; }
.menu-painel__fechar { position: absolute; top: 14px; right: var(--m); min-height: 44px; background: none; border: 0; color: inherit; font-weight: 500; cursor: pointer; }
@media (max-width: 899px) {
  .topo__nav a:not(.btn) { display: none; }
  .topo__nav .btn { display: none; }
  .topo__menu { display: inline-flex; align-items: center; }
  .topo { height: 64px; }
  .topo__marca { width: 124px; }
}

/* ---------- Palco: o prédio interativo ---------- */
.palco { position: relative; background: var(--deep); color: #fff; --fixo-h: max(100svh, 560px); --pausa: 110svh; }
/* O trilho dá a distância de scroll; a janela fica presa enquanto o vídeo avança */
.palco__trilho { position: relative; height: calc(var(--fixo-h) + 150svh + var(--pausa)); }
/* Depois que o vídeo termina, o prédio fica preso mais um trecho (--pausa) antes de a página seguir */
.palco__medida-pausa { position: absolute; top: 0; left: 0; width: 1px; height: var(--pausa); visibility: hidden; pointer-events: none; }
/* A interface aparece em fade junto com a aproximação: --ui vai de 0 a 1 no último terço do vídeo (app.js) */
.palco { --ui: 1; }
.palco__janela { position: sticky; top: 0; height: var(--fixo-h); overflow: hidden; }
.sem-scrub .palco__trilho, .no-js .palco__trilho { height: auto; }
.sem-scrub .palco__janela, .no-js .palco__janela { position: relative; }
.palco__quadro { position: absolute; left: 0; top: 0; width: 2560px; height: 1440px; transform-origin: 0 0; }
.palco__quadro.is-anima { transition: transform 900ms var(--ease-in-out); }
.palco__img, .palco__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; max-width: none; }
.palco__video { opacity: 1; }
.palco.is-pronto .palco__video, .sem-scrub .palco__video, .no-js .palco__video { opacity: 0 !important; visibility: hidden; }
/* Sem JS: a foto cobre a tela, sem SVG */
.no-js .palco__quadro { position: absolute; inset: 0; width: 100%; height: 100%; transform: none !important; }
.no-js .palco__img--dia { object-fit: cover; }
.no-js .palco__andares, .no-js .palco__regua { display: none; }
.palco__andares { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.andar { cursor: pointer; outline: none; }
.andar path { fill: rgba(79, 133, 77, 0); stroke: rgba(122, 189, 188, 0); stroke-width: 1.5px; vector-effect: non-scaling-stroke;
  stroke-linejoin: round; transition: fill 220ms ease, stroke 220ms ease; }
.andar:hover path, .andar.is-hover path, .andar:focus-visible path { fill: rgba(79, 133, 77, .16); stroke: rgba(160, 214, 206, .85); }
.andar:focus-visible path { stroke: #fff; stroke-width: 2px; }
.andar.is-ativo path { fill: rgba(79, 133, 77, .24); stroke: rgba(196, 236, 226, .95); }
.js .palco:not(.is-pronto):not(.sem-scrub) .andar path { stroke: rgba(196, 236, 226, calc(var(--ui) * .55)); }
.andar.is-pisca path { fill: rgba(79, 133, 77, .2); stroke: rgba(160, 214, 206, .8); }
.palco:not(.is-pronto) .palco__andares { pointer-events: none; }

/* Régua de alturas: cada andar, a sua altura sobre o bairro */
.palco__regua { position: absolute; inset: 0; pointer-events: none; opacity: var(--ui); transition: opacity 160ms linear; }
.palco.painel-aberto .palco__regua { opacity: 0; transition-duration: 400ms; }
.palco__dica-scroll { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 3; margin: 0; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: var(--step-small); font-weight: 500; color: #fff; transition: opacity 400ms ease; }
.palco__dica-scroll span { background: rgba(1, 57, 56, .62); padding: 6px 14px; }
.palco__dica-scroll::after { content: ""; width: 2px; height: 34px; background: currentColor; transform-origin: top; animation: dica 1.8s var(--ease-in-out) infinite; }
@keyframes dica { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.palco.is-andando .palco__dica-scroll, .palco.is-pronto .palco__dica-scroll, .sem-scrub .palco__dica-scroll, .no-js .palco__dica-scroll { opacity: 0; }
.regua__item { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 12px; white-space: nowrap;
  font-size: var(--step-small); line-height: 1.2; color: rgba(255,255,255,.88); transform: translate(var(--x), calc(var(--y) - 50%));
  transition: color 200ms ease; }
.regua__item span { background: rgba(1, 57, 56, .55); padding: 2px 8px; }
.regua__item::before { content: ""; width: 20px; height: 1.5px; background: currentColor; align-self: center; opacity: .7; }
.regua__nome { opacity: 0; transform: translateX(-6px); transition: opacity 220ms ease, transform 300ms var(--ease-out); font-weight: 500; }
.regua__item.is-hover { color: #fff; }
.regua__item.is-hover .regua__nome { opacity: 1; transform: none; }

.palco__titulo { position: absolute; left: var(--m); top: calc(100% - var(--fixo-h) + 112px); z-index: 3; width: clamp(240px, 19vw, 340px); }
.palco__janela > .palco__titulo { top: 112px; }
.palco__titulo h1 { font-size: clamp(2.25rem, 1.2rem + 1.4vw, 3rem); font-weight: 400; line-height: 1.08; }
.palco__base { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; transition: background-color 400ms ease; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding: 64px var(--m) 28px; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 26, 26, .62), rgba(8, 26, 26, 0)); } /* taste-skill-ignore: véu neutro sob texto em cima da foto */
.palco__base > * { pointer-events: auto; }
.palco__titulo, .palco__chamada { transition: opacity 160ms linear, transform 160ms linear; }
/* A interface só aparece quando o prédio chega (o vídeo termina no quadro da fase interativa) */
@media (min-width: 1100px) {
  .js .palco:not(.sem-scrub) .palco__titulo,
  .js .palco:not(.sem-scrub) .palco__chamada { opacity: var(--ui); transform: translateY(calc((1 - var(--ui)) * 24px)); }
  .js .palco:not(.is-pronto):not(.sem-scrub) .palco__titulo,
  .js .palco:not(.is-pronto):not(.sem-scrub) .palco__chamada { pointer-events: none; }
  .js .palco:not(.is-pronto):not(.sem-scrub) .palco__base { background: none; }

}
@media (min-width: 1100px) {
  .palco.painel-aberto .palco__titulo, .palco.painel-aberto .palco__chamada { opacity: 0; transform: translateX(-24px); pointer-events: none; }
  .palco__chamada { width: clamp(260px, 21vw, 360px); }
}
.palco__chamada { display: flex; flex-direction: column; gap: 16px; max-width: 46ch; align-items: flex-start; }
.palco__chamada p { font-size: 18px; }
.palco__dica { font-size: var(--step-small); opacity: .85; }

/* lista de andares (celular e teclado alternativo) */
.andares-lista { display: none; }
.palco__dica-toque { display: none; }

@media (max-width: 1099px) {
  .palco__dica-toque { display: block; }
  .palco { height: auto; min-height: 0; background: var(--bg); color: var(--ink); --fixo-h: 100svh; }
  .palco { --pausa: 70svh; }
  .palco__trilho { height: calc(200svh + var(--pausa)); }
  .palco__janela { height: 100svh; background: #6f93bf; }
  .sem-scrub .palco__janela, .no-js .palco__janela { height: 78svh; }
  .palco__dica-scroll { bottom: 24px; white-space: nowrap; }
  .palco__dica-toque { position: absolute; left: 50%; bottom: 24px; z-index: 3; margin: 0; white-space: nowrap;
    font-size: var(--step-small); font-weight: 500; color: #fff; background: rgba(1, 57, 56, .72); padding: 8px 14px; pointer-events: none;
    opacity: var(--ui); transform: translate(-50%, calc((1 - var(--ui)) * 10px)); transition: opacity 160ms linear; }
  .sem-scrub .palco__dica-toque { opacity: 1; transform: translate(-50%, 0); }
  .palco.painel-aberto .palco__dica-toque { opacity: 0; }
  .palco__titulo { position: relative; top: auto; left: auto; width: auto; padding: 24px var(--m) 0; color: var(--ink); }
  .palco__titulo h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); max-width: 18ch; }
  .palco__base { padding-top: 12px; }
  .palco__base { position: relative; flex-direction: column; align-items: stretch; padding: 20px var(--m) 28px; background: var(--bg); color: var(--ink); gap: 18px; }
  .palco__chamada .btn { width: 100%; }
        .palco__regua { display: none; }
  .andares-lista { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 2px; }
  .palco__chamada { width: 100%; min-width: 0; max-width: none; }
  .andares-lista button { flex: none; min-height: 44px; padding: 0 14px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; font-weight: 500; }
  .andares-lista button[aria-expanded="true"] { background: var(--deep); color: #fff; }
}

/* ---------- Painel lateral do andar ---------- */
.painel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: var(--panel-w); background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden;
  transition: transform 520ms var(--ease-in-out), visibility 0s linear 520ms; }
.painel.is-aberto { transform: none; visibility: visible; transition: transform 560ms var(--ease-out), visibility 0s; }
.painel__cab { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 28px 28px 20px; background: var(--deep); color: var(--paper); }
.painel__cab h2 { font-size: clamp(1.75rem, 1.2rem + 1vw, 2.25rem); }
.painel__cab p { grid-column: 1 / -1; font-size: var(--step-small); color: rgba(247, 248, 245, .78); max-width: 40ch; }
.painel__fechar { align-self: start; min-width: 44px; min-height: 44px; border: 0; background: rgba(255,255,255,.1); color: inherit; cursor: pointer; display: grid; place-items: center; }
.painel__fechar svg { width: 18px; height: 18px; }
.painel__corpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px 28px 32px; }
.painel__navAndar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 28px; background: var(--surface); font-size: var(--step-small); font-weight: 500; }
.painel__navAndar button { min-height: 44px; background: none; border: 0; cursor: pointer; padding: 0; }
.painel__navAndar button:disabled { opacity: .35; cursor: default; }

.chave { margin: 0 0 24px; }
.chave svg { width: 100%; height: auto; }
.chave text { font-family: "Fira Sans", sans-serif; }
.chave .cel { fill: var(--surface); stroke: var(--paper); stroke-width: 3; cursor: pointer; transition: fill 200ms ease; }
.chave .cel:hover, .chave .cel.is-hover { fill: var(--mint); }
.chave .nucleo { fill: transparent; stroke: none; }
.chave .num { font-size: 15px; font-weight: 500; fill: var(--ink); pointer-events: none; }
.chave .rot { font-size: 12.5px; fill: var(--muted); }
.chave figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 6px; }

.unidades { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.unidade { padding: 18px 16px 20px; margin-inline: -16px; transition: background-color 200ms ease; }
.unidade + .unidade { margin-top: 6px; }
.unidade.is-hover { background: var(--surface); }
.unidade__cab { display: flex; align-items: baseline; gap: 14px; }
.unidade__num { font-size: 2rem; line-height: 1; font-weight: 300; letter-spacing: -0.02em; min-width: 3.2ch; font-variant-numeric: tabular-nums; }
.unidade__tipo { font-weight: 500; }
.unidade__dados { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 12px 0 14px; font-size: var(--step-small); }
.unidade__dados dt { color: var(--muted); }
.unidade__dados dd { margin: 0; font-variant-numeric: tabular-nums; }
.unidade__acoes { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.unidade__acoes .btn { min-height: 44px; padding: .6em 1em; font-size: var(--step-small); }
.unidade__acoes .link { font-size: var(--step-small); font-weight: 500; min-height: 44px; }
.comuns { list-style: none; padding: 0; margin: 0 0 20px; }
.comuns li { padding: 12px 16px; background: var(--surface); }
.comuns li + li { margin-top: 4px; }
.painel__aviso { font-size: 13px; color: var(--muted); margin-top: 24px; }

@media (max-width: 1099px) {
  .painel { top: auto; left: 0; width: 100%; height: 82svh; transform: translateY(100%); }
  .painel.is-aberto { transform: none; }
  .painel__cab { padding: 22px var(--m) 16px; }
  .painel__corpo { padding: 20px var(--m) 28px; }
  .painel__navAndar { padding: 6px var(--m); }
  .painel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; background: rgba(255,255,255,.4); z-index: 2; }
}
.painel-veu { position: fixed; inset: 0; z-index: 65; background: rgba(4, 22, 22, .35); opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s linear 300ms; }
.painel-veu.is-aberto { opacity: 1; visibility: visible; transition: opacity 300ms ease; }
@media (min-width: 1100px) { .painel-veu { display: none; } }

/* ---------- Visor (planta e vista) ---------- */
.visor { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b1f1f; color: #fff; }
.visor::backdrop { background: rgba(0, 0, 0, .6); }
.visor[open] { display: grid; grid-template-rows: auto 1fr auto; }
.visor__cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--m); }
.visor__cab h2 { font-size: var(--step-lead); }
.visor__abas { display: flex; gap: 6px; flex-wrap: wrap; }
.visor__abas button { min-height: 40px; padding: 0 14px; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; font-size: var(--step-small); }
.visor__abas button[aria-pressed="true"] { background: var(--paper); color: var(--deep); }
.visor__fechar { min-width: 44px; min-height: 44px; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.visor__fechar svg { width: 18px; height: 18px; }
.visor__area { position: relative; overflow: hidden; touch-action: none; cursor: grab; background: #FDF7EA; }
.visor--vista .visor__area { background: #0b1f1f; cursor: default; touch-action: auto; }
.visor__area.is-arrastando { cursor: grabbing; }
.visor__img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.visor--vista .visor__img { position: static; width: 100%; height: 100%; object-fit: contain; transform: none !important; }
.visor__zoom { position: absolute; right: var(--m); bottom: 16px; display: flex; gap: 6px; }
.visor__zoom button { width: 44px; height: 44px; border: 0; background: var(--deep); color: #fff; font-size: 22px; cursor: pointer; }
.visor--vista .visor__zoom { display: none; }
.visor__rodape { padding: 12px var(--m) 16px; font-size: 13px; color: rgba(255,255,255,.78); display: grid; gap: 6px; max-width: 110ch; }
.visor__rodape strong { color: #fff; font-weight: 500; font-size: var(--step-small); }

/* ---------- Vistas (close-up com cartão em coluna) ---------- */
.vistas__quadro { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.vistas__quadro > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vistas__legenda { position: absolute; left: var(--m); bottom: 0; right: 0; padding: 48px 0 20px; color: #fff; font-size: var(--step-small);
  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0)); padding-left: 0; } /* taste-skill-ignore: véu neutro sob a legenda da foto */
/* Cartão de vidro (pedido do cliente): menor, translúcido, com a foto desfocada por trás */
.vistas__cartao { position: absolute; top: 50%; transform: translateY(-50%); width: 292px; z-index: 2;
  display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 18px; color: #fff; border-radius: 6px;
  background: rgba(1, 57, 56, .84); border: 1px solid rgba(255, 255, 255, .22); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .vistas__cartao { background: rgba(4, 30, 30, .42); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); } /* taste-skill-ignore: vidro pedido pelo cliente */
}
.vistas__cartao[data-col="2"] { left: calc(var(--m) + (100vw - 2 * var(--m)) / 4); }
.vistas__cartao[data-col="3"] { left: calc(var(--m) + (100vw - 2 * var(--m)) / 2); }
.vistas__cartao[data-col="4"] { left: auto; right: calc(var(--m) + 24px); }
.vistas__cartao h2 { font-size: 1.625rem; font-weight: 400; letter-spacing: -0.01em; }
.vistas__cartao p { font-size: var(--step-small); line-height: 1.5; color: rgba(255, 255, 255, .92); }
.vistas__cartao .fato { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .78); }
.vistas__cartao figure { margin: 10px 0 12px; aspect-ratio: 16 / 10; background: rgba(253, 247, 234, .92); border-radius: 3px; overflow: hidden; }
.vistas__cartao figure img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.vistas__cartao .btn { width: 100%; min-height: 44px; padding: .6em 1em; font-size: var(--step-small); border-radius: 3px;
  --btn-bg: rgba(255, 255, 255, .94); --btn-ink: var(--deep); --fill: var(--paper); --fill-ink: var(--deep); }
.vistas__cartao .link { font-size: var(--step-small); align-self: center; min-height: 36px; margin-top: 6px; color: rgba(255, 255, 255, .9); }
.vistas__cartao .btn { transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (max-width: 899px) {
  .vistas__quadro { height: 92svh; min-height: 560px; }
  .vistas__quadro > img { position: absolute; height: 100%; }
  .vistas__legenda { position: absolute; top: 76px; bottom: auto; padding: 6px 10px; left: var(--m); right: auto; max-width: calc(100% - 2 * var(--m)); background: rgba(0,0,0,.45); font-size: 13px; }
  .vistas__cartao, .vistas__cartao[data-col] { top: auto; bottom: 20px; left: var(--m); right: var(--m); transform: none; width: auto; }
  .vistas__cartao figure { display: none; }
}

/* ---------- Tipologias (linhas com fotos na margem) ---------- */
.tipos { padding-block: clamp(72px, 9vw, 140px); }
.tipos__abre { min-height: 52svh; height: auto; display: flex; align-items: center; padding-left: 35%; padding-right: var(--m); }
.tipos__abre h2 { font-size: var(--step-display); max-width: 13ch; }
.tipos__linha { display: grid; grid-template-columns: 35% 1fr auto; gap: 0 32px; padding-right: var(--m); margin-top: clamp(64px, 8vw, 116px); align-items: start; }
.tipos__texto { grid-column: 2; max-width: 40ch; }
.tipos__texto h3 { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 3rem); margin-bottom: 14px; }
.tipos__texto p { color: var(--ink); }
.tipos__texto .link { display: inline-block; margin-top: 14px; font-weight: 500; min-height: 32px; }
.tipos__foto { grid-column: 3; margin: 0; background: var(--paper); overflow: hidden; }
.tipos__foto img { width: 100%; height: 100%; object-fit: cover; }
.tipos__foto--planta img { object-fit: contain; padding: 10px; }
.tipos__foto.f1 { width: 240px; aspect-ratio: 4 / 5; }
.tipos__foto.f2 { width: 320px; aspect-ratio: 3 / 2; }
.tipos__foto.f3 { width: 200px; aspect-ratio: 1; }
.tipos__foto.f4 { width: 280px; aspect-ratio: 4 / 5; }
.lista { margin: clamp(72px, 9vw, 120px) var(--m) 0 35%; }
.lista summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 500; font-size: var(--step-lead); }
.lista summary::-webkit-details-marker { display: none; }
.lista summary .faq__icon { width: 14px; height: 14px; }
.lista:not([open]) .tabela { display: none; }
.tabela { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: var(--step-small); }
.tabela th, .tabela td { text-align: left; padding: 12px 12px 12px 0; vertical-align: top; }
.tabela tbody tr + tr th, .tabela tbody tr + tr td { border-top: 1px solid var(--surface); }
.tabela small { display: block; color: var(--muted); font-size: 13px; }
.tabela__andar th { padding-top: 32px; font-size: var(--step-body); font-weight: 500; }
.tabela__andar span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.tabela .link-wa { font-weight: 500; white-space: nowrap; }
@media (max-width: 899px) {
  .tipos__abre { padding-left: var(--m); min-height: 40svh; }
  .tipos__abre h2 { font-size: 11vw; }
  .tipos__linha { grid-template-columns: 1fr; padding-inline: var(--m); margin-top: 64px; }
  .tipos__texto, .tipos__foto { grid-column: 1; }
  .tipos__foto { margin-top: 20px; }
  .tipos__foto.f1, .tipos__foto.f2, .tipos__foto.f3, .tipos__foto.f4 { width: 100%; }
  .tipos__linha:nth-of-type(odd) .tipos__foto { width: 70%; margin-left: auto; }
  .lista { margin-left: var(--m); }
  .tabela thead { display: none; }
  .tabela tr { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 12px 0; }
  .tabela tbody tr + tr { border-top: 1px solid var(--surface); }
  .tabela tbody tr + tr th, .tabela tbody tr + tr td { border-top: 0; }
  .tabela th, .tabela td { padding: 0; }
  .tabela td { grid-column: 2; }
  .tabela__andar th { grid-column: 1 / -1; padding-top: 24px; }
}

/* ---------- Localização (foto larga, bloco de cor, fatos) ---------- */
.local { padding: clamp(72px, 9vw, 140px) var(--m); background: var(--surface); }
.local h2 { font-size: var(--step-h2); max-width: 14ch; }
.local__lead { font-size: var(--step-lead); max-width: 52ch; margin-top: 24px; line-height: 1.45; }
.local__mosaico { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 72px; align-items: start; }
.local__foto { grid-column: 1 / span 8; position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.local__foto img { width: 100%; height: 100%; object-fit: cover; }
.local__foto figcaption { position: absolute; top: 0; right: 0; width: 320px; padding: 20px; background: var(--paper); font-size: var(--step-small); line-height: 1.5; }
.local__lado { grid-column: 9 / span 4; }
.local__mapa { background: var(--deep); color: var(--paper); aspect-ratio: 16 / 15; }
.local__mapa svg { width: 100%; height: 100%; }
.local__fatos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 20px 0 0; font-size: var(--step-small); }
.local__fatos dt { color: var(--muted); }
.local__fatos dd { margin: 2px 0 0; font-size: var(--step-body); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
  .local h2 { font-size: 9vw; }
  .local__lead { font-size: 18px; }
  .local__mosaico { display: block; margin-top: 40px; }
  .local__foto { aspect-ratio: 4 / 3; overflow: visible; }
  .local__foto img { aspect-ratio: 4 / 3; }
  .local__foto figcaption { position: static; width: auto; padding: 16px 0 0; background: none; }
  .local__lado { margin-top: 24px; }
  .local__mapa { aspect-ratio: 3 / 2; }
}

/* ---------- O prédio: trilho de imagens que segue o cursor ---------- */
.trilha { position: relative; height: 100svh; min-height: 600px; background: var(--deep); color: var(--paper);
  overflow-x: clip; overflow-y: visible; clip-path: inset(0 0 -60vh 0); /* as imagens descem para o verde das perguntas sem corte reto */
  display: grid; place-items: center; cursor: crosshair; touch-action: pan-y; }
.trilha__texto { position: relative; z-index: 2; text-align: center; width: min(calc(100% - 2 * var(--m)), 44rem); pointer-events: none;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px); border-radius: 8px;
  background: rgba(1, 57, 56, .78); border: 1px solid rgba(255, 255, 255, .16); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .trilha__texto { background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); } /* taste-skill-ignore: vidro pedido pelo cliente */
}
.trilha__foto--solta { border-radius: 4px; }
.trilha__texto h2 { font-size: var(--step-display); font-weight: 300; white-space: nowrap; }
.trilha__texto p { margin: 20px auto 0; max-width: 40ch; font-size: var(--step-lead); line-height: 1.45; color: rgba(247, 248, 245, .9); }
.trilha__dica { margin-top: 28px !important; font-size: var(--step-small) !important; color: rgba(247, 248, 245, .6) !important; }
.so-toque { display: none; }
@media (hover: none) { .so-mouse { display: none; } .so-toque { display: inline; } }
.trilha__palco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.trilha__foto { position: absolute; left: 0; top: 0; width: var(--tw, 240px); height: auto; border-radius: 4px; will-change: transform, opacity; }
/* Sem animação (sem JS ou movimento reduzido): uma faixa de fotos parada */
.trilha__estatico { display: none; list-style: none; margin: 0; padding: 0 var(--m); position: absolute; left: 0; right: 0; bottom: 48px;
  gap: 16px; justify-content: center; }
.trilha__estatico img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.trilha__estatico li { width: min(22vw, 260px); aspect-ratio: 4 / 5; }
.no-js .trilha, .reduce .trilha { height: auto; min-height: 0; padding: clamp(72px, 9vw, 140px) 0; display: block; cursor: auto; }
.no-js .trilha__texto, .reduce .trilha__texto { margin-inline: auto; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.no-js .trilha__estatico, .reduce .trilha__estatico { display: flex; position: static; margin-top: 48px; flex-wrap: wrap; }
.no-js .trilha__dica, .reduce .trilha__dica { display: none; }
@media (max-width: 899px) {
  .trilha { height: 86svh; min-height: 520px; }
  .trilha__texto h2 { font-size: 12vw; }
  .trilha__texto p { font-size: 18px; }
  .trilha__estatico li { width: calc(50% - 8px); }
}

/* ---------- Perguntas (dividido com foto alta) ---------- */
.faq-sec { display: grid; grid-template-columns: 5fr 7fr; gap: 0 clamp(32px, 6vw, 96px); padding: clamp(72px, 9vw, 140px) var(--m) 0; background: var(--deep); color: var(--paper); overflow: hidden; }
.faq-sec { position: relative; overflow-x: clip; overflow-y: visible; clip-path: inset(-60vh 0 0 0); } /* e sobem para a seção do prédio */
.faq-sec > .trilha__palco { z-index: 0; }
.faq-sec__texto, .faq-sec__fotos { z-index: 1; }
.faq-sec__texto { position: relative; padding-bottom: clamp(72px, 9vw, 120px); }
.faq-sec h2 { font-size: clamp(2.25rem, 1.6rem + 1.4vw, 2.75rem); max-width: 14ch; }
.faq-sec__fatos { list-style: none; margin: 28px 0 40px; padding: 0; display: grid; gap: 8px; font-size: var(--step-body); }
.faq-sec__fatos li { color: rgba(247,248,245,.86); }
.faq { padding-block: 14px; }
.faq + .faq { margin-top: 14px; }
.faq summary { font-size: var(--step-lead); min-height: 44px; align-items: center !important; }
.faq summary .faq__icon { width: 16px; height: 16px; }
.faq p { font-size: var(--step-body); color: rgba(247,248,245,.78); padding: 10px 0 6px; max-width: 54ch; }
.faq-sec__acoes { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 36px; }
.faq-sec__fotos { position: relative; margin-top: calc(-1 * clamp(72px, 9vw, 140px)); margin-bottom: 80px; min-height: 420px; }
.faq-sec__alta { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .faq-sec { grid-template-columns: 1fr; padding-top: 0; }
  .faq-sec__fotos { order: -1; margin: 0 calc(-1 * var(--m)) 64px; }
  .faq-sec__fotos { min-height: 0; }
  .faq-sec__alta { position: static; aspect-ratio: 4 / 5; height: auto; }
    .faq-sec h2 { font-size: 30px; }
  .faq-sec__fatos { font-size: 17px; }
  .faq-sec__acoes .btn { width: 100%; }
}

/* ---------- Chamada final ---------- */
.final { position: relative; height: 90svh; min-height: 560px; overflow: hidden; color: #fff; }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.final__texto { position: absolute; left: calc(50% + 4vw); right: var(--m); bottom: 14svh; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.final__texto h2 { font-size: clamp(2.5rem, 1.2rem + 3.4vw, 4.25rem); font-weight: 300; }
.final__texto p { max-width: 40ch; }
.final__texto .btn { min-height: 52px; }
@media (max-width: 899px) {
  .final { height: auto; min-height: 0; background: var(--deep); }
  .final > img { position: relative; height: 70svh; }
  .final__texto { position: relative; left: auto; right: auto; bottom: auto; padding: 32px var(--m) 40px; }
  .final__texto h2 { font-size: 28px; }
  .final__texto .btn { width: 100%; }
}

/* ---------- Rodapé ---------- */
.rodape { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--deep); color: var(--paper); }
.rodape__foto { margin: 0; overflow: hidden; }
.rodape__foto img { width: 100%; height: 100%; object-fit: cover; }
.rodape__lado { display: flex; flex-direction: column; padding: 56px var(--m) 28px clamp(32px, 6vw, 96px); }
.rodape__marca { width: 160px; }
.rodape__menu { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 20px; }
.rodape__menu a { font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); font-weight: 500; text-decoration: none; display: inline-block;
  transition: transform 300ms var(--ease-out), color 200ms ease; }
.rodape__menu:hover a { color: rgba(247,248,245,.55); }
.rodape__menu a:hover, .rodape__menu a:focus-visible { color: var(--paper); transform: translateX(12px); }
.rodape__blocos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; font-size: var(--step-small); }
.rodape__blocos h3 { font-size: var(--step-small); font-weight: 500; letter-spacing: 0; margin-bottom: 8px; }
.rodape__blocos p, .rodape__blocos li { color: rgba(247,248,245,.82); }
.rodape__blocos ul { list-style: none; margin: 0; padding: 0; }
.rodape__legal { margin-top: auto; padding-top: 40px; font-size: 13px; line-height: 1.55; color: rgba(247,248,245,.72); display: grid; gap: 8px; }
@media (max-width: 899px) {
  .rodape { grid-template-columns: 1fr; min-height: 0; }
  .rodape__foto { height: 50svh; }
  .rodape__lado { padding: 40px var(--m) 32px; }
  .rodape__menu a { font-size: 8vw; }
  .rodape__blocos { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float { --wa-bg: var(--deep); --wa-ink: #fff; outline: 2px solid rgba(247, 248, 245, .7); outline-offset: 0; }
body.painel-on .wa-float { opacity: 0 !important; pointer-events: none !important; }
