/* ==========================================================================
   POTENCIALIZA INVESTIMENTOS IMOBILIÁRIOS - DESIGN SYSTEM
   PALETA CLEAN: AMARELO, CINZA, PRETO & BRANCO + DESTAQUE VERDE (CONTATO)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Paleta Estrita: Amarelo, Cinza, Preto e Branco */
  --bg-primary: #f4f4f5;       /* Cinza Claro */
  --bg-card: #ffffff;          /* Branco Clean */
  --bg-surface: #e4e4e7;       /* Cinza Neutro */
  --bg-surface-hover: #d4d4d8;
  --bg-dark: #09090b;          /* Preto Profundo */
  --bg-dark-card: #18181b;     /* Grafite / Carvão Escuro */
  
  /* Cores de Texto */
  --text-main: #09090b;
  --text-secondary: #27272a;
  --text-muted: #71717a;
  --text-light: #a1a1aa;
  --text-inverse: #ffffff;
  
  /* Marca & Destaque (Amarelo / Dourado Oficial & Preto) */
  --primary: #eab308;          /* Amarelo Ouro Vibrante */
  --primary-hover: #ca8a04;    /* Amarelo Dourado Escuro */
  --primary-dark: #a16207;
  --primary-light: #fef9c3;   /* Amarelo Suave */
  --accent: #f59e0b;
  
  /* Cor Única de Contato: Verde WhatsApp */
  --contact-green: #25d366;
  --contact-green-hover: #128c7e;
  
  /* Badges & Status */
  --sale-badge: #18181b;       /* Preto Grafite */
  --rent-badge: #eab308;       /* Amarelo */
  --code-badge-bg: rgba(9, 9, 11, 0.9);
  --code-badge-border: #eab308;
  --success: #25d366;
  --danger: #ef4444;
  
  /* Sombras & Bordas */
  --border-light: #e4e4e7;
  --border-dark: #27272a;
  --border-gold: rgba(234, 179, 8, 0.4);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 14px rgba(9, 9, 11, 0.08);
  --shadow-lg: 0 12px 30px rgba(9, 9, 11, 0.14);
  --shadow-xl: 0 20px 45px rgba(9, 9, 11, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  font-weight: 700;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* REGRA GLOBAL ESTRITA PARA PREVENIR SVGS GIGANTES NO NAVEGADOR */
svg {
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.spec-pill svg, .card-location svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0 !important;
}

.top-info-item svg, .nav-contact-btn svg, .admin-trigger-btn svg, .btn-whatsapp svg, .hero-category-pill svg, .search-submit-btn svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP BAR & NAVBAR (PRETO GRAFITE, CINZA & AMARELO)
   ========================================================================== */
.top-bar {
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 24px;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-info-item svg {
  color: var(--primary);
}

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

.admin-trigger-btn {
  background: rgba(234, 179, 8, 0.15);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-gold);
  transition: var(--transition);
}

.admin-trigger-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

/* Main Navigation (Navbar Dark Grafite para destacar o logo oficial) */
.navbar {
  background: #18181b;
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

/* LOGO OFICIAL CONFORME A IMAGEM FORNECIDA PELO CLIENTE */
.brand-logo-wrapper {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 2px 0;
}

.brand-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}

.brand-logo-img {
  height: 74px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo-wrapper:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 16px rgba(234, 179, 8, 0.35));
}

