/* Proposta de redesign dos cards "Categorias mais pesquisadas" da home */
.coluna-imp.cards {
  border-radius: 16px; border: 1px solid #e6e9f0; box-shadow: 0 6px 24px rgba(50,70,115,.08);
  padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; background: #fff;
}
.coluna-imp .img-fundo-especial { order: -1; aspect-ratio: 16 / 7; height: auto !important; overflow: hidden; background: #eef1f7; padding: 0 !important; }
.coluna-imp .img-fundo-especial img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coluna-imp > .w100.linha:first-of-type { padding: 18px 20px 4px !important; justify-content: flex-start; }
.coluna-imp > .w100.linha:first-of-type a { font-size: 20px !important; line-height: 1.25; text-align: left !important; color: #1f2d4d !important; letter-spacing: -.2px; }
.coluna-imp > .w100.linha:first-of-type a br { display: none; }
.coluna-imp > .w100.linha.mt20 { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 4px; margin-top: 0 !important; align-items: flex-start; }
.coluna-imp > .w100.linha.mt20 > .coluna { display: contents !important; }
.coluna-imp > .w100.linha.mt20 a {
  width: auto !important; height: auto !important; min-height: 44px; display: inline-flex !important; align-items: center;
  padding: 0 14px !important; border: 1px solid #d7ddea; border-radius: 999px; background: #f6f8fc; color: #324673 !important;
  transition: background .15s, border-color .15s;
}
.coluna-imp > .w100.linha.mt20 a:hover, .coluna-imp > .w100.linha.mt20 a:focus-visible { background: #324673; border-color: #324673; }
.coluna-imp > .w100.linha.mt20 a:hover span, .coluna-imp > .w100.linha.mt20 a:focus-visible span { color: #fff !important; }
.coluna-imp > .w100.linha.mt20 a span { font-size: 14px !important; font-weight: 600; color: inherit; white-space: nowrap; }
.coluna-imp .ver-todas-esp {
  display: flex !important; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px;
  margin: 16px 20px 20px; border-radius: 10px; background: #f26e35; color: #fff !important; text-decoration: none; font-weight: 700;
}
.coluna-imp .ver-todas-esp::after { content: "→"; }
.coluna-imp > .df-ac-jc.w100:last-child { padding: 0 20px; box-sizing: border-box; }
.coluna-imp > .df-ac-jc.w100:last-child .ver-todas-esp { margin: 16px 0 20px; }
@media (max-width: 991px) {
  .coluna-imp.cards { width: calc(100% - 24px) !important; margin: 0 12px 16px !important; }
  .coluna-imp > .w100.linha:first-of-type a { font-size: 18px !important; }
}
.coluna-imp > .w100.linha.mt20 { justify-content: flex-start; }
.coluna-imp > .w100.linha.mt20 a span { padding: 0 !important; margin: 0 !important; background: none !important; }
.coluna-imp > .w100.linha.mt20 a span::before { display: none !important; }
/* Empresas Parceiras: lista clicável (nome + ramo) em vez de chips */
.card-parceiras > .w100.linha.mt20 { display: block; padding: 8px 20px 0; }
.card-parceiras > .w100.linha.mt20 > .coluna { display: flex !important; flex-direction: column; gap: 0 !important; padding: 0 !important; }
.card-parceiras > .w100.linha.mt20 .linha.gap10 { border-bottom: 1px solid #edf0f5 !important; width: 100%; }
.card-parceiras > .w100.linha.mt20 .linha.gap10:last-child { border-bottom: none !important; }
.card-parceiras > .w100.linha.mt20 a {
  display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important;
  width: 100% !important; min-height: 56px; padding: 8px 4px !important; border: none; border-radius: 8px; background: transparent; gap: 2px;
}
.card-parceiras > .w100.linha.mt20 a:hover, .card-parceiras > .w100.linha.mt20 a:focus-visible { background: #f6f8fc; }
.card-parceiras > .w100.linha.mt20 a:hover span, .card-parceiras > .w100.linha.mt20 a:focus-visible span { color: #324673 !important; }
.card-parceiras > .w100.linha.mt20 a span { white-space: normal; font-size: 15px !important; color: #1f2d4d !important; text-align: left; }
.card-parceiras > .w100.linha.mt20 a span.parceira-ramo { font-size: 13px !important; font-weight: 500 !important; color: #6b7690 !important; }
.card-parceiras > .w100.linha.mt20 a span { width: auto !important; flex: none !important; }
/* Fix: centralizar texto dos chips (index.css define .itens-especial{width:83%}) */
.coluna-imp > .w100.linha.mt20 a { justify-content: center !important; }
.coluna-imp > .w100.linha.mt20 a span.itens-especial { width: auto !important; flex: none !important; text-align: center; }
/* Alinhamento: mesma altura por linha, topo alinhado, botão fixo embaixo */
.row.df-ac-jc:has(> .coluna-imp.cards) { align-items: stretch !important; }
.coluna-imp.cards { align-self: stretch; height: auto !important; }
.coluna-imp .img-fundo-especial { width: 100%; aspect-ratio: 16 / 7 !important; flex: none; }
.coluna-imp > .df-ac-jc.w100:last-child { margin-top: auto !important; }
@media (max-width: 991px) {
  .row.df-ac-jc:has(> .coluna-imp.cards) { flex-direction: column; }
  .coluna-imp.cards { width: calc(100% - 24px) !important; flex: 0 0 auto; }
}
