/* Iris Negócios & Imóveis · prévia do Estúdio Limen · direção "Planta"
   Fundo claro, azul-marinho e dourado da logo, fotos grandes; o telhado das três casas da logo é o desenho do site.
   O vermelho das artes do catálogo da Iris marca o que é informação de venda: etiquetas, destaque e preço. */

:root {
  --bg: #f4f5f8;
  --papel: #ffffff;
  --tinta: #0b1240;
  --navy: #02023a;
  --navy-2: #13175c;
  --ouro: #c4a03a;
  --ouro-claro: #d5bb4d;
  --ouro-esc: #7d5f0a;
  --vermelho: #9b0101;        /* o vermelho das artes do catálogo da Iris (caixa de preço, etiquetas) */
  --vermelho-claro: #fbf2f1;
  --cinza: #575c70;
  --linha: #dde0e8;
  --foto: #e2e5ed;
  --verde: #25d366;
  --sombra: 0 1px 2px rgba(2, 2, 58, .06), 0 10px 28px rgba(2, 2, 58, .09);
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gut: 18px;
  --topo-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 900px) { :root { --gut: 32px; --topo-h: 78px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 16px); overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--tinta); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; overflow-wrap: break-word; letter-spacing: -.005em; }
::selection { background: #f1d9d6; color: var(--navy); }
:focus-visible { outline: 2px solid var(--ouro-esc); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .02em; }
.eyebrow { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--vermelho); margin: 0 0 .9rem; }

/* ---------------------------------------------------------------- faixa da prévia e topo */
.strip { background: var(--navy); color: var(--ouro-claro); font: 500 .62rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: .55rem var(--gut); }