.brand-creci-text {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 2.8px;
  color: #eab308;
  background: linear-gradient(135deg, #fef08a 0%, #eab308 50%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-top: 1px;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.footer-logo-img {
  height: 78px;
}

/* DESTACADO CONFORME A FOTO 2 ENVIADA (ABAIXO DO PARÁGRAFO DO RODAPÉ) */
.footer-creci-highlight-box {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px dashed rgba(234, 179, 8, 0.5);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.footer-creci-highlight-box:hover {
  background: rgba(234, 179, 8, 0.15);
  border-color: #eab308;
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.3);
  transform: translateY(-2px);
}

.creci-badge-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-mini-badge-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.creci-badge-text {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 2px;
  color: #fef08a;
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 50%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: #e4e4e7;
  transition: var(--transition);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* BOTÕES DE CONTATO (TODOS NO TOM DE VERDE DO WHATSAPP CONFORME SOLICITADO) */
.nav-contact-btn, .btn-contact-green {
  background: var(--contact-green) !important;
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  border: none !important;
}

.nav-contact-btn:hover, .btn-contact-green:hover {
  background: var(--contact-green-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.45);
}

/* ==========================================================================
   HERO SECTION COM IMAGEM DE FUNDO VERDE PAISAGEM (SEM AZUL)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 640px;
  /* Imagem com bastante verde conforme solicitado */
  background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 70px 0 90px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.55) 0%, rgba(9, 9, 11, 0.75) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-header-text {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
  color: #ffffff;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 9, 11, 0.75);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e4e4e7;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* CAIXA DE PESQUISA CENTRALIZADA NO HERO (PALETA AMARELO, CINZA, PRETO, BRANCO) */
.hero-search-box {
  background: rgba(24, 24, 27, 0.95);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(234, 179, 8, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  padding: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

/* Barra superior de Abas (Venda / Aluguel / Todos + Busca Completa vs Por Código) */
.search-header-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.purpose-tabs {
  display: flex;
  gap: 10px;
}

.purpose-tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.9rem;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.purpose-tab-btn.active {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

.mode-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mode-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: #a1a1aa;
  transition: var(--transition);
}

.mode-tab-btn.active {
  background: #27272a;
  color: #ffffff;
  border-bottom: 2px solid var(--primary);
}

/* Grid do Formulário de Filtros */
.search-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: flex-end;
}

.code-search-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  align-items: flex-end;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-custom label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #e4e4e7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-select-custom, .form-input-custom {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #ffffff;
  background: rgba(9, 9, 11, 0.85);
  outline: none;
  transition: var(--transition);
}

.form-select-custom option {
  background: #18181b;
  color: #ffffff;
}

.form-select-custom:focus, .form-input-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.25);
}

/* BOTÃO PESQUISAR NO HERO (AMARELO COM TEXTO ESCURO) */
.search-submit-btn {
  background: var(--primary) !important;
  color: var(--bg-dark) !important;
  border-radius: var(--radius-sm);
  padding: 12px 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  transition: var(--transition);
  border: none;
}

.search-submit-btn:hover {
  background: var(--primary-hover) !important;
  color: #ffffff !important;
}

.search-reset-btn {
  background: transparent;
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 700;
  height: 46px;
  transition: var(--transition);
}

