/* ==========================================================================
   ALEXANDRE HAUS — DESIGN SYSTEM EDITORIAL (PADRÃO AXPE IMÓVEIS)
   Inspirado no layout assimétrico da Axpe, com paleta Azul Alexandre Haus.
   Tipografia: Bitter (Serif Editorial) + Raleway (Sans-Serif Elegante)
   Carregamento de fontes pré-conectado diretamente via HTML head (<link rel="preconnect">)
   ========================================================================== */

:root {
  /* Paleta Alexandre Haus (Substituindo sistematicamente o laranja Axpe) */
  --accent-blue: #1c69d4;
  --accent-blue-hover: #0653b6;
  --accent-blue-subtle: rgba(28, 105, 212, 0.08);
  --accent-blue-glow: #38bdf8;
  --accent-badge-bg: #1c69d4;
  --accent-badge-new: #0284c7;

  /* Superfícies & Fundos */
  --bg-canvas: #F5F3F0; /* Off-white editorial quente da Axpe */
  --bg-surface: #FFFFFF;
  --bg-sidebar: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-muted: #F8F9FA;
  --bg-dark-hero: #111827;

  /* Tipografia & Textos (Conformidade Rigorosa WCAG 2.1 AA >= 4.5:1) */
  --text-main: #37474F;
  --text-strong: #1A2129;
  --text-muted: #546E7A;
  --text-light: #546E7A;
  --text-on-accent: #FFFFFF;

  /* Bordas e Linhas Divisórias */
  --border-subtle: #ECEFF1;
  --border-medium: #CFD8DC;

  /* Fontes Oficiais Axpe */
  --font-serif: 'Bitter', Georgia, serif;
  --font-sans: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Métricas de Layout */
  --sidebar-width: 200px;
  --header-height-mobile: 70px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-pill: 9999px;
  --transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset básico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   LAYOUT GERAL: SIDEBAR PERSISTENTE (200px) & CONTEÚDO PRINCIPAL
   ========================================================================== */

.app-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Sidebar Fixa na Esquerda (Desktop) */
.editorial-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 20px 24px 20px;
  z-index: 1000;
  overflow-y: auto;
}

/* Logo Haus / Axpe Style */
.sidebar-logo {
  display: block;
  margin-bottom: 40px;
}

.sidebar-logo .logo-brand {
  font-family: var(--font-sans);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--accent-blue);
  line-height: 1.1;
  text-transform: uppercase;
}

.sidebar-logo .logo-brand span {
  color: var(--text-strong);
}

.sidebar-logo .logo-tagline {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

/* Menu de Navegação Primário */
.sidebar-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-item-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-main);
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

/*
 * "Anunciar Imóvel" é o rótulo mais longo e quebrava em duas linhas dentro da
 * sidebar de 200px. O gap, o padding e o tracking foram fechados o suficiente
 * para o texto caber inteiro sem reduzir o corpo da fonte. O ellipsis é rede
 * de segurança: se a Raleway não carregar, o fallback renderiza mais largo e
 * degrada em reticências em vez de vazar para fora da sidebar.
 */
.nav-item-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.nav-item-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-main);
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-item-btn:hover,
.nav-item-btn.active {
  color: var(--accent-blue);
  background: var(--accent-blue-subtle);
}

.nav-item-btn:hover svg,
.nav-item-btn.active svg {
  stroke: var(--accent-blue);
}

/* Rodapé da Sidebar */
.sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
}

.sidebar-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.4px;
  display: block;
}

.sidebar-link:hover {
  color: var(--accent-blue);
}

/* Link "Sobre: \n Alexandre Haus" */
.sidebar-about-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  line-height: 1.25;
  text-transform: none;
}

.sidebar-about-link .about-prefix {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0.2px;
}

.sidebar-about-link .about-highlight {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-strong);
  text-transform: none;
  letter-spacing: 0.2px;
  transition: color 150ms ease;
}

.sidebar-about-link:hover .about-highlight {
  color: var(--accent-blue);
}

