/*
 * WDO Imoveis — Descoberta qualificada
 *
 * Composition only. Shared tokens, behavior, lightbox and Motion Foundation
 * remain in the canonical theme assets. Every selector is page-scoped so this
 * editorial treatment cannot leak into another WDO page.
 */

.wdo-page--imoveis {
  --imoveis-gutter: max(24px, calc((100vw - 1180px) / 2));
  --imoveis-rule: rgba(1, 37, 60, 0.2);
  --imoveis-rule-light: rgba(255, 255, 255, 0.28);
  --imoveis-enter: cubic-bezier(.25, .46, .45, .94);
  background: var(--wdo-white);
  color: var(--wdo-ink);
}

.wdo-page--imoveis button {
  touch-action: manipulation;
}

.wdo-page--imoveis button:focus-visible,
.wdo-page--imoveis a:focus-visible,
.wdo-page--imoveis input:focus-visible,
.wdo-page--imoveis select:focus-visible {
  outline: 3px solid var(--wdo-burnt-terracotta);
  outline-offset: 3px;
}

@keyframes wdo-imoveis-hero-copy-enter {
  from {
    opacity: .78;
    transform: translate3d(-18px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes wdo-imoveis-hero-media-enter {
  from {
    opacity: .88;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wdo-imoveis-seam-enter {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0);
  }
}

/* Elementor hero: one photographic field leads directly into property discovery. */
.wdo-page--imoveis .wdo-page-hero {
  position: relative;
  display: grid;
  min-block-size: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--wdo-petrol-blue);
  color: var(--wdo-white);
}

.wdo-page--imoveis .wdo-page-hero::after {
  position: absolute;
  z-index: 3;
  inset-block-end: 0;
  inset-inline-start: var(--imoveis-gutter);
  inline-size: clamp(96px, 20vw, 280px);
  block-size: 6px;
  background: var(--wdo-burnt-terracotta);
  content: '';
  pointer-events: none;
  animation: wdo-imoveis-seam-enter 1050ms var(--imoveis-enter) both;
}

.wdo-page--imoveis .wdo-page-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  min-block-size: inherit;
  padding: 0;
}

.wdo-page--imoveis .wdo-page-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(calc(100% - var(--imoveis-gutter) - var(--imoveis-gutter)), 1180px);
  margin-inline: auto;
  padding: calc(var(--header-height) + clamp(64px, 7vw, 96px)) 0 clamp(72px, 8vw, 112px);
  animation: wdo-imoveis-hero-copy-enter 980ms var(--imoveis-enter) both;
}

.wdo-page--imoveis .wdo-page-hero__content .wdo-widget__eyebrow {
  margin-block-end: clamp(18px, 2.5vw, 34px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.wdo-page--imoveis .wdo-page-hero__content .wdo-widget__title {
  max-inline-size: 18ch;
  margin: 0;
  color: #fff;
  font-size: var(--type-heading-1);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.wdo-page--imoveis .wdo-page-hero__content .wdo-widget__text {
  max-inline-size: 42ch;
  margin-block-start: clamp(24px, 3vw, 42px);
  color: #fff;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
}

.wdo-page--imoveis .wdo-page-hero__content .wdo-widget__text p {
  color: #fff;
}

.wdo-page--imoveis .wdo-page-hero__content .wdo-widget__actions {
  margin-block-start: clamp(26px, 3vw, 42px);
}

.wdo-page--imoveis .wdo-page-hero__content .wdo-btn {
  min-block-size: 52px;
  border-radius: 4px;
}

.wdo-page--imoveis .wdo-page-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-block-size: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: #173d52;
}

.wdo-page--imoveis .wdo-page-hero__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 37, 60, 0.96) 0%, rgba(1, 37, 60, 0.88) 36%, rgba(1, 37, 60, 0.56) 62%, rgba(1, 37, 60, 0.24) 100%),
    linear-gradient(0deg, rgba(1, 37, 60, 0.3), transparent 46%);
  content: '';
  pointer-events: none;
}

.wdo-page--imoveis .wdo-page-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 900ms var(--imoveis-enter);
  animation: wdo-imoveis-hero-media-enter 1100ms var(--imoveis-enter) both;
}

