/* =============================================
   Residência Contemporânea — Estrutura Editorial
   ============================================= */

:root {
  --color-bg: #ece9e4;
  --color-bg-alt: #e4e0d9;
  --color-surface: #f7f5f2;
  --color-text: #1c1b19;
  --color-text-muted: #6b6760;
  --color-text-light: #9a958c;
  --color-line: #d4cfc6;
  --color-line-subtle: rgba(28, 27, 25, 0.08);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --header-height: 4.5rem;
  --content-max: 72rem;
  --content-narrow: 36rem;
  --content-block-width: min(42vw, 28rem);
  --section-padding-x: clamp(1.5rem, 5vw, 4rem);
  --section-padding-y: clamp(3rem, 8vh, 6rem);

  --transition-base: 0.3s ease;
}

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* =============================================
   Cabeçalho fixo
   ============================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(236, 233, 228, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-line-subtle);
  box-shadow: 0 2px 10px rgba(28, 27, 25, 0.1);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.header-logo:hover .header-logo-img,
.header-logo:focus-visible .header-logo-img {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(28, 27, 25, 0.14);
}

.header-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav-list a {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--color-text);
}

.nav-item--featured a {
  color: var(--color-text);
  font-weight: 500;
  position: relative;
}

.nav-item--featured a::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.28rem;
  background-color: var(--color-text);
  opacity: 0.45;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-backdrop {
  display: none;
}

body.is-nav-open {
  overflow: hidden;
}

/* =============================================
   Main & vídeo de fundo (preparado)
   ============================================= */

.site-main {
  position: relative;
}

.video-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.video-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.immersive-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (min-width: 901px) {
  .video-slot {
    overflow: hidden;
  }

  .immersive-video {
    transform: translateZ(0) scale(1.24);
    -webkit-transform: translateZ(0) scale(1.24);
    object-position: center 42%;
  }
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 27, 25, 0.42);
  pointer-events: none;
  z-index: 1;
}

.immersive-experience {
  position: relative;
  z-index: 2;
}

/* =============================================
   Seções
   ============================================= */

.section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-height) + var(--section-padding-y)) var(--section-padding-x) var(--section-padding-y);
}

.section--video {
  background: transparent;
}

.section--video .eyebrow,
.section--video .section-number {
  color: rgba(247, 245, 242, 0.55);
}

.section--video .display-title,
.section--video .section-title,
.section--video .text-link {
  color: #f7f5f2;
}

.section--video .lead,
.section--video .body-text {
  color: rgba(247, 245, 242, 0.72);
}

.section--video .lead {
  color: #f7f5f2;
}

.section--video .text-link {
  border-color: rgba(247, 245, 242, 0.6);
}

.section--video .text-link:hover,
.section--video .text-link:focus-visible {
  color: #f7f5f2;
  border-color: #f7f5f2;
}

.section--editorial,
.section--gallery {
  min-height: auto;
  padding-block: clamp(2rem, 5vh, 3.25rem);
  padding-top: calc(var(--header-height) + clamp(1.5rem, 4vh, 2.5rem));
}

.section--editorial {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-line-subtle);
  border-bottom: 1px solid var(--color-line-subtle);
}

.section-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

/* Layout com área livre para vídeo */

.section--left .section-inner,
.section--right .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.section--center .section-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Blocos de conteúdo */

.content-block {
  max-width: var(--content-block-width);
}

.content-block--center {
  text-align: center;
  max-width: var(--content-narrow);
}

.content-block--left {
  justify-self: start;
}

.content-block--right {
  justify-self: end;
  text-align: right;
}

.video-clearance {
  min-height: 50vh;
}

.section--left .video-clearance {
  order: 2;
}

.section--right .video-clearance {
  order: 1;
}

/* =============================================
   Tipografia editorial
   ============================================= */

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.section-number {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section-title--editorial {
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 2.9rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.body-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 32ch;
}

.body-text--narrow {
  max-width: 38ch;
}

.body-text--centered {
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.text-link {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 0.25rem;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--color-text-muted);
  border-color: var(--color-text-muted);
}

/* =============================================
   Seção editorial — informações
   ============================================= */

.section-inner--editorial {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vh, 5rem);
}

.editorial-header {
  max-width: 28rem;
}

.editorial-header--listings {
  max-width: none;
  text-align: center;
}

.section--listings .editorial-header--listings .eyebrow {
  margin-bottom: 0.6rem;
}

