/* ============================================================================
   ARQUÉ — CURADORIA IMOBILIÁRIA
   Design System: Apple Liquid Glass · 100% Mobile First · Luxury Editorial
   Paleta Oficial:
   - #f1ede1 (Alabaster Ivory)
   - #efe4d2 (Warm Champagne — Logo no Loading & Superfícies)
   - #bcb0a2 (Architectural Stone / Taupe)
   - #143121 (Deep Forest Green — Fundo do Loading & Identidade Principal)
   ============================================================================ */

:root {
  --c-ivory: #f1ede1;
  --c-champagne: #efe4d2;
  --c-stone: #bcb0a2;
  --c-forest: #143121;
  --c-forest-deep: #0d2116;

  /* Apple Liquid Glass Tokens */
  --glass-light-bg: rgba(241, 237, 225, 0.72);
  --glass-champagne-bg: rgba(239, 228, 210, 0.62);
  --glass-dark-bg: rgba(20, 49, 33, 0.78);
  --glass-border-light: rgba(255, 255, 255, 0.65);
  --glass-border-champagne: rgba(239, 228, 210, 0.24);
  --glass-border-stone: rgba(188, 176, 162, 0.38);
  --glass-shadow-soft: 0 20px 50px rgba(20, 49, 33, 0.08), 0 4px 14px rgba(20, 49, 33, 0.04);
  --glass-shadow-elevated: 0 28px 64px rgba(13, 33, 22, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* Tipografia */
  --font-title: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Easing Apple */
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-silk: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--c-ivory);
  color: var(--c-forest);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 0%, var(--c-champagne) 0%, var(--c-ivory) 65%);
  color: var(--c-forest);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

/* ============================================================================
   1. TELA DE LOADING — FUNDO #143121 & LOGO #efe4d2 ANIMADA
   ============================================================================ */
.arque-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #143121;
  color: #efe4d2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.95s var(--ease-silk), transform 1.05s var(--ease-silk), visibility 0.95s;
  will-change: opacity, transform;
}

.arque-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
}

/* Atmosfera orgânica sutil no fundo #143121 */
.loader-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
  background: radial-gradient(circle, #efe4d2 0%, transparent 70%);
  animation: orbFloat 9s ease-in-out infinite alternate;
}

.loader-orb-1 {
  width: 360px;
  height: 360px;
  top: -80px;
  right: -60px;
}

.loader-orb-2 {
  width: 420px;
  height: 420px;
  bottom: -110px;
  left: -80px;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(18px, -22px, 0) scale(1.12);
  }
}

.loader-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 340px;
}

/* Moldura Apple Glass ao redor da Logo no Loading */
.loader-emblem-wrapper {
  position: relative;
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  border-radius: 34px;
  background: linear-gradient(145deg,
      rgba(239, 228, 210, 0.06) 0%,
      rgba(239, 228, 210, 0.015) 100%);
  box-shadow:
    inset 0 1px 0.5px rgba(239, 228, 210, 0.25),
    inset 0 -1px 0.5px rgba(239, 228, 210, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.7s var(--ease-apple), box-shadow 0.7s var(--ease-apple);
}

.loader-emblem-wrapper.is-complete {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    inset 0 1px 1px rgba(239, 228, 210, 0.45),
    0 28px 70px rgba(0, 0, 0, 0.36),
    0 0 48px rgba(239, 228, 210, 0.09);
}

.loader-squircle-halo {
  position: absolute;
  inset: -1px;
  border-radius: 35px;
  border: 1px solid rgba(239, 228, 210, 0.14);
  pointer-events: none;
}

/* SVG da Logo Arqué (#efe4d2) */
.loader-svg {
  width: 96px;
  height: 96px;
  overflow: visible;
}

/* Camada fantasma (arquitetura base em 8% de opacidade) */
.loader-svg-ghost path {
  fill: rgba(239, 228, 210, 0.07);
}

/* Camada de traçado arquitetônico (Stroke animado em #efe4d2) */
.loader-svg-stroke path {
  fill: none;
  stroke: #efe4d2;
  stroke-width: 24;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

/* Camada de preenchimento sólido #efe4d2 */
.loader-svg-fill path {
  fill: #efe4d2;
}

/* Shimmer luminoso quando a logo completa o preenchimento */
.loader-emblem-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(115deg,
      transparent 20%,
      rgba(239, 228, 210, 0.18) 48%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(239, 228, 210, 0.18) 52%,
      transparent 80%);
  background-size: 250% 100%;
  background-position: 180% 0;
  pointer-events: none;
  transition: background-position 1.3s var(--ease-apple);
}

.loader-emblem-wrapper.is-complete::after {
  background-position: -60% 0;
}

/* Tipografia da Marca no Loading */
.loader-brand-text {
  text-align: center;
  margin-bottom: 36px;
}

.loader-wordmark {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 2.1rem;
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  /* compensa letter-spacing para centralização óptica perfeita */
  color: #efe4d2;
  display: flex;
  justify-content: center;
  line-height: 1.1;
  margin-bottom: 8px;
}

.loader-wordmark .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s var(--ease-apple), transform 0.65s var(--ease-apple);
  transition-delay: calc(var(--char-i) * 85ms + 220ms);
}