.top { position: sticky; top: 0; z-index: 40; background: rgba(244, 245, 248, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.rolou { border-bottom-color: var(--linha); box-shadow: 0 8px 24px rgba(2, 2, 58, .06); }
.top-in { display: flex; align-items: center; gap: 16px; height: var(--topo-h); max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.marca { flex: none; display: block; }
.marca img { height: 46px; width: auto; }
.nav { display: none; }
.top .btn { margin-left: auto; }
@media (min-width: 900px) {
  .marca img { height: 54px; }
  .nav { display: flex; gap: 30px; margin-left: auto; }
  .top .btn { margin-left: 14px; }
  .nav a { position: relative; padding: 6px 0; font-size: .94rem; font-weight: 500; text-decoration: none; color: var(--tinta); }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ouro); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
}

/* ---------------------------------------------------------------- botões e links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .8em 1.3em; border: 1px solid transparent; border-radius: 3px; font: 600 .95rem/1.15 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-navy, .btn-wa { background: var(--navy); color: #fff; }
.btn-navy:hover, .btn-wa:hover { background: var(--navy-2); box-shadow: 0 8px 20px rgba(2, 2, 58, .18); }
.btn-navy svg { color: var(--ouro-claro); }
.btn-wa svg { color: var(--verde); }
.btn-linha { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-linha:hover { background: var(--navy); color: #fff; }
.btn-linha svg { color: currentColor; }
.btn-sm { min-height: 40px; padding: .55em 1em; font-size: .88rem; }
.btn-g { width: 100%; min-height: 56px; font-size: 1.02rem; }
.lnk { display: inline-flex; align-items: center; gap: .45em; padding: 6px 0 4px; border: 0; border-bottom: 1px solid var(--ouro); background: none; color: var(--navy); font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; }
.lnk svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .3s var(--ease); }
.lnk:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- abertura */
.hero { padding: 18px 0 40px; }
.hero-in { display: grid; gap: 30px; }
.hero h1 { font-size: clamp(2.1rem, 1.15rem + 3.6vw, 3.6rem); line-height: 1.03; margin-bottom: 1.1rem; }
.h1a { display: block; color: var(--navy); }
.h1b { display: block; color: var(--vermelho); }
.lead { font-size: 1.07rem; color: var(--cinza); max-width: 33em; margin-bottom: 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.casa { position: relative; margin: 0 0 62px; aspect-ratio: 1000 / 820; order: -1; --leg-y: 62%; }
.casa-fotos { position: absolute; inset: 0; overflow: hidden; background: var(--foto);
  clip-path: polygon(0 20.33%, 25% 0, 37.5% 10.16%, 50% 0, 62.5% 10.16%, 75% 0, 100% 20.33%, 100% 100%, 0 100%); }
.casa-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.3s ease; }
.casa-fotos img.on { opacity: 1; animation: zoom 9s ease-out both; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.casa-linha { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cl-casa { fill: none; stroke: url(#ouro); stroke-width: 8; stroke-linejoin: miter; stroke-miterlimit: 10; stroke-linecap: square; stroke-dasharray: 1 1; stroke-dashoffset: 0; }

.casa-leg { position: absolute; left: 5%; bottom: 0; z-index: 2; width: min(88%, 430px); transform: translateY(var(--leg-y)); background: var(--papel); box-shadow: var(--sombra); border-top: 2px solid var(--ouro-claro); }
.casa-leg a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; padding: 12px 14px 14px; text-decoration: none; }
@media (min-width: 900px) { .casa-leg a { padding: 14px 16px 16px; } }
.casa-leg a > * { transition: opacity .26s ease; }
.casa-leg a.troca > * { opacity: 0; }
.casa-leg .lc { grid-column: 1; font-size: .6rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--vermelho); }
.casa-leg .lt { grid-column: 1; font: 400 1.14rem/1.2 var(--serif); color: var(--navy); margin: .35rem 0 .25rem; }
.casa-leg .lp { grid-column: 1; font-weight: 700; font-size: .98rem; color: var(--vermelho); }
.casa-leg svg { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 24px; height: 24px; color: var(--navy); transition: transform .3s var(--ease); }
.casa-leg a:hover svg { transform: translateX(4px); }
.leg-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ouro-claro); transform: scaleX(0); transform-origin: left; }
.leg-barra.anda { animation: barra 6.5s linear forwards; }
.casa:hover .leg-barra.anda, .casa:focus-within .leg-barra.anda { animation-play-state: paused; }
@keyframes barra { to { transform: scaleX(1); } }

/* a abertura só anima com JS; sem JS (ou se ele falhar) tudo aparece sozinho em 3 s */
.js .casa-fotos { clip-path: polygon(0 100%, 25% 100%, 37.5% 100%, 50% 100%, 62.5% 100%, 75% 100%, 100% 100%, 100% 100%, 0 100%); animation: sobe 1.2s cubic-bezier(.75, 0, .2, 1) 3s forwards; }
.js .cl-casa { stroke-dashoffset: 1; animation: desenha 2.2s cubic-bezier(.6, .05, .25, 1) 3.3s forwards; }
.js .casa-leg { opacity: 0; transform: translateY(70%); animation: legenda .8s var(--ease) 4.6s forwards; }
.go .casa-fotos { animation: sobe-go 1.2s cubic-bezier(.75, 0, .2, 1) .1s forwards; }
.go .cl-casa { animation: desenha-go 2.2s cubic-bezier(.6, .05, .25, 1) .45s forwards; }
.go .casa-leg { animation: legenda-go .8s var(--ease) 1.7s forwards; }
@keyframes sobe { to { clip-path: polygon(0 20.33%, 25% 0, 37.5% 10.16%, 50% 0, 62.5% 10.16%, 75% 0, 100% 20.33%, 100% 100%, 0 100%); } }
@keyframes sobe-go { to { clip-path: polygon(0 20.33%, 25% 0, 37.5% 10.16%, 50% 0, 62.5% 10.16%, 75% 0, 100% 20.33%, 100% 100%, 0 100%); } }
@keyframes desenha { to { stroke-dashoffset: 0; } }
@keyframes desenha-go { to { stroke-dashoffset: 0; } }
@keyframes legenda { to { opacity: 1; transform: translateY(var(--leg-y)); } }
@keyframes legenda-go { to { opacity: 1; transform: translateY(var(--leg-y)); } }

@media (min-width: 900px) {
  .hero { padding: 44px 0 96px; }
  .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; }
  .casa { order: 0; margin: 0; --leg-y: 46%; }
  .casa-leg { left: -6%; }
}

/* ---------------------------------------------------------------- categorias */
.casas { padding: 0 0 8px; }
.casas-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; }
.cs { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; background: var(--papel); border: 1px solid var(--linha); text-decoration: none; transition: border-color .25s, box-shadow .25s; }
.cs:hover { border-color: var(--navy); box-shadow: var(--sombra); }
.cs .casinha { grid-row: 1 / span 2; width: 38px; height: 32px; color: var(--ouro); transition: color .25s; }
.cs:hover .casinha { color: var(--navy); }
.cs b { font: 400 1.3rem/1.1 var(--serif); color: var(--navy); }
.cs span { color: var(--cinza); font-size: .64rem; margin-top: 3px; }
@media (min-width: 900px) { .casas-in { grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); } .cs { padding: 20px 22px; } }