.section--listings .editorial-header--listings .section-title {
  margin-bottom: 0;
}

.section--listings .section-inner--editorial {
  gap: clamp(1rem, 2vh, 1.5rem);
}

.listings-intro {
  max-width: 42ch;
  margin-inline: auto;
  text-align: center;
  color: var(--color-text-muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 19.5rem));
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: min(62rem, 100%);
  margin-inline: auto;
}

.property-card {
  min-width: 0;
  width: 100%;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.property-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  transition: box-shadow 0.45s ease;
}

.property-card__media--placeholder {
  background: linear-gradient(145deg, #ddd9d2 0%, #c8c3ba 100%);
}

.property-card__carousel {
  position: absolute;
  inset: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  z-index: 0;
}

.property-card__carousel::-webkit-scrollbar {
  display: none;
}

.property-card__carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.property-card__track {
  display: flex;
  height: 100%;
}

.property-card__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.property-card__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.property-card__dots {
  position: absolute;
  left: 50%;
  bottom: 42%;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
  transform: translateX(-50%);
  pointer-events: auto;
}

.property-card__dot {
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(247, 245, 242, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.property-card__dot.is-active {
  transform: scale(1.35);
  background-color: #f7f5f2;
}

.property-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.property-card__image:not([hidden]) + .property-card__placeholder {
  display: none;
}

.property-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.property-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(28, 27, 25, 0.55) 0%,
    rgba(28, 27, 25, 0.1) 38%,
    rgba(28, 27, 25, 0.15) 62%,
    rgba(28, 27, 25, 0.82) 100%
  );
  color: #f7f5f2;
  pointer-events: none;
}

.property-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.property-card__location {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.property-card__city {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-card__neighborhood {
  font-size: 0.75rem;
  color: rgba(247, 245, 242, 0.75);
}

.property-card__code {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background-color: var(--color-text);
  color: var(--color-surface);
  border-radius: 2px;
}

.property-card__mark {
  align-self: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(100%);
}

.property-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.property-card__type {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 245, 242, 0.9);
}

.property-card__specs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  list-style: none;
}

.property-card__spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.625rem;
  line-height: 1.3;
  color: rgba(247, 245, 242, 0.92);
}

.property-card__icon {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.property-card__price {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #f7f5f2;
}

@media (hover: hover) and (pointer: fine) {
  .property-card:hover {
    transform: scale(1.045);
    z-index: 2;
  }

  .property-card:hover .property-card__media {
    box-shadow: 0 18px 42px rgba(28, 27, 25, 0.18);
  }

  .property-card:hover .property-card__slide img,
  .property-card:hover .property-card__image {
    transform: scale(1.08);
  }
}

.editorial-caption {
  max-width: 44ch;
  margin-top: 0.25rem;
  margin-inline: auto;
  text-align: center;
  border-top: 1px solid var(--color-line-subtle);
  padding-top: 1.25rem;
}

/* =============================================
   Portfólio de imóveis
   ============================================= */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.portfolio-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--color-line-subtle);
  padding-top: 1.5rem;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover {
  opacity: 0.85;
}

.portfolio-card-image {
  width: 100%;
  height: 16rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background-color: var(--color-bg-alt);
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-image img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.portfolio-card-location {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.portfolio-card-specs {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.portfolio-card-price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-text);
}

.portfolio-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* Página de detalhe do imóvel */

.property-detail-section {
  padding-top: calc(var(--header-height) + 4rem);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.editorial-image {
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
}

.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line-subtle);
}

.spec-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-line-subtle);
}

.spec-item dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.spec-item dd {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-text);
}

.gallery-slot--wide {
  grid-column: span 3;
}

/* =============================================
   Página individual do imóvel
   ============================================= */

.property-breadcrumb {
  position: relative;
  z-index: 5;
  padding: calc(var(--header-height) + 1.5rem) var(--section-padding-x) 0;
  font-size: 0.75rem;
  color: var(--color-text-light);
  display: flex;
  gap: 0.5rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

.property-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.property-hero,
.property-summary,
.property-description,
.property-neighborhood,
.property-video,
.property-agent,
.property-related {
  min-height: auto;
}

.page-imovel .section--editorial:not(.property-hero) {
  padding-top: clamp(2rem, 5vh, 3.25rem);
  padding-bottom: clamp(2rem, 5vh, 3.25rem);
}

.page-imovel .property-summary {
  background-color: var(--color-bg);
  border-top: none;
  border-bottom: none;
}

.property-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.15rem;
  align-items: stretch;
}

