/* FAQ compartilhado para seções que reutilizam o componente da home */
.faq-list {
    min-width: 100%;
    margin: 0 auto;
}

.faq-item {
    padding: var(--space-5) 0;
    border-top: 1px solid #e9eef2;
}

.faq-item:first-child {
    border-top: none;
}

.faq-question {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 400;
    font-size: 1.25rem;
    padding: var(--space-2) 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black);
    font-family: var(--montserrat);
}

.faq-answer {
    padding-top: 14px;
    color: #374151;
    line-height: 1.6;
    overflow: hidden;
    max-height: 0;
    transition: max-height 360ms cubic-bezier(.2, .9, .3, 1), opacity 260ms ease, transform 260ms ease;
    opacity: 0;
    transform: translateY(-6px);
}

.faq-answer p {
    font-size: clamp(0.98rem, 1.8vw, 1.12rem);
}

.faq-item.is-open .faq-answer {
    opacity: 1;
    transform: translateY(0);
}

.faq-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    transform-origin: center;
    transition: transform 260ms cubic-bezier(.2, .9, .3, 1);
    color: #5b21b6;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-question {
    gap: 0.6rem;
}

.faq-question > span {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 600px) {
    .faq-item {
        padding: var(--space-4) 0;
    }

    .faq-question {
        font-size: 1.05rem;
        padding: var(--space-3) 0;
        align-items: center;
    }

    .faq-question > span {
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .faq-answer {
        padding-top: 10px;
    }

    .faq-answer p {
        font-size: 1rem;
    }

    .faq-icon {
        width: 22px;
        height: 22px;
    }
}