/* ---------------------------------------------------------------- seções e cards */
.sec { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 88px 0; } }
.sec-head { max-width: 760px; margin-bottom: 30px; }
.sec-head h2, .sobre h2, .contato h2 { font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3rem); color: var(--navy); }
.sec-lead { margin-top: .9rem; color: var(--cinza); font-size: 1.05rem; max-width: 40em; }
.grade { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px 28px; }
@media (min-width: 700px) { .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grade { gap: 56px 40px; } }
.grade > :nth-child(2n) { transition-delay: .08s; }
/* seção com um imóvel só: card deitado, foto grande de um lado e texto do outro */
@media (min-width: 900px) {
  .grade:has(> .imovel:only-child) { grid-template-columns: minmax(0, 1fr); }
  .grade > .imovel:only-child { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: center; }
  .grade > .imovel:only-child .im-txt { padding-top: 0; }
  .grade > .imovel:only-child .im-txt h3 { font-size: clamp(1.8rem, 1.2rem + 1.2vw, 2.4rem); }
  .grade > .imovel:only-child .im-acoes { margin-top: 10px; }
  .grade > .imovel:only-child .im-desc { display: block; margin: 4px 0 6px; }
}

.imovel { display: flex; flex-direction: column; min-width: 0; }
.im-foto { position: relative; display: block; aspect-ratio: 3 / 2; --g: 12%; text-decoration: none; }
.im-img { position: absolute; inset: 0; overflow: hidden; background: var(--foto); clip-path: polygon(0 var(--g), 50% 0, 100% var(--g), 100% 100%, 0 100%); }
.im-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.im-foto:hover .im-img img { transform: scale(1.045); }
.im-telhado { position: absolute; left: 0; top: 0; width: 100%; height: var(--g); overflow: visible; pointer-events: none; }
.im-telhado path { fill: none; stroke: var(--ouro-claro); stroke-width: 3; stroke-linejoin: miter; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.im-foto:hover .im-telhado path { stroke: var(--ouro); }
.im-tag, .im-dest, .im-n { position: absolute; font-size: .58rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; padding: 6px 9px; line-height: 1.2; }
.im-tag { left: 12px; bottom: 12px; background: rgba(255, 255, 255, .96); color: var(--vermelho); box-shadow: inset 0 -2px 0 var(--vermelho); }
.im-dest { left: 12px; bottom: 42px; background: var(--vermelho); color: #fff; }
.im-n { right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(2, 2, 58, .74); color: #fff; letter-spacing: .02em; }
.im-n svg { width: 14px; height: 14px; }
.im-txt { display: flex; flex-direction: column; gap: 8px; flex: 1; padding-top: 18px; }
.im-txt h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.6rem); line-height: 1.15; color: var(--navy); }
.im-txt h3 a { text-decoration: none; }
.im-txt h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--ouro); }
.im-dados { color: var(--cinza); }
.im-desc { display: none; color: var(--cinza); max-width: 30em; }
.preco { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .4em; }
.preco b { font: 400 1.55rem/1.15 var(--serif); color: var(--vermelho); }
.preco .pre, .preco .un { font-size: .88rem; color: var(--cinza); }
.preco .un:empty { display: none; }
.im-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-top: 12px; }

