:root {
  /* Paleta Oficial Vertex Imóveis */
  --off-white: #F4F0EA;
  --bronze: #B8895C;
  --grafite-principal: #2B2926;
  --bronze-claro: #D2A97E;
  --bronze-escuro: #7A583C;
  --grafite-secundario: #3A3733;
  --cinza-quente: #A8A19A;
  --cinza-placeholder-claro: #736D65;
  
  /* Tipografia */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  /* Easing sofisticado (Design System DNA) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-sans);
  color: var(--off-white);
  background-color: var(--grafite-principal);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ocultar scrollbar mantendo funcionalidade opcional */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--grafite-principal);
}
::-webkit-scrollbar-thumb {
  background: var(--grafite-secundario);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bronze-escuro);
}

/*----------------------------------------
  Navbar
----------------------------------------*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  z-index: 100;
  transition: height 0.6s var(--ease-out), 
              background-color 0.6s var(--ease-out), 
              backdrop-filter 0.6s var(--ease-out),
              border-color 0.6s var(--ease-out);
  background-color: rgba(43, 41, 38, 0.05);
  border-bottom: 1px solid rgba(244, 240, 234, 0.0);
}

.navbar.scrolled {
  height: 60px;
  background-color: rgba(43, 41, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 240, 234, 0.08);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Centraliza o subtítulo em relação ao título */
}

.nav-logo-title {
  font-family: var(--font-sans); /* Trocado para Inter (sem serifa) */
  font-size: 1.6rem; /* Aumentado para mais imponência */
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--off-white);
  text-transform: uppercase;
  line-height: 0.9; /* Ajuda a colar mais no subtítulo */
}


.nav-logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--bronze-claro);
  margin-top: 1px; /* Espaço quase zerado para formar um bloco sólido */
  text-transform: uppercase;
  margin-right: -6px; /* Compensa o letter-spacing para o alinhamento ficar matematicamente perfeito no centro */
}

.vertex-logo-svg {
  width: 32px; /* Aumentado para acompanhar a tipografia maior */
  height: auto;
  display: block;
}

/* Animação sequencial dos andares do símbolo */
#vertex-floor-1,
#vertex-floor-2,
#vertex-floor-3,
#vertex-floor-4 {
  /* Estado base: branco/prata claro (sem usar opacity para evitar o 'dip' escuro no meio da animação) */
  filter: grayscale(100%) brightness(2.5);
  animation: logoPulse 2.5s infinite;
  transform-origin: center;
}

#vertex-floor-1 { animation-delay: 0s; }
#vertex-floor-2 { animation-delay: 0.2s; }
#vertex-floor-3 { animation-delay: 0.4s; }
#vertex-floor-4 { animation-delay: 0.6s; }

@keyframes logoPulse {
  0%, 60%, 100% {
    filter: grayscale(100%) brightness(2.5);
  }
  30% {
    /* Acende com o bronze original perfeitamente */
    filter: grayscale(0%) brightness(1);
  }
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--off-white);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: color 0.4s var(--ease-out);
}

.nav-link:hover {
  color: var(--bronze-claro);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-hamburger {
  background: transparent;
  border: none;
  color: var(--off-white);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  padding: 0;
}

.nav-hamburger:hover {
  color: var(--bronze-claro);
  transform: translateY(-2px);
}

.nav-whatsapp {
  color: #ffffff;
  font-size: 1.4rem;
  transition: background-color 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  text-decoration: none;
}

.nav-whatsapp:hover { 
  background-color: #1EBE5D;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/*----------------------------------------
  Mega Menu Overlay
----------------------------------------*/
.mega-menu {
  position: fixed;
  inset: 0;
  background-color: rgba(28, 27, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-close {
  position: absolute;
  top: 2.5rem;
  right: 5%;
  background: transparent;
  border: none;
  color: var(--off-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  z-index: 10000;
}

.mega-menu-close:hover {
  color: var(--bronze-claro);
  transform: rotate(90deg);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  width: 90%;
  max-width: 1200px;
  gap: 4rem;
}

.mega-menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mega-menu-nav .mega-link {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--off-white);
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  transition: color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  position: relative;
  /* GSAP initial state */
  opacity: 0;
  transform: translateY(30px);
}

.mega-menu-nav .mega-link:hover {
  color: var(--bronze-claro);
  transform: translateX(20px);
  font-style: italic;
}

.mega-menu-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  border-left: 1px solid rgba(244, 240, 234, 0.1);
  padding-left: 4rem;
}

.mega-info-group h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bronze);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.mega-info-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mega-info-group a,
.mega-info-group p {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(244, 240, 234, 0.7);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
}

.mega-info-group a:hover {
  color: var(--off-white);
}

.mega-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.mega-social a {
  font-size: 1.5rem;
}

/* Responsividade do Mega Menu */
@media (max-width: 900px) {
  .mega-menu {
    align-items: flex-start;
    overflow-y: auto;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 6rem 0 3rem 0;
  }
  .mega-menu-nav .mega-link {
    font-size: 3rem;
  }
  .mega-menu-info {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(244, 240, 234, 0.1);
    padding-top: 2rem;
    gap: 2rem;
  }
}

/*----------------------------------------
  Hero Section
----------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  z-index: 1;
  background-color: var(--grafite-principal);
  overflow: hidden;
}

.hero-bg img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  object-position: center 60%; /* Ajuste fino de enquadramento */
  transform-origin: center;
  will-change: transform;
}

/* Overlays sutis para garantir contraste */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(
    to bottom, 
    rgba(43,41,38,0.7) 0%, 
    rgba(43,41,38,0.2) 30%, 
    rgba(43,41,38,0.2) 60%, 
    rgba(43,41,38,0.85) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-overlay-radial {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(43,41,38,0) 40%, rgba(43,41,38,0.4) 100%);
  z-index: 2;
  pointer-events: none;
}

/*----------------------------------------
  Content (Headline & Filter)
----------------------------------------*/
.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  width: 100%;
  max-width: 1100px;
  padding: 0 2rem;
  margin-top: -2rem; /* Subir sutilmente para compensar o indicador */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subheadline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--bronze-claro);
  margin-bottom: 1.5rem;
  font-weight: 500;
  opacity: 0;
}

.headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 3.5rem;
  color: var(--off-white);
  max-width: 900px;
}

.headline em {
  font-style: italic;
  color: var(--bronze-claro);
  font-weight: 500;
}

.headline-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.2em; /* Prevenir corte de descenders */
  margin-bottom: -0.2em;
}

.headline-inner {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

/*----------------------------------------
  Filter Block
----------------------------------------*/
.filter-wrapper {
  opacity: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.filter-block {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 980px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.filter-tabs {
  display: flex;
  gap: 2rem;
  padding: 0 1rem 1rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.filter-tab {
  background: none;
  border: none;
  color: var(--cinza-quente);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  padding-bottom: 0.75rem;
  position: relative;
  transition: color 0.4s var(--ease-out);
  margin-bottom: -1rem; /* Alinhar com a borda */
}

.filter-tab:hover {
  color: var(--bronze-claro);
}

.filter-tab.active {
  color: var(--grafite-principal);
}

.filter-tab::after {
  content: '';
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  height: 2px;
  background-color: var(--bronze);
  transform: scaleX(0); 
  transition: transform 0.4s var(--ease-out);
}

.filter-tab.active::after { 
  transform: scaleX(1); 
}

.filter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: stretch;
}

.filter-field {
  background: #f9f9f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
  position: relative;
}

.filter-field:hover, .filter-field:focus-within {
  border-color: var(--bronze);
  background: #ffffff;
}

.filter-field label {
  font-size: 0.65rem;
  color: var(--grafite-secundario);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  cursor: pointer;
}

.filter-field select, 
.filter-field input {
  background: transparent;
  border: none;
  color: var(--grafite-principal);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.filter-field input { 
  cursor: text; 
}

.filter-field input::placeholder {
  color: #999999;
}

/* Seta customizada para selects */
.filter-field select + iconify-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999999;
  pointer-events: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.filter-field:hover select + iconify-icon {
  color: var(--grafite-principal);
}

/* Custom Select Dropdowns */
.custom-select-wrapper {
  position: relative;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
}
.custom-select-value {
  color: var(--grafite-principal, #2b2926);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 85%;
  transition: color 0.2s ease;
}

/* Campos claros (hero desktop, listagem e padrão do portal) */
.custom-select-value.is-placeholder {
  color: var(--cinza-placeholder-claro, #736d65);
  font-weight: 400;
}

.custom-select-value.has-value {
  color: var(--grafite-principal, #2b2926);
  font-weight: 500;
}
.custom-select-trigger iconify-icon {
  color: #999999;
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease-out), color 0.3s;
}
.filter-field:hover .custom-select-trigger iconify-icon,
.custom-select-wrapper.open .custom-select-trigger iconify-icon {
  color: var(--grafite-principal);
}
.custom-select-wrapper.open .custom-select-trigger iconify-icon {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
  width: max-content;
  min-width: 100%;
  max-width: 980px; /* Limite do bloco de busca branco */
  max-height: 250px; /* Altura limite da dobra */
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out);
  z-index: 100;
  padding: 1.25rem;
}
.custom-select-wrapper.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Suporte à abertura para cima quando faltar espaço abaixo */
.custom-select-wrapper.open-upwards .custom-select-dropdown {
  top: auto;
  bottom: calc(100% + 12px);
  transform: translateY(-10px);
}
.custom-select-wrapper.open.open-upwards .custom-select-dropdown {
  transform: translateY(0);
}

.custom-select-dropdown::-webkit-scrollbar {
  width: 6px;
}
.custom-select-dropdown::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.02);
  border-radius: 4px;
}
.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 4px;
}
.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--bronze-claro);
}

.custom-select-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.custom-select-options.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--grafite-secundario);
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}
.custom-checkbox:hover {
  color: var(--bronze);
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.custom-checkbox .checkmark {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 4px;
  display: grid;
  place-content: center;
  transition: all 0.2s;
  background-color: #f9f9f9;
}
.custom-checkbox .checkmark::after {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #ffffff;
  background-color: #ffffff;
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--bronze);
  border-color: var(--bronze);
}
.custom-checkbox input:checked ~ .checkmark::after {
  transform: scale(1);
}

.btn-search {
  background-color: var(--bronze);
  color: var(--off-white);
  border: none;
  border-radius: 6px;
  padding: 0 2.5rem;
  height: 100%;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.4s var(--ease-out), transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-search:hover {
  background-color: var(--bronze-claro);
}

.btn-search:active {
  transform: scale(0.97);
}

/* Feedback Acessível de Validação da Busca Hero */
.hero-search-feedback {
  margin-top: 0.8rem;
  padding: 0.6rem 1.25rem;
  background: rgba(43, 41, 38, 0.92);
  border: 1px solid var(--bronze);
  border-radius: 8px;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-align: center;
  max-width: 980px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  animation: fadeInFeedback 0.3s var(--ease-out);
}

@keyframes fadeInFeedback {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-advanced {
  margin-top: 1.2rem;
  background: none; 
  border: none;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s var(--ease-out);
}

.filter-advanced .icon-mobile,
.filter-advanced .text-mobile {
  display: none !important;
}

.filter-advanced .icon-desktop,
.filter-advanced .text-desktop {
  display: inline-flex;
}

.filter-advanced:hover { 
  color: var(--bronze-claro); 
}

/*----------------------------------------
  Scroll Indicator
----------------------------------------*/
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  z-index: 10;
  opacity: 0;
}

.scroll-text {
  font-size: 0.6rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cinza-quente);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.2rem;
}