/* PHP archive/fallback hero follows the same full-bleed photographic family. */
.wdo-page--imoveis .property-archive-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-block-size: 100svh;
  padding: calc(var(--header-height) + clamp(52px, 7vw, 92px)) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
  color: var(--wdo-white);
  background: var(--wdo-petrol-blue);
}

.wdo-page--imoveis .property-archive-hero__media,
.wdo-page--imoveis .property-archive-hero__overlay {
  position: absolute;
  inset: 0;
}

.wdo-page--imoveis .property-archive-hero__media {
  overflow: hidden;
  border-radius: 0;
}

.wdo-page--imoveis .property-archive-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 900ms var(--imoveis-enter);
  animation: wdo-imoveis-hero-media-enter 1100ms var(--imoveis-enter) both;
}

.wdo-page--imoveis .property-archive-hero__overlay {
  background:
    linear-gradient(90deg, rgba(1, 37, 60, 0.96) 0%, rgba(1, 37, 60, 0.88) 36%, rgba(1, 37, 60, 0.56) 62%, rgba(1, 37, 60, 0.24) 100%),
    linear-gradient(0deg, rgba(1, 37, 60, 0.3), transparent 46%);
}

.wdo-page--imoveis .property-archive-hero .container {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1180px);
}

.wdo-page--imoveis .property-archive-hero__content {
  max-inline-size: 760px;
  opacity: 1;
  transform: translateX(0);
  animation: wdo-imoveis-hero-copy-enter 980ms var(--imoveis-enter) both;
}

.wdo-page--imoveis .property-archive-hero__eyebrow {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.wdo-page--imoveis .property-archive-hero__title {
  max-inline-size: 14ch;
  color: #fff;
  font-size: var(--type-heading-1);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.wdo-page--imoveis .property-archive-hero__subtitle {
  max-inline-size: 52ch;
  color: #fff;
}

.wdo-page--imoveis .property-archive-hero__search {
  border-block-end: 4px solid var(--wdo-burnt-terracotta);
}

.wdo-page--imoveis .property-archive-hero__search-input:focus-visible {
  outline-color: var(--wdo-burnt-terracotta);
  outline-offset: 1px;
}

.wdo-page--imoveis .property-archive-hero__filter-bar {
  padding-block-start: 10px;
}

/* Editorial filter: orientation on the left, decision controls on the right. */
.wdo-page--imoveis .wdo-property-filter-widget {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  grid-template-rows: auto auto 1fr;
  align-content: center;
  column-gap: clamp(52px, 8vw, 128px);
  width: 100%;
  max-width: none;
  min-block-size: 100svh;
  margin: 0;
  padding: clamp(96px, 12vw, 160px) var(--imoveis-gutter);
  overflow: hidden;
  background: var(--wdo-stone-linen);
}

.wdo-page--imoveis .wdo-property-filter-widget::before {
  position: absolute;
  inset-block: clamp(96px, 12vw, 160px);
  inset-inline-start: var(--imoveis-gutter);
  inline-size: 4px;
  background: var(--wdo-burnt-terracotta);
  content: '';
}

.wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__title {
  grid-column: 1;
  align-self: end;
  max-inline-size: 13ch;
  margin: 0;
  padding-inline-start: clamp(24px, 3vw, 42px);
  color: var(--wdo-petrol-blue);
  font-size: var(--type-heading-2);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__text {
  grid-column: 1;
  max-inline-size: 38ch;
  margin: clamp(24px, 3vw, 38px) 0 0;
  padding-inline-start: clamp(24px, 3vw, 42px);
  color: var(--wdo-ink);
  line-height: 1.75;
}

.wdo-page--imoveis .wdo-property-filter {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  padding: clamp(28px, 4vw, 54px);
  border: 0;
  border-block: 1px solid var(--imoveis-rule);
  border-radius: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.72);
}

.wdo-page--imoveis .wdo-property-filter .filter-bar__row {
  display: contents;
}

.wdo-page--imoveis .wdo-property-filter .filter-bar__group {
  min-inline-size: 0;
}

.wdo-page--imoveis .wdo-property-filter .filter-bar__group--search {
  grid-column: 1 / -1;
}

.wdo-page--imoveis .wdo-property-filter .filter-bar__label {
  margin-block-end: 4px;
  color: var(--wdo-petrol-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wdo-page--imoveis .wdo-property-filter .filter-bar__group:not(.filter-bar__group--search) .filter-bar__label {
  display: block;
  min-block-size: 2.8em;
  line-height: 1.4;
}

.wdo-page--imoveis .wdo-property-filter .filter-bar__input,
.wdo-page--imoveis .wdo-property-filter .filter-bar__select {
  min-block-size: 50px;
  border: 0;
  border-block-end: 1px solid rgba(1, 37, 60, 0.42);
  border-radius: 0;
  color: var(--wdo-ink);
  background: transparent;
  box-shadow: none;
  transition: border-color 180ms ease-out, background-color 180ms ease-out;
}

.wdo-page--imoveis .filter-bar__input:focus-visible,
.wdo-page--imoveis .filter-bar__select:focus-visible {
  border-color: var(--wdo-burnt-terracotta);
  outline: 3px solid var(--wdo-burnt-terracotta);
  outline-offset: 2px;
  background: #fff;
  box-shadow: none;
}

.wdo-page--imoveis .wdo-property-filter .wdo-filter-flags {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-block: 18px;
  border-block: 1px solid var(--imoveis-rule);
}

.wdo-page--imoveis .wdo-property-filter .wdo-filter-flags label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--wdo-ink);
  font-size: 0.875rem;
  line-height: 1.45;
}

.wdo-page--imoveis .wdo-property-filter .wdo-filter-flags input {
  flex: 0 0 auto;
  inline-size: 18px;
  block-size: 18px;
  margin-block-start: 1px;
  accent-color: var(--wdo-burnt-terracotta);
}

.wdo-page--imoveis .wdo-property-filter .filter-bar__row--actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-block-start: 8px;
  border: 0;
}

.wdo-page--imoveis .wdo-property-filter .filter-bar__row--actions .btn {
  min-block-size: 50px;
  border-radius: 4px;
}

/* Semantic reveal choreography reuses the shared one-shot observer. */
.wdo-page--imoveis .wdo-property-filter-widget.is-reveal-pending:not(.is-visible) {
  opacity: 1;
  translate: none;
}

.wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__title,
.wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__text,
.wdo-page--imoveis .wdo-property-filter-widget > .wdo-property-filter {
  opacity: 1;
  transform: translateX(0);
}

.wdo-page--imoveis .wdo-property-filter-widget.is-reveal-pending:not(.is-visible) > .wdo-widget__title {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-18px);
}