.property-panel {
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  padding: clamp(1.6rem, 3.2vw, 2.4rem);
}

.property-panel .eyebrow {
  color: var(--color-text-muted);
  margin-bottom: 1.15rem;
}

.property-copy-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--color-text);
  max-width: 38ch;
}

.page-imovel .property-description .section-inner--editorial,
.page-imovel .property-neighborhood .section-inner--editorial {
  gap: 0;
}

.property-panel--features {
  background-color: #efece6;
}

.page-imovel .property-description {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-line);
  border-bottom: none;
}

.page-imovel .property-neighborhood {
  background:
    radial-gradient(ellipse 80% 70% at 8% 0%, rgba(90, 84, 74, 0.32) 0%, transparent 55%),
    linear-gradient(165deg, #2a2825 0%, #1c1b19 55%, #23211e 100%);
  border-top: none;
  border-bottom: none;
}

.property-region {
  max-width: 40rem;
  padding: clamp(0.5rem, 2vw, 1rem) 0;
  border-left: 2px solid rgba(247, 245, 242, 0.28);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}

.page-imovel .property-neighborhood .eyebrow {
  color: rgba(247, 245, 242, 0.58);
  margin-bottom: 1rem;
}

.property-region-text {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #f7f5f2;
}

.property-hero {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.property-gallery-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
  height: 32rem;
}

.property-gallery-main .gallery-main-image {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  min-height: 0;
}

.property-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 27, 25, 0.55);
  color: #f7f5f2;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.property-gallery-nav:hover,
.property-gallery-nav:focus-visible {
  background: rgba(28, 27, 25, 0.78);
  outline: none;
}

.property-gallery-nav--prev {
  left: 0.85rem;
}

.property-gallery-nav--next {
  right: 0.85rem;
}

.property-gallery-counter {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  background: rgba(28, 27, 25, 0.55);
  color: #f7f5f2;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.property-gallery-thumbs {
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.75rem;
  min-height: 0;
  overflow: auto;
}

.property-gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  min-height: 6.5rem;
  padding: 0;
  border: 0;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  cursor: pointer;
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-gallery-thumb.is-active {
  outline: 1px solid var(--color-text);
  outline-offset: -1px;
}

.property-gallery-grid .property-gallery-slot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-line-subtle);
  padding-bottom: 2rem;
}

.property-price-block {
  text-align: right;
}

.property-price {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.spec-list--stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: none;
}

.spec-list--stat .spec-item {
  padding: 1rem 1.25rem 1rem 0;
  border-bottom: 1px solid var(--color-line-subtle);
}

.property-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  font-size: 0.8125rem;
  color: var(--color-text);
  line-height: 1.45;
  list-style: none;
}

.property-features li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--color-line);
}

.property-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.property-features li::before {
  content: "";
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.3rem;
  background-color: var(--color-text-muted);
}

.property-agent .section-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.property-agent-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--color-line);
  background-color: var(--color-surface);
}

.property-agent-photo {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--color-bg-alt);
}

.property-agent-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-top: 0;
}

.property-agent-creci {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: 0.35rem 0 0.85rem;
}

.property-agent-whatsapp {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 0.2rem;
}

.property-agent-whatsapp:hover,
.property-agent-whatsapp:focus-visible {
  color: var(--color-text-muted);
  border-color: var(--color-text-muted);
}

.property-video {
  min-height: auto;
}

.property-video-frame {
  margin-top: 1.5rem;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-line-subtle);
}

.property-video-frame video {
  display: block;
  width: 100%;
  max-height: 36rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #1c1b19;
}

@media (max-width: 768px) {
  .property-gallery-main {
    grid-template-columns: 1fr;
    height: auto;
  }

  .property-gallery-main .gallery-main-image {
    height: 20rem;
  }

  .property-gallery-thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 0.35rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .property-gallery-thumb {
    flex: 0 0 3.6rem;
    width: 3.6rem;
    height: 2.65rem;
    min-height: 0;
    aspect-ratio: auto;
  }

  .property-summary-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-price-block {
    text-align: left;
  }

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

  .spec-list--stat {
    grid-template-columns: 1fr 1fr;
  }

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

.listings-catalog {
  display: flex;
  justify-content: center;
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.listings-catalog__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 18rem);
  padding: 1rem 2.5rem;
  border: 1px solid var(--color-text);
  border-radius: 2px;
  background-color: var(--color-text);
  color: var(--color-surface);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.listings-catalog__btn:hover,
.listings-catalog__btn:focus-visible {
  background-color: transparent;
  color: var(--color-text);
  outline: none;
}

@media (max-width: 1024px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 17.5rem));
    max-width: 37rem;
  }
}

