/* Design tokens — Fábio Cunha Imóveis. Fonte: DNA.md */

:root {
  /* Tema Noite (base) */
  --cor-petroleo: #568D9F;
  --cor-fundo-escuro: #0F1416;
  --cor-fundo-claro: #F4F1EC;
  --cor-dourado: #C9A24B;
  --cor-verde-corcovado: #1F3D33;
  --gradiente-sunset: linear-gradient(90deg, #F2637A 0%, #F5A25C 100%);

  --texto-titulo-escuro: #FFFFFF;
  --texto-corpo-escuro: #C9CDD1;
  --texto-titulo-claro: #14181A;
  --texto-corpo-claro: #5B6266;

  --sucesso: #3FA66B;
  --alerta: #E0A93E;

  /* Tema Dia — Sunset Verão Carioca */
  --cor-areia-quente: #FBEEE0;
  --cor-ameixa-fosca: #5C4258;
  --texto-titulo-dia: #1A1412;

  /* Tipografia */
  --fonte-display: 'Poppins', sans-serif;
  --fonte-corpo: 'Poppins', sans-serif;
  --fonte-mono: 'JetBrains Mono', monospace;

  /* Espaçamento (baseline 8px) */
  --espaco-xs: 8px;
  --espaco-sm: 16px;
  --espaco-md: 24px;
  --espaco-lg: 40px;
  --espaco-xl: 64px;
  --raio: 999px; /* botões pill */
  --raio-card: 20px; /* mesmo valor do motor original (--apkd-radius) */

  /* Curvas de easing e header — valores portados 1:1 do motor original (--apk6-*) */
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,0,.2,1);
  --ease-panel: cubic-bezier(.23,1,.32,1);
  --header-h: 68px;
}

/* Tema padrão do body é definido por página via [data-tema="dia"] ou [data-tema="noite"] */

[data-tema="noite"] {
  --bg: var(--cor-fundo-escuro);
  --texto-titulo: var(--texto-titulo-escuro);
  --texto-corpo: var(--texto-corpo-escuro);
  --hero-bg: var(--cor-fundo-escuro);
}

[data-tema="dia"] {
  --bg: var(--cor-areia-quente);
  --texto-titulo: var(--texto-titulo-dia);
  --texto-corpo: var(--texto-corpo-claro);
  --hero-bg: var(--gradiente-sunset);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg, var(--cor-fundo-escuro));
  color: var(--texto-corpo, var(--texto-corpo-escuro));
  font-family: var(--fonte-corpo);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: var(--fonte-display);
  color: var(--texto-titulo, var(--texto-titulo-escuro));
  font-weight: 600;
  margin: 0;
}

.mono, .dado {
  font-family: var(--fonte-mono);
}

.gradiente-destaque {
  background: var(--gradiente-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* No tema dia o fundo do hero já é o gradiente — a palavra de destaque
   usa cor sólida em vez de clip de texto, senão fica ilegível */
[data-tema="dia"] .hero .gradiente-destaque {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--cor-fundo-escuro);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--espaco-md);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--espaco-xs);
  padding: 14px 28px;
  border-radius: var(--raio);
  font-family: var(--fonte-corpo);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  background: var(--cor-petroleo);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid currentColor;
}

/* ===== Header — sólido e opaco em todas as páginas. Mobile/tablet: fundo
   claro com logo escura e hambúrguer escuro. Desktop largo (>=1200px):
   fundo escuro sólido com nav em texto plano, referência: apkasamoradaimoveis.com.br. ===== */

header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding-top: 8px;
  padding-bottom: 8px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(15,20,22,.06);
  transition: box-shadow .3s var(--ease), background-color .2s var(--ease);
}

@media (min-width: 1200px) {
  header.site-header {
    background: #000000;
    box-shadow: 0 2px 16px rgba(0,0,0,.25);
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

header.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(15,20,22,.1);
}

/* corpo empurrado pra baixo do header fixo */
body { padding-top: var(--header-h); }
@media (min-width: 1200px) { body { padding-top: calc(var(--header-h) + 10px); } }

nav.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--espaco-sm);
  width: 100%;
  padding: var(--espaco-xs) 0;
}