.search-reset-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Pílulas de Categorias Rápidas no Hero */
.hero-category-pills {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-category-pill {
  background: rgba(39, 39, 42, 0.9);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  cursor: pointer;
}

.hero-category-pill:hover, .hero-category-pill.active {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

/* ==========================================================================
   SEÇÃO DE DESTAQUES (FOTOS E DESTAQUE LOGO ABAIXO DOS FILTROS)
   ========================================================================== */
.highlights-section {
  background: #ffffff;
  padding: 80px 0;
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-subtitle {
  color: var(--primary-hover) !important;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

/* GRID DE CARDS DE IMÓVEIS - PROPORÇÕES BALANCEADAS LANDSCAPE */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.property-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

/* EMBALAGEM DA IMAGEM COM ALTURA FIXA LANDSCAPE (IMPOSSÍVEL ESTICAR VERTICALMENTE) */
.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-surface);
}

.card-img {
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.property-card:hover .card-img {
  transform: scale(1.06);
}

/* Badges sobrepostas na foto */
.card-badges-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

/* DESTAQUE DO CÓDIGO DO IMÓVEL */
.code-tag-badge {
  background: var(--code-badge-bg);
  backdrop-filter: blur(8px);
  color: var(--primary);
  border: 1px solid var(--code-badge-border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.purpose-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.purpose-badge.venda {
  background: var(--bg-dark);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.purpose-badge.aluguel {
  background: var(--primary);
  color: var(--bg-dark);
}

.card-price-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(9, 9, 11, 0.92);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.15rem;
  border-left: 3px solid var(--primary);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

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

.card-type-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.35;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.card-specs {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.spec-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.card-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.btn-details {
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.btn-details:hover {
  background: var(--bg-dark);
  color: #ffffff;
}

.btn-whatsapp {
  background: var(--contact-green) !important;
  color: #ffffff !important;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: var(--contact-green-hover) !important;
}

/* ==========================================================================
   CATÁLOGO COMPLETO & FILTROS DE CATEGORIA
   ========================================================================== */
.catalog-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.catalog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
  background: #ffffff;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid transparent;
  transition: var(--transition);
}

.filter-pill:hover, .filter-pill.active {
  background: var(--bg-dark);
  color: var(--primary);
  border-color: var(--primary);
}

/* ==========================================================================
   SIMULADOR DE FINANCIAMENTO
   ========================================================================== */
.simulator-section {
  background: var(--bg-dark) !important;
  color: #ffffff;
  padding: 90px 0;
}

.simulator-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-dark-card) !important;
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-xl);
}

.simulator-info h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.simulator-info p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.sim-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.sim-input-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #d4d4d8;
  text-transform: uppercase;
}

.sim-input {
  width: 100%;
  padding: 12px 14px;
  background: #09090b;
  border: 1px solid #3f3f46;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

.sim-input:focus {
  border-color: var(--primary);
}

.sim-result-card {
  background: #09090b;
  border: 1px solid var(--border-gold);
  padding: 36px;
  border-radius: var(--radius-md);
  text-align: center;
}

.sim-result-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary) !important;
  margin: 16px 0;
}

/* ==========================================================================
   BOTÕES FLUTUANTES (WHATSAPP & INSTAGRAM OFICIAL)
   ========================================================================== */
.floating-contact-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  transition: var(--transition);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn.whatsapp {
  background: var(--contact-green);
}

.floating-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* MODAIS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

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

.modal-body {
  padding: 24px;
}

.modal-close-btn {
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

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

/* TABELA ADMIN */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.admin-table th, .admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--bg-surface);
  font-weight: 700;
  color: var(--text-secondary);
}

/* FOOTER */
.footer {
  background: var(--bg-dark) !important;
  color: var(--text-light);
  padding: 70px 0 35px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #71717a;
}

.dev-credits {
  color: #a1a1aa;
  font-weight: 500;
}

.dev-credits strong {
  color: var(--primary);
  font-weight: 700;
}

.footer-gestao-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.footer-gestao-btn:hover {
  color: var(--primary);
  border-color: var(--border-gold);
  background: rgba(234, 179, 8, 0.1);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.2);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
  .search-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .simulator-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .search-form-grid {
    grid-template-columns: 1fr;
  }
  .code-search-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* ==========================================================================
   NOVOS ESTILOS - BOTÃO ANUNCIE SEU IMÓVEL, MAPA & MODAL WHATSAPP
   ========================================================================== */

/* Botão Anuncie Seu Imóvel no Navbar */
.nav-announce-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.12);
  color: var(--primary);
  border: 1px solid var(--border-gold);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.nav-announce-btn:hover {
  background: var(--primary);
  color: #000000;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.4);
  transform: translateY(-1px);
}

/* Seção de Localização com Google Maps */
.location-section {
  padding: 80px 0;
  background: var(--bg-dark);
  color: #ffffff;
}

.location-box-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  background: #18181b;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-xl);
  align-items: center;
}

.location-content h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.location-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.location-details-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.location-item:last-child {
  margin-bottom: 0;
}

.location-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary); /* Amarelo Ouro Vibrante #eab308 */
  color: #000000;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.4);
}

.location-visit-btn:hover {
  background: var(--primary-hover); /* #ca8a04 */
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.6);
  color: #000000;
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

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

/* Modal de Seleção de Corretores no WhatsApp */
.whatsapp-modal-container {
  max-width: 580px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.whatsapp-modal-header {
  background: #075e54;
  color: #ffffff;
  padding: 24px;
}

.whatsapp-header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.whatsapp-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.whatsapp-modal-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.whatsapp-modal-header p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

.whatsapp-brokers-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.broker-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.broker-card-item:hover {
  border-color: #25d366;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.broker-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.broker-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.broker-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
}

.broker-phone {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.broker-role {
  color: #25d366;
  font-weight: 600;
}

.broker-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}

.broker-chat-btn:hover {
  background: #128c7e;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Filtro Duplo no Catálogo */
.catalog-double-filter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.filter-row-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-group-label {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 100px;
}

.filter-purpose-pill, .filter-type-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.filter-purpose-pill:hover, .filter-type-pill:hover {
  border-color: var(--primary);
  color: var(--text-main);
}

.filter-purpose-pill.active {
  background: var(--bg-dark);
  color: var(--primary);
  border-color: var(--border-gold);
  font-weight: 700;
}

.filter-type-pill.active {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
  font-weight: 800;
}

@media (max-width: 992px) {
  .location-box-grid {
    grid-template-columns: 1fr;
  }
}