/* Linha de Ícones Sociais (WhatsApp & Instagram - Reposicionados e com Micro-interações) */
@keyframes floatSocial {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.sidebar-social-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  line-height: 0;
  padding: 0;
  animation: floatSocial 3.6s ease-in-out infinite;
}

.social-icon-link:nth-child(2) {
  animation-delay: 1.8s;
}

.social-icon-link svg {
  display: block;
  width: 19px;
  height: 19px;
  margin: auto;
  flex-shrink: 0;
}

.social-icon-link.social-email {
  background: rgba(82, 94, 108, 0.1);
  color: #52606d;
  border: 1.5px solid rgba(82, 94, 108, 0.24);
}

.social-icon-link.social-email:hover {
  animation-play-state: paused;
  background: #52606d;
  color: #ffffff;
  border-color: #52606d;
  transform: translateY(-4px) scale(1.14);
  box-shadow: 0 6px 16px rgba(82, 94, 108, 0.35);
}

/* WhatsApp: Verde oficial (#25D366) com fundo translúcido sutil */
.social-icon-link.social-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1.5px solid rgba(37, 211, 102, 0.3);
}

.social-icon-link.social-whatsapp:hover {
  animation-play-state: paused;
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  transform: translateY(-4px) scale(1.14);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

/* Instagram: Rosa magenta oficial (#E1306C) com fundo translúcido sutil */
.social-icon-link.social-instagram {
  background: rgba(225, 48, 108, 0.12);
  color: #E1306C;
  border: 1.5px solid rgba(225, 48, 108, 0.3);
}

.social-icon-link.social-instagram:hover {
  animation-play-state: paused;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-4px) scale(1.14);
  box-shadow: 0 6px 16px rgba(225, 48, 108, 0.45);
}

.sidebar-text-btn {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: left;
  line-height: 1.3;
}

.sidebar-text-btn:hover {
  color: var(--accent-blue);
}

/* Área de Conteúdo Principal */
.editorial-content {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  max-width: calc(100% - var(--sidebar-width));
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-canvas);
  overflow-x: hidden;
}

/* ==========================================================================
   VIEW 1: HOME EDITORIAL COM HERO SPLIT BANNERS (PRINT 1)
   ========================================================================== */

.hero-split-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-banner-card {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-bottom: 2px solid #fff;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-property-card + .hero-property-card {
  min-height: 42vh;
}

.hero-property-card .hero-banner-content {
  padding-top: 52px;
  padding-bottom: 52px;
}

.home-property-cards {
  padding: 44px 24px 36px;
  background: var(--bg-page);
}

.home-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.home-cards-grid .property-card-horizontal {
  display: flex;
  flex-direction: column-reverse;
  height: auto;
  min-height: auto;
  max-height: none;
  margin-bottom: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.home-cards-grid .property-card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  border-color: var(--border-medium);
}

.home-cards-grid .card-info-side {
  padding: 24px;
  min-height: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-cards-grid .card-media-side {
  width: 100%;
  height: 240px;
  min-height: 240px;
  max-height: 240px;
  position: relative;
  background: #0f172a;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .home-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .home-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.hero-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 24, 39, 0.82) 0%,
    rgba(17, 24, 39, 0.55) 45%,
    rgba(17, 24, 39, 0.15) 100%
  );
  z-index: 1;
}

.hero-location-pill {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 3;
  background: rgba(17, 24, 39, 0.55);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.hero-banner-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 60px 80px;
  color: #ffffff;
}

.hero-banner-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--accent-blue, #4a9eff);
  margin-bottom: 10px;
}

.hero-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 14px;
}

.hero-banner-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}

.hero-banner-price {
  display: block;
  font-size: 1.7rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-accent-line {
  width: 48px;
  height: 3px;
  background-color: var(--accent-blue);
  margin-bottom: 18px;
}

.hero-banner-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
}

/* Botão Saiba Mais (Substituindo o laranja pelo Azul Alexandre Haus) */
.btn-saiba-mais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-blue);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(28, 105, 212, 0.3);
}

.btn-saiba-mais:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(28, 105, 212, 0.45);
}

