:root {
  --ink: #080807;
  --ink-soft: #131210;
  --paper: #0e0e0d;
  --surface: #191816;
  --surface-soft: #22211e;
  --text: #f4f0e8;
  --muted: #aaa49a;
  --muted-light: #d0cbc1;
  --gold: #b4863e;
  --gold-light: #e2b96f;
  --gold-pale: #2b2419;
  --line: #37342f;
  --shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
  --display: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select,
summary {
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 8, 0.96);
  color: #fff;
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: flex;
  min-width: 300px;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: block;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  flex: 0 0 auto;
  width: 230px;
  align-content: center;
  line-height: 1.05;
  opacity: 1;
  visibility: visible;
}

.brand-wordmark {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header-creci {
  display: block;
  margin-top: -4px;
  color: #d9bb7a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  color: #e9e6df;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--gold-light);
  color: #fff;
}

.header-phone {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #101010;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/itapema-hero.png") center / cover no-repeat;
  filter: saturate(0.78) brightness(0.62);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 600px;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: end;
  gap: 40px;
}

.hero-copy {
  max-width: 790px;
  padding: 40px 0 110px;
}

.hero-eyebrow {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 24px;
  color: #fff;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 400;
  line-height: 0.98;
}

.hero-copy h1 span {
  display: block;
  margin-top: 8px;
  color: var(--gold-light);
  font-size: 52px;
}

.hero-copy h1 .hero-title-main {
  margin-top: 0;
  color: #fff;
  font-size: inherit;
  line-height: inherit;
}

.hero-copy > p:not(.hero-eyebrow) {
  max-width: 650px;
  margin: 0 0 28px;
  color: #f1eee8;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: #16110a;
}

.btn-gold:hover {
  background: #ecc77e;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.26);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.46);
  background: transparent;
  color: #fff;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #fff;
  font-size: 14px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges span::before {
  width: 7px;
  height: 7px;
  background: var(--gold-light);
  content: "";
  transform: rotate(45deg);
}

.hero-person {
  position: relative;
  display: flex;
  min-height: 580px;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-person img {
  position: relative;
  z-index: 2;
  width: auto;
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.5));
}

.barra-pesquisa-container {
  position: relative;
  z-index: 4;
  width: min(1180px, calc(100% - 40px));
  margin: -50px auto 0;
  padding: 24px 26px 18px;
  border: 1px solid #4a4337;
  border-radius: 8px;
  background: #151412;
  box-shadow: var(--shadow);
  scroll-margin-top: 116px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.barra-pesquisa-container.has-results {
  border-color: #80663b;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(209, 165, 82, 0.08);
}

.search-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid #35322d;
}

.search-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.search-tab.active {
  border-bottom-color: var(--gold);
  color: #fff;
}

.search-form,
.search-row {
  display: grid;
  gap: 12px;
}

.search-form {
  scroll-margin-top: 148px;
}

.search-row-default {
  grid-template-columns: 2fr 1.05fr 1.2fr 1.25fr 0.8fr 1fr;
}

.search-row-code {
  grid-template-columns: minmax(260px, 1fr) 180px;
}

.search-form label {
  min-width: 0;
}

.search-form label span,
.sort-control span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.search-form input,
.search-form select,
.sort-control select {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #4b4740;
  border-radius: 4px;
  background: #0d0d0c;
  color: var(--text);
}

.search-form input::placeholder {
  color: #807b72;
}

.search-btn {
  align-self: end;
  width: 100%;
  min-height: 48px;
}

.search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.barra-pesquisa-container.has-results .search-meta {
  margin-top: 16px;
  padding: 13px 15px;
  border-top: 1px solid #4b3c26;
  border-bottom: 1px solid #332b20;
  background: #100f0d;
}

.barra-pesquisa-container.has-results #resultCount {
  color: #f2d79f;
  font-weight: 700;
}

