.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--primary-bg);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
    gap: 1rem;
}

.faq-question h4 {
    color: var(--primary);
    font-size: 1.125em;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-icon {
    color: var(--primary);
    font-size: 1.5em;
    font-weight: 700;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
    background-color: transparent;
}

.faq-answer-content {
    padding: 1.25rem 0;
    color: var(--text-dark-secondary);
    line-height: 1.6;
}

.faq-answer-content p {
    margin-bottom: 0.75rem;
}

.faq-answer-content ul {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.faq-answer-content li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.faq-answer-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-top: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active {
    background-color: var(--secondary-bg);
}

.faq-item.active .faq-question {
    background-color: var(--primary-bg);
}

.faq-contatos {
    margin-top: 1rem;
    text-align: center;
}

.faq-contatos ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: auto;
    
    & > li > a {
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: normal;
        border-radius: 50%;
        padding: .5rem;
        font-size: 2em;
        aspect-ratio: 1 / 1;
        width: 55px;
    }
}

.faq-whatsapp a {
    background-color: #25D366;
    color: #FFF;
    position: relative;
    transition: transform .3s ease;

    &:hover {
        transform: translateY(-.5rem);
    }

    &:hover::after {
        content: 'Whatsapp';
        font-size: .375em;
        font-weight: 600;
        background-color: #FFF;
        color: #000;
        padding: .25rem .5rem;
        border-radius: 1rem;

        position: absolute;
        bottom: -1rem;
        left: 50%;
        transform: translateX(-50%);
    }
}

.faq-email a {
    background-color: #DD4E41;
    color: #FFF;
    position: relative;
    transition: transform .3s ease;

    &:hover {
        transform: translateY(-.5rem);
    }

    &:hover::after {
        content: 'E-mail';
        white-space: nowrap;
        font-size: .375em;
        font-weight: 600;
        background-color: #FFF;
        color: #000;
        padding: .25rem .5rem;
        border-radius: 1rem;

        position: absolute;
        bottom: -1rem;
        left: 50%;
        transform: translateX(-50%);
    }
}

.faq-formulario a {
    background-color: #4285F4;
    color: #FFF;
    position: relative;
    transition: transform .3s ease;

    &:hover {
        transform: translateY(-.5rem);
    }

    &:hover::after {
        content: 'Formulário';
        font-size: .375em;
        font-weight: 600;
        background-color: #FFF;
        color: #000;
        padding: .25rem .5rem;
        border-radius: 1rem;

        position: absolute;
        bottom: -1rem;
        left: 50%;
        transform: translateX(-50%);
    }
}