/* Controles de Slide do Banner */
.hero-slide-counter {
  position: absolute;
  bottom: 24px;
  left: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-counter-text {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.hero-slide-counter .hero-slide-dots {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 420px;
}

.hero-slide-dots {
  position: absolute;
  bottom: 28px;
  left: 80px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 420px;
}

.hero-slide-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-slide-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.hero-slide-dot.is-active {
  background: var(--accent-blue);
  transform: scale(1.3);
}

.hero-slide-nav {
  position: absolute;
  bottom: 20px;
  right: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.hero-arrow-btn:hover {
  background: var(--accent-blue);
}

/* ==========================================================================
   VIEW 2: CATÁLOGO DE BUSCA (PRINT 2)
   ========================================================================== */

.search-view-container {
  padding: 48px 64px 96px 64px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-path {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-path a:hover {
  color: var(--accent-blue);
}

.search-results-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-strong);
  margin-bottom: 12px;
}

.search-results-heading .accent-count {
  color: var(--accent-blue);
  font-weight: 700;
}

.search-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 26px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 36px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--text-muted);
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.view-toggle-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-toggle-btn {
  padding: 6px;
  border-radius: var(--radius-sm);
  color: var(--text-light);
}

.view-toggle-btn.active {
  color: var(--accent-blue);
  background: var(--accent-blue-subtle);
}

.sort-select-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-main);
}

/* Card Horizontal Exato da Axpe (Print 2) */
.property-card-horizontal {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 420px;
  height: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: var(--transition);
}

.property-card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  border-color: var(--border-medium);
}

/* Coluna Esquerda: Ficha & Copy */
.card-info-side {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  box-sizing: border-box;
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}

.card-category {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-favorite-btn {
  color: var(--text-light);
  padding: 4px;
}

.card-favorite-btn:hover {
  color: #ef4444;
}

.card-ref {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.card-neighborhood {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 22px;
}

/* Grid de Especificações (4 Colunas) */
.card-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-strong);
}

.card-editorial-hook {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-main);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.5px;
  margin-top: 16px;
  flex-shrink: 0;
}

.card-action-link:hover {
  color: var(--accent-blue-hover);
}

/* Coluna Direita: Carrossel Panorâmico & Badges */
.card-media-side {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: #0f172a;
  overflow: hidden;
}

.card-media-side > a,
.card-media-link {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms ease, opacity 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.property-card-horizontal:hover .card-media-img {
  transform: scale(1.02);
}

/* Badges Flutuantes Axpe (Convertidas para Azul) */
.card-badges-stack {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 2;
}

.badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  color: #ffffff;
}

.badge-exclusividade {
  background-color: var(--accent-blue);
}

.badge-acabou-de-chegar {
  background-color: var(--accent-badge-new);
}

/* Setas do Carrossel do Card */
.card-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

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

.card-carousel-arrow.left {
  left: 14px;
}

.card-carousel-arrow.right {
  right: 14px;
}

/* ==========================================================================
   VIEW 3: DETALHE DO IMÓVEL (PRINT 3 - ZOOM OUT)
   ========================================================================== */

.property-details-view {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Faixa Panorâmica Superior de Mídia */
.details-panoramic-gallery {
  position: relative;
  width: 100%;
  height: 560px;
  background: #000;
  overflow: hidden;
}

.details-panoramic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-counter-pill {
  position: absolute;
  bottom: 20px;
  right: 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

/* Grid de Conteúdo Assimétrico (2 Colunas: 65% / 35%) */
.details-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 64px 96px 64px;
  width: 100%;
}

/* Coluna Esquerda: Narrativa & Especificações */
.details-main-column {
  display: flex;
  flex-direction: column;
}

.details-header-block {
  margin-bottom: 28px;
}

.details-top-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.details-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin-bottom: 14px;
}

.details-badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

/* Barra Rápida de Especificações */
.details-quick-specs {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 20px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 36px;
}

.quick-spec-unit {
  display: flex;
  flex-direction: column;
}

.quick-spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.quick-spec-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
}

/* Pílulas com Checkmarks de Comodidades */
.amenities-section {
  margin-bottom: 40px;
}

.amenities-section-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 16px;
}