.wdo-page--imoveis .wdo-property-filter-widget.is-visible > .wdo-widget__title {
  clip-path: inset(0 0 0 0);
  transition: opacity 960ms var(--imoveis-enter), clip-path 1080ms var(--imoveis-enter), transform 1020ms var(--imoveis-enter);
}

.wdo-page--imoveis .wdo-property-filter-widget.is-reveal-pending:not(.is-visible) > .wdo-widget__text {
  opacity: 0;
  transform: translateY(12px);
}

.wdo-page--imoveis .wdo-property-filter-widget.is-visible > .wdo-widget__text {
  transition: opacity 980ms var(--imoveis-enter) 120ms, transform 1040ms var(--imoveis-enter) 120ms;
}

.wdo-page--imoveis .wdo-property-filter-widget.is-reveal-pending:not(.is-visible) > .wdo-property-filter {
  opacity: 0;
  transform: translateX(30px);
}

.wdo-page--imoveis .wdo-property-filter-widget.is-visible > .wdo-property-filter {
  transition: opacity 1000ms var(--imoveis-enter) 220ms, transform 1100ms var(--imoveis-enter) 220ms;
}

/* Catalog: calm two-column rhythm and broad 3:2 media. */
.wdo-page--imoveis .elementor-widget-wdo-property-list {
  display: block;
  background: var(--wdo-white);
}

.wdo-page--imoveis .elementor-widget-wdo-property-list > .elementor-widget-container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.wdo-page--imoveis .property-archive-results {
  background: var(--wdo-white);
}

.wdo-page--imoveis .property-archive-results > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.wdo-page--imoveis .property-archive-toolbar {
  justify-content: flex-end;
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
  padding-block-start: clamp(72px, 8vw, 112px);
}