.arque-loader.animate-in .loader-wordmark .char {
  opacity: 1;
  transform: translateY(0);
}

.loader-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  color: #bcb0a2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s var(--ease-apple) 0.65s, transform 0.8s var(--ease-apple) 0.65s, color 0.6s ease;
}

.arque-loader.animate-in .loader-tagline {
  opacity: 1;
  transform: translateY(0);
}

.loader-emblem-wrapper.is-complete~.loader-brand-text .loader-tagline {
  color: #efe4d2;
}

/* Barra de Progresso Minimalista */
.loader-progress-area {
  width: 100%;
  max-width: 248px;
}

.loader-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(239, 228, 210, 0.14);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.loader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #bcb0a2 0%, #efe4d2 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(239, 228, 210, 0.65);
}

.loader-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: rgba(239, 228, 210, 0.72);
  letter-spacing: 0.03em;
}

.loader-percent {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #efe4d2;
}

/* ============================================================================
   2. APP SHELL — APPLE DESIGN GLASS (100% MOBILE FIRST)
   ============================================================================ */
.app-shell {
  min-height: 100dvh;
  padding-top: 78px;
  padding-bottom: 104px;
}

/* Header Flutuante Apple Liquid Glass */
.glass-header {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 12px));
  left: 16px;
  right: 16px;
  z-index: 100;
  max-width: 1160px;
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 22px;
  background: rgba(241, 237, 225, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--glass-shadow-soft);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-forest);
}

.brand-icon-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(20, 49, 33, 0.18);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: 0.18em;
  color: var(--c-forest);
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: #5b665d;
  letter-spacing: 0.04em;
}

/* Menu Desktop (Oculto no Mobile, Visível no Desktop) */
.header-desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.header-nav-link {
  position: relative;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: #455449;
  padding: 6px 2px 8px;
  transition: color 0.25s var(--ease-apple);
}

.header-nav-link:hover {
  color: var(--c-forest);
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 14px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--c-forest);
  transform: translateX(-50%) scaleX(0);
  opacity: 0;
  transition: transform 0.3s var(--ease-apple), opacity 0.3s var(--ease-apple);
}

.header-nav-link.is-active {
  color: var(--c-forest);
  font-weight: 500;
}

.header-nav-link.is-active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.glass-pill-btn {
  appearance: none;
  border: 1px solid var(--glass-border-stone);
  background: rgba(239, 228, 210, 0.65);
  color: var(--c-forest);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.glass-pill-btn:hover {
  transform: translateY(-1px);
  background: var(--c-champagne);
}

.glass-pill-btn.glass-pill-dark {
  background: var(--c-forest);
  color: var(--c-champagne);
  border-color: var(--c-forest);
}

.sparkle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-forest);
}

/* Conteúdo Principal Mobile-First */
.main-content {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* HERO SECTION (Compacto & Clean no Mobile · Full-Width no Desktop) */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 16px 0;
}

.hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--glass-shadow-elevated);
}

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

.hero-img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 7s var(--ease-apple);
  filter: brightness(0.3);
}

.hero-card:hover .hero-img,
.hero-card:hover .hero-video {
  transform: scale(1.03);
}

/* Degradê verde suave para destacar o vídeo mantendo legibilidade do texto */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(20, 49, 33, 0.04) 0%,
      rgba(20, 49, 33, 0.12) 36%,
      rgba(20, 49, 33, 0.44) 66%,
      rgba(20, 49, 33, 0.76) 88%,
      rgba(20, 49, 33, 0.90) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 20px 22px;
  color: var(--c-champagne);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(241, 237, 225, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 228, 210, 0.28);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--c-ivory);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-champagne);
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.48rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--c-ivory);
  margin-bottom: 8px;
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(10, 26, 17, 0.45);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.52;
  color: rgba(241, 237, 225, 0.92);
  margin-bottom: 16px;
  max-width: 580px;
  text-shadow: 0 1px 12px rgba(10, 26, 17, 0.45);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-glass-cream {
  text-decoration: none;
  background: var(--c-champagne);
  color: var(--c-forest);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.25s var(--ease-apple);
}