/* ---------------------------------------------------------------- sobre (faixa azul) */
.sobre { position: relative; overflow: hidden; background: var(--navy); color: #e8eaf4; padding: 72px 0; }
.sobre::after { content: ""; position: absolute; right: -6%; bottom: -12%; width: min(620px, 90vw); aspect-ratio: 1000 / 420; opacity: .13; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 420'%3E%3Cpath d='M20 420 V180 L250 30 L375 120 L500 30 L625 120 L750 30 L980 180 V420' fill='none' stroke='%23d5bb4d' stroke-width='10'/%3E%3C/svg%3E") no-repeat center / contain; }
.sobre .eyebrow { color: var(--ouro-claro); }
.sobre h2 { color: #fff; }
.sobre-in { position: relative; z-index: 1; display: grid; gap: 36px; }
.sobre-txt { margin-top: 1rem; max-width: 36em; font-size: 1.05rem; color: #c8cce0; }
.linhas { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(213, 187, 77, .35); }
.linhas li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(213, 187, 77, .35); font: 400 1.3rem/1.2 var(--serif); color: #fff; }
.linhas .casinha { width: 30px; height: 26px; flex: none; color: var(--ouro-claro); }
.sobre-creci { margin-top: 22px; color: var(--ouro-claro); font-size: .7rem; letter-spacing: .08em; }
@media (min-width: 900px) {
  .sobre { padding: 104px 0; }
  .sobre-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 72px; align-items: start; }
}

/* ---------------------------------------------------------------- contato e rodapé */
.contato { padding: 64px 0 72px; }
.contato-in { display: grid; gap: 28px; }
.contato-acoes { display: grid; gap: 12px; }
.rede { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--papel); border: 1px solid var(--linha); text-decoration: none; transition: border-color .25s; }
.rede:hover { border-color: var(--navy); }
.rede svg { width: 26px; height: 26px; flex: none; color: var(--navy); }
.rede span { display: flex; flex-direction: column; font-weight: 600; color: var(--navy); }
.rede small { margin-top: 2px; font-weight: 400; color: var(--cinza); font-size: .68rem; }
@media (min-width: 900px) { .contato { padding: 96px 0; } .contato-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; column-gap: 72px; } }

.rodape { background: var(--papel); border-top: 1px solid var(--linha); padding: 44px 0 24px; }
.rod-in { display: grid; gap: 22px; }
.rod-logo { width: 128px; height: auto; }
.rod-nome { font: 400 1.2rem/1.2 var(--serif); color: var(--navy); margin-bottom: 4px; }
.rod-txt p { color: var(--cinza); }
.rod-txt .creci { margin-top: 8px; color: var(--ouro-esc); font-weight: 500; }
.rod-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.rod-links a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: 600; color: var(--navy); text-decoration: none; }
.rod-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rod-links svg { width: 20px; height: 20px; flex: none; }
.rod-fim { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--linha); color: var(--cinza); font-size: .62rem; }
@media (min-width: 900px) { .rod-in { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 44px; } }

.wa-flutua { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--verde); color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.wa-flutua svg { width: 30px; height: 30px; }
.wa-flutua:hover { transform: scale(1.06); }
.js .tem-hero .wa-flutua { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.js .tem-hero.wa-on .wa-flutua { opacity: 1; transform: none; pointer-events: auto; }

/* ---------------------------------------------------------------- página do imóvel */
.pg-imovel { padding-top: 16px; }
.trilha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--cinza); }
.trilha a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; }
.trilha a:hover { text-decoration: underline; text-underline-offset: 3px; }
.trilha svg { width: 16px; height: 16px; }
.im-cab { max-width: 840px; margin-bottom: 22px; }
.im-cab h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); color: var(--navy); }
.im-curto { margin-top: .8rem; font-size: 1.08rem; color: var(--cinza); max-width: 42em; }

