/* ==========================================================================
   Decolar Consórcios — Consórcio de Imóveis (consorcio-imoveis.html)
   Estilos específicos da página. Reaproveita tokens, botões e header globais.
   ========================================================================== */

/* ==========================================================================
   HERO CINEMATOGRÁFICO — Consórcio de Imóveis (consorcio-imoveis.html)
   Abertura de impacto: viewport dinâmica sob o header, tipografia ampla
   ========================================================================== */

.mod-hero.imovel-hero {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  height: auto;
  max-height: none;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.imovel-hero .mod-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.imovel-hero .mod-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 36%;
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mod-hero.imovel-hero.is-revealed .mod-hero-img {
  transform: scale(1);
}

/* Degradê cinematográfico: escuro à esquerda para leitura cristalina,
   suave e transparente à direita para valorizar os edifícios */
.imovel-hero .mod-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 11, 15, 0.88) 0%,
    rgba(10, 11, 15, 0.78) 36%,
    rgba(10, 11, 15, 0.42) 62%,
    rgba(10, 11, 15, 0.08) 82%,
    rgba(10, 11, 15, 0) 100%
  );
}

.imovel-hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(48px, 6vh, 88px);
  width: 100%;
}

.imovel-hero-content {
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.imovel-hero-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 14px;
}

.imovel-hero-title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.6rem, 3.9vw, 3.75rem); /* ~56px - 60px no desktop */
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.024em;
  color: #ffffff;
  max-width: 780px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.imovel-hero-br {
  display: inline;
}

.imovel-hero-lead {
  margin: 18px 0 0;
  max-width: 620px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.06rem, 1.25vw, 1.18rem); /* ~18px - 19px */
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.imovel-hero-cta {
  margin-top: clamp(26px, 3vh, 36px);
  padding: 16px 36px;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.35);
}

/* Responsividade Tablet */
@media (max-width: 991px) {
  .mod-hero.imovel-hero {
    min-height: calc(100svh - var(--header-height));
    height: auto;
    padding-block: clamp(40px, 6vh, 60px);
  }

  .imovel-hero .container {
    padding-block: 0;
  }

  .imovel-hero .mod-hero-media::after {
    background: linear-gradient(
      95deg,
      rgba(10, 11, 15, 0.9) 0%,
      rgba(10, 11, 15, 0.8) 45%,
      rgba(10, 11, 15, 0.35) 75%,
      rgba(10, 11, 15, 0.05) 100%
    );
  }

  .imovel-hero-title {
    font-size: clamp(2.2rem, 5.2vw, 2.9rem);
    max-width: 640px;
  }

  .imovel-hero-lead {
    font-size: 1.02rem;
    max-width: 540px;
  }
}

/* Responsividade Mobile */
@media (max-width: 576px) {
  .mod-hero.imovel-hero {
    min-height: calc(100svh - var(--header-height));
    height: auto;
    padding-block: clamp(32px, 6vh, 48px);
    align-items: center;
  }

  .imovel-hero .container {
    padding-block: 0;
  }

  .imovel-hero .mod-hero-img {
    object-position: 72% center;
  }

  .imovel-hero .mod-hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(10, 11, 15, 0.6) 0%,
      rgba(10, 11, 15, 0.8) 40%,
      rgba(10, 11, 15, 0.94) 100%
    );
  }

  .imovel-hero-eyebrow {
    font-size: 0.72rem;
    margin-bottom: 10px;
  }

  .imovel-hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -0.018em;
  }

  .imovel-hero-br {
    display: none;
  }

  .imovel-hero-lead {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.52;
    max-width: 100%;
  }

  .imovel-hero-cta {
    margin-top: 22px;
    padding: 14px 30px;
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   1. PLANEJAMENTO IMOBILIÁRIO — Seção Editorial Premium
   Fundo bege suave com estética arquitetônica sofisticada e acolhedora
   ========================================================================== */

.imovel-editorial-section {
  padding: clamp(64px, 7.5vw, 100px) 0;
  background: linear-gradient(180deg, #fdfbf7 0%, #f6f2ea 100%);
  border-top: 1px solid rgba(228, 220, 208, 0.65);
  border-bottom: 1px solid rgba(228, 220, 208, 0.65);
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.imovel-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 5.5vw, 80px);
  align-items: center;
}

.imovel-editorial-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.imovel-editorial-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 14px;
}