.logo-site, .nav-links-logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-asa { flex: none; color: #14181A; }
.logo-site {
  color: #14181A;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
}

.nav-direita { display: contents; }

@media (min-width: 1200px) {
  .logo-asa { color: #fff; }
  .logo-site { color: #fff; font-size: 19px !important; flex-shrink: 0 !important; overflow: visible !important; }
  .nav-direita {
    display: flex; align-items: center; gap: 16px;
    margin-left: auto; flex-shrink: 0;
  }
}

.nav-links {
  display: flex;
  gap: var(--espaco-md);
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  white-space: nowrap;
}

.nav-idiomas { display: none; }

@media (min-width: 1200px) {
  .nav-links {
    gap: 22px;
    background: #fff;
    border-radius: 999px;
    padding: 15px 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
  }
  .nav-links a {
    color: #14181A;
    font-weight: 500;
    font-size: 15px;
    text-transform: none;
    letter-spacing: normal;
    opacity: 0.85;
  }
  .nav-idiomas {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    padding: 4px;
    margin-left: 24px;
  }
  .nav-idioma {
    border: none; cursor: pointer; background: transparent; color: rgba(255,255,255,.7);
    font-family: var(--fonte-corpo); font-size: 13px; font-weight: 600;
    padding: 4px 12px; line-height: 18px; border-radius: 999px; white-space: nowrap;
    transition: background-color .18s var(--ease), color .18s var(--ease);
  }
  .nav-idioma.ativo { background: #fff; color: #14181A; }
  .nav-idioma:not(.ativo):hover { color: #fff; }
  .nav-links a:hover { opacity: 1; }
  .nav-links-topo, .nav-icon { display: none; }
}

/* Hamburguer — abaixo de 1200px, círculo com 3 barras, idêntico ao original */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(20,24,26,.06);
  border: 1px solid rgba(20,24,26,.14);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.nav-toggle:hover { background: rgba(20,24,26,.12); border-color: rgba(20,24,26,.24); }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: #14181A; border-radius: 2px; }

@media (max-width: 1199px) {
  .nav-toggle { display: flex; }
}

/* Painel mobile — desliza da direita, fundo escuro cheio, mesma curva de
   easing (--ease-panel) e mesma técnica (transform, não display) do original */
@media (max-width: 1199px) {
  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    background: var(--cor-fundo-escuro);
    color: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 99998;
    transform: translateX(100%);
    transition: transform .32s var(--ease-panel);
    padding: 20px 26px 26px;
  }
  .nav-links.aberto { transform: translateX(0); }
  .nav-links-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
    margin-bottom: 8px;
  }
  .nav-links-logo { font-size: 18px; color: #fff; }
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: #fff;
    opacity: 1;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-icon { flex-shrink: 0; opacity: 0.75; }
}

/* ===== WhatsApp flutuante — fixo em todas as páginas, sempre visível ===== */
.wa-flutuante {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 9400;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .2s var(--ease);
}
.wa-flutuante:hover { transform: scale(1.08); }
.wa-flutuante svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 767px) {
  .wa-flutuante { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-flutuante svg { width: 27px; height: 27px; }
}

/* ===== Cards de imóvel — portado do motor original (.CardProperty):
   radius 20px, sombra suave, imagem com zoom no hover, grid vira carrossel
   com scroll-snap no mobile (idêntico ao breakpoint original). ===== */

.card-imovel {
  border-radius: var(--raio-card);
  overflow: visible;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15,27,45,.07);
}
.card-imovel .foto-wrap {
  border-radius: var(--raio-card) var(--raio-card) 0 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.card-imovel .corpo { border-radius: 0 0 var(--raio-card) var(--raio-card); overflow: hidden; }

[data-tema="noite"] .card-imovel {
  background: color-mix(in srgb, var(--bg) 92%, var(--texto-corpo) 8%);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

/* Seção de tema claro dentro da página noturna: o card não herda o fundo/texto do noite */
[data-tema="dia"] .card-imovel {
  background: #fff;
  color: var(--texto-titulo-dia);
  box-shadow: 0 4px 20px rgba(15,27,45,.07);
}

.card-imovel .foto-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-imovel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--cor-petroleo);
  transition: transform .4s ease;
}

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

.card-imovel .corpo {
  padding: var(--espaco-sm);
}

.grid-imoveis {
  display: grid;
  gap: var(--espaco-md);
}

@media (min-width: 1200px) {
  .grid-imoveis { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .grid-imoveis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid-imoveis {
    grid-template-columns: 1fr;
  }
}

/* ===== Card de imóvel — versão listagem (badge, carrossel de fotos,
   ícones e preço), padrão visual de referência: apartamentosrio.com.br.
   A rolagem lateral no mobile acontece DENTRO do card (galeria de fotos),
   não na lista inteira — a lista empilha verticalmente. ===== */

.card-imovel { position: relative; display: block; }

.card-imovel .badge-status {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--cor-petroleo);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
}

.card-imovel .badge-ref {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
}

.card-imovel .foto-wrap {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.card-imovel .foto-wrap::-webkit-scrollbar { display: none; height: 0; }
.card-imovel .foto-wrap img {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.card-imovel .foto-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.85);
  color: #14181A;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.card-imovel .foto-nav.prev { left: 10px; }
.card-imovel .foto-nav.next { right: 10px; }
.card-imovel .foto-dots {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 5px;
  z-index: 2;
  pointer-events: none;
}
.card-imovel .foto-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.55);
}
.card-imovel .foto-dots span.ativo { background: #fff; }

.card-imovel .endereco {
  font-size: 13px;
  opacity: 0.65;
  display: flex; align-items: center; gap: 4px;
  margin: 4px 0 10px;
}

.card-imovel .icones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 10px 0 12px;
  font-family: var(--fonte-mono);
  font-size: 13px;
  opacity: 0.85;
}
.card-imovel .icones span { display: inline-flex; align-items: center; gap: 5px; }
.card-imovel .icones svg { width: 15px; height: 15px; flex: none; opacity: 0.75; }

.card-imovel .preco {
  font-size: 20px;
  font-weight: 700;
  color: var(--cor-petroleo);
}
[data-tema="dia"] .card-imovel .preco { color: var(--cor-ameixa-fosca); }
.card-imovel .preco .rs { font-size: 13px; font-weight: 500; opacity: 0.75; margin-right: 2px; }

footer.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--texto-corpo) 15%, transparent);
  padding: var(--espaco-xl) 0;
  margin-top: var(--espaco-xl);
  font-size: 13px;
  opacity: 0.7;
}