.search-meta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.link-btn,
.all-link {
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #77551f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.link-btn:hover,
.all-link:hover {
  border-bottom-color: currentColor;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.active-filters:empty {
  display: none;
}

.active-filters button {
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid #6c5632;
  border-radius: 16px;
  background: var(--gold-pale);
  color: #e6c688;
  cursor: pointer;
  font-size: 12px;
}

.active-filters button span {
  margin-left: 6px;
  font-size: 16px;
}

.featured-section {
  padding: 92px 0 82px;
  border-top: 1px solid #24221f;
  background: var(--paper);
}

.featured-section.has-active-search {
  padding-top: 30px;
}

.featured-section.has-active-search .section-title-row {
  margin-bottom: 18px;
  padding: 16px 0 18px;
  border-bottom: 1px solid #463a29;
}

.featured-section.has-active-search .section-title-row h2 {
  font-size: 40px;
}

.featured-section.has-active-search .catalog-guide-cta,
.featured-section.has-active-search .catalog-memory {
  display: none;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-title-row h2,
.region-layout h2,
.about-copy h2,
.cta-box h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.05;
}

.section-pill {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.catalog-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 18px;
}

.sort-control {
  min-width: 190px;
}

.sort-control select {
  height: 42px;
}

.catalog-view-all {
  white-space: nowrap;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.property-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #34312c;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-card:hover {
  transform: translateY(-3px);
  border-color: #5a4b34;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
}

.property-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #24231f;
}

.property-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.property-card:hover .property-image-wrap img {
  transform: scale(1.025);
}

.property-tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 3px;
  background: rgba(10, 10, 10, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.property-tag.launch {
  background: var(--gold-light);
  color: #1c1408;
}

.fav-btn {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.66);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}

.fav-btn.active {
  background: #fff;
  color: #9c3038;
}

.photo-total {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 3px;
  background: rgba(10, 10, 10, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.property-content {
  display: flex;
  min-height: 290px;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.property-location {
  min-height: 20px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-content h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.property-address {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 10px;
  color: #b8b0a4;
  font-size: 12px;
  line-height: 1.45;
}

.property-address svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--gold-light);
}

.property-address span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.property-code {
  display: block;
  min-height: 18px;
  margin-bottom: 13px;
  color: #918b81;
  font-size: 12px;
  font-weight: 700;
}

.property-price {
  display: block;
  margin: 0 0 15px;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
}

.property-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.property-icons span {
  padding: 6px 8px;
  border: 1px solid #3e3b35;
  border-radius: 3px;
  background: #11110f;
  color: #c8c2b8;
  font-size: 12px;
}

.property-actions {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 8px;
  margin-top: auto;
}

.detail-btn,
.card-whats {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.detail-btn {
  border: 1px solid #d3ae69;
  background: #d3ae69;
  color: #17120a;
}

.detail-btn:hover {
  background: #e5c47e;
}

.card-whats {
  border: 1px solid #a88449;
  color: #e1c080;
}

.card-whats:hover {
  background: var(--gold-pale);
}

.property-empty {
  grid-column: 1 / -1;
  padding: 48px 0;
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 34px;
}

.catalog-pagination button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #171614;
  color: var(--text);
  cursor: pointer;
}

.catalog-pagination button.active {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: #17120a;
}

.catalog-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.pagination-ellipsis {
  padding: 0 5px;
}

.proof-band {
  padding: 42px 0;
  border-top: 1px solid #272727;
  border-bottom: 1px solid #272727;
  background: var(--ink-soft);
  color: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-item {
  padding: 4px 34px;
  border-right: 1px solid #3a3937;
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.proof-item span {
  color: #d1cec7;
  font-size: 15px;
  line-height: 1.55;
}

.section-light {
  background: #171614;
}

.region-section {
  padding: 84px 0;
  border-top: 1px solid #2e2b27;
  border-bottom: 1px solid #2e2b27;
}

.region-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 70px;
}

.section-label {
  margin: 0 0 15px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.region-layout > div:first-child > p:last-child,
.about-copy > p:not(.section-label),
.cta-box p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.region-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 28px;
}

.region-points article {
  min-height: 150px;
  padding: 22px 0;
  border-top: 1px solid #765b31;
}

.region-points strong {
  display: block;
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.region-points span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.about-section {
  padding: 84px 0;
  background: #0b0b0a;
  color: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 70px;
}

.about-photo {
  overflow: hidden;
  background: #24211d;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
}

.about-copy {
  max-width: 680px;
}

.about-copy h2 {
  color: #fff;
  font-size: 52px;
}

.about-copy > p:not(.section-label) {
  color: #cfcbc4;
}

.about-copy ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px 28px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.about-copy li {
  position: relative;
  padding: 0 0 13px 18px;
  border-bottom: 1px solid #333;
  color: #e5e1d9;
  line-height: 1.5;
}

.about-copy li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold-light);
  content: "";
  transform: rotate(45deg);
}

.cta-section {
  padding: 0;
  border-top: 1px solid #3a3023;
  background: #181511;
  color: #fff;
}

.cta-box {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-top: 54px;
  padding-bottom: 54px;
}

.cta-box > div:first-child {
  max-width: 790px;
}

.cta-box h2 {
  color: #fff;
}

.cta-box p {
  color: #cecbc4;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  padding: 38px 0 108px;
  border-top: 1px solid #2b2b2b;
  background: #050504;
  color: #cbc7bf;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.footer-contact {
  text-align: right;
}

.footer-contact span {
  display: block;
  margin: 5px 0;
  line-height: 1.5;
}

.modal {
  position: fixed;
  z-index: 1600;
  inset: 0;
  display: none;
}

.modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.modal-panel {
  --text: #171716;
  --muted: #67645f;
  --line: #d9d8d3;
  --surface: #ffffff;
  --paper: #f4f4f1;
  color: var(--text);
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1320px, calc(100% - 28px));
  max-height: 94vh;
  margin: 3vh auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(430px, 0.9fr);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}

.modal-panel::-webkit-scrollbar {
  width: 9px;
}

.modal-panel::-webkit-scrollbar-track {
  background: #eceae5;
}

.modal-panel::-webkit-scrollbar-thumb {
  background: #9c7a43;
}

.modal-close {
  position: absolute;
  z-index: 8;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 27px;
}

.modal-gallery {
  position: sticky;
  top: 0;
  align-self: start;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  background: #0d0d0d;
}

.modal-main-image {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  background: #111;
}

.modal-main-image > img {
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.gallery-nav,
.gallery-expand {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
}

.gallery-nav {
  top: 50%;
  width: 44px;
  height: 54px;
  font-size: 34px;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-expand {
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  font-size: 22px;
}

.gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.thumbs {
  display: flex;
  width: 100%;
  gap: 8px;
  margin-top: 12px;
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
}

.thumbs::-webkit-scrollbar {
  display: none;
}

.thumbs button {
  flex: 0 0 98px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 3px;
  background: none;
  cursor: pointer;
}

.thumbs button.active {
  border-color: var(--gold-light);
}

.thumbs img {
  width: 94px;
  height: 70px;
  object-fit: cover;
}

.modal-info {
  min-width: 0;
  padding: 46px 36px 36px;
}

.modal-region {
  margin: 0 52px 9px 0;
  color: #715324;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
}

.modal-info h2 {
  margin: 0 52px 12px 0;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.03;
  overflow-wrap: anywhere;
}

.modal-price {
  margin: 0 0 18px;
  color: #6c4d1c;
  font-family: var(--display);
  font-size: 31px;
}

.modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.modal-features span {
  padding: 7px 9px;
  border: 1px solid #dfd7ca;
  border-radius: 15px;
  background: #f7f3ed;
  color: #504a42;
  font-size: 12px;
}

.description-section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.description-section h3 {
  margin: 0 0 12px;
  color: #785622;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
}

.description-section ul,
.detail-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.description-section li,
.detail-group li {
  position: relative;
  padding-left: 12px;
  color: #5c5852;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.description-section li::before,
.detail-group li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--gold);
  content: "";
}

.feature-photo-link {
  display: inline-flex;
  max-width: 100%;
  align-items: baseline;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  text-align: left;
}

.feature-photo-link > span {
  border-bottom: 1px dotted #b18742;
}

.feature-photo-link small {
  flex: 0 0 auto;
  color: #8a6326;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-photo-link:hover > span,
.feature-photo-link:focus-visible > span {
  border-bottom-style: solid;
  color: #6c4d1c;
}

.feature-photo-link:focus-visible {
  outline: 2px solid #c5974c;
  outline-offset: 3px;
}

.modal-details {
  border-top: 1px solid var(--line);
}

.detail-group {
  border-bottom: 1px solid var(--line);
}

.detail-group summary {
  padding: 15px 0;
  cursor: pointer;
  font-weight: 800;
}

.detail-group ul {
  padding: 0 0 18px;
}

.availability-note {
  margin: 20px 0 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: #f8f3e9;
  color: #665b4c;
  font-size: 13px;
  line-height: 1.5;
}

.modal-interest .btn {
  width: 100%;
}

.modal.photo-expanded .modal-panel {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #050505;
}

.modal.photo-expanded .modal-gallery {
  position: static;
  display: grid;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) 82px;
  padding: 12px;
}

.modal.photo-expanded .modal-main-image {
  min-height: 0;
}

.modal.photo-expanded .modal-main-image > img {
  height: calc(100vh - 106px);
}

.modal.photo-expanded .modal-info {
  display: none;
}

.modal.photo-expanded .gallery-expand {
  right: 68px;
}

.modal.photo-expanded .thumbs {
  justify-content: center;
}

@media (max-width: 1120px) {
  .header-phone {
    display: none;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .hero-copy h1 span {
    font-size: 44px;
  }

  .search-row-default {
    grid-template-columns: repeat(4, 1fr);
  }

  .search-keyword {
    grid-column: span 2;
  }

  .search-btn {
    grid-column: span 2;
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-panel {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 78px;
    gap: 14px;
  }

  .brand {
    min-width: 0;
    gap: 11px;
  }

  .brand-mark {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
  }

  .brand-mark img {
    width: 100%;
    height: 100%;
  }

  .brand-copy {
    width: 180px;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    padding: 14px 20px 20px;
    border-top: 1px solid #2e2e2e;
    background: #080808;
    flex-direction: column;
    gap: 2px;
  }

  .main-nav.open a {
    padding: 12px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    min-height: 760px;
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-copy {
    z-index: 3;
    max-width: 660px;
    padding: 88px 0 250px;
  }

  .hero-person {
    position: absolute;
    right: -12px;
    bottom: 0;
    min-height: 0;
  }

  .hero-person img {
    max-height: 430px;
    opacity: 0.82;
  }

  .catalog-actions {
    flex-wrap: wrap;
  }

  .region-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-photo {
    max-width: 520px;
  }

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-gallery {
    position: static;
  }

  .gallery-expand {
    right: 64px;
  }

  .modal-main-image,
  .modal-main-image > img {
    min-height: 0;
    height: 430px;
  }

  .cta-box {
    display: block;
  }

  .cta-actions {
    margin-top: 26px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .hero {
    min-height: 700px;
  }

  .hero-inner {
    min-height: 700px;
  }

  .hero-copy {
    padding: 64px 0 276px;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .hero-copy h1 {
    max-width: 520px;
    font-size: 42px;
  }

  .hero-copy h1 span {
    font-size: 34px;
    line-height: 1.05;
  }

  .hero-copy > p:not(.hero-eyebrow) {
    max-width: 480px;
    font-size: 17px;
  }

  .hero-person img {
    max-height: 340px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badges {
    display: none;
  }

  .barra-pesquisa-container {
    width: min(100% - 20px, 1180px);
    margin-top: -30px;
    padding: 18px 16px 16px;
    scroll-margin-top: 88px;
  }

  .search-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .search-tab {
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
  }

  .search-row-default,
  .search-row-code {
    grid-template-columns: 1fr;
  }

  .search-keyword,
  .search-btn {
    grid-column: auto;
  }

  .search-meta {
    display: block;
  }

  .search-meta-actions {
    margin-top: 12px;
  }

  .featured-section {
    padding: 66px 0 62px;
  }

  .featured-section.has-active-search {
    padding-top: 24px;
  }

  .featured-section.has-active-search .section-title-row h2 {
    font-size: 32px;
  }

  .section-title-row {
    display: block;
  }

  .section-title-row h2,
  .region-layout h2,
  .about-copy h2,
  .cta-box h2 {
    font-size: 36px;
  }

  .catalog-actions {
    align-items: start;
    justify-content: flex-start;
    margin-top: 20px;
    flex-direction: column;
    gap: 12px;
  }

  .sort-control {
    width: 100%;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .property-content {
    min-height: 0;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid #363636;
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .region-section,
  .about-section {
    padding: 64px 0;
  }

  .region-points {
    grid-template-columns: 1fr;
  }

  .about-copy ul {
    grid-template-columns: 1fr;
  }

  .cta-box {
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-inner {
    display: block;
  }

  .footer-brand img {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
  }

  .footer-contact {
    text-align: center;
  }

  .modal-panel {
    width: min(100% - 10px, 1320px);
    max-height: 98vh;
    margin: 1vh auto;
  }

  .modal-gallery {
    padding: 10px;
  }

  .modal-main-image,
  .modal-main-image > img {
    height: 310px;
  }

  .thumbs button {
    flex-basis: 92px;
  }

  .thumbs img {
    width: 88px;
    height: 64px;
  }

  .modal-info {
    padding: 32px 18px 18px;
  }

  .modal-info h2 {
    margin-right: 0;
    font-size: 34px;
  }

  .modal-region {
    margin-right: 0;
  }

  .description-section ul,
  .detail-group ul {
    grid-template-columns: 1fr;
  }

  .modal-interest {
    position: sticky;
    z-index: 5;
    bottom: -8px;
    margin: 0 -18px;
    padding: 12px 18px 16px;
    border-top: 1px solid var(--line);
    background: #fff;
  }
}

@media (max-width: 420px) {
  .header-inner {
    min-height: 72px;
  }

  .brand-mark {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .brand-mark img {
    width: 100%;
    height: 100%;
  }

  .brand {
    gap: 8px;
  }

  .brand-copy {
    width: 180px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy h1 span {
    font-size: 30px;
  }

  .property-actions {
    grid-template-columns: 1fr;
  }

  .modal-main-image,
  .modal-main-image > img {
    height: 270px;
  }
}

@media (max-width: 340px) {
  .header-inner {
    gap: 10px;
  }

  .brand-mark {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .brand {
    gap: 6px;
  }

  .brand-copy {
    width: 158px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Interactive experience */

body.overlay-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.site-header,
.header-inner,
.brand-mark,
.brand-copy,
.brand-wordmark {
  transition: min-height 180ms ease, width 180ms ease, height 180ms ease, opacity 180ms ease;
}

.header-inner {
  min-height: 132px;
}

.brand {
  min-width: 450px;
}

.brand-mark {
  flex-basis: 112px;
  width: 112px;
  height: 112px;
}

.brand-copy {
  width: 315px;
}

.site-header.compact .header-inner {
  min-height: 100px;
}

.site-header.compact .brand-mark {
  flex-basis: 82px;
  width: 82px;
  height: 82px;
}

.site-header.compact .brand-copy {
  width: 280px;
}

.site-header.compact .brand-wordmark {
  opacity: 0.94;
}

.main-nav button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #8f713f;
  border-radius: 3px;
  background: transparent;
  color: #f2dfb7;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.main-nav button:hover,
.main-nav button:focus-visible {
  border-color: var(--gold-light);
  background: #211b12;
  color: #fff;
}

.header-phone {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #75613f;
  border-radius: 3px;
}

.header-phone span {
  color: #25d366;
  font-size: 15px;
}

.btn {
  position: relative;
  gap: 9px;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold:hover {
  box-shadow: 0 12px 30px rgba(180, 134, 62, 0.28);
}

.btn-quiet {
  min-height: 48px;
  padding: 0 5px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.search-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}

.search-heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
}

.search-heading .section-label {
  margin-bottom: 8px;
}

.guided-search-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #8b7146;
  border-radius: 3px;
  background: #211b12;
  color: #f1d79f;
  cursor: pointer;
  font-weight: 800;
}

.guided-search-button:hover {
  border-color: var(--gold-light);
  color: #fff;
}

.search-launchers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.search-launcher {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border: 1px solid #413c34;
  border-radius: 4px;
  background: #0f0f0e;
  color: #f1ede5;
  cursor: pointer;
  text-align: left;
}

.search-launcher:hover,
.search-launcher[aria-expanded="true"] {
  border-color: #a98549;
  background: #1b1813;
}

.search-launcher > span {
  display: grid;
  gap: 4px;
}

.search-launcher strong {
  color: #f1ede5;
  font-size: 13px;
}

.search-launcher small {
  color: #918b81;
  font-size: 11px;
}

.search-launcher b {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #5d5241;
  border-radius: 50%;
  color: #dab76f;
  font-size: 17px;
  font-weight: 400;
}

.search-launcher[aria-expanded="true"] b {
  transform: rotate(45deg);
}

.search-option-panel {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #39352f;
  border-radius: 4px;
  background: #11110f;
}

.search-option-panel label {
  display: grid;
  gap: 7px;
}

.search-option-panel label > span {
  color: #aaa398;
  font-size: 12px;
  font-weight: 700;
}

.search-option-panel input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #4b4740;
  border-radius: 4px;
  background: #0d0d0c;
  color: #f4f0e8;
}

.search-option-panel .search-tabs {
  margin-bottom: 0;
}

.search-tabs {
  gap: 8px;
  margin-bottom: 18px;
}

.search-tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #3c3832;
  border-radius: 3px;
}

.search-tab.active {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: #17120a;
}

.search-row-primary {
  grid-template-columns: 1fr 1fr 0.72fr auto;
}

.search-row-primary .search-btn {
  min-width: 132px;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-filters button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #48433b;
  border-radius: 17px;
  background: #0f0f0e;
  color: #bcb5aa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.quick-filters button:hover,
.quick-filters button.active {
  border-color: #a88750;
  background: #2b2419;
  color: #f0d49d;
}

.advanced-filter-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #8c744c;
  background: transparent;
  color: #e3c27f;
  cursor: pointer;
  font-weight: 800;
}

.advanced-filter-toggle span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #645331;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
}

.advanced-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #35322d;
}

.advanced-filters[hidden] {
  display: none;
}

.advanced-filters label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.advanced-filters select {
  width: 100%;
  height: 46px;
  padding: 0 11px;
  border: 1px solid #4b4740;
  border-radius: 4px;
  background: #0d0d0c;
  color: var(--text);
}

.catalog-memory {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 26px;
}

.catalog-memory button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #3a3731;
  border-radius: 3px;
  background: #141311;
  color: #d6d0c6;
  cursor: pointer;
  font-weight: 700;
}

.catalog-memory button:hover,
.catalog-memory button[aria-pressed="true"] {
  border-color: #9b7a45;
  background: #282116;
  color: #f2d69c;
}

.catalog-memory button span {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #292723;
  color: #fff;
  font-size: 11px;
}

.catalog-notice {
  margin-bottom: 22px;
  padding: 15px 18px;
  border-left: 3px solid var(--gold-light);
  background: #1b1813;
  color: #cfc8bc;
  line-height: 1.55;
}

.catalog-notice strong {
  color: #f1d59b;
}

.catalog-notice.search-empty-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
}

.search-empty-copy {
  display: grid;
  gap: 3px;
}

.search-empty-copy span {
  color: #b9b1a5;
  font-size: 14px;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.search-suggestions button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #77613b;
  border-radius: 3px;
  background: #0f0e0c;
  color: #efd28f;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.search-suggestions button:hover,
.search-suggestions button:focus-visible {
  border-color: var(--gold-light);
  background: #282116;
  color: #fff3d2;
}

@media (max-width: 720px) {
  .catalog-notice.search-empty-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-suggestions {
    justify-content: flex-start;
  }
}

.property-card {
  border-color: #3b3730;
}

.property-image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.property-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card:hover .property-image-button img {
  transform: scale(1.025);
}

.property-facts-ribbon {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 42px;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: rgba(8, 8, 8, 0.9);
  color: #f0ece4;
  pointer-events: none;
}

.property-facts-ribbon span {
  padding: 5px 7px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.property-facts-ribbon span:last-child {
  border-right: 0;
}

.photo-total {
  bottom: 50px;
}

.compare-card-btn {
  position: absolute;
  z-index: 4;
  top: 62px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.66);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}

.compare-card-btn.active {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: #17120a;
}

.property-content {
  min-height: 330px;
}

.property-highlight {
  min-height: 40px;
  margin: 0 0 18px;
  padding: 10px 11px;
  border-left: 2px solid #b4863e;
  background: #11100e;
  color: #cfc7ba;
  font-size: 12px;
  line-height: 1.45;
}

.property-highlight span {
  margin-right: 6px;
  color: var(--gold-light);
}

.detail-btn {
  gap: 7px;
}

.card-enter {
  opacity: 0;
  transform: translateY(18px);
}

.card-enter.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease var(--card-delay), transform 420ms ease var(--card-delay), box-shadow 180ms ease;
}

.skeleton-card {
  min-height: 610px;
  overflow: hidden;
  border: 1px solid #32302b;
  border-radius: 6px;
  background: #181714;
  animation: skeletonPulse 900ms ease-in-out infinite alternate;
}

.sk-img {
  aspect-ratio: 4 / 3;
  background: #282620;
}

.sk-body {
  display: grid;
  gap: 14px;
  padding: 24px 20px;
}

.sk-line {
  display: block;
  width: 100%;
  height: 13px;
  border-radius: 3px;
  background: #302d27;
}

.sk-line.w40 {
  width: 40%;
}

.sk-line.w55 {
  width: 55%;
}

.sk-line.w70 {
  width: 70%;
}

.sk-line.tall {
  width: 58%;
  height: 30px;
}

.sk-actions {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 10px;
  margin-top: 16px;
}

.sk-actions .sk-line {
  height: 46px;
}

@keyframes skeletonPulse {
  from {
    opacity: 0.72;
  }

  to {
    opacity: 1;
  }
}

.property-image-wrap::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #25231e;
  content: "";
  opacity: 1;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.property-image-wrap img {
  opacity: 0;
  transition: opacity 280ms ease, transform 240ms ease;
}

.property-image-wrap.img-loaded::after {
  opacity: 0;
}

.property-image-wrap.img-loaded img {
  opacity: 1;
}

#resultCount.updated {
  animation: resultPulse 420ms ease;
}

@keyframes resultPulse {
  50% {
    color: #e4c27e;
    transform: translateY(-2px);
  }
}

.hero-anim {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.hero-anim.in {
  opacity: 1;
  transform: translateY(0);
}

.hero-anim.d1 {
  transition-delay: 100ms;
}

.hero-anim.d4 {
  transition-delay: 360ms;
}

[data-typewriter].typing::after {
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 5px;
  background: #dbb86f;
  content: "";
  animation: typingCursor 620ms steps(1) infinite;
  vertical-align: -0.04em;
}

@keyframes typingCursor {
  50% {
    opacity: 0;
  }
}

.hero-actions.staged .btn {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.hero-actions.staged .btn.in {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions.staged .btn.b2 {
  transition-delay: 100ms;
}

.hero-actions.staged .btn.b3 {
  transition-delay: 200ms;
}

.load-more-area {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 36px;
}

.load-more-area p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.load-more-area .btn {
  min-width: 230px;
}

.floating-whatsapp {
  position: fixed;
  z-index: 1500;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 8px;
  border: 1px solid #61e18f;
  border-radius: 29px;
  background: #159447;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  font-size: 14px;
  font-weight: 800;
}

.floating-whatsapp:hover {
  background: #117c3c;
  transform: translateY(-2px);
}

.whatsapp-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #072b15;
  font-size: 21px;
}

.whatsapp-pulse {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 7px;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(97, 225, 143, 0.74);
  border-radius: 50%;
  animation: whatsappPulse 4s ease-out infinite;
}

@keyframes whatsappPulse {
  0%,
  70% {
    opacity: 0;
    transform: scale(1);
  }
  76% {
    opacity: 0.75;
  }
  92% {
    opacity: 0;
    transform: scale(1.65);
  }
  100% {
    opacity: 0;
  }
}

.mobile-filter-fab,
.back-to-top {
  position: fixed;
  z-index: 1450;
  display: none;
}

.back-to-top {
  right: 28px;
  bottom: 96px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #5a5246;
  border-radius: 50%;
  background: #151412;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  transform: translateY(8px);
}

.back-to-top.visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.compare-drawer {
  position: fixed;
  z-index: 1460;
  right: 220px;
  bottom: 24px;
  left: 24px;
  display: grid;
  min-height: 72px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid #4c4438;
  background: #11100f;
  color: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.44);
}

.compare-drawer > div:first-child {
  display: grid;
  gap: 3px;
}

.compare-drawer > div:first-child span {
  color: var(--muted);
  font-size: 12px;
}

#compareDrawerItems {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
}

#compareDrawerItems button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid #444039;
  border-radius: 3px;
  background: #1c1a17;
  color: #dcd5c9;
  cursor: pointer;
  font-size: 11px;
}

#compareDrawerItems button span {
  margin-left: 6px;
}

.compare-drawer .btn {
  min-height: 46px;
}

.compare-drawer .btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.site-toast {
  position: fixed;
  z-index: 2200;
  top: 126px;
  left: 50%;
  padding: 12px 18px;
  border: 1px solid #78633e;
  background: #171511;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-symbol {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.footer-wordmark {
  width: 270px;
  height: auto;
}

.footer-contact {
  display: grid;
  gap: 7px;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #282725;
  color: #918c83;
  font-size: 12px;
}

.footer-bottom button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #7d6842;
  background: transparent;
  color: #dfc183;
  cursor: pointer;
}

.lead-modal {
  position: fixed;
  z-index: 1800;
  inset: 0;
  display: none;
  overflow-y: auto;
}

.lead-modal.open {
  display: block;
}

.lead-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.lead-panel,
.compare-panel {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 32px));
  margin: 5vh auto;
  padding: 42px;
  border: 1px solid #4c4336;
  background: #151412;
  color: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.56);
}

.compare-panel {
  width: min(1120px, calc(100% - 32px));
}

.lead-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid #4a463f;
  border-radius: 50%;
  background: #0c0c0b;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
}

.lead-intro {
  max-width: 680px;
  margin-bottom: 30px;
}

.lead-intro h2,
.compare-panel > h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.05;
}

.lead-intro > p:last-child {
  margin: 0;
  color: #bdb6aa;
  line-height: 1.65;
}

.form-progress {
  display: flex;
  width: 160px;
  align-items: center;
  margin-top: 24px;
}

.form-progress span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #534c41;
  border-radius: 50%;
  background: #0c0c0b;
  color: #8f8a81;
  font-size: 12px;
  font-weight: 800;
}

