
/* =========================================================
   TIMOB Site Template 01 - Premium Sólido
   Base estática pensada para integração futura com o CRM.
   Altere as cores principais em :root ou via painel depois.
   ========================================================= */
:root {
  --brand-primary: #0D5E55;
  --brand-primary-dark: #083F39;
  --brand-primary-soft: #E9F4F2;
  --brand-accent: #C99A42;
  --brand-accent-dark: #A97B23;
  --ink: #17211F;
  --muted: #66736F;
  --line: #E2E8E6;
  --surface: #FFFFFF;
  --surface-soft: #F5F8F7;
  --surface-strong: #EDF3F1;
  --dark: #071D1A;
  --danger: #B94242;
  --success: #128767;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 10px 25px rgba(7, 29, 26, .08);
  --shadow-md: 0 22px 55px rgba(7, 29, 26, .13);
  --shadow-lg: 0 35px 90px rgba(7, 29, 26, .22);
  --container: 1180px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-title: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { background: var(--dark); color: #fff; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 800;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 999px; }
.title-xl, .title-lg, .title-md { margin: 0; line-height: 1.03; letter-spacing: -.035em; color: var(--ink); }
.title-xl { font-size: clamp(42px, 6vw, 78px); }
.title-lg { font-size: clamp(32px, 4.5vw, 52px); }
.title-md { font-size: clamp(24px, 3vw, 34px); }
.section-dark .title-xl, .section-dark .title-lg, .section-dark .title-md { color: #fff; }
.lead { color: var(--muted); font-size: 18px; max-width: 720px; margin: 18px 0 0; }
.section-dark .lead { color: rgba(255,255,255,.72); }
.kicker { color: var(--brand-accent); font-weight: 800; }

/* Header */
.topbar {
  background: var(--brand-primary-dark);
  color: rgba(255,255,255,.9);
  font-size: 13px;
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar-list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-link { display: inline-flex; align-items: center; gap: 8px; opacity: .95; }
.topbar-link:hover { color: #fff; }
.icon-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-accent); display: inline-block;
}
.socials { display: flex; align-items: center; gap: 9px; }
.socials a {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); font-size: 12px; transition: .2s;
}
.socials a:hover { background: var(--brand-accent); color: var(--dark); }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,230,.75);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 160px; }
.logo img { max-height: 54px; width: auto; }
.logo-fallback {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: var(--brand-primary); font-weight: 900;
}
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 12px 14px; border-radius: 999px; font-weight: 700; color: #20312E; font-size: 14px; transition: .2s;
}
.nav a:hover, .nav a.active { color: var(--brand-primary); background: var(--brand-primary-soft); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn, .btn-outline, .btn-light, .btn-small, .btn-icon {
  border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; min-height: 48px; padding: 0 22px; font-weight: 850; transition: .2s ease;
}
.btn { background: var(--brand-primary); color: #fff; box-shadow: 0 12px 26px rgba(13,94,85,.18); }
.btn:hover { background: var(--brand-primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brand-primary); border: 1px solid var(--line); }
.btn-outline:hover { background: var(--brand-primary-soft); border-color: var(--brand-primary-soft); }
.btn-light { background: #fff; color: var(--brand-primary); }
.btn-light:hover { background: var(--brand-primary-soft); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 13px; }
.btn-icon { width: 48px; min-width: 48px; padding: 0; border: 1px solid var(--line); background: #fff; color: var(--brand-primary); }
.mobile-toggle { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 16px 20px; font-weight: 800; border-bottom: 1px solid var(--line); }

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  color: #fff;
  background: var(--dark);
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,29,26,.86), rgba(7,29,26,.55) 48%, rgba(7,29,26,.12));
  z-index: 1;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(0deg, rgba(255,255,255,1), rgba(255,255,255,0)); z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: 98px 0 170px; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; backdrop-filter: blur(12px);
}
.hero h1 { margin: 24px 0 0; color: #fff; text-wrap: balance; }
.hero p { margin: 22px 0 0; max-width: 660px; color: rgba(255,255,255,.82); font-size: 19px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-search-wrap { position: relative; z-index: 5; margin-top: -120px; }
.search-card {
  background: var(--surface); border: 1px solid rgba(226,232,230,.9); border-radius: var(--radius-xl);
  padding: 22px; box-shadow: var(--shadow-lg);
}
.search-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.search-tab {
  border: 1px solid var(--line); background: var(--surface-soft); color: var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 850;
}
.search-tab.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.search-grid { display: grid; grid-template-columns: 1.25fr .95fr .95fr .85fr auto; gap: 12px; align-items: end; }
.field label { display: block; color: #45524F; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  color: var(--ink); padding: 0 15px; outline: none; transition: .18s;
}
.field textarea { min-height: 140px; resize: vertical; padding-top: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(13,94,85,.1); }
.advanced-search { display: none; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.advanced-search.open { display: grid; }
.search-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.link-button { border: 0; background: none; padding: 0; color: var(--brand-primary); font-weight: 850; }

/* Common blocks */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-number { font-size: 32px; font-weight: 950; color: var(--brand-primary); letter-spacing: -.04em; }
.stat-label { color: var(--muted); font-weight: 700; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 34px; }
.section-head > div:first-child { max-width: 740px; }

/* Property cards */
.properties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.property-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: .25s ease; position: relative;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.property-media { position: relative; height: 248px; overflow: hidden; background: var(--surface-strong); }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.property-card:hover .property-media img { transform: scale(1.045); }
.property-tag-row { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; z-index: 1; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border-radius: 999px; color: #fff; background: var(--brand-primary); font-size: 12px; font-weight: 900; }
.tag.accent { background: var(--brand-accent); color: var(--dark); }
.tag.light { background: rgba(255,255,255,.92); color: var(--brand-primary); }
.property-body { padding: 20px; }
.property-code { color: var(--brand-primary); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 950; }
.property-title { margin: 7px 0 7px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.property-location { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.property-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { color: var(--muted); font-size: 12px; font-weight: 800; }
.feature strong { display: block; color: var(--ink); font-size: 15px; }
.property-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.price { font-size: 22px; font-weight: 950; color: var(--brand-primary); letter-spacing: -.04em; }
.price small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.property-list { display: grid; gap: 18px; }
.property-list .property-card { display: grid; grid-template-columns: 330px 1fr; align-items: stretch; }
.property-list .property-media { height: 100%; min-height: 250px; }
.property-list .property-body { display: grid; align-content: center; }

/* Neighborhoods */
.neighborhood-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 20px; }
.neighborhood-card { position: relative; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; box-shadow: var(--shadow-sm); }
.neighborhood-card.small { min-height: 150px; }
.neighborhood-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.neighborhood-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,29,26,.78), rgba(7,29,26,.08)); }
.neighborhood-content { position: absolute; inset: auto 20px 20px 20px; z-index: 1; }
.neighborhood-content h3 { margin: 0 0 4px; font-size: 24px; }
.neighborhood-content span { color: rgba(255,255,255,.82); font-weight: 700; }
.neighborhood-stack { display: grid; gap: 20px; }

/* About */
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 54px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; min-height: 520px; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow-md); }
.about-stamp {
  position: absolute; right: -18px; bottom: 34px; width: 180px; min-height: 180px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: var(--brand-primary); color: #fff; border: 10px solid #fff; box-shadow: var(--shadow-md); font-weight: 900;
}
.about-stamp strong { display: block; font-size: 42px; line-height: 1; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: start; color: #3E4B48; font-weight: 750; }
.check-list li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-primary-soft); color: var(--brand-primary); flex: 0 0 auto; font-weight: 950; }