.btn-glass-cream:hover {
  background: var(--c-ivory);
  transform: translateY(-1px);
}

.btn-glass-outline {
  text-decoration: none;
  background: rgba(241, 237, 225, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--c-ivory);
  border: 1px solid rgba(239, 228, 210, 0.36);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.25s var(--ease-apple);
}

.btn-glass-outline:hover {
  background: rgba(241, 237, 225, 0.22);
}

/* Barra de Busca de Imóveis estilo Corretora (Apple Liquid Glass) */
.search-bar-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.broker-search-glass {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(241, 237, 225, 0.84);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 22px 50px rgba(20, 49, 33, 0.12),
    0 4px 14px rgba(20, 49, 33, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 16px;
  background: rgba(239, 228, 210, 0.55);
  border: 1px solid rgba(188, 176, 162, 0.32);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.search-field:focus-within {
  background: rgba(241, 237, 225, 0.95);
  border-color: var(--c-forest);
}

.search-label {
  font-family: var(--font-title);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5b665d;
}

.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-forest);
  padding-right: 24px;
  cursor: pointer;
  outline: none;
}

.select-chevron {
  position: absolute;
  right: 0;
  pointer-events: none;
  color: var(--c-forest);
  opacity: 0.7;
}

.search-divider {
  display: none;
}

.search-actions {
  display: flex;
  align-items: stretch;
}

.btn-broker-search {
  appearance: none;
  border: none;
  width: 100%;
  background: var(--c-forest);
  color: var(--c-champagne);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 15px 26px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 49, 33, 0.22);
  transition: all 0.25s var(--ease-apple);
}

.btn-broker-search:hover {
  background: var(--c-forest-deep);
  transform: translateY(-1px);
}

.empty-filter-state {
  margin-top: 18px;
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(239, 228, 210, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.75);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--c-forest);
}

.empty-filter-state[hidden] {
  display: none;
}

/* SEÇÃO DE CURADORIA (CARDS) */
.section-header {
  margin-bottom: 22px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5b665d;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.45rem, 4vw, 2rem);
  color: var(--c-forest);
  margin-bottom: 8px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: #455449;
  max-width: 600px;
}

.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.property-glass-card {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(239, 228, 210, 0.58);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--glass-shadow-soft);
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s var(--ease-apple);
}

.property-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-elevated);
}

.property-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-apple);
}

.property-glass-card:hover .property-media img {
  transform: scale(1.05);
}

.property-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 49, 33, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--c-champagne);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(239, 228, 210, 0.25);
}

.property-code {
  position: absolute;
  bottom: 12px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(241, 237, 225, 0.82);
  backdrop-filter: blur(10px);
  color: var(--c-forest);
  font-family: var(--font-title);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  z-index: 2;
}

/* Setinhas de navegação de fotos dentro do card do imóvel */
.card-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(239, 228, 210, 0.38);
  background: rgba(20, 49, 33, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #efe4d2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.card-carousel-arrow:hover {
  background: #143121;
  transform: translateY(-50%) scale(1.08);
}

.card-carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.card-carousel-prev {
  left: 10px;
}

.card-carousel-next {
  right: 10px;
}

.card-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(20, 49, 33, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.card-carousel-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(239, 228, 210, 0.45);
  transition: all 0.25s ease;
}

.card-carousel-dot.is-active {
  width: 14px;
  background: #efe4d2;
}

.property-body {
  padding: 20px;
}

.property-location {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b665d;
  margin-bottom: 6px;
}

.property-name {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.18rem;
  color: var(--c-forest);
  margin-bottom: 8px;
  line-height: 1.3;
}

.property-excerpt {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #3f4e43;
  margin-bottom: 16px;
}

.property-specs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--c-forest);
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(241, 237, 225, 0.75);
  border: 1px solid rgba(188, 176, 162, 0.3);
  margin-bottom: 16px;
}

.spec-sep {
  color: var(--c-stone);
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-price {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--c-forest);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.price-prefix-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #5b665d;
  font-weight: 400;
}