.wdo-page--imoveis .property-archive-active-filters {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.wdo-page--imoveis .property-results:not(.property-results--highlights) {
  display: grid;
  align-items: center;
  min-block-size: 100svh;
  padding: clamp(88px, 11vw, 152px) var(--imoveis-gutter);
  overflow-x: clip;
  background: var(--wdo-white);
}

.wdo-page--imoveis .property-results:not(.property-results--highlights) > :is(.property-results__header, .grid, .pagination, .no-results) {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.wdo-page--imoveis .property-results__header {
  margin-block-end: clamp(40px, 5vw, 72px);
}

.wdo-page--imoveis .property-results__title {
  max-inline-size: 18ch;
  margin: 0;
  color: var(--wdo-petrol-blue);
  font-size: var(--type-heading-2);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.wdo-page--imoveis .property-results[data-reveal="media"]:not(.property-results--highlights) > .property-results__header {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 900ms var(--imoveis-enter), transform 1000ms var(--imoveis-enter);
}

.wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights) > .property-results__header {
  opacity: 0;
  transform: translate3d(-22px, 0, 0);
}

.wdo-page--imoveis .property-results[data-reveal="media"]:not(.property-results--highlights) {
  --wdo-reveal-duration: 1050ms;
  --wdo-reveal-distance: 24px;
  opacity: 1;
  translate: none;
  scale: 1;
  transform: none;
  transition: none;
}

.wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights) {
  opacity: 1;
  translate: none;
  scale: 1;
  transform: none;
}

.wdo-page--imoveis .property-results[data-reveal="media"]:not(.property-results--highlights) > .grid > .property-card--modern {
  --imoveis-card-delay: 0ms;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 980ms var(--imoveis-enter), transform 1080ms var(--imoveis-enter), translate 420ms var(--imoveis-enter);
  transition-delay: var(--imoveis-card-delay);
}

.wdo-page--imoveis .property-results[data-reveal="media"]:not(.property-results--highlights) > .grid > .property-card--modern:nth-child(2) {
  --imoveis-card-delay: 90ms;
}

.wdo-page--imoveis .property-results[data-reveal="media"]:not(.property-results--highlights) > .grid > .property-card--modern:nth-child(3) {
  --imoveis-card-delay: 180ms;
}

.wdo-page--imoveis .property-results[data-reveal="media"]:not(.property-results--highlights) > .grid > .property-card--modern:nth-child(n + 4) {
  --imoveis-card-delay: 270ms;
}

.wdo-page--imoveis .property-results[data-reveal="media"]:not(.property-results--highlights) > .grid > .property-card--modern .property-card__carousel {
  clip-path: inset(0);
  transform: scale(1);
  transition: clip-path 1050ms var(--imoveis-enter), transform 1080ms var(--imoveis-enter);
  transition-delay: var(--imoveis-card-delay);
}

.wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights) > .grid > .property-card--modern {
  opacity: 0;
}

.wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights) > .grid > .property-card--modern:nth-child(odd) {
  transform: translate3d(-24px, 18px, 0);
}

.wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights) > .grid > .property-card--modern:nth-child(even) {
  transform: translate3d(24px, 18px, 0);
}

.wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights) > .grid > .property-card--modern .property-card__carousel {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.025);
}

.wdo-page--imoveis .property-results {
  min-block-size: 220px;
  opacity: 1;
  translate: none;
  transition: opacity 360ms ease-out, translate 480ms var(--imoveis-enter);
}

.wdo-page--imoveis .property-results[aria-busy="true"] {
  opacity: 0.48;
  translate: 0 10px;
  pointer-events: none;
}

.wdo-page--imoveis .property-results > .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(52px, 7vw, 92px) clamp(28px, 4vw, 52px);
}

.wdo-page--imoveis .property-results--highlights > .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(20px, 2.5vw, 32px);
}

.wdo-page--imoveis .property-card--modern {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  translate: 0 0;
  transition: translate 420ms var(--imoveis-enter);
}

.wdo-page--imoveis .property-card--modern::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -22px;
  block-size: 1px;
  background: var(--imoveis-rule);
  content: '';
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 520ms var(--imoveis-enter);
}

.wdo-page--imoveis .property-card--modern:hover {
  box-shadow: none;
  translate: 0 -6px;
}

.wdo-page--imoveis .property-card--modern:hover::after,
.wdo-page--imoveis .property-card--modern:focus-within::after {
  transform: scaleX(1);
}

.wdo-page--imoveis .property-card__carousel {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 0;
  background: var(--wdo-stone-linen);
}

