/* Kelly Balabuch · template 12 Corretor editorial (ref. Tempo + carrossel Legora), página única */
:root { --pad: 56px; --max: 1440px; --nav: 80px; --bg2: #ECE7DF; --dot: rgba(20,17,15,.30); --madeira: #3B2A20; --couro: #B8733A; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); font-size: 16px; }

/* sections deixam de ser telas fixas: altura automática com respiro */
.sec { position: relative; height: auto; min-height: 0; overflow: hidden; background: var(--bg); padding: 120px 0; }
.sec > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* tipografia */
.serif { font-family: var(--f-titulo); font-weight: 400; letter-spacing: -.035em; line-height: .98; font-variation-settings: 'opsz' 72; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.muted { color: var(--muted); }
.sub { font-size: 18px; line-height: 1.6; color: #4a443e; letter-spacing: -.005em; }
.lbl { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ic { width: 18px; height: 18px; flex: none; }

/* logo: nome em serifa (ela assina só com o nome) */
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo > span { font-family: var(--f-titulo); font-size: 25px; letter-spacing: -.03em; font-weight: 400; font-variation-settings: 'opsz' 72; }
.logo small { margin-top: 5px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* botões: retângulo preto, canto 2px */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 2px; background: var(--fg); color: #fff; font-size: 16px; font-weight: 500; transition: transform .16s var(--ease), background-color .2s, color .2s; white-space: nowrap; }
.btn.claro { background: #fff; color: var(--fg); }
.btn.linha { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.btn:active { transform: scale(.97); }
.seta { display: inline-flex; align-items: center; gap: 8px; }
.seta svg { transition: transform .3s var(--ease); }
@media (hover:hover) and (pointer:fine) {
  .btn:hover { background: var(--madeira); }
  .btn.claro:hover { background: #ece7df; }
  .btn.linha:hover { background: rgba(255,255,255,.12); }
  .seta:hover svg { transform: translateX(4px); }
}

/* palavra a palavra */
.w { display: inline-block; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--k) * 55ms + 200ms); }
.in .w { opacity: 1; transform: none; }

/* ===== NAV fixo que encolhe ===== */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; transition: padding .5s var(--ease); }
.nav-in { pointer-events: auto; width: 100%; max-width: 100vw; height: var(--nav); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad); background: rgba(245,243,239,0); border: 1px solid transparent; transition: max-width .6s var(--ease), height .5s var(--ease), border-radius .6s var(--ease), background-color .4s, padding .5s var(--ease), border-color .4s; }
.nav-links { display: flex; gap: 34px; font-size: 15px; }
.nav-links a { white-space: nowrap; }
.nav-r { display: flex; align-items: center; gap: 12px; }
.nav-zap { min-height: 42px; padding: 0 20px; font-size: 15px; }
.nav-menu { display: none; }
.nav.mini { padding-top: 12px; }
.nav.mini .nav-in { max-width: calc(var(--max) - 2 * var(--pad) + 32px); height: 64px; border-radius: 4px; padding: 0 10px 0 24px; background: rgba(245,243,239,.78); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-color: rgba(20,17,15,.1); }
@media (hover:hover) and (pointer:fine) { .nav-links a { transition: color .2s; } .nav-links a:hover { color: var(--muted); } }
.menu-cel, .zap-flut { display: none; }

/* ===== 01 HERO ===== */
.hero { padding: calc(var(--nav) + 56px) 0 40px; min-height: min(100svh, 980px); display: flex; flex-direction: column; }
.hero-in { position: relative; flex: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 40px; align-items: center; padding: 0 var(--pad); }
.hero .kicker { display: block; margin-bottom: 28px; }
.hero h1 { font-size: clamp(64px, 6vw, 86px); }
.hero .sub { margin-top: 32px; max-width: 520px; }
.hero .acoes { margin-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero .acoes .seta { font-size: 16px; font-weight: 500; }
.hero-foto { position: relative; height: 100%; min-height: 600px; display: flex; align-items: center; justify-content: flex-end; }
.hero .aneis { position: absolute; right: 250px; top: 50%; width: 640px; height: 470px; margin-top: -235px; }
.hero .aneis ellipse { fill: none; stroke: var(--fg); vector-effect: non-scaling-stroke; }
.hero .ft { position: relative; z-index: 1; margin: 0; width: 440px; aspect-ratio: 1092 / 1400; overflow: hidden; border-radius: 2px; background: var(--madeira); }
.hero .ft img { width: 100%; height: 100%; object-fit: cover; animation: kb 22s ease-in-out infinite alternate; }
.hero .ft figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; gap: 10px; color: #fff; background: rgba(20,17,15,.72); padding: 8px 12px; border-radius: 2px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.meta { width: calc(100% - 2 * var(--pad)); margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed var(--dot); }
.meta div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px 0 0; }
.meta div + div { border-left: 1px dashed var(--dot); padding-left: 14px; }

/* ===== 02 TIPOS DE IMÓVEL ===== */
.imv { background: #F9F7F4; }
.imv .topo { text-align: center; padding: 0 var(--pad); }
.imv h2 { font-size: 58px; }
.imv .sub { max-width: 560px; margin: 22px auto 0; font-size: 17px; text-wrap: balance; }
.palco { position: relative; margin-top: 56px; display: flow-root; }
.ctrl { position: absolute; z-index: 20; top: -2px; left: 32px; right: 32px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.ctrl > * { pointer-events: auto; }
.ctrl button { width: 40px; height: 40px; border-radius: 50%; background: #E9E4DC; display: grid; place-items: center; transition: transform .16s var(--ease), background-color .2s; }
.ctrl button:active { transform: scale(.94); }
@media (hover:hover) and (pointer:fine) { .ctrl button:hover { background: #DCD5CA; } }
.dots { display: flex; gap: 7px; align-items: center; height: 26px; padding: 0 12px; border-radius: 20px; background: #E9E4DC; }
.dots i { width: 5px; height: 5px; border-radius: 3px; background: #9a9188; transition: width .5s var(--ease), background-color .3s; }
.dots i.on { width: 22px; background: var(--fg); }
.trilho { position: relative; margin-top: 64px; height: 470px; }
.card-imv { position: absolute; left: calc(50% - 190px); top: 0; width: 380px; height: 470px; transition: transform .9s var(--ease), clip-path .9s var(--ease), opacity .6s var(--ease); will-change: transform; cursor: pointer; }
.card-imv .ph { position: absolute; inset: 0; overflow: hidden; background: #ddd5ca; }
.card-imv img { width: 100%; height: 100%; object-fit: cover; }
.card-imv .rot { position: absolute; z-index: 2; top: 16px; left: 0; right: 0; text-align: center; color: #fff; font-size: 15px; text-shadow: 0 1px 10px rgba(0,0,0,.55); transition: transform .9s var(--ease); }
.card-imv::after { content: ''; position: absolute; inset: 0 0 auto; height: 90px; background: linear-gradient(rgba(0,0,0,.42), transparent); pointer-events: none; transition: transform .9s var(--ease); }
.card-imv.sem-anim, .card-imv.sem-anim .rot, .card-imv.sem-anim::after { transition: none; }
.card-imv.lado .rot { transform: translateY(104px); }
.card-imv.lado::after { transform: translateY(104px); height: 80px; }
.card-imv .cap { display: none; }
.tag { position: absolute; z-index: 2; bottom: 14px; left: 14px; background: rgba(20,17,15,.82); color: #fff; padding: 5px 9px; border-radius: 2px; }
.legenda { width: 380px; margin-top: 24px; min-height: 64px; }
.legenda .nm { font-family: var(--f-titulo); font-size: 24px; letter-spacing: -.02em; line-height: 1.1; }
.legenda .fx { margin-top: 6px; color: #4a443e; font-size: 15px; line-height: 1.45; }
.legenda > * { transition: opacity .35s var(--ease), transform .5s var(--ease); }
.legenda.troca > * { opacity: 0; transform: translateY(6px); }
.imv-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ===== 03 SOBRE ===== */
.sobre { padding: 0; }
.sobre { display: grid; grid-template-columns: 720px 1fr; max-width: none; }
.sobre > * { max-width: none; margin: 0; }
.sobre .esq { padding: 120px var(--pad); border-right: 1px dashed var(--dot); display: flex; flex-direction: column; }
.sobre h2 { margin-top: 28px; font-size: 54px; }
.sobre .txt { margin-top: 32px; max-width: 580px; font-family: var(--f-titulo); font-size: 23px; line-height: 1.28; letter-spacing: -.015em; }
.sobre .serv { margin-top: 56px; }
.sobre .serv > .mono { margin-bottom: 14px; display: block; }
.sobre .serv li { display: grid; grid-template-columns: 54px 160px 1fr; align-items: baseline; padding: 13px 0; border-top: 1px dashed var(--dot); }
.sobre .serv li:last-child { border-bottom: 1px dashed var(--dot); }
.sobre .serv b { font-family: var(--f-titulo); font-weight: 400; font-size: 24px; letter-spacing: -.02em; }
.sobre .serv li > span:last-child { color: var(--muted); font-size: 15px; }
.sobre .dir { position: relative; overflow: hidden; min-height: 760px; margin-left: 8px; }
.sobre .dir img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: kb 22s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.08) translate(-1%, 1%); } }
.pill { position: absolute; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; background: rgba(20,17,15,.86); color: #fff; padding: 8px 12px; border-radius: 4px; }

/* ===== 04 COMO EU TRABALHO ===== */
.proc-in { position: relative; z-index: 1; padding: 0 var(--pad); }
.proc .col { max-width: 640px; }
.proc h2 { font-size: 72px; }
.proc .sub { margin-top: 26px; max-width: 540px; }
.grade { margin-top: 64px; width: 680px; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 18px; }
.grade li { position: relative; padding: 26px 14px 24px 0; border-bottom: 1px solid var(--line); min-height: 196px; }
.grade li::before { content: ''; position: absolute; right: -9px; top: 14px; bottom: 14px; border-right: 1px solid var(--line); }
.grade li:nth-child(3n)::before { display: none; }
.grade .n { color: var(--muted); }
.grade b { display: block; margin-top: 14px; font-family: var(--f-titulo); font-weight: 400; font-size: 27px; letter-spacing: -.02em; line-height: 1; }
.grade p { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: #554e47; }
.quadros { position: absolute; right: -150px; top: 50%; margin-top: -430px; width: 860px; height: 860px; max-width: none; }
.quadros rect { fill: none; stroke: var(--madeira); transform-box: fill-box; transform-origin: center; }

/* ===== 05 AVALIAÇÕES ===== */
.depo .topo { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.depo h2 { font-size: 72px; margin-top: 12px; }
.nota { text-align: right; display: block; }
.nota .big { font-family: var(--f-titulo); font-size: 88px; letter-spacing: -.04em; line-height: .9; }
.est { display: flex; gap: 3px; justify-content: flex-end; margin: 10px 0 8px; color: var(--couro); }
.est svg { width: 18px; height: 18px; }
@media (hover:hover) and (pointer:fine) { .nota .mono { transition: color .2s; } .nota:hover .mono { color: var(--fg); } }
.cards { padding: 0 var(--pad); margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cd { background: var(--card); border: 1px solid #DED7CD; border-radius: 12px; overflow: hidden; min-height: 500px; display: flex; flex-direction: column; }
.cd .capa { position: relative; height: 220px; background: #0F0C0A; overflow: hidden; display: grid; place-items: center; }
.cd .capa svg { position: absolute; left: 0; top: 0; width: 200%; height: 100%; max-width: none; animation: deriva 26s linear infinite; }
.cd:nth-child(2) .capa svg { animation-duration: 31s; animation-direction: reverse; }
.cd:nth-child(3) .capa svg { animation-duration: 22s; }
@keyframes deriva { to { transform: translateX(-50%); } }
.cd .par { position: relative; display: flex; align-items: center; gap: 22px; color: #fff; }
.cd .par .logo-s { font-family: var(--f-titulo); font-size: 28px; letter-spacing: -.03em; }
.cd .par i { width: 1px; height: 46px; background: rgba(255,255,255,.35); }
.cd .par .mono { font-size: 13px; letter-spacing: .1em; }
.cd .corpo { padding: 28px 30px 0; flex: 1; display: flex; flex-direction: column; }
.cd .corpo .lbl { font-size: 12px; }
.cd blockquote { margin: 12px 0 24px; font-family: var(--f-titulo); font-size: 27px; line-height: 1.18; letter-spacing: -.02em; }
.cd .quem { margin-top: auto; padding: 18px 0 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }

/* ===== 06 FAQ ===== */
.faqs { background: var(--bg2); padding: 0; display: grid; grid-template-columns: 1fr 480px 1fr; max-width: none; }
.faqs > * { max-width: none; margin: 0; }
.faqs .esq { padding: 120px 32px 56px var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.faqs h2 { font-size: 64px; margin-top: auto; margin-bottom: auto; }
.faqs .rodape { font-family: var(--f-titulo); font-size: 18px; line-height: 1.3; }
.faqs .rodape .muted { display: block; margin-bottom: 10px; }
.faqs .rodape a { text-decoration: underline; text-underline-offset: 3px; }
.faqs .meio { padding: 120px 0; border-left: 1px dashed var(--dot); border-right: 1px dashed var(--dot); display: flex; flex-direction: column; justify-content: center; }
.qa { padding: 20px 18px; border-bottom: 1px dashed var(--dot); font-family: var(--f-titulo); }
.qa:first-of-type { border-top: 1px dashed var(--dot); }
.qa h3 { display: grid; grid-template-columns: 44px 1fr; font-weight: 500; font-size: 19px; letter-spacing: -.01em; line-height: 1.2; }
.qa .nn { font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: var(--muted); padding-top: 4px; }
.qa p { margin: 8px 0 0 44px; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; color: #3e3832; }
.faqs .dir { position: relative; overflow: hidden; min-height: 720px; }
.faqs .dir img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; animation: kb 26s ease-in-out infinite alternate; }
.faqs .dir .pill { font-family: var(--f-titulo); font-size: 16px; letter-spacing: -.01em; min-height: 44px; padding: 8px 16px; }
@media (hover:hover) and (pointer:fine) { .faqs .dir .pill svg { transition: transform .3s var(--ease); } .faqs .dir .pill:hover svg { transform: translateX(4px); } }

/* ===== 07 CTA ===== */
.cta { padding: 16px; }
.cta .quadro { position: relative; max-width: none; min-height: 720px; overflow: hidden; background: #15100c; display: grid; grid-template-columns: 1fr 560px; grid-template-rows: 1fr auto; gap: 48px 64px; padding: 72px 56px 76px; }
.cta .quadro img { max-width: none; position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; filter: blur(6px) saturate(.9) sepia(.2); animation: desliza 18s ease-in-out infinite alternate; }
@keyframes desliza { from { transform: translateX(-3%) scale(1.02); } to { transform: translateX(3%) scale(1.06); } }
.cta .quadro::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(20,13,9,.84) 0%, rgba(20,13,9,.5) 50%, rgba(20,13,9,.3) 100%); }
.cta h2 { position: relative; z-index: 2; grid-column: 1 / -1; color: #fff; font-size: 92px; }
.cta .mono-l { position: relative; z-index: 2; align-self: end; color: rgba(255,255,255,.78); display: grid; gap: 8px; }
.cta .bloco { position: relative; z-index: 2; align-self: end; color: #fff; }
.cta .bloco p { font-family: var(--f-titulo); font-size: 28px; line-height: 1.16; letter-spacing: -.02em; }
.cta .bloco .acoes { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== 08 CONTATO ===== */
.cont { display: grid; grid-template-columns: 520px 1fr; gap: 0 96px; padding-left: var(--pad); padding-right: var(--pad); }
.cont > * { max-width: none; margin: 0; }
@media (min-width: 1441px) { .cont { padding-left: calc((100vw - var(--max)) / 2 + var(--pad)); padding-right: calc((100vw - var(--max)) / 2 + var(--pad)); } }
.cont h2 { font-size: 64px; }
.cont .sub { margin-top: 24px; }
.info { margin-top: 48px; }
.info li { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; padding: 13px 0; border-top: 1px dashed var(--dot); font-size: 16px; line-height: 1.5; }
.info li:last-child { border-bottom: 1px dashed var(--dot); }
.info .mono { color: var(--muted); }
@media (hover:hover) and (pointer:fine) { .info a { transition: color .2s; } .info a:hover { color: var(--couro); } }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2f9e5b; box-shadow: 0 0 0 0 rgba(47,158,91,.5); animation: pulso 2s infinite; }
.chip.is-fechado::before { background: #c0392b; animation: none; }
@keyframes pulso { 70% { box-shadow: 0 0 0 7px rgba(47,158,91,0); } 100% { box-shadow: 0 0 0 0 rgba(47,158,91,0); } }
.cont .dir { border-left: 1px dashed var(--dot); padding-left: 64px; }
.form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; row-gap: 34px; padding-top: 14px; }
.form label, .form .lab { display: block; font-size: 17px; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { display: block; width: 100%; margin-top: 16px; border: 0; border-bottom: 1px solid #a39a90; border-radius: 0; background: transparent; font: inherit; font-size: 17px; padding: 0 0 12px; outline: none; color: var(--fg); transition: border-color .2s; resize: none; }
.form input:focus, .form textarea:focus { border-color: var(--fg); }
.form ::placeholder { color: #aea69d; }
.form .opc { color: #aea69d; margin-left: 6px; }
.chips { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.chips button { min-height: 40px; padding: 0 18px; border: 1px solid #bcb3a8; border-radius: 2px; font-size: 15px; transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease); }
.chips button:active { transform: scale(.96); }
.chips button.on { background: var(--fg); color: #fff; border-color: var(--fg); }
@media (hover:hover) and (pointer:fine) { .chips button:not(.on):hover { border-color: var(--fg); } }
.fachada { position: relative; display: block; margin-top: 48px; height: 220px; overflow: hidden; border-radius: 2px; background: #1b1714; }
.fachada img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform .8s var(--ease); }
.fachada span { position: absolute; left: 14px; bottom: 14px; color: #fff; background: rgba(20,17,15,.78); padding: 6px 10px; border-radius: 2px; }
@media (hover:hover) and (pointer:fine) { .fachada:hover img { transform: scale(1.03); } }

/* ===== 09 FOOTER ===== */
.foot { padding: 16px 0 40px; }
.foot .faixa { position: relative; max-width: none; margin: 0 16px; height: 330px; overflow: hidden; background: #2a211b; border-radius: 0; }
.foot .faixa img { max-width: none; position: absolute; inset: -5%; width: 110%; height: 110%; object-fit: cover; filter: blur(9px) saturate(.8) sepia(.25); animation: desliza 20s ease-in-out infinite alternate; }
.foot .faixa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,18,13,.25), rgba(25,18,13,.62)); }
.foot .news { position: absolute; z-index: 2; right: 72px; top: 50%; transform: translateY(-50%); width: 560px; color: #fff; }
.foot .news p { font-family: var(--f-titulo); font-size: 40px; line-height: 1.04; letter-spacing: -.025em; }
.foot .news .btn { margin-top: 28px; }
.foot-in { padding: 0 var(--pad); }
.foot-in { display: grid; grid-template-columns: 440px 1fr; margin-top: 72px; }
.marca-b { display: flex; flex-direction: column; gap: 12px; }
.foot .marca { font-family: var(--f-titulo); font-size: 56px; letter-spacing: -.035em; line-height: 1; }
.foot .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot .cols h4 { font-weight: 400; color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.foot .cols li { font-size: 15px; margin-bottom: 9px; }
@media (hover:hover) and (pointer:fine) { .foot .cols a { transition: color .2s; } .foot .cols a:hover { color: var(--muted); } }
.foot .base { grid-column: 1 / -1; margin-top: 64px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; color: var(--muted); font-size: 14px; padding-top: 18px; border-top: 1px dashed var(--dot); }

/* desktop estreito */
@media (max-width: 1260px) and (min-width: 1100px) {
  .nav-links { gap: 24px; }
  .sobre { grid-template-columns: 600px 1fr; }
  .faqs { grid-template-columns: 1fr 440px .8fr; }
  .cont { grid-template-columns: 440px 1fr; gap: 0 64px; }
  .cta .quadro { grid-template-columns: 1fr 480px; }
}
