/* Card padrão de imóvel | Arremate Imóveis Online
   CSS do card que a busca (resultados.html) monta, reunido num arquivo para as páginas que não carregam styles.css/ajustes.css (Radar).
   Origem, nesta ordem: (1) bloco "GRID + CARDS" de resultados.html, (2) regras do tema escuro desse card, (3) regras dos cards em assets/ajustes.css. Gerado por filtro de seletores em 06/10/2026; se o visual do card mudar na busca, regenerar.
   A etiqueta de desconto tem CSS próprio: assets/etiqueta-desconto.css. */

/* 1) busca */
.imovel-card{background:var(--card);border:1px solid var(--border);border-radius:18px;overflow:hidden;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .35s;cursor:pointer;display:flex;flex-direction:column;min-height:470px}
.imovel-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-6px);border-color:rgba(249,115,22,.35)}
.imovel-thumb{height:172px;position:relative;overflow:hidden;background:linear-gradient(135deg,var(--navy),#0a5bb0);flex-shrink:0}
.imovel-thumb-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:1;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.imovel-card:hover .imovel-thumb-img{transform:scale(1.08)}
.thumb-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:0}
.thumb-fallback svg{width:44px;height:44px;color:rgba(255,255,255,.55)}

.card-actions{display:flex;align-items:center;gap:6px;position:absolute;bottom:9px;right:9px;z-index:3}
.btn-card-action{width:34px;height:34px;border-radius:9px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.94);box-shadow:0 3px 10px rgba(0,0,0,.22);transition:transform .15s}
.btn-card-action:hover{transform:scale(1.1)}
.btn-card-action svg{width:16px;height:16px;display:block}
.btn-fav{color:#e11d48}
.btn-fav.ativo{background:#fee2e2!important}
.btn-share{color:var(--navy)}

.imovel-body{padding:16px 18px 4px;flex:1;display:flex;flex-direction:column;gap:2px}
.imovel-body:last-child{padding-bottom:18px}
.imovel-local{font-family:var(--display);font-size:15px;font-weight:800;color:var(--navy-deep)}
.imovel-titulo{font-size:12.5px;font-weight:700;color:var(--muted)}
.imovel-endereco{font-size:12.5px;color:var(--muted);margin-top:2px;min-height:2.3em;line-height:1.2em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.imovel-precos{background:linear-gradient(135deg,var(--navy-deep),var(--navy));border-radius:12px;padding:10px 13px;margin-top:9px;display:flex;flex-direction:column;gap:2px}
.precos-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.preco-av{color:#9db6d8;text-decoration:line-through;font-size:12.5px;line-height:1.25;white-space:nowrap;display:block;overflow:hidden}
.preco-venda-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap}
.preco-min{color:#fff;font-family:var(--display);font-weight:900;font-size:19px;letter-spacing:-.02em;white-space:nowrap}
/* com etiqueta de desconto: valor/avaliação à esquerda e etiqueta à direita, SEMPRE na mesma linha (caixa uniforme na grade).
   O valor reduz a fonte (assets/etiqueta-desconto.js, mínimo 13px) antes de encostar na etiqueta; folga >= 8px. */
.imovel-precos.tem-etq{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:10px;padding:10px 11px 10px 13px;min-height:69px}
.imovel-precos.tem-etq>.precos-txt{flex:1 1 0;min-width:0}
.imovel-precos.tem-etq>.etq-desc{margin-left:auto}

.imovel-data-row{display:flex;align-items:center;gap:6px;padding-top:8px;font-size:12px;font-weight:700;color:var(--navy)}
.imovel-data-row .badge-2a{font-size:10px;color:var(--muted);font-weight:700;background:var(--tint);border-radius:5px;padding:1px 6px}

.imovel-chips{margin-top:10px;display:flex;flex-direction:column;gap:8px;font-size:12.5px}
.chips-condicoes{display:flex;flex-wrap:wrap;gap:6px}

.imovel-creci{margin-top:auto;padding-top:10px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.imovel-creci-text{cursor:pointer;font-weight:600}
.imovel-creci-text b{color:var(--navy-deep)}
.imovel-creci-copy{width:17px;height:17px;border-radius:4px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:11px;color:var(--muted);cursor:pointer;background:var(--tint)}
.imovel-creci-text.copied,.imovel-creci-copy.copied{color:var(--verde);border-color:var(--verde)}
.badge-nacional{display:inline-flex;align-items:center;gap:5px;background:var(--tint2);color:var(--navy-deep);border-radius:999px;padding:4px 11px;font-size:11.5px;font-weight:700}

.imovel-footer{padding:11px 18px 15px;border-top:1px solid var(--tint);margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}

.imovel-link{background:var(--navy);color:#fff;padding:9px 18px;border-radius:999px;font-family:var(--display);font-weight:700;font-size:13px;text-decoration:none;transition:background .2s}
.imovel-link:hover{background:var(--navy-deep)}

/* 2) tema escuro (busca) */

[data-theme="dark"] .imovel-precos{background:linear-gradient(135deg,#001428,#0a3466)}
[data-theme="dark"] .imovel-local,[data-theme="dark"] .imovel-titulo{color:var(--texto)}
[data-theme="dark"] .imovel-data-row{color:var(--texto)}
[data-theme="dark"] .imovel-footer{background:var(--tint);border-color:var(--border)}

/* 4) ajustes.css */

.btn-card-action.btn-fav,.btn-card-action{background: rgba(255, 255, 255, .95);
  color: #e11d48;}
.btn-card-action:hover{background: #fff; transform: scale(1.1);}

.btn-fav #favN{display: inline-block;
  min-width: 17px;
  padding: 1px 5px;
  margin-left: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 11px;
  line-height: 15px;
  text-align: center;}
.btn-fav.ativo,.btn-fav.on,.btn-card-action.btn-fav.ativo{color: #f0432b !important;
  border-color: rgba(240, 67, 43, .38) !important;}
.btn-fav.ativo,.btn-fav.on{background: rgba(240, 67, 43, .1) !important;}
.btn-fav.ativo:hover,.btn-fav.on:hover{background: rgba(240, 67, 43, .18) !important;
  border-color: rgba(240, 67, 43, .55) !important;}
@keyframes favPulso{
  0%   { scale: 1; }
  45%  { scale: 1.22; }
  100% { scale: 1; }
}
.btn-fav.ativo .ic-svg{animation: favPulso .32s ease-out;}
@media (prefers-reduced-motion: reduce){
.btn-fav.ativo .ic-svg{animation: none;}
}
.imovel-linha-topo{display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;}
.imovel-linha-topo .imovel-local{margin: 0;}
.imovel-linha-topo .card-actions{position: static !important;   /* sai do absolute sobre a imagem */
  flex-shrink: 0;}
.imovel-linha-topo .btn-card-action{width: 30px;
  height: 30px;
  background: transparent !important;
  box-shadow: none !important;
  border: 1px solid var(--border) !important;
  color: var(--muted);}
.imovel-linha-topo .btn-card-action:hover{background: var(--tint) !important;
  border-color: var(--navy) !important;
  color: var(--navy);}
.imovel-linha-topo .btn-card-action.btn-fav.ativo,.imovel-linha-topo .btn-card-action.btn-fav.on{color: #f0432b !important;
  border-color: rgba(240,67,43,.4) !important;
  background: rgba(240,67,43,.08) !important;}
html[data-theme="dark"] .imovel-linha-topo .btn-card-action{border-color: var(--border) !important;
  color: var(--muted);}
html[data-theme="dark"] .imovel-linha-topo .btn-card-action:hover{background: var(--tint2) !important;
  color: #eaf2fc;}

.imovel-card .btn-laranja{color: #3b1f00 !important;}
.btn-fav .bi-fav,.btn-fav{color: var(--laranja, #F97316) !important;}
.btn-fav.ativo,.btn-fav[aria-pressed="true"]{background: rgba(249,115,22,.16) !important;
  color: var(--laranja, #F97316) !important;}
.btn-fav.ativo .bi-fav,.btn-fav[aria-pressed="true"] .bi-fav{fill: var(--laranja, #F97316) !important;}
.card-actions .btn-card-action.btn-fav.ativo,.card-actions .btn-card-action.btn-fav.on,.imovel-linha-topo .btn-card-action.btn-fav.ativo,.imovel-linha-topo .btn-card-action.btn-fav.on,.btn-card-action.btn-fav.ativo,.btn-card-action.btn-fav.on,.btn-card-action.btn-fav[aria-pressed="true"]{background: transparent !important;
  box-shadow: none !important;
  color: var(--laranja, #F97316) !important;}
.card-actions .btn-card-action.btn-fav.ativo,.card-actions .btn-card-action.btn-fav.on,.imovel-linha-topo .btn-card-action.btn-fav.ativo,.imovel-linha-topo .btn-card-action.btn-fav.on{border-color: var(--border, #dce4ef) !important;}
[data-theme="dark"] .card-actions .btn-card-action.btn-fav.ativo,[data-theme="dark"] .card-actions .btn-card-action.btn-fav.on,[data-theme="dark"] .imovel-linha-topo .btn-card-action.btn-fav.ativo,[data-theme="dark"] .imovel-linha-topo .btn-card-action.btn-fav.on{border-color: #28446e !important;}
.btn-card-action.btn-fav svg{stroke: var(--laranja, #F97316) !important;}
.btn-card-action.btn-fav.ativo svg,.btn-card-action.btn-fav.on svg{fill: var(--laranja, #F97316) !important;}

[data-theme="dark"] .badge-nacional,html[data-theme="dark"] .badge-nacional{background: rgba(125, 170, 230, .16) !important;
  color: #cfe2fb !important;
  border: 1px solid rgba(125, 170, 230, .4) !important;}
.card .imovel-link,a.imovel-link{background: var(--laranja, #F97316) !important;
  color: #fff !important;}
.card .imovel-link:hover,a.imovel-link:hover{background: var(--laranja-deep, #c85f0e) !important;}
.imovel-creci .creci-selo{display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px 6px 8px;
  border: 1px solid rgba(249, 115, 22, .34);
  background: rgba(249, 115, 22, .08);
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s, border-color .18s;
  max-width: 100%;}
.imovel-creci .creci-selo:hover{background: rgba(249, 115, 22, .14);
  border-color: rgba(249, 115, 22, .5);}
.creci-selo-ic{width: 15px; height: 15px; flex: 0 0 auto;
  fill: var(--laranja, #F97316);}
.creci-selo-txt{display: inline-flex; align-items: baseline; gap: 6px;
  min-width: 0; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;}
.creci-selo-txt b{font-family: var(--display, 'Montserrat', sans-serif);
  font-weight: 800; font-size: 11.5px;
  color: var(--navy-deep, #001F44);
  letter-spacing: .01em;}
.creci-selo-num{font-size: 11px; font-weight: 700;
  color: var(--laranja-deep, #c85f0e);}
[data-theme="dark"] .creci-selo-txt b{color: #eaf2ff;}
[data-theme="dark"] .creci-selo-num{color: #ffb066;}
[data-theme="dark"] .imovel-creci .creci-selo{background: rgba(249, 115, 22, .13);
  border-color: rgba(249, 115, 22, .42);}
@media (max-width: 420px){
.creci-selo-txt b{display: none;}
}
.imovel-creci .creci-selo{/* #b4520c e não o F97316 puro: branco sobre o laranja da marca dá
     2.8:1, abaixo do mínimo. Este tom mantém a identidade e chega a
     5.06:1. */
  background: #b4520c !important;
  /* borda mais definida (02/08/2026): 1px se perdia sobre o card
     escuro; 1.5px num tom acima dá acabamento sem pesar */
  border: 1.5px solid #e08a4a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  border-radius: 8px;
  padding: 5px 10px;}
.imovel-creci .creci-selo,.imovel-creci .creci-selo b,.imovel-creci .creci-selo .creci-selo-txt,.imovel-creci .creci-selo .creci-selo-num{color: #fff !important;}
.imovel-creci .creci-selo .creci-selo-ic{fill: #fff;}
.imovel-creci .creci-selo .creci-selo-num{opacity: .92;
  font-weight: 600;}
.imovel-creci .creci-selo:hover{background: #8f400a !important;}
[data-theme="dark"] .imovel-creci .creci-selo{background: #b4520c !important;
  border-color: #8f400a !important;}
.imovel-creci .imovel-creci-copy{color: var(--laranja, #F97316);}
[data-theme="dark"] .imovel-creci .imovel-creci-copy{color: #ffb066;}
@media (max-width: 640px){
.badge-nacional,.imovel-creci-text{font-size: 12px !important;
    line-height: 1.4;}

}

/* toast do CRECI */
.creci-toast{position:fixed;right:16px;bottom:16px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-hover);padding:11px 16px;border-radius:12px;font-size:13px;color:var(--texto);display:flex;align-items:flex-start;gap:8px;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .18s ease,transform .18s ease;z-index:9999}
.creci-toast.visible{opacity:1;transform:translateY(0)}
.creci-toast-icon{width:18px;height:18px;border-radius:999px;background:var(--verde-bg);color:var(--verde);display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0}


/* =====================================================================================================
   PÍLULAS | ÚNICO lugar das cores de pílulas do site (status, tipo e modalidade). Nenhuma outra folha define estas cores.
   Marcação: .pill + .pill-navy|laranja (status); .tag-tipo/.tag-tipo-det/.mc-tipo + .t-* (tipo);
   .tag-desc/.tag-mod-det/.mc-mod/.pill-mod + .m-* (modalidade); .pl-fgts/.pl-financ (ícone da forma de pagamento); .pl-disputa (raio do Em disputa).
   As classes t-xxx e m-xxx saem do mapa único (ArrPilulas em card-imovel.js; classeTipoCard/classeModCard em inc-card.php).
   Regras: laranja da marca fora (é cor de ação própria); contraste >= 4,5:1; tema escuro = estilo do dia.
   (a variante "forte" saiu em 09/10/2026: fica só o estilo suave, com fundo reforçado no claro)
   31/10/2026, padrão do César igual no site e no vídeo (memória cores_etiquetas_modalidade_tipo):
   modalidade = cor própria + ícone + nome (Leilão SFI saiu do navy da marca para grafite: para daltônico o navy
   virava a Licitação Aberta); tipo = UMA cor só, navy profundo, + ícone; FGTS e Financiamento = azul claro
   (forma de pagamento é fato); Em disputa = laranja claro de atenção, nunca vermelho.
   Ícones: desenho do sprite do site (grade 24, traço arredondado, sem preenchimento; chave, documento e casa
   são os mesmos símbolos ic-key/ic-document/ic-house), traço 2,2 porque a etiqueta tem 8,5 a 12px. Vivem aqui
   como máscara para valer em toda página (cada página tem o próprio sprite, e as páginas PHP embutem este arquivo).
   ===================================================================================================== */
:root{
  /* status, estilo suave (padrão no tema claro e SEMPRE no tema escuro: fundo claro, texto escuro da mesma cor) */
  --pl-verde-bg:#B4E6CB; --pl-verde-fg:#0B5A39; --pl-verde-bd:#5FB98A;
  --pl-navy-bg:#B9D2F0;  --pl-navy-fg:#0A3A78;  --pl-navy-bd:#6F9BD6;
  --pl-lar-bg:#F8D5A6;   --pl-lar-fg:#7A3600;   --pl-lar-bd:#D9A05B;
  /* tipo (texto branco): uma cor só para todos os tipos, o ícone diz qual é */
  --tp-imovel:#001F44;
  /* modalidade (texto branco). "Compra Direta" é o rótulo da Venda Direta Online */
  --md-sfi:#374151; --md-licitacao:#6B3FA0; --md-online:#0E7490; --md-direta:#15803D; --md-outra:#001F44;
  /* ícones das etiquetas (máscara: a cor vem do texto) */
  --ic-chave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='3.8'/%3E%3Cpath d='M9.8 12H20.5M14.5 12v4M19.5 12v4'/%3E%3C/svg%3E");
  --ic-raio:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5 4.5 13.5H11l-1 8 9-11.5h-6.5z'/%3E%3C/svg%3E");
  --ic-relogio:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E");
  --ic-documento:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3v4h4M8 13h8M8 17h5'/%3E%3C/svg%3E");
  --ic-malhete:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='5.6' width='10' height='4.8' rx='1.2' transform='rotate(45 14 8)'/%3E%3Cpath d='M12.3 9.7 4.5 17.5M13 20.5h8'/%3E%3C/svg%3E");
  --ic-predio:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v17M3.5 21h17M9.5 7h1M13.5 7h1M9.5 11h1M13.5 11h1M10.5 21v-5h3v5'/%3E%3C/svg%3E");
  --ic-casa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.5 12 4l8 7.5'/%3E%3Cpath d='M6 10v9.5a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V10'/%3E%3Cpath d='M10 20.5v-5h4v5'/%3E%3C/svg%3E");
  --ic-terreno:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14s-4.5-3.9-4.5-7.3a4.5 4.5 0 0 1 9 0C16.5 10.1 12 14 12 14Z'/%3E%3Ccircle cx='12' cy='6.8' r='1.4'/%3E%3Cpath d='M3 20.5 5.6 16.5h12.8l2.6 4Z'/%3E%3C/svg%3E");
  --ic-comercial:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V9a1 1 0 0 1 1-1h6M11 21V4a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v17M2.5 21h19M14.5 7h2M14.5 11h2M14.5 15h2M6.5 12h1.5M6.5 16h1.5'/%3E%3C/svg%3E");
  --ic-carteira:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5h14.5A1.5 1.5 0 0 1 20 9v9.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 18.5Z'/%3E%3Cpath d='M4 7.5 15 4v3.5M15.5 14h1.5'/%3E%3C/svg%3E");
  --ic-banco:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10 12 4l9 6M4.5 10h15M6.5 12.5v5M12 12.5v5M17.5 12.5v5M3.5 20h17'/%3E%3C/svg%3E");
}
/* tema escuro: estilo do dia original (fundo mais claro e suave sobre o card escuro) */
[data-theme="dark"]{
  --pl-verde-bg:#DDF5E6; --pl-verde-fg:#0B5A39; --pl-verde-bd:#7CCB9F;
  --pl-navy-bg:#DCE8F8;  --pl-navy-fg:#0A3A78;  --pl-navy-bd:#8FB3E3;
  --pl-lar-bg:#FDEBD3;   --pl-lar-fg:#7A3600;   --pl-lar-bd:#EDB680;
}
.pill{font-size:11px;font-weight:800;padding:5px 10px;border-radius:999px;border:1px solid transparent;display:inline-block;line-height:1.3}
.cond-row .pill{font-size:12px;padding:6px 13px}
.pill-navy{background:var(--pl-navy-bg);color:var(--pl-navy-fg);border-color:var(--pl-navy-bd)}
.pill-laranja{background:var(--pl-lar-bg);color:var(--pl-lar-fg);border-color:var(--pl-lar-bd)}
.status-ok,.status-atenc{border-radius:999px;padding:5px 11px;font-weight:800;font-size:11px;border:1px solid transparent}
.status-ok{background:var(--pl-verde-bg);color:var(--pl-verde-fg);border-color:var(--pl-verde-bd)}
.status-atenc{background:var(--pl-lar-bg);color:var(--pl-lar-fg);border-color:var(--pl-lar-bd)}
/* tipo e modalidade: sobre a foto (borda clara + sombra para ler em foto clara e escura) */
.t-apartamento,.t-casa,.t-terreno,.t-outro{--pill-bg:var(--tp-imovel)}
.t-apartamento{--pill-ic:var(--ic-predio)} .t-casa{--pill-ic:var(--ic-casa)} .t-terreno{--pill-ic:var(--ic-terreno)} .t-outro{--pill-ic:var(--ic-comercial)}
.m-sfi{--pill-bg:var(--md-sfi);--pill-ic:var(--ic-malhete)} .m-licitacao{--pill-bg:var(--md-licitacao);--pill-ic:var(--ic-documento)} .m-online{--pill-bg:var(--md-online);--pill-ic:var(--ic-relogio)} .m-direta{--pill-bg:var(--md-direta);--pill-ic:var(--ic-chave)} .m-outra{--pill-bg:var(--md-outra)}
.pl-fgts{--pill-ic:var(--ic-carteira)} .pl-financ{--pill-ic:var(--ic-banco)} .pl-disputa{--pill-ic:var(--ic-raio)}
.tag-tipo,.tag-desc,.tag-tipo-det,.tag-mod-det,.mc-tipo,.mc-mod,.pill-mod{background:var(--pill-bg,#001F44);color:#fff;border:1px solid rgba(255,255,255,.45);text-shadow:0 1px 1px rgba(0,0,0,.25)}
.tag-tipo,.tag-desc,.tag-tipo-det,.tag-mod-det{box-shadow:0 2px 8px rgba(0,0,0,.35);white-space:nowrap}
/* ícone antes do nome: só nas classes que têm ícone (m-outra e etiqueta sem classe de tipo ficam só com o texto) */
.t-apartamento::before,.t-casa::before,.t-terreno::before,.t-outro::before,
.m-sfi::before,.m-licitacao::before,.m-online::before,.m-direta::before,
.pl-fgts::before,.pl-financ::before,.pl-disputa::before{content:"";display:inline-block;width:1.05em;height:1.05em;margin-right:.32em;vertical-align:-.17em;background-color:currentColor;-webkit-mask:var(--pill-ic) center/contain no-repeat;mask:var(--pill-ic) center/contain no-repeat}
.tag-tipo{position:absolute;top:11px;left:11px;font-size:11.5px;font-weight:800;padding:5px 12px;border-radius:999px;z-index:3;font-family:var(--display)}
.tag-desc{position:absolute;top:11px;right:11px;font-size:11.5px;font-weight:800;padding:5px 12px;border-radius:999px;z-index:3;font-family:var(--display)}
@media (max-width:640px){.tag-tipo,.tag-desc,.pill,.chips-condicoes .pill{font-size:12px}}
/* card estreito (grade de 3 a 4 colunas no desktop, ~285px): com o ícone, "Apartamento" + "Licitação Aberta" encostavam.
   Etiqueta mais justa só aqui; o card largo (celular, 1 coluna) fica como está. */
@container (max-width:340px){
  .tag-tipo,.tag-desc{padding-left:8px;padding-right:8px}
  .tag-tipo{left:8px} .tag-desc{right:8px}
  .tag-tipo::before,.tag-desc::before{margin-right:.24em}
}
@container (max-width:290px){
  .tag-tipo,.tag-desc{padding-left:6px;padding-right:6px}
  .tag-tipo{left:6px} .tag-desc{right:6px}
}

/* rodapé do card: status e "Ver imóvel" sempre numa linha só (card de 285px incluído); botão com alvo de toque >= 44px */
.imovel-card{container-type:inline-size}
.imovel-footer{flex-wrap:nowrap}
.status-ok,.status-atenc{white-space:nowrap}
.imovel-link{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding-top:0;padding-bottom:0}
@container (max-width:300px){
  .imovel-footer{padding-left:14px;padding-right:14px;gap:6px}
  .status-ok,.status-atenc{padding:5px 8px;font-size:10.5px}
  .imovel-link{padding-left:14px;padding-right:14px;font-size:12.5px}
}
