/* =====================================================================
   Site público — identidade "quiet luxury"
   Marfim + grafite + champanhe · Instrument Serif + Manrope
   ===================================================================== */
:root {
  --bg: #f6f3ee;
  --paper: #fbfaf7;
  --white: #ffffff;
  --sand: #ede7dd;
  --ink: #111214;
  --ink-2: #1c1d21;
  --ink-3: #2c2e33;
  --text: #25262a;
  --muted: #74706a;
  --muted-2: #9a958d;
  --line: rgba(17, 18, 20, .10);
  --line-2: rgba(17, 18, 20, .16);
  --line-light: rgba(255, 255, 255, .16);
  --accent: #b08d57;
  --accent-2: #d8c29b;
  --accent-ink: #7d6035;
  --wa: #25d366;
  --ok: #2f7d57;
  --danger: #b4452f;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(17, 18, 20, .04), 0 4px 14px rgba(17, 18, 20, .04);
  --shadow: 0 24px 50px -28px rgba(17, 18, 20, .35);
  --shadow-lg: 0 40px 80px -30px rgba(17, 18, 20, .45);
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.1; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.015em; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.02; }
h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; color: var(--accent-ink); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.mt { margin-top: 2.5rem; }
.pt-0 { padding-top: 0 !important; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
::selection { background: var(--accent-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-to { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-to:focus { top: 12px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Tipografia utilitária ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .75em; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1.4rem; }
.eyebrow .num { font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; font-weight: 400; color: var(--ink); padding-right: .75em; border-right: 1px solid var(--line-2); }
.eyebrow .line { width: 36px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--accent-2); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.7; }

/* ---------- Botões ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .85em 1.45em; border-radius: 999px; font-weight: 600; font-size: .92rem; letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s var(--ease); font-family: inherit; line-height: 1.2; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .62em 1.05em; font-size: .84rem; }
.btn-lg { padding: 1.05em 1.7em; font-size: .96rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); box-shadow: 0 16px 30px -16px rgba(17, 18, 20, .6); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .55); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-line-light { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-line-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
/* compatibilidade com classes antigas */
.btn-wa { background: var(--ink); color: #fff; }
.btn-gold { background: var(--accent); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }

.wa-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--wa); color: #fff; display: inline-grid; place-items: center; margin-left: -.45em; flex: none; }
.wa-dot .ico { width: 15px; height: 15px; }
.wa-dot.sm { width: 20px; height: 20px; margin-left: -.2em; }
.wa-dot.sm .ico { width: 12px; height: 12px; }
.btn-sm .wa-dot { width: 22px; height: 22px; }

.link-arrow { display: inline-flex; align-items: center; gap: .8em; font-weight: 600; font-size: .95rem; color: var(--ink); }
.link-arrow.sm { font-size: .86rem; gap: .6em; }
.arrow-circle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-grid; place-items: center; transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease); }
.link-arrow.sm .arrow-circle { width: 34px; height: 34px; }
.link-arrow:hover .arrow-circle { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateX(3px); }
.link-light { color: #fff; }
.link-light .arrow-circle { border-color: rgba(255, 255, 255, .4); }
.link-light:hover .arrow-circle { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(246, 243, 238, .82); backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px); border-bottom: 1px solid var(--line); transition: background .4s, border-color .4s, height .4s var(--ease); }
.site-header.is-transparent { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-transparent.scrolled { background: rgba(17, 18, 20, .78); border-color: rgba(255, 255, 255, .06); backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px); }
.site-header.scrolled { --header-h: 70px; }
.nav-wrap { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font-family: var(--serif); font-size: 1.45rem; line-height: 1; padding-top: 2px; transition: background .3s, color .3s; }
.brand:hover .brand-mark { background: var(--ink); color: var(--bg); }
.brand-text { font-family: var(--serif); font-size: 1.55rem; line-height: .95; display: flex; flex-direction: column; letter-spacing: -.01em; }
.brand-text small { font-family: var(--sans); font-size: .6rem; letter-spacing: .38em; font-weight: 600; text-transform: uppercase; margin-top: 4px; opacity: .7; }
.brand-light, .is-transparent .brand { color: #fff; }
.is-transparent .brand:hover .brand-mark, .brand-light:hover .brand-mark { background: #fff; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a { position: relative; padding: .5em .85em; font-weight: 500; font-size: .92rem; color: var(--ink-2); display: inline-flex; gap: .45em; align-items: center; transition: color .25s; }
.main-nav a::after { content: ""; position: absolute; left: .85em; right: .85em; bottom: .2em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.is-transparent .main-nav a { color: rgba(255, 255, 255, .86); }
.is-transparent .main-nav a:hover, .is-transparent .main-nav a.active { color: #fff; }
.nav-login { margin-left: 10px; border-left: 1px solid var(--line-2); padding-left: 1.2em !important; color: var(--muted) !important; font-size: .86rem !important; }
.nav-login::after { display: none; }
.is-transparent .nav-login { border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .7) !important; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.no-hero .nav-actions .btn-light { background: var(--ink); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.is-transparent .nav-toggle { border-color: rgba(255, 255, 255, .35); }
.is-transparent .nav-toggle span { background: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 60px) 0 36px; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=2200&q=80") center/cover no-repeat,
    var(--hero-local) right bottom/cover no-repeat,
    #1c2230;
  transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(10, 10, 12, .88) 0%, rgba(10, 10, 12, .62) 42%, rgba(10, 10, 12, .12) 100%),
    linear-gradient(0deg, rgba(10, 10, 12, .7) 0%, transparent 45%); }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; margin-bottom: 34px; }
.hero-copy { max-width: 760px; }
.hero-title { color: #fff; font-size: clamp(3rem, 6.6vw, 5.9rem); line-height: .95; letter-spacing: -.025em; margin: 0 0 .35em; }
.hero-title em { color: var(--accent-2); }
.reveal-line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal-line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.reveal-line:nth-child(2) > span { animation-delay: .12s; }
.reveal-line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.hero .lead { color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 2.2rem; opacity: 0; animation: fadeUp 1s .45s var(--ease) forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; opacity: 0; animation: fadeUp 1s .6s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-feature { display: flex; align-items: center; gap: 16px; width: 380px; padding: 10px 14px 10px 10px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; transition: background .35s, transform .45s var(--ease); opacity: 0; animation: fadeUp 1s .8s var(--ease) forwards; }
.hero-feature:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.hero-feature-media { width: 108px; height: 92px; border-radius: 14px; overflow: hidden; flex: none; background: var(--ink-3); }
.hero-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-feature-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hero-feature-body small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.hero-feature-body b { font-weight: 600; font-size: .98rem; margin: 4px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-feature-price { font-family: var(--serif); font-size: 1.35rem; }
.hero-feature .arrow-circle { border-color: rgba(255, 255, 255, .35); margin-left: auto; width: 38px; height: 38px; }
.hero-feature:hover .arrow-circle { background: #fff; color: var(--ink); }

.hero-search { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; align-items: stretch; background: rgba(251, 250, 247, .97); border-radius: 22px; padding: 8px; box-shadow: var(--shadow-lg); opacity: 0; animation: fadeUp 1s .9s var(--ease) forwards; }
.hero-search label { display: flex; flex-direction: column; gap: 2px; padding: 10px 20px; border-right: 1px solid var(--line); color: var(--ink); }
.hero-search label:nth-child(3) { border-right: 0; }
.hero-search label > span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.hero-search select { border: 0; padding: 4px 28px 4px 0; background-color: transparent; font-weight: 600; font-size: 1rem; box-shadow: none !important; background-position: right 2px center; }
.hero-search .btn { border-radius: 16px; }

/* ---------- Faixa de números ---------- */
.stats-strip { background: var(--ink); color: #fff; border-top: 1px solid rgba(255, 255, 255, .06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 28px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--accent-2); }
.stat span { font-size: .84rem; color: rgba(255, 255, 255, .6); letter-spacing: .02em; }

/* ---------- Seções ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-soft { background: var(--sand); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 em { color: var(--accent-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 80px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head h2 { max-width: 760px; margin: 0; }
.section-head > p { max-width: 380px; margin: 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center > p { max-width: 620px; }
.page-top { padding-top: 48px; }

/* ---------- Filtros ---------- */
.filters { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 18px 0 22px; margin-bottom: 26px; }
.type-pills { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: none; }
.type-pills::-webkit-scrollbar { display: none; }
.pill { flex: none; cursor: pointer; position: relative; }
.pill input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: .5em; padding: .62em 1.15em; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--ink-2); border: 1px solid var(--line-2); transition: all .3s var(--ease); background: transparent; }
.pill span em { font-style: normal; font-size: .72rem; color: var(--muted-2); font-weight: 600; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:checked + span em { color: var(--accent-2); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 18px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; }
.field select { border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: .55em 1.8em .55em 0; background-color: transparent; background-position: right 2px center; font-size: .98rem; font-weight: 600; color: var(--ink); }
.field select:focus { box-shadow: none; border-bottom-color: var(--ink); }
select, input, textarea { font: inherit; color: var(--text); background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; padding: .8em .95em; width: 100%; transition: border-color .25s, box-shadow .25s; text-transform: none; letter-spacing: normal; font-weight: 500; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111214' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95em center; padding-right: 2.4em; cursor: pointer; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(176, 141, 87, .15); }
.filter-actions { display: flex; gap: 8px; }
.result-count { color: var(--muted); margin: 0 0 22px; font-size: .9rem; }
.result-count b { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin-right: 2px; }

/* ---------- Cards de imóveis ---------- */
.grid-imoveis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 44px 28px; transition: opacity .3s; }
.grid-imoveis.loading { opacity: .35; pointer-events: none; }
.card-imovel { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); background: var(--sand); isolation: isolate; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 30%); pointer-events: none; }
.card-imovel:hover .card-media img { transform: scale(1.05); }
.tag { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: .4em; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .55em .95em; border-radius: 999px; }
.tag-tipo { top: 14px; left: 14px; background: rgba(251, 250, 247, .94); color: var(--ink); }
.tag-destaque { top: 14px; right: 14px; background: var(--ink); color: var(--accent-2); }
.tag-fotos { bottom: 14px; right: 14px; background: rgba(17, 18, 20, .6); color: #fff; backdrop-filter: blur(6px); letter-spacing: .04em; }
.tag-cod { top: 14px; right: 14px; background: rgba(17, 18, 20, .6); color: #fff; }
.card-body { padding: 20px 4px 0; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-loc { margin: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-cod { font-size: .72rem; color: var(--muted-2); white-space: nowrap; }
.card-title { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin: .35em 0 .15em; letter-spacing: -.01em; }
.card-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.card-imovel:hover .card-title a { background-size: 100% 1px; }
.card-price { font-size: 1.12rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 12px 10px 12px 0; }
.facts > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: .92rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rooms { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .88rem; color: var(--muted); }
.rooms li { display: inline-flex; align-items: center; gap: .45em; }
.rooms b { color: var(--ink); font-weight: 700; }
.rooms .ico { color: var(--accent-ink); }
.amenities { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.amen { display: inline-flex; align-items: center; gap: .4em; font-size: .76rem; font-weight: 600; padding: .38em .8em .38em .6em; border-radius: 999px; border: 1px solid var(--line); }
.amen .ico { width: .95em; height: .95em; }
.amen.yes { color: var(--ink); border-color: rgba(176, 141, 87, .45); background: rgba(176, 141, 87, .08); }
.amen.yes .ico { color: var(--accent-ink); }
.amen.no { color: var(--muted-2); }
.amen.no span { text-decoration: line-through; text-decoration-color: rgba(154, 149, 141, .6); }
.amenities-lg .amen { font-size: .9rem; padding: .6em 1.1em .6em .85em; }
.card-actions { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty-state > .ico { width: 40px; height: 40px; color: var(--accent); margin: 0 auto 14px; }
.empty-state h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; }

/* ---------- Por que nós ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.why-intro p { max-width: 460px; margin-bottom: 2rem; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line-2); }
.why-list li:last-child { border-bottom: 1px solid var(--line-2); }
.why-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.why-list h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: .25em; }
.why-list p { color: var(--muted); margin: 0; max-width: 460px; }

/* ---------- Etapas ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.step { padding: 36px 28px 10px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 22px 0 6px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.step-ico { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent-ink); }
.step-ico .ico { width: 22px; height: 22px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; color: #fff; background: var(--ink); isolation: isolate; min-height: 440px; display: flex; align-items: center; }
.cta-band-bg { position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(10, 10, 12, .92) 0%, rgba(10, 10, 12, .7) 50%, rgba(10, 10, 12, .2) 100%),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1800&q=80") center/cover no-repeat,
    var(--hero-local) right center/cover no-repeat; }
.cta-band-content { padding: clamp(40px, 6vw, 80px); max-width: 720px; }
.cta-band h2 { color: #fff; }
.cta-band h2 em { color: var(--accent-2); }
.cta-band p { color: rgba(255, 255, 255, .72); max-width: 520px; margin-bottom: 2rem; }

/* ---------- Cabeçalho das páginas internas ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--line); background: radial-gradient(1200px 400px at 90% -10%, rgba(176, 141, 87, .12), transparent 60%), var(--bg); }
.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .98; max-width: 980px; letter-spacing: -.025em; }
.page-hero .lead { color: var(--muted); max-width: 640px; }
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 60px; flex-wrap: wrap; }
.breadcrumb { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 26px; display: flex; gap: .6em; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span:last-child { color: var(--ink); }
.page-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.page-tabs a { display: inline-flex; gap: .55em; align-items: center; padding: .72em 1.25em; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; transition: all .3s var(--ease); }
.page-tabs a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Serviços ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split-rev { grid-template-columns: .9fr 1.1fr; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 30px 0; border-top: 1px solid var(--line-2); }
.option-card { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.option-card:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.option-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: .2em; }
.option-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ico { color: var(--accent-ink); margin-top: .25em; }
.check-list.light .ico { color: var(--accent-2); }

.simulator, .panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.simulator { background: var(--ink); color: #fff; border: 0; }
.simulator h3 { display: flex; align-items: center; gap: .5em; margin: 0; color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; }
.simulator .muted { color: rgba(255, 255, 255, .55); }
.simulator label, .form-stack label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.simulator label { color: rgba(255, 255, 255, .6); }
.simulator input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; font-size: 1rem; }
.simulator input:focus { border-color: var(--accent-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sim-result { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; margin-top: 6px; }
.sim-result div { background: var(--ink-2); padding: 18px; }
.sim-result small { color: rgba(255, 255, 255, .55); display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.sim-result strong { font-family: var(--serif); font-size: 1.85rem; font-weight: 400; color: var(--accent-2); line-height: 1.2; }

.stat-panel { background: var(--ink); color: #fff; border-radius: 24px; padding: 14px 34px; display: grid; }
.stat-line { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; }
.stat-line + .stat-line { border-top: 1px solid rgba(255, 255, 255, .1); }
.stat-line > .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgba(216, 194, 155, .4); color: var(--accent-2); }
.stat-line div { display: flex; flex-direction: column; }
.stat-line b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
.stat-line small { color: rgba(255, 255, 255, .6); font-size: .9rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.feature { padding: 34px 28px 34px 0; }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--line); }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent-ink); margin-bottom: 22px; }
.feature-ico .ico { width: 22px; height: 22px; }
.ico-wa { color: #1c9c50; }

/* ---------- Empresa ---------- */
.prose { color: #4a4843; font-size: 1.06rem; line-height: 1.8; }
.prose-lead::first-letter { font-family: var(--serif); float: left; font-size: 4.4rem; line-height: .82; padding: 6px 12px 0 0; color: var(--accent-ink); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-2); align-items: baseline; }
.timeline li:last-child { border-bottom: 1px solid var(--line-2); }
.timeline b { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--accent-ink); line-height: 1; }
.timeline span { color: var(--muted); }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.mvv { padding: 10px 40px 10px 0; }
.mvv + .mvv { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .12); }
.mvv h3 { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; }
.mvv p, .mvv li { color: rgba(255, 255, 255, .7); }
.mvv .feature-ico { border-color: rgba(216, 194, 155, .4); color: var(--accent-2); }
.values { padding-left: 1.1em; margin: 0; display: grid; gap: 8px; }
.values li::marker { color: var(--accent-2); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.diff { position: relative; border-radius: 24px; padding: 40px 34px; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.diff:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.diff-num { position: absolute; right: 26px; top: 18px; font-family: var(--serif); font-size: 5rem; color: var(--sand); line-height: 1; }
.diff h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.diff p { color: var(--muted); margin: 0; }
.diff > *:not(.diff-num) { position: relative; }

/* ---------- Contato ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin-bottom: 56px; }
.contact-card { padding: 30px 24px 30px 0; display: flex; flex-direction: column; gap: 6px; transition: color .3s; }
.contact-card + .contact-card { padding-left: 24px; border-left: 1px solid var(--line); }
.contact-card .feature-ico { margin-bottom: 14px; width: 48px; height: 48px; transition: background .35s, color .35s, border-color .35s; }
.contact-card:hover .feature-ico { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-card small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; }
.contact-card b { font-weight: 600; font-size: 1.02rem; word-break: break-word; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.map-wrap { border-radius: 24px; overflow: hidden; min-height: 500px; background: var(--sand); filter: grayscale(.35) contrast(1.02); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 500px; border: 0; display: block; }
.panel h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0; }
.form-stack { display: grid; gap: 16px; }
.form-feedback { font-weight: 600; font-size: .92rem; }
.form-feedback.ok { color: var(--ok); }
.form-feedback.err { color: var(--danger); }

/* ---------- Detalhe do imóvel ---------- */
.gallery-main { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 7.5; background: var(--sand); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(251, 250, 247, .92); display: grid; place-items: center; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.gal-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gal-nav.prev { left: 20px; } .gal-nav.next { right: 20px; }
.gal-count { position: absolute; bottom: 18px; right: 18px; background: rgba(17, 18, 20, .65); color: #fff; font-size: .8rem; letter-spacing: .08em; padding: .45em 1em; border-radius: 999px; backdrop-filter: blur(6px); }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: thin; }
.gallery-thumbs button { flex: none; width: 120px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .55; transition: opacity .3s, border-color .3s; background: var(--sand); }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 6vw, 80px); margin-top: 44px; }
.detail-title { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 .25em; }
.detail-loc { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); display: flex; gap: .5em; align-items: center; }
.detail-specs { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); border-top: 1px solid var(--line-2); }
.detail-specs li { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.detail-specs .ico { color: var(--accent-ink); width: 22px; height: 22px; margin-bottom: 10px; }
.detail-specs b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.detail-specs small { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.detail-sub { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 2.2rem 0 1rem; }
.detail-aside { position: relative; }
.price-box { position: sticky; top: calc(var(--header-h) + 24px); border-radius: 24px; padding: 30px; display: grid; gap: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-box > small { color: var(--muted); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.price-box strong { font-family: var(--serif); font-size: 2.8rem; font-weight: 400; line-height: 1; margin-bottom: 12px; color: var(--ink); }
.mini-trust { list-style: none; padding: 16px 0 0; margin: 6px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .88rem; color: var(--muted); }
.mini-trust .ico { color: var(--accent-ink); margin-right: 4px; }

/* ---------- Login ---------- */
.login-section { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 48px 16px; }
.login-card { width: min(1060px, 100%); display: grid; grid-template-columns: 1.05fr 1fr; background: var(--white); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.login-side { position: relative; color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; isolation: isolate; background: var(--ink); }
.login-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 12, .92) 10%, rgba(10, 10, 12, .35) 70%), var(--login-bg) center/cover no-repeat; }
.login-side h2 { color: #fff; font-size: clamp(2.2rem, 3.4vw, 3rem); }
.login-side p { color: rgba(255, 255, 255, .72); }
.login-form { padding: 56px; align-content: center; }
.login-form h1 { font-size: 3.2rem; margin: 0; }
.input-ico { position: relative; display: block; }
.input-ico > .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-ico input { padding-left: 2.9em; }
.toggle-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px; cursor: pointer; color: var(--muted); }
.skip-link { text-align: center; font-size: .86rem; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.skip-link:hover { color: var(--ink); }

.alert { padding: .9em 1.1em; border-radius: 12px; font-weight: 600; font-size: .9rem; }
.alert-danger { background: #f7e6e1; color: #8e3422; }
.alert-warning { background: #f6eedd; color: #7a5a17; }
.alert-success { background: #e4f0e8; color: #25623f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: clamp(70px, 9vw, 120px) 0 0; }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 60px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta h2 { color: #fff; max-width: 700px; margin: 0; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.footer-cta h2 em { color: var(--accent-2); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr .8fr; gap: 40px; padding: 60px 0; }
.site-footer h4 { color: #fff; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; font-family: var(--sans); }
.site-footer .footer-grid > div > a, .site-footer .footer-grid > div > span { display: block; margin-bottom: 10px; font-size: .92rem; transition: color .25s; }
.site-footer .footer-grid a:hover { color: #fff; }
.footer-brand p { margin: 22px 0; max-width: 360px; font-size: .95rem; }
.creci-badge { display: inline-flex !important; align-items: center; gap: .5em; font-size: .78rem !important; letter-spacing: .08em; padding: .5em .9em; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; color: var(--accent-2); }
.muted-light { color: rgba(255, 255, 255, .4); }
.socials { display: flex; gap: 8px; margin-bottom: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid !important; place-items: center; border: 1px solid rgba(255, 255, 255, .15); margin: 0 !important; transition: background .3s, color .3s !important; }
.socials a:hover { background: #fff; color: var(--ink) !important; }
.footer-login { display: inline-flex !important; gap: .5em; align-items: center; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0; font-size: .82rem; }
.to-top { display: inline-flex; gap: .5em; align-items: center; }
.to-top .ico { transform: rotate(-90deg); }
.to-top:hover { color: #fff; }

.wa-float { position: fixed; right: 24px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; z-index: 60; box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .45); transition: transform .4s var(--ease), opacity .4s; }
.wa-float:hover { transform: scale(1.07); }
.has-hero .wa-float { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
.has-hero.past-hero .wa-float { opacity: 1; transform: none; pointer-events: auto; }
.wa-float .ico { width: 30px; height: 30px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 12, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(460px, 100%); background: var(--paper); border-radius: 26px; padding: 38px; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.98); transition: transform .5s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; margin: 0 0 .2em; }
.modal-card .eyebrow { margin-bottom: 1rem; color: var(--ink); letter-spacing: .14em; }
.modal-close { position: absolute; top: 16px; right: 16px; border: 1px solid var(--line-2); background: transparent; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s; }
.modal-close:hover { background: var(--ink); color: #fff; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-line > span, .hero .lead, .hero-ctas, .hero-feature, .hero-search { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
.hide-sm { }
@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-feature { display: none; }
  .filter-row { grid-template-columns: repeat(3, 1fr); }
  .filter-actions { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .nav-actions { margin-left: auto; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); background: var(--bg); flex-direction: column; align-items: stretch; padding: 24px; gap: 0; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .4s var(--ease); overflow-y: auto; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a, .is-transparent .main-nav a { color: var(--ink); font-family: var(--serif); font-size: 2rem; padding: .35em 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-login { margin: 18px 0 0; border: 0 !important; padding-left: 0 !important; font-family: var(--sans) !important; font-size: .95rem !important; color: var(--muted) !important; }
  .is-transparent.menu-open { background: var(--bg); }
  .is-transparent.menu-open .brand { color: var(--ink); }
  .is-transparent.menu-open .nav-toggle { border-color: var(--line-2); }
  .is-transparent.menu-open .nav-toggle span { background: var(--ink); }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search label:nth-child(2) { border-right: 0; }
  .hero-search label:nth-child(3) { border-top: 1px solid var(--line); }
  .hero-search .btn { margin: 4px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .why, .split, .split-rev, .contact-grid, .detail-grid, .login-card { grid-template-columns: 1fr; }
  .why-intro, .simulator, .panel, .price-box { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 10px; }
  .mvv-grid, .diff-grid { grid-template-columns: 1fr; }
  .mvv, .mvv + .mvv { padding: 30px 0; border-left: 0; }
  .mvv + .mvv { border-top: 1px solid rgba(255, 255, 255, .12); }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .login-side { min-height: 300px; padding: 36px; }
  .login-form { padding: 40px 28px; }
  .gallery-main { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .container { width: min(1280px, 100% - 32px); }
  .hide-sm { display: none; }
  .nav-actions .btn .wa-dot { margin: 0; }
  .nav-actions .btn { padding: .45em; }
  .brand-text { font-size: 1.3rem; }
  .brand-mark { width: 38px; height: 38px; font-size: 1.25rem; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-title { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .hero-ctas .btn { width: 100%; }
  .hero-search { grid-template-columns: 1fr; padding: 6px; }
  .hero-search label { border-right: 0 !important; border-top: 1px solid var(--line); padding: 10px 14px; }
  .hero-search label:first-child { border-top: 0; }
  .filter-row { grid-template-columns: 1fr; }
  .filter-actions .btn { flex: 1; }
  .grid-imoveis { grid-template-columns: minmax(0, 1fr); }
  .option-grid { grid-template-columns: 1fr; }
  .option-card:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 26px 0; border-left: 0; margin: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .why-list li { grid-template-columns: 56px 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card, .contact-card + .contact-card { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .contact-card:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .two, .sim-result { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 80px 1fr; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div + div { padding-left: 10px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .modal-card { padding: 30px 24px; }
}
.site-footer .footer-brand > .brand { display: inline-flex; margin: 0; }
.login-side h2 em { color: var(--accent-2); }

/* =====================================================================
   Portal multi-imobiliárias
   ===================================================================== */
.nav-cta { margin-left: 6px; padding: .55em 1.1em !important; border: 1px solid var(--line-2); border-radius: 999px; font-size: .86rem !important; }
.nav-cta::after { display: none; }
.nav-cta:hover, .nav-cta.active { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.is-transparent:not(.scrolled) .nav-cta { border-color: rgba(255, 255, 255, .35); }

/* Selo da imobiliária (logo ou iniciais) */
.imob-selo { --s: 44px; width: var(--s); height: var(--s); flex: none; display: inline-grid; place-items: center; border-radius: calc(var(--s) * .28); background: var(--ink); color: var(--accent-2); font-family: var(--serif); font-size: calc(var(--s) * .42); line-height: 1; letter-spacing: .02em; overflow: hidden; }
.imob-selo.has-logo { background: #fff; border: 1px solid var(--line); padding: calc(var(--s) * .1); }
.imob-selo img { width: 100%; height: 100%; object-fit: contain; }
.imob-selo.xs { --s: 24px; border-radius: 7px; }
.imob-selo.sm { --s: 34px; }
.imob-selo.md { --s: 54px; }
.imob-selo.lg { --s: 68px; }
.imob-selo.xl { --s: 112px; border-radius: 28px; box-shadow: var(--shadow); }

/* Card do imóvel: imobiliária responsável */
.card-imob { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); min-width: 0; }
.card-imob span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-imob:hover { color: var(--ink); }

/* Busca do hero com 4 campos */
.hero-search-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
.hero-search-4 label:nth-child(3) { border-right: 1px solid var(--line); }
.hero-search-4 label:nth-child(4) { border-right: 0; }
.filter-row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }

/* Parceiras (home) */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.partner { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease); min-width: 0; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner .imob-selo { margin-bottom: 10px; }
.partner b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; color: var(--ink); }
.partner small { color: var(--muted); font-size: .82rem; }

/* Diretório */
.dir-search { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 18px; align-items: end; margin-top: 36px; }
.dir-search input[type=search] { border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; padding: .55em 0; font-size: .98rem; font-weight: 600; }
.dir-search input[type=search]:focus { box-shadow: none; border-bottom-color: var(--ink); }
.agency-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.agency-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.agency-card-head { display: flex; align-items: center; gap: 16px; min-width: 0; }
.agency-card-head b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.agency-card-head small { color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.agency-card p { margin: 0; font-size: .92rem; }
.agency-meta { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.agency-meta li { display: flex; align-items: center; gap: 8px; }
.agency-meta .ico { width: 16px; height: 16px; color: var(--accent); }
.agency-card .card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Caixa da imobiliária (página do imóvel e da imobiliária) */
.agency-box { margin-top: 20px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.agency-box > small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.agency-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; min-width: 0; }
.agency-head b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; color: var(--ink); }
.agency-head em { font-style: normal; font-size: .8rem; color: var(--muted); }
.agency-contacts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.agency-contacts li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.agency-contacts .ico { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--accent); }
.agency-contacts a:hover { color: var(--accent-ink); }
.more-from { margin-top: clamp(60px, 8vw, 100px); padding-top: clamp(40px, 6vw, 70px); border-top: 1px solid var(--line); }

/* Página da imobiliária */
.agency-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px 60px; align-items: start; }
.agency-hero-main { display: flex; gap: 34px; align-items: flex-start; min-width: 0; }
.agency-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin: 10px 0 14px; }
.agency-hero .hero-ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }
.agency-hero .agency-box { margin-top: 0; background: var(--white); box-shadow: var(--shadow-sm); }

/* Cadastro público */
.container.narrow { max-width: 980px; }
.steps-mini { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 32px 0 0; padding: 0; font-size: .86rem; font-weight: 600; color: var(--muted); }
.steps-mini li { display: flex; align-items: center; gap: 10px; }
.steps-mini b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--accent-2); font-family: var(--serif); font-weight: 400; font-size: 1rem; }
.pub-form { display: grid; gap: 22px; }
.pub-form .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); min-width: 0; }
.pub-form .card-head { margin-bottom: 20px; }
.pub-form .card-head h2 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; display: flex; align-items: center; gap: .45em; margin: 0; }
.pub-form .card-head h2 .ico { width: 22px; height: 22px; color: var(--accent); }
.pub-form .card-head p { margin: 4px 0 0; }
.pub-form .form-grid { display: grid; gap: 16px; }
.pub-form .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pub-form .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pub-form .cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pub-form .span-2 { grid-column: span 2; } .pub-form .span-3 { grid-column: span 3; } .pub-form .span-4 { grid-column: span 4; }
.pub-form .form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink-3); min-width: 0; }
.pub-form .fi-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; }
.pub-form .fi-note .ico { width: 16px; height: 16px; color: var(--ok); }
.check-line { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check-line input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--ink); }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; }
.logo-field { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.logo-preview { width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; overflow: hidden; background: var(--ink); color: var(--accent-2); font-family: var(--serif); font-size: 2.2rem; border: 1px solid var(--line); }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; }
.logo-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.file-btn { position: relative; overflow: hidden; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.pub-form .switch { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; cursor: pointer; }
.pub-form .switch input { width: 18px; height: 18px; accent-color: var(--ink); }
.pub-form .switch > span { display: none; }
.alert ul { margin: 8px 0 0; padding-left: 1.2em; font-weight: 500; }
.success-box { text-align: center; padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 60px); background: var(--paper); border: 1px solid var(--line); border-radius: 28px; }
.success-box .feature-ico { margin: 0 auto 18px; }
.success-box h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 10px; }
.success-box .lead { max-width: 620px; margin: 0 auto 28px; }
.success-box a:not(.btn) { color: var(--accent-ink); text-decoration: underline; }

@media (max-width: 1180px) {
  .filter-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agency-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero-search-4 { grid-template-columns: 1fr 1fr; }
  .hero-search-4 label:nth-child(2), .hero-search-4 label:nth-child(4) { border-right: 0; }
  .hero-search-4 label:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-search-4 .btn { grid-column: 1 / -1; }
  .agency-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-cta { margin: 10px 0 0; align-self: flex-start; }
  .pub-form .cols-4, .pub-form .cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pub-form .span-3, .pub-form .span-4 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .hero-search-4 { grid-template-columns: 1fr; }
  .hero-search-4 label { border-right: 0 !important; }
  .hero-search-4 label:nth-child(n+2) { border-top: 1px solid var(--line); }
  .filter-row-4, .dir-search, .agency-grid, .partners { grid-template-columns: minmax(0, 1fr); }
  .agency-hero-main { flex-direction: column; gap: 20px; }
  .imob-selo.xl { --s: 84px; border-radius: 22px; }
  .pub-form .cols-3, .pub-form .cols-4, .pub-form .cols-6 { grid-template-columns: minmax(0, 1fr); }
  .pub-form .span-2, .pub-form .span-3, .pub-form .span-4 { grid-column: auto; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Logotipo Proprium ---------- */
.brand-logo { height: 58px; width: auto; transition: transform .4s var(--ease), filter .4s; }
.brand:hover .brand-logo { transform: translateY(-1px); filter: brightness(1.08); }
.site-header.scrolled .brand-logo { height: 50px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 210px; height: auto; }
.login-logo { width: 170px; height: auto; margin-bottom: auto; padding-bottom: 26px; align-self: flex-start; }
@media (max-width: 640px) {
  .brand-logo, .site-header.scrolled .brand-logo { height: 38px; }
  .footer-logo img { width: 170px; }
}
