/* Key Imóveis — imoveiskey.com.br
   Direção v3 (referências: Arden, Embraed, Sailing Traveler):
   fundo escuro quente com "folhas" claras de conteúdo, títulos em caixa alta, cantos arredondados,
   imóveis como produto (etiquetas, preço, detalhes) e dourado só nas ações. */

:root {
  --bg: #141210;
  --bg-2: #1d1a17;
  --ink: #f2efea;
  --muted: #a9a198;
  --sheet: #f3f3f1;
  --sheet-2: #e8e8e5;
  --sheet-ink: #171512;
  --sheet-muted: #5f584f;
  --line: #d9d5ce;
  --line-dark: #34302b;
  --gold: #c8a46a;
  --gold-2: #e0c28d;
  --gold-ink: #1a1510;
  --wa: #25d366;

  --font: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;

  --t-hero: clamp(2.5rem, 5.2vw, 5rem);
  --t-h2: clamp(1.75rem, 2.9vw, 2.75rem);
  --t-h3: 1.25rem;
  --t-body: 1rem;
  --t-small: 0.875rem;

  --margin: clamp(16px, 3vw, 40px);
  --sheet-pad: clamp(24px, 4.5vw, 72px);
  --gap: clamp(88px, 9vw, 140px);
  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.04; text-wrap: balance; }
h3 { font-weight: 600; font-size: var(--t-h3); line-height: 1.25; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--gold-ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-left: max(var(--margin), env(safe-area-inset-left, 0px)); padding-right: max(var(--margin), env(safe-area-inset-right, 0px)); }
.container { width: min(1280px, 100%); margin: 0 auto; }
.muted { color: var(--muted); }
.label { font-size: var(--t-small); color: var(--muted); }
.sheet .label, .sheet .muted { color: var(--sheet-muted); }

/* ---------- Aviso ---------- */
.notice { background: var(--bg-2); color: var(--muted); font-size: 0.8125rem; text-align: center; padding: 8px var(--margin); padding-top: max(8px, env(safe-area-inset-top, 0px)); }
.notice strong { color: var(--ink); font-weight: 600; }

/* ---------- Marca ---------- */
.logo { display: inline-flex; color: var(--ink); text-decoration: none; }
.logo svg { width: 96px; height: auto; }
.logo .bar-mid { fill: currentColor; }