/* CTA */
.cta-box { border-radius: 34px; background: var(--brand-primary); color: #fff; padding: 52px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; overflow: hidden; position: relative; }
.cta-box::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.09); right: -120px; top: -120px; }
.cta-box .title-lg, .cta-box p { color: #fff; position: relative; }
.cta-box p { color: rgba(255,255,255,.76); margin: 14px 0 0; max-width: 720px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* Listings page */
.page-hero { position: relative; min-height: 340px; background: var(--dark); color: #fff; display: grid; align-items: center; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(7,29,26,.68); }
.page-hero .container { position: relative; z-index: 1; padding: 70px 0; }
.breadcrumb { display: flex; gap: 9px; color: rgba(255,255,255,.74); font-weight: 750; font-size: 14px; margin-bottom: 16px; }
.listing-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); position: sticky; top: 105px; }
.filter-panel h3 { margin: 0 0 14px; font-size: 20px; }
.filter-panel .field { margin-bottom: 14px; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface-soft); }
.view-toggle button { border: 0; background: transparent; color: var(--muted); padding: 10px 14px; font-weight: 850; }
.view-toggle button.active { background: var(--brand-primary); color: #fff; }
.result-count { color: var(--muted); font-weight: 800; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pagination a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-weight: 850; }
.pagination a.active, .pagination a:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* Detail */
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 30px; align-items: start; }
.detail-main { min-width: 0; }
.detail-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 24px; }
.detail-price { text-align: right; }
.detail-price .price { font-size: 32px; }
.gallery { display: grid; grid-template-columns: 1fr 210px; gap: 14px; margin-bottom: 32px; }
.gallery-main { height: 560px; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--surface-strong); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; left: 16px; bottom: 16px; background: rgba(7,29,26,.78); color: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 850; }
.gallery-thumbs { display: grid; gap: 14px; }
.gallery-thumb { border: 0; padding: 0; border-radius: 16px; overflow: hidden; height: 128px; position: relative; background: var(--surface-strong); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { outline: 4px solid rgba(13,94,85,.22); }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.content-card h2, .content-card h3 { margin: 0 0 16px; line-height: 1.2; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.info-box { background: var(--surface-soft); border-radius: 16px; padding: 16px; color: var(--muted); font-weight: 800; }
.info-box strong { display: block; color: var(--ink); font-size: 22px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.feature-list li { background: var(--surface-soft); border-radius: 14px; padding: 12px 14px; font-weight: 750; color: #394844; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); position: sticky; top: 105px; }
.agent { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.agent img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.agent strong { display: block; }
.agent span { color: var(--muted); font-size: 14px; }
.contact-form { display: grid; gap: 12px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-info { background: var(--brand-primary); color: #fff; border-radius: 30px; padding: 34px; position: relative; overflow: hidden; }
.contact-info::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); right: -100px; bottom: -100px; }
.contact-info h2 { margin: 0 0 16px; font-size: 34px; line-height: 1.1; }
.contact-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); position: relative; z-index: 1; }
.contact-item span { color: rgba(255,255,255,.74); display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-item strong { display: block; font-size: 17px; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 34px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.map-placeholder { height: 360px; border-radius: 30px; background: var(--surface-strong); display: grid; place-items: center; color: var(--muted); font-weight: 850; margin-top: 28px; border: 1px solid var(--line); text-align: center; padding: 30px; }

/* Footer */
.footer { background: #071D1A; color: #fff; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr .9fr; gap: 36px; }
.footer-logo img { max-height: 64px; width: auto; margin-bottom: 18px; }
.footer p { color: rgba(255,255,255,.68); margin: 0; }
.footer h3 { margin: 0 0 18px; font-size: 17px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.58); font-size: 14px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4,16,15,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 18px; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 24px;
}
.lightbox-close { right: 26px; top: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) {
  .search-grid { grid-template-columns: repeat(2, 1fr); }
  .search-grid .btn { grid-column: 1 / -1; }
  .advanced-search { grid-template-columns: repeat(2, 1fr); }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-layout, .detail-layout, .contact-grid { grid-template-columns: 1fr; }
  .filter-panel, .sidebar-card { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .gallery-thumb { height: 100px; }
}
@media (max-width: 920px) {
  .nav, .header-actions .btn { display: none; }
  .mobile-toggle { display: inline-flex; }
  .topbar-inner { justify-content: center; }
  .topbar-list { justify-content: center; }
  .topbar .socials { display: none; }
  .hero { min-height: 640px; }
  .hero-content { padding: 76px 0 145px; }
  .stats-grid, .footer-grid, .about-grid, .neighborhood-grid { grid-template-columns: 1fr; }
  .neighborhood-stack { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 34px; }
  .section-head { display: block; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 64px 0; }
  .header-inner { height: 72px; }
  .logo img { max-height: 46px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 17px; }
  .search-card { padding: 16px; border-radius: 22px; }
  .search-grid, .advanced-search, .form-grid, .check-list, .info-grid, .feature-list { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .property-list .property-card { grid-template-columns: 1fr; }
  .property-list .property-media { height: 240px; }
  .property-features { grid-template-columns: repeat(2, 1fr); }
  .gallery-main { height: 360px; }
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .detail-head { display: block; }
  .detail-price { text-align: left; margin-top: 18px; }
  .neighborhood-stack { grid-template-columns: 1fr; }
  .about-photo img { min-height: 360px; }
  .about-stamp { right: 14px; bottom: 14px; width: 136px; min-height: 136px; border-width: 7px; }
  .about-stamp strong { font-size: 32px; }
  .footer-bottom { display: block; }
}

/* =========================================================
   Ajustes solicitados - versão refinada
   ========================================================= */
.hero {
  min-height: 610px;
}
.hero-content {
  max-width: 980px;
  padding: 118px 0 160px;
}
.hero-badge,
.hero-actions {
  display: none !important;
}
.hero h1 {
  max-width: 960px;
  margin-top: 0;
  font-family: var(--font-body);
  font-size: clamp(44px, 5.1vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero p {
  max-width: 760px;
  font-size: 20px;
}

.properties-grid {
  align-items: start;
}
.properties-grid .property-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.properties-grid .property-media {
  height: 226px !important;
  min-height: 0 !important;
  flex: 0 0 auto;
}
.properties-grid .property-body {
  flex: 1 1 auto;
}
.property-card {
  border-radius: 24px;
}
.property-media {
  border-radius: 0;
}
.property-title {
  min-height: 52px;
}
.property-bottom {
  align-items: end;
}

.property-detail-section {
  padding-top: 54px;
}
.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 800;
}
.detail-breadcrumb a:hover {
  color: var(--brand-primary);
}
.detail-breadcrumb strong {
  color: var(--brand-primary);
}
.detail-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  padding: 30px;
  margin-bottom: 28px;
}
.detail-intro-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.detail-meta-row span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  padding: 0 13px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.detail-title {
  margin: 0;
  max-width: 780px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.detail-intro-content p {
  max-width: 740px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.detail-price-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border-radius: 24px;
  background: var(--brand-primary);
  color: #fff;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(13,94,85,.18);
}
.detail-price-card .price-label {
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.detail-price-card strong {
  display: block;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.045em;
}
.detail-price-card small {
  color: rgba(255,255,255,.72);
  font-weight: 700;
}
.detail-price-card .btn {
  margin-top: 10px;
  background: #fff;
  color: var(--brand-primary);
  box-shadow: none;
}
.detail-price-card .btn:hover {
  background: var(--brand-primary-soft);
}
.detail-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}
.gallery {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.gallery-main {
  height: 500px;
  border-radius: 22px;
  border: 0;
  cursor: zoom-in;
}
.gallery-thumbs {
  align-content: stretch;
}
.gallery-thumb {
  height: 114px;
  border-radius: 18px;
  cursor: pointer;
}
.gallery-thumb.active {
  outline: 4px solid rgba(13,94,85,.26);
}
.content-card {
  border-radius: 28px;
  padding: 30px;
}
.sidebar-card {
  border-radius: 28px;
}

@media (max-width: 1100px) {
  .detail-intro-card {
    grid-template-columns: 1fr;
  }
  .detail-price-card {
    max-width: 420px;
  }
}
@media (max-width: 720px) {
  .hero {
    min-height: 560px;
  }
  .hero-content {
    padding: 78px 0 140px;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 1.02;
  }
  .hero p {
    font-size: 17px;
  }
  .property-detail-section {
    padding-top: 32px;
  }
  .detail-intro-card {
    padding: 20px;
    border-radius: 24px;
  }
  .detail-title {
    font-size: 34px;
  }
  .detail-price-card {
    padding: 20px;
  }
  .detail-price-card strong {
    font-size: 30px;
  }
  .gallery {
    padding: 10px;
    border-radius: 24px;
  }
  .gallery-main {
    height: 340px;
  }
  .gallery-thumb {
    height: 90px;
  }
  .properties-grid .property-media {
    height: 220px !important;
  }
}

/* =========================================================
   Ajustes solicitados - versão V4
   - correção mobile detalhe
   - hero da listagem menor e texto branco
   - grid da listagem em 2 colunas
   - lista horizontal mais compacta
   ========================================================= */
.page-hero {
  min-height: 250px;
}
.page-hero img {
  opacity: .52;
}
.page-hero::after {
  background: rgba(7,29,26,.72);
}
.page-hero .container {
  padding: 48px 0;
}
.page-hero .title-xl {
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(34px, 4.3vw, 56px);
  letter-spacing: -.05em;
  line-height: 1;
}
.page-hero .lead {
  color: rgba(255,255,255,.82);
  font-size: 17px;
  max-width: 620px;
}
.page-hero .breadcrumb {
  color: rgba(255,255,255,.88);
}

.listing-layout .properties-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}
.listing-layout .properties-grid .property-card {
  height: 100%;
}
.listing-layout .properties-grid .property-media {
  height: 218px !important;
}
.listing-layout .properties-grid .property-body {
  display: flex;
  flex-direction: column;
}
.listing-layout .properties-grid .property-title {
  min-height: 58px;
}
.listing-layout .properties-grid .property-bottom {
  margin-top: auto;
}

.property-list {
  gap: 16px;
}
.property-list .property-card {
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: 0;
  border-radius: 24px;
}
.property-list .property-media {
  height: auto !important;
  min-height: 0 !important;
}
.property-list .property-media img {
  height: 100%;
  min-height: 220px;
}
.property-list .property-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.property-list .property-title {
  min-height: 0;
  font-size: 20px;
  line-height: 1.22;
  margin: 6px 0 10px;
}
.property-list .property-location {
  margin-bottom: 10px;
}
.property-list .property-features {
  padding: 12px 0;
}
.property-list .property-bottom {
  margin-top: 12px;
}
.property-list .price {
  font-size: 22px;
}
.property-list .btn-small {
  min-height: 38px;
}

.gallery-main {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
}
.sidebar-card,
.content-card,
.detail-intro-card,
.gallery {
  max-width: 100%;
}
.contact-form .btn,
.contact-form .btn-outline {
  width: 100%;
}

@media (max-width: 1100px) {
  .detail-layout {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .sidebar-card {
    position: static !important;
    width: 100%;
  }
  .gallery {
    grid-template-columns: 1fr !important;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .gallery-thumb {
    height: 96px !important;
  }
}

@media (max-width: 920px) {
  .page-hero {
    min-height: 220px;
  }
  .page-hero .container {
    padding: 40px 0;
  }
  .listing-layout .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-hero {
    min-height: 190px;
  }
  .page-hero .container {
    padding: 34px 0;
  }
  .page-hero .title-xl {
    font-size: 34px;
  }
  .page-hero .lead {
    font-size: 15px;
    margin-top: 10px;
  }
  .listing-toolbar {
    flex-direction: row;
    align-items: center;
    padding: 12px;
  }
  .listing-layout .properties-grid {
    grid-template-columns: 1fr;
  }
  .listing-layout .properties-grid .property-media {
    height: 210px !important;
  }
  .listing-layout .properties-grid .property-title {
    min-height: 0;
  }
  .property-list .property-card {
    grid-template-columns: 1fr !important;
  }
  .property-list .property-media {
    height: 210px !important;
  }
  .property-list .property-media img {
    min-height: 0;
  }
  .property-list .property-body {
    padding: 18px;
  }
  .detail-layout {
    display: block !important;
  }
  .detail-main,
  .sidebar-card {
    width: 100%;
    min-width: 0;
  }
  .detail-intro-card {
    display: block;
  }
  .detail-meta-row span {
    min-height: 28px;
    font-size: 11px;
  }
  .gallery {
    display: block !important;
    margin-bottom: 22px;
  }
  .gallery-main {
    height: 300px !important;
  }
  .gallery-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-top: 8px;
  }
  .gallery-thumb {
    height: 72px !important;
    border-radius: 14px;
  }
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .content-card {
    padding: 22px;
    border-radius: 24px;
  }
  .content-card p {
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .sidebar-card {
    margin-top: 22px;
    padding: 20px;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(100% - 24px, var(--container));
  }
  .listing-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .view-toggle {
    width: 100%;
  }
  .view-toggle button {
    flex: 1;
  }
  .gallery-main {
    height: 260px !important;
  }
  .gallery-thumb {
    height: 62px !important;
  }
  .info-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* =========================================================
   Ajustes solicitados - versão V5
   - topo/hero mais compacto na área de texto
   - hero interno ainda mais baixo
   - lista horizontal com imagem menor e card mais enxuto
   ========================================================= */
.hero {
  min-height: 610px;
}
.hero-content {
  max-width: 720px;
  padding: 72px 0 132px;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 4.65vw, 64px);
  line-height: .98;
  letter-spacing: -.06em;
}
.hero p {
  max-width: 620px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.5;
}
.hero-search-wrap {
  margin-top: -108px;
}
.search-card {
  padding: 20px;
}

.page-hero {
  min-height: 210px;
}
.page-hero .container {
  padding: 34px 0;
}
.page-hero .breadcrumb {
  margin-bottom: 10px;
}
.page-hero .title-xl {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.02;
}
.page-hero .lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.property-list {
  gap: 14px;
}
.property-list .property-card {
  grid-template-columns: 220px minmax(0, 1fr) !important;
  border-radius: 22px;
  min-height: 210px;
}
.property-list .property-media {
  height: 100% !important;
  min-height: 210px !important;
}
.property-list .property-media img {
  min-height: 210px !important;
}
.property-list .property-body {
  padding: 18px 22px;
}
.property-list .property-code {
  font-size: 11px;
}
.property-list .property-title {
  font-size: 19px;
  line-height: 1.18;
  margin: 4px 0 8px;
}
.property-list .property-location {
  font-size: 13px;
  margin-bottom: 8px;
}
.property-list .property-features {
  padding: 10px 0;
}
.property-list .feature strong {
  font-size: 14px;
}
.property-list .property-bottom {
  margin-top: 10px;
}
.property-list .price {
  font-size: 21px;
}
.property-list .price small {
  font-size: 11px;
}
.property-list .btn-small {
  min-height: 36px;
  padding: 0 14px;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 570px;
  }
  .hero-content {
    padding: 64px 0 125px;
  }
  .hero h1 {
    font-size: clamp(38px, 6vw, 58px);
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: 540px;
  }
  .hero-content {
    padding: 56px 0 116px;
  }
  .page-hero {
    min-height: 190px;
  }
  .page-hero .container {
    padding: 30px 0;
  }
  .property-list .property-card {
    grid-template-columns: 200px minmax(0, 1fr) !important;
  }
  .property-list .property-media,
  .property-list .property-media img {
    min-height: 200px !important;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 500px;
  }
  .hero-content {
    padding: 48px 0 112px;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.02;
  }
  .hero p {
    font-size: 16px;
    line-height: 1.45;
  }
  .hero-search-wrap {
    margin-top: -94px;
  }
  .page-hero {
    min-height: 170px;
  }
  .page-hero .container {
    padding: 26px 0;
  }
  .page-hero .title-xl {
    font-size: 30px;
  }
  .property-list .property-card {
    grid-template-columns: 1fr !important;
  }
  .property-list .property-media,
  .property-list .property-media img {
    min-height: 0 !important;
  }
  .property-list .property-media {
    height: 190px !important;
  }
}

@media (max-width: 460px) {
  .hero {
    min-height: 470px;
  }
  .hero-content {
    padding: 40px 0 104px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-search-wrap {
    margin-top: -84px;
  }
}

/* =========================================================
   Ajustes pontuais solicitados - versão V6 limpa
   Mantém o template V5 e apenas ajusta menu, hero e busca.
   ========================================================= */
.nav a {
  font-size: 15.5px;
  padding-left: 16px;
  padding-right: 16px;
}

.hero {
  min-height: 555px;
}
.hero-content {
  max-width: 1040px;
  padding-top: 58px;
  padding-bottom: 102px;
}
.hero h1 {
  max-width: 1040px;
  font-size: clamp(46px, 4.05vw, 66px);
  line-height: .98;
}
.hero p {
  max-width: 760px;
  margin-top: 16px;
}
.hero-search-wrap {
  margin-top: -132px;
}

.search-code-panel[hidden],
.search-grid[hidden] {
  display: none !important;
}
.search-code-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.search-card.is-code-mode .advanced-search {
  display: none !important;
}
.search-card.is-code-mode .search-footer {
  justify-content: flex-start;
}
.search-card.is-code-mode .search-footer [data-advanced-toggle] {
  display: none !important;
}

@media (max-width: 1180px) {
  .hero-content {
    max-width: 920px;
  }
  .hero h1 {
    max-width: 920px;
    font-size: clamp(42px, 5vw, 58px);
  }
  .hero-search-wrap {
    margin-top: -122px;
  }
}

@media (max-width: 920px) {
  .nav a {
    font-size: 14px;
  }
  .hero {
    min-height: 525px;
  }
  .hero-content {
    padding-top: 54px;
    padding-bottom: 112px;
  }
  .hero-search-wrap {
    margin-top: -104px;
  }
  .search-code-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 500px;
  }
  .hero-content {
    padding-top: 48px;
    padding-bottom: 112px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: 36px;
  }
  .hero-search-wrap {
    margin-top: -88px;
  }
}

/* =========================================================
   Ajuste final pontual do hero - solicitado
   Mantém o template e apenas reduz o vão entre texto e busca.
   ========================================================= */
/* =========================================================
   Ajuste final pontual do hero - solicitado
   Centraliza melhor o texto e aproxima do formulário.
   ========================================================= */
@media (min-width: 921px) {
  .hero-content {
    padding-top: 128px;
    padding-bottom: 42px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero h1,
  .hero p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-search-wrap {
    margin-top: -178px;
  }

  .search-tabs {
    justify-content: center;
  }
}

@media (min-width: 1181px) {
  .hero-content,
  .hero h1 {
    max-width: 1120px;
  }
}

/* =========================================================
   Ajuste final mobile solicitado
   Apenas hero mobile e botões da busca no mobile.
   ========================================================= */
@media (max-width: 720px) {
  .hero {
    min-height: 390px;
  }

  .hero-content {
    padding-top: 52px;
    padding-bottom: 46px;
  }

  .hero-search-wrap {
    margin-top: -92px;
  }

  .search-tabs {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 16px;
  }

  .search-tab {
    padding: 10px 13px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 382px;
  }

  .hero-content {
    padding-top: 48px;
    padding-bottom: 42px;
  }

  .hero-search-wrap {
    margin-top: -88px;
  }

  .search-card {
    padding: 14px;
  }

  .search-tabs {
    gap: 6px;
  }

  .search-tab {
    padding: 9px 10px;
    font-size: 12.5px;
  }
}


/* =========================================================
   Bloco visual de ícones - Template 01
   Mantido em CSS separado para replicar no Template 02.
   ========================================================= */
.site-icon {
  width: 1.08em;
  height: 1.08em;
  display: inline-block;
  vertical-align: -0.16em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.topbar-link .site-icon {
  width: 15px;
  height: 15px;
  color: var(--brand-accent);
}
.socials a {
  color: rgba(255,255,255,.9);
}
.socials a .site-icon {
  width: 15px;
  height: 15px;
  display: block;
}
.socials a .site-icon use,
.detail-share-link .site-icon use,
.btn .site-icon use,
.btn-outline .site-icon use,
.footer-links a .site-icon use {
  pointer-events: none;
}
.btn .site-icon,
.btn-outline .site-icon,
.btn-light .site-icon,
.btn-small .site-icon,
.search-tab .site-icon,
.link-button .site-icon,
.view-toggle .site-icon {
  width: 17px;
  height: 17px;
}
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.search-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.stat-card {
  position: relative;
  min-height: 154px;
}
.stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  border-radius: 14px;
  margin-bottom: 14px;
}
.stat-icon .site-icon {
  width: 21px;
  height: 21px;
}
.property-location {
  display: flex;
  align-items: center;
  gap: 7px;
}
.property-location .site-icon {
  width: 15px;
  height: 15px;
  color: var(--brand-primary);
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.feature .site-icon {
  width: 17px;
  height: 17px;
  color: var(--brand-primary);
  opacity: .86;
}
.icon-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-heading .site-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}
.result-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.result-count .site-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-primary);
}
.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.detail-meta-row span {
  gap: 7px;
}
.detail-meta-row span .site-icon {
  width: 14px;
  height: 14px;
}
.price-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.price-label .site-icon {
  width: 16px;
  height: 16px;
}
.gallery-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.gallery-count .site-icon {
  width: 16px;
  height: 16px;
}
.info-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-box strong {
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.info-box .site-icon {
  width: 22px;
  height: 22px;
  color: var(--brand-primary);
  margin-bottom: 2px;
}
.feature-list li {
  position: relative;
  padding-left: 38px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-weight: 950;
  font-size: 13px;
}
.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  color: #fff;
  flex: 0 0 auto;
}
.contact-icon .site-icon {
  width: 18px;
  height: 18px;
}
.map-placeholder {
  gap: 10px;
}
.map-placeholder-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: var(--brand-primary);
  margin: 0 auto 10px;
  box-shadow: var(--shadow-sm);
}
.map-placeholder-icon .site-icon {
  width: 24px;
  height: 24px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a .site-icon {
  width: 15px;
  height: 15px;
  color: var(--brand-accent);
}

@media (max-width: 720px) {
  .stat-card {
    min-height: auto;
  }
  .stat-icon {
    width: 38px;
    height: 38px;
  }
  .btn .site-icon,
  .btn-outline .site-icon,
  .btn-light .site-icon,
  .btn-small .site-icon {
    width: 15px;
    height: 15px;
  }
  .search-tab .site-icon {
    width: 14px;
    height: 14px;
  }
}

/* Sprite SVG inline dos ícones */
.site-icons-sprite { position:absolute; width:0; height:0; overflow:hidden; }

.site-icon path, .site-icon circle, .site-icon rect, .site-icon line, .site-icon polyline, .site-icon polygon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.site-icon [href="#icon-whatsapp"],
.site-icon [href="#icon-facebook"],
.site-icon [href="#icon-instagram"],
.site-icon [href="#icon-youtube"] {
  fill: currentColor;
  stroke: none;
}

/* =========================================================
   Ajustes visuais Template 01 - Hero e largura desktop
   - título do hero com a mesma largura visual do formulário
   - texto do hero centralizado
   - abas Comprar/Alugar/Código centralizadas
   - maior aproveitamento horizontal somente em telas grandes
   ========================================================= */
@media (min-width: 1181px) {
  :root {
    --container: 1360px;
  }
}

@media (min-width: 1500px) {
  :root {
    --container: 1440px;
  }
}

@media (min-width: 921px) {
  .hero-content {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero h1 {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

 .hero-search-wrap {
    margin-top: -178px;
  }

  .search-tabs {
    justify-content: center;
    margin-top: -45px;
    position: relative;
    z-index: 5;
  }

  .search-tabs .search-tab {
    border: 3px solid #ffffff;
  }
}

/* =========================================================
   Ajustes detalhe do imóvel - galeria, tags e menu mobile
   ========================================================= */
.mobile-toggle {
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-primary);
  cursor: pointer;
}
.mobile-toggle .site-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.detail-intro-content .detail-actions {
  align-items: center;
  gap: 10px;
}
.detail-intro-content .detail-actions .tag {
  background: var(--brand-primary) !important;
  color: var(--brand-tag-text, #fff) !important;
  white-space: normal;
  line-height: 1.15;
}
.detail-price-card .btn-outline {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--brand-primary) !important;
  box-shadow: none !important;
}
.detail-price-card .btn-outline:hover {
  background: var(--brand-primary-soft) !important;
  border-color: var(--brand-primary-soft) !important;
}

.gallery {
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
}
.gallery-main {
  width: 100%;
  height: 500px;
  max-height: 500px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs-shell {
  position: relative;
  min-width: 0;
  height: 500px;
  display: grid;
  grid-template-rows: 40px minmax(0, 1fr) 40px;
  gap: 8px;
}
.gallery-thumbs {
  display: grid;
  gap: 12px;
  align-content: start;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 2px 4px;
  scrollbar-width: thin;
}
.gallery-thumb {
  height: 112px;
  min-height: 112px;
}
.gallery-nav {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.gallery-nav:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .gallery {
    grid-template-columns: 1fr !important;
  }
  .gallery-main {
    height: 420px !important;
    max-height: 420px;
  }
  .gallery-thumbs-shell {
    height: auto;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    grid-template-rows: auto;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
  }
  .gallery-thumbs {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding: 4px 2px;
  }
  .gallery-thumb {
    flex: 0 0 120px;
    width: 120px;
    height: 84px !important;
    min-height: 84px;
  }
  .gallery-nav {
    width: 42px;
    min-width: 42px;
    height: 84px;
    min-height: 84px;
  }
  .gallery-nav span {
    display: inline-block;
    transform: rotate(-90deg);
  }
}

@media (max-width: 720px) {
  .mobile-toggle {
    display: inline-flex !important;
  }
  .detail-intro-content .detail-actions {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .detail-intro-content .detail-actions .tag {
    width: auto !important;
    min-height: 30px;
    flex: 0 1 auto !important;
    padding: 8px 11px;
    font-size: 11px;
    letter-spacing: 0;
  }
  .gallery-main {
    height: 300px !important;
    max-height: 300px;
  }
  .gallery-thumb {
    flex-basis: 104px;
    width: 104px;
    height: 72px !important;
    min-height: 72px;
  }
  .gallery-nav {
    height: 72px;
    min-height: 72px;
  }
}

/* =========================================================
   Ajustes detalhe do imóvel - refinamento header, galeria, descrição e relacionados
   ========================================================= */
.property-detail-section .header-actions .btn,
.site-header .header-actions .btn {
  white-space: nowrap;
}

.detail-intro-content .detail-actions {
  margin-top: 18px;
  margin-bottom: 18px;
}
.detail-intro-content .detail-actions .tag {
  margin-bottom: 0;
}

.property-description {
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
}
.property-description > :first-child { margin-top: 0; }
.property-description > :last-child { margin-bottom: 0; }
.property-description h2,
.property-description h3,
.property-description h4 {
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.property-description h2 { font-size: clamp(24px, 2.4vw, 32px); }
.property-description h3 { font-size: 22px; }
.property-description p { margin: 0 0 16px; }
.property-description ul,
.property-description ol {
  margin: 12px 0 18px;
  padding-left: 22px;
}
.property-description li { margin-bottom: 8px; }
.property-description a {
  color: var(--brand-primary);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agent-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  border: 1px solid rgba(7,29,26,.08);
}
.agent-icon .site-icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

.related-section-head {
  align-items: center;
  margin-bottom: 24px !important;
}
.related-section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.related-section-head .lead {
  max-width: 680px;
  margin-top: 8px;
}
.related-section-head .btn-outline {
  flex: 0 0 auto;
}

/* Galeria: botões mais discretos, scroll suave e sem barra aparente */
.gallery-thumbs-shell {
  display: block !important;
  position: relative;
  height: 500px;
  padding: 28px 0;
}
.gallery-thumbs {
  height: 100%;
  max-height: none !important;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 2px 4px;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  scroll-snap-align: start;
}
.gallery-nav {
  position: absolute;
  left: 50%;
  z-index: 4;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  background: rgba(255,255,255,.82) !important;
  color: var(--brand-primary) !important;
  box-shadow: 0 10px 25px rgba(7,29,26,.16) !important;
  backdrop-filter: blur(12px);
  opacity: .72;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}
.gallery-nav-prev {
  top: 0;
  transform: translateX(-50%);
}
.gallery-nav-next {
  bottom: 0;
  transform: translateX(-50%);
}
.gallery-nav:hover {
  opacity: 1;
  background: #fff !important;
  color: var(--brand-primary) !important;
}
.gallery-nav-prev:hover { transform: translateX(-50%) translateY(-1px); }
.gallery-nav-next:hover { transform: translateX(-50%) translateY(1px); }
.gallery-nav span {
  line-height: 1;
  font-size: 18px;
  font-weight: 950;
}

@media (max-width: 1100px) {
  .gallery-thumbs-shell {
    display: block !important;
    height: auto !important;
    padding: 0 38px;
    margin-top: 10px;
  }
  .gallery-thumbs {
    display: flex !important;
    gap: 10px;
    height: auto;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    padding: 4px 2px;
  }
  .gallery-nav {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .gallery-nav-prev { left: 0; }
  .gallery-nav-next { left: auto; right: 0; }
  .gallery-nav:hover { transform: translateY(-50%) scale(1.03) !important; }
  .gallery-nav span {
    transform: none !important;
  }
  .gallery-nav-prev span {
    transform: rotate(-90deg) !important;
  }
  .gallery-nav-next span {
    transform: rotate(-90deg) !important;
  }
}

@media (max-width: 720px) {
  .site-header .header-inner {
    gap: 12px;
  }
  .site-header .header-actions .btn {
    display: none !important;
  }
  .site-header .mobile-toggle.btn-icon {
    display: inline-flex !important;
  }
  .detail-intro-content .detail-actions {
    margin-bottom: 16px;
  }
  .detail-intro-content .detail-actions .tag {
    max-width: calc(50% - 4px) !important;
  }
  .related-section-head {
    display: block !important;
    text-align: left;
  }
  .related-section-head .btn-outline {
    margin-top: 14px;
  }
  .property-description {
    font-size: 15px;
    line-height: 1.68;
  }
}

/* =========================================================
   Ajustes finais: mapa aproximado, WhatsApp flutuante e footer dinâmico
   ========================================================= */
.footer {
  background: var(--site-support, var(--brand-primary)) !important;
}

.approx-map-card {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(320px, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--surface-soft, #f5f8f7), #fff);
  box-shadow: var(--shadow-sm);
}
.approx-map-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px 10px 10px;
}
.approx-map-info h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--ink);
}
.approx-map-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.approx-map-info strong {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 950;
}
.approx-map-info a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 4px;
  color: var(--brand-primary);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.approx-map-frame {
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background: #eef3f2;
  border: 1px solid var(--line);
}
.approx-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
  filter: saturate(.92) contrast(.98);
}

.floating-whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25D366;
  color: #fff !important;
  font-weight: 950;
  letter-spacing: -.01em;
  box-shadow: 0 18px 38px rgba(7,29,26,.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-22px) scale(.96);
  transition: opacity .28s ease, transform .28s ease, box-shadow .2s ease;
}
.floating-whatsapp .site-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}
.floating-whatsapp.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.floating-whatsapp:hover {
  color: #fff !important;
  box-shadow: 0 22px 44px rgba(7,29,26,.28);
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 900px) {
  .approx-map-card {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 24px;
  }
  .approx-map-frame,
  .approx-map-frame iframe {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 16px;
    min-height: 50px;
    padding: 0 15px;
    font-size: 13px;
  }
}

/* =========================================================
   Ajustes pontuais: WhatsApp flutuante, mapa simples e menu ativo
   ========================================================= */
.mobile-menu a.active {
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

.floating-whatsapp {
  width: 56px;
  min-width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  border-radius: 50%;
  gap: 0;
  background: #25D366;
}
.floating-whatsapp .fa-whatsapp-icon {
  width: 29px;
  height: 29px;
  display: block;
  flex: 0 0 auto;
}
.floating-whatsapp span {
  display: none !important;
}

.region-card {
  overflow: hidden;
}
.region-card > h2 {
  margin-bottom: 16px;
}
.region-card .region-map-frame,
.region-card .region-map-frame iframe {
  min-height: 360px;
}
.region-card .region-map-frame {
  margin-top: 0;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #eef3f2;
}

@media (max-width: 560px) {
  .floating-whatsapp {
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
  }
  .floating-whatsapp .fa-whatsapp-icon {
    width: 27px;
    height: 27px;
  }
  .region-card .region-map-frame,
  .region-card .region-map-frame iframe {
    min-height: 280px;
  }
}

/* =========================================================
   Ajustes mobile - topo e abas da busca
   ========================================================= */
@media (max-width: 720px) {
  .topbar {
    min-height: 38px;
  }

  .topbar-inner {
    min-height: 38px;
  }

  .topbar-list {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 14px;
  }

  .topbar-link[href^="mailto:"] {
    display: none;
  }

  .topbar-link {
    min-width: 0;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .search-tabs {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, .72fr) minmax(0, 1.46fr);
    gap: 5px;
    width: 100%;
  }

  .search-tab {
    width: 100%;
    min-width: 0;
    padding: 10px 6px;
    gap: 5px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .search-tab .site-icon {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 380px) {
  .search-tab {
    padding-left: 4px;
    padding-right: 4px;
    gap: 4px;
    font-size: 11.25px;
  }
}

/* ── Footer com portal: 5 colunas desktop, 2 colunas mobile ── */
.footer-grid--portal {
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  font-size: 13px;
}
.footer-grid--portal h3 { font-size: 14px; }
.footer-grid--portal .footer-links a { font-size: 13px; }

@media (max-width: 768px) {
  .footer-grid--portal {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px;
    font-size: 14px;
  }
  .footer-grid--portal h3 { font-size: inherit; }
  .footer-grid--portal .footer-links a { font-size: inherit; }
}