@media (max-width: 640px) {
  .property-grid {
    grid-template-columns: minmax(0, 18rem);
    max-width: 18rem;
  }

  .property-card__media {
    aspect-ratio: 4 / 5;
  }

  .property-card__specs {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0.75rem;
  }

  .property-card__spec:nth-child(4),
  .property-card__spec:nth-child(5) {
    grid-column: span 1;
  }
}

/* =============================================
   Galeria
   ============================================= */

.section--gallery {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 15% 0%, rgba(90, 84, 74, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 100%, rgba(60, 56, 50, 0.4) 0%, transparent 50%),
    linear-gradient(165deg, #2a2825 0%, #1c1b19 42%, #23211e 100%);
}

.section--gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.section-inner--gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vh, 1.75rem);
  position: relative;
  z-index: 1;
}

.gallery-header {
  max-width: 28rem;
  text-align: center;
  margin-inline: auto;
}

.section--gallery .eyebrow {
  margin-bottom: 0.55rem;
  color: rgba(247, 245, 242, 0.5);
}

.section--gallery .section-title {
  margin-bottom: 0;
  color: #f7f5f2;
}

.gallery-intro {
  max-width: 40ch;
  margin-top: 0;
  margin-inline: auto;
  text-align: center;
  color: rgba(247, 245, 242, 0.68);
}

.gallery-grid-wrap {
  padding: clamp(1rem, 2.5vw, 1.75rem);
  background: linear-gradient(145deg, rgba(247, 245, 242, 0.97) 0%, rgba(236, 231, 223, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.1rem);
  align-items: start;
}

.gallery-slot {
  position: relative;
  overflow: hidden;
  background-color: #e8e4dc;
  box-shadow: 0 10px 28px rgba(28, 27, 25, 0.1);
}

.gallery-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 1;
}

.gallery-slot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  filter: grayscale(10%) contrast(1.02);
  transition: filter 0.55s ease;
}

.gallery-slot:hover img {
  filter: grayscale(0%) contrast(1.04);
}

.gallery-slot:nth-child(1) {
  grid-column: span 3;
}

.gallery-slot:nth-child(2) {
  grid-column: span 3;
}

.gallery-slot:nth-child(3) {
  grid-column: span 2;
}

.gallery-slot:nth-child(4) {
  grid-column: span 2;
}

.gallery-slot:nth-child(5) {
  grid-column: span 2;
}

.gallery-slot:nth-child(6) {
  grid-column: span 3;
}

.gallery-slot:nth-child(7) {
  grid-column: span 3;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-slot:nth-child(1),
  .gallery-slot:nth-child(2),
  .gallery-slot:nth-child(6),
  .gallery-slot:nth-child(7) {
    grid-column: span 2;
  }

  .gallery-slot:nth-child(3),
  .gallery-slot:nth-child(4),
  .gallery-slot:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .gallery-grid-wrap {
    padding: 0.65rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .gallery-slot:nth-child(n) {
    grid-column: span 1;
  }
}

/* =============================================
   Corretor
   ============================================= */

.section--broker {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-line-subtle);
  padding-block: clamp(3rem, 7vh, 5rem);
  padding-top: calc(var(--header-height) + clamp(2rem, 5vh, 3rem));
}

.section-inner--broker {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.broker-profile {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.broker-photo__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 1.25rem 3rem rgba(28, 27, 25, 0.12);
}

.broker-photo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.broker-copy .eyebrow {
  margin-bottom: 1rem;
}

.section-title--broker {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.broker-creci {
  margin-bottom: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.broker-bio {
  max-width: 38rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.broker-pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--color-line-subtle);
}

.broker-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.broker-pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-text);
}

.broker-pillar__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.broker-pillar__text {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--color-text-muted);
  max-width: 16rem;
}

@media (max-width: 768px) {
  .broker-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .broker-photo {
    width: min(14rem, 55vw);
  }

  .broker-bio {
    max-width: none;
  }

  .broker-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .broker-pillar {
    gap: 0.65rem;
  }

  .broker-pillar__icon {
    width: 1.65rem;
    height: 1.65rem;
  }

  .broker-pillar__text {
    max-width: none;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }
}