.btn-card-detail {
  appearance: none;
  border: 1px solid var(--c-forest);
  background: var(--c-forest);
  color: var(--c-champagne);
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.btn-card-detail:hover {
  background: transparent;
  color: var(--c-forest);
}

/* ============================================================================
   SEÇÃO MANIFESTO (3D TILT SUAVE NO HOVER & LOGO EM LOOP)
   ============================================================================ */
.manifesto-section {
  perspective: 1200px;
}

.manifesto-glass-container {
  position: relative;
  border-radius: 30px;
  padding: 32px 24px;
  background: linear-gradient(145deg,
      rgba(241, 237, 225, 0.88) 0%,
      rgba(239, 228, 210, 0.72) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--glass-shadow-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(var(--scale, 1), var(--scale, 1), 1);
  transition: box-shadow 0.45s var(--ease-apple), border-color 0.45s var(--ease-apple);
  will-change: transform;
}

.manifesto-glass-container:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 34px 72px rgba(13, 33, 22, 0.15),
    0 10px 24px rgba(13, 33, 22, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.manifesto-brand-column,
.manifesto-copy-column {
  position: relative;
  z-index: 1;
  transform: translateZ(6px);
  transition: transform 0.45s var(--ease-apple);
}

.manifesto-brand-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.manifesto-squircle {
  position: relative;
  overflow: hidden;
  width: 156px;
  height: 156px;
  border-radius: 32px;
  background-color: #143121;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.55s var(--ease-apple), box-shadow 0.55s var(--ease-apple);
}

/* Brilho diagonal periódico no squircle sincronizado com o loop da logo */
.manifesto-squircle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(115deg,
      transparent 25%,
      rgba(239, 228, 210, 0.16) 48%,
      rgba(255, 255, 255, 0.26) 50%,
      rgba(239, 228, 210, 0.16) 52%,
      transparent 75%);
  background-size: 250% 100%;
  background-position: 180% 0;
  pointer-events: none;
  animation: manifestoShimmerLoop 5.6s var(--ease-apple) infinite;
  animation-play-state: paused;
}

.manifesto-glass-container.is-in-view .manifesto-squircle::after {
  animation-play-state: running;
}

.manifesto-glass-container:hover .manifesto-squircle {
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 24px 48px rgba(20, 49, 33, 0.28),
    inset 0 1px 1px rgba(239, 228, 210, 0.3);
}

.manifesto-symbol {
  width: 96px;
  height: 96px;
  overflow: visible;
}

/* Camadas da Logo Animada em Looping (GPU / CSS Keyframes leves) */
.manifesto-svg-ghost path {
  fill: rgba(239, 228, 210, 0.08);
}

.manifesto-svg-stroke path {
  fill: none;
  stroke: #efe4d2;
  stroke-width: 24;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: manifestoStrokeLoop 5.6s var(--ease-apple) infinite;
  animation-play-state: paused;
}

.manifesto-svg-fill {
  clip-path: inset(100% 0 0 0);
  animation: manifestoFillLoop 5.6s var(--ease-apple) infinite;
  animation-play-state: paused;
}

.manifesto-svg-fill path {
  fill: #efe4d2;
}

/* Só anima quando visível na tela (Zero impacto de performance fora de vista) */
.manifesto-glass-container.is-in-view .manifesto-svg-stroke path,
.manifesto-glass-container.is-in-view .manifesto-svg-fill {
  animation-play-state: running;
}

@keyframes manifestoStrokeLoop {
  0% {
    stroke-dashoffset: 1000;
    opacity: 1;
  }

  42% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  82% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  94%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes manifestoFillLoop {

  0%,
  10% {
    clip-path: inset(100% 0 0 0);
    opacity: 1;
  }

  58%,
  82% {
    clip-path: inset(0% 0 0 0);
    opacity: 1;
  }

  94%,
  100% {
    clip-path: inset(0% 0 0 0);
    opacity: 0;
  }
}

@keyframes manifestoShimmerLoop {

  0%,
  52% {
    background-position: 180% 0;
  }

  76%,
  100% {
    background-position: -60% 0;
  }
}

.manifesto-brand-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  color: #143121;
  line-height: 1.1;
  transition: transform 0.45s var(--ease-apple);
}

.manifesto-glass-container:hover .manifesto-brand-title {
  transform: translateY(-2px);
}

.manifesto-brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.92rem;
  color: #143121;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.manifesto-copy-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: #143121;
}

.manifesto-lead {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.15rem;
  color: #143121;
  transition: transform 0.45s var(--ease-apple);
}

.manifesto-glass-container:hover .manifesto-lead {
  transform: translateX(3px);
}

.manifesto-closing {
  font-weight: 500;
  padding-top: 8px;
  border-top: 1px solid rgba(188, 176, 162, 0.45);
  transition: border-color 0.45s ease;
}

.manifesto-glass-container:hover .manifesto-closing {
  border-top-color: rgba(20, 49, 33, 0.35);
}

/* ============================================================================
   CONCIERGE & PWA BANNER
   ============================================================================ */
.concierge-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concierge-glass-card {
  border-radius: 28px;
  padding: 28px 22px;
  background: rgba(239, 228, 210, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--glass-shadow-soft);
}

.concierge-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-glass-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-glass-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-forest);
}

