:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #5b5b5b;
  --ink-faint: #999999;
  --line: #e6e6e3;
  --accent: #1a8062;
  --accent-soft: #e8f3ee;
  --accent-deep: #0f5e47;
  --gold: #d99544;
  --gold-soft: #fbf2e3;
  --gold-deep: #b6671c;
  --warn: #b6671c;
  --warn-soft: #fbf2e3;
  --whatsapp: #25d366;
  --danger: #d64545;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 6px 24px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.45; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===================== HEADER ===================== */
header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
header.site .container { display: flex; align-items: center; gap: 32px; min-height: 64px; }
.logo a { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; display: block; }
@media (max-width: 900px) { .logo img { height: 32px; } }
nav.top { display: flex; gap: 24px; font-size: 14px; }
nav.top a { color: var(--ink-soft); padding: 6px 2px; border-bottom: 2px solid transparent; }
nav.top a.active, nav.top a:hover { color: var(--ink); border-color: var(--accent); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-btn {
  position: relative;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-soft);
}
.icon-btn:hover { color: var(--ink); border-color: var(--ink-soft); }
.icon-btn .badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--danger); color: white;
  border-radius: 999px; font-size: 10px; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  font-weight: 600;
}

.header-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--whatsapp); color: white;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.header-wa:hover { background: #1eb558; text-decoration: none; color: white; }
.header-wa svg { flex-shrink: 0; }
@media (max-width: 700px) {
  .header-wa { padding: 8px; }
  .header-wa-text { display: none; }
}

/* ===================== HERO ===================== */
.hero { padding: 56px 0 32px; text-align: left; }
.hero .eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.hero h1 { font-size: 38px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 8px; line-height: 1.1; }
.hero p { color: var(--ink-soft); margin: 0 0 28px; font-size: 17px; max-width: 560px; }

/* ===================== FILTROS ===================== */
.filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.filters-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.filters .field label { display: block; font-size: 11px; color: var(--ink-soft); margin-bottom: 4px; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 600; }
.filters input, .filters select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafaf8;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
}
.filters input:focus, .filters select:focus { outline: none; border-color: var(--accent); background: white; }
.filters .field-search { position: relative; }
.filters .field-search input { padding-left: 36px; }
.filters .field-search .ico-search {
  position: absolute; left: 11px; bottom: 11px;
  width: 16px; height: 16px; color: var(--ink-faint);
}
.filters button.primary {
  background: var(--ink); color: white; border: 0; border-radius: 8px;
  padding: 10px 22px; font-size: 14px; font-weight: 600; cursor: pointer; height: 38px;
}
.filters button.primary:hover { background: #000; }
.filters-advanced {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; padding-top: 14px; margin-top: 14px;
  border-top: 1px dashed var(--line);
}
.filters-advanced.hidden { display: none; }

.filters-toggle {
  background: none; border: 0; color: var(--accent); font-size: 13px;
  cursor: pointer; padding: 8px 0 0; font-family: inherit; font-weight: 500;
}
.filters-toggle:hover { text-decoration: underline; }

/* Chip de filtros ativos */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.active-chip {
  background: var(--accent-soft); color: var(--accent);
  padding: 5px 8px 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.active-chip button {
  background: none; border: 0; color: var(--accent);
  cursor: pointer; padding: 0; font-size: 14px; line-height: 1;
  width: 16px; height: 16px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
}
.active-chip button:hover { background: rgba(14,124,90,.15); }

/* ===================== RESULTS META ===================== */
.results-meta {
  padding: 28px 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.results-meta .count { color: var(--ink-soft); font-size: 14px; }
.results-meta .count b { color: var(--ink); }
.sort-control { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.sort-control select { border: 1px solid var(--line); border-radius: 8px; padding: 6px 28px 6px 10px; background: white; font-family: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }

/* ===================== GRID DE CARDS ===================== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; padding-bottom: 60px; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .card-link { color: inherit; display: block; }
.card .thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background-image:
    var(--photo, none),
    linear-gradient(135deg, var(--accent-soft), #d8ebe0);
  background-size: contain, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.95); color: var(--ink);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; backdrop-filter: blur(4px);
}
.tag.warn { background: var(--gold-soft); color: var(--gold-deep); }
.tag.dest { background: var(--gold); color: white; }
.tag.live { background: var(--accent); color: white; display: inline-flex; align-items: center; gap: 6px; }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: white;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.6s infinite; display: inline-block;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.95);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: transform .15s ease;
  box-shadow: var(--shadow-sm);
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.is-fav { color: var(--danger); }
.fav-btn.is-fav svg { fill: currentColor; }

.card .body { padding: 14px 16px 8px; }
.card .ref { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.card .title { font-size: 15px; font-weight: 600; margin: 4px 0 8px; line-height: 1.3; min-height: 38px; }
.card .loc { color: var(--ink-soft); font-size: 13px; margin-bottom: 12px; display: flex; align-items: center; gap: 4px; }
.card .specs { display: flex; gap: 14px; font-size: 13px; color: var(--ink-soft); padding-top: 12px; border-top: 1px solid var(--line); }
.card .specs span { display: inline-flex; align-items: center; gap: 4px; }
.card .specs span b { color: var(--ink); font-weight: 600; }

.card .price {
  padding: 12px 16px;
  background: #fafaf8;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 6px;
}
.card .price small { font-weight: 400; color: var(--ink-soft); font-size: 12px; }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.empty h3 { color: var(--ink); margin: 0 0 8px; }

/* skeleton loader */
.skeleton { background: linear-gradient(90deg, #eee 25%, #f5f5f3 50%, #eee 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }

/* ===================== DETAIL PAGE ===================== */
.detail { padding: 28px 0 100px; }
.back { color: var(--ink-soft); font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 12px 0 6px; }
.detail-header h1 { font-size: 28px; margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
.detail .addr { color: var(--ink-soft); margin: 4px 0 24px; font-size: 15px; }
.detail-header-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Carrossel */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16/9; max-height: 520px; }
.carousel .track { display: flex; height: 100%; transition: transform .35s ease; }
.carousel .slide {
  min-width: 100%; height: 100%;
  background-image:
    var(--photo, none),
    linear-gradient(135deg, #1a1a1a, #2a2a2a);
  background-size: contain, cover;
  background-position: center;
  background-repeat: no-repeat;
}
.carousel .nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,.92); border: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 18px; color: var(--ink); box-shadow: var(--shadow);
}
.carousel .nav.prev { left: 14px; }
.carousel .nav.next { right: 14px; }
.carousel .dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.carousel .dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.5); border: 0; cursor: pointer; padding: 0; }
.carousel .dots button.active { background: white; width: 22px; }
.carousel .counter { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.55); color: white; font-size: 12px; padding: 4px 10px; border-radius: 999px; }

/* Detail cols */
.detail-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; margin-top: 32px; align-items: start; }
.detail-cols h2 { font-size: 19px; margin: 0 0 14px; letter-spacing: -0.01em; }

.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 32px; }
.spec-pill {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 12px; text-align: center;
}
.spec-pill svg { color: var(--ink-soft); margin-bottom: 6px; }
.spec-pill b { display: block; font-size: 20px; font-weight: 700; line-height: 1; }
.spec-pill small { color: var(--ink-soft); font-size: 12px; }