.imovel-editorial-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.024em;
  color: #111827;
  margin-bottom: 20px;
  text-wrap: balance;
}

.imovel-editorial-lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.72;
  color: #4b5563;
  margin-bottom: 28px;
  max-width: 580px;
}

.imovel-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  color: #111827;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-orange);
  text-decoration: none;
  transition: color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.imovel-editorial-link svg {
  color: var(--color-orange);
  transition: transform var(--transition-base);
}

.imovel-editorial-link:hover {
  color: var(--color-orange);
}

.imovel-editorial-link:hover svg {
  transform: translateX(5px);
}

.imovel-editorial-media {
  position: relative;
  width: 100%;
}

.imovel-editorial-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(214, 204, 192, 0.85);
  box-shadow:
    0 24px 48px -12px rgba(45, 35, 20, 0.12),
    0 6px 16px rgba(45, 35, 20, 0.05);
  background: #eae4da;
}

.imovel-editorial-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .imovel-editorial-frame:hover .imovel-editorial-img {
    transform: scale(1.03);
  }
}

/* Responsividade Tablet e Mobile — Seção Editorial */
@media (max-width: 900px) {
  .imovel-editorial-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .imovel-editorial-title {
    font-size: clamp(1.65rem, 5.8vw, 2.05rem);
  }

  .imovel-editorial-lead {
    font-size: 1rem;
    line-height: 1.64;
    margin-bottom: 22px;
  }

  .imovel-editorial-img {
    aspect-ratio: 16 / 10;
    max-height: 380px;
  }
}

@media (max-width: 520px) {
  .imovel-editorial-section {
    padding: 48px 0;
  }

  .imovel-editorial-grid {
    gap: 26px;
  }

  .imovel-editorial-img {
    aspect-ratio: 4 / 3;
    max-height: 290px;
  }
}


/* ==========================================================================
   2. CARROSSEL CINEMATOGRÁFICO 3D COVERFLOW — Principal Destaque Visual
   Fundo grafite escuro com luz ambiente, título branco e cards expandidos
   ========================================================================== */

.imovel-carousel-section {
  min-height: calc(100vh - var(--header-height) + 1px);
  min-height: calc(100dvh - var(--header-height) + 1px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: clamp(24px, 3.5vh, 44px) 0;
  background: radial-gradient(ellipse 80% 60% at 50% 24%, #161c28 0%, #0d1017 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
}

.imovel-carousel-section > .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: auto 0;
}

/* Reflexo sutil de profundidade na seção escura */
.imovel-carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 100%);
  height: clamp(260px, 38vh, 360px);
  background: radial-gradient(circle, rgba(255, 122, 26, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.imovel-carousel-header {
  text-align: center;
  margin-bottom: clamp(12px, 1.8vh, 20px);
  position: relative;
  z-index: 1;
}

.imovel-carousel-header .mod-section-title {
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.024em;
  margin: 0 auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.imovel-coverflow-wrap {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
  padding: 6px 0 10px;
  z-index: 1;
  --im-card-w: clamp(465px, 41vw, 588px);
  --im-card-h: min(358px, 46vh);
  --im-stage-h: min(400px, 51vh);
  --im-spacing: clamp(295px, 27vw, 378px);
  --im-rot-y: 13deg;
  --im-side-scale: 0.83;
  --im-center-scale: 1.03;
}

.imovel-coverflow-stage {
  position: relative;
  width: 100%;
  height: var(--im-stage-h);
  perspective: 1200px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  user-select: none;
  outline: none;
}

.imovel-coverflow-stage:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 4px;
  border-radius: 18px;
}

.imovel-coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.imovel-coverflow-card {
  position: absolute;
  top: calc(50% - (var(--im-card-h) / 2));
  left: calc(50% - (var(--im-card-w) / 2));
  width: var(--im-card-w);
  height: var(--im-card-h);
  border-radius: 18px;
  overflow: hidden;
  background-color: #0b0f19;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 32px -8px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 900ms cubic-bezier(0.25, 1, 0.33, 1),
              opacity 900ms cubic-bezier(0.25, 1, 0.33, 1),
              box-shadow 900ms ease,
              border-color 900ms ease;
  will-change: transform, opacity;
  box-sizing: border-box;
}

/* Slot Center (0): Ativo, centralizado, cinematográfico e nítido */
.imovel-coverflow-card.slot-center {
  transform: translate3d(0, 0, 52px) rotateY(0deg) scale(var(--im-center-scale));
  opacity: 1;
  z-index: 10;
  cursor: default;
  border: 1.5px solid rgba(255, 122, 26, 0.85);
  box-shadow:
    0 24px 54px -10px rgba(0, 0, 0, 0.85),
    0 0 26px rgba(255, 122, 26, 0.25),
    0 0 0 1px rgba(255, 122, 26, 0.35);
}

/* Slot Left (-1): Lateral esquerdo, showroom com profundidade */
.imovel-coverflow-card.slot-left {
  transform: translate3d(calc(var(--im-spacing) * -1), 0, -50px) rotateY(var(--im-rot-y)) scale(var(--im-side-scale));
  opacity: 0.65;
  z-index: 5;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .imovel-coverflow-card.slot-left:hover {
    opacity: 0.88;
    transform: translate3d(calc(var(--im-spacing) * -1), -3px, -38px) rotateY(var(--im-rot-y)) scale(calc(var(--im-side-scale) + 0.02));
    border-color: rgba(255, 255, 255, 0.32);
  }
}

/* Slot Right (+1): Lateral direito, showroom com profundidade */
.imovel-coverflow-card.slot-right {
  transform: translate3d(calc(var(--im-spacing) * 1), 0, -50px) rotateY(calc(var(--im-rot-y) * -1)) scale(var(--im-side-scale));
  opacity: 0.65;
  z-index: 5;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .imovel-coverflow-card.slot-right:hover {
    opacity: 0.88;
    transform: translate3d(calc(var(--im-spacing) * 1), -3px, -38px) rotateY(calc(var(--im-rot-y) * -1)) scale(calc(var(--im-side-scale) + 0.02));
    border-color: rgba(255, 255, 255, 0.32);
  }
}

/* Imagem e Enquadramento */
.imovel-coverflow-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0b0f19;
}

.imovel-coverflow-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
  transition: transform 700ms cubic-bezier(0.2, 1, 0.3, 1);
}