.mosaico { display: none; }
.tira { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tira::-webkit-scrollbar { display: none; }
.tira-f { min-width: 0; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--foto); overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.tira-f img { width: 100%; height: 100%; object-fit: cover; }
.tira-n { margin-top: 10px; color: var(--cinza); }
@media (min-width: 900px) {
  .tira, .tira-n { display: none; }
  .mosaico { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(440px, 44vw, 600px); }
  .gal-p { grid-row: 1 / 3; }
}
.gal-p, .gal-l { position: relative; display: block; width: 100%; height: 100%; min-width: 0; padding: 0; border: 0; background: var(--foto); overflow: hidden; cursor: zoom-in; }
.gal-p { --g: 9%; background: transparent; overflow: visible; }
.gal-p img { width: 100%; height: 100%; object-fit: cover; background: var(--foto); clip-path: polygon(0 var(--g), 50% 0, 100% var(--g), 100% 100%, 0 100%); transition: filter .4s; }
.gal-p:hover img { filter: brightness(1.04) saturate(1.04); }
.gal-telhado { position: absolute; left: 0; top: 0; width: 100%; height: var(--g); overflow: visible; pointer-events: none; }
.gal-telhado path { fill: none; stroke: var(--ouro-claro); stroke-width: 3.5; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.gal-l img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-l:hover img { transform: scale(1.035); }
.gal-todas { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; background: var(--papel); color: var(--navy); font-weight: 600; font-size: .9rem; box-shadow: var(--sombra); cursor: pointer; }
.gal-todas svg { width: 18px; height: 18px; }

.im-corpo { display: grid; gap: 30px; margin-top: 28px; }
.im-caixa { order: -1; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; background: var(--papel); border: 1px solid var(--linha); border-top: 3px solid var(--vermelho); }
.im-caixa .eyebrow { margin-bottom: 0; }
.preco-g b { font-size: 2.2rem; }
.preco-obs { color: var(--cinza); font-size: .95rem; }
.compartilha { align-self: flex-start; }
.creci-c { padding-top: 12px; margin-top: 2px; border-top: 1px solid var(--linha); color: var(--cinza); font-size: .62rem; }
@media (min-width: 900px) {
  .im-corpo { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; margin-top: 52px; align-items: start; }
  .im-caixa { order: 0; position: sticky; top: calc(var(--topo-h) + 20px); padding: 26px 24px; }
}
.im-info .im-dados { padding: 12px 0; border-block: 1px solid var(--linha); color: var(--navy); font-size: .74rem; }
.im-p { margin-top: 1.1rem; font-size: 1.06rem; max-width: 40em; }
.listas { display: grid; gap: 30px; margin-top: 34px; }
@media (min-width: 700px) { .listas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; } }
.lista h3 { padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--navy); font-size: 1.3rem; color: var(--navy); }
.lista ul { list-style: none; margin: 0; padding: 0; }
.lista li { display: flex; align-items: flex-start; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--linha); }
.lista .casinha { width: 16px; height: 14px; flex: none; margin-top: 5px; color: var(--ouro); }
.nota { margin-top: 30px; padding: 18px 20px; background: var(--vermelho-claro); border-left: 3px solid var(--vermelho); }
.nota h3 { margin-bottom: 6px; font-size: 1.18rem; color: var(--navy); }
.local { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--linha); }
.h-peq { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 1.3rem; color: var(--navy); }
.h-peq svg { width: 22px; height: 22px; flex: none; color: var(--ouro-esc); }
.local p { max-width: 40em; margin-bottom: 10px; }
.outros { margin-top: 64px; border-top: 1px solid var(--linha); }