.amenities-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
}

.amenity-pill svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-blue);
}

/* Seção: O que o corretor diz sobre o imóvel */
.realtor-story-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-blue);
  border-radius: var(--radius-sm);
  padding: 32px;
  margin-bottom: 40px;
}

.realtor-story-headline {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 16px;
}

.realtor-story-narrative {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 24px;
}

.realtor-story-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.realtor-story-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
}

.realtor-story-bullets li::before {
  content: '•';
  color: var(--accent-blue);
  font-size: 1.4rem;
  line-height: 1;
}

/* Seção Geoespacial: O que há por perto */
.nearby-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 32px;
  margin-bottom: 40px;
}

.nearby-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.nearby-header {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 4px;
}

.nearby-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

.btn-add-poi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(28, 105, 212, 0.06);
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 180ms ease;
}

.btn-add-poi:hover {
  background: var(--accent-blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 105, 212, 0.25);
}

.nearby-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.nearby-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: var(--bg-muted);
  cursor: pointer;
  transition: all 160ms ease;
  user-select: none;
}

/* O ícone herda a cor do chip, inclusive no estado ativo (texto branco). */
.nearby-chip .chip-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.nearby-chip .chip-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.nearby-chip:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: #fff;
}

.nearby-chip.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 2px 8px rgba(28, 105, 212, 0.25);
}

/* Mapa Interativo Google Maps 100% Funcional */
.nearby-map-visual {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  background: #f1f5f9;
}

.nearby-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---- Mapa Leaflet (substitui o iframe do Google Maps) ---- */

.nearby-map-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1; /* cria contexto de empilhamento: mantém os panes do Leaflet abaixo do badge */
  background: #e8eef3;
}

/*
  O badge de localização flutua acima do mapa, mas não pode capturar o mouse:
  senão bloqueia arraste e controles do Leaflet na área que ele cobre.
  Só o link interno volta a ser clicável.
*/
.map-location-badge {
  z-index: 2;
  pointer-events: none;
}

.map-location-badge .map-badge-link {
  pointer-events: auto;
}

/*
  Marcador ancorado em coordenada.
  O Leaflet posiciona este container exatamente sobre o ponto geográfico; ele é
  um ponto 0x0 e o conteúdo se alinha por transform — os mesmos translate() que
  .map-poi-pin e .property-map-pin já usavam. Assim o pino acompanha arraste e
  zoom sem nenhum código de sincronização.
*/
.haus-map-marker {
  width: 0 !important;
  height: 0 !important;
  background: transparent;
  border: 0;
}

.haus-map-marker .map-poi-pin,
.haus-map-marker .property-map-pin {
  position: absolute;
  left: 0;
  top: 0;
}

/* Leaflet aplica o próprio foco; preserva o visual editorial dos pinos */
.haus-map-marker:focus,
.haus-map-marker:focus-visible {
  outline: none;
}

/* Campo opcional de coordenada no modal "Adicionar Local" */
.form-label-optional {
  font-weight: 400;
  color: var(--text-muted, #64748b);
  font-size: 0.82em;
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-muted, #64748b);
}

/*
  Busca de lugares do Google no modal "Adicionar Local".
  O widget é um web component com Shadow DOM: só o host e as poucas custom
  properties que ele expõe são estilizáveis de fora. Por isso o alinhamento com
  os demais campos é feito no host, e não tentando alcançar o input interno.
*/
.form-group-places[hidden] {
  display: none;
}

.poi-places-autocomplete {
  display: block;
  width: 100%;
  --gmp-mat-color-primary: var(--accent-blue, #1c69d4);
  --gmp-mat-color-on-surface: var(--text-strong, #0f172a);
  --gmp-mat-color-surface: var(--bg-surface, #ffffff);
  --gmp-mat-font-family: var(--font-sans);
}

/*
  A lista de sugestões é desenhada em camada própria pelo Google. Dentro de um
  modal com overflow contido ela ficaria cortada, então o container do widget
  não pode criar contexto de recorte.
*/
#poi-autocomplete-mount {
  position: relative;
  overflow: visible;
}

#poi-autocomplete-status {
  color: var(--accent-blue, #1c69d4);
  font-weight: 500;
}

.map-location-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.map-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(28, 105, 212, 0.25);
}

.map-badge-text {
  display: flex;
  flex-direction: column;
}

.map-badge-text strong {
  font-size: 0.82rem;
  color: var(--text-strong);
  line-height: 1.2;
}

.map-badge-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.map-badge-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(28, 105, 212, 0.08);
  transition: all 150ms ease;
}

.map-badge-link:hover {
  background: var(--accent-blue);
  color: #fff;
}

/* Camada Interativa de Marcadores Sobre o Mapa */
.map-interactive-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
}