.input-glass-group input {
  appearance: none;
  border: 1px solid rgba(188, 176, 162, 0.55);
  background: rgba(241, 237, 225, 0.85);
  border-radius: 14px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--c-forest);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-glass-group input:focus {
  border-color: var(--c-forest);
  box-shadow: 0 0 0 3px rgba(20, 49, 33, 0.1);
}

.btn-glass-forest {
  appearance: none;
  border: none;
  background: var(--c-forest);
  color: var(--c-champagne);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 16px;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.25s var(--ease-apple);
}

.btn-glass-forest:hover {
  background: var(--c-forest-deep);
  transform: translateY(-1px);
}

.pwa-install-banner {
  border-radius: 24px;
  padding: 20px;
  background: var(--c-forest);
  color: var(--c-champagne);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 44px rgba(20, 49, 33, 0.22);
}

.pwa-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pwa-app-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(239, 228, 210, 0.25);
  flex-shrink: 0;
}

.pwa-banner-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--c-ivory);
  margin-bottom: 4px;
}

.pwa-banner-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(239, 228, 210, 0.8);
}

.btn-pwa-install {
  appearance: none;
  border: none;
  background: var(--c-champagne);
  color: var(--c-forest);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.btn-pwa-install:hover {
  background: var(--c-ivory);
}

/* ============================================================================
   APPLE LIQUID GLASS BOTTOM TAB BAR (MOBILE-FIRST)
   ============================================================================ */
.glass-tabbar {
  position: fixed;
  bottom: max(14px, env(safe-area-inset-bottom, 14px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 420px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(20, 49, 33, 0.86);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(239, 228, 210, 0.22);
  box-shadow: 0 18px 42px rgba(13, 33, 22, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.tab-item {
  position: relative;
  text-decoration: none;
  color: rgba(239, 228, 210, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  padding: 8px 14px 11px;
  border-radius: 999px;
  transition: color 0.3s var(--ease-apple), transform 0.3s var(--ease-apple);
}

.tab-item svg {
  transition: transform 0.3s var(--ease-apple);
}

.tab-item:hover {
  color: rgba(239, 228, 210, 0.85);
}

/* Indicador minimalista inferior (pílula luminosa embaixo do item ativo) */
.tab-item::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: #efe4d2;
  box-shadow: 0 0 8px rgba(239, 228, 210, 0.65);
  transform: translateX(-50%) scaleX(0);
  opacity: 0;
  transition: transform 0.35s var(--ease-apple), opacity 0.35s var(--ease-apple);
}

.tab-item.is-active {
  color: #efe4d2;
  background: transparent;
  font-weight: 500;
}

.tab-item.is-active svg {
  transform: translateY(-1.5px);
}

.tab-item.is-active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

/* ============================================================================
   MODAL SHEET (DOSSIÊ & INSTRUÇÕES PWA iOS/ANDROID)
   ============================================================================ */
.glass-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 33, 22, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.glass-modal-backdrop[hidden] {
  display: none;
}

.glass-modal-sheet {
  width: 100%;
  max-width: 560px;
  background: var(--c-ivory);
  border-radius: 28px 28px 0 0;
  padding: 16px 22px 34px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.25);
  animation: sheetUp 0.4s var(--ease-apple);
}

@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.modal-handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--c-stone);
  margin: 0 auto 18px;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--c-champagne);
  color: var(--c-forest);
  cursor: pointer;
  font-size: 0.9rem;
}

/* ============================================================================
   RESPONSIVIDADE TABLET & DESKTOP
   ============================================================================ */
@media (min-width: 768px) {
  .app-shell {
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-desktop-nav {
    display: flex;
  }

  .glass-tabbar {
    display: none;
  }

  .hero-section {
    padding: 0;
    gap: 24px;
    margin-bottom: 18px;
  }

  .hero-card {
    width: 100%;
    min-height: 70dvh;
    border-radius: 0;
    box-shadow: 0 24px 60px rgba(13, 33, 22, 0.14);
  }

  .hero-content {
    padding: 96px 24px 64px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 4.8vw, 3.35rem);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    line-height: 1.62;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    gap: 12px;
  }

  .btn-glass-cream,
  .btn-glass-outline {
    font-size: 0.9rem;
    padding: 13px 24px;
  }

  .search-bar-container {
    padding: 0 16px;
    margin-top: -54px;
  }

  .broker-search-glass {
    grid-template-columns: 1fr auto 1fr auto 1fr auto;
    align-items: center;
    padding: 12px 14px 12px 22px;
    border-radius: 999px;
    gap: 14px;
  }

  .search-field {
    background: transparent;
    border: none;
    padding: 6px 8px;
    border-radius: 12px;
  }

  .search-field:focus-within {
    background: rgba(239, 228, 210, 0.45);
  }

  .search-divider {
    display: block;
    width: 1px;
    height: 36px;
    background: rgba(188, 176, 162, 0.45);
  }

  .btn-broker-search {
    border-radius: 999px;
    padding: 15px 30px;
    width: auto;
  }

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

  .manifesto-glass-container {
    flex-direction: row;
    padding: 48px 56px;
    gap: 56px;
  }

  .manifesto-brand-column {
    flex: 0 0 240px;
  }

  .pwa-install-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
  }
}

