/* Lucas Medeiros · home (Minha Casa Minha Vida e financiamento)
   Marca LM (IDV Marcos Maia): azul-marinho #14283D + rosa #EA0753, Poppins.
   Ideia (v3): os picos do LM viram telhados e prédios. O Lucas em pé na frente da cidade desenhada em linha,
   e um prédio 3D onde a pessoa escolhe andar, fachada e hora do sol: é o "eu consigo a unidade certa" na mão dela. */

@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fontes/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fontes/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fontes/poppins-800.woff2') format('woff2'); }

:root {
  --navy: #14283D;
  --navy-2: #1B3653;
  --rosa: #EA0753;
  --rosa-2: #C70646;
  --papel: #F3F5F8;
  --branco: #FFFFFF;
  --suave: #C8D2DE;
  --cinza: #55667A;
  --linha: rgba(20, 40, 61, .12);
  --linha-clara: rgba(255, 255, 255, .16);
  --zap: #1FAF5A;
  --raio: 18px;
  --gutter: 20px;
  --larg: 1180px;
  --pico: polygon(0 14%, 25% 0, 50% 14%, 75% 0, 100% 14%, 100% 100%, 0 100%);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='30' viewBox='0 0 44 30'%3E%3Cpath d='M6 24 L22 8 L38 24' fill='none' stroke='%23EA0753' stroke-width='4'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--branco); color: var(--navy);
  font: 400 17px/1.6 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.028em; line-height: 1.06; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; }