/* Marcador Principal e Permanente do Imóvel */
.property-map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  pointer-events: auto;
  z-index: 25;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.property-map-pin:hover,
.property-map-pin.pulsing {
  transform: translate(-50%, -105%) scale(1.08);
}

.property-map-pin .pulse-aura {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(28, 105, 212, 0.45);
  box-shadow: 0 0 12px rgba(28, 105, 212, 0.6);
  animation: housePulseRing 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes housePulseRing {
  0% {
    transform: translate(-50%, 50%) scale(0.4);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, 50%) scale(2.8);
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, 50%) scale(3.4);
    opacity: 0;
  }
}

.property-map-pin .pin-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #1c69d4;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(28, 105, 212, 0.42);
  position: relative;
}

.property-map-pin .pin-badge::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #1c69d4;
}

.property-map-pin .pin-icon {
  width: 20px;
  height: 20px;
}

.property-map-pin:focus-visible {
  outline: 3px solid rgba(28, 105, 212, 0.38);
  outline-offset: 4px;
}

/* Marcadores Dinâmicos dos Pontos de Interesse (POIs) */
.poi-pins-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-poi-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #1c69d4;
  background: #ffffff;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.18);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.map-poi-pin .poi-pin-icon {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
}

.map-poi-pin .poi-pin-icon svg {
  width: 16px;
  height: 16px;
}

.map-poi-pin:hover,
.map-poi-pin.active {
  color: #ffffff;
  background: #1c69d4;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 7px 16px rgba(28, 105, 212, 0.34);
  z-index: 30;
}

.map-poi-pin:focus-visible {
  outline: 3px solid rgba(28, 105, 212, 0.38);
  outline-offset: 3px;
}

.poi-item.active-card {
  border-color: var(--accent-blue);
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(28, 105, 212, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .map-poi-pin {
    width: 32px;
    height: 32px;
  }
  .property-map-pin {
    width: 40px;
    height: 40px;
  }
  .property-map-pin .pin-badge {
    width: 40px;
    height: 40px;
  }
}

/* Lista de Pontos de Interesse (POIs) */
.nearby-poi-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.poi-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 10px 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all 160ms ease;
}

.poi-item:hover {
  background: #fff;
  border-color: rgba(28, 105, 212, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
}

.poi-left-col {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

/*
  Ícone do card. Era um emoji dimensionado por font-size; agora é o mesmo SVG
  do pino do mapa, então o tamanho vem da caixa e a cor de `currentColor`.
  O disco de fundo repete a linguagem do pino, ligando lista e mapa à vista.
*/
.poi-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-blue-subtle);
  color: var(--accent-blue);
}

.poi-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.poi-item.active-card .poi-icon {
  background: var(--accent-blue);
  color: #fff;
}

/*
  Local acrescentado pelo visitante: precisa ficar evidente que não faz parte
  da curadoria e que não sobrevive ao recarregamento da página.
*/
.poi-item--temp {
  border-style: dashed;
  border-color: var(--border-medium);
}