/* ==========================================================================
     FOOTER: BOX ARREDONDADO DE CONTATO + RODAPÉ CLARO (MOBILE) & COMPLETO (DESKTOP)
     ========================================================================== */
.site-footer {
  width: 100%;
  background-color: transparent;
  color: var(--c-forest);
  margin-top: 8px;
}

.site-footer-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 16px 104px;
}

.footer-grid {
  display: block;
}

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

.footer-col:not(.footer-col-contact) {
  display: none;
}

.footer-col-contact {
  background-color: #143121;
  color: #efe4d2;
  border-radius: 26px;
  padding: 28px 24px;
  margin-bottom: 22px;
  border: 1px solid rgba(239, 228, 210, 0.14);
  box-shadow: var(--glass-shadow-elevated);
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #efe4d2;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(239, 228, 210, 0.22);
}

.footer-brand-name {
  display: block;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: 0.2em;
  color: #efe4d2;
  line-height: 1.1;
}

.footer-brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #bcb0a2;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(239, 228, 210, 0.76);
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bcb0a2;
  margin-bottom: 2px;
}

.footer-nav-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link,
.footer-city-link,
.footer-link-btn {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(241, 237, 225, 0.84);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-nav-link:hover,
.footer-city-link:hover,
.footer-link-btn:hover {
  color: #efe4d2;
  transform: translateX(3px);
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-label {
  font-size: 0.72rem;
  color: #bcb0a2;
  letter-spacing: 0.04em;
}

.contact-item-value {
  font-family: var(--font-title);
  font-size: 1.02rem;
  color: #efe4d2;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-item-value:hover {
  opacity: 0.85;
}

.contact-item-text {
  font-size: 0.9rem;
  color: rgba(241, 237, 225, 0.9);
}

.btn-footer-whatsapp {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(239, 228, 210, 0.12);
  border: 1px solid rgba(239, 228, 210, 0.28);
  color: #efe4d2;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s var(--ease-apple);
}

.btn-footer-whatsapp:hover {
  background: #efe4d2;
  color: #143121;
}

.footer-bottom-bar {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  font-size: 0.78rem;
  color: #5b665d;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal-btn,
.footer-legal-link {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--c-forest);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-legal-btn:hover,
.footer-legal-link:hover {
  text-decoration: underline;
}

.footer-dot {
  color: rgba(188, 176, 162, 0.65);
}

@media (min-width: 768px) {
  .site-footer {
    background-color: #143121;
    color: #efe4d2;
    margin-top: 56px;
    border-top: 1px solid rgba(239, 228, 210, 0.14);
  }

  .site-footer-inner {
    padding: 72px 24px 44px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding-bottom: 42px;
    border-bottom: 1px solid rgba(239, 228, 210, 0.14);
  }

  .footer-col:not(.footer-col-contact) {
    display: flex;
  }

  .footer-col-contact {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    border: none;
    box-shadow: none;
  }

  .footer-bottom-bar {
    padding-top: 26px;
    flex-direction: row;
    align-items: center;
    text-align: left;
    font-size: 0.8rem;
    color: rgba(188, 176, 162, 0.85);
  }

  .footer-legal-btn,
  .footer-legal-link {
    font-size: 0.8rem;
    color: rgba(239, 228, 210, 0.78);
  }

  .footer-legal-btn:hover,
  .footer-legal-link:hover {
    color: #efe4d2;
  }
}

/* ==========================================================================
     PÁGINA INTERNA DO IMÓVEL (CLEAN, PRÁTICA & APPLE DESIGN GLASS)
     ========================================================================== */
.property-detail-view {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 6px 16px 36px;
  animation: fadeInDetail 0.45s var(--ease-apple);
}

.property-detail-view[hidden] {
  display: none;
}

.detail-container {
  display: flex;
  flex-direction: column;
}

@keyframes fadeInDetail {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

.detail-topbar {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn-detail-back {
  appearance: none;
  border: 1px solid rgba(188, 176, 162, 0.45);
  background: rgba(241, 237, 225, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--c-forest);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.btn-detail-back:hover {
  background: var(--c-forest);
  color: var(--c-champagne);
  border-color: var(--c-forest);
}

.detail-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-detail-action {
  appearance: none;
  border: 1px solid rgba(188, 176, 162, 0.45);
  background: rgba(239, 228, 210, 0.72);
  color: var(--c-forest);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease-apple);
}

.btn-detail-action:hover {
  background: var(--c-champagne);
  transform: translateY(-1px);
}

/* Hero Principal do Imóvel */
.detail-hero {
  order: 1;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: clamp(320px, 52vh, 540px);
  margin-bottom: 12px;
  cursor: pointer;
  background: #143121;
}

.detail-hero-triptych {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

.detail-hero-panel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.detail-hero-panel-desktop {
  display: none;
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-apple);
}

.detail-hero-panel:hover .detail-hero-img {
  transform: scale(1.04);
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(20, 49, 33, 0.08) 0%,
      rgba(20, 49, 33, 0.22) 40%,
      rgba(20, 49, 33, 0.86) 80%,
      #143121 100%);
}

.detail-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--c-ivory);
}

.detail-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-code-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(239, 228, 210, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 228, 210, 0.35);
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--c-champagne);
}

.detail-tag-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-champagne);
  color: var(--c-forest);
  font-size: 0.72rem;
  font-weight: 500;
}