.scroll-arrows .arrow {
  color: rgba(244, 240, 234, 0.15); /* Cor cinza/branca transparente (mesma do traço anterior) */
  font-size: 1.4rem;
  margin-top: -10px; /* Aproxima as setas para formar uma sequência orgânica */
  animation: arrowPulse 1.8s infinite;
}

.scroll-arrows .arrow-1 { animation-delay: 0s; }
.scroll-arrows .arrow-2 { animation-delay: 0.2s; }
.scroll-arrows .arrow-3 { animation-delay: 0.4s; }

@keyframes arrowPulse {
  0%, 60%, 100% {
    color: rgba(244, 240, 234, 0.15);
  }
  30% {
    color: var(--bronze-claro);
  }
}

/* Dummy section para validar o scroll */
.next-section {
  height: 100vh;
  background-color: var(--grafite-secundario);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinza-quente);
  font-family: var(--font-serif);
  font-size: 2rem;
}

/*----------------------------------------
  Responsividade
----------------------------------------*/
@media (max-width: 1024px) {
  .navbar {
    padding: 0 2rem;
  }
  .filter-fields {
    grid-template-columns: 1fr 1fr;
  }
  .btn-search {
    grid-column: 1 / -1;
    padding: 1rem;
  }
  .filter-field select + iconify-icon {
    right: 1.5rem;
  }
  .nav-menu { 
    display: none; 
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1.5rem;
  }
  .nav-logo {
    font-size: 1.2rem;
  }
  .nav-whatsapp {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    box-sizing: border-box;
    padding-top: calc(80px + 22px); /* Base da navbar fixa (80px) + respiro de ~22px */
    padding-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    row-gap: 0;
  }
  .hero-content {
    padding: 0 1.5rem;
    margin-top: auto;
    margin-bottom: 0;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .subheadline {
    font-size: clamp(0.72rem, 2.4vw, 0.8rem);
    letter-spacing: 2.5px;
    margin-bottom: 0.75rem;
    color: var(--bronze-claro);
    font-weight: 500;
  }
  .headline {
    font-size: clamp(1.85rem, 6.2vw, 2.5rem);
    line-height: 1.22;
    margin-bottom: 1.4rem; /* Respiro de ~22px entre frase e botão */
    color: var(--off-white);
    max-width: 100%;
  }
  /* No mobile: oculta formulário da hero e exibe botão principal "Buscar Imóveis" */
  .filter-block {
    display: none !important;
  }
  .filter-advanced {
    margin-top: 0;
    width: 100%;
    max-width: 320px;
    height: 50px;
    min-height: 48px;
    max-height: 52px;
    background-color: var(--bronze-escuro, #7A583C);
    color: var(--off-white, #F4F0EA) !important;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: background-color 0.3s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), filter 0.2s var(--ease-out);
  }
  .filter-advanced:hover,
  .filter-advanced:focus-visible {
    background-color: var(--bronze-escuro, #7A583C);
    color: var(--off-white, #F4F0EA) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    filter: brightness(1.08);
  }
  .filter-advanced:active {
    transform: scale(0.98);
    background-color: var(--bronze-escuro, #7A583C);
    color: var(--off-white, #F4F0EA) !important;
  }
  .filter-advanced:focus-visible {
    outline: 2px solid var(--off-white);
    outline-offset: 2px;
  }
  .filter-advanced .icon-desktop,
  .filter-advanced .text-desktop {
    display: none !important;
  }
  .filter-advanced .icon-mobile,
  .filter-advanced .text-mobile {
    display: inline-flex !important;
    align-items: center;
    color: var(--off-white, #F4F0EA) !important;
  }
  .filter-advanced .icon-mobile {
    font-size: 1.15rem;
  }
  .scroll-indicator {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: auto;
    margin-bottom: 1.25rem;
    z-index: 10;
  }
  .scroll-text {
    display: none !important;
  }
  .scroll-arrows {
    transform: scale(1) !important;
  }
  .scroll-arrows .arrow {
    font-size: 2rem;
    margin-top: -16px;
  }

  /* Dropdowns no mobile: coluna única, quebra de linha em nomes longos e largura contida */
  .custom-select-dropdown {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
    max-height: min(280px, 45vh);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .custom-select-options,
  .custom-select-options.two-columns {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .custom-checkbox {
    white-space: normal !important;
    word-break: break-word !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    min-height: 42px !important;
    padding: 4px 0 !important;
    box-sizing: border-box !important;
  }
  .custom-checkbox .checkmark {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
  }
  .custom-checkbox .cb-text {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
  }
}

/*----------------------------------------
  Acessibilidade
----------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .scroll-line::after { 
    animation: none; 
    background: var(--off-white); 
    transform: translateY(0);
    height: 100%;
  }
  .headline-inner, 
  .subheadline, 
  .filter-wrapper, 
  .scroll-indicator,
  .navbar {
    transform: none !important; 
    opacity: 1 !important;
    transition: none !important;
  }
  .hero-bg img {
    transform: none !important;
  }
}

/* Fallback sem animação (GSAP/ScrollTrigger indisponíveis ou movimento reduzido):
   classe aplicada por assets/main.js para manter o conteúdo da hero visível. */
.vortex-no-motion .headline-inner,
.vortex-no-motion .subheadline,
.vortex-no-motion .filter-wrapper,
.vortex-no-motion .scroll-indicator,
.vortex-no-motion .navbar {
  transform: none !important;
  opacity: 1 !important;
}

/* Sem GSAP: os itens do mega-menu não são revelados pela timeline. */
.vortex-no-gsap .mega-menu-nav .mega-link,
.vortex-no-gsap .mega-info-group h4,
.vortex-no-gsap .mega-info-group a,
.vortex-no-gsap .mega-info-group p,
.vortex-no-gsap .mega-social {
  opacity: 1;
  transform: none;
}

/*----------------------------------------
  Mega Menu Overlay
----------------------------------------*/
.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out);
}

.mega-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mega-menu-left {
  flex: 0 0 45%;
  position: relative;
  background-color: var(--grafite-principal);
  overflow: hidden;
  transform: translateX(-10%);
  transition: transform 0.8s var(--ease-out);
}

.mega-menu.open .mega-menu-left {
  transform: translateX(0);
}

.mega-menu-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.mega-menu-logo-overlay {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: var(--font-sans);
  font-size: 4rem;
  color: rgba(244, 240, 234, 0.15);
  letter-spacing: 15px;
  pointer-events: none;
}

.mega-menu-right {
  flex: 1;
  background-color: var(--grafite-principal);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateX(10%);
  transition: transform 0.8s var(--ease-out);
}

.mega-menu.open .mega-menu-right {
  transform: translateX(0);
}

.mega-menu-close {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  background: transparent;
  border: none;
  color: var(--off-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), color 0.4s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-menu-close:hover {
  transform: rotate(90deg);
  color: var(--bronze-claro);
}

.mega-menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 15% 2rem 15%;
}

.mega-menu-nav {
  display: flex;
  gap: 15%;
  margin-bottom: 4rem;
}

.mega-nav-primary {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mega-nav-primary a {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--off-white);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.mega-nav-primary a:hover {
  color: var(--bronze-claro);
}

.mega-nav-secondary {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.mega-nav-group h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(244, 240, 234, 0.6);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.mega-nav-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mega-nav-group a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.3s;
}

.mega-nav-group a:hover {
  color: var(--bronze-claro);
}

.mega-menu-location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.mega-menu-location > span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--off-white);
}

.location-selector {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--off-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

.btn-area-cliente {
  background-color: var(--bronze);
  color: var(--off-white);
  border: none;
  border-radius: 20px;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-area-cliente:hover {
  background-color: var(--bronze-claro);
}

.mega-menu-footer {
  background-color: var(--grafite-secundario);
  padding: 2rem 15%;
  display: flex;
  gap: 4rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-city {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(244, 240, 234, 0.6);
  text-transform: uppercase;
}

.contact-number {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--off-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.contact-number iconify-icon {
  font-size: 1.2rem;
  color: #25D366;
}

.contact-number:hover {
  color: var(--bronze-claro);
}

/* Responsividade Mega Menu */
@media (max-width: 900px) {
  .mega-menu-left {
    display: none;
  }
  .mega-menu-nav {
    flex-direction: column;
    gap: 3rem;
  }
  .mega-menu-footer {
    flex-direction: column;
    gap: 2rem;
  }
}

/*----------------------------------------
  Filtro Detalhado Overlay
----------------------------------------*/
.filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  opacity: 0;
  pointer-events: none;
  /* Fechado: fora da ordem de Tab. A visibilidade muda só após o fade de saída. */
  visibility: hidden;
  transition: opacity 0.6s var(--ease-out), visibility 0s linear 0.6s;
}

.filter-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.6s var(--ease-out), visibility 0s linear 0s;
}

.filter-left {
  flex: 0 0 45%;
  position: relative;
  background-color: var(--grafite-principal);
  overflow: hidden;
  transform: translateX(-10%);
  transition: transform 0.8s var(--ease-out);
}

.filter-overlay.open .filter-left {
  transform: translateX(0);
}

.filter-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.filter-logo-overlay {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: var(--font-sans);
  font-size: 4rem;
  color: rgba(244, 240, 234, 0.15);
  letter-spacing: 15px;
  pointer-events: none;
}

.filter-right {
  flex: 1;
  background-color: var(--grafite-principal);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateX(10%);
  transition: transform 0.8s var(--ease-out);
}

.filter-overlay.open .filter-right {
  transform: translateX(0);
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 3rem 1.5rem 3rem;
  border-bottom: 1px solid rgba(244, 240, 234, 0.08);
}

.filter-title {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  color: var(--off-white);
  font-weight: 300;
  letter-spacing: 2px;
}

.filter-title span {
  font-family: var(--font-sans);
  color: var(--bronze-claro);
  font-weight: 700;
  letter-spacing: 3px;
}

.filter-close {
  background: transparent;
  border: none;
  color: var(--off-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), color 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-close:hover {
  transform: rotate(90deg);
  color: var(--bronze-claro);
}

.filter-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Custom Scrollbar for Filter */
.filter-body::-webkit-scrollbar {
  width: 6px;
}
.filter-body::-webkit-scrollbar-track {
  background: rgba(244, 240, 234, 0.02);
}
.filter-body::-webkit-scrollbar-thumb {
  background: rgba(244, 240, 234, 0.1);
  border-radius: 3px;
}
.filter-body::-webkit-scrollbar-thumb:hover {
  background: var(--bronze);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cinza-quente);
}

/* Inputs & Selects */
.form-input {
  width: 100%;
  background: rgba(244, 240, 234, 0.03);
  border: 1px solid rgba(244, 240, 234, 0.15);
  border-radius: 20px;
  padding: 0.8rem 1.2rem;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.form-input:focus {
  border-color: var(--bronze);
  outline: none;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  width: 100%;
  background: rgba(244, 240, 234, 0.03);
  border: 1px solid rgba(244, 240, 234, 0.15);
  border-radius: 20px;
  padding: 0.8rem 1.2rem;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s;
}

.custom-select select:focus {
  border-color: var(--bronze);
  outline: none;
}

.custom-select iconify-icon {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cinza-quente);
  pointer-events: none;
}

/* Custom Select Dropdowns overrides for dark overlay */
.filter-overlay .custom-select-wrapper {
  background: rgba(244, 240, 234, 0.03);
  border: 1px solid rgba(244, 240, 234, 0.15);
  border-radius: 20px;
  padding: 0.8rem 1.2rem;
  transition: border-color 0.3s;
}

.filter-overlay .custom-select-wrapper.open {
  border-color: var(--bronze);
}

.filter-overlay .custom-select-trigger {
  padding: 0;
}

/* Painel escuro (Busca Detalhada e formulários escuros) */
.filter-overlay .custom-select-value,
.anunciar-formulario .custom-select-value {
  color: var(--off-white, #f4f0ea);
}

.filter-overlay .custom-select-value.is-placeholder,
.anunciar-formulario .custom-select-value.is-placeholder {
  color: var(--cinza-quente, #a8a19a);
  font-weight: 400;
}

.filter-overlay .custom-select-value.has-value,
.anunciar-formulario .custom-select-value.has-value {
  color: var(--off-white, #f4f0ea);
  font-weight: 500;
}

.filter-overlay .custom-select-trigger iconify-icon {
  color: var(--cinza-quente);
}

.filter-overlay .custom-select-wrapper.open .custom-select-trigger iconify-icon {
  color: var(--bronze);
}

.filter-overlay .custom-select-dropdown,
.anunciar-formulario .custom-select-dropdown {
  background: #252422; /* Ligeiramente mais claro que o grafite principal */
  border: 1px solid rgba(244, 240, 234, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  z-index: 1000;
  top: calc(100% + 10px);
}

.filter-overlay .custom-select-options,
.anunciar-formulario .custom-select-options {
  padding: 1rem;
}

.filter-overlay .custom-checkbox,
.anunciar-formulario .custom-checkbox {
  color: var(--off-white);
}

.filter-overlay .custom-checkbox:hover,
.anunciar-formulario .custom-checkbox:hover {
  background: transparent !important;
  text-decoration: none !important;
  color: var(--bronze) !important;
}

/* Toggle Pills */
.form-toggle-pill {
  display: flex;
  background: rgba(244, 240, 234, 0.03);
  border: 1px solid rgba(244, 240, 234, 0.15);
  border-radius: 30px;
  overflow: hidden;
  padding: 2px;
}

.toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1rem;
  color: var(--cinza-quente);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s;
  /* Garante altura e alinhamento do texto */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.toggle-btn.active {
  background: var(--grafite-secundario);
  color: var(--off-white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Overrides dos Toggles para o Overlay Escuro (Filtro Detalhado) */
.filter-overlay .form-toggle-pill,
.anunciar-formulario .form-toggle-pill {
  background: rgba(0, 0, 0, 0.2); 
  border: 1px solid rgba(244, 240, 234, 0.1);
  min-height: 50px !important;
  display: flex !important;
  align-items: stretch !important;
}

.filter-overlay .toggle-btn,
.anunciar-formulario .toggle-btn {
  color: var(--cinza-quente);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100% !important;
  height: auto !important;
}

.filter-overlay .toggle-btn.active,
.anunciar-formulario .toggle-btn.active {
  background: var(--bronze); /* Botão ativo no modo escuro usa a cor primária para destacar! */
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(184, 137, 92, 0.4); /* Brilho bronze */
}

/* Range Sliders Funcionais */
.range-slider-container {
  position: relative;
  width: 100%;
  height: 40px; /* Espaço para pegar os "knobs" */
  display: flex;
  align-items: center;
}

.range-track-visual {
  position: absolute;
  width: 100%;
  height: 4px;
  background: rgba(244, 240, 234, 0.1);
  border-radius: 2px;
  z-index: 1;
}

.range-fill-visual {
  position: absolute;
  height: 100%;
  background: var(--bronze);
  border-radius: 2px;
  left: 0%;
  right: 0%;
}

.range-slider-container input[type="range"] {
  position: absolute;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

.range-slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--bronze);
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.range-slider-container input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--bronze);
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.range-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.range-slider-header label {
  margin-bottom: 0;
  text-transform: uppercase;
}

.range-slider-summary {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--off-white);
  letter-spacing: 0.3px;
}

.range-slider-summary .highlight-val {
  color: var(--bronze);
  font-weight: 600;
}

.overlay-filter-feedback {
  margin-bottom: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(43, 41, 38, 0.95);
  border: 1px solid var(--bronze);
  border-radius: 8px;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-align: center;
  animation: fadeInFeedback 0.3s var(--ease-out);
}

.results-count-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.btn-clear-active-filters {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: opacity 0.2s ease;
}

.btn-clear-active-filters:hover {
  opacity: 0.8;
  color: var(--bronze-claro, #d19f72);
}

@media (max-width: 768px) {
  .range-slider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.range-inputs-text {
  display: flex;
  justify-content: space-between;
  margin-top: -0.5rem;
}

.range-value-min, .range-value-max {
  color: var(--cinza-quente);
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

/* Checkboxes */
.checkbox-row {
  display: flex;
  gap: 2rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--off-white);
  position: relative;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 18px;
  width: 18px;
  background-color: rgba(244, 240, 234, 0.05);
  border: 1px solid rgba(244, 240, 234, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--bronze-claro);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--bronze);
  border-color: var(--bronze);
}

.checkmark:after {
  content: "";
  display: none;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Button Groups */
.btn-group {
  display: flex;
}

.group-btn {
  flex: 1;
  background: rgba(244, 240, 234, 0.03);
  border: 1px solid rgba(244, 240, 234, 0.15);
  padding: 0.6rem;
  color: var(--cinza-quente);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.group-btn:not(:last-child) {
  border-right: none;
}

.group-btn:first-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.group-btn:last-child {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.group-btn.active, .group-btn:hover {
  background: var(--grafite-secundario);
  color: var(--off-white);
  border-color: var(--bronze);
}

/* Filter Action Button */
.filter-action {
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.btn-filtrar-imoveis {
  background-color: var(--bronze);
  color: var(--off-white);
  border: none;
  border-radius: 30px;
  padding: 1rem 3rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  width: 100%;
  justify-content: center;
}

.btn-filtrar-imoveis:hover {
  background-color: var(--bronze-claro);
}

.btn-filtrar-imoveis:active {
  transform: scale(0.98);
}

/* Responsividade Filtro Detalhado */
@media (max-width: 900px) {
  .filter-left {
    display: none;
  }
  .filter-header {
    padding: 2rem 1.5rem 1rem 1.5rem;
  }
  .filter-body {
    padding: 1.5rem;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .checkbox-row {
    flex-direction: column;
    gap: 1rem;
  }
}

/*----------------------------------------
  Imóveis Mais Vistos (2ª Dobra)
----------------------------------------*/
.properties-section {
  padding: 6rem 0 6rem 0; /* Full bleed: zero lateral padding. 6rem top/bottom for equal rhythm */
  background-color: var(--off-white);
  overflow: hidden;
}

.properties-header {
  padding: 0 5%; /* Alinhamento do título restaurado */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  text-align: left;
}

.properties-title-group h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--grafite-principal);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.properties-title-group p {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--grafite-secundario);
}

.properties-nav {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  background: transparent;
  border: 1px solid var(--cinza-quente);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grafite-principal);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-btn:hover {
  background-color: var(--bronze);
  border-color: var(--bronze);
  color: var(--off-white);
}

.properties-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 5% 2rem 5%; /* Alinha com o título, mas permite vazar no scroll */
  
  /* Máscara de Transparência para as bordas (Fading Edge) */
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);

  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.properties-carousel::-webkit-scrollbar {
  display: none;
}

.property-card {
  flex: 0 0 350px;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-image-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.badge {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background-color: rgba(244, 240, 234, 0.9);
  color: var(--grafite-principal);
  letter-spacing: 1px;
}

.badge-venda {
  background-color: var(--bronze);
  color: var(--off-white);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244, 240, 234, 0.5);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grafite-principal);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  z-index: 2;
}

.property-card:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow:hover {
  background: rgba(244, 240, 234, 0.9);
}

.gallery-arrow.left {
  left: 1rem;
}

.gallery-arrow.right {
  right: 1rem;
}

.gallery-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
  max-width: 80%;
  flex-wrap: wrap;
  justify-content: center;
  pointer-events: auto;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(244, 240, 234, 0.5);
  transition: background-color 0.3s;
  cursor: pointer;
}

.dot.active {
  background-color: var(--off-white);
}

/* Links de título nos cards para acessibilidade semântica */
.card-title a,
.card-title-link {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover,
.card-title-link:hover {
  color: var(--bronze);
}

.property-card:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--grafite-principal);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.card-details {
  display: flex;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--cinza-quente);
  margin-bottom: 1.5rem;
}

.card-details span {
  display: flex;
  align-items: center;
}

.card-divider {
  border: 0;
  height: 1px;
  background-color: rgba(43, 41, 38, 0.1);
  margin: auto 0 1rem 0;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--grafite-secundario);
  margin-bottom: 0.2rem;
}

.price-value {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--grafite-principal);
}

.btn-favorite {
  background: transparent;
  border: none;
  color: var(--cinza-quente);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s, transform 0.2s;
  display: flex;
}

.btn-favorite:hover {
  color: var(--bronze-claro);
  transform: scale(1.1);
}

/* Responsividade Imóveis Mais Vistos */
@media (max-width: 768px) {
  .properties-section {
    padding: 4rem 0;
  }
  .properties-header {
    padding: 0 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .properties-nav {
    width: 100%;
    justify-content: space-between;
  }
  .properties-nav .btn-link-all {
    margin-right: auto; /* Empurra as setas juntas para a direita */
  }
  .properties-title-group h2 {
    font-size: 1.5rem;
  }
  .properties-title-group p {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  .properties-nav .nav-btn {
    width: 36px;
    height: 36px;
  }
  .gallery-arrow {
    opacity: 1; /* Mantém as setas de navegação interna sempre visíveis no mobile */
    width: 28px;
    height: 28px;
  }
  .gallery-arrow iconify-icon {
    font-size: 16px;
  }
  .properties-carousel {
    padding: 0 1.5rem 2rem 1.5rem;
    gap: 1rem; /* Aproxima um pouco mais os cards no mobile */
  }
  .property-card {
    flex: 0 0 85vw; /* Deixa 15% para o próximo card aparecer (Sliver) */
    scroll-snap-align: center;
  }
}

/* Focus states para acessibilidade */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Foco visível pelo teclado em controles personalizados.
   Fundos claros: bronze escuro; painéis e formulários escuros: bronze claro (contraste ≥ 3:1). */
.custom-select-trigger:focus-visible {
  outline: 2px solid var(--bronze-escuro);
  outline-offset: 2px;
}
.custom-checkbox input:focus-visible ~ .checkmark {
  outline: 2px solid var(--bronze-escuro);
  outline-offset: 2px;
}
.filter-overlay .custom-select-trigger:focus-visible,
.anunciar-formulario .custom-select-trigger:focus-visible,
.filter-overlay .custom-checkbox input:focus-visible ~ .checkmark,
.anunciar-formulario .custom-checkbox input:focus-visible ~ .checkmark {
  outline-color: var(--bronze-claro);
}

/*----------------------------------------
  Dobra 3 (Exclusividades Vertex)
----------------------------------------*/
.exclusive-section {
  padding: 6rem 0 4rem 0; /* Full bleed: zero lateral padding */
  background-color: var(--grafite-principal);
  color: var(--off-white);
  overflow: hidden;
}

.exclusive-header {
  padding: 0 5%; /* Alinhamento do título restaurado */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  text-align: left;
}

.exclusive-title-group h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.exclusive-title-group p {
  font-size: 1rem;
  color: #cccccc; /* Slightly dimmed for contrast */
}

/* Os botões de seta da dobra escura precisam de estilo adaptado (claros) */
.exclusive-header .nav-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--off-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.exclusive-header .nav-btn:hover {
  background: var(--off-white);
  color: var(--grafite-principal);
}

.exclusive-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 5% 2rem 5%; /* Alinha com o título, mas permite vazar no scroll */
  
  /* Máscara de Transparência para as bordas (Fading Edge) */
  -webkit-mask-image: linear-gradient(to right, transparent, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, transparent);
  mask-image: linear-gradient(to right, transparent, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, transparent);

  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.exclusive-carousel::-webkit-scrollbar {
  display: none;
}

/* Responsividade Exclusividades */
@media (max-width: 768px) {
  .exclusive-section {
    padding: 4rem 0;
  }
  .exclusive-header {
    padding: 0 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .exclusive-title-group h2 {
    font-size: 1.5rem;
  }
  .exclusive-title-group p {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  .exclusive-carousel {
    padding: 0 1.5rem 2rem 1.5rem;
    gap: 1rem;
  }
  .exclusive-section .property-card {
    flex: 0 0 85vw;
    scroll-snap-align: center;
  }
}

/*----------------------------------------
  Dobra 3 - Estilos de Card Escuro (Opção B)
----------------------------------------*/
.exclusive-section .property-card {
  background-color: var(--grafite-secundario);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.exclusive-section .card-title {
  color: var(--off-white);
}

.exclusive-section .card-details {
  color: var(--cinza-quente);
}

.exclusive-section .card-divider {
  background-color: rgba(255, 255, 255, 0.1);
}

.exclusive-section .price-label {
  color: var(--cinza-quente);
}

.exclusive-section .price-value {
  color: var(--off-white);
}

.exclusive-section .btn-favorite {
  color: var(--off-white);
}

.exclusive-section .btn-favorite:hover {
  color: var(--bronze-claro);
}

/*----------------------------------------
/*----------------------------------------
  Dobra 4 (Lançamentos)
----------------------------------------*/
.lancamentos-section {
  padding: 6rem 0 6rem 0;
  background-color: var(--off-white);
  overflow: hidden;
}

.lancamentos-header {
  /* Herda propriedades de .properties-header */
}

/* Modificadores para o Card de Lançamento */
.card-lancamento .card-details-single {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--cinza-quente);
  margin-bottom: 1.5rem;
}

.card-lancamento .card-footer-minimal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Badges do card de empreendimento: no máximo 2 badges, alinhados na mesma linha, altura consistente e sem quebra */
.card-lancamento .card-badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  max-width: calc(100% - 2rem);
  z-index: 2;
  pointer-events: none;
}

.card-lancamento .card-badges .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .card-lancamento .card-badges {
    gap: 0.35rem;
    top: 0.85rem;
    left: 0.85rem;
    max-width: calc(100% - 1.7rem);
  }

  .card-lancamento .card-badges .badge {
    padding: 0.28rem 0.65rem;
    letter-spacing: 0.5px;
  }
}

.card-lancamento .neighborhood {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grafite-principal);
}

.constructor-logo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(43, 41, 38, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.constructor-logo span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: 2px;
}

/*----------------------------------------
  Dobra 5 (Locação)
----------------------------------------*/
.locacao-section {
  padding: 6rem 0 6rem 0;
  background-color: #ffffff;
  overflow: hidden;
}

.locacao-header {
  /* Herda propriedades de .properties-header */
}

.badge-aluguel {
  background-color: var(--grafite-principal);
  color: var(--off-white);
}

/* Responsividade Lançamentos e Locação */
@media (max-width: 768px) {
  .lancamentos-section,
  .locacao-section {
    padding: 4rem 0;
  }
}

/*----------------------------------------
  Dobra Intermediária (Respiro)
----------------------------------------*/
.quote-stats-section {
  padding: 6rem 5%;
  background-color: #ffffff; /* Fundo totalmente branco para respiro */
  color: var(--grafite-principal);
  border-bottom: 1px solid rgba(0,0,0,0.05); /* Separador muito sutil */
}

.quote-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.quote-content {
  flex: 1;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--grafite-secundario);
}

.stats-content {
  flex: 0 0 400px; /* Largura fixa para o bloco da direita */
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-item {
  border-left: 3px solid var(--bronze);
  padding-left: 1rem;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--grafite-principal);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--cinza-quente);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Botão outline premium para o CTA */
.btn-primary-outline iconify-icon { font-size: 1.2rem; }
.btn-primary-outline { gap: 0.5rem;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 1rem 2rem;
  border: 1px solid var(--bronze);
  background-color: var(--bronze);
  color: var(--off-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
}

.btn-primary-outline:hover {
  background-color: var(--bronze-claro);
  border-color: var(--bronze-claro);
  transform: translateX(5px); /* Efeito suave no botão */
}

/* Responsividade Respiro */
@media (max-width: 992px) {
  .quote-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-content {
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .quote-stats-section {
    padding: 4rem 1rem;
  }
  .quote-text {
    font-size: 1.8rem;
  }
  .stat-number {
    font-size: 2rem;
  }
}

/*----------------------------------------
  Dobra Intermediária (Orientação / 4 Passos)
----------------------------------------*/
.orientation-section {
  padding: 0 5% 6rem 5%; /* 0 no topo (pois herda os 6rem da base da dobra 2) e 6rem na base */
  background-color: var(--off-white);
  color: var(--grafite-principal);
}

.orientation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  width: 100%;
}

.orientation-quote {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--grafite-principal);
  margin: 0;
}

.orientation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Alinha exatamente com as bordas do header */
  gap: 2rem;
  width: 100%;
}

.orientation-card {
  background-color: #ffffff; 
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.orientation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}

.card-icon {
  margin-bottom: 0;
  color: var(--bronze);
  opacity: 0.7;
  flex-shrink: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
}

.card-step {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cinza-quente);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.card-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--grafite-secundario);
  margin: 0;
}

/* Responsividade Orientação */
@media (max-width: 1024px) {
  .orientation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .orientation-section {
    padding: 0 5% 4rem 5%; /* Top 0 para continuar o fluxo da dobra anterior */
  }
  .orientation-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .orientation-quote {
    font-size: 1.5rem; /* Igualado ao tamanho do H2 das outras dobras */
    line-height: 1.3;
  }
  .orientation-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Respiro entre os cards de orientação */
  }
}

/* Responsividade de Altura (Notebooks e telas achatadas) */
@media (max-height: 850px) and (min-width: 769px) {
  .hero-content {
    margin-top: -4rem; /* Sobe o bloco todo para afastar do rodapé */
  }
  .headline {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
  }
  .subheadline {
    margin-bottom: 0.8rem;
  }
  .filter-block {
    padding: 0.8rem 1.25rem;
  }
  .filter-tabs {
    margin-bottom: 0.8rem;
  }
  .filter-advanced {
    margin-top: 0.8rem;
  }
  .scroll-indicator {
    bottom: 1rem;
    transform: scale(0.8) translateX(-50%);
    transform-origin: bottom center;
  }
}

@media (max-height: 720px) {
  .scroll-text {
    display: none !important;
  }
  .scroll-arrows {
    transform: scale(0.8);
    margin-top: -0.5rem;
  }
}

@media (max-height: 720px) and (min-width: 769px) {
  .hero-content {
    margin-top: 0;
  }
}

/* Composição compacta para telas baixas mobile (ex: iPhone SE 375x667 e telas <= 720px) */
@media (max-height: 720px) and (max-width: 768px) {
  .hero {
    padding-top: calc(80px + 12px);
    row-gap: 0.25rem;
  }
  .hero-content {
    margin-top: auto;
    margin-bottom: 0;
  }
  .subheadline {
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
  }
  .headline {
    font-size: clamp(1.65rem, 6vw, 2.1rem);
    margin-bottom: 1rem;
  }
  .scroll-indicator {
    margin-top: auto;
    margin-bottom: 0.75rem;
  }
  .scroll-arrows {
    transform: scale(0.75) !important;
    margin-top: -0.5rem;
  }
  .scroll-arrows .arrow {
    font-size: 1.6rem;
    margin-top: -12px;
  }
}

/* Estilo do botão "ver todos exclusivos" */
.exclusive-header .properties-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-link-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-right: 1rem;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.btn-link-all:hover {
  color: var(--off-white);
  transform: translateX(4px);
}

/*=============================================================================
   RODAPÉ (FOOTER)
=============================================================================*/
.site-footer {
  background-color: var(--grafite-principal);
  color: var(--off-white);
  padding: 6rem 5% 2rem 5%;
}

.footer-container {
  max-width: 1100px; /* Same content width as other sections */
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-logo-title {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--off-white);
  text-transform: uppercase;
  line-height: 0.9;
}

.footer-logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--bronze-claro);
  margin-top: 2px;
  text-transform: uppercase;
  margin-right: -6px;
}

.footer-logo-svg {
  width: 44px; /* Proporcionalmente maior que a navbar */
  height: auto;
  display: block;
}

/* Animação sequencial idêntica à do Header, porém apontando para os IDs do rodapé */
#vertex-footer-floor-1,
#vertex-footer-floor-2,
#vertex-footer-floor-3,
#vertex-footer-floor-4 {
  filter: grayscale(100%) brightness(2.5);
  animation: logoPulse 2.5s infinite;
  transform-origin: center;
}
#vertex-footer-floor-1 { animation-delay: 0s; }
#vertex-footer-floor-2 { animation-delay: 0.2s; }
#vertex-footer-floor-3 { animation-delay: 0.4s; }
#vertex-footer-floor-4 { animation-delay: 0.6s; }

.footer-intro {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 250px;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  color: var(--bronze);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s var(--ease-out);
}

.footer-links a:hover {
  color: var(--bronze);
}

.footer-contact-info {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.footer-contact-info iconify-icon {
  font-size: 1.2rem;
  color: var(--bronze);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
  margin-top: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.footer-social a:hover {
  color: var(--bronze);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

/* Responsividade do Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .brand-col {
    grid-column: span 1;
  }
  .site-footer {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }
  .footer-logo-svg {
    width: 36px;
  }
  .footer-logo-title {
    font-size: 1.8rem;
  }
  .footer-logo-subtitle {
    font-size: 0.65rem;
  }
  .footer-title {
    margin-bottom: 1rem;
  }
  .footer-links {
    gap: 0.8rem;
  }
  .footer-contact-info {
    margin-bottom: 1rem;
  }
}

/*=============================================================================
   FLOATING WHATSAPP BUTTON
=============================================================================*/
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8rem;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s var(--ease-out);
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  color: #ffffff;
}

.floating-whatsapp::after {
  content: '''';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #25D366;
  border-radius: 50%;
  z-index: -1;
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

/* Corações Favoritados */
.btn-favorite.favorited {
  color: #ff3b30 !important; /* Vermelho maçã / alerta */
}

/* =============================================================================
   CARD ACTION BUTTONS (WhatsApp & Detalhes)
============================================================================= */
.card-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-card-whatsapp,
.btn-card-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* WhatsApp Button */
.btn-card-whatsapp {
  background-color: rgba(37, 211, 102, 0.1);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-card-whatsapp iconify-icon {
  font-size: 1.1rem;
}

.btn-card-whatsapp:hover {
  background-color: #25D366;
  color: #ffffff;
}

/* Ver Detalhes Button */
.btn-card-details {
  background-color: transparent;
  color: var(--grafite-principal);
  border: 1px solid var(--grafite-principal);
}

.btn-card-details:hover {
  background-color: var(--grafite-principal);
  color: var(--off-white);
}

/* Override para a seção de Exclusividades (Fundo Escuro) */
.exclusive-section .btn-card-details {
  color: var(--off-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.exclusive-section .btn-card-details:hover {
  background-color: var(--off-white);
  color: var(--grafite-principal);
}

/* Responsividade: Empilhar no mobile */
@media (max-width: 768px) {
  .card-action-buttons {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

/* =============================================================================
   BADGES DE STATUS (LANÇAMENTOS)
============================================================================= */
.badge-lancamento {
  background-color: var(--grafite-principal);
  color: var(--off-white);
}

.badge-em-obras {
  background-color: var(--bronze);
  color: var(--off-white);
}

.badge-progress {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--grafite-principal);
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.badge-pronto {
  background-color: #1E3B20; /* Verde Escuro Oliva */
  color: var(--off-white);
}

.badge-ultimas {
  background-color: #8B1A1A; /* Vermelho Escuro Vinho */
  color: var(--off-white);
}


/* =============================================================================
   PAGE: SOBRE A VORTEX
============================================================================= */
.page-sobre {
  padding-top: 0;
}

/* 1. Hero Institucional */
.sobre-hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end; /* Texto no fundo para aproveitar o gradient escuro */
  justify-content: center;
  text-align: center;
  padding-bottom: 6rem;
}

.sobre-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

/* Escurece a imagem especificamente para a página Sobre para leitura perfeita */
.sobre-hero-bg .hero-overlay {
  background: linear-gradient(
    to bottom, 
    rgba(20, 20, 20, 0.5) 0%, 
    rgba(20, 20, 20, 0.5) 40%, 
    rgba(20, 20, 20, 0.9) 100%
  );
}

.sobre-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.sobre-hero-content {
  position: relative;
  z-index: 2;
  color: var(--off-white);
  max-width: 1000px;
  padding: 0 5%;
  text-align: center;
  margin: 0 auto;
  transform: translateY(-10vh);
}

.sobre-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bronze-claro);
  margin-bottom: 1.5rem;
}

.sobre-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
}

/* 2. O Manifesto */
.sobre-manifesto {
  padding: 6rem 1.5rem;
  background-color: var(--off-white);
  color: var(--grafite-principal);
}

.manifesto-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.manifesto-text h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--grafite-principal);
}

.manifesto-text p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--grafite-secundario);
  margin-bottom: 1.5rem;
}

.manifesto-destaque {
  font-family: var(--font-serif) !important;
  font-size: 1.5rem !important;
  font-style: italic;
  color: var(--bronze) !important;
  margin-top: 2.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--bronze);
}

.manifesto-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* 3. Números (Autoridade) */
.sobre-numeros {
  padding: 5rem 1.5rem;
  background-color: #fff;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.numeros-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.numero-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.numero-valor {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--bronze);
}

.numero-label {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--grafite-secundario);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 4. Norteadores Estratégicos */
.sobre-norteadores {
  padding: 6rem 1.5rem;
  background-color: var(--grafite-principal);
  color: var(--off-white);
}

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

.norteador-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--bronze-claro);
  margin-bottom: 4rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.norteador-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.norteador-card {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.norteador-numero {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--bronze);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.norteador-card h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.norteador-card p {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: #ccc;
}

.norteador-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.norteador-card ul li {
  font-family: var(--font-sans);
  line-height: 2;
  color: #ccc;
  font-size: 1.1rem;
}

/* 5. Call to Action Final */
.sobre-cta {
  position: relative;
  padding: 8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
  color: var(--off-white);
  max-width: 800px;
}

.cta-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--bronze-claro);
  margin-bottom: 1rem;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.btn-cta-sobre {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-cta-sobre iconify-icon {
  font-size: 1.5rem;
}

/* Responsividade Geral Sobre */
@media (max-width: 992px) {
  .manifesto-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .manifesto-image img {
    height: 400px;
  }
  .numeros-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .norteador-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 576px) {
  .numeros-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* =============================================================================
   PAGE: ANUNCIAR SEU IMÓVEL
============================================================================= */
.page-anunciar {
  padding-top: 0;
  background-color: var(--off-white);
}

/* 1. Hero Institucional (Anunciar) */
.anunciar-hero-content {
  max-width: 900px;
}

/* 2. Introdução / Texto da Página Anunciar */
.anunciar-intro-texto {
  padding: 6rem 5%;
  background-color: var(--off-white);
}

.intro-texto-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-texto-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

.intro-texto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-texto-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.intro-texto-content h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--grafite-principal);
  margin-bottom: 2rem;
  font-weight: 400;
}

.intro-texto-content p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--grafite-secundario);
  margin-bottom: 3rem;
}

.intro-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.intro-contact .contact-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grafite-secundario);
}

.intro-contact .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--grafite-principal);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.intro-contact .contact-link:hover {
  color: var(--bronze);
}

.intro-contact .contact-link iconify-icon {
  font-size: 1.4rem;
  color: #25D366;
}

/* 3. Formulário Split (Anunciar) */
.anunciar-formulario {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 800px;
  background-color: var(--grafite-principal);
  color: #fff;
}

.form-half {
  padding: 6rem 5% 6rem 10%;
  display: flex;
  justify-content: flex-end; /* Para alinhar ao centro da tela global */
}

.form-wrapper {
  width: 100%;
  max-width: 600px;
}

.form-wrapper h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.form-anunciar-padrao {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #cccccc;
}

.image-half {
  width: 100%;
  height: 100%;
}

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

/* 3. Localização */
.anunciar-localizacao {
  background-color: #e8e8e8; /* Fundo cinza claro igual à referência */
  padding: 6rem 5%;
}

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

.loc-section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: #444;
  margin-bottom: 4rem;
  text-align: left;
}

.loc-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.loc-map {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.loc-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.loc-details h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--grafite-principal);
}

.loc-creci {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--grafite-secundario);
}

.loc-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--grafite-secundario);
  text-decoration: none;
  transition: color 0.3s;
}

.loc-phone iconify-icon {
  font-size: 1.3rem;
  color: var(--grafite-secundario);
  transition: color 0.3s;
}

.loc-phone:hover,
.loc-phone:hover iconify-icon {
  color: var(--bronze);
}

.loc-address {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--grafite-secundario);
  margin-bottom: 1.5rem;
}

/* Responsividade Anunciar */
@media (max-width: 992px) {
  .intro-texto-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .intro-texto-image {
    min-height: 300px;
  }
  .anunciar-formulario {
    grid-template-columns: 1fr;
  }
  .form-half {
    padding: 4rem 5%;
    justify-content: flex-start;
  }
  .image-half {
    height: 400px;
  }
  .loc-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}


/* Scroll Indicator condicional (apenas mobile para paginas internas) */
.mobile-only-scroll {
  display: none !important;
}

/* Responsividade Hero Institucional (Sobre / Anunciar) */
@media (max-width: 768px) {
  .sobre-hero {
    height: 100vh;
    align-items: center;
    padding-bottom: 0;
  }
  .sobre-hero-content {
    transform: translateY(15vh);
  }
  .sobre-headline {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .sobre-label {
    font-size: 0.8rem;
  }
  .mobile-only-scroll {
    display: flex !important;
  }
}

/* Responsividade Manifesto (Página Sobre Nós) */
@media (max-width: 768px) {
  .manifesto-text h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .manifesto-text p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .manifesto-destaque {
    font-size: 1.2rem !important;
    margin-top: 2rem;
  }
}

/* Responsividade Números (Página Sobre Nós) */
@media (max-width: 768px) {
  .sobre-numeros {
    padding: 3rem 1.5rem;
  }
  .numero-valor {
    font-size: 2.5rem;
  }
  .numero-label {
    font-size: 0.9rem;
  }
}

/* Responsividade Norteadores (Página Sobre Nós) */
@media (max-width: 768px) {
  .sobre-norteadores {
    padding: 4rem 1.5rem;
  }
  .norteador-header h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
  .norteador-numero {
    font-size: 1.5rem;
  }
  .norteador-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  .norteador-card ul li {
    font-size: 1rem;
  }
}

/* Responsividade CTA (Método Vortex - Página Sobre Nós) */
@media (max-width: 768px) {
  .sobre-cta {
    padding: 5rem 1.5rem;
  }
  .cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .cta-label {
    font-size: 0.8rem;
  }
}

/* =========================================
   Responsividade: Página Anuncie Aqui
   ========================================= */
@media (max-width: 768px) {
  /* Dobra 2: Intro */
  .anunciar-intro-texto {
    padding: 4rem 1.5rem;
  }
  .intro-texto-content h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }
  .intro-texto-content p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Dobra 3: Formulário */
  .form-half {
    padding: 3rem 1.5rem;
  }
  .form-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  /* Dobra 4: Onde Estamos */
  .anunciar-localizacao {
    padding: 4rem 1.5rem;
  }
  .loc-section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: left;
  }
  .loc-details h3 {
    font-size: 1.3rem;
  }
  .loc-creci, .loc-phone, .loc-address {
    font-size: 1rem;
  }
}

/* Ajuste crítico do Checkbox que quebrava o form inteiro no celular */
@media (max-width: 768px) {
  .custom-checkbox {
    white-space: normal !important;
    align-items: flex-start !important;
  }
  .custom-checkbox .cb-text {
    line-height: 1.4;
    display: inline-block;
  }
  .custom-checkbox .checkmark,
  .custom-checkbox .cb-box {
    flex-shrink: 0;
    margin-top: 3px;
  }
  .form-wrapper {
    max-width: 100%;
  }
}

/* =========================================
   Busca de Imóveis (imoveis.html)
   ========================================= */
.page-imoveis {
  padding-top: 100px; /* Para não ficar embaixo do header fixo */
  background-color: var(--off-white);
  min-height: 100vh;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 5%;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.results-title-container h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--grafite-principal);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.results-count {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--grafite-secundario);
}

.results-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Paginação */
.pagination button {
  background-color: transparent;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--grafite-principal);
  font-family: var(--font-sans);
  font-size: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination button:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

.pagination button.active {
  background-color: var(--grafite-principal);
  color: var(--off-white);
  border-color: var(--grafite-principal);
}

/* Responsividade Header Resultados */
  @media (max-width: 768px) {
    .bottom-menu {
      display: none !important;
    }
    .search-results-header {
      flex-direction: column;
      align-items: flex-start;
    }
    .results-title-container h1 {
      font-size: 1.8rem;
    }
    .results-actions {
      width: 100%;
    }
    .results-actions > * {
      flex: 1;
    }
  }

/* =========================================
   Ajustes da Página de Imóveis (Refinamentos)
   ========================================= */
body.page-search-body .navbar {
  background-color: var(--grafite-principal) !important;
}

/* Deixar Seletor e Botão na mesma linha */
.page-imoveis .results-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}



/* Garantir que o seletor tenha fundo opaco se for branco */
.page-imoveis .sort-select {
  min-width: 220px;
}

/* O Dropdown "Mais relevantes" igual ao dropdown da modal (pill shape) */
.page-imoveis .sort-select .custom-select-trigger {
  background-color: transparent;
  border: 1px solid var(--bronze);
  padding: 0 1.5rem;
  border-radius: 20px; 
  height: 52px;
  gap: 1rem;
}

/* Texto do Dropdown (Padrão de select, como Anápolis, Todos os bairros) */
.page-imoveis .sort-select .custom-select-value {
  color: var(--grafite-principal) !important;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: none; /* NÃO é maiúsculo */
  letter-spacing: normal;
}

.page-imoveis .sort-select iconify-icon {
  font-size: 1.2rem;
  color: var(--grafite-principal);
}

/* Fix para manter texto visível no botão de Refinar Filtros */
button.btn-primary-outline.filter-advanced:hover {
  color: var(--off-white) !important;
}

/* O Botão "Refinar Filtros" padrão de botão (Quadrado, Uppercase) */
.page-imoveis .results-actions .btn-primary-outline {
  height: 52px;
  padding: 0 2rem;
  margin-top: 0 !important;
  align-self: center !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important; /* Peso maior que 500 */
  border-radius: 6px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}
/* Fix para a cor do texto das opções do dropdown de ordenação no light mode */
.page-imoveis .sort-select .custom-select-options .custom-checkbox {
  color: var(--grafite-secundario) !important;
}

.page-imoveis .sort-select .custom-select-options .custom-checkbox:hover {
  color: var(--bronze) !important;
}
/* Botão Primário Padrão */
.btn-primary {
  background-color: var(--bronze);
  color: var(--off-white);
  border: none;
  border-radius: 6px;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.4s var(--ease-out), transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--bronze-claro);
  transform: translateY(-2px);
  color: var(--off-white);
}

.btn-primary:active {
  transform: translateY(0);
}
/* Badge Exclusividade */
.badge-exclusivo {
  background-color: var(--bronze);
  color: var(--off-white);
}

/* Badge Promocional (Piloto de Condições Comerciais de Entrada) */
.badge-promocional {
  background-color: #B42318;
  color: #ffffff;
}

.prop-entrada-destaque {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #B42318;
  margin-top: 0.35rem;
  letter-spacing: 0.5px;
}

.badge-cod {
  background-color: rgba(244, 240, 234, 0.9);
  color: var(--grafite-principal);
}/* =========================================
   PÁGINA DO IMÓVEL (imovel.html)
   ========================================= */
.page-imovel-single {
  padding-top: 100px;
  background-color: var(--off-white);
  min-height: 100vh;
}

/* =========================================
   BOTÕES DA GALERIA (imovel.html)
   ========================================= */
.btn-gallery-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: 1px solid #25D366;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.btn-gallery-whatsapp:hover {
  background-color: #ffffff;
  color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.btn-gallery-more {
  background: rgba(255, 255, 255, 0.95);
  color: var(--grafite-principal);
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-gallery-more:hover {
  background: var(--grafite-principal);
  color: var(--off-white);
  transform: translateY(-2px);
}
.btn-gallery-more:hover iconify-icon {
  color: var(--off-white) !important;
}

.btn-gallery-favorite:hover {
  transform: scale(1.1);
}

/* =========================================
   LIGHTBOX GALERIA (Página do Imóvel)
   ========================================= */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox-modal.active {
  opacity: 1;
}
.lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  z-index: 10000;
}
.lightbox-counter {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
}
.lightbox-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover {
  transform: scale(1.1);
  color: var(--bronze);
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3.5rem;
  cursor: pointer;
  z-index: 10000;
  padding: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); color: var(--bronze); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); color: var(--bronze); }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  user-select: none;
}

  /* Mobile ajustes para resultados (imoveis.html) */
  @media (max-width: 768px) {
    .bottom-menu {
      display: none !important;
    }
    .page-imoveis .results-actions {
      width: 100%;
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      gap: 0.5rem;
    }
    .page-imoveis .sort-select {
      min-width: 0 !important;
      flex: 1 1 0;
    }
    .page-imoveis .sort-select .custom-select-trigger {
      padding: 0 0.75rem;
      gap: 0.5rem;
      font-size: 0.85rem;
      justify-content: space-between;
    }
    .page-imoveis .sort-select .custom-select-value {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .page-imoveis .sort-select .custom-select-dropdown {
      min-width: 100%;
      max-width: calc(100vw - 10%);
    }
    .page-imoveis .results-actions .btn-primary-outline {
      flex: 1 1 0;
      min-width: 0 !important;
      padding: 0 0.75rem !important;
      gap: 0.4rem;
      font-size: 0.75rem !important;
      letter-spacing: 0.5px !important;
      justify-content: center;
      white-space: nowrap;
    }
  }

  /* Até 389px: empilhar controles ocupando a largura disponível.
     Medição com as métricas da Inter (24/11/2026): lado a lado, cada controle tem
     (90% da largura − 8px) / 2. "Refinar Filtros" precisa de ~163px e só cabe a partir
     de ~372px (folga de 1px em 374px); a opção "Mais relevantes" precisa de ~168px
     (≥384px). Em 390px (iPhones atuais) ambos cabem com folga e seguem lado a lado. */
  @media (max-width: 389px) {
    .page-imoveis .results-actions {
      flex-direction: column;
      gap: 0.75rem;
    }
    .page-imoveis .sort-select,
    .page-imoveis .results-actions .btn-primary-outline {
      width: 100%;
      flex: none;
    }
    .page-imoveis .results-actions .btn-primary-outline {
      padding: 0 1.25rem !important;
    }
  }

  /* Listagem (imoveis.html): contenção horizontal — 24/11/2026
     1. O painel "Refinar filtros" fica no documento mesmo fechado, com .filter-right
        deslocado 10% além da borda direita (translateX(10%)). Por ser position: fixed,
        não é recortado pelo overflow-x de html/body e pode ampliar a área rolável
        horizontal. O painel ocupa exatamente a tela (inset: 0) e passa a recortar o
        próprio conteúdo; a rolagem interna continua em .filter-body.
     2. Título e contagem dos resultados podem quebrar palavras longas (ex.: busca livre
        sem espaços), em vez de impor uma largura maior que a da tela. */
  body.page-search-body .filter-overlay {
    overflow: hidden;
  }
  .page-imoveis .results-title-container {
    min-width: 0;
    max-width: 100%;
  }
  .page-imoveis #search-title,
  .page-imoveis .results-count {
    overflow-wrap: anywhere;
  }
  /* =========================================
     Ajustes da P├ígina do Im├│vel (imovel.html)
     ========================================= */
  @media (max-width: 992px) {
    .imovel-gallery-grid {
      grid-template-columns: 1fr !important;
      height: auto !important;
    }
    .imovel-gallery-grid .gallery-item[data-index="0"] {
      height: 350px !important;
    }
    /* Transformar as 2 fotos menores em uma linha embaixo da principal */
    .imovel-gallery-grid > div:nth-child(2) {
      flex-direction: row !important; gap: 1rem !important;
      height: 120px !important;
    }
    .imovel-gallery-grid .btn-gallery-more {
      font-size: 0.7rem !important;
      white-space: nowrap !important;
      width: 90% !important;
      padding: 0.5rem !important;
    }
    
    /* Layout principal empilhado: A sidebar vai naturalmente pro final, antes do "Voc├¬ tamb├®m pode gostar" */
    .imovel-main-grid {
      grid-template-columns: 1fr !important;
      gap: 3rem !important;
    }
  }

  @media (max-width: 768px) {
    .bottom-menu {
      display: none !important;
    }
    /* T├¡tulo principal do im├│vel */
    .imovel-left-col h1 {
      font-size: 1.8rem !important;
      line-height: 1.3 !important;
    }
    /* T├¡tulos de se├º├úo (Descri├º├úo, O que oferece) */
    .imovel-left-col h2 {
      font-size: 1.8rem !important;
    }
    /* Badges (├ürea, Quartos, Vagas...) */
    .imovel-specs-row,
    .imovel-left-col > div[style*="justify-content: space-around"]:not(.imovel-badges-row):not(.imovel-location-price),
    .imovel-left-col > div[style*="justify-content: space-between"]:not(.imovel-badges-row):not(.imovel-location-price) {
      flex-wrap: wrap !important;
      gap: 1.5rem !important;
      padding: 1.5rem 0 !important;
    }
    .imovel-specs-row > div,
    .imovel-left-col > div[style*="justify-content: space-around"]:not(.imovel-badges-row):not(.imovel-location-price) > div,
    .imovel-left-col > div[style*="justify-content: space-between"]:not(.imovel-badges-row):not(.imovel-location-price) > div {
      flex: 0 0 40% !important;
      border-left: none !important;
    }
    
    /* Grid de Features (O que este im├│vel oferece) */
    .imovel-left-col > div[style*="grid-template-columns: 1fr 1fr"] {
      grid-template-columns: 1fr !important;
      gap: 1rem !important;
    }
    
    /* Ajustes internos do Card da Imobili├íria (Sidebar flutuante) */
    .imovel-right-col > div {
      padding: 2rem 1.5rem !important;
      position: relative !important;
      top: 0 !important;
    }
  }
  
/* =========================================
   BASE GRIDS DA P├üGINA DO IM├ôVEL (DESKTOP)
   ========================================= */
.imovel-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  height: 500px;
}

.imovel-main-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 4rem;
}

/* =========================================
   LINHA DE BADGES E BOTÕES DE AÇÃO (DESKTOP)
   ========================================= */
.imovel-badges-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.imovel-badges-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: nowrap;
}

.imovel-badges-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: nowrap;
}

.imovel-badges-actions .btn-text {
  display: inline;
}

.imovel-badges-actions .btn-card-whatsapp {
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  box-shadow: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 4px;
  background-color: rgba(37, 211, 102, 0.1);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.imovel-badges-actions .btn-card-whatsapp:hover {
  background-color: #25D366;
  color: #fff;
}

.imovel-badges-actions .btn-favorite {
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--grafite-principal);
  gap: 0.5rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.imovel-badges-actions .btn-favorite:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}




/* Oculta bot├úo da galeria mobile no desktop */
.btn-more-mobile { display: none !important; }

/* =========================================
     NOVOS AJUSTES SOLICITADOS (MOBILE)
     ========================================= */
  @media (max-width: 768px) {
    .bottom-menu {
      display: none !important;
    }
    /* 1. Ocultar bot├Áes na galeria no mobile */
    .imovel-gallery-grid .btn-gallery-whatsapp,
    .imovel-gallery-grid .btn-gallery-favorite {
      display: none !important;
    }
    
        /* 2. Bot├úo "Ver mais fotos" no canto inferior direito do card maior */
    .btn-more-desktop { display: none !important; }
    .btn-more-mobile { display: flex !important; }
    .imovel-gallery-grid .btn-gallery-more {
      width: auto !important;
      left: auto !important;
      right: 1rem !important;
      bottom: 1rem !important;
      transform: none !important;
      padding: 0.5rem 0.8rem !important;
      border-radius: 20px !important;
      font-size: 0.7rem !important;
      background: rgba(255, 255, 255, 0.9) !important;
      color: var(--grafite-principal) !important;
    }

    /* 3. Reduzir espa├ºamento entre galeria e descri├º├úo */
    .imovel-main-grid {
      margin-top: 1.5rem !important; 
    }
    
    /* 4. Primeira linha: Badges + Botões (Whatsapp e Favoritar circulares) */
    .imovel-badges-row {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      flex-wrap: nowrap !important;
      width: 100% !important;
      gap: 0.5rem !important;
      margin-bottom: 1rem !important;
      padding: 0 !important;
    }

    .imovel-badges-left,
    .imovel-badges-row > div:first-child {
      display: flex !important;
      gap: 0.4rem !important;
      align-items: center !important;
      flex-wrap: nowrap !important;
      flex: 0 1 auto !important;
      min-width: 0 !important;
      padding: 0 !important;
    }

    .imovel-badges-left .badge,
    .imovel-badges-row > div:first-child .badge {
      font-size: 0.7rem !important;
      padding: 0.25rem 0.55rem !important;
      border-radius: 20px !important;
      white-space: nowrap !important;
      flex-shrink: 0 !important;
      letter-spacing: 0.5px !important;
      line-height: 1.2 !important;
    }

    .imovel-badges-left .badge-cod,
    .imovel-badges-row > div:first-child .badge-cod {
      white-space: nowrap !important;
      flex-shrink: 0 !important;
    }

    /* Ficha com badge promocional: quebra suave dos badges e botões sem transbordamento */
    .has-promo-badge.imovel-badges-row,
    .has-promo-badge .imovel-badges-row {
      flex-wrap: wrap !important;
      gap: 0.6rem !important;
    }
    .has-promo-badge .imovel-badges-left,
    .has-promo-badge .imovel-badges-row > div:first-child {
      flex-wrap: wrap !important;
      gap: 0.4rem !important;
    }

    .imovel-badges-actions,
    .imovel-badges-row > div:last-child {
      display: flex !important;
      gap: 0.5rem !important;
      align-items: center !important;
      justify-content: flex-end !important;
      flex: 0 0 auto !important;
      flex-shrink: 0 !important;
      padding: 0 !important;
    }

    .imovel-badges-actions .btn-text,
    .imovel-badges-row .btn-text {
      display: none !important;
    }

    .imovel-badges-actions .btn-card-whatsapp, 
    .imovel-badges-actions .btn-favorite,
    .imovel-badges-row .btn-card-whatsapp, 
    .imovel-badges-row .btn-favorite {
      width: 42px !important;
      height: 42px !important;
      min-width: 42px !important;
      max-width: 42px !important;
      padding: 0 !important;
      border-radius: 50% !important;
      display: inline-flex !important;
      justify-content: center !important;
      align-items: center !important;
      position: relative !important;
      flex-shrink: 0 !important;
      overflow: hidden !important;
      box-shadow: none !important;
      gap: 0 !important;
      font-size: 0 !important;
      color: transparent !important;
    }

    .imovel-badges-actions .btn-card-whatsapp,
    .imovel-badges-row .btn-card-whatsapp {
      background-color: rgba(37, 211, 102, 0.1) !important;
      border: 1px solid rgba(37, 211, 102, 0.3) !important;
    }

    .imovel-badges-actions .btn-favorite,
    .imovel-badges-row .btn-favorite {
      background-color: transparent !important;
      border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }

    .imovel-badges-actions .btn-card-whatsapp iconify-icon, 
    .imovel-badges-actions .btn-favorite iconify-icon,
    .imovel-badges-row .btn-card-whatsapp iconify-icon, 
    .imovel-badges-row .btn-favorite iconify-icon {
      font-size: 1.35rem !important;
      margin: 0 !important;
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
    }

    .imovel-badges-actions .btn-card-whatsapp iconify-icon,
    .imovel-badges-row .btn-card-whatsapp iconify-icon {
      color: #25D366 !important;
    }

    .imovel-badges-actions .btn-favorite iconify-icon,
    .imovel-badges-row .btn-favorite iconify-icon {
      color: var(--bronze) !important;
    }

    /* 5. Linha de Localiza├º├úo e Pre├ºos */
    .imovel-location-price {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 0.8rem !important;
    }
    /* Localiza├º├úo: n├úo quebrar linha */
    .imovel-location-price > div:first-child {
      white-space: nowrap !important;
    }
    /* Pre├ºos: alinhados a esquerda e fonte menor */
    .imovel-location-price > div:last-child {
      text-align: left !important;
      width: 100%;
    }
    .imovel-location-price > div:last-child > div:nth-child(2) {
      font-size: 1.8rem !important; /* Pre├ºo menor no mobile */
    }
  }
  /* =========================================
     REFINAMENTOS FINAIS MOBILE (IM├ôVEL)
     ========================================= */
  @media (max-width: 768px) {
    .bottom-menu {
      display: none !important;
    }
    /* Diminuir espa├ºamento da galeria pra primeira linha e da primeira linha pro t├¡tulo */
    .imovel-main-grid {
      margin-top: 1rem !important; 
    }
    
    /* 1. Refinamento de tela ultra-compacta (320px) */
    @media (max-width: 340px) {
      .imovel-badges-row {
        gap: 0.3rem !important;
      }
      .imovel-badges-left,
      .imovel-badges-row > div:first-child {
        gap: 0.3rem !important;
      }
      .imovel-badges-left .badge,
      .imovel-badges-row > div:first-child .badge {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.45rem !important;
      }
      .imovel-badges-actions,
      .imovel-badges-row > div:last-child {
        gap: 0.35rem !important;
      }
      .imovel-badges-actions .btn-card-whatsapp, 
      .imovel-badges-actions .btn-favorite,
      .imovel-badges-row .btn-card-whatsapp, 
      .imovel-badges-row .btn-favorite {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
      }
      .imovel-badges-actions .btn-card-whatsapp iconify-icon, 
      .imovel-badges-actions .btn-favorite iconify-icon,
      .imovel-badges-row .btn-card-whatsapp iconify-icon, 
      .imovel-badges-row .btn-favorite iconify-icon {
        font-size: 1.2rem !important;
      }
    }
    
  }
  
  /* =========================================
     NOVO LAYOUT DE INFORMAÇÕES (MOBILE EMPILHADO)
     Restaura espaçamentos da referência aprovada (espacamento_correto.png)
     ========================================= */
  @media (max-width: 768px) {
    .bottom-menu {
      display: none !important;
    }
    /* O Título Principal: Permite quantas linhas forem necessárias e garante 35px exatos até a localização */
    .imovel-left-col h1 {
      font-size: 1.8rem !important;
      line-height: 1.3 !important;
      margin-top: 0 !important;
      margin-bottom: 2.2rem !important; /* ~35px exatos entre Título e Localização conforme referência */
      height: auto !important;
      min-height: 0 !important;
      word-break: normal !important;
      overflow-wrap: break-word !important;
    }

    /* Container de Localização e Preços: gap de 36px entre Localização e Preço, sem vazio inferior */
    .imovel-location-price {
      display: flex !important;
      flex-direction: column !important;
      align-items: flex-start !important;
      justify-content: flex-start !important;
      gap: 2.25rem !important; /* ~36px exatos entre Localização e Bloco de Preço conforme referência */
      margin-top: 0 !important;
      padding-top: 0 !important;
      padding-bottom: 0 !important; /* Elimina o padding-bottom de 1.5rem que gerava o vazio de 50px */
      margin-bottom: 2.2rem !important; /* Espaçamento equilibrado (~35px) antes da linha divisória de especificações */
    }

    /* Bloco da Localização */
    .imovel-location-price > div:first-child {
      display: flex !important;
      align-items: center !important;
      white-space: normal !important;
      width: 100% !important;
      gap: 0.4rem !important;
      color: var(--grafite-secundario) !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    .imovel-location-price > div:first-child span {
      font-size: 1.1rem !important;
    }
    .imovel-location-price > div:first-child iconify-icon {
      font-size: 1.2rem !important;
      color: var(--bronze) !important;
      margin-bottom: 0 !important;
      flex-shrink: 0 !important;
    }

    /* Bloco de Preços */
    .imovel-location-price > div:last-child {
      display: flex !important;
      flex-direction: column !important;
      align-items: flex-start !important;
      text-align: left !important;
      width: 100% !important;
      margin-top: 0 !important;
      margin-bottom: 0 !important;
      padding: 0 !important;
      gap: 0 !important;
    }
    
    /* Venda / Finalidade */
    .imovel-location-price > div:last-child > div:nth-child(1) {
      display: block !important;
      font-size: 0.9rem !important;
      color: var(--grafite-secundario) !important;
      text-transform: uppercase !important;
      letter-spacing: 1px !important;
      margin-top: 0 !important;
      margin-bottom: 0.2rem !important; /* ~6px exatos até o valor R$ conforme referência */
      line-height: 1.2 !important;
      text-align: left !important;
    }
    
    /* Valor do Imóvel */
    .imovel-location-price > div:last-child > div:nth-child(2) {
      display: block !important;
      font-size: 1.8rem !important; /* Tipografia aprovada na referência */
      font-weight: 700 !important;
      color: var(--bronze) !important;
      letter-spacing: normal !important;
      text-align: left !important;
      line-height: 1 !important;
      margin: 0 !important;
    }
    
    /* Condomínio */
    .imovel-location-price > div:last-child > div:nth-child(3) {
      font-size: 0.85rem !important;
      color: var(--grafite-secundario) !important;
      margin-top: 0.35rem !important;
      text-align: left !important;
    }
    
    /* Condomínio vazio: não ocupa espaço quando não houver cobrança */
    .imovel-location-price > div:last-child > div:nth-child(3):empty,
    #prop-condominio:empty {
      display: none !important;
      margin: 0 !important;
      padding: 0 !important;
    }
  }
  /* =========================================
     AJUSTES FINAIS: DOBRAS INFERIORES E FOOTER (MOBILE)
     ========================================= */
  @media (max-width: 768px) {
    .bottom-menu {
      display: none !important;
    }
    /* Diminuir espa├ºamento entre as se├º├Áes inferiores */
    .properties-section {
      padding-top: 3rem !important;
      padding-bottom: 2rem !important;
    }
    .cta-not-found {
      margin-top: 1rem !important;
      margin-bottom: 2rem !important;
    }
    
    /* Tamanho das fontes: Voc├¬ tamb├®m pode gostar */
    .properties-title-group h2 {
      font-size: 1.4rem !important;
      line-height: 1.2 !important;
      margin-bottom: 0.3rem !important;
    }
    .properties-title-group p {
      font-size: 0.9rem !important;
    }
    
    /* Tamanho das fontes: N├úo encontrou o que procurava */
    .cta-not-found h2 {
      font-size: 1.5rem !important;
      line-height: 1.2 !important;
    }
    .cta-not-found p {
      font-size: 0.95rem !important;
    }

    /* Esconder o menu inferior (Footer) no mobile */
    .bottom-menu { display: none !important; }

  }

/* ==========================================================================
   ESTILOS DEDICADOS: EMPREENDIMENTO E PLANTAS (ETAPA 2)
   ========================================================================== */

/* Caixa da Construtora / Incorporadora */
.emp-construtora-box {
  background: var(--off-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--bronze);
  border-radius: 6px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}
.emp-construtora-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cinza-quente);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.emp-construtora-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--grafite-principal);
}

/* Seção de Plantas e Tipologias */
.emp-plantas-section {
  margin-bottom: 4rem;
}
.emp-plantas-header h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--grafite-principal);
  margin-bottom: 0.5rem;
}
.emp-plantas-header p {
  color: var(--grafite-secundario);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Seletor de Abas de Plantas */
.plantas-tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
}
.planta-tab {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: var(--font-sans);
  flex-shrink: 0;
}
.planta-tab:hover {
  border-color: var(--bronze);
  transform: translateY(-1px);
}
.planta-tab.active {
  background: var(--grafite-principal);
  color: #ffffff;
  border-color: var(--grafite-principal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.planta-tab-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.planta-tab-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--grafite-secundario);
  font-weight: 500;
}
.planta-tab.active .planta-tab-meta {
  color: rgba(255, 255, 255, 0.75);
}

/* Card do Visualizador da Planta */
.planta-viewer-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.planta-viewer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Imagem da Planta */
.planta-image-wrapper {
  background: #faf9f7;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.planta-img-container {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.planta-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.btn-zoom-planta {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  border-radius: 30px;
  padding: 0.55rem 1.3rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-zoom-planta:hover {
  background: var(--bronze);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(184, 135, 92, 0.25);
}

/* Detalhes da Planta */
.planta-details-wrapper {
  display: flex;
  flex-direction: column;
}
.planta-header-info {
  margin-bottom: 1.5rem;
}
.planta-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--grafite-principal);
  margin-bottom: 0.4rem;
}
.planta-tipo-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bronze);
  background: rgba(184, 135, 92, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

/* Especificações da Planta */
.planta-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}
.planta-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.planta-spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--grafite-secundario);
  font-weight: 600;
}
.planta-spec-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--grafite-principal);
}

/* Diferenciais e Tags */
.planta-diferenciais-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.planta-diferencial-tag {
  background: var(--creme);
  color: var(--grafite-principal);
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Preço e Botão da Planta */
.planta-price-box {
  margin-bottom: 1.5rem;
}
.planta-price-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grafite-secundario);
  margin-bottom: 0.2rem;
}
.planta-price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bronze);
  line-height: 1.1;
}

/* Modal de Ampliação de Planta Acessível */
.planta-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 20, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}
.planta-modal-content {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}
.planta-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.8rem;
  background: var(--grafite-principal);
  color: #ffffff;
}
.btn-close-planta-modal {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.btn-close-planta-modal:hover,
.btn-close-planta-modal:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: 2px solid var(--bronze);
}
.planta-modal-body {
  padding: 2rem;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfcfb;
}
.planta-modal-body img {
  max-width: 100%;
  max-height: calc(85vh - 100px);
  object-fit: contain;
}

/* Responsividade de Plantas */
@media (max-width: 900px) {
  .planta-viewer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .planta-viewer-card {
    padding: 1.5rem;
  }
  .planta-img-container {
    height: 260px;
  }
  .planta-modal-overlay {
    padding: 1rem;
  }
}


/* =============================================================================
   RESPONSIVIDADE: PÁGINA DE EMPREENDIMENTO (empreendimento.html)
   Escopo restrito a .page-empreendimento (preserva imovel.html e desktop)
============================================================================= */

/* Botão mobile de galeria oculto no desktop */
.page-empreendimento #emp-btn-more-mobile,
.page-empreendimento .btn-more-mobile {
  display: none !important;
}

@media (max-width: 992px) {
  .page-empreendimento .imovel-main-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3rem !important;
    padding: 0 5% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .imovel-left-col,
  .page-empreendimento .imovel-right-col {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  /* 0. Galeria Mobile: somente 1 botão na imagem principal, miniaturas sem botões sobrepostos */
  .page-empreendimento .imovel-gallery-grid #emp-btn-more-desktop-1,
  .page-empreendimento .imovel-gallery-grid #emp-btn-more-desktop-2,
  .page-empreendimento .imovel-gallery-grid #emp-btn-more-desktop-3,
  .page-empreendimento .imovel-gallery-grid .btn-more-desktop {
    display: none !important;
  }

  .page-empreendimento .imovel-gallery-grid #emp-btn-more-mobile,
  .page-empreendimento .imovel-gallery-grid .btn-more-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    right: 1rem !important;
    bottom: 1rem !important;
    left: auto !important;
    transform: none !important;
    padding: 0.5rem 0.8rem !important;
    border-radius: 20px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--grafite-principal) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    white-space: nowrap !important;
  }

  /* 1. Contêiner principal e colunas */
  .page-empreendimento .imovel-main-grid {
    margin-top: 1.5rem !important;
    margin-bottom: 2.5rem !important;
    gap: 2.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2. Linha de badges e ações do cabeçalho */
  .page-empreendimento .imovel-badges-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.75rem 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .imovel-badges-left {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    align-items: center !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .page-empreendimento .imovel-badges-left .badge {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .page-empreendimento .imovel-badges-actions {
    display: flex !important;
    gap: 0.5rem !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  /* 3. Título e Localização */
  .page-empreendimento #emp-nome {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    margin-bottom: 0.75rem !important;
  }

  .page-empreendimento .imovel-location-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    margin-bottom: 2rem !important;
  }

  .page-empreendimento .imovel-location-price > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    word-break: break-word !important;
    font-size: 1rem !important;
  }

  .page-empreendimento .imovel-location-price > div:last-child {
    text-align: left !important;
  }

  .page-empreendimento #emp-preco {
    font-size: 1.8rem !important;
    line-height: 1.1 !important;
  }

  /* 4. Box da Construtora */
  .page-empreendimento .emp-construtora-box {
    padding: 0.85rem 1.15rem !important;
    margin-bottom: 2rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* 5. Resumo de Especificações (Grid 2x2) */
  .page-empreendimento .imovel-specs-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem 1rem !important;
    padding: 1.5rem 0.5rem !important;
    margin-bottom: 2.5rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .page-empreendimento .imovel-specs-row > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.35rem !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    border-left: none !important;
    padding: 0 0.25rem !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .imovel-specs-row > div span:first-of-type {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
  }

  /* 5.1. Descrição do Empreendimento (Sobre o empreendimento) */
  .page-empreendimento #emp-descricao-section {
    margin-bottom: 3rem !important;
  }

  .page-empreendimento #emp-descricao,
  .page-empreendimento #emp-descricao p {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: var(--grafite-secundario) !important;
    word-break: break-word !important;
  }

  /* 6. Infraestrutura e Lazer */
  .page-empreendimento #emp-caracteristicas-section {
    margin-bottom: 3rem !important;
  }

  .page-empreendimento #emp-caracteristicas-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento #emp-caracteristicas-grid > div {
    min-width: 0 !important;
    font-size: 0.95rem !important;
    gap: 0.5rem !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }

  /* 7. Seção de Plantas: Título, Descrição e Seletores (Grid 2x2) */
  .page-empreendimento .emp-plantas-section {
    margin-bottom: 3rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .emp-plantas-header h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .page-empreendimento .emp-plantas-header p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
    margin-bottom: 1.2rem !important;
  }

  .page-empreendimento .plantas-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
    overflow-x: visible !important;
    padding-bottom: 0 !important;
    margin-bottom: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .planta-tab {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.75rem 0.5rem !important;
    text-align: center !important;
    white-space: normal !important;
    min-width: 0 !important;
  }

  .page-empreendimento .planta-tab-name {
    font-size: 0.9rem !important;
    word-break: break-word !important;
    margin-bottom: 0.15rem !important;
  }

  .page-empreendimento .planta-tab-meta {
    font-size: 0.75rem !important;
    word-break: break-word !important;
  }

  /* 8. Card do Visualizador da Planta */
  .page-empreendimento .planta-viewer-card {
    padding: 1.25rem 1rem !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .planta-viewer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .page-empreendimento .planta-image-wrapper {
    padding: 1rem 0.5rem !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .planta-img-container {
    height: 220px !important;
    max-width: 100% !important;
  }

  .page-empreendimento .planta-img-container img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .page-empreendimento .btn-zoom-planta {
    padding: 0.45rem 1rem !important;
    font-size: 0.8rem !important;
    margin-top: 0.9rem !important;
  }

  .page-empreendimento .planta-details-wrapper {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .planta-title {
    font-size: 1.4rem !important;
  }

  .page-empreendimento .planta-specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem 0.5rem !important;
    padding: 1rem 0 !important;
    margin-bottom: 1.2rem !important;
  }

  .page-empreendimento .planta-spec-item {
    min-width: 0 !important;
  }

  .page-empreendimento .planta-spec-label {
    font-size: 0.7rem !important;
  }

  .page-empreendimento .planta-spec-value {
    font-size: 1.05rem !important;
    word-break: break-word !important;
  }

  .page-empreendimento .planta-price-value {
    font-size: 1.8rem !important;
  }

  .page-empreendimento #btn-planta-consultar-whatsapp {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.9rem !important;
    font-size: 0.85rem !important;
  }

  /* 9. Card Flutuante / Formulário Lateral (Coluna da Direita) */
  .page-empreendimento .imovel-right-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .imovel-right-col > div {
    position: relative !important;
    top: 0 !important;
    padding: 2rem 1.25rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-empreendimento .imovel-right-col input {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .page-empreendimento #emp-btn-whatsapp-sidebar {
    box-sizing: border-box !important;
    max-width: 100% !important;
    padding: 1rem !important;
    font-size: 0.85rem !important;
  }

  /* 10. Seção Não Encontrou */
  .page-empreendimento .cta-not-found > div > div {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* Telas Ultra-Compactas (ex: 320px - 360px) */
@media (max-width: 360px) {
  .page-empreendimento .imovel-gallery-grid #emp-btn-more-mobile,
  .page-empreendimento .imovel-gallery-grid .btn-more-mobile {
    padding: 0.45rem 0.65rem !important;
    font-size: 0.65rem !important;
    right: 0.6rem !important;
    bottom: 0.6rem !important;
  }
  .page-empreendimento #emp-caracteristicas-grid {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  .page-empreendimento .imovel-specs-row {
    gap: 1.2rem 0.5rem !important;
    padding: 1.2rem 0.2rem !important;
  }

  .page-empreendimento .imovel-specs-row > div span:first-of-type {
    font-size: 0.95rem !important;
  }

  .page-empreendimento .planta-tab {
    padding: 0.65rem 0.35rem !important;
  }

  .page-empreendimento .planta-tab-name {
    font-size: 0.85rem !important;
  }

  .page-empreendimento .planta-tab-meta {
    font-size: 0.7rem !important;
  }
}

/* ==========================================================================
   VORTEX IMÓVEIS — PÁGINA DE POLÍTICA DE PRIVACIDADE (privacidade.html)
   ========================================================================== */

/* 3. Página de Política de Privacidade (privacidade.html) */
.page-privacidade {
  background-color: var(--grafite-principal, #2B2926);
  color: var(--off-white, #F4F0EA);
  min-height: 100vh;
}

.privacidade-hero {
  padding: 8rem 1.5rem 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(26, 25, 24, 0.85) 0%, rgba(43, 41, 38, 0) 100%);
  border-bottom: 1px solid rgba(244, 240, 234, 0.08);
}

.privacidade-hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bronze, #B8895C);
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid rgba(184, 137, 92, 0.35);
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
}

.privacidade-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--off-white);
  margin: 0 0 1rem 0;
  letter-spacing: 1px;
}

.privacidade-hero-meta {
  font-size: 0.95rem;
  color: var(--cinza-quente, #A8A19A);
  max-width: 600px;
  margin: 0 auto;
}

.privacidade-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #ded9d2;
}

.privacidade-content h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--off-white);
  font-weight: 400;
  margin: 3.5rem 0 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(184, 137, 92, 0.25);
}

.privacidade-content h2:first-of-type {
  margin-top: 0;
}

.privacidade-content h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: var(--bronze-claro, #D2A97E);
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.privacidade-content p {
  margin-bottom: 1.25rem;
}

.privacidade-content strong {
  color: var(--off-white);
}

.privacidade-content ul,
.privacidade-content ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.privacidade-content li {
  margin-bottom: 0.6rem;
}

.privacidade-card {
  background: rgba(244, 240, 234, 0.03);
  border: 1px solid rgba(184, 137, 92, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.privacidade-card p {
  margin-bottom: 0.5rem;
}

.privacidade-card p:last-child {
  margin-bottom: 0;
}

/* Divisória entre o fim da política e o rodapé: mesmo acabamento da borda
   inferior de .privacidade-hero (1px, off-white a 8%, largura total).
   O rodapé usa .site-footer (espaçamento padrão: 6rem 5% 2rem; 3rem 1.5rem 2rem
   até 768px), então a linha fica no topo e o conteúdo ganha o respiro padrão.
   Restrita a esta página; o rodapé das demais não muda. */
.page-privacidade .site-footer {
  border-top: 1px solid rgba(244, 240, 234, 0.08);
}