/* Papel "Label / Eyebrow" do DESIGN.md: 0.78rem, 700, 0.14em, uppercase. */
.poi-temp-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.poi-text-group {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.poi-name {
  font-weight: 600;
  color: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.84rem;
}

.poi-category-badge {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.poi-right-col {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 8px;
}

.poi-dist {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.78rem;
}

.btn-delete-poi {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: all 140ms ease;
}

.poi-item:hover .btn-delete-poi {
  opacity: 0.8;
}

.btn-delete-poi:hover {
  opacity: 1 !important;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.poi-empty-notice {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  background: var(--bg-muted);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-empty-add-poi {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 160ms ease;
}

.btn-empty-add-poi:hover {
  background: #1555ab;
  transform: translateY(-1px);
}

/* Modal Elegante de Adicionar Ponto de Interesse */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-content-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: modalScaleIn 180ms cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
  transition: color 150ms ease;
}

.modal-close-btn:hover {
  color: var(--text-strong);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-strong);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(28, 105, 212, 0.15);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.btn-modal-cancel {
  padding: 9px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 140ms ease;
}

.btn-modal-cancel:hover {
  background: #e2e8f0;
  color: var(--text-strong);
}

.btn-modal-save {
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: #fff;
  background: var(--accent-blue);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 160ms ease;
  box-shadow: 0 2px 8px rgba(28, 105, 212, 0.25);
}

.btn-modal-save:hover {
  background: #1555ab;
  box-shadow: 0 4px 14px rgba(28, 105, 212, 0.35);
}

@media (max-width: 768px) {
  .nearby-poi-list {
    grid-template-columns: 1fr;
  }
  .nearby-map-visual {
    height: 260px;
  }
}

/* Coluna Direita: Sticky Card de Conversão (Print 3) */
.details-sticky-column {
  position: relative;
}

.sticky-pricing-card {
  position: sticky;
  top: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 32px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.sticky-price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.sticky-main-price {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 4px 0 16px 0;
}

.sticky-fees-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

.sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: var(--accent-blue);
  color: #ffffff;
  padding: 15px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(28, 105, 212, 0.35);
  margin-bottom: 20px;
}

.sticky-cta-btn:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(28, 105, 212, 0.45);
}

.realtor-profile-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.realtor-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.realtor-info-text .name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-strong);
}

.realtor-info-text .creci {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONCIERGE FLUTUANTE (BOTÃO FIXO INFERIOR DIREITO)
   ========================================================================== */

.concierge-float-pill {
  position: fixed;
  bottom: 28px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent-blue);
  color: #ffffff;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 6px 22px rgba(28, 105, 212, 0.4);
  transition: var(--transition);
}

.concierge-float-pill:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(28, 105, 212, 0.5);
}

/*
  O pill fica fixo no canto inferior direito — exatamente onde o rodapé põe
  "Política de Privacidade / Mapa do Site / Portal do Corretor". Ao rodapé
  entrar em quadro, o pill sobe acima dele em vez de cobrir links clicáveis.
  A altura real do rodapé é medida em runtime e escrita em --footer-lift.
*/
.concierge-float-pill.is-lifted {
  transform: translateY(calc(var(--footer-lift, 96px) * -1));
}

.concierge-float-pill.is-lifted:hover {
  transform: translateY(calc((var(--footer-lift, 96px) + 2px) * -1));
}

@media (prefers-reduced-motion: reduce) {
  .concierge-float-pill {
    transition: none;
  }
}

/* ==========================================================================
   RODAPÉ EDITORIAL
   ========================================================================== */

.editorial-footer {
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 32px 60px;
  margin-top: auto;
  font-size: 0.78rem;
  font-family: var(--font-serif);
  color: var(--text-muted);
}

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

.footer-links-row {
  display: flex;
  gap: 20px;
}

.footer-links-row a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */

@media (max-width: 1169px) {
  .editorial-sidebar {
    width: 100%;
    height: var(--header-height-mobile);
    flex-direction: row;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-subtle);
    border-right: none;
  }

  .sidebar-logo {
    margin-bottom: 0;
  }

  .sidebar-nav,
  .sidebar-footer {
    display: none; /* Em telas menores, o menu vira drawer ou simplificado */
  }

  .editorial-content {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-top: var(--header-height-mobile);
    overflow-x: hidden;
  }

  .hero-banner-content {
    padding: 40px 24px;
  }

  .search-view-container {
    padding: 24px 20px 60px 20px;
  }

  .property-card-horizontal {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .card-media-side {
    position: relative;
    width: 100%;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }

  .card-info-side {
    padding: 24px 20px;
    height: auto;
  }

  .details-content-grid {
    grid-template-columns: 1fr;
    padding: 24px 20px 60px 20px;
    gap: 32px;
  }

  .details-panoramic-gallery {
    height: 360px;
  }

  .sticky-pricing-card {
    position: static;
  }

  .details-thumbnails-rail {
    padding: 10px 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   ENHANCEMENTS: ANIMAÇÕES, CARROSSEL INTERATIVO, LIGHTBOX & THUMBNAILS
   ========================================================================== */

.fade-transition {
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1), transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-out {
  opacity: 0.3;
  transform: scale(0.985);
}

/* Setas do Carrossel Panorâmico na Página de Detalhes */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  color: var(--text-strong);
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 5;
  transition: all 200ms ease;
  cursor: pointer;
}

.gallery-nav-btn:hover {
  background: #ffffff;
  color: var(--accent-blue);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav-btn.prev {
  left: 28px;
}

.gallery-nav-btn.next {
  right: 28px;
}

/* Dica de Zoom / Ampliar na imagem panorâmica */
.panoramic-zoom-hint {
  position: absolute;
  top: 24px;
  left: 28px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 200ms ease;
  z-index: 4;
}

.panoramic-zoom-hint:hover {
  background: rgba(28, 105, 212, 0.85);
}

/* Trilho de Miniaturas (Thumbnail Rail) */
.details-thumbnails-rail {
  display: flex;
  gap: 10px;
  padding: 14px 60px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) #f1f1f1;
  -webkit-overflow-scrolling: touch;
}

.details-thumbnails-rail::-webkit-scrollbar {
  height: 6px;
}

.details-thumbnails-rail::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 4px;
}

.thumb-btn {
  flex-shrink: 0;
  width: 90px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: all 200ms ease;
  opacity: 0.65;
}

.thumb-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.thumb-btn.active {
  opacity: 1;
  border-color: var(--accent-blue);
  box-shadow: 0 2px 8px rgba(28, 105, 212, 0.35);
}

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

/* Contador e Indicador nos Cards Horizontais */
.card-photo-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Alternador de Grid vs. Lista */
.properties-results-list.is-grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.properties-results-list.is-grid-view .property-card-horizontal {
  display: flex;
  flex-direction: column-reverse;
  height: auto;
  min-height: auto;
  max-height: none;
}

.properties-results-list.is-grid-view .card-info-side {
  padding: 24px;
  min-height: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.properties-results-list.is-grid-view .card-media-side {
  width: 100%;
  height: 240px;
  min-height: 240px;
  max-height: 240px;
}

/* Toast de Notificação */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1e293b;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideToastIn 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideToastIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Lightbox Modal em Tela Cheia */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  transition: transform 200ms ease;
}

.lightbox-close-btn,
.lightbox-arrow-btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 200ms ease;
}

.lightbox-close-btn:hover,
.lightbox-arrow-btn:hover {
  background: rgba(28, 105, 212, 0.8);
  transform: scale(1.1);
}

.lightbox-close-btn {
  top: 24px;
  right: 28px;
  font-size: 1.2rem;
}