/* ---------- Cabeçalho ---------- */
.site-header { position: relative; z-index: 30; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); font-size: 0.9375rem; }
.nav a { text-decoration: none; color: var(--ink); opacity: .82; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.nav .btn { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font: inherit; font-size: 0.9375rem; padding: 10px 0; cursor: pointer; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent; font: 600 0.9375rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, filter .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(100deg, #b98c4d, var(--gold-2)); color: var(--gold-ink); } /* taste-skill-ignore: gradiente do botão, pedido nas referências */
.btn-gold:hover { filter: brightness(1.06); }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-outline { border-color: rgba(242,239,234,.55); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: rgba(242,239,234,.08); }
.btn-dark { background: var(--sheet-ink); color: var(--sheet); }
.btn-dark:hover { background: #2f2a24; }
.btn-wa { background: var(--wa); color: #06301a; width: 100%; }
.btn-wa:hover { filter: brightness(1.05); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link-arrow:hover { color: #9a7438; }

/* ---------- Hero ---------- */
.hero { padding-bottom: var(--margin); }
.hero { padding-bottom: 0; }
.hero .hero-frame { border-radius: 0; min-height: 100svh; }
.hero-frame { position: relative; overflow: hidden; display: grid; align-items: end; }
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 30s ease-in-out infinite alternate; }
.hero-frame::before { content: ""; position: absolute; inset: 0 0 auto; height: 220px; z-index: 1; background: linear-gradient(to bottom, rgba(10,8,6,.6), rgba(10,8,6,0)); pointer-events: none; } /* taste-skill-ignore: scrim sob o menu */
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,6,.86) 0%, rgba(10,8,6,.35) 48%, rgba(10,8,6,.12) 72%); } /* taste-skill-ignore: scrim neutro sob o texto */
.hero-body { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: end; padding-top: 160px; padding-bottom: clamp(32px, 5vw, 72px); width: min(1280px, 100%); }
.hero-body.wrap { padding-left: max(calc(var(--margin) + clamp(8px, 2vw, 32px)), env(safe-area-inset-left, 0px)); padding-right: max(calc(var(--margin) + clamp(8px, 2vw, 32px)), env(safe-area-inset-right, 0px)); }
.hero-text { display: grid; gap: 20px; justify-items: start; }
.hero-script { width: clamp(200px, 24vw, 360px); }
.hero h1 { font-size: var(--t-hero); max-width: 15ch; }
.hero-lead { font-size: 1.125rem; max-width: 46ch; color: #e7e2db; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-card { justify-self: end; width: min(400px, 100%); background: rgba(20,18,16,.9); border-radius: var(--r-md); padding: 14px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; text-decoration: none; transition: background-color .2s; }
.hero-card:hover { background: rgba(34,30,26,.96); }
.hero-card img { width: 112px; height: 100%; min-height: 96px; object-fit: cover; border-radius: var(--r-sm); }
.hero-card .label { display: block; margin-bottom: 2px; }
.hero-card strong { display: block; font-weight: 600; }
.hero-card .price { color: var(--gold-2); font-weight: 600; margin-top: 6px; display: block; }
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1.1) translateX(-1.5%); } }

/* ---------- Apresentação (faixa escura) ---------- */
.intro { padding-top: var(--gap); padding-bottom: var(--gap); }
.intro-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.intro-top h2 { font-size: var(--t-h2); }
.intro-top p { color: #ddd7cf; font-size: 1.0625rem; max-width: 52ch; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.facts-row strong { display: block; font-size: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; }
.facts-row span { display: block; color: var(--muted); font-size: var(--t-small); margin-top: 6px; max-width: 28ch; }

/* ---------- Folha clara ---------- */
.sheet { background: var(--sheet); color: var(--sheet-ink); border-radius: var(--r-lg); }
.sheet-pad { padding: var(--sheet-pad); }
.sheet-block + .sheet-block { margin-top: var(--gap); }
.block-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.block-head h2 { font-size: var(--t-h2); }
.block-head p { max-width: 48ch; color: var(--sheet-muted); }

/* Escolha: lista que troca a foto */
.choose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px 56px; align-items: stretch; }
.choose-side { display: grid; align-content: start; }
.choose-side h2 { font-size: var(--t-h2); margin-bottom: 28px; }
.choose-list { display: grid; gap: 4px; }
.choose-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 12px; text-align: left; width: 100%; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: var(--r-sm); background: transparent; color: inherit; font: inherit; cursor: pointer; transition: background-color .2s; }
.choose-item:hover { background: var(--sheet-2); }
.choose-item[aria-selected="true"] { background: var(--sheet-2); border-bottom-color: transparent; }
.choose-item .dot { grid-row: span 2; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; border: 2px solid var(--sheet-ink); }
.choose-item[aria-selected="true"] .dot { background: var(--gold); border-color: var(--gold); }
.choose-item b { font-weight: 600; font-size: 1.0625rem; }
.choose-item .desc { color: var(--sheet-muted); font-size: 0.9375rem; }
.choose-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.choose-cta p { font-size: var(--t-small); color: var(--sheet-muted); max-width: 34ch; }
.choose-media { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 460px; }
.choose-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.choose-media img.off { opacity: 0; }
.chips { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: rgba(20,18,16,.86); color: var(--ink); font-size: 0.8125rem; font-weight: 500; padding: 6px 10px; border-radius: 6px; }