.barra-im { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--linha); box-shadow: 0 -8px 24px rgba(2, 2, 58, .08); }
.barra-im .preco { min-width: 0; }
.barra-im .preco b { font-size: 1.25rem; }
.barra-im .btn { flex: none; min-height: 46px; }
@media (max-width: 899px) {
  body:has(.pg-imovel) .wa-flutua { display: none; }
  body:has(.pg-imovel) .rodape { padding-bottom: 104px; }
}
@media (min-width: 900px) { .barra-im { display: none; } }

/* ---------------------------------------------------------------- fotos em tela cheia */
html.lb-aberto { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: #06071a; color: #fff; -webkit-user-select: none; user-select: none; }
.lb-bar { flex: none; display: flex; align-items: center; gap: 14px; padding: calc(10px + env(safe-area-inset-top)) var(--gut) 10px; }
.lb-n { flex: none; color: var(--ouro-claro); }
.lb-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 1rem/1.3 var(--serif); color: #e8eaf4; }
.lb-x { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.lb-x svg { width: 22px; height: 22px; }
.lb-trilho { flex: 1; min-height: 0; display: flex; outline: none; touch-action: pan-y pinch-zoom; transition: transform .42s var(--ease); will-change: transform; }
.lb.arrastando .lb-trilho { transition: none; }
.lb-f { flex: 0 0 100%; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 4px var(--gut) calc(16px + env(safe-area-inset-bottom)); }
.lb-f img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 128px); max-height: calc(100dvh - 128px); object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.lb-leg { flex: none; max-width: 100%; color: #c3c7da; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.lb-seta { position: absolute; top: 50%; display: none; place-items: center; width: 54px; height: 54px; margin-top: -27px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 50%; background: rgba(6, 7, 26, .55); color: #fff; cursor: pointer; transition: background .2s, opacity .2s; }
.lb-seta:hover { background: rgba(255, 255, 255, .12); }
.lb-seta[disabled] { opacity: .25; cursor: default; }
.lb-seta svg { width: 26px; height: 26px; }
.lb-ant { left: 18px; }
.lb-prox { right: 18px; }
@media (hover: hover) and (pointer: fine) { .lb-seta { display: grid; } }

.toast { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 120; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 11px 16px; background: var(--navy); color: #fff; font-size: .9rem; box-shadow: var(--sombra); }

/* ---------------------------------------------------------------- 404 */
.p404 { padding: 48px 0 96px; }
.p404-in { max-width: 780px; }
.p404-casa { width: min(420px, 84%); height: auto; overflow: visible; margin-bottom: 28px; }
.p404-casa path { fill: none; stroke: var(--ouro); stroke-width: 12; stroke-linejoin: miter; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: desenha 2s cubic-bezier(.6, .05, .25, 1) .2s forwards; }
.p404 h1 { margin-bottom: 14px; font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); color: var(--navy); }
.p404 .sec-lead { margin-bottom: 26px; }

/* ---------------------------------------------------------------- revelar ao rolar (com saída de emergência) */
.js [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--ease); }
.js [data-rv].vis { opacity: 1; transform: none; }
.js:not(.rv-on) [data-rv] { animation: aparece .6s ease 3s forwards; }
@keyframes aparece { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .casa-fotos, .go .casa-fotos { animation: none; clip-path: polygon(0 20.33%, 25% 0, 37.5% 10.16%, 50% 0, 62.5% 10.16%, 75% 0, 100% 20.33%, 100% 100%, 0 100%); }
  .js .cl-casa, .go .cl-casa, .p404-casa path { animation: none; stroke-dashoffset: 0; }
  .js .casa-leg, .go .casa-leg { animation: none; opacity: 1; transform: translateY(var(--leg-y)); }
  .casa-fotos img.on { animation: none; }
  .js [data-rv] { opacity: 1; transform: none; transition: none; animation: none; }
  .lb-trilho { transition: none; }
}