.lightbox-arrow-btn.prev {
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-arrow-btn.next {
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-caption-bar {
  margin-top: 16px;
  color: #f1f5f9;
  font-size: 0.9rem;
  display: flex;
  gap: 16px;
  align-items: center;
}

.lightbox-counter-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}
/* Home showcase — composição aprovada no preview offline */
.home-showcase-hero{position:relative;min-height:420px;overflow:hidden;color:#fff;background:linear-gradient(90deg,rgba(6,20,42,.88),rgba(6,20,42,.12)),var(--home-hero) center/cover}
.home-showcase-hero-copy{max-width:610px;padding:46px 40px}.home-showcase-badge{display:inline-block;padding:5px 9px;border-radius:3px;background:#fff4d8;color:#514321;font-size:10px;font-weight:800;letter-spacing:.05em}.home-showcase-hero h1{font-family:Georgia,serif;font-size:48px;line-height:.96;letter-spacing:-.045em;margin:16px 0 12px;max-width:500px}.home-showcase-hero p{margin:0 0 15px;font-size:16px}.home-showcase-price{display:block;font-size:22px;margin-bottom:15px}.home-showcase-facts{display:flex;gap:18px;font-size:12px;margin-bottom:22px}.home-showcase-facts span{display:flex;align-items:center;gap:5px}.home-showcase-icon{display:inline-grid;place-items:center;color:#1769d5;font-size:22px;line-height:1}.home-showcase-hero .home-showcase-icon{color:#fff;font-size:15px}.home-showcase-button{display:inline-flex;align-items:center;gap:10px;background:#fff;color:#0e1d35;padding:12px 20px;border-radius:4px;text-decoration:none;font-size:12px;font-weight:700}.home-showcase-button-blue{background:#1769d5;color:#fff}.home-showcase-hero-note{position:absolute;right:28px;top:28px;text-align:right;font:14px Georgia,serif}.home-showcase-controls{position:absolute;right:24px;bottom:22px;display:flex;align-items:center;gap:12px;font-size:11px}.home-showcase-controls button{border:0;width:30px;height:30px;border-radius:4px;background:#fff8;color:#fff;font-size:22px;cursor:pointer}.home-showcase-intro{display:grid;grid-template-columns:1.05fr 1.5fr;gap:50px;align-items:center;padding:30px 38px;border-bottom:1px solid var(--border-subtle)}.home-showcase-kicker{color:#708099;font-size:9px;letter-spacing:.2em;font-weight:700}.home-showcase-intro h2{font:32px/.98 Georgia,serif;letter-spacing:-.04em;margin:8px 0 12px}.home-showcase-intro p{max-width:420px;color:#61708a;font-size:12px}.home-showcase-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.home-showcase-benefits>div{font-size:11px;color:#61708a}.home-showcase-benefits .home-showcase-icon{display:block;margin-bottom:5px}.home-showcase-benefits strong{display:block;color:#0e1d35;font-size:11px;margin-bottom:3px}.home-showcase-list{padding:30px 38px}.home-showcase-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}.home-showcase-section-head h2{font:22px Georgia,serif;margin:0}.home-showcase-section-head a{color:#1769d5;font-size:11px;font-weight:700;text-decoration:none}.home-showcase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.home-showcase-card{border:1px solid var(--border-color);border-radius:5px;overflow:hidden;background:#fff}.home-showcase-card-media{display:block;position:relative}.home-showcase-card-media img{display:block;width:100%;height:118px;object-fit:cover}.home-showcase-card-tag{position:absolute;left:10px;top:10px;padding:4px 6px;background:#fff4d8;color:#514321;font-size:8px;font-weight:800}.home-showcase-card-body{padding:10px}.home-showcase-card-body h3{font:14px Georgia,serif;margin:6px 0 2px}.home-showcase-card-body p,.home-showcase-card-body small{display:block;color:#61708a;font-size:10px;margin:0}.home-showcase-card-body strong{display:block;color:#1769d5;font-size:14px;margin-top:8px}.home-showcase-card-body small{margin-top:6px;font-size:9px}.home-showcase-card:hover{border-color:#a9caff;box-shadow:0 8px 22px rgba(23,105,213,.12)}
@media(max-width:900px){.home-showcase-intro{grid-template-columns:1fr;gap:24px}.home-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-showcase-hero h1{font-size:38px}}
@media(max-width:620px){.home-showcase-hero{min-height:470px}.home-showcase-hero-copy{padding:34px 22px}.home-showcase-hero h1{font-size:40px}.home-showcase-intro,.home-showcase-list{padding:28px 20px}.home-showcase-benefits,.home-showcase-grid{grid-template-columns:1fr}.home-showcase-hero-note{right:18px;top:18px}}
/* Sidebar compacta com menus lineares */
.sidebar-nav ul{gap:6px}.nav-item-btn{padding:9px 8px;border-radius:6px;font-size:.74rem}.nav-item-btn svg{width:18px;height:18px}
