/**
 * Marketing Marca Viva FAQ - Estilos Futuristas
 * Versão: 1.0.0
 */

/* Reset e Base */
.mmv-faq-container {
    position: relative;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #cbd5e1; /* Cor de texto padrão */
    background: #0f172a; /* Fundo escuro */
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 2rem auto;
    max-width: 900px;
}

.mmv-faq-container * {
    box-sizing: border-box;
}

/* Header do FAQ */
.mmv-faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.mmv-faq-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1s ease-out;
}

.mmv-faq-subtitle {
    margin: 0.5rem 0 0 0;
    font-size: 1.2rem;
    color: #94a3b8;
    animation: fadeIn 1s ease-out 0.2s both;
}

/* Lista de FAQ */
.mmv-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mmv-faq-item {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease-out forwards;
}

.mmv-faq-item[data-index="0"] { animation-delay: 0.3s; }
.mmv-faq-item[data-index="1"] { animation-delay: 0.4s; }
.mmv-faq-item[data-index="2"] { animation-delay: 0.5s; }
.mmv-faq-item[data-index="3"] { animation-delay: 0.6s; }
.mmv-faq-item[data-index="4"] { animation-delay: 0.7s; }
.mmv-faq-item[data-index="5"] { animation-delay: 0.8s; }
.mmv-faq-item[data-index="6"] { animation-delay: 0.9s; }
.mmv-faq-item[data-index="7"] { animation-delay: 1.0s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mmv-faq-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.mmv-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mmv-faq-question:hover {
    background-color: rgba(139, 92, 246, 0.1);
}

.mmv-faq-question.active {
    background-color: rgba(139, 92, 246, 0.15);
}

.mmv-faq-icon {
    width: 1.2rem;
    height: 1.2rem;
    color: #a78bfa;
    transition: transform 0.3s ease;
}

.mmv-faq-question.active .mmv-faq-icon {
    transform: rotate(180deg);
}

.mmv-faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.mmv-faq-answer.open {
    max-height: 500px; /* Valor grande o suficiente para a maioria dos conteúdos */
    padding-top: 0.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .mmv-faq-container {
        padding: 1rem;
        margin: 1rem auto;
    }

    .mmv-faq-title {
        font-size: 2rem;
    }

    .mmv-faq-subtitle {
        font-size: 1rem;
    }

    .mmv-faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .mmv-faq-answer {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.9rem;
    }
}