.detail-hero-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  line-height: 1.16;
  color: var(--c-ivory);
}

.detail-hero-loc {
  font-size: 0.92rem;
  color: rgba(239, 228, 210, 0.86);
}

.btn-open-gallery-float {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(20, 49, 33, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--c-ivory);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.btn-open-gallery-float:hover {
  background: var(--c-champagne);
  color: var(--c-forest);
}

/* Barra de Especificações (Ficha Técnica Clean) */
.detail-specs-bar {
  order: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(239, 228, 210, 0.68);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--glass-shadow-soft);
  margin-bottom: 24px;
}

.spec-box {
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(241, 237, 225, 0.8);
  border: 1px solid rgba(188, 176, 162, 0.26);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-box-label {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b665d;
}

.spec-box-val {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-forest);
}

/* Layout 2 Colunas da Página Interna */
.detail-main-grid {
  order: 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.detail-left-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-glass-section {
  padding: 26px 22px;
  border-radius: 26px;
  background: rgba(241, 237, 225, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--glass-shadow-soft);
}

.detail-section-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--c-forest);
  margin-bottom: 14px;
}

.detail-description-text {
  font-size: 0.96rem;
  line-height: 1.72;
  color: #2c3e32;
  white-space: pre-line;
}

.detail-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(188, 176, 162, 0.35);
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(239, 228, 210, 0.8);
  border: 1px solid rgba(188, 176, 162, 0.4);
  font-size: 0.82rem;
  color: var(--c-forest);
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-forest);
}

/* Galeria de Imagens em Carrossel Infinito Compacto */
.detail-gallery-showcase {
  order: 5;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 24px;
}

.detail-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.detail-carousel-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-carousel-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-carousel-btn {
  appearance: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(188, 176, 162, 0.55);
  background: rgba(241, 237, 225, 0.9);
  color: var(--c-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.22s var(--ease-apple);
}

.detail-carousel-btn:hover {
  background: var(--c-forest);
  color: var(--c-champagne);
  border-color: var(--c-forest);
  transform: scale(1.05);
}

.detail-carousel-btn:active {
  transform: scale(0.95);
}

.detail-carousel-wrapper {
  position: relative;
  width: 100%;
}

.detail-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
}

.detail-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.detail-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
}

.gallery-thumb-btn,
.detail-carousel-slide {
  appearance: none;
  border: none;
  padding: 0;
  position: relative;
  flex: 0 0 auto;
  height: 235px;
  width: auto;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--c-champagne);
  box-shadow: 0 10px 26px rgba(20, 49, 33, 0.08);
}

.gallery-thumb-btn img,
.detail-carousel-slide img {
  height: 100%;
  width: auto;
  max-width: 82vw;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-apple);
}

.gallery-thumb-btn:hover img {
  transform: scale(1.05);
}

.gallery-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20, 49, 33, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(239, 228, 210, 0.35);
  color: #efe4d2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-thumb-btn:hover .gallery-zoom-badge {
  opacity: 1;
  transform: scale(1);
}