/* =============================================
   Equipe
   ============================================= */

.section--team {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-line-subtle);
  padding-block: clamp(3rem, 7vh, 5rem);
  padding-top: calc(var(--header-height) + clamp(2rem, 5vh, 3rem));
}

.section-inner--team {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.team-header {
  max-width: 36rem;
  text-align: center;
  margin-inline: auto;
}

.team-header .eyebrow {
  margin-bottom: 1rem;
}

.team-header .section-title {
  margin-bottom: 1.25rem;
}

.team-intro {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 52rem;
  margin-inline: auto;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.team-member__photo {
  width: min(13.75rem, 42vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 1.25rem 3rem rgba(28, 27, 25, 0.1);
  background-color: var(--color-bg-alt);
}

.team-member__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.team-member__creci {
  margin-top: -0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.team-member__bio {
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.team-member__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  background-color: #25d366;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.team-member__whatsapp:hover,
.team-member__whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  background-color: #20bd5a;
}

.team-member__whatsapp-icon {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 20rem;
  }

  .team-member__bio {
    max-width: none;
  }
}

/* =============================================
   Contato
   ============================================= */

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.contact-link {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--color-text);
}

/* Contato — dar peso visual */
.section--contact {
  position: relative;
  min-height: auto;
  align-items: stretch;
  padding-block: clamp(4rem, 10vh, 6.5rem);
  padding-top: calc(var(--header-height) + clamp(2.5rem, 6vh, 4rem));
  background-color: var(--color-text);
  color: var(--color-surface);
}

.section-inner--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.25rem, 3vh, 2rem);
}

.contact-header {
  max-width: 28rem;
}

.section--contact .eyebrow {
  margin-bottom: 0.75rem;
  color: rgba(247, 245, 242, 0.6);
}

.section--contact .section-title {
  margin-bottom: 0;
  color: var(--color-surface);
}

.contact-intro {
  max-width: 42ch;
  margin-inline: auto;
  text-align: center;
  color: rgba(247, 245, 242, 0.75);
}

.section--contact .contact-link {
  color: var(--color-surface);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.section--contact .contact-link:hover {
  color: rgba(247, 245, 242, 0.65);
}

.section--contact .contact-details {
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
  gap: 1.25rem;
}

.section--contact .contact-details::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background-color: rgba(247, 245, 242, 0.35);
  margin: 0 auto 2rem;
}

/* =============================================
   Rodapé
   ============================================= */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem var(--section-padding-x) 2rem;
  border-top: 1px solid var(--color-line-subtle);
  background-color: var(--color-bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

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

.footer-logo-img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-line);
  box-shadow: 0 4px 18px rgba(28, 27, 25, 0.12);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.footer-logo:hover .footer-logo-img,
.footer-logo:focus-visible .footer-logo-img {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(28, 27, 25, 0.16);
}

.footer-text {
  max-width: var(--content-max);
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  text-align: center;
}

/* =============================================
   Responsividade
   ============================================= */

