/* CV40 - FAQ Section (Dark Theme) */
.cv40-faq-section {
    width: 100%;
    margin: 40px 0;
}
.cv40-faq-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main, #F9FAFB);
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
}
.cv40-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.cv40-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}
.cv40-faq-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(255, 255, 255, 0.05);
}
.cv40-faq-item[open] {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.cv40-faq-question {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main, #F9FAFB);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    user-select: none;
}
.cv40-faq-question::-webkit-details-marker {
    display: none;
}
.cv40-faq-icon {
    color: var(--text-muted, #9CA3AF);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cv40-faq-item[open] .cv40-faq-icon {
    transform: rotate(180deg);
    color: var(--accent-green, #10B981);
}
.cv40-faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted, #9CA3AF);
    animation: cv40SlideDown 0.3s ease-out forwards;
}
.cv40-faq-answer p { 
    margin: 0; 
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}
@keyframes cv40SlideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Blocos Avançados de FAQ */
.cv40-faq-answer .faq-em-resumo,
.cv40-faq-answer .faq-vr-interpretation {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14.5px;
    line-height: 1.6;
}

/* Em Resumo */
.cv40-faq-answer .faq-em-resumo {
    background-color: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--accent-green, #10b981);
}
.cv40-faq-answer .faq-em-resumo p {
    margin-bottom: 8px;
}
.cv40-faq-answer .faq-em-resumo p strong {
    color: var(--accent-green, #10b981);
    font-size: 15px;
    display: block;
    margin-bottom: 8px;
}
.cv40-faq-answer .faq-em-resumo ul {
    margin: 0;
    padding-left: 20px;
}
.cv40-faq-answer .faq-em-resumo li {
    margin-bottom: 6px;
}
.cv40-faq-answer .faq-em-resumo li:last-child {
    margin-bottom: 0;
}

/* Como o Velocidade Real interpreta isso */
.cv40-faq-answer .faq-vr-interpretation {
    background-color: rgba(99, 102, 241, 0.05); /* Indigo suave */
    border: 1px solid rgba(99, 102, 241, 0.2);
}
.cv40-faq-answer .faq-vr-interpretation p {
    margin-bottom: 0;
}
.cv40-faq-answer .faq-vr-interpretation p strong {
    color: #818cf8; /* Indigo mais vibrante */
    font-size: 15px;
    display: block;
    margin-bottom: 8px;
}

/* Sistema de Mostrar Mais (Zero JS) */
.cv40-faq-hidden {
    display: none;
}

/* Quando o checkbox invisível estiver marcado, exibe os itens ocultos */
.cv40-faq-toggle-checkbox:checked ~ .cv40-faq-list .cv40-faq-hidden {
    display: block;
    animation: cv40FadeIn 0.3s ease-out forwards;
}

/* Quando o checkbox estiver marcado, esconde o botão "Ver todas" */
.cv40-faq-toggle-checkbox:checked ~ .cv40-faq-btn-wrapper {
    display: none;
}

.cv40-faq-btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

.cv40-faq-toggle-label {
    display: inline-block;
    padding: 12px 28px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cv40-faq-toggle-label:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

@keyframes cv40FadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