.detail .desc { color: var(--ink); line-height: 1.65; margin: 0 0 32px; font-size: 15px; }
.detail .desc.rich h3 { font-size: 17px; margin: 0 0 12px; }
.detail .desc.rich p { margin: 0 0 12px; }
.detail .desc.rich ul { margin: 0 0 12px; padding-left: 20px; }
.detail .desc.rich li { margin-bottom: 4px; }

.live-banner {
  background: var(--accent-soft); border: 1px solid #c7e5d3;
  color: var(--accent-deep); padding: 12px 16px; border-radius: 10px;
  margin: 0 0 24px; font-size: 14px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.live-banner .live-dot { background: var(--accent); box-shadow: 0 0 0 0 rgba(26,128,98,.5); }
.live-banner a { color: var(--accent-deep); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { background: var(--accent-soft); color: var(--accent); padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.chip svg { flex-shrink: 0; }

.map-placeholder {
  background: linear-gradient(135deg, #eef2ee 0%, #e8efe6 100%);
  border: 1px dashed var(--line); border-radius: 12px;
  padding: 40px 24px; text-align: center; color: var(--ink-soft);
  font-size: 14px;
}
.map-placeholder svg { color: var(--accent); opacity: .55; margin-bottom: 12px; }

.map-embed {
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: var(--surface);
}
.map-embed iframe { display: block; }
.map-embed .map-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 13px; font-weight: 500;
  border-top: 1px solid var(--line); box-sizing: border-box;
  color: var(--accent); text-decoration: none;
}
.map-embed .map-link:hover { background: var(--accent-soft); text-decoration: none; }
.map-embed--approx iframe { filter: saturate(.85); }

/* Empty state genérico — usado quando nem endereço nem cidade vêm da API */
.empty-state {
  text-align: center;
  padding: 40px 28px;
  background: linear-gradient(135deg, #fafaf8 0%, #f3f3ef 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.empty-state-icon {
  width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.empty-state h3 { margin: 0 0 8px; font-size: 17px; }
.empty-state p {
  color: var(--ink-soft); font-size: 14px;
  max-width: 360px; margin: 0 auto 20px;
  line-height: 1.5;
}

/* Sidebar de contato */
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: sticky; top: 88px; box-shadow: var(--shadow);
}
.contact-card .price-big { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.contact-card .price-big small { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.contact-card .price-sub { color: var(--ink-soft); font-size: 13px; margin: 6px 0 0; }
.contact-card hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.contact-card .broker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.broker-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; flex-shrink: 0;
}
.broker-name { font-weight: 600; font-size: 14px; }
.broker-role { color: var(--ink-soft); font-size: 12px; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: 0; cursor: pointer;
  font-family: inherit; transition: background .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-whatsapp:hover { background: #1eb558; }
.btn-secondary { background: white; color: var(--ink); border: 1px solid var(--line); margin-top: 10px; }
.btn-secondary:hover { background: #fafaf8; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fafaf8; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-deep); text-decoration: none; }
a.btn-primary, a.btn-primary:hover { text-decoration: none; }
.contact-card .btn-primary { margin-top: 10px; }

.contact-card .note {
  color: var(--ink-faint); font-size: 11px;
  margin: 14px 0 0; text-align: center;
}

/* Similares */
.similares { margin-top: 56px; }
.similares h2 { margin-bottom: 18px; }

/* ===================== MODAL ===================== */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center; z-index: 100;
  animation: fadeIn .15s ease;
}
.modal {
  background: var(--surface); border-radius: var(--radius);
  width: 100%; max-width: 480px; box-shadow: var(--shadow-lg);
  padding: 28px; animation: pop .2s ease;
  max-height: 92vh; overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { transform: scale(.96); opacity: 0 } to { transform: scale(1); opacity: 1 } }

.modal .x { float: right; background: none; border: 0; cursor: pointer; color: var(--ink-soft); font-size: 22px; line-height: 1; padding: 0; }
.modal h2 { margin: 0 0 6px; font-size: 20px; }
.modal .sub { color: var(--ink-soft); font-size: 14px; margin: 0 0 22px; }
.modal label { display: block; font-size: 12px; color: var(--ink-soft); margin: 14px 0 4px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.modal input, .modal textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--ink);
}
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--accent); }
.modal textarea { resize: vertical; min-height: 80px; }
.modal .btn { margin-top: 22px; background: var(--ink); color: white; }
.modal .btn:hover { background: #000; }
.modal .ok { text-align: center; padding: 24px 0; }
.modal .ok svg { color: var(--accent); margin-bottom: 12px; }
.modal .ok h3 { margin: 0 0 6px; }
.modal .ok p { color: var(--ink-soft); margin: 0; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: white; padding: 12px 20px;
  border-radius: 999px; font-size: 14px; z-index: 200;
  box-shadow: var(--shadow-lg); animation: pop .2s ease;
}

/* ===================== FOOTER ===================== */
/* ===================== Seções Sobre / Contato ===================== */
.info-section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}
.info-section .eyebrow {
  color: var(--accent); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.info-section h2 {
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 16px;
  line-height: 1.2;
}
.info-section p {
  color: var(--ink-soft); font-size: 16px;
  line-height: 1.6; margin: 0 0 16px;
  max-width: 620px;
}
.info-cols {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: start;
}
.info-stats {
  display: grid; gap: 12px;
}
.info-stats .stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
}
.info-stats .stat b {
  display: block; font-size: 15px; font-weight: 700;
  color: var(--accent); line-height: 1.3; margin-bottom: 4px;
}
.info-stats .stat small {
  display: block; color: var(--ink-soft); font-size: 13px; line-height: 1.5;
}

.contato-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 24px;
}
.contato-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
a.contato-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.contato-card b { display: block; font-size: 14px; margin-bottom: 2px; }
.contato-card span { color: var(--ink-soft); font-size: 13px; }
.contato-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #dcecd6; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

@media (max-width: 980px) {
  .contato-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .info-section { padding: 48px 0; }
  .info-section h2 { font-size: 22px; }
  .info-cols { grid-template-columns: 1fr; gap: 32px; }
  .contato-grid { grid-template-columns: 1fr; }
}

footer { padding: 32px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; text-align: center; background: var(--surface); margin-top: 0; }
footer a { color: var(--ink-soft); }
footer .footer-note { font-size: 11px; opacity: .7; margin-top: 6px; }

/* ===================== PRÉ-CADASTRO ===================== */
.precad { max-width: 720px; padding-top: 24px; padding-bottom: 64px; }
.precad-header { margin: 8px 0 24px; }
.precad-header h1 { margin: 0 0 8px; font-size: 28px; }
.precad-sub { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin: 0; }
.precad-sub em { color: var(--ink-faint); font-style: italic; font-size: 13px; }

.precad-imovel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: var(--accent-soft); border: 1px solid #c9e2d6;
  border-radius: var(--radius); padding: 14px 16px; margin: 0 0 24px;
}
.precad-imovel-label {
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 700;
}
.precad-imovel-titulo { font-weight: 600; color: var(--ink); }
.precad-imovel-ref {
  color: var(--accent-deep); background: white;
  padding: 2px 8px; border-radius: 6px; font-size: 13px; font-weight: 600;
}

.precad-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
}
.precad-hp { position: absolute; left: -9999px; }
.precad-field { margin-bottom: 18px; }
.precad-field label {
  display: block; font-size: 13px; color: var(--ink);
  font-weight: 600; margin-bottom: 6px;
}
.precad-field label .req { color: var(--danger); }
.precad-field label .precad-opt { color: var(--ink-faint); font-weight: 400; font-size: 12px; }
.precad-field input,
.precad-field select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: white; font-family: inherit;
  font-size: 15px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.precad-field input:focus,
.precad-field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,128,98,0.12);
}
.precad-field input.is-locked {
  background: var(--accent-soft); color: var(--accent-deep);
  font-weight: 600; cursor: not-allowed;
}
.precad-hint {
  display: block; font-size: 12px; color: var(--ink-faint); margin-top: 4px;
}
.precad-form .btn-primary { margin-top: 8px; }
.precad-foot {
  text-align: center; color: var(--ink-faint); font-size: 12px;
  margin: 14px 0 0;
}

/* ===================== OBRIGADO ===================== */
.obrigado { max-width: 560px; padding-top: 56px; padding-bottom: 64px; text-align: center; }
.obrigado-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow);
}
.obrigado-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-deep);
  margin-bottom: 16px;
}
.obrigado-card h1 { margin: 0 0 12px; font-size: 26px; color: var(--ink); }
.obrigado-card p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0 0 28px; }
.obrigado-card .btn-primary { max-width: 280px; margin: 0 auto; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero h1 { font-size: 28px; }
  .filters-row { grid-template-columns: 1fr 1fr; }
  .filters-row > .field-search { grid-column: 1 / -1; }
  .filters-row > button.primary { grid-column: 1 / -1; }
  .filters-advanced { grid-template-columns: 1fr 1fr; }
  .detail-cols { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  nav.top { display: none; }
  .container { padding: 0 16px; }
  .detail-header { flex-direction: column; }
  .carousel { aspect-ratio: 4/3; }
  .precad-form { padding: 20px; }
  .precad-imovel { padding: 12px 14px; }
  .obrigado-card { padding: 32px 20px; }
}
