/* ------------------------- faq -- */
.faq {
    background: linear-gradient( to bottom, #312d65 0%, #1f2937 100% );
    padding: 20px 0px;
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq h1 {
    color: #ffffff;
    text-align: center;
}

/* ITEM */
.faq-item {
    background: #ffffff;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-item {
    border-left: 8px solid transparent;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-left-color: #00ff99;
}

/* PERGUNTA */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    transition: background 0.25s ease,
    color 0.25s ease;
}

.faq-question:hover {
    background: rgba(49, 45, 101, 0.04);
    color: #111827;
}

/* ÍCONE */
.faq-question .icon {
    font-size: 1.2rem;
    transition: 0.3s;
}

.faq-item.active .icon {
    color: #00ff99;
    transform: rotate(45deg);
}

/* RESPOSTA */
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    padding: 0 18px;
    transition: all 0.35s ease;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #4b5563;
    padding-bottom: 15px;
}

/* ABERTO */
.faq-item.active .faq-question {
    background: rgba(49, 45, 101, 0.06);
    color: #111827;
    font-weight: 600;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 10px;
    padding-bottom: 10px;
}

.faq-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.4;
}

@media (max-width: 768px) {

    .faq {
        padding: 20px 16px;
    }

    .faq h1 {
        margin-bottom: 20px;
    }

    .faq-container {
        width: 100%;
        padding: 0 10px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 16px;
    }

    .faq-answer p {
        font-size: 0.92rem;
    }

    .faq-item {
        margin-bottom: 10px;
    }

    .faq-footer {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}