.wdo-page--imoveis .property-card__track {
  transition: transform 520ms var(--imoveis-enter);
}

.wdo-page--imoveis .property-card__slide img {
  transform: scale(1.001);
  transition: transform 720ms var(--imoveis-enter);
}

.wdo-page--imoveis .property-card--modern:hover .property-card__slide img,
.wdo-page--imoveis .property-card--modern:focus-within .property-card__slide img {
  transform: scale(1.035);
}

.wdo-page--imoveis .property-card__badges {
  inset-block-start: 16px;
  inset-inline-start: 16px;
  gap: 8px;
}

.wdo-page--imoveis .property-card__badge {
  padding: 7px 10px;
  border-radius: 4px;
  color: #fff;
  background: var(--wdo-petrol-blue);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.wdo-page--imoveis .property-card__badge--code {
  color: var(--wdo-petrol-blue);
  background: #fff;
}

.wdo-page--imoveis .property-card__ctrl {
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  color: #fff;
  background: rgba(1, 37, 60, 0.82);
  transition: background-color 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}

.wdo-page--imoveis .property-card__ctrl:hover,
.wdo-page--imoveis .property-card__ctrl:focus-visible {
  border-color: #fff;
  background: var(--wdo-burnt-terracotta);
}

.wdo-page--imoveis .property-card__count {
  border-radius: 4px;
  color: #fff;
  background: rgba(1, 37, 60, 0.88);
}

.wdo-page--imoveis .property-card--modern .property-card__body {
  padding: 24px 0 0;
  border: 0;
}

.wdo-page--imoveis .property-card--modern .property-card__price {
  margin-block-end: 10px;
  color: var(--wdo-burnt-terracotta);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 700;
}

.wdo-page--imoveis .property-card--modern .property-card__title {
  max-inline-size: 26ch;
  margin-block-end: 12px;
  font-size: var(--type-heading-3);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.wdo-page--imoveis .property-card--modern .property-card__title a {
  color: var(--wdo-petrol-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.wdo-page--imoveis .property-card--modern .property-card__title a:hover {
  color: var(--wdo-burnt-terracotta);
  text-decoration-line: underline;
}

.wdo-page--imoveis .property-card__meta {
  color: #4f5f68;
  font-size: 0.94rem;
  line-height: 1.7;
}

.wdo-page--imoveis .property-card__programs .chip {
  border-radius: 4px;
}

.wdo-page--imoveis .property-highlights {
  display: grid;
  align-items: center;
  min-block-size: 100svh;
  margin-block-start: 0;
  padding: clamp(80px, 9vw, 124px) 0;
  background: var(--wdo-stone-linen);
}

.wdo-page--imoveis .property-highlights__inner {
  width: min(100% - 48px, 1180px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.wdo-page--imoveis .property-highlights .section-header {
  align-items: flex-start;
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.wdo-page--imoveis .property-highlights .section-header[data-reveal="copy"] {
  --wdo-reveal-duration: 980ms;
  --wdo-reveal-distance: 18px;
  opacity: 1;
  translate: none;
  transform: translate3d(0, 0, 0);
  transition: opacity 980ms var(--imoveis-enter), transform 1050ms var(--imoveis-enter);
}

.wdo-page--imoveis .property-highlights .section-header[data-reveal="copy"].is-reveal-pending:not(.is-visible) {
  opacity: 0;
  translate: none;
  transform: translate3d(-22px, 0, 0);
}

.wdo-page--imoveis .property-highlights__results[data-reveal="media"] {
  --wdo-reveal-duration: 1080ms;
  --wdo-reveal-distance: 28px;
  opacity: 1;
  translate: none;
  scale: 1;
  transform: none;
  transition: none;
}

.wdo-page--imoveis .property-highlights__results[data-reveal="media"].is-reveal-pending:not(.is-visible) {
  opacity: 1;
  translate: none;
  scale: 1;
  transform: none;
}

.wdo-page--imoveis .property-highlights__results[data-reveal="media"] .property-card--modern {
  --imoveis-highlight-delay: 0ms;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 1000ms var(--imoveis-enter), transform 1080ms var(--imoveis-enter), translate 420ms var(--imoveis-enter);
  transition-delay: var(--imoveis-highlight-delay);
}

.wdo-page--imoveis .property-highlights__results[data-reveal="media"] .property-card--modern:nth-child(2) {
  --imoveis-highlight-delay: 70ms;
}

.wdo-page--imoveis .property-highlights__results[data-reveal="media"] .property-card--modern:nth-child(n + 3) {
  --imoveis-highlight-delay: 140ms;
}

.wdo-page--imoveis .property-highlights__results[data-reveal="media"] .property-card--modern .property-card__carousel {
  clip-path: inset(0);
  transform: scale(1);
  transition: clip-path 1000ms var(--imoveis-enter), transform 1080ms var(--imoveis-enter);
  transition-delay: var(--imoveis-highlight-delay);
}

.wdo-page--imoveis .property-highlights__results[data-reveal="media"].is-reveal-pending:not(.is-visible) .property-card--modern {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.98);
}

.wdo-page--imoveis .property-highlights__results[data-reveal="media"].is-reveal-pending:not(.is-visible) .property-card--modern .property-card__carousel {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.02);
}

.wdo-page--imoveis .property-highlights .section-header__title {
  max-inline-size: 18ch;
  margin-inline: 0;
  color: var(--wdo-petrol-blue);
  font-size: var(--type-heading-2);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-align: left;
}

.wdo-page--imoveis .property-highlights .section-header__description {
  max-inline-size: 58ch;
  margin-inline: 0;
  color: var(--wdo-ink);
  text-align: left;
}

.wdo-page--imoveis .pagination a,
.wdo-page--imoveis .pagination span {
  min-inline-size: 44px;
  block-size: 44px;
  border-radius: 4px;
}

/* Full-height CTA closes the discovery journey with one decisive action. */
.wdo-page--imoveis .wdo-final-cta {
  min-block-size: 100svh;
  background: linear-gradient(125deg, var(--wdo-terracotta) 0 68%, var(--wdo-petrol) 68% 100%);
  text-align: left;
}

.wdo-page--imoveis .wdo-final-cta__inner {
  justify-items: start;
  width: min(100% - 48px, 1180px);
  opacity: 1;
  translate: none;
  transform: translate3d(0, 0, 0);
  transition: opacity 980ms var(--imoveis-enter), transform 1100ms var(--imoveis-enter);
}

.wdo-page--imoveis .wdo-final-cta .wdo-widget__eyebrow {
  color: #fff;
}

.wdo-page--imoveis .wdo-final-cta .wdo-widget__title {
  max-inline-size: 16ch;
  margin-inline: 0;
  color: #fff;
  font-size: var(--type-heading-2);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.04em;
  text-align: left;
}

.wdo-page--imoveis .wdo-final-cta .wdo-widget__text {
  max-inline-size: 52ch;
  margin-inline: 0;
  color: #fff;
  text-align: left;
}

.wdo-page--imoveis .wdo-final-cta .wdo-widget__text p {
  color: #fff;
}

.wdo-page--imoveis .wdo-final-cta .wdo-widget__actions {
  justify-content: flex-start;
}

.wdo-page--imoveis .wdo-final-cta a:focus-visible,
.wdo-page--imoveis .wdo-final-cta button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.wdo-page--imoveis .wdo-final-cta__inner.is-reveal-pending:not(.is-visible) {
  opacity: 0;
  translate: none;
  transform: translate3d(32px, 0, 0);
}

/* Filter dialog stays square, scroll-contained and keyboard legible. */
.wdo-page--imoveis .property-filters-dialog {
  width: min(920px, calc(100vw - 32px));
  max-block-size: min(90svh, 880px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--imoveis-rule);
  border-radius: 0;
  color: var(--wdo-ink);
  background: #fff;
}

.wdo-page--imoveis .property-filters-dialog::backdrop {
  background: rgba(1, 37, 60, 0.82);
}

.wdo-page--imoveis .property-filters-dialog__inner {
  padding: clamp(24px, 5vw, 56px);
}

.wdo-page--imoveis .property-filters-dialog__head {
  padding-block-end: 20px;
  border-block-end: 4px solid var(--wdo-burnt-terracotta);
}

.wdo-page--imoveis .property-filters-dialog__head h2 {
  color: var(--wdo-petrol-blue);
  font-size: var(--type-heading-2);
}

.wdo-page--imoveis .property-filters-dialog__group {
  border-color: var(--imoveis-rule);
}

.wdo-page--imoveis .property-filters-dialog__group h3 {
  color: var(--wdo-petrol-blue);
}

.wdo-page--imoveis .property-filters-dialog__fields input,
.wdo-page--imoveis .property-filters-dialog__fields select {
  min-block-size: 48px;
  border-radius: 0;
}

.wdo-page--imoveis .property-filters-dialog .chip {
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .wdo-page--imoveis {
    --imoveis-gutter: 32px;
  }

  .wdo-page--imoveis .wdo-property-filter-widget {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 24px;
  }

  .wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__title,
  .wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__text,
  .wdo-page--imoveis .wdo-property-filter {
    grid-column: 1;
    grid-row: auto;
  }

  .wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__title {
    max-inline-size: 13ch;
  }

  .wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__text {
    margin-block-start: 0;
  }

  .wdo-page--imoveis .wdo-property-filter {
    margin-block-start: 24px;
  }

  .wdo-page--imoveis .wdo-property-filter-widget.is-reveal-pending:not(.is-visible) > .wdo-property-filter {
    transform: translateY(24px);
  }

  .wdo-page--imoveis .property-results--highlights > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .wdo-page--imoveis {
    --imoveis-gutter: 20px;
  }

  .wdo-page--imoveis .wdo-page-hero,
  .wdo-page--imoveis .wdo-page-hero__grid,
  .wdo-page--imoveis .property-archive-hero {
    min-block-size: 100svh;
  }

  .wdo-page--imoveis .wdo-page-hero::after {
    inline-size: clamp(88px, 34vw, 160px);
  }

  .wdo-page--imoveis .wdo-page-hero__content {
    padding: calc(var(--header-height) + 48px) 0 72px;
  }

  .wdo-page--imoveis .wdo-page-hero__content .wdo-widget__title,
  .wdo-page--imoveis .property-archive-hero__title {
    font-size: var(--type-heading-1-mobile);
  }

  .wdo-page--imoveis .wdo-page-hero__media::after {
    background:
      linear-gradient(90deg, rgba(1, 37, 60, 0.94) 0%, rgba(1, 37, 60, 0.82) 58%, rgba(1, 37, 60, 0.62) 100%),
      linear-gradient(0deg, rgba(1, 37, 60, 0.44), transparent 52%);
  }

  .wdo-page--imoveis .property-archive-hero {
    padding-block-start: calc(var(--header-height) + 48px);
  }

  .wdo-page--imoveis .property-archive-hero .container,
  .wdo-page--imoveis .wdo-final-cta__inner {
    width: min(100% - 40px, 1180px);
  }

  .wdo-page--imoveis .property-archive-hero__search {
    grid-template-columns: minmax(0, 1fr);
  }

  .wdo-page--imoveis .property-archive-hero__search .btn {
    width: 100%;
  }

  .wdo-page--imoveis .wdo-property-filter-widget {
    padding-block: 88px;
  }

  .wdo-page--imoveis .wdo-property-filter-widget::before {
    inset-block: 88px;
  }

  .wdo-page--imoveis .wdo-property-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 26px 20px;
  }

  .wdo-page--imoveis .wdo-property-filter .filter-bar__group:not(.filter-bar__group--search) .filter-bar__label {
    min-block-size: 0;
  }

  .wdo-page--imoveis .wdo-property-filter .filter-bar__group--search,
  .wdo-page--imoveis .wdo-property-filter .wdo-filter-flags,
  .wdo-page--imoveis .wdo-property-filter .filter-bar__row--actions {
    grid-column: 1 / -1;
  }

  .wdo-page--imoveis .wdo-property-filter .wdo-filter-flags {
    grid-template-columns: minmax(0, 1fr);
  }

  .wdo-page--imoveis .property-highlights__inner {
    width: min(100% - 40px, 1180px);
  }

  .wdo-page--imoveis .property-results > .grid,
  .wdo-page--imoveis .property-results--highlights > .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .wdo-page--imoveis .property-card--modern:hover {
    translate: none;
  }

  .wdo-page--imoveis .property-card--modern:hover .property-card__slide img {
    transform: scale(1.001);
  }

  .wdo-page--imoveis .property-archive-toolbar {
    align-items: stretch;
  }

  .wdo-page--imoveis .property-archive-sort__toggle {
    width: 100%;
  }

  .wdo-page--imoveis .property-filters-dialog__head,
  .wdo-page--imoveis .property-filters-dialog__actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .wdo-page--imoveis .wdo-property-filter {
    grid-template-columns: minmax(0, 1fr);
  }

  .wdo-page--imoveis .wdo-property-filter .filter-bar__group--search,
  .wdo-page--imoveis .wdo-property-filter .wdo-filter-flags,
  .wdo-page--imoveis .wdo-property-filter .filter-bar__row--actions {
    grid-column: 1;
  }

  .wdo-page--imoveis .wdo-property-filter .filter-bar__row--actions {
    flex-direction: column-reverse;
  }

  .wdo-page--imoveis .wdo-property-filter .filter-bar__row--actions .btn {
    width: 100%;
  }

  .wdo-page--imoveis .property-card__badges {
    inset-block-start: 12px;
    inset-inline-start: 12px;
  }

  .wdo-page--imoveis .property-card__ctrl {
    inline-size: 44px;
    block-size: 44px;
  }

  .wdo-page--imoveis .wdo-final-cta .wdo-widget__title {
    font-size: var(--type-heading-2-mobile);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wdo-page--imoveis .wdo-page-hero::after,
  .wdo-page--imoveis .wdo-page-hero__content,
  .wdo-page--imoveis .wdo-page-hero__media img,
  .wdo-page--imoveis .property-archive-hero__content,
  .wdo-page--imoveis .property-archive-hero__image,
  .wdo-page--imoveis .wdo-property-filter-widget,
  .wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__title,
  .wdo-page--imoveis .wdo-property-filter-widget > .wdo-widget__text,
  .wdo-page--imoveis .wdo-property-filter-widget > .wdo-property-filter,
  .wdo-page--imoveis .property-results,
  .wdo-page--imoveis .property-results__header,
  .wdo-page--imoveis .property-highlights__results,
  .wdo-page--imoveis .property-highlights .section-header,
  .wdo-page--imoveis .property-card--modern,
  .wdo-page--imoveis .property-card--modern::after,
  .wdo-page--imoveis .property-card__carousel,
  .wdo-page--imoveis .property-card__track,
  .wdo-page--imoveis .property-card__slide img,
  .wdo-page--imoveis .wdo-final-cta__inner,
  .wdo-page--imoveis .wdo-property-filter-widget.is-reveal-pending:not(.is-visible) > .wdo-widget__title,
  .wdo-page--imoveis .wdo-property-filter-widget.is-reveal-pending:not(.is-visible) > .wdo-widget__text,
  .wdo-page--imoveis .wdo-property-filter-widget.is-reveal-pending:not(.is-visible) > .wdo-property-filter,
  .wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights),
  .wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights) > .grid > .property-card--modern,
  .wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights) > .grid > .property-card--modern:is(:nth-child(odd), :nth-child(even)),
  .wdo-page--imoveis .property-results[data-reveal="media"].is-reveal-pending:not(.is-visible):not(.property-results--highlights) > .grid > .property-card--modern .property-card__carousel,
  .wdo-page--imoveis .property-highlights .section-header[data-reveal="copy"].is-reveal-pending:not(.is-visible),
  .wdo-page--imoveis .property-highlights__results[data-reveal="media"].is-reveal-pending:not(.is-visible),
  .wdo-page--imoveis .property-highlights__results[data-reveal="media"].is-reveal-pending:not(.is-visible) .property-card--modern,
  .wdo-page--imoveis .property-highlights__results[data-reveal="media"].is-reveal-pending:not(.is-visible) .property-card--modern .property-card__carousel,
  .wdo-page--imoveis .wdo-final-cta__inner.is-reveal-pending:not(.is-visible) {
    opacity: 1;
    clip-path: none;
    translate: none;
    scale: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
    animation: none;
  }

  .wdo-page--imoveis .property-card--modern:hover,
  .wdo-page--imoveis .property-card--modern:focus-within {
    translate: none;
    transform: none;
  }

  .wdo-page--imoveis .property-card--modern:hover .property-card__slide img,
  .wdo-page--imoveis .property-card--modern:focus-within .property-card__slide img {
    transform: none;
  }

  .wdo-page--imoveis .property-results[aria-busy="true"] {
    opacity: 1;
  }
}