@media (max-width: 900px) {
  .section--left .section-inner,
  .section--right .section-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .video-clearance {
    display: none;
  }

  .content-block--right {
    justify-self: start;
    text-align: left;
  }

  .content-block {
    max-width: 100%;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 112;
  }

  body.is-nav-open .site-header {
    background-color: #f7f5f2;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--color-line);
  }

  body.is-nav-open .header-inner {
    position: relative;
    z-index: 112;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 108;
    background: rgba(28, 27, 25, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  body.is-nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 2.5rem) var(--section-padding-x) 3rem;
    background: linear-gradient(165deg, #f7f5f2 0%, #ece9e4 55%, #e4e0d9 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .header-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--color-line-subtle);
  }

  .nav-list li:first-child {
    border-top: 1px solid var(--color-line-subtle);
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 1.125rem 0;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--color-text);
    transition: color var(--transition-base), padding-left var(--transition-base);
  }

  .nav-list a:hover,
  .nav-list a:focus-visible {
    color: var(--color-text-muted);
    padding-left: 0.5rem;
  }

  .nav-item--featured a {
    font-size: 1.75rem;
    font-weight: 500;
  }

  .nav-item--featured a::after {
    display: none;
  }

  .header-nav.is-open .nav-list a {
    animation: nav-link-in 0.45s ease both;
  }

  .header-nav.is-open .nav-list li:nth-child(1) a { animation-delay: 0.04s; }
  .header-nav.is-open .nav-list li:nth-child(2) a { animation-delay: 0.08s; }
  .header-nav.is-open .nav-list li:nth-child(3) a { animation-delay: 0.12s; }
  .header-nav.is-open .nav-list li:nth-child(4) a { animation-delay: 0.16s; }
  .header-nav.is-open .nav-list li:nth-child(5) a { animation-delay: 0.20s; }
  .header-nav.is-open .nav-list li:nth-child(6) a { animation-delay: 0.24s; }
  .header-nav.is-open .nav-list li:nth-child(7) a { animation-delay: 0.28s; }
  .header-nav.is-open .nav-list li:nth-child(8) a { animation-delay: 0.32s; }
  .header-nav.is-open .nav-list li:nth-child(9) a { animation-delay: 0.36s; }

  @keyframes nav-link-in {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .display-title {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .gallery-slot--wide {
    grid-column: span 1;
  }
}

/* =============================================
   Botões flutuantes Instagram + WhatsApp
   ============================================= */

.social-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.instagram-float {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(214, 36, 159, 0.38);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.instagram-float:hover,
.instagram-float:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(214, 36, 159, 0.5);
}

.instagram-float__icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.whatsapp-float {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__icon {
  position: relative;
  z-index: 2;
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25d366;
  animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  70% {
    transform: scale(1.55);
    opacity: 0;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .whatsapp-float__pulse {
    animation: none;
  }
}

/* =============================================
   Scroll effects — segunda metade do site
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: var(--header-height);
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--color-text);
  z-index: 101;
  transition: width 0.1s linear;
}

.property-image-wrap {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.property-image-wrap img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* =============================================
   Scroll effects — fichas de imóvel
   ============================================= */

.page-imovel .site-header {
  transition: box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.page-imovel .site-header.is-scrolled {
  background-color: rgba(236, 233, 228, 0.97);
  border-bottom-color: var(--color-line);
  box-shadow: 0 10px 30px rgba(28, 27, 25, 0.06);
}

.px-reveal {
  opacity: 0;
  transform: translate3d(0, 2rem, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s ease;
  transition-delay: var(--px-delay, 0ms);
  will-change: opacity, transform;
}

.px-reveal[data-reveal="fade-left"] {
  transform: translate3d(2rem, 0, 0);
}

.px-reveal[data-reveal="fade-right"] {
  transform: translate3d(-2rem, 0, 0);
}

.px-reveal[data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(12% 8% 12% 8%);
  filter: saturate(0.85);
}

.px-reveal[data-reveal="hero"] {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0) scale(0.985);
}

.px-reveal.is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  filter: none;
}

.px-reveal-child {
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--px-delay, 0ms);
}

.px-reveal.is-visible .px-reveal-child,
.px-reveal.is-visible > .px-reveal-child {
  opacity: 1;
  transform: none;
}

.px-parallax {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.px-parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.08);
  transition: transform 0.12s linear;
}

.property-gallery-grid .property-gallery-slot .px-parallax {
  aspect-ratio: 4 / 3;
  height: auto;
}

.property-gallery-grid .property-gallery-slot .px-parallax img {
  aspect-ratio: 4 / 3;
}

.page-imovel .property-video-frame.px-reveal[data-reveal="clip"] {
  clip-path: inset(8% 4%);
  transform: scale(0.97);
}

.page-imovel .property-video-frame.px-reveal.is-visible {
  clip-path: inset(0 0 0 0);
  transform: none;
}

.page-imovel .property-region.px-reveal.is-visible {
  animation: px-region-line 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes px-region-line {
  from {
    border-left-color: transparent;
  }
  to {
    border-left-color: rgba(247, 245, 242, 0.28);
  }
}

.page-imovel .property-gallery-main.is-visible .gallery-main-image {
  animation: px-hero-settle 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes px-hero-settle {
  from {
    filter: brightness(0.92);
  }
  to {
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .px-reveal,
  .px-reveal-child {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }

  .px-parallax img {
    transform: none !important;
    transition: none !important;
  }

  .page-imovel .property-gallery-main.is-visible .gallery-main-image,
  .page-imovel .property-region.px-reveal.is-visible {
    animation: none !important;
  }
}