.imovel-coverflow-card[data-index="0"] .imovel-coverflow-card-img {
  object-position: center 55%;
}

.imovel-coverflow-card[data-index="1"] .imovel-coverflow-card-img {
  object-position: center 25%;
}

.imovel-coverflow-card[data-index="2"] .imovel-coverflow-card-img {
  object-position: center 45%;
}

@media (hover: hover) and (pointer: fine) {
  .imovel-coverflow-card.slot-center:hover .imovel-coverflow-card-img {
    transform: scale(1.035);
  }
}

/* Degradê escuro para máxima legibilidade editorial */
.imovel-coverflow-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 25, 0.04) 0%,
    rgba(11, 15, 25, 0.2) 36%,
    rgba(11, 15, 25, 0.82) 72%,
    rgba(11, 15, 25, 0.98) 100%
  );
  opacity: 0.65;
  transition: opacity 600ms ease;
  pointer-events: none;
}

.imovel-coverflow-card.slot-center .imovel-coverflow-card-overlay {
  opacity: 1;
}

/* Conteúdo sobre a fotografia */
.imovel-coverflow-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(16px, 2.5vh, 26px) clamp(18px, 2.5vw, 28px);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.imovel-coverflow-card.slot-center .imovel-coverflow-card-body {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 550ms cubic-bezier(0.2, 1, 0.3, 1) 120ms,
              transform 550ms cubic-bezier(0.2, 1, 0.3, 1) 120ms;
}

.imovel-coverflow-card-tag {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 4px;
}

.imovel-coverflow-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 5px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.imovel-coverflow-card-phrase {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.86rem, 1vw, 0.96rem);
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  max-width: 520px;
}

/* Controles de Navegação (Setas e Pílulas Dark Glass) */
.imovel-coverflow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 18px);
  margin-top: clamp(28px, 4vw, 42px);
  position: relative;
  z-index: 2;
}

.imovel-coverflow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
}

.imovel-coverflow-btn:hover {
  background: rgba(255, 122, 26, 0.2);
  border-color: var(--color-orange);
  color: var(--color-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 122, 26, 0.35);
}

.imovel-coverflow-btn:active {
  transform: translateY(0);
}

.imovel-coverflow-btn:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.imovel-coverflow-pills {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  gap: 4px;
}