/* Motion — drift lento de elementos flutuantes, reveal em scroll, hover states */
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 30px); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -22px); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.55; }
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.5;
}
.orb-a { animation: drift-a 10s ease-in-out infinite; }
.orb-b { animation: drift-b 12s ease-in-out infinite; }

.dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

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

.card-imovel {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card-imovel:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.btn-pill {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--cor-petroleo) 45%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .orb-a, .orb-b, .dot-pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-imovel, .btn-pill { transition: none; }
}

/* ===== Acessibilidade e uso simples no celular (letra grande, toque grande) ===== */
.barra-contato { display: none; }
.nav-toggle .nav-toggle-txt { display: none; }
@media (max-width: 1199px) {
  .nav-toggle {
    width: auto; min-width: 48px; height: 48px; border-radius: 24px;
    flex-direction: row; gap: 8px; padding: 0 16px;
  }
  .nav-toggle .nav-toggle-txt { display: inline; font-weight: 700; font-size: 16px; color: #14181A; font-family: var(--fonte-corpo); }
  .nav-toggle .barras { display: flex; flex-direction: column; gap: 4px; }
  .nav-links a { font-size: 20px; padding: 20px 0; min-height: 60px; }
  .nav-close { width: 48px; height: 48px; }
}
.card-imovel .endereco { font-size: 15px; opacity: .8; }
.card-imovel .icones { font-size: 15px; opacity: 1; }
.card-imovel .icones svg { width: 18px; height: 18px; }
.card-imovel .badge-ref { font-size: 13px; }
.site-footer { font-size: 15px; opacity: .85; }
@media (max-width: 767px) {
  body { font-size: 17px; padding-bottom: 76px; }
  .wa-flutuante { display: none; }
  .barra-contato {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9400;
    gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.15);
  }
  .barra-contato a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 54px; border-radius: 14px; font-size: 18px; font-weight: 700; color: #fff;
  }
  .barra-contato .bc-wa { background: #1faa52; }
  .barra-contato .bc-tel { background: #14181A; }
  .barra-contato svg { width: 24px; height: 24px; fill: currentColor; }
}
@media (max-width: 1199px) {
  .nav-toggle { flex-direction: row !important; align-items: center; }
  .nav-toggle .barras { display: flex; flex-direction: column; gap: 4px; width: 18px; height: auto; background: none; }
  .nav-toggle .barras span { display: block; width: 18px; height: 2px; background: #14181A; border-radius: 2px; }
  .nav-toggle .nav-toggle-txt { width: auto; height: auto; background: none; line-height: 1; }
}
@media (max-width: 480px) {
  .logo-site { font-size: 16px !important; gap: 6px; }
  .logo-site .logo-asa { width: 30px; height: 21px; }
  .nav-toggle { padding: 0 12px; gap: 6px; }
}

/* Desktop: afasta o logo da pílula de navegação */
@media (min-width: 1360px) {
  header.site-header .container { max-width: 1320px; }
  .nav-direita { margin-left: 56px; }
}

/* 1200–1299px: aperta a navegação para as bandeiras (PT/EN/ES) não saírem da tela */
@media (min-width: 1200px) and (max-width: 1299px) {
  .nav-direita { gap: 8px; }
  .nav-links { gap: 12px; }
  .logo-site { font-size: 17px !important; }
}

/* Desktop largo: pílula de navegação centralizada na página (logo à esquerda, bandeiras à direita) */
@media (min-width: 1360px) {
  nav.site-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .nav-direita { display: contents; margin-left: 0; }
  .nav-links { justify-self: center; }
  .nav-idiomas { justify-self: end; }
}

/* ===== Telefone: ícone animado (toque) + escolha de número ===== */
@keyframes telToque {
  0%, 38%, 100% { transform: rotate(0); }
  4% { transform: rotate(-16deg); } 8% { transform: rotate(14deg); } 12% { transform: rotate(-16deg); }
  16% { transform: rotate(14deg); } 20% { transform: rotate(-12deg); } 24% { transform: rotate(10deg); } 28% { transform: rotate(-6deg); } 32% { transform: rotate(4deg); }
}
@keyframes telOnda { 0%, 38% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.barra-contato .bc-tel svg { transform-origin: 50% 50%; animation: telToque 2.6s ease-in-out infinite; }
.tel-flutuante {
  position: fixed; right: 24px; bottom: 96px; z-index: 9300; width: 56px; height: 56px; border-radius: 50%;
  background: #14181A; display: none; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.28); cursor: pointer;
}
.tel-flutuante::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #568D9F; animation: telOnda 2.6s ease-out infinite; }
.tel-flutuante svg { width: 26px; height: 26px; fill: #fff; transform-origin: 50% 50%; animation: telToque 2.6s ease-in-out infinite; }
@media (min-width: 768px) { .tel-flutuante { display: flex; } }
.tel-sheet { position: fixed; inset: 0; z-index: 9900; background: rgba(0,0,0,.55); display: none; align-items: flex-end; justify-content: center; }
.tel-sheet.aberto { display: flex; }
.tel-sheet-caixa { width: 100%; max-width: 440px; background: #fff; border-radius: 22px 22px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .tel-sheet { align-items: center; } .tel-sheet-caixa { border-radius: 22px; } }
.tel-sheet-titulo { margin: 0 0 4px; font-weight: 700; font-size: 18px; color: #14181A; text-align: center; }
.tel-op { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; border-radius: 14px; background: #14181A; color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; }
.tel-op svg { width: 24px; height: 24px; fill: #fff; animation: telToque 2.6s ease-in-out infinite; }
.tel-fechar { min-height: 52px; border: 0; border-radius: 14px; background: #eef0f2; color: #14181A; font-size: 17px; font-weight: 600; cursor: pointer; }

/* Cartões da lista: a galeria rola por dentro e não pode alargar o cartão (fotos carregadas sob demanda) */
.grid-imoveis > *, .card-imovel { min-width: 0; }
.card-imovel .foto-wrap img { width: 100%; min-width: 0; object-fit: cover; }


/* ===== Mobile (<768px) - barra escura compacta e hamburguer simples, como
   aliancaviva.com.br e apartamentosrio.com.br. Desktop nao muda. ===== */
@media (max-width: 767px) {
  header.site-header { background: #000; box-shadow: none; padding-top: 6px; padding-bottom: 6px; }
  .logo-asa { color: #fff; }
  .logo-site { color: #fff; }
  .nav-toggle { width: 44px; height: 44px; background: transparent; border: 0; border-radius: 0; }
  .nav-toggle:hover { background: transparent; }
  .nav-toggle .nav-toggle-txt { display: none; }
  .nav-toggle .barras { display: flex; flex-direction: column; gap: 5px; }
  .nav-toggle .barras span { width: 24px; height: 2px; background: #fff; }
}

.nav-busca { display: none; }
@media (max-width: 767px) {
  .nav-busca { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #F2637A; flex-shrink: 0; }
  nav.site-nav { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 0; }
  .logo-site { justify-content: center; font-size: 18px !important; }
  .nav-direita { display: none; }
  .nav-toggle { justify-self: end; }
}

/* ===== Mobile - botoes, cards e tipografia copiados de aliancaviva.com.br e
   apartamentosrio.com.br (cantos retos/pouco arredondados, botoes retangulares
   em caixa alta, nome e preco em negrito). Desktop nao muda. ===== */
@media (max-width: 767px) {
  .btn-pill { display: flex; width: 100%; justify-content: center; border-radius: 6px; text-transform: uppercase; font-weight: 700; font-size: 14px; letter-spacing: .01em; padding: 15px 20px; }
  .btn-pill:hover { transform: none; box-shadow: none; }
  .btn-outline { border: 1.5px solid #6b7075; color: #444; background: #fff; }
  .card-imovel, .lifestyle-card, .bairro-card { border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.14); }
  .card-imovel .corpo { border-radius: 0 0 8px 8px; padding: 18px 18px 20px; }
  .card-imovel .foto-wrap, .card-imovel .foto-wrap img { border-radius: 8px 8px 0 0; }
  .card-imovel .badge-ref { background: #111; border-radius: 3px; font-size: 12.8px; font-weight: 600; padding: 5px 10px; }
  .card-imovel .badge-status { border-radius: 3px; font-size: 12.8px; }
  .card-imovel .endereco { font-size: 14px; color: #555; opacity: 1; margin: 4px 0 12px; }
  .card-imovel .icones { font-size: 13px; color: #333; }
  .card-imovel .preco { font-size: 26px; font-weight: 700; }
}
@media (max-width: 767px) { .mob-outline { background: #fff !important; color: #444 !important; border: 1.5px solid #6b7075; } }

/* Mobile: botoes redondos flutuantes (WhatsApp + telefone) no lugar da barra,
   como aliancaviva.com.br e apartamentosrio.com.br. */
@media (max-width: 767px) {
  body { padding-bottom: 0; }
  .barra-contato { display: none !important; }
  .wa-flutuante { display: flex !important; right: 16px; bottom: 18px; width: 58px; height: 58px; }
  .wa-flutuante svg { width: 31px; height: 31px; }
  .tel-flutuante { display: flex; right: 20px; bottom: 88px; width: 50px; height: 50px; }
}

/* Mobile: so Poppins (sem fonte monoespacada), como aliancaviva.com.br e apartamentosrio.com.br */
@media (max-width: 767px) {
  :root { --fonte-mono: var(--fonte-corpo); }
  .mono, .badge-ref, .contador, .registro-fonte { font-family: var(--fonte-corpo) !important; letter-spacing: normal; }
  .card-imovel .badge-ref { font-weight: 600; }
}

/* ===== Padrão aliancaviva.com.br: títulos de seção e cards (desktop e mobile) ===== */
.secao-titulo { font-family: var(--fonte-corpo) !important; font-weight: 500 !important; text-align: center; letter-spacing: 0; }
.secao-titulo .t-dest, .secao-titulo b { font-weight: 700; }
.secao-sub, .secao-intro { font-family: var(--fonte-corpo); text-align: center; }
.card-imovel { background: #fff; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.08); border: 0; }
.card-imovel .corpo { text-align: center; padding: 22px 20px 24px; }
.card-imovel .card-nome { font-family: var(--fonte-corpo); font-size: 24px; font-weight: 500; color: #222; margin: 0 0 12px; }
.card-imovel .endereco { font-family: var(--fonte-corpo); text-align: center; font-size: 15px; opacity: 1; color: #222; margin-bottom: 24px; }
.card-imovel .icones { justify-content: space-around; font-family: var(--fonte-corpo); font-size: 13.5px; color: #333; margin-bottom: 20px; }
.card-imovel .preco { font-family: var(--fonte-corpo) !important; text-align: center; font-size: 28px; font-weight: 600; color: #111 !important; }
.card-imovel .preco .rs { font-size: 14px; font-weight: 700; opacity: 1; }
.card-imovel .badge-ref { background: #111; color: #fff; border-radius: 4px; font-weight: 700; font-size: 13.5px; padding: 6px 12px; }
@media (max-width: 767px) {
  .card-imovel .card-nome { font-size: 22px; }
  .card-imovel .preco { font-size: 26px; }
}
.card-imovel .endereco { justify-content: center; }
