/* ============================================================
   FAQ - ACCORDION
   ============================================================ */

/* Container principal do FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cada item do FAQ */
.faq-item {
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Botão da pergunta */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: #0fe500;
    background-color: #f8fafc;
}

/* Ícone do FAQ (seta) */
.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
}

/* Quando o item está ativo, a seta gira */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #0fe500;
}

/* Resposta do FAQ (inicialmente oculta) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 20px;
}

/* Quando ativo, mostra a resposta */
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px 20px;
}

/* Estilo do texto da resposta */
.faq-answer p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Seção do FAQ no modo escuro */
.section-dark .faq-item {
    background: #1e293b;
    border-color: #334155;
}

.section-dark .faq-question {
    color: #f1f5f9;
}

.section-dark .faq-question:hover {
    color: #0fe500;
    background-color: #334155;
}

.section-dark .faq-answer p {
    color: #cbd5e1;
}

/* Responsividade */
@media (max-width: 768px) {
    .faq-list {
        gap: 10px;
        margin-top: 24px;
    }
    
    .faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    
    .faq-icon {
        width: 18px;
        height: 18px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 16px 16px 16px;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    
    .faq-icon {
        width: 16px;
        height: 16px;
    }
}