.imovel-coverflow-pill {
  padding: 8px 20px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: all var(--transition-base);
}

.imovel-coverflow-pill:hover {
  color: #ffffff;
}

.imovel-coverflow-pill.is-active {
  background: var(--color-orange);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 122, 26, 0.45);
}

.imovel-coverflow-pill:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 1px;
}

/* Ocultação total da barra inferior de controles (categorias e setas) */
.imovel-coverflow-controls {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
}

/* Responsividade Desktop para telas com menor altura útil (ex: 1366x768) */
@media (max-height: 800px) and (min-width: 901px) {
  .imovel-carousel-section {
    min-height: calc(100vh - var(--header-height) + 1px);
    min-height: calc(100dvh - var(--header-height) + 1px);
    padding: clamp(14px, 2vh, 22px) 0;
  }

  .imovel-carousel-header {
    margin-bottom: clamp(10px, 1.6vh, 16px);
  }

  .imovel-carousel-header .mod-section-title {
    font-size: clamp(1.48rem, 2vw, 1.85rem);
  }

  .imovel-coverflow-wrap {
    --im-card-w: clamp(450px, 40vw, 556px);
    --im-card-h: min(336px, 45vh);
    --im-stage-h: min(372px, 50vh);
    --im-spacing: clamp(272px, 26vw, 355px);
    padding: 2px 0 6px;
  }

  .imovel-coverflow-card-body {
    padding: 16px 20px;
  }

  .imovel-coverflow-card-title {
    font-size: 1.35rem;
    margin-bottom: 3px;
  }

  .imovel-coverflow-card-phrase {
    font-size: 0.83rem;
    line-height: 1.35;
  }
}

/* Responsividade Tablet — Carrossel Showroom */
@media (max-width: 1024px) {
  .imovel-carousel-section {
    min-height: min(calc(100vh - var(--header-height)), 860px);
    min-height: min(calc(100dvh - var(--header-height)), 860px);
    padding: 30px 0 24px;
  }

  .imovel-carousel-header {
    margin-bottom: 14px;
  }

  .imovel-coverflow-wrap {
    --im-card-w: clamp(355px, 48vw, 440px);
    --im-card-h: clamp(284px, 37vh, 336px);
    --im-stage-h: clamp(310px, 41vh, 368px);
    --im-spacing: clamp(180px, 24vw, 230px);
    --im-rot-y: 11deg;
    --im-side-scale: 0.82;
    --im-center-scale: 1.02;
    padding: 4px 0 8px;
  }
}

/* Responsividade Mobile — Carrossel Showroom Proporcional */
@media (max-width: 767px) {
  .imovel-carousel-section {
    min-height: auto;
    padding: clamp(28px, 4.5vh, 40px) 0 clamp(24px, 4vh, 36px);
  }

  .imovel-carousel-header {
    margin-bottom: 12px;
    padding: 0 16px;
  }

  .imovel-carousel-header .mod-section-title {
    font-size: clamp(1.4rem, 5.6vw, 1.7rem);
    line-height: 1.22;
  }

  .imovel-coverflow-wrap {
    --im-card-w: clamp(258px, 75vw, 305px);
    --im-card-h: clamp(315px, 46vh, 362px);
    --im-stage-h: clamp(336px, 50vh, 388px);
    --im-spacing: clamp(40px, 13vw, 54px);
    --im-rot-y: 8deg;
    --im-side-scale: 0.82;
    --im-center-scale: 1.0;
    padding: 2px 0 6px;
  }

  .imovel-coverflow-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.65);
  }

  .imovel-coverflow-card.slot-center {
    border-color: rgba(255, 122, 26, 0.85);
    box-shadow:
      0 16px 40px -8px rgba(0, 0, 0, 0.85),
      0 0 20px rgba(255, 122, 26, 0.3);
  }

  .imovel-coverflow-card-body {
    padding: 16px 14px;
  }

  .imovel-coverflow-card-tag {
    font-size: 0.66rem;
    margin-bottom: 3px;
  }

  .imovel-coverflow-card-title {
    font-size: 1.35rem;
    margin-bottom: 4px;
  }

  .imovel-coverflow-card-phrase {
    font-size: 0.82rem;
    line-height: 1.36;
  }
}

