/* =========================================================
   matter/faq — estilos do frontend
   ========================================================= */

.mc-faq {
    margin: 32px 0;
    font-family: inherit;
    background: #fbfbfb;
    padding: 20px 20px 25px 20px;
    border-radius: 10px;
}

.mc-faq__titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px;
    line-height: 1.3;
    padding-left: 15px;
}

.mc-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Item */
.mc-faq__item {
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.mc-faq__item.is-open {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Trigger (botão da pergunta) */
.mc-faq__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: var(--mc-faq-bg, #d7d9db) !important;
    color: var(--mc-faq-color, #000000) !important;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mc-faq__trigger:hover,
.mc-faq__trigger:focus-visible {
    background-color: var(--mc-faq-bg-hover, #b7b8b9);
    color: var(--mc-faq-color-hover, #000000);
    outline: none;
}

.mc-faq__item.is-open .mc-faq__trigger {
    background-color: var(--mc-faq-bg-hover, #b7b8b9);
    color: var(--mc-faq-color-hover, #000000);
}

.mc-faq__question {
    flex: 1;
}

/* Ícone +/− */
.mc-faq__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    transition: color 0.2s ease;
    user-select: none;
    color: inherit;
    opacity: 0.7;
}

/* Corpo / resposta — animado via max-height */
.mc-faq__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mc-faq__answer {
    padding: 14px 20px 18px;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.7;
    border-top: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}

.mc-faq__answer p {
    margin: 0 0 12px;
}

.mc-faq__answer p:last-child {
    margin-bottom: 0;
}
