/* ============================================================
   J BRASIL IMÓVEIS — Alto padrão em Maceió
   Visual: primária navy #0b2037 · painel marrom #484035C4
   ============================================================ */
:root {
  --primary: #0b2037;
  --panel: rgba(72, 64, 53, 0.77);   /* #484035C4 */
  --panel-solid: #484035;
  --title: #0b2037;
  --text: #3c4858;
  --text-soft: #8b9898;
  --bg: #ffffff;
  --bg-alt: #f4f4f4;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --border: #eaecec;
  --white: #ffffff;
  --whatsapp: #128c7e;
  --error: #e24929;
  --radius: 4px;
  --shadow: 0 2px 14px rgba(11, 32, 55, 0.12);
}

/* Tema escuro */
:root[data-theme="dark"] {
  color-scheme: dark;
  --title: #d9e6f4;
  --text: #c3cfdb;
  --text-soft: #8093a6;
  --bg: #0e1621;
  --bg-alt: #0a111a;
  --bg-card: #162230;
  --bg-input: #1d2a3a;
  --border: #27384b;
  --shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
:root[data-theme="dark"] .hero .hero-bg { opacity: .12; filter: brightness(.65); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header (logo + hamburger, como o site de referência) ---------- */
.site-header {
  position: relative; z-index: 20;
}
/* na página inicial, o cabeçalho flutua transparente sobre o hero (como o site de referência) */
.site-header.sobre-hero {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent;
}
.site-header.sobre-hero .logo img { height: 120px; }
.site-header .container {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-top: 22px;
}
.site-header .logo img { height: 96px; width: auto; }
.btn-menu {
  background: var(--panel); border: none; color: #fff;
  width: 55px; height: 55px; border-radius: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.btn-menu:hover { background: var(--panel-solid); }
.btn-menu svg { width: 35px; height: 35px; }

/* ---------- Drawer (menu lateral) ---------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 49;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: 320px; max-width: 88vw;
  padding: 20px; background: var(--panel-solid); z-index: 50;
  transform: translateX(100%); transition: transform .3s ease;
  color: #fff; overflow-y: auto;
  display: flex; flex-direction: column; gap: 34px;
}
.drawer.open { transform: translateX(0); }
.drawer .drawer-close { text-align: right; }
.drawer .drawer-close button {
  background: none; border: none; color: #fff; padding: 4px;
  transition: color .3s;
}
.drawer .drawer-close button:hover { color: #d8d2c6; }
.drawer h2 {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin-bottom: 14px;
}
.drawer nav a {
  display: block; padding: 12px 14px; font-size: 14.5px; font-weight: 600;
  color: #fff; border-radius: var(--radius);
  transition: background .25s;
}
.drawer nav a:hover, .drawer nav a.active { background: var(--primary); }
.drawer .contact-line {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; padding: 8px 0; color: #fff;
}
.drawer .contact-line svg { width: 17px; height: 17px; color: #7fe0d4; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero .hero-bg {
  position: absolute; inset: 0; opacity: .26; pointer-events: none;
}
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .container { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 70px; }
.hero-text { margin-top: 46px; text-align: center; }
.hero-text h1 {
  font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; color: var(--title);
  line-height: 1.2em;
}
.hero-text p {
  margin-top: 0.5em; font-size: clamp(18px, 2.7vw, 32px); color: var(--text);
  line-height: 1.2em;
}

/* ---------- Busca (fiel ao site de referência) ---------- */
.search-form { margin: 0 auto; width: 100%; }
.search-tabs {
  display: flex; gap: 40px; justify-content: center;
  margin-top: 48px; flex-wrap: wrap;
}
.search-tabs button {
  background: none; border: none; display: flex; align-items: center; gap: 9px;
  color: var(--title); font-size: 15px; font-weight: 600;
}
.search-tabs .radio {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--title); background: transparent; transition: background .2s;
}
.search-tabs button.active .radio { background: var(--title); box-shadow: inset 0 0 0 3px var(--bg); }

.search-panel {
  position: relative; display: flex; flex-direction: row; align-items: center;
  gap: 20px; padding: 30px; margin-top: 32px;
  background: var(--panel); border-radius: 59px;
}
.search-fields {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%;
}
.search-fields > * { min-width: 0; }
.search-fields .span-2 { grid-column: span 2; }
.campo-linha {
  background: transparent; border: none; border-bottom: 1px solid #fff;
  border-radius: 0; color: #fff; min-height: 40px; padding: 8px 4px;
  outline: none; width: 100%; cursor: pointer;
}
.campo-linha::placeholder { color: rgba(255,255,255,.75); }
.campo-linha option { color: var(--text); background: #fff; }
.campo-linha:disabled { color: rgba(255,255,255,.55); border-bottom-color: rgba(255,255,255,.45); cursor: default; }
.btn-search {
  border: none; background: transparent; color: #fff;
  width: 54px; height: 54px; border-radius: 100%; flex: none;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.btn-search:hover { background: rgba(255,255,255,.12); }
.btn-search svg { width: 32px; height: 32px; }
.search-ref { margin-top: 10px; display: flex; justify-content: center; }
.search-ref a {
  color: var(--text); font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
}
.search-ref a:hover { color: var(--title); text-decoration: underline; }

@media (max-width: 920px) {
  .search-panel { border-radius: 28px; flex-direction: column; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-tabs { gap: 26px; margin-top: 34px; }
}

/* ---------- Social flutuante do hero ---------- */
.hero-socials { display: flex; gap: 10px; margin-top: 26px; }
.hero-socials a, .footer-socials a {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--panel); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.hero-socials a:hover, .footer-socials a:hover { background: var(--primary); }
.hero-socials svg, .footer-socials svg { width: 19px; height: 19px; }

/* ---------- Títulos de seção ---------- */
.section { padding: 50px 0; }
.section.alt { background: var(--bg-alt); }
.section-title {
  text-align: center; margin-bottom: 30px;
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 700;
  text-transform: uppercase; color: var(--title);
}

/* ---------- Slider IMÓVEIS EXCLUSIVOS ---------- */
.slider { position: relative; }
.slides { overflow: hidden; }
.slides-track { display: flex; transition: transform .5s ease; }
.slide { min-width: 100%; padding: 4px; }
.slide-card {
  display: grid; grid-template-columns: 1.35fr 1fr;
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; min-height: 430px;
}
.media-ph {
  position: relative; width: 100%; height: 100%; min-height: 220px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 90%, #fff) 0%, var(--primary) 60%, color-mix(in srgb, var(--primary) 80%, #000) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.media-ph span {
  color: rgba(255,255,255,.35); font-size: 12px;
  letter-spacing: .25em; text-transform: uppercase;
}
.media-ph strong {
  color: rgba(255,255,255,.5); font-size: 54px; font-weight: 400;
  font-family: Georgia, serif;
}
.slide-media { position: relative; }
.slide-media img, .card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.slide-body { padding: 32px 34px; display: flex; flex-direction: column; gap: 10px; }
.slide-body h2 { font-size: 26px; font-weight: 700; color: var(--title); }
.slide-body .place { color: var(--text-soft); font-size: 14px; }
.slide-body .price { font-size: 22px; font-weight: 700; color: var(--title); }
.slide-body .desc {
  color: var(--text); font-size: 14px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feature { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 14px; }
.feature svg { width: 18px; height: 18px; color: var(--title); flex: none; }
.slide-footer {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.agent-badge {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 19px;
}
.slide-footer .agent { display: flex; flex-direction: column; font-size: 12px; color: var(--text-soft); }
.slide-footer .agent strong { color: var(--text); font-size: 13.5px; }
.btn-detalhes {
  margin-left: auto; background: none; border: none;
  color: var(--title); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: 4px;
}
.btn-detalhes:hover { text-decoration: underline; }
.btn-detalhes svg { width: 18px; height: 18px; }

.slider .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--bg-card); color: var(--text); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.slider .arrow:hover { color: var(--title); }
.slider .arrow svg { width: 24px; height: 24px; }
.slider .arrow.prev { left: -16px; }
.slider .arrow.next { right: -16px; }
.slider .dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.slider .dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: var(--border); padding: 0; transition: background .2s;
}
.slider .dots button.active { background: var(--primary); }
@media (max-width: 820px) {
  .slide-card { grid-template-columns: 1fr; }
  .slide-media { min-height: 230px; }
  .slider .arrow.prev { left: 6px; }
  .slider .arrow.next { right: 6px; }
}

/* ---------- Grid de cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(11,32,55,.18); }
.card-media { position: relative; height: 205px; }
.card .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--tag-bg, var(--primary)); color: var(--tag-text, #fff);
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
}
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 17px; font-weight: 700; color: var(--title); }
.card .place { color: var(--text-soft); font-size: 13px; }
.card .price { font-weight: 700; color: var(--title); font-size: 18px; }
.card .features { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2px; }
.card .features .feature { font-size: 12.5px; gap: 6px; }
.card .features svg { width: 15px; height: 15px; }
.card .btn { margin-top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg, var(--primary)); color: var(--btn-text, #fff);
  border: none; border-radius: var(--radius);
  padding: 13px 26px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  transition: filter .2s;
}
.btn:hover { filter: brightness(140%); }
.btn.brown { background: var(--btn2-bg, var(--panel-solid)); }
.btn.block { width: 100%; }

.center { text-align: center; }
.mt-30 { margin-top: 30px; }

/* ---------- Página interna ---------- */
.page-hero {
  background: var(--pagehero-bg, var(--primary)); color: #fff; padding: 44px 0;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; }
.page-hero p { margin-top: 6px; color: rgba(255,255,255,.75); font-size: 15px; }

.prose { max-width: 780px; margin: 0 auto; line-height: 1.85; color: var(--text); }
.prose p + p { margin-top: 16px; }
.prose h2 { color: var(--title); margin: 30px 0 10px; font-size: 24px; }

/* ---------- Formulários ---------- */
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 16px; }
.form label {
  font-size: 12px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text);
}
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 12px; margin-top: 6px;
  border: 1px solid var(--border); border-radius: var(--radius); outline: none;
  background: var(--bg-input);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--title); }
.form textarea { min-height: 130px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.alert-ok {
  background: #e6f7ee; color: #1e9e57; border: 1px solid #b8e6cd;
  padding: 14px 16px; border-radius: var(--radius); font-size: 14px;
}
.alert-err {
  background: #fdecec; color: #d9433a; border: 1px solid #f3c0c0;
  padding: 14px 16px; border-radius: var(--radius); font-size: 14px;
}

/* ---------- Detalhe do imóvel ---------- */
.detail-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; margin-top: 36px; }
@media (max-width: 860px) { .detail-top { grid-template-columns: 1fr; } }
.gallery-main {
  position: relative; height: 430px; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs button {
  position: relative; width: 92px; height: 64px; border: 2px solid transparent;
  border-radius: var(--radius); overflow: hidden; padding: 0; background: var(--border);
}
.gallery-thumbs button.active { border-color: var(--title); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1, .detail-info .detail-title { color: var(--title); font-size: clamp(24px, 3vw, 32px); margin: 0; }
.detail-info .place { color: var(--text-soft); margin-top: 4px; }
.detail-info .price { font-size: 28px; font-weight: 700; color: var(--title); margin: 14px 0; }
.detail-info .features { display: grid; gap: 10px; margin: 14px 0 22px; }
.detail-agent {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  display: flex; align-items: center; gap: 14px; margin-top: 8px;
}
.detail-section { margin-top: 44px; }
.detail-section h2 {
  color: var(--title); font-size: 22px; font-weight: 700; margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--border);
}
.detail-section .desc-text { line-height: 1.85; white-space: pre-line; }
.spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.spec-list li { list-style: none; display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.spec-list svg { width: 16px; height: 16px; color: var(--title); flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg, var(--primary)); color: var(--footer-text, rgba(255,255,255,.82)); margin-top: 60px; }
.footer .cols {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
  padding: 54px 0 40px;
}
@media (max-width: 800px) { .footer .cols { grid-template-columns: 1fr; } }
.footer .brand img { height: 110px; width: auto; }
.footer .brand p { margin-top: 16px; font-size: 13px; line-height: 1.8; }
.footer h4 {
  color: var(--footer-title, #fff); font-size: 13px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer ul a:hover { color: var(--footer-title, #fff); text-decoration: underline; }
.footer .contact-line { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; margin-bottom: 10px; }
.footer .contact-line svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { background: var(--footer-social, rgba(255,255,255,.1)); }
.footer .bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0; font-size: 12.5px; text-align: center; color: var(--footer-text-soft, rgba(255,255,255,.55));
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa-bg, #25d366); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Resultados ---------- */
.results-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 26px; flex-wrap: wrap; gap: 12px;
}
.results-bar strong { color: var(--title); }
.empty-msg {
  text-align: center; color: var(--text-soft); padding: 60px 0; font-size: 16px;
}

/* ---------- Botão claro/escuro ---------- */
.btn-tema .ico-sol { display: none; }
.btn-tema .ico-lua { display: flex; }
:root[data-theme="dark"] .btn-tema .ico-sol { display: flex; }
:root[data-theme="dark"] .btn-tema .ico-lua { display: none; }
.site-header .acoes { display: flex; gap: 10px; }
.btn-tema svg { width: 26px; height: 26px; }

/* ---------- Rodapé: corretores responsáveis (CRECI) ---------- */
.footer-creci {
  list-style: none; margin-top: 14px;
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  font-size: 13px; line-height: 1.5;
}
.footer-creci li { display: flex; flex-direction: column; }
.footer-creci strong { color: var(--footer-title, #fff); font-weight: 700; }
.footer-creci span { color: var(--footer-text-soft, rgba(255,255,255,.6)); }
@media (max-width: 800px) { .footer-creci { gap: 12px 26px; } }

/* Rodapé: telefone de cada corretor, clicável, abre o WhatsApp.
   Alvo de toque de 44px no celular — o link tem de ser fácil de acertar com o dedo. */
.footer .contact-wa {
  align-items: center; gap: 10px;
  min-height: 44px; margin-bottom: 4px;
  transition: color .2s;
}
.footer .contact-wa svg { margin-top: 0; color: var(--wa-bg, #25d366); }
.footer .contact-wa span { display: flex; flex-direction: column; line-height: 1.35; }
.footer .contact-wa strong { color: var(--footer-title, #fff); font-weight: 700; font-size: 13px; }
.footer .contact-wa:hover { color: var(--footer-title, #fff); }
.footer .contact-wa:hover strong { text-decoration: underline; }

/* ---------- Folha "Falar com um corretor" (dois WhatsApp) ----------
   Sobe de baixo no celular (o dedo alcança) e vira caixa centralizada no desktop.
   Cores só por variável, então acompanha o tema claro e o escuro sem regra extra. */
body.sem-rolagem { overflow: hidden; }
.wa-sheet { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; }
.wa-sheet[hidden] { display: none; }
.wa-sheet-fundo { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.wa-sheet-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px;
  background: var(--bg-card); color: var(--text);
  border: 1px solid var(--border); border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 34px rgba(0, 0, 0, .3);
  animation: waSobe .22s ease-out;
}
@keyframes waSobe { from { transform: translateY(16px); opacity: .5 } to { transform: none; opacity: 1 } }
.wa-sheet-card h3 { color: var(--title); font-size: 17px; padding-right: 30px; }
.wa-sheet-sub { color: var(--text-soft); font-size: 13px; margin: 6px 0 16px; }
.wa-sheet-x {
  position: absolute; top: 10px; right: 12px;
  width: 40px; height: 40px; border: none; background: none;
  color: var(--text-soft); font-size: 26px; line-height: 1;
}
.wa-sheet-item {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 14px; margin-top: 10px; min-height: 62px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); transition: border-color .2s, transform .12s;
}
.wa-sheet-item:hover, .wa-sheet-item:focus-visible { border-color: var(--whatsapp); transform: translateY(-1px); }
.wa-sheet-ico {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--wa-bg, #25d366); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.wa-sheet-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.wa-sheet-txt strong { color: var(--title); font-size: 14.5px; }
.wa-sheet-txt small { color: var(--text-soft); font-size: 12.5px; }
.wa-sheet-seta { color: var(--text-soft); flex: none; }
@media (min-width: 700px) {
  .wa-sheet { align-items: center; }
  .wa-sheet-card { border-radius: var(--radius); border-bottom: 1px solid var(--border); padding-bottom: 22px; }
}
/* O flutuante virou <button> (abre a escolha) — sem cara de botão de formulário. */
button.wa-float { border: none; }

/* O bloco de WhatsApp por corretor também aparece no menu lateral do celular — sem isto o nome e o
   número saem grudados na mesma linha (as regras acima valem só dentro do rodapé). */
.drawer .contact-wa { align-items: center; min-height: 44px; }
.drawer .contact-wa span { display: flex; flex-direction: column; line-height: 1.35; }
.drawer .contact-wa strong { font-size: 14px; font-weight: 700; }
.drawer .contact-wa svg { color: var(--wa-bg, #25d366); }

/* ---------- Página do imóvel: os DOIS corretores abaixo do "Tenho interesse" ----------
   O bloco era um selo só (a regra .detail-agent lá em cima). Agora é um cartão clicável por
   corretor: nome, CRECI e o WhatsApp dele, com a mensagem do imóvel já escrita. */
a.detail-agent { transition: border-color .2s, transform .12s; }
a.detail-agent:hover, a.detail-agent:focus-visible {
  border-color: var(--whatsapp); transform: translateY(-1px);
}
.detail-agent .agent { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.detail-agent .agent strong { color: var(--title); font-size: 14.5px; }
.detail-agent .agent small {
  display: flex; align-items: center; gap: 5px;
  color: var(--text-soft); font-size: 12.5px;
}
.detail-agent .agent small svg { width: 13px; height: 13px; flex: none; color: var(--wa-bg, #25d366); }
@media (max-width: 480px) { .detail-agent { padding: 15px; gap: 11px; } }

/* Assinatura da Publish Digital no fim do rodapé. Bloco próprio no celular (em vez de espremer
   tudo numa linha só) e continuando a mesma linha no desktop. */
.footer .assinatura { display: block; margin-top: 8px; }
.footer .assinatura a { color: var(--footer-title, #fff); font-weight: 700; }
.footer .assinatura a:hover { text-decoration: underline; }
@media (min-width: 700px) {
  .footer .assinatura { display: inline; margin-top: 0; }
  .footer .assinatura::before { content: "\00a0\00b7\00a0"; }
}

/* ---------- Card de imóvel da home: os DOIS corretores (sociedade) ----------
   Cabia um selo de 46px; agora são dois. Os círculos encolhem e se sobrepõem um pouco (fica
   compacto e lê como dupla), e cada corretor leva nome + CRECI + telefone. Aqui os números são
   TEXTO, não link: o card inteiro já é um <a> para o imóvel e link dentro de link é HTML inválido —
   clicável eles seguem no rodapé, no menu do celular e na página do imóvel. */
.slide-footer { flex-wrap: wrap; }
.agent-stack { display: flex; flex: none; }
.slide-footer .agent-badge { width: 34px; height: 34px; font-size: 14px; border: 2px solid var(--bg-card); }
.agent-stack .agent-badge + .agent-badge { margin-left: -10px; }
.slide-footer .agent { gap: 7px; flex: 1; min-width: 0; }
.slide-footer .agent-um { display: flex; flex-direction: column; line-height: 1.3; }
.slide-footer .agent-um strong { color: var(--text); font-size: 13px; }
.slide-footer .agent-um small { color: var(--text-soft); font-size: 11.5px; }
@media (max-width: 420px) {
  /* Tela estreita: o "DETALHES" desce para a linha de baixo em vez de espremer os nomes. */
  .slide-footer .btn-detalhes { margin-left: 0; width: 100%; justify-content: flex-end; padding-top: 4px; }
}