.caixa { width: 100%; max-width: var(--larg); margin: 0 auto; padding: 0 var(--gutter); }
.pular { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--rosa); color: #fff; padding: 10px 16px; border-radius: 8px; }
.pular:focus { left: 8px; }
h2 { font-size: clamp(32px, 8.6vw, 60px); }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 16.5px; text-decoration: none; line-height: 1.2; text-align: center;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.botao:active { transform: scale(.97); }
.botao svg { width: 22px; height: 22px; flex: none; }
.botao.rosa { background: var(--rosa); color: #fff; }
.botao.rosa:hover { background: var(--rosa-2); }
.botao.rosa svg { transition: transform .2s ease; }
.botao.rosa:hover svg { transform: translateX(4px); }
.botao.zap { background: var(--zap); color: #fff; }
.botao.zap:hover { background: #18984D; }
.botao.branco { background: #fff; color: var(--navy); }
.botao.branco svg { color: var(--zap); }
.botao.vazado { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.botao.vazado:hover { background: rgba(255, 255, 255, .1); }
.botao.cheio { width: 100%; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* Marca */
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca svg { width: 46px; height: auto; color: var(--rosa); }
.marca b { display: block; font-weight: 800; font-size: 15px; letter-spacing: .02em; line-height: 1.1; }
.marca small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

/* ---------- 1 · Capa ---------- */
.capa { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; position: relative; z-index: 5; }
.menu { display: flex; gap: 6px; }
.menu a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; opacity: .85; }
.menu a:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.menu a:not([href="investidor/"]) { display: none; }
.menu a[href="investidor/"] { box-shadow: inset 0 0 0 1.5px var(--linha-clara); }

.capa-grade { display: grid; position: relative; z-index: 2; }
.palco { position: relative; height: min(50svh, 470px); margin: 0 calc(var(--gutter) * -1); overflow: hidden; }
.camada { position: absolute; will-change: transform; }
.fundo-luz { inset: 8% 10% -10%; background: radial-gradient(closest-side, rgba(234, 7, 83, .34), rgba(234, 7, 83, 0) 72%); }
.cidade { left: 0; right: 0; bottom: 0; width: 100%; height: 88%; overflow: visible; }
.cidade .linha-fina path { fill: none; stroke: rgba(200, 210, 222, .26); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.cidade .linha-rosa { fill: none; stroke: var(--rosa); stroke-width: 5; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.chevrons {
  inset: 34% -10% 0 52%; background: var(--chevron) 0 0 / 40px 27px; opacity: .45;
  -webkit-mask: linear-gradient(to bottom, #000 30%, transparent); mask: linear-gradient(to bottom, #000 30%, transparent);
}
.lucas { left: 50%; bottom: -8%; width: 76%; max-width: 360px; margin-left: calc(min(76%, 360px) / -2); }
.lucas img { width: 100%; filter: drop-shadow(0 30px 40px rgba(5, 14, 26, .55)); }
.palco::after { content: ''; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(to bottom, rgba(20, 40, 61, 0), var(--navy) 88%); z-index: 3; pointer-events: none; }
.fichinhas { inset: 0; z-index: 4; pointer-events: none; }
.fichinha {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 14px;
  background: rgba(27, 54, 83, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 34px -18px rgba(0, 0, 0, .6);
  font-size: 11.5px; line-height: 1.25; color: var(--suave); white-space: nowrap;
}
.fichinha b { display: block; color: #fff; font-size: 13.5px; font-weight: 800; letter-spacing: -.005em; }
.fichinha svg { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--rosa); color: #fff; flex: none; }
.fichinha i { width: 30px; height: 30px; border-radius: 9px; flex: none; background: linear-gradient(var(--rosa) 0 0) 60% 35% / 7px 7px no-repeat, repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 7px, transparent 7px 11px) 0 0 / 100% 7px, var(--navy); background-repeat: no-repeat, repeat-y, no-repeat; }
.f1 { left: 3%; top: 34%; }
.f2 { right: 2%; top: 54%; }
.f2 span { max-width: 15ch; white-space: normal; }
.f3 { left: 4%; top: 76%; }

.capa-texto { position: relative; z-index: 4; margin-top: -8px; padding-bottom: 30px; }
.quem { font-size: 14px; font-weight: 600; color: var(--suave); }
.quem::before { content: ''; display: inline-block; width: 18px; height: 11px; margin-right: 10px; vertical-align: -1px; background: var(--chevron) center / contain no-repeat; }
.capa h1 { font-size: clamp(36px, 10vw, 84px); margin-top: 8px; }
.capa .sub { font-size: 16.5px; color: var(--suave); margin-top: 12px; max-width: 36ch; }
.capa .acoes { margin-top: 20px; }
.capa .acoes .botao { flex: 1 1 200px; }
.rolar { display: none; }

/* ---------- 2 · Contador do aluguel ---------- */
.aluguel { background: var(--navy); color: #fff; padding: 40px 0 84px; position: relative; }
.aluguel-grade { display: grid; gap: 30px; }
.aluguel-cabeca p { color: var(--suave); margin-top: 12px; font-size: 17px; max-width: 40ch; }
.aluguel-painel { background: var(--navy-2); border-radius: var(--raio); padding: 24px 20px; box-shadow: inset 0 0 0 1px var(--linha-clara); }
.aluguel-valor { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: var(--suave); font-size: 15px; }
.aluguel-valor output { color: #fff; font-size: clamp(30px, 8vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.aluguel-anos { display: grid; gap: 14px; margin-top: 24px; }
.aluguel-anos li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; }
.aluguel-anos span { font-size: 14.5px; color: var(--suave); }
.aluguel-anos b { justify-self: end; font-size: clamp(22px, 6vw, 30px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.aluguel-anos li:last-child b { color: var(--rosa); }
.aluguel-anos i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.aluguel-anos i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--rosa); transform-origin: left; transform: scaleX(var(--p)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.aluguel-anos li:not(:last-child) i::after { background: rgba(234, 7, 83, .55); }
.aluguel-fecho { margin: 24px 0 16px; font-weight: 600; font-size: 17px; }

/* Régua (range) com a cara da marca */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; margin: 10px 0 0; cursor: pointer; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--rosa) var(--v, 50%), rgba(255, 255, 255, .16) var(--v, 50%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .16); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--rosa); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--rosa), 0 6px 16px rgba(0, 0, 0, .4); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--rosa); }

/* ---------- 3 · Descobre se tu entra ---------- */
.descobre { background: var(--papel); padding: 76px 0 84px; scroll-margin-top: 0; }
.descobre-cabeca p { font-size: 18px; color: var(--cinza); margin-top: 14px; max-width: 46ch; }
.quiz {
  margin-top: 34px; background: #fff; border-radius: var(--raio); padding: 26px 20px 28px;
  box-shadow: 0 1px 0 var(--linha), 0 24px 60px -36px rgba(10, 24, 40, .45); position: relative; overflow: hidden;
}
.quiz::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--rosa); }
.quiz-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.picos-passo { display: flex; gap: 6px; }
.picos-passo li svg { width: 34px; height: 20px; color: var(--linha); transition: color .3s ease; }
.picos-passo li.on svg { color: var(--rosa); }
.passo-txt { font-size: 13.5px; color: var(--cinza); }
.passo-txt b { color: var(--navy); }
.passo { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.passo[hidden], .resultado[hidden] { display: none; }
.passo legend { font-size: clamp(21px, 5.6vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; padding: 0; text-wrap: balance; }
.opcoes { display: grid; gap: 10px; margin-top: 20px; }
.opcoes label { position: relative; display: block; cursor: pointer; }
.opcoes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opcoes span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px 20px;
  border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--linha); font-weight: 600; font-size: 17px;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.opcoes span::after { content: ''; width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--suave); transition: box-shadow .18s ease; }
.opcoes label:hover span { box-shadow: inset 0 0 0 1.5px var(--navy); }
.opcoes input:focus-visible + span { outline: 3px solid var(--rosa); outline-offset: 2px; }
.opcoes input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.opcoes input:checked + span::after { box-shadow: inset 0 0 0 6px var(--rosa); background: #fff; }
.opcoes label:active span { transform: scale(.985); }
.voltar { background: none; border: 0; padding: 12px 0 0; color: var(--cinza); font-size: 14.5px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.voltar:hover { color: var(--navy); }

.resultado { margin-top: 22px; outline: none; }
.resultado h3 { font-size: clamp(24px, 6.4vw, 34px); }
.resultado h3 em { font-style: normal; color: var(--rosa); }
#res-texto { margin-top: 12px; color: var(--cinza); }
.res-extra { margin-top: 14px; display: grid; gap: 8px; }
.res-extra li { position: relative; padding-left: 26px; font-size: 15.5px; }
.res-extra li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 11px; background: var(--chevron) center / contain no-repeat; }
.res-rotulo { margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--cinza); }
.res-imoveis { display: grid; gap: 10px; margin-top: 10px; }
.res-imovel { display: block; padding: 16px 18px; border-radius: 14px; background: var(--papel); }
.res-imovel b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.res-imovel span { display: block; font-size: 14.5px; color: var(--cinza); margin-top: 2px; }
.res-fecho { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 15px; }
.res-fecho img { width: 64px; height: 64px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rosa); }
.resultado .botao.zap { margin-top: 20px; }
.resultado .voltar { display: block; margin: 4px auto 0; }
.aviso { margin-top: 14px; font-size: 12.5px; color: var(--cinza); line-height: 1.5; }
.quiz.anima .passo.on, .quiz.anima .resultado:not([hidden]) { animation: entra .38s cubic-bezier(.2, .7, .2, 1); }
@keyframes entra { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* ---------- 4 · O corretor (ficha) ---------- */
.porque { padding: 90px 0; overflow: hidden; }
.porque-grade { display: grid; gap: 40px; }
.ficha-palco { perspective: 1000px; width: min(100%, 360px); margin: 30px auto 0; }
.ficha {
  position: relative; aspect-ratio: 5 / 7; border-radius: 26px; transform-style: preserve-3d; outline: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  box-shadow: 0 40px 70px -34px rgba(10, 24, 40, .7);
}
.ficha.mexendo { transition: transform .08s linear; }
.ficha-fundo { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: radial-gradient(120% 70% at 50% 18%, var(--navy-2), var(--navy) 70%); }
.ficha-fundo::before { content: ''; position: absolute; inset: 0 0 45%; background: var(--chevron) 0 0 / 34px 23px; opacity: .3; -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent); }
.ficha-fundo::after { content: ''; position: absolute; left: 0; right: 0; top: 54%; height: 5px; background: var(--rosa); }
.ficha-foto { position: absolute; left: 4%; width: 92%; top: -12%; transform: translateZ(50px); filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .45)); -webkit-mask: linear-gradient(#000 82%, transparent 96%); mask: linear-gradient(#000 82%, transparent 96%); }
.ficha-texto { position: absolute; inset: auto 0 0; padding: 0 20px 20px; color: #fff; transform: translateZ(30px); }
.ficha-topo { display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); font-weight: 600; }
.ficha-topo svg { width: 38px; height: auto; color: var(--rosa); }
.ficha-topo b { display: block; color: #fff; letter-spacing: .06em; font-size: 13px; }
.ficha-nome { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: 10px; }
.ficha-dados { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0 0; border-top: 1px solid var(--linha-clara); }
.ficha-dados div { padding: 10px 6px 0 0; }
.ficha-dados dt { font-size: 10.5px; color: var(--suave); line-height: 1.2; }
.ficha-dados dd { margin: 3px 0 0; font-size: 16px; font-weight: 800; line-height: 1.1; }
.ficha-brilho { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transform: translateZ(60px); mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--bx, 30%) var(--by, 20%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%),
    linear-gradient(115deg, transparent 30%, rgba(234, 7, 83, .35) 45%, rgba(120, 200, 255, .25) 55%, transparent 70%) var(--bx, 30%) 0 / 250% 100%; }
.ficha-legenda { text-align: center; font-size: 13px; color: var(--cinza); margin-top: 18px; }
.citacao { margin-top: 22px; padding-left: 18px; border-left: 5px solid var(--rosa); }
.citacao p { font-size: clamp(21px, 5.6vw, 28px); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.promessas { margin-top: 26px; border-top: 1px solid var(--linha); }
.promessas li { padding: 22px 0 22px 46px; border-bottom: 1px solid var(--linha); position: relative; }
.promessas li::before { content: ''; position: absolute; left: 0; top: 27px; width: 28px; height: 19px; background: var(--chevron) center / contain no-repeat; }
.promessas h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; }
.promessas p { margin-top: 6px; color: var(--cinza); font-size: 16px; }

/* ---------- 5 · A unidade certa (prédio 3D) ---------- */
.unidade { background: radial-gradient(90% 60% at 50% 40%, #1d3a5a, var(--navy) 70%); color: #fff; padding: 84px 0; overflow: hidden; }
.sobre { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rosa); }
.unidade-cabeca h2 { margin-top: 10px; }
.unidade-cabeca > p:last-child { margin-top: 14px; color: var(--suave); font-size: 17px; max-width: 46ch; }
.unidade-grade { display: grid; gap: 22px; margin-top: 28px; }
.predio { position: relative; height: min(64svh, 520px); margin: 0 calc(var(--gutter) * -1); touch-action: pan-y; cursor: grab; }
.predio:active { cursor: grabbing; }
.predio canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; outline: none; }
.predio-plano { position: absolute; left: 50%; top: 48%; width: 170px; transform: translate(-50%, -50%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 30px 14px 14px; background: #2a4767; clip-path: polygon(0 12%, 50% 0, 100% 12%, 100% 100%, 0 100%); }
.predio-plano i { aspect-ratio: 1 / 1.2; background: #0f2236; }
.predio-plano i.on { background: var(--rosa); }
.predio.pronto .predio-plano { display: none; }
.predio-dica { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: rgba(10, 24, 40, .6); white-space: nowrap; pointer-events: none; transition: opacity .4s ease; }
.predio-dica svg { width: 18px; height: 18px; color: var(--rosa); }
.predio.mexeu .predio-dica { opacity: 0; }
.predio-rotulo { margin-top: 10px; font-size: 12px; color: var(--suave); text-align: center; }
.unidade-painel { background: rgba(27, 54, 83, .7); border-radius: var(--raio); padding: 22px 20px; box-shadow: inset 0 0 0 1px var(--linha-clara); }
.un-numero { display: flex; align-items: baseline; justify-content: space-between; }
.un-numero span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.un-numero b { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--rosa); font-variant-numeric: tabular-nums; }
.controle { margin-top: 16px; }
.controle-rotulo { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--suave); }
.controle-rotulo b { color: #fff; }
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.faces button { min-height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background-color .2s ease; }
.faces button:hover { background: rgba(255, 255, 255, .14); }
.faces button[aria-checked=true] { background: #fff; color: var(--navy); }
.un-sol { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; min-height: 44px; padding: 10px 14px; border-radius: 12px; background: rgba(10, 24, 40, .45); }
.un-sol::before { content: ''; width: 16px; height: 16px; border-radius: 50%; flex: none; background: #F5B83D; box-shadow: 0 0 0 4px rgba(245, 184, 61, .25); }
.un-sol.sombra::before { background: #5d7290; box-shadow: 0 0 0 4px rgba(93, 114, 144, .25); }
.un-confere { margin: 16px 0 20px; display: grid; gap: 10px; font-size: 14.5px; color: var(--suave); }
.un-confere li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; }
.un-confere b { color: #fff; font-weight: 600; }

/* ---------- 6 · Imóveis ---------- */
.imoveis { background: var(--navy); color: #fff; padding: 84px 0; position: relative; overflow: hidden; }
.imoveis-cabeca p { margin-top: 14px; color: var(--suave); font-size: 18px; max-width: 48ch; }
.cartoes { display: grid; gap: 16px; margin-top: 38px; }
.cartao { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .7s ease; position: relative; background: var(--navy-2); border-radius: var(--raio); padding: 26px 22px 22px; display: flex; flex-direction: column; overflow: hidden; }
.cartao.destaque { background: #fff; color: var(--navy); }
.cartao .selo { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--rosa); color: #fff; }
.cartao h3 { font-size: clamp(30px, 8vw, 40px); margin-top: 16px; }
.cartao .onde { margin-top: 4px; color: var(--suave); font-size: 15px; }
.cartao.destaque .onde, .cartao.destaque li { color: var(--cinza); }
.cartao .preco { margin-top: 18px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.cartao .preco small { display: block; font-size: 13px; font-weight: 400; color: var(--suave); letter-spacing: 0; margin-top: 4px; }
.cartao.destaque .preco small { color: var(--cinza); }
.cartao ul { margin: 18px 0 22px; display: grid; gap: 8px; font-size: 15.5px; color: var(--suave); }
.cartao li { position: relative; padding-left: 24px; }
.cartao li::before { content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 10px; background: var(--chevron) center / contain no-repeat; }
.cartao .botao { margin-top: auto; }
.cartao:not(.destaque) .botao { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px var(--linha-clara); }
.cartao:not(.destaque) .botao:hover { background: rgba(255, 255, 255, .16); }
.cartao.destaque .botao { background: var(--rosa); color: #fff; }

/* ---------- 7 · Jornada do aluguel à chave ---------- */
.jornada { background: var(--papel); }
.jornada-tela { min-height: 100svh; display: flex; align-items: center; padding: 70px 0; }
.jornada-grade { display: grid; gap: 18px; align-items: center; }
.etapas { margin-top: 22px; display: grid; gap: 4px; }
.etapas li { position: relative; padding: 10px 0 10px 40px; transition: opacity .4s ease; }
.etapas li::before { content: ''; position: absolute; left: 0; top: 13px; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--suave); transition: box-shadow .3s ease, background-color .3s ease; }
.etapas li.feito::before { background: var(--navy); box-shadow: none; }
.etapas li.on::before { background: var(--rosa); box-shadow: 0 0 0 6px rgba(234, 7, 83, .18); }
.etapas b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.etapas span { display: block; color: var(--cinza); font-size: 15.5px; margin-top: 2px; }
.jornada-arte { position: relative; width: min(100%, 420px); margin: 0 auto; }
.jornada-arte svg { width: 100%; height: auto; overflow: visible; }
.jornada-arte path { fill: none; stroke-linejoin: miter; stroke-linecap: round; }
.j-chao { stroke: var(--suave); stroke-width: 2; }
.j-casa { stroke: var(--rosa); stroke-width: 10; }
.j-porta, .j-janela { stroke: var(--navy); stroke-width: 5; }
.j-chave { fill: none; stroke: var(--navy); stroke-width: 6; stroke-linecap: round; }
.j-chave .furo { fill: var(--papel); stroke-width: 4; }
.j-num { position: absolute; right: 4%; top: 4%; font-size: 15px; color: var(--cinza); font-weight: 600; }
.j-num b { font-size: 46px; color: var(--navy); font-weight: 800; letter-spacing: -.03em; }
/* sem ScrollTrigger: tudo desenhado e todas as etapas acesas */
html:not(.jornada-viva) .etapas li { opacity: 1; }
html:not(.jornada-viva) .j-num { display: none; }
html.jornada-viva .etapas li:not(.on):not(.feito) { opacity: .4; }
@media (max-width: 959px) {
  .jornada-tela { padding: 56px 0 24px; }
  html.jornada-viva .etapas li:not(.on) span { display: none; }
  html.jornada-viva .etapas li { padding-top: 6px; padding-bottom: 6px; }
  html.jornada-viva .etapas li::before { top: 9px; }
  .jornada-arte { width: min(66%, 300px); }
}
html.jornada-viva .j-casa, html.jornada-viva .j-porta, html.jornada-viva .j-janela { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ---------- 8 · Quem já comprou comigo ---------- */
.casos { padding: 90px 0; }
.casos-sub { color: var(--cinza); margin-top: 12px; font-size: 17px; }
.casos-lista { display: grid; gap: 14px; margin-top: 32px; }
.caso { position: relative; padding: 24px 22px; border-radius: var(--raio); background: var(--papel); overflow: hidden; }
.caso::before { content: ''; position: absolute; right: -14px; top: -10px; width: 120px; height: 82px; background: var(--chevron) center / contain no-repeat; opacity: .14; }
.caso-quem { font-size: 20px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.caso-o-que { color: var(--cinza); margin-top: 6px; font-size: 15.5px; }
.caso-valor { margin-top: 16px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--rosa); }
.caso-tu { background: var(--navy); color: #fff; }
.caso-tu .caso-o-que { color: var(--suave); }
.caso-tu .botao { margin-top: 18px; }

/* ---------- 6 · Perguntas ---------- */
.perguntas { padding: 84px 0; }
.perguntas-grade { display: grid; gap: 30px; }
.lista-perguntas { border-top: 1px solid var(--linha); }
.lista-perguntas details { border-bottom: 1px solid var(--linha); }
.lista-perguntas summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 600; font-size: 18px; line-height: 1.35;
}
.lista-perguntas summary::-webkit-details-marker { display: none; }
.lista-perguntas summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 400; background: var(--papel); transition: transform .25s ease, background-color .2s ease, color .2s ease; }
.lista-perguntas details[open] summary::after { transform: rotate(45deg); background: var(--rosa); color: #fff; }
.lista-perguntas details p { padding: 0 48px 22px 0; color: var(--cinza); }
.lista-perguntas a { color: var(--rosa); font-weight: 600; }

/* ---------- 7 · Fecho ---------- */
.fecho { background: var(--rosa); color: #fff; position: relative; overflow: hidden; padding: 0 0 72px; }
.fecho-foto { height: 260px; clip-path: polygon(0 0, 100% 0, 100% 76%, 75% 100%, 50% 76%, 25% 100%, 0 76%); }
.fecho-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.fecho-texto { margin-top: 30px; }
.fecho h2 { font-size: clamp(38px, 10vw, 72px); }
.fecho p { font-size: 18px; margin-top: 14px; max-width: 40ch; }
.fecho .acoes { margin-top: 26px; }
.fecho .acoes .botao { flex: 1 1 240px; }
.fecho .endereco { font-size: 14px; opacity: .88; margin-top: 22px; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--navy); color: var(--suave); padding: 48px 0 120px; font-size: 14px; }
.rodape-grade { display: grid; gap: 18px; }
.rodape .marca { color: #fff; }
.rodape b { color: #fff; font-weight: 600; }
.rodape .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rodape .links a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--linha-clara); cursor: pointer; }
.rodape .links a:hover { border-color: var(--rosa); }
.rodape .miudo { font-size: 12px; opacity: .8; max-width: 70ch; }

/* ---------- Barra fixa do WhatsApp (celular) ---------- */
.barra-zap {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 999px;
  background: #fff; color: var(--navy); text-decoration: none; box-shadow: 0 14px 40px -12px rgba(10, 24, 40, .55);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.barra-zap.on { transform: none; }
.barra-zap img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.barra-zap span { flex: 1; line-height: 1.2; }
.barra-zap b { display: block; font-size: 15px; font-weight: 800; }
.barra-zap small { display: block; font-size: 12.5px; color: var(--cinza); }
.barra-zap svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--zap); color: #fff; flex: none; }

.cookies { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 84px; background: var(--navy); color: #fff; padding: 16px; border-radius: 14px; font-size: 14px; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 10px; }
.cookies div { display: flex; gap: 8px; }
.cookies button { flex: 1; min-height: 40px; border-radius: 999px; border: 0; font-weight: 600; cursor: pointer; }
.cookies [data-cookies="sim"] { background: var(--rosa); color: #fff; }

/* ---------- Movimento (só com JS, respeita quem pede menos movimento) ---------- */
html.js .revela { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js .revela.visto { opacity: 1; transform: none; }
html.js .cartao.revela.visto { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
html.js .promessas li.revela:nth-child(2), html.js .caso.revela:nth-child(2) { transition-delay: .08s; }
html.js .promessas li.revela:nth-child(3), html.js .caso.revela:nth-child(3) { transition-delay: .16s; }
html.js .promessas li.revela:nth-child(4) { transition-delay: .24s; }
/* entrada da capa: a cidade se desenha, o Lucas sobe, as fichinhas aparecem uma a uma */
html.js .cidade path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .capa.pronta .cidade .linha-fina path { animation: desenha 1.6s .1s cubic-bezier(.6, 0, .2, 1) forwards; }
html.js .capa.pronta .cidade .linha-rosa { animation: desenha 1.3s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
html.js .lucas img { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .9s ease .2s, transform 1.2s cubic-bezier(.2, .7, .2, 1) .2s; }
html.js .capa.pronta .lucas img { opacity: 1; transform: none; }
html.js .fichinha { opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .9, .3, 1.3); }
html.js .capa.pronta .fichinha { opacity: 1; transform: none; }
html.js .capa.pronta .f1 { transition-delay: .9s; }
html.js .capa.pronta .f2 { transition-delay: 1.1s; }
html.js .capa.pronta .f3 { transition-delay: 1.3s; }
html.js .capa-texto > * { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
html.js .capa.pronta .capa-texto > * { opacity: 1; transform: none; }
html.js .capa.pronta .capa-texto > :nth-child(2) { transition-delay: .08s; }
html.js .capa.pronta .capa-texto > :nth-child(3) { transition-delay: .16s; }
html.js .capa.pronta .capa-texto > :nth-child(4) { transition-delay: .24s; }
@keyframes desenha { to { stroke-dashoffset: 0; } }
@keyframes flutua { 50% { translate: 0 -6px; } }
html.js .capa.pronta .fichinha { animation: flutua 5s 2s ease-in-out infinite; }
html.js .capa.pronta .f2 { animation-delay: 2.8s; }
html.js .capa.pronta .f3 { animation-delay: 3.5s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .revela, html.js .lucas img, html.js .fichinha, html.js .capa-texto > * { opacity: 1; transform: none; transition: none; animation: none !important; }
  html.js .cidade path { stroke-dashoffset: 0; animation: none !important; }
  .quiz.anima .passo.on, .quiz.anima .resultado:not([hidden]) { animation: none; }
  .barra-zap, .ficha, .cartao { transition: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .opcoes { grid-template-columns: 1fr 1fr; }
  .opcoes.tres { grid-template-columns: 1fr; }
  .quiz { padding: 34px 34px 36px; }
  .res-imoveis { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .menu a:not([href="investidor/"]) { display: inline-block; }
  .fecho-foto { height: 340px; }
  .palco { height: min(56svh, 560px); }
  .casos-lista { grid-template-columns: 1fr 1fr; }
  .caso-tu { grid-column: 1 / -1; }
}

/* ---------- Computador ---------- */
@media (min-width: 960px) {
  :root { --gutter: 40px; }
  .capa { min-height: min(100svh, 940px); display: flex; flex-direction: column; }
  .capa-grade { flex: 1; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
  .capa-texto { order: -1; margin: 0; padding: 0 0 40px; }
  .palco { height: 100%; min-height: 640px; margin: 0; align-self: stretch; }
  .lucas { width: 96%; max-width: 560px; bottom: -2%; margin-left: calc(min(96%, 560px) / -2); }
  .cidade { height: 80%; }
  .f1 { left: -2%; top: 20%; }
  .f2 { right: 0; top: 50%; }
  .f3 { left: 2%; top: 64%; }
  .fichinha { font-size: 12.5px; padding: 11px 16px 11px 12px; }
  .fichinha b { font-size: 15px; }
  .capa h1 { font-size: clamp(56px, 5.6vw, 84px); }
  .capa .sub { font-size: 20px; }
  .capa .acoes .botao { flex: 0 0 auto; }
  .rolar { display: flex; align-items: center; gap: 12px; position: relative; z-index: 4; padding-bottom: 22px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); }
  .rolar span { width: 40px; height: 2px; background: var(--rosa); }

  .aluguel { padding: 60px 0 110px; }
  .aluguel-grade { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .aluguel-painel { padding: 34px 36px; }

  .descobre { padding: 110px 0 120px; }
  .descobre .caixa { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .descobre-cabeca { position: sticky; top: 48px; }
  .quiz { margin-top: 0; padding: 40px 44px 42px; }

  .porque { padding: 130px 0; }
  .porque-grade { grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
  .ficha-palco { position: sticky; top: 90px; width: 100%; max-width: 400px; margin: 40px 0 0; }

  .unidade { padding: 120px 0; }
  .unidade-cabeca { max-width: 760px; }
  .unidade-grade { grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; margin-top: 20px; }
  .predio { height: 620px; margin: 0; }
  .unidade-painel { padding: 28px 28px; }

  .imoveis { padding: 120px 0; }
  .cartoes { grid-template-columns: 1.15fr 1fr 1fr; align-items: stretch; }
  .cartao { padding: 32px 28px 28px; }
  .cartao .botao { padding: 0 16px; font-size: 15.5px; }

  .jornada-grade { grid-template-columns: 1fr 1fr; gap: 64px; }
  .jornada-arte { width: 100%; max-width: 480px; }

  .casos { padding: 120px 0; }
  .casos-lista { grid-template-columns: 1fr 1fr 1fr; }
  .caso-tu { grid-column: auto; }

  .perguntas { padding: 120px 0; }
  .perguntas-grade { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }

  .fecho { padding: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
  .fecho-foto { order: 2; height: auto; clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 75%, 14% 50%, 0 25%); }
  .fecho-texto { margin: 0; padding: 90px var(--gutter) 90px max(var(--gutter), calc((100vw - var(--larg)) / 2 + var(--gutter))); align-self: center; max-width: none; }

  .rodape { padding-bottom: 48px; }
  .rodape-grade { grid-template-columns: auto 1fr; gap: 18px 56px; align-items: start; }
  .rodape-grade > p { grid-column: 2; }
  .barra-zap { display: none; }
  .cookies { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
}