.form-progress span.active {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: #17120a;
}

.form-progress i {
  width: 60px;
  height: 1px;
  background: #534c41;
}

.form-step {
  display: none;
  padding: 0;
  border: 0;
}

.form-step.active {
  display: block;
}

.form-step legend {
  margin-bottom: 20px;
  color: #f2dfb8;
  font-family: var(--display);
  font-size: 27px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-grid label {
  display: block;
}

.form-grid label > span {
  display: block;
  margin-bottom: 7px;
  color: #bdb6aa;
  font-size: 12px;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #4a453d;
  border-radius: 3px;
  background: #0c0c0b;
  color: #fff;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--gold-light);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.form-photo-note {
  margin: 18px 0 0;
  color: #aaa399;
  font-size: 13px;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table-wrap table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
}

.compare-table-wrap th,
.compare-table-wrap td {
  min-width: 170px;
  padding: 15px;
  border: 1px solid #3b3832;
  text-align: left;
  vertical-align: top;
}

.compare-table-wrap thead th {
  background: #211c14;
  color: #f1d69e;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}

.compare-table-wrap tbody th {
  min-width: 130px;
  background: #10100f;
  color: #bdb6aa;
  font-size: 12px;
}

.compare-table-wrap td {
  color: #e6e0d6;
}

.compare-table-wrap a {
  color: #e5c37e;
  font-weight: 800;
}

.modal-interest {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 46px;
  gap: 8px;
}

.icon-command {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid #a88449;
  border-radius: 3px;
  background: transparent;
  color: #68491c;
  cursor: pointer;
  font-size: 20px;
}

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }

  .header-inner {
    min-height: 108px;
  }

  .brand {
    min-width: 380px;
  }

  .brand-mark {
    flex-basis: 94px;
    width: 94px;
    height: 94px;
  }

  .brand-copy {
    width: 270px;
  }

  .main-nav {
    gap: 18px;
  }

  .search-row-primary {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }

  .search-row-primary label:nth-of-type(4),
  .search-row-primary .search-btn {
    grid-column: span 1;
  }

  .advanced-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 96px;
  }

  .site-header.compact .header-inner {
    min-height: 96px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark,
  .site-header.compact .brand-mark {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
  }

  .brand-copy {
    width: 215px;
  }

  .site-header.compact .brand-copy {
    width: 215px;
  }

  .main-nav.open button {
    min-height: 46px;
    margin: 6px 0;
  }

  .search-row-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-keyword {
    grid-column: span 2;
  }

  .compare-drawer {
    right: 18px;
    bottom: 92px;
    left: 18px;
    grid-template-columns: 1fr auto;
  }

  #compareDrawerItems {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-lockup {
    gap: 12px;
  }

  .footer-symbol {
    width: 78px;
    height: 78px;
  }

  .footer-wordmark {
    width: 230px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 92px;
    gap: 10px;
  }

  .site-header.compact .header-inner {
    min-height: 92px;
  }

  .hero-copy {
    padding: 48px 0 180px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark,
  .site-header.compact .brand-mark {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }

  .brand-copy {
    width: 190px;
  }

  .site-header.compact .brand-copy {
    width: 190px;
  }

  .search-launchers {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn-quiet {
    justify-self: start;
  }

  .search-heading {
    display: block;
  }

  .guided-search-button {
    width: 100%;
    margin-top: 16px;
  }

  .search-heading h2 {
    font-size: 30px;
  }

  .search-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .search-row-primary,
  .advanced-filters {
    grid-template-columns: 1fr;
  }

  .search-keyword,
  .search-row-primary label:nth-of-type(4),
  .search-row-primary .search-btn {
    grid-column: auto;
  }

  .quick-filters {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .quick-filters button {
    flex: 1 1 calc(50% - 4px);
  }

  .catalog-memory {
    display: grid;
    grid-template-columns: 1fr;
  }

  .property-content {
    min-height: 0;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 58px;
    min-height: 58px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-icon {
    width: 44px;
    height: 44px;
  }

  .whatsapp-label {
    display: none;
  }

  .mobile-filter-fab {
    bottom: 16px;
    left: 14px;
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid #8c744c;
    border-radius: 23px;
    background: #151412;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    font-weight: 800;
  }

  .mobile-filter-fab span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: #2d2922;
    font-size: 11px;
  }

  .mobile-filter-fab.has-filters span {
    background: var(--gold-light);
    color: #17120a;
  }

  .back-to-top {
    right: 22px;
    bottom: 84px;
  }

  .lead-panel,
  .compare-panel {
    width: min(100% - 16px, 920px);
    margin: 1vh auto;
    padding: 54px 18px 24px;
  }

  .lead-intro h2,
  .compare-panel > h2 {
    font-size: 34px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-wide {
    grid-column: auto;
  }

  .form-navigation {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-navigation .btn {
    width: 100%;
  }

  .modal-interest {
    grid-template-columns: 1fr 46px;
  }

  .modal-interest .btn-outline-dark {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .compare-drawer {
    bottom: 84px;
    grid-template-columns: 1fr;
  }

  .compare-drawer .btn {
    width: 100%;
  }

  #compareDrawerItems {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-lockup {
    justify-content: center;
  }

  .footer-symbol {
    width: 70px;
    height: 70px;
  }

  .footer-wordmark {
    width: 220px;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand-mark,
  .site-header.compact .brand-mark {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .brand-copy {
    width: 185px;
  }

  .site-header.compact .brand-copy {
    width: 185px;
  }

  .property-facts-ribbon span {
    font-size: 10px;
  }

  .footer-lockup {
    gap: 7px;
  }

  .footer-symbol {
    width: 58px;
    height: 58px;
  }

  .footer-wordmark {
    width: 190px;
  }
}

@media (max-width: 350px) {
  .brand-mark,
  .site-header.compact .brand-mark {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .brand-copy {
    width: 168px;
  }

  .site-header.compact .brand-copy {
    width: 168px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-card,
  [data-typewriter].typing::after {
    animation: none;
  }

  .hero-anim,
  .hero-actions.staged .btn {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================================================
   REAPLICADO EM 29/07 — ícones sociais, botões, hierarquia do hero,
   logo estável, botão flutuante e barra de rolagem.
   Para reverter, remova daqui até o fim do arquivo.
   ===================================================================== */

/* --- Ícone real do WhatsApp / Instagram --- */
.ico-whats {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

/* Header: dois círculos discretos e idênticos */
.header-phone {
  display: none;
}

.header-social {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.header-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(226, 185, 111, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: #d9bd85;
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

.header-icon svg {
  display: block;
  width: 19px;
  height: 19px;
}

.header-icon:hover {
  border-color: var(--gold-light);
  background: rgba(226, 185, 111, 0.1);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(226, 185, 111, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .header-social {
    display: none;
  }
}

/* --- Menu equilibrado: nenhum item grita mais alto --- */
.main-nav a,
.main-nav button,
.main-nav .nav-register {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 10px 1px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #ddd8cf;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.main-nav a::after,
.main-nav button::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover,
.main-nav button:hover,
.main-nav button:focus-visible,
.main-nav a.active {
  border: 0;
  background: none;
  color: #fff;
}

.main-nav a:hover::after,
.main-nav button:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .main-nav.open a,
  .main-nav.open button,
  .main-nav.open .nav-register {
    min-height: 46px;
    padding: 12px 0;
    text-align: left;
  }

  .main-nav.open a::after,
  .main-nav.open button::after {
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    transform: scaleX(1);
  }
}

/* --- Logo estável: não encolhe ao rolar --- */
:root {
  --brand-size: 108px;
  --wordmark-w: 300px;
  --band-h: 118px;
}

@media (max-width: 1180px) {
  :root { --brand-size: 92px; --wordmark-w: 265px; --band-h: 106px; }
}

@media (max-width: 900px) {
  :root { --brand-size: 74px; --wordmark-w: 210px; --band-h: 92px; }
}

@media (max-width: 680px) {
  :root { --brand-size: 62px; --wordmark-w: 186px; --band-h: 84px; }
}

@media (max-width: 420px) {
  :root { --brand-size: 56px; --wordmark-w: 172px; --band-h: 78px; }
}

@media (max-width: 350px) {
  :root { --brand-size: 50px; --wordmark-w: 154px; --band-h: 74px; }
}

html {
  scroll-padding-top: calc(var(--band-h) + 14px);
}

.brand-mark,
.site-header.compact .brand-mark {
  flex: 0 0 var(--brand-size);
  width: var(--brand-size);
  height: var(--brand-size);
  transition: none;
}

.brand-copy,
.site-header.compact .brand-copy {
  width: var(--wordmark-w);
  transition: none;
}

.brand-wordmark,
.site-header.compact .brand-wordmark {
  opacity: 1;
}

.header-inner,
.site-header.compact .header-inner {
  min-height: var(--band-h);
  transition: none;
}

.brand {
  min-width: 0;
}

.site-header {
  transition: box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.compact {
  background: rgba(6, 6, 6, 0.98);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.46);
}

/* --- Botões com mais presença --- */
.btn {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 9px;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.btn > span[aria-hidden="true"] {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  font-size: 12px;
  letter-spacing: 0;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover > span[aria-hidden="true"] {
  transform: translateX(3px);
}

.btn-gold {
  border-color: #ecca84;
  background: linear-gradient(135deg, #f2d191 0%, #d3a659 55%, #c1913f 100%);
  color: #17110a;
  box-shadow: 0 8px 22px rgba(180, 134, 62, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f8dca6 0%, #dcb069 55%, #c99a45 100%);
  box-shadow: 0 14px 36px rgba(180, 134, 62, 0.46);
}

.btn-whats {
  border-color: #34d977;
  background: linear-gradient(135deg, #1fbe5c 0%, #0f8a40 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 138, 64, 0.34);
}

.btn-whats:hover {
  background: linear-gradient(135deg, #26d268 0%, #12a04c 100%);
  box-shadow: 0 14px 34px rgba(15, 138, 64, 0.46);
}

/* --- Hierarquia de cores do hero: um só destaque dominante --- */
.hero-copy h1 .hero-title-main {
  color: #fffdf8;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55), 0 6px 30px rgba(0, 0, 0, 0.6);
}

.hero-copy h1 > span:not(.hero-title-main) {
  margin-top: 12px;
  color: #ffc861;
  font-size: 0.6em;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 4px 22px rgba(0, 0, 0, 0.6);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #edd6a4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-eyebrow::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--gold-light);
  content: "";
  transform: rotate(45deg);
}

.hero-copy > p:not(.hero-eyebrow) {
  max-width: 600px;
  color: #ece7dd;
  font-size: 19px;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.66);
}

.hero-badges {
  color: #d5cec3;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-actions .btn-quiet {
  border-bottom-color: rgba(255, 255, 255, 0.26);
  color: #cfc8bc;
}

.hero-actions .btn-quiet:hover {
  border-bottom-color: var(--gold-light);
  color: #fff;
}

/* Escurece o lado do texto para a tipografia cravar sobre a foto */
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.25) 72%, rgba(0, 0, 0, 0.12) 100%),
    radial-gradient(58% 78% at 14% 68%, rgba(180, 134, 62, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.5) 100%);
}

@media (max-width: 900px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.58) 55%, rgba(0, 0, 0, 0.68) 100%),
      radial-gradient(70% 60% at 30% 30%, rgba(180, 134, 62, 0.16), transparent 66%);
  }
}

/* Cursor da máquina de escrever */
.hero-copy h1 > span.typing::after,
.hero-copy > p.typing::after {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  margin-left: 4px;
  background: var(--gold-light);
  content: "";
  animation: caretBlink 850ms step-end infinite;
}

@keyframes caretBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 > span.typing::after,
  .hero-copy > p.typing::after {
    display: none;
  }
}

/* --- Botão flutuante: só a bolinha do WhatsApp --- */
.floating-whatsapp {
  display: grid;
  width: 58px;
  min-height: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}

.floating-whatsapp .ico-whats {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
}

.floating-whatsapp:hover {
  background: #1fbe5c;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

.whatsapp-pulse {
  top: 0;
  left: 0;
  width: 58px;
  height: 58px;
  border-color: rgba(255, 255, 255, 0.7);
}

.whatsapp-label {
  display: none;
}

@media (max-width: 680px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    min-height: 54px;
  }

  .whatsapp-pulse {
    width: 54px;
    height: 54px;
  }
}

/* --- Barra de rolagem premium --- */
html {
  scrollbar-width: thin;
  scrollbar-color: #9b7a45 #0b0b0a;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #0b0b0a;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #0b0b0a;
  border-radius: 999px;
  background: linear-gradient(180deg, #e2b96f 0%, #b4863e 55%, #8b6931 100%);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0cd8b 0%, #c9974a 55%, #9d773a 100%);
  background-clip: padding-box;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

::-webkit-scrollbar-corner {
  background: #0b0b0a;
}

/* =====================================================================
   BUSCA GUIADA ("Encontre meu imóvel") — barras deslizantes e vista mar
   ===================================================================== */

/* Botão principal do hero em destaque */
.btn-hero-primary {
  min-height: 58px;
  padding: 0 30px;
  font-size: 14px;
  box-shadow: 0 14px 38px rgba(180, 134, 62, 0.46);
}

.btn-hero-primary:hover {
  box-shadow: 0 18px 46px rgba(180, 134, 62, 0.58);
}

/* Chamada da busca guiada na barra de pesquisa */
.guided-search-button {
  border-color: var(--gold-light);
  background: linear-gradient(135deg, #2b2419 0%, #1d1810 100%);
  color: #f6dfae;
}

.guided-search-button:hover {
  background: linear-gradient(135deg, #3a2f1e 0%, #241d13 100%);
  color: #fff;
}

/* --- Campo com barra deslizante --- */
.range-field {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #3d382f;
  border-radius: 12px;
  background: #121110;
}

.range-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.range-head > span {
  color: #bdb6aa;
  font-size: 12px;
  font-weight: 700;
}

.range-head output {
  padding: 5px 12px;
  border: 1px solid #4a453d;
  border-radius: 16px;
  background: #0c0c0b;
  color: #b9b1a3;
  font-size: 13px;
  font-weight: 800;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.range-head output.is-set {
  border-color: #a88750;
  background: #2b2419;
  color: #f6dfae;
}

.range-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.range-ends small {
  color: #8b857b;
  font-size: 11px;
}

/* Barra em si: trilha dourada preenchida até a posição atual */
.range-field input[type="range"] {
  --range-fill: 0%;
  width: 100%;
  height: 26px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.range-field input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) var(--range-fill), #302c26 var(--range-fill), #302c26 100%);
}

.range-field input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #302c26;
}

.range-field input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.range-field input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 2px solid #17120a;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6dfae, #d3a659);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.range-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid #17120a;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6dfae, #d3a659);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  cursor: grab;
}

.range-field input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.12);
  box-shadow: 0 5px 16px rgba(180, 134, 62, 0.55);
}

.range-field input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(226, 185, 111, 0.28);
}

.range-field input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
}

/* --- Caixa de seleção (vista mar) --- */
.check-field {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #3d382f;
  border-radius: 12px;
  background: #121110;
  cursor: pointer;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.check-field:hover {
  border-color: #8b7146;
  background: #171511;
}

.check-field input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: var(--gold);
  cursor: pointer;
}

.check-field span {
  display: grid;
  gap: 3px;
}

.check-field strong {
  color: #f0e7d7;
  font-size: 14px;
  font-weight: 700;
}

.check-field small {
  color: #948d82;
  font-size: 12px;
}

.check-field:has(input:checked) {
  border-color: #a88750;
  background: #1e1912;
}

@media (max-width: 680px) {
  .range-field,
  .check-field {
    padding: 14px;
  }

  .range-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* =====================================================================
   BUSCA GUIADA ESTILO AIRBNB — cartões, pastilhas, contadores e
   rodapé com contagem viva. Botão pulsante do hero e link de mapa.
   ===================================================================== */

/* Botão pulsante do hero */
@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 14px 38px rgba(180, 134, 62, 0.44), 0 0 0 0 rgba(226, 185, 111, 0.5);
  }
  50% {
    box-shadow: 0 14px 38px rgba(180, 134, 62, 0.44), 0 0 0 14px rgba(226, 185, 111, 0);
  }
}

.btn-pulse {
  animation: ctaPulse 2.4s ease-out infinite;
}

.btn-pulse:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .btn-pulse {
    animation: none;
  }
}

/* Painel da busca guiada */
.guide-panel {
  padding-bottom: 0;
}

.guide-section {
  padding: 22px 0;
  border-top: 1px solid #2e2b26;
}

.guide-section:first-of-type {
  border-top: 0;
  padding-top: 6px;
}

.guide-section h3 {
  margin: 0 0 14px;
  color: #f0e7d7;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* --- Cartões de objetivo --- */
.tile-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tile {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 16px 14px;
  border: 1px solid #3d382f;
  border-radius: 12px;
  background: #121110;
  color: #cfc8bc;
  cursor: pointer;
  text-align: left;
  transition: border-color 200ms ease, background-color 200ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tile:hover {
  border-color: #8b7146;
  transform: translateY(-2px);
}

.tile svg {
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
  color: var(--gold-light);
}

.tile strong {
  color: #f0e7d7;
  font-size: 15px;
}

.tile small {
  color: #8f887d;
  font-size: 12px;
}

.tile.is-active {
  border-color: var(--gold-light);
  background: #241d12;
  box-shadow: 0 0 0 1px var(--gold-light) inset;
}

.tile.is-active strong {
  color: #fff;
}

/* --- Pastilhas (perfil e comodidades) --- */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #48433b;
  border-radius: 21px;
  background: #121110;
  color: #cfc8bc;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chip:hover {
  border-color: #9d8352;
  color: #fff;
  transform: translateY(-1px);
}

.chip.is-active {
  border-color: var(--gold-light);
  background: linear-gradient(135deg, #f2d191, #cb9d54);
  color: #17120a;
}

/* --- Contadores − / + --- */
.stepper-list {
  display: grid;
  gap: 12px;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid #3d382f;
  border-radius: 12px;
  background: #121110;
  transition: border-color 200ms ease;
}

.stepper.is-set {
  border-color: #8b7146;
}

.stepper > span {
  color: #ddd6ca;
  font-size: 14px;
  font-weight: 600;
}

.stepper-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper-controls button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid #5c554a;
  border-radius: 50%;
  background: transparent;
  color: #e6dfd3;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.stepper-controls button:hover:not(:disabled) {
  border-color: var(--gold-light);
  background: #241d12;
  color: #fff;
}

.stepper-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.32;
}

.stepper-controls output {
  min-width: 78px;
  color: #f0e7d7;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.stepper.is-set .stepper-controls output {
  color: var(--gold-light);
}

/* --- Rodapé fixo com o contador vivo --- */
.guide-footer {
  position: sticky;
  z-index: 5;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px -42px 0;
  padding: 16px 42px;
  border-top: 1px solid #35322d;
  background: #151412;
}

.guide-submit {
  min-width: 190px;
}

@keyframes countBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.guide-submit.bump {
  animation: countBump 320ms ease;
}

.guide-submit.is-empty {
  border-color: #5c554a;
  background: #2a2823;
  color: #b9b1a3;
  box-shadow: none;
  cursor: not-allowed;
}

#guideCount {
  font-variant-numeric: tabular-nums;
}

.guide-select {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #4b4740;
  border-radius: 10px;
  background: #0d0d0c;
  color: var(--text);
}

.guide-select:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(226, 185, 111, 0.14);
  outline: none;
}

/* --- Link do mapa no modal do imóvel --- */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 9px 14px;
  border: 1px solid #d8d2c6;
  border-radius: 22px;
  color: #6c4d1c;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.map-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.map-link:hover {
  border-color: var(--gold);
  background: #f8f3e9;
  color: #4d3612;
}

@media (max-width: 680px) {
  .tile-group {
    grid-template-columns: 1fr;
  }

  .tile {
    align-items: center;
    grid-template-columns: 30px 1fr;
    gap: 2px 12px;
  }

  .tile svg {
    grid-row: span 2;
    margin: 0;
  }

  .guide-footer {
    margin: 8px -18px 0;
    padding: 14px 18px;
  }

  .guide-submit {
    min-width: 0;
    flex: 1;
  }

  .stepper {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .stepper-controls {
    width: 100%;
    justify-content: space-between;
  }
}

/* =====================================================================
   HERO COMPACTO (foto e busca sobem) + CTA BRILHANTE + COMODIDADES
   ===================================================================== */

/* --- Hero mais alto na tela: conteúdo sobe e abre espaço para a busca --- */
.hero,
.hero-inner {
  min-height: 0;
}

.hero {
  padding-bottom: 132px;
}

.hero-inner {
  align-items: end;
}

.hero-copy {
  padding: 26px 0 0;
}

/* A foto sobe e cresce, ocupando melhor o espaço */
.hero-person {
  min-height: 0;
  align-items: flex-end;
}

.hero-person img {
  max-height: 560px;
  margin-bottom: -132px;
}

/* A busca sobe para dentro do hero */
.barra-pesquisa-container {
  margin-top: -112px;
}

@media (max-width: 1180px) {
  .hero {
    padding-bottom: 120px;
  }

  .hero-person img {
    max-height: 480px;
    margin-bottom: -120px;
  }

  .barra-pesquisa-container {
    margin-top: -100px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-bottom: 0;
  }

  .hero-copy {
    padding: 34px 0 20px;
  }

  .hero-person img {
    max-height: 330px;
    margin-bottom: 0;
  }

  .barra-pesquisa-container {
    margin-top: 16px;
  }
}

@media (max-width: 680px) {
  .hero-copy {
    padding: 26px 0 16px;
  }

  .hero-person img {
    max-height: 260px;
  }
}

/* --- CTA brilhante: ouro polido com reflexo que atravessa --- */
.btn-hero-primary {
  position: relative;
  min-height: 62px;
  padding: 0 34px;
  border: 1px solid #f6dfae;
  border-radius: 11px;
  background: linear-gradient(135deg, #fff0cd 0%, #f0cb85 22%, #d3a659 50%, #f4d59a 78%, #c9974a 100%);
  background-size: 220% 100%;
  color: #14100a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  overflow: hidden;
}

/* Reflexo que percorre o botão continuamente */
.btn-hero-primary::before {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-18deg);
  animation: ctaShine 3.6s ease-in-out infinite;
}

@keyframes ctaShine {
  0%, 62% {
    left: -60%;
  }
  92%, 100% {
    left: 130%;
  }
}

.btn-hero-primary:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
}

.btn-hero-primary > span[aria-hidden="true"] {
  background: rgba(20, 16, 10, 0.24);
  color: #14100a;
}

@media (prefers-reduced-motion: reduce) {
  .btn-hero-primary::before {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 680px) {
  .btn-hero-primary {
    width: 100%;
    padding: 0 20px;
    font-size: 12.5px;
  }
}

/* --- Comodidades: grade visual com ícone e contagem --- */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 10px;
}

.amenity {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #3d382f;
  border-radius: 12px;
  background: #121110;
  color: #cfc8bc;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.amenity svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--gold-light);
  transition: color 200ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.amenity span {
  flex: 1;
  line-height: 1.25;
}

/* Contagem viva de cada comodidade */
.amenity i {
  display: grid;
  min-width: 24px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0 6px;
  border-radius: 11px;
  background: #26241f;
  color: #a8a094;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: background-color 200ms ease, color 200ms ease;
}

.amenity:hover:not(:disabled) {
  border-color: #8b7146;
  color: #fff;
  transform: translateY(-2px);
}

.amenity:hover:not(:disabled) svg {
  transform: scale(1.1);
}

.amenity.is-active {
  border-color: var(--gold-light);
  background: #241d12;
  box-shadow: 0 0 0 1px var(--gold-light) inset;
  color: #fff;
}

.amenity.is-active svg {
  color: #ffd894;
}

.amenity.is-active i {
  background: var(--gold-light);
  color: #17120a;
}

.amenity.is-empty,
.amenity:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

@media (max-width: 680px) {
  .amenity-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }

  .amenity {
    min-height: 52px;
    font-size: 12px;
  }

  .amenity svg {
    width: 20px;
    height: 20px;
  }
}

/* =====================================================================
   AJUSTES: Sheila maior, CTAs em destaque, balões nos cards
   ===================================================================== */

/* --- Sheila maior e mais presente --- */
.hero-person img {
  max-height: 660px;
  margin-bottom: -132px;
}

@media (max-width: 1180px) {
  .hero-person img {
    max-height: 560px;
    margin-bottom: -120px;
  }
}

@media (max-width: 900px) {
  .hero-person img {
    max-height: 400px;
    margin-bottom: 0;
  }
}

@media (max-width: 680px) {
  .hero-person img {
    max-height: 320px;
  }
}

/* Sem a sobrelinha, o título começa mais acima */
.hero-copy {
  padding-top: 34px;
}

/* --- "Encontre meu imóvel" da barra de busca: com sal --- */
.guided-search-button {
  min-height: 60px;
  padding: 0 28px;
  border: 1px solid #f6dfae;
  border-radius: 11px;
  background: linear-gradient(135deg, #fff0cd 0%, #f0cb85 22%, #d3a659 50%, #f4d59a 78%, #c9974a 100%);
  background-size: 220% 100%;
  color: #14100a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(180, 134, 62, 0.42);
  transition: background-position 300ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease;
}

.guided-search-button:hover {
  background-position: 100% 0;
  color: #14100a;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(180, 134, 62, 0.56);
}

.search-heading {
  gap: 22px;
}

/* --- "Mais filtros" agora é um convite, não um link apagado --- */
.advanced-filter-toggle {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #8b7146;
  border-bottom: 1px solid #8b7146;
  border-radius: 23px;
  background: #1a1610;
  color: #f0d49d;
}

.advanced-filter-toggle:hover {
  border-color: var(--gold-light);
  background: #241d12;
  color: #fff;
}

/* --- Faixa de chamada da busca guiada no catálogo --- */
.catalog-guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 26px;
  padding: 22px 26px;
  border: 1px solid #4c4336;
  border-radius: 14px;
  background: linear-gradient(135deg, #1b1712 0%, #131210 100%);
}

.catalog-guide-cta > div {
  display: grid;
  gap: 5px;
}

.catalog-guide-cta strong {
  color: #f5e7c9;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.catalog-guide-cta span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.catalog-guide-cta .btn {
  flex: 0 0 auto;
}

@media (max-width: 680px) {
  .catalog-guide-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .catalog-guide-cta strong {
    font-size: 20px;
  }
}

/* --- Balões explicativos no coração e no "+" dos cards --- */
.fav-btn,
.compare-card-btn {
  position: absolute;
}

.fav-btn::after,
.compare-card-btn::after {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: calc(100% + 10px);
  padding: 7px 11px;
  border-radius: 7px;
  background: rgba(12, 12, 11, 0.96);
  color: #f3eee4;
  content: attr(data-tip);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.fav-btn::before,
.compare-card-btn::before {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: calc(100% + 4px);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid rgba(12, 12, 11, 0.96);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 180ms ease;
}

.fav-btn:hover::after,
.fav-btn:focus-visible::after,
.compare-card-btn:hover::after,
.compare-card-btn:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.fav-btn:hover::before,
.fav-btn:focus-visible::before,
.compare-card-btn:hover::before,
.compare-card-btn:focus-visible::before {
  opacity: 1;
}

/* No celular o balão atrapalharia o toque */
@media (hover: none) {
  .fav-btn::after,
  .fav-btn::before,
  .compare-card-btn::after,
  .compare-card-btn::before {
    display: none;
  }
}

/* --- Botões de lista (favoritos, vistos, comparar) mais claros --- */
.catalog-memory button[aria-pressed="true"] {
  border-color: var(--gold-light);
  background: #2b2419;
  color: #f6dfae;
}

.catalog-memory button[aria-pressed="true"]::after {
  margin-left: 4px;
  content: "×";
  font-size: 15px;
  opacity: 0.75;
}

/* Hero com CTA principal; a busca começa na tela seguinte. */
.hero {
  min-height: calc(100vh - 118px);
  padding-bottom: 0;
}

.hero-inner {
  min-height: calc(100vh - 118px);
}

.hero-copy {
  padding-top: 42px;
  padding-bottom: 64px;
}

.hero-person {
  min-height: calc(100vh - 118px);
}

.hero-person img {
  max-height: min(720px, calc(100vh - 118px));
  margin-bottom: 0;
  transform: none;
}

.barra-pesquisa-container {
  margin-top: 34px;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hero,
  .hero-inner,
  .hero-person {
    min-height: calc(100vh - 106px);
  }

  .hero-copy {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .hero-person img {
    max-height: min(620px, calc(100vh - 106px));
  }

  .barra-pesquisa-container {
    margin-top: 28px;
  }
}

@media (max-width: 900px) {
  .hero,
  .hero-inner {
    min-height: calc(100svh - 92px);
  }

  .hero-copy {
    padding: 34px 0 300px;
  }

  .hero-person {
    min-height: 0;
  }

  .hero-person img {
    max-height: 440px;
    margin-bottom: 0;
    transform: none;
  }

  .barra-pesquisa-container {
    margin-top: 24px;
  }
}

@media (max-width: 680px) {
  .hero,
  .hero-inner {
    min-height: max(calc(100svh - 77px), 840px);
  }

  .hero-copy {
    padding: 28px 0 300px;
  }

  .hero-actions {
    position: relative;
    z-index: 5;
  }

  .hero-person img {
    max-height: 420px;
    transform: translateY(52px);
  }
}

/* Consentimento claro para o contato iniciado pelo formulário. */
.owner-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 16px;
  color: #bdb6aa;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
}

.owner-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--gold-light);
}

/* O menu compacto entra antes que os rótulos quebrem em tablets. */
@media (min-width: 901px) and (max-width: 1120px) {
  .main-nav {
    display: none;
  }

  .main-nav.open {
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    padding: 14px 24px 20px;
    border-top: 1px solid #2e2e2e;
    background: #080808;
    flex-direction: column;
    gap: 2px;
  }

  .main-nav.open a,
  .main-nav.open .nav-register {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #262421;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }
}

/* Controles flutuantes aparecem apenas quando ajudam e saem no rodapé. */
@media (max-width: 680px) {
  .mobile-filter-fab {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-filter-fab.context-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .floating-whatsapp.footer-hidden,
  .back-to-top.footer-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px) !important;
  }
}

/* Hierarquia da busca: personalização primeiro, filtros manuais como apoio. */
.search-heading {
  align-items: center;
}

.search-heading-copy {
  max-width: 720px;
}

.search-personalized-note {
  margin: 10px 0 0;
  color: #aaa397;
  font-size: 14px;
  line-height: 1.45;
}

.guided-search-button {
  position: relative;
  isolation: isolate;
  display: flex;
  width: auto;
  min-width: 258px;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 11px 9px 18px;
  overflow: visible;
  border-radius: 5px;
  animation: guidedSearchPulse 3.6s ease-out infinite;
  text-align: left;
  transition: background-position 300ms ease, box-shadow 220ms ease;
  white-space: nowrap;
}

.guided-search-button::before {
  display: none;
}

.guided-search-button strong {
  color: #151109;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guided-search-button > b {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(79, 51, 9, 0.32);
  border-radius: 50%;
  background: rgba(112, 76, 18, 0.13);
  font-size: 16px;
  transition: transform 180ms ease, background-color 180ms ease;
}

.guided-search-button:hover,
.guided-search-button:focus-visible {
  color: #14100a;
  transform: none;
}

.guided-search-button:hover > b,
.guided-search-button:focus-visible > b {
  background: rgba(112, 76, 18, 0.2);
  transform: translateX(2px);
}

@keyframes guidedSearchPulse {
  0%,
  52%,
  100% {
    box-shadow:
      0 10px 24px rgba(180, 134, 62, 0.3),
      0 0 0 0 rgba(235, 192, 111, 0);
  }

  68% {
    box-shadow:
      0 12px 28px rgba(180, 134, 62, 0.38),
      0 0 0 7px rgba(235, 192, 111, 0.16);
  }

  84% {
    box-shadow:
      0 10px 24px rgba(180, 134, 62, 0.3),
      0 0 0 13px rgba(235, 192, 111, 0);
  }
}

.search-launchers {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.search-launcher {
  width: auto;
  min-width: 275px;
  min-height: 42px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid #39352f;
  border-radius: 0;
  background: transparent;
  color: #bbb4a8;
}

.search-launcher:hover,
.search-launcher[aria-expanded="true"] {
  border-color: #8b7146;
  background: transparent;
}

.search-launcher strong {
  color: #c8c0b3;
  font-size: 12px;
}

.search-launcher small {
  color: #777168;
  font-size: 10px;
}

.search-launcher b {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-color: #4b4336;
  font-size: 14px;
}

.search-row-primary .search-btn {
  border: 1px solid #9b7840;
  background: #1d1811;
  color: #efd497;
  box-shadow: none;
}

.search-row-primary .search-btn:hover {
  border-color: var(--gold-light);
  background: #2a2115;
  color: #fff;
}

.catalog-actions .refine-guide-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #675537;
  border-radius: 3px;
  color: #d9bc82;
}

.catalog-actions .refine-guide-link:hover {
  border-color: var(--gold-light);
  background: #1c1812;
  color: #fff0c8;
}

.catalog-clear-filters {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #a79b88;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.catalog-clear-filters.is-active:hover,
.catalog-clear-filters.is-active:focus-visible {
  border-color: #675537;
  color: #f0d79e;
}

.catalog-clear-filters:disabled {
  cursor: default;
  opacity: 0.58;
}

@media (max-width: 680px) {
  .catalog-actions {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .guided-search-button {
    width: min(100%, 280px);
    min-width: 0;
    min-height: 56px;
    margin-top: 18px;
  }

  .guided-search-button strong {
    font-size: 13px;
  }

  .search-launcher {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guided-search-button {
    animation: none;
  }
}

/* A ampliação usa toda a viewport e preserva a foto completa. */
.modal.photo-expanded .modal-panel {
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
}

.modal.photo-expanded .modal-gallery {
  position: relative;
  height: 100dvh;
  grid-template-rows: minmax(0, 1fr);
  padding: 0;
}

.modal.photo-expanded .modal-main-image {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.modal.photo-expanded .modal-main-image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal.photo-expanded .thumbs,
.modal.photo-expanded .gallery-swipe-hint {
  display: none;
}

/* A foto da Sheila permanece nítida e acompanha a hero sem deslocamento. */
@media (max-width: 900px) {
  .hero-person img {
    height: auto;
    opacity: 1;
  }
}

@media (max-width: 680px) {
  .hero-person img {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }
}

/* =====================================================================
   AUDITORIA MOBILE — gestos, alvos de toque e painéis responsivos
   ===================================================================== */

.gallery-swipe-hint {
  display: none;
}

.thumbs {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.thumbs button {
  scroll-snap-align: center;
}

.modal-main-image {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.modal-main-image:active {
  cursor: grabbing;
}

@media (max-width: 680px) {
  .menu-toggle,
  .fav-btn,
  .compare-card-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .search-launcher,
  .catalog-clear-filters,
  .catalog-actions .refine-guide-link,
  .catalog-memory button {
    min-height: 44px;
  }

  .modal-panel {
    width: calc(100% - 8px);
    max-height: calc(100dvh - 8px);
    margin: 4px auto;
    overscroll-behavior: contain;
  }

  .modal-gallery {
    padding: 8px;
  }

  .gallery-swipe-hint {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 2px 0 0;
    color: #d8c294;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .thumbs {
    gap: 7px;
    margin-top: 4px;
    padding: 0 18px 4px 0;
    scrollbar-width: none;
  }

  .thumbs button {
    flex-basis: 88px;
    min-height: 66px;
  }

  .thumbs img {
    width: 84px;
    height: 62px;
  }

  .gallery-nav {
    width: 44px;
    height: 52px;
  }

  .lead-panel,
  .compare-panel,
  .guide-panel {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
    margin: 6px auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amenity {
    min-width: 0;
    gap: 7px;
    padding: 9px;
  }

  .amenity span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .amenity i {
    display: none;
  }

  .back-to-top,
  .back-to-top.visible {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 35px;
  }

  .hero-copy h1 span {
    font-size: 28px;
  }

  .hero-copy > p:not(.hero-eyebrow) {
    font-size: 16px;
  }

  .modal-info {
    padding-right: 16px;
    padding-left: 16px;
  }

  .modal-interest {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* =====================================================================
   DESCOBERTA FLUIDA - BUSCA COMPACTA, CATEGORIAS E GALERIAS NOS CARDS
   ===================================================================== */

.discovery-dock {
  position: fixed;
  z-index: 1450;
  top: 126px;
  left: 50%;
  width: min(620px, calc(100% - 32px));
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -14px);
  transition: opacity 180ms ease, transform 220ms ease, top 180ms ease;
}

.site-header.compact + .discovery-dock {
  top: 126px;
}

.discovery-dock.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.discovery-dock > button {
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 38px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border: 1px solid rgba(226, 188, 116, 0.7);
  border-radius: 29px;
  background: rgba(13, 13, 12, 0.96);
  color: #f5ead3;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(16px);
}

.discovery-dock > button:hover,
.discovery-dock > button:focus-visible {
  border-color: #f0cc83;
  background: #171510;
}

.discovery-dock-icon,
.discovery-dock-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
}

.discovery-dock-icon {
  background: linear-gradient(145deg, #f4d58f, #b88232);
  color: #171109;
}

.discovery-dock-icon svg {
  width: 21px;
  height: 21px;
}

.discovery-dock-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid #6e5b3a;
  color: #e7c57f;
}

.discovery-dock-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.discovery-dock-copy strong {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.discovery-dock-copy small {
  overflow: hidden;
  color: #aaa297;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discovery-rail-wrap {
  margin: 0 0 24px;
}

.discovery-rail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.discovery-rail-heading h3 {
  margin: 3px 0 0;
  color: #f2e8d5;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
}

.discovery-rail-hint {
  display: none;
  color: #918a80;
  font-size: 11px;
}

.discovery-rail {
  display: flex;
  gap: 10px;
  padding: 0 1px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.discovery-rail::-webkit-scrollbar {
  display: none;
}

.discovery-rail > button {
  display: grid;
  min-width: 218px;
  min-height: 72px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid #39352f;
  border-radius: 6px;
  background: #131311;
  color: #d8d0c3;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.discovery-rail > button:hover,
.discovery-rail > button:focus-visible,
.discovery-rail > button.is-active {
  border-color: #bc914b;
  background: #211b12;
  color: #fff2d1;
}

.discovery-rail > button.is-active {
  box-shadow: inset 0 -2px 0 #d4a857;
}

.discovery-chip-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #5b4b31;
  border-radius: 50%;
  color: #dfbc76;
  font-size: 13px;
  font-weight: 900;
}

.discovery-rail > button > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.discovery-rail strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discovery-rail small {
  overflow: hidden;
  color: #8f887e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-image-wrap {
  touch-action: pan-y;
}

.property-image-wrap img {
  transition: opacity 150ms ease, transform 240ms ease;
}

.property-image-wrap.is-changing img {
  opacity: 0.72;
}

.property-image-wrap.slide-forward.is-changing img {
  transform: translateX(-5px) scale(1.02);
}

.property-image-wrap.slide-backward.is-changing img {
  transform: translateX(5px) scale(1.02);
}

.card-gallery-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 38px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(9, 9, 9, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 27px;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 150ms ease, background-color 150ms ease;
}

.card-gallery-prev {
  left: 10px;
}

.card-gallery-next {
  right: 10px;
}

.property-card:hover .card-gallery-nav,
.card-gallery-nav:focus-visible {
  opacity: 1;
}

.card-gallery-nav:hover {
  background: rgba(12, 12, 12, 0.94);
}

.card-gallery-dots {
  position: absolute;
  z-index: 5;
  bottom: 59px;
  left: 50%;
  display: flex;
  gap: 5px;
  pointer-events: none;
  transform: translateX(-50%);
}

.card-gallery-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: width 150ms ease, background-color 150ms ease;
}

.card-gallery-dots i.active {
  width: 14px;
  border-radius: 3px;
  background: #f2cf88;
}

.modal-similar {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.modal-similar-heading {
  margin-bottom: 13px;
}

.modal-similar-heading h3 {
  margin: 4px 0 0;
  color: #2b261f;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.12;
}

.modal-similar-list {
  display: grid;
  gap: 9px;
}

.modal-similar-card {
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: 94px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 7px;
  border: 1px solid #ded8cd;
  border-radius: 6px;
  background: #fff;
  color: #27221c;
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.modal-similar-card:hover,
.modal-similar-card:focus-visible {
  border-color: #b68a43;
  background: #faf6ee;
}

.modal-similar-card img {
  width: 94px;
  height: 68px;
  border-radius: 4px;
  object-fit: cover;
}

.modal-similar-card > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.modal-similar-card small,
.modal-similar-card strong,
.modal-similar-card b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-similar-card small {
  color: #82622e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-similar-card strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
}

.modal-similar-card b {
  color: #5c554c;
  font-size: 11px;
}

.modal-similar-card > i {
  color: #9a7337;
  font-size: 18px;
  font-style: normal;
}

.mobile-bottom-nav {
  display: none;
}

@media (min-width: 1181px) {
  .site-header.compact .main-nav {
    opacity: 0;
    pointer-events: none;
  }

  .site-header.compact + .discovery-dock {
    top: 30px;
    width: 430px;
  }
}

@media (hover: none) {
  .card-gallery-nav {
    opacity: 1;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 72px;
  }

  .discovery-dock,
  .site-header.compact + .discovery-dock {
    top: 82px;
    width: calc(100% - 20px);
  }

  .discovery-dock > button {
    min-height: 54px;
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    padding: 7px 9px;
  }

  .discovery-dock-icon {
    width: 34px;
    height: 34px;
  }

  .discovery-dock-arrow {
    width: 30px;
    height: 30px;
  }

  .discovery-dock-copy strong {
    font-size: 12px;
  }

  .discovery-rail-heading {
    align-items: start;
  }

  .discovery-rail-heading h3 {
    font-size: 22px;
  }

  .discovery-rail-hint {
    display: block;
    max-width: 92px;
    line-height: 1.35;
    text-align: right;
  }

  .discovery-rail {
    margin-right: -20px;
    padding-right: 20px;
  }

  .discovery-rail > button {
    min-width: 184px;
    min-height: 68px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 9px 10px;
  }

  .discovery-chip-icon {
    width: 34px;
    height: 34px;
  }

  .card-gallery-nav {
    width: 40px;
    height: 48px;
    opacity: 1;
  }

  .card-gallery-dots {
    bottom: 58px;
  }

  .photo-total {
    right: auto;
    left: 12px;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 1490;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: 68px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 5px max(8px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid rgba(216, 173, 89, 0.45);
    background: rgba(9, 9, 9, 0.96);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 56px;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 3px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #aaa297;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
  }

  .mobile-bottom-nav svg {
    width: 22px;
    height: 22px;
  }

  .mobile-bottom-nav .is-active,
  .mobile-bottom-nav [aria-current="page"] {
    color: #f0c977;
  }

  .mobile-bottom-nav b {
    position: absolute;
    top: 2px;
    left: calc(50% + 8px);
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    padding: 0 4px;
    border-radius: 9px;
    background: #d6a94f;
    color: #151009;
    font-size: 9px;
  }

  .mobile-filter-fab {
    display: none !important;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 82px;
  }

  .site-footer {
    margin-bottom: calc(-72px - env(safe-area-inset-bottom));
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .modal-similar-list {
    display: flex;
    margin-right: -16px;
    padding: 0 16px 5px 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .modal-similar-list::-webkit-scrollbar {
    display: none;
  }

  .modal-similar-card {
    min-width: 250px;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .discovery-dock,
  .property-image-wrap img,
  .card-gallery-dots i {
    transition: none;
  }
}

/* A foto preserva sua proporcao e termina naturalmente na base da hero. */
@media (min-width: 1181px) {
  .hero-person img {
    width: auto;
    height: 106.4%;
    max-width: none;
    max-height: none;
    clip-path: inset(0 0 6% 0);
    transform: translate(110px, 6%);
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hero-person img {
    width: auto;
    height: 106.4%;
    max-width: none;
    max-height: none;
    clip-path: inset(0 0 6% 0);
    transform: translate(70px, 6%);
  }
}

/* =====================================================================
   HERO MOBILE COMPACTA - elimina a faixa vazia acima do titulo
   ===================================================================== */

@media (max-width: 680px) {
  .hero,
  .hero-inner {
    min-height: max(calc(100svh - 79px), 760px);
  }

  .hero-inner {
    align-items: start;
  }

  .hero-copy {
    padding: 18px 0 300px;
  }

  .hero-person {
    right: -14px;
    bottom: 0;
    left: -14px;
    justify-content: center;
  }

  .hero-person img {
    width: min(100%, 390px);
    max-width: none;
    max-height: 390px;
  }

  .hero-bg {
    background-position: 56% center;
  }

  .discovery-rail {
    margin-right: -14px;
    padding-right: 14px;
  }
}

@media (max-width: 380px) {
  .hero,
  .hero-inner {
    min-height: max(calc(100svh - 79px), 720px);
  }

  .hero-copy {
    padding-top: 14px;
  }

  .hero-person img {
    max-height: 370px;
  }
}

@media (min-width: 381px) and (max-width: 680px) {
  .hero-person img {
    transform: translate3d(0, 36px, 0);
  }
}

@media (min-width: 681px) {
  .modal-main-image {
    cursor: default;
    touch-action: auto;
  }

  .discovery-rail-wrap {
    display: none;
  }

  .barra-pesquisa-container.has-results {
    padding: 16px 22px 14px;
  }

  .barra-pesquisa-container.has-results .search-heading,
  .barra-pesquisa-container.has-results .search-launchers {
    display: none;
  }

  .barra-pesquisa-container.has-results .search-form select,
  .barra-pesquisa-container.has-results .search-row-primary .search-btn {
    height: 44px;
    min-height: 44px;
  }

  .barra-pesquisa-container.has-results .advanced-filter-toggle {
    min-height: 40px;
  }

  .barra-pesquisa-container.has-results .search-meta {
    padding: 10px 14px;
  }
}