@media (max-width: 360px) {
  .imovel-carousel-section {
    min-height: auto;
    padding: 22px 0 18px;
  }

  .imovel-coverflow-wrap {
    --im-card-w: 248px;
    --im-card-h: 299px;
    --im-stage-h: 320px;
    --im-spacing: 30px;
    --im-rot-y: 6deg;
    --im-side-scale: 0.80;
    --im-center-scale: 1.0;
  }

  .imovel-coverflow-card-body {
    padding: 12px 10px;
  }

  .imovel-coverflow-card-title {
    font-size: 1.2rem;
  }

  .imovel-coverflow-card-phrase {
    font-size: 0.78rem;
    line-height: 1.32;
  }
}

@media (prefers-reduced-motion: reduce) {
  .imovel-coverflow-card {
    transition: none !important;
    animation: none !important;
  }
}


/* ==========================================================================
   3. DIFERENCIAIS DA DECOLAR — Contraste Imediato e Arquitetura Editorial
   Fundo branco nítido com detalhes em laranja institucional
   ========================================================================== */

.mod-pillars-section {
  padding: clamp(68px, 8vw, 104px) 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.mod-pillars-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #111827;
  max-width: 660px;
  margin-bottom: clamp(40px, 5.2vw, 60px);
}

.mod-pillars-section .pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.mod-pillars-section .pillar {
  padding: 8px clamp(24px, 3vw, 44px);
  border-left: 1px solid #e5e7eb;
  transition: transform var(--transition-base);
}

.mod-pillars-section .pillar:first-child {
  padding-left: 0;
  border-left: none;
}

.mod-pillars-section .pillar-num {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.mod-pillars-section .pillar-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.24rem, 1.55vw, 1.48rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #111827;
  margin: 0 0 14px;
}

.mod-pillars-section .pillar-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.68;
  color: #4b5563;
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .mod-pillars-section .pillar:hover {
    transform: translateY(-4px);
  }
}

/* Responsividade Tablet e Mobile — Diferenciais */
@media (max-width: 1024px) {
  .mod-pillars-section .pillar {
    padding-inline: clamp(16px, 2.2vw, 28px);
  }
}

@media (max-width: 768px) {
  .mod-pillars-section {
    padding: 48px 0;
  }

  .mod-pillars-title {
    font-size: clamp(1.65rem, 6.2vw, 2.05rem);
    margin-bottom: 32px;
  }

  .mod-pillars-section .pillars {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mod-pillars-section .pillar {
    padding: 28px 0;
    border-left: none;
    border-top: 1px solid #e5e7eb;
  }

  .mod-pillars-section .pillar:first-child {
    padding-top: 0;
    border-top: none;
  }

  .mod-pillars-section .pillar:last-child {
    padding-bottom: 0;
  }
}


/* ==========================================================================
   4. PERGUNTAS FREQUENTES — Fundo Areia Suave e Cards Minimalistas
   Sensação aconchegante, acabamento premium e excelente legibilidade
   ========================================================================== */

.mod-faq-section {
  padding: clamp(68px, 8vw, 104px) 0;
  background: linear-gradient(180deg, #f7f3ed 0%, #f1ebe0 100%);
  border-top: 1px solid rgba(222, 212, 198, 0.7);
  border-bottom: 1px solid rgba(222, 212, 198, 0.7);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.mod-faq-section .container {
  max-width: 820px;
}

.mod-faq-section .mod-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  text-align: center;
  margin-bottom: clamp(32px, 4.4vw, 48px);
}

.mod-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
}

.mod-faq-item {
  background: #ffffff;
  border: 1px solid rgba(218, 208, 194, 0.85);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(45, 35, 20, 0.04);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.mod-faq-item:hover {
  border-color: rgba(255, 122, 26, 0.45);
  box-shadow: 0 6px 20px rgba(45, 35, 20, 0.08);
}

.mod-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  color: #111827;
  cursor: pointer;
  transition: color var(--transition-base);
}

.mod-faq-trigger:hover {
  color: var(--color-orange);
}

.mod-faq-trigger:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: -2px;
  border-radius: 12px;
}

.mod-faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-orange);
  transition: transform var(--transition-base);
}

.mod-faq-trigger[aria-expanded="true"] .mod-faq-icon {
  transform: rotate(45deg);
}

.mod-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  padding-inline: 26px;
}

.mod-faq-panel p {
  padding-bottom: 22px;
  padding-top: 0;
  margin: 0;
  max-width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
}