/* Cards de imóvel */
.props { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.prop { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); min-height: 300px; background: var(--bg-2); }
.prop > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prop:hover > img { transform: scale(1.04); }
.prop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,6,.9) 0%, rgba(10,8,6,0) 55%); } /* taste-skill-ignore: scrim sob o texto do card */
.prop-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 6px 16px; }
.prop-info h3 { font-size: 1.25rem; }
.prop-info .where { font-size: var(--t-small); color: #ddd7cf; }
.prop-info .price { font-weight: 600; text-align: right; }
.prop-info .more { font-size: var(--t-small); text-decoration: underline; text-underline-offset: 4px; display: block; text-align: right; margin-top: 2px; }
.props-home .prop:nth-child(1) { grid-column: 1 / 7; grid-row: span 2; min-height: 560px; }
.props-home .prop:nth-child(2) { grid-column: 7 / 10; }
.props-home .prop:nth-child(3) { grid-column: 10 / 13; }
.props-home .prop:nth-child(4) { grid-column: 7 / 13; }
.props-grid .prop { grid-column: span 4; min-height: 420px; }
.prop[hidden] { display: none; }

/* Estilo de vida com cartão */
.life { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 640px; display: grid; justify-items: end; align-items: center; padding: 32px; }
.life > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.life-card { position: relative; z-index: 2; width: min(460px, 100%); background: #fff; color: var(--sheet-ink); border-radius: var(--r-md); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.life-card h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.checklist { display: grid; }
.checklist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.checklist li span:last-child { color: var(--sheet-muted); font-size: var(--t-small); white-space: nowrap; }
.life-card .btn { justify-self: start; }

/* Sócio */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: stretch; }
.founder-text { display: grid; align-content: start; gap: 16px; }
.founder-text h2 { font-size: var(--t-h2); }
.founder-quote { margin: 4px 0 0; font-size: 1.1875rem; line-height: 1.5; }
.founder-name { font-weight: 600; }
.founder-name span { display: block; font-weight: 400; color: var(--sheet-muted); font-size: var(--t-small); }
.founder-list { display: grid; gap: 4px; margin-top: 12px; }
.founder-list li { padding: 14px 16px; border-bottom: 1px solid var(--line); border-radius: var(--r-sm); }
.founder-list li:last-child { background: var(--sheet-2); border-bottom-color: transparent; }
.founder-list b { display: block; font-weight: 600; }
.founder-list span { color: var(--sheet-muted); font-size: 0.9375rem; }
.founder-text .btn { justify-self: start; margin-top: 8px; }
.founder-photo { border-radius: var(--r-md); overflow: hidden; min-height: 520px; background: var(--sheet-2); position: relative; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-photo .slot { position: absolute; left: 16px; bottom: 16px; background: rgba(20,18,16,.88); color: var(--ink); font-size: 0.8125rem; padding: 8px 12px; border-radius: 6px; }

/* Etapas */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: 40px; }
.steps-wrap h2 { font-size: var(--t-h2); }
.steps-wrap p { color: var(--sheet-muted); max-width: 52ch; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { display: grid; gap: 8px; align-content: start; }
.steps .mark { display: grid; grid-template-columns: repeat(2, 6px); gap: 3px; margin-bottom: 10px; }
.steps .mark i { width: 6px; height: 6px; background: var(--sheet-ink); border-radius: 50%; }
.steps li:nth-child(1) .mark i:nth-child(n+2), .steps li:nth-child(2) .mark i:nth-child(n+3), .steps li:nth-child(3) .mark i:nth-child(4) { background: var(--line); }
.steps p { color: var(--sheet-muted); font-size: 0.9375rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 56px; }
.faq-grid h2 { font-size: var(--t-h2); }
.faq-grid > div > p { color: var(--sheet-muted); margin-top: 14px; max-width: 36ch; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--sheet-2); border-radius: var(--r-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.375rem; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: #dfdbd4; border-radius: var(--r-sm); }
.faq details p { padding: 0 20px 20px; max-width: 70ch; color: var(--sheet-muted); }

/* ---------- Páginas internas ---------- */
.page-head { padding-bottom: var(--margin); }

.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); max-width: 18ch; }
.crumb { font-size: var(--t-small); color: #ddd7cf; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: 600 0.875rem/1 var(--font); min-height: 40px; padding: 0 16px; border-radius: 6px; border: 1px solid #c9c4bc; background: transparent; color: var(--sheet-ink); cursor: pointer; transition: background-color .2s; }
.filters button[aria-pressed="true"] { background: var(--sheet-ink); color: var(--sheet); border-color: var(--sheet-ink); }
.filters button:hover { background: var(--sheet-2); }
.filters button[aria-pressed="true"]:hover { background: #2f2a24; }

.rows { display: grid; }
.rows li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rows li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 8px; grid-row: span 2; }
.rows b { font-weight: 600; }
.rows span { color: var(--sheet-muted); font-size: 0.9375rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.split-media { border-radius: var(--r-md); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-text { display: grid; gap: 18px; }
.split-text h2 { font-size: var(--t-h2); }
.split-text > p { color: var(--sheet-muted); max-width: 56ch; }

/* Página do imóvel */
.pd { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pd-gallery { display: grid; gap: 10px; }
.pd-main { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pd-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4 / 3; transition: border-color .2s; }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.pd-thumbs button:hover { border-color: var(--muted); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-panel { position: sticky; top: 16px; background: var(--sheet); color: var(--sheet-ink); border-radius: var(--r-md); padding: 28px; display: grid; gap: 16px; }
.pd-panel .kicker { color: #8a6631; font-size: var(--t-small); font-weight: 600; }
.pd-panel h1 { font-size: 2rem; text-transform: none; letter-spacing: -0.015em; }
.pd-where { color: var(--sheet-muted); font-size: 0.9375rem; }
.pd-price { font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.pd-price small { display: block; font-size: var(--t-small); font-weight: 400; color: var(--sheet-muted); margin-bottom: 4px; }
.pd-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.pd-specs dt { font-size: 0.8125rem; color: var(--sheet-muted); }
.pd-specs dd { margin: 2px 0 0; font-weight: 600; }
.pd-cond { font-size: 0.9375rem; color: var(--sheet-muted); }
.pd-note { font-size: 0.8125rem; color: var(--sheet-muted); text-align: center; }
.pd-info { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.pd-box { background: var(--sheet); color: var(--sheet-ink); border-radius: var(--r-md); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.pd-box h2 { font-size: 1.5rem; }
.pd-box > p { color: var(--sheet-muted); }
.kv { display: grid; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.kv dt { color: var(--sheet-muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fit div { background: var(--sheet-2); border-radius: var(--r-sm); padding: 18px; display: grid; gap: 6px; align-content: start; }
.fit p { color: var(--sheet-muted); font-size: 0.9375rem; }
.more-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: var(--gap) 0 24px; }
.more-head h2 { font-size: var(--t-h2); }

/* Contato */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-grid > div { background: var(--sheet-2); border-radius: var(--r-md); padding: 24px; display: grid; gap: 8px; align-content: start; }
.contact-grid h3 { font-size: 1.0625rem; }
.contact-grid p { color: var(--sheet-muted); }
.contact-grid .btn { justify-self: start; margin-top: 8px; }

/* ---------- Rodapé com formulário ---------- */
.site-footer { padding-top: var(--gap); padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px 72px; }
.footer-brand { display: grid; gap: 22px; align-content: start; }
.footer-brand > p { color: var(--muted); max-width: 40ch; }
.footer-script { width: 220px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.9375rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-meta { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; }
.footer-meta img { border-radius: var(--r-sm); width: 180px; aspect-ratio: 4 / 3; object-fit: cover; }
.footer-meta ul { display: grid; gap: 6px; font-size: 0.9375rem; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--gold); }
.footer-form { display: grid; gap: 22px; align-content: start; }
.footer-form h2 { font-size: var(--t-h2); }
.footer-form > p { color: var(--muted); max-width: 52ch; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.lead-form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.8125rem; color: var(--muted); }
.field input, .field select { font: inherit; color: var(--ink); background-color: transparent; border: 0; border-bottom: 1px solid #4a443d; padding: 10px 0; min-height: 44px; border-radius: 0; appearance: none; -webkit-appearance: none; }
.field select { padding-right: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a9a198' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.field select option { color: #111; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.field input::placeholder { color: #857d73; }
.lead-form .btn { width: 100%; min-height: 52px; }
.form-note { font-size: 0.8125rem; color: var(--muted); }
.form-err { font-size: var(--t-small); color: #f0a48f; min-height: 1.2em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 0.8125rem; color: var(--muted); }

/* ---------- Movimento ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .rise { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-frame > img { animation: none; }
  .js .reveal, .js .rise { opacity: 1; transform: none; animation: none; transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; }
  .intro-top, .choose, .founder, .faq-grid, .split, .footer-grid, .pd, .pd-info, .steps-wrap { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .props-home .prop:nth-child(n) { grid-column: span 6; grid-row: auto; min-height: 380px; }
  .props-grid .prop { grid-column: span 6; }
  .pd-panel { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px var(--margin) 24px; background: var(--bg); }
  .nav a { padding: 10px 0; font-size: 1.0625rem; }
  .site-header.open .nav { display: flex; }
}

/* ---------- Telefone ---------- */
@media (max-width: 640px) {
  .hero-body { padding-top: 140px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card { grid-template-columns: 88px minmax(0, 1fr); }
  .hero-card img { width: 88px; }
  .facts-row, .steps { grid-template-columns: 1fr; }
  .props-home .prop:nth-child(n), .props-grid .prop { grid-column: 1 / -1; min-height: 340px; }
  .choose-media { min-height: 300px; }
  .life { min-height: 0; padding: 0; display: block; }
  .life > img { position: static; aspect-ratio: 4 / 3; }
  .life-card { width: 100%; border-radius: 0; }
  .founder-photo { min-height: 320px; }
  .lead-form { grid-template-columns: 1fr; }
  .footer-meta { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
}

/* correções */
.nav a.btn-light { color: var(--bg); }
@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .block-head h2, .steps-wrap h2, .faq-grid h2, .split-text h2, .founder-text h2, .choose-side h2, .intro-top h2, .footer-form h2, .more-head h2 { font-size: 1.5rem; }
  .life-card h2 { font-size: 1.3rem; }
  .page-head h1 { font-size: 2rem; }
}
@media (max-width: 1024px) { .founder-photo { min-height: 300px; } }
@media (max-width: 1024px) { .pd-panel { order: -1; } }

/* Topo sobre o hero */
.top-overlay { position: absolute; inset: 0 0 auto; z-index: 30; }
.top-overlay .notice { background: rgba(20,18,16,.55); }
.top-overlay .site-header.open { background: var(--bg); }
.top:not(.top-overlay) .site-header { background: var(--bg); }

/* Checklist sem rótulos */
.checklist li { justify-content: flex-start; align-items: baseline; gap: 12px; }
.checklist li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: translateY(-1px); }

/* Sócios alternando */
.partner-slides { display: grid; }
.partner { display: grid; gap: 16px; }
.partner-dots { display: flex; gap: 8px; }
.partner-dots button { width: 44px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.partner-dots span { display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--line); transition: background-color .3s; }
.partner-dots button[aria-pressed="true"] span { background: var(--sheet-ink); }
.partner-dots button:hover span { background: var(--sheet-muted); }
.partner-photo { position: absolute; inset: 0; background: var(--sheet-2); transition: opacity .6s var(--ease); }
.partner-photo.off { opacity: 0; }
.partner-photo img { width: 100%; height: 100%; object-fit: cover; }
.js .partner:not([hidden]) { animation: rise .6s var(--ease); }

/* Cards: texto todo à esquerda */
.prop-info { display: grid; justify-content: start; gap: 2px; }
.prop-info .price { text-align: left; margin-top: 8px; }
.prop-info .more { text-align: left; margin-top: 4px; }

/* Filtro de imóveis */
.filter-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; background: var(--sheet-2); border-radius: var(--r-md); padding: 16px; margin-bottom: 18px; }
.ffield { display: grid; gap: 6px; }
.ffield label { font-size: 0.8125rem; color: var(--sheet-muted); font-weight: 500; }
.ffield select { font: 500 0.9375rem var(--font); color: var(--sheet-ink); background-color: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); min-height: 46px; padding: 0 36px 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f584f' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; transition: border-color .2s; }
.ffield select:hover { border-color: #b9b3aa; }
.ffield select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.btn-clear { font: 600 0.9375rem var(--font); min-height: 46px; padding: 0 18px; border: 0; background: none; color: var(--sheet-ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.btn-clear:hover { color: #8a6631; }
.filter-count { font-size: var(--t-small); color: var(--sheet-muted); margin-bottom: 18px; }
.filter-empty { background: var(--sheet-2); border-radius: var(--r-md); padding: 32px; display: grid; gap: 12px; justify-items: start; }
.filter-empty p { color: var(--sheet-muted); max-width: 56ch; }
@media (max-width: 1024px) { .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .btn-clear { justify-self: start; } }
@media (max-width: 640px) { .filter-bar { grid-template-columns: 1fr; } }

/* Busca */
.filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
.fsearch { grid-column: 1 / -1; }
.fsearch input { font: 500 1rem var(--font); color: var(--sheet-ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235f584f' stroke-width='1.8'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M12.5 12.5L17 17'/%3E%3C/svg%3E") no-repeat 16px center; border: 1px solid var(--line); border-radius: var(--r-sm); min-height: 52px; padding: 0 16px 0 46px; width: 100%; }
.fsearch input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.fsearch input::placeholder { color: #8c857c; }

/* Formulários em folha clara */
.form-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: start; background: var(--sheet-2); border-radius: var(--r-md); padding: clamp(24px, 4vw, 48px); }
.form-block-head { display: grid; gap: 18px; }
.form-block-head h2 { font-size: var(--t-h2); }
.form-block-head > p { color: var(--sheet-muted); max-width: 46ch; }
.sheet-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; border-radius: var(--r-md); padding: clamp(20px, 3vw, 32px); }
.sheet-form .full { grid-column: 1 / -1; }
.sfield { display: grid; gap: 6px; }
.sfield label { font-size: 0.8125rem; color: var(--sheet-muted); font-weight: 500; }
.sfield select, .sfield input { font: 500 0.9375rem var(--font); color: var(--sheet-ink); background-color: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-sm); min-height: 46px; padding: 0 14px; width: 100%; appearance: none; -webkit-appearance: none; }
.sfield select { padding-right: 36px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f584f' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.sfield select:focus-visible, .sfield input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.sheet-form .btn { min-height: 52px; }
.sheet-form .form-err { color: #a23b26; }

/* Calculadora */
.calc { background: var(--sheet-ink); color: var(--ink); border-radius: var(--r-md); padding: clamp(24px, 4vw, 48px); }
.calc-head { display: grid; gap: 12px; margin-bottom: 32px; }
.calc-head h2 { font-size: var(--t-h2); }
.calc-head p { color: var(--muted); max-width: 58ch; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.calc-form { display: grid; gap: 20px; }
.cfield { display: grid; gap: 8px; }
.cfield label { font-size: 0.875rem; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.c-pct { color: var(--gold-2); font-weight: 600; }
.c-hint { font-size: 0.75rem; }
.money { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--line-dark); border-radius: var(--r-sm); padding: 0 14px; min-height: 52px; transition: border-color .2s; }
.money:focus-within { border-color: var(--gold); }
.money span { color: var(--muted); font-size: 0.9375rem; }
.money input { flex: 1; min-width: 0; font: 600 1.125rem var(--font); color: var(--ink); background: none; border: 0; outline: none; font-variant-numeric: tabular-nums; }
.cfield select { font: 600 1rem var(--font); color: var(--ink); background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a9a198' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid var(--line-dark); border-radius: var(--r-sm); min-height: 52px; padding: 0 36px 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.cfield select:focus-visible { outline: 2px solid var(--gold); }
.cfield input[type="range"] { width: 100%; accent-color: var(--gold); height: 28px; }
.calc-out { background: var(--bg-2); border-radius: var(--r-md); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.calc-main { display: grid; gap: 4px; }
.calc-main strong { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 600; line-height: 1.05; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.calc-main b { color: var(--ink); font-weight: 600; }
.calc-out .kv div { border-bottom-color: var(--line-dark); }
.calc-out .kv dt { color: var(--muted); }
.calc-out .kv dd { font-variant-numeric: tabular-nums; }
.calc-warn { background: rgba(200,164,106,.14); color: var(--gold-2); border-radius: var(--r-sm); padding: 12px 14px; font-size: 0.875rem; }
.calc-note { font-size: 0.8125rem; color: var(--muted); }
.calc-out .btn { justify-self: start; }

/* Documentos */
.docs-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: d; }
.docs-list li { background: var(--sheet-2); border-radius: var(--r-md); padding: 20px; display: grid; gap: 8px; align-content: start; }
.docs-list li::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 6px; }
.docs-list b { font-weight: 600; line-height: 1.3; }
.docs-list span { color: var(--sheet-muted); font-size: 0.875rem; }

/* Sobre */
.about-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.num { background: var(--sheet-ink); color: var(--ink); border-radius: var(--r-md); padding: clamp(24px, 3vw, 36px); display: grid; gap: 6px; }
.num strong { font-size: clamp(3rem, 6vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--gold-2); }
.num span { color: #ddd7cf; font-size: 1.0625rem; }
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.place-text { display: grid; gap: 16px; }
.place-text h2 { font-size: var(--t-h2); }
.place-addr { font-size: 1.375rem; font-weight: 600; line-height: 1.35; }
.place-text > p:not(.place-addr) { color: var(--sheet-muted); }
.place-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

@media (max-width: 1024px) {
  .form-block, .calc-grid, .place { grid-template-columns: 1fr; }
  .docs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sheet-form { grid-template-columns: 1fr; }
  .docs-list, .about-numbers { grid-template-columns: 1fr; }
}
.calc .label { color: var(--muted); }
.form-block > *, .calc-grid > *, .place > * { min-width: 0; }
@media (max-width: 640px) { .form-block { padding: 20px 16px; } .sheet-form { padding: 16px; } }
.calc-offer { display: grid; gap: 4px; border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; }
.calc-offer strong { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.calc-offer span { font-size: 0.875rem; color: var(--muted); }

/* Página do imóvel: vídeo e plantas */
.pd-video, .pd-plans { margin-top: 16px; }
.video-frame { border-radius: var(--r-md); overflow: hidden; background: var(--sheet-ink); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.plans-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.plan-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-tab { display: grid; gap: 2px; text-align: left; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: transparent; color: var(--sheet-ink); font: inherit; cursor: pointer; transition: background-color .2s, border-color .2s; }
.plan-tab b { font-weight: 600; }
.plan-tab span { font-size: var(--t-small); color: var(--sheet-muted); }
.plan-tab:hover { background: var(--sheet-2); }
.plan-tab[aria-pressed="true"] { background: var(--sheet-ink); border-color: var(--sheet-ink); color: var(--sheet); }
.plan-tab[aria-pressed="true"] span { color: #cfc8bf; }
.plan-one { color: var(--sheet-muted); }
.plan-one b { color: var(--sheet-ink); }
.plan-stage { position: relative; display: grid; }
.plan-img { grid-area: 1 / 1; margin: 0; display: grid; gap: 12px; justify-items: start; transition: opacity .4s var(--ease); }
.plan-img.off { opacity: 0; visibility: hidden; }
.plan-img img { width: 100%; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.chip-sold { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.notfound { display: grid; gap: 16px; justify-items: start; margin-top: 24px; }
.notfound h1 { font-size: var(--t-h2); }
.notfound p { color: var(--sheet-muted); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.footer-staff { color: var(--muted); text-decoration: none; opacity: .6; transition: opacity .2s; }
.footer-staff:hover, .footer-staff:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