.detail-map-showcase {
  order: 6;
  width: 100%;
}

/* Mapa Interativo do Google Maps */
.detail-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.detail-map-address {
  font-size: 0.88rem;
  color: #455449;
}

.detail-map-frame-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 340px;
  border: 1px solid rgba(188, 176, 162, 0.45);
  background: var(--c-champagne);
}

.detail-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Card Lateral de Conversão & Valores */
.detail-sidebar-card {
  padding: 26px 22px;
  border-radius: 26px;
  background: linear-gradient(155deg,
      rgba(239, 228, 210, 0.88) 0%,
      rgba(241, 237, 225, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--glass-shadow-elevated);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-price-label {
  font-family: var(--font-title);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b665d;
}

.sidebar-price-value {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--c-forest);
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}

.sidebar-price-prefix {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #5b665d;
  font-weight: 400;
}

.sidebar-location-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(188, 176, 162, 0.35);
}

.sidebar-location-icon {
  color: var(--c-forest);
  flex-shrink: 0;
  margin-top: 2px;
}

.sidebar-location-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-body);
}

.sidebar-location-address {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--c-forest);
  line-height: 1.35;
}

.sidebar-location-city {
  font-size: 0.78rem;
  color: #5b665d;
  letter-spacing: 0.03em;
}

.sidebar-costs-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #455449;
  padding: 10px 0;
  border-top: 1px solid rgba(188, 176, 162, 0.35);
  border-bottom: 1px solid rgba(188, 176, 162, 0.35);
}

.btn-whatsapp-direct {
  text-decoration: none;
  background: #143121;
  color: #efe4d2;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 15px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(20, 49, 33, 0.22);
  transition: all 0.25s var(--ease-apple);
}

.btn-whatsapp-direct:hover {
  background: var(--c-forest-deep);
  transform: translateY(-2px);
}

/* Lightbox Fullscreen */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(13, 33, 22, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--c-champagne);
}

.lightbox-counter {
  font-family: var(--font-title);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
}

.lightbox-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(239, 228, 210, 0.28);
  background: rgba(239, 228, 210, 0.12);
  color: var(--c-champagne);
  font-size: 1.05rem;
  cursor: pointer;
}

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0;
  min-height: 0;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 74dvh;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(239, 228, 210, 0.3);
  background: rgba(20, 49, 33, 0.78);
  color: var(--c-champagne);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  padding: 4px;
}

.lightbox-thumb-item {
  width: 64px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  background: none;
}

.lightbox-thumb-item.is-active {
  border-color: var(--c-champagne);
  opacity: 1;
}

.lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Toast Notification */
.arque-toast {
  position: fixed;
  bottom: 92px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6000;
  background: #143121;
  color: #efe4d2;
  border: 1px solid rgba(239, 228, 210, 0.3);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.arque-toast[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .property-detail-view {
    max-width: none;
    padding: 0 0 64px;
  }

  .detail-hero {
    order: 1;
    width: 100%;
    min-height: 68dvh;
    height: 68dvh;
    border-radius: 0;
    margin-bottom: 24px;
  }

  .detail-hero-triptych {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .detail-hero-panel-desktop {
    display: block;
  }

  .detail-hero-content {
    width: 100%;
    max-width: 1160px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 64px 24px 52px;
  }

  .btn-open-gallery-float {
    top: 28px;
    right: max(24px, calc((100% - 1160px) / 2 + 24px));
  }

  .detail-topbar,
  .detail-specs-bar,
  .detail-main-grid,
  .detail-map-showcase {
    width: calc(100% - 48px);
    max-width: 1112px;
    margin-left: auto;
    margin-right: auto;
  }

  .detail-topbar {
    order: 2;
    margin-bottom: 20px;
  }

  .detail-specs-bar {
    grid-template-columns: repeat(6, 1fr);
  }

  .detail-main-grid {
    grid-template-columns: 1fr 370px;
  }

  .detail-sidebar-card {
    position: sticky;
    top: 92px;
  }

  /* Carrossel Infinito Full-Width no Desktop */
  .detail-gallery-showcase {
    width: 100%;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .detail-gallery-header {
    width: calc(100% - 48px);
    max-width: 1112px;
    margin: 0 auto 18px;
  }

  .detail-carousel-viewport {
    padding: 6px 24px 12px;
  }

  .detail-carousel-track {
    gap: 16px;
  }

  .gallery-thumb-btn,
  .detail-carousel-slide {
    height: 340px;
    border-radius: 24px;
  }

  .gallery-thumb-btn img,
  .detail-carousel-slide img {
    max-width: 560px;
  }
}