@media (max-width: 520px) {
  .mod-faq-section {
    padding: 48px 0;
  }

  .mod-faq-trigger {
    padding: 18px 20px;
    font-size: 0.98rem;
  }

  .mod-faq-panel {
    padding-inline: 20px;
  }

  .mod-faq-panel p {
    padding-bottom: 18px;
    font-size: 0.94rem;
    line-height: 1.62;
  }
}


/* ==========================================================================
   5. CTA FINAL — Fundo Grafite Profundo e Autoridade Comercial
   Fechamento marcante, botão com alto destaque e fusão perfeita com o rodapé
   ========================================================================== */

.mod-closing {
  padding: clamp(72px, 8.5vw, 112px) 0;
  background: #24262D;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* Brilho sutil no centro superior do fechamento */
.mod-closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 100%);
  height: 200px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mod-closing .container {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.mod-closing-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}

.mod-closing-lead {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.04rem, 1.25vw, 1.16rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin-inline: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.mod-closing-cta {
  margin-top: clamp(28px, 3.6vw, 42px);
  padding: 17px 42px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(255, 122, 26, 0.4);
  transition: all var(--transition-base);
}

.mod-closing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 122, 26, 0.55);
}

.mod-closing-cta:active {
  transform: translateY(0);
}

@media (max-width: 520px) {
  .mod-closing {
    padding: 56px 0;
  }

  .mod-closing-title {
    font-size: clamp(1.75rem, 6.8vw, 2.2rem);
  }

  .mod-closing-lead {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-top: 12px;
  }

  .mod-closing-cta {
    margin-top: 24px;
    padding: 15px 32px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 320px;
  }
}


/* ==========================================================================
   Acessibilidade e Redução de Movimento
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .imovel-coverflow-card {
    transition: opacity 200ms ease;
  }
  .imovel-coverflow-card-img,
  .imovel-editorial-img,
  .mod-pillars-section .pillar {
    transition: none;
  }
}

/* ==========================================================================
   MOBILE COMPACT (<=767px) — Consórcio de Imóveis
   Espelha, só para esta página, os mesmos ajustes já aplicados ao padrão
   compartilhado em css/modalidade.css. Necessário porque este arquivo é
   carregado depois e duplica .mod-pillars-section/.mod-faq-section/
   .mod-closing com os mesmos seletores — sem este espelhamento, os valores
   antigos aqui continuariam vencendo a cascata só nesta página.
   Hero: mesma filosofia (altura reduzida, degradê localizado), mas mantém
   o enquadramento da fachada específico desta página.
   ========================================================================== */
@media (max-width: 767px) {
  .mod-hero.imovel-hero {
    min-height: min(640px, 82svh);
    padding-block: clamp(32px, 6vh, 48px);
    align-items: center;
  }

  .imovel-hero .container {
    padding-block: 0;
  }

  .imovel-hero .mod-hero-media::after {
    background: radial-gradient(
      ellipse 130% 95% at 24% 48%,
      rgba(10, 11, 15, 0.86) 0%,
      rgba(10, 11, 15, 0.58) 42%,
      rgba(10, 11, 15, 0.18) 70%,
      rgba(10, 11, 15, 0) 92%
    );
  }

  .imovel-hero-title {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.018em;
    max-width: 92%;
  }

  .imovel-hero-lead {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.56;
    max-width: 94%;
  }

  .imovel-hero-cta {
    margin-top: 22px;
    padding: 14px 30px;
    font-size: 0.93rem;
  }

  .mod-pillars-section {
    padding: clamp(40px, 6.5vw, 56px) 0;
  }

  .mod-pillars-title {
    margin-bottom: 24px;
  }

  .mod-pillars-section .pillar {
    padding: clamp(18px, 3.2vw, 22px) 0;
  }

  .mod-pillars-section .pillar-title {
    font-size: clamp(1.1rem, 4.4vw, 1.28rem);
  }

  .mod-faq {
    gap: 12px;
  }

  .mod-faq-trigger {
    min-height: 48px;
    padding: 16px 18px;
  }

  .mod-faq-icon {
    width: 20px;
    height: 20px;
  }

  .mod-closing {
    padding: clamp(44px, 7.5vw, 60px) 0;
  }
}

@media (max-width: 767px) and (max-height: 720px) {
  .mod-hero.imovel-hero {
    min-height: min(560px, 80svh);
  }
}
