/* FAQ Flex — accordion + busca. Namespace wfq-. */
.wfq { width: 100%; }

.wfq-busca { margin-bottom: 16px; }
.wfq-busca input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f3f4f6;
    font-size: 15px;
    font-family: inherit;
}
.wfq-busca input:focus { outline: none; border-color: #0066ff; }

.wfq-lista { display: flex; flex-direction: column; gap: 10px; }

.wfq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.wfq-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}
.wfq-pergunta {
    flex: 1 1 auto;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}
.wfq-ic-right .wfq-pergunta { order: 0; }

.wfq-icone {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0066ff;
    font-size: 16px;
    transition: transform .3s ease;
}
.wfq-icone svg { width: 16px; height: 16px; }
/* alterna ícone aberto/fechado */
.wfq-ic-aberto { display: none; }
.wfq-item.aberta .wfq-ic-fechado { display: none; }
.wfq-item.aberta .wfq-ic-aberto { display: inline-flex; }

/* corpo da resposta: anima altura */
.wfq-corpo {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.16,1,.3,1);
}
.wfq-resposta {
    padding: 0 18px 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}
.wfq-resposta p { margin: 0 0 10px; }
.wfq-resposta p:last-child { margin-bottom: 0; }

.wfq-pergunta, .wfq-resposta, .wfq-busca input { font-family: inherit; }

@media (max-width: 767px) {
    .wfq-head { padding: 14px; gap: 10px; }
    .wfq-pergunta { font-size: 15px; }
    .wfq-resposta { padding: 0 14px 14px; font-size: 14px; }
}

/* Filtro por tema — cores/bordas/tipografia vêm dos controles do painel */
.wfq-temas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.wfq-tema-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.wfq-tema-btn.ativo { background: #0066ff; color: #fff; border-color: #0066ff; }
