/* ========================================
   FAQ SECTION - Workshop Sem Bloqueios
   ========================================*/

/* Importar variáveis de cores */
@import url('variables.css');

/* Container da FAQ Section */
.faq {
    background: var(--gradient-dark);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.faq-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Título FAQ */
.faq-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    color: var(--text-white);
}

/* Lista FAQ */
.faq-list {
    width: 100%;
    margin-bottom: 3rem;
}

.faq-item {
    background: var(--bg-card-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--white-10);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: var(--bg-card-medium);
    border-color: var(--white-20);
}

.faq-item.active {
    background: var(--white-10);
    border-color: var(--purple-30);
}

/* Pergunta FAQ */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-purple);
}

.faq-arrow {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-purple);
    transition: all 0.3s ease;
}

/* Resposta FAQ */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bg-card-dark);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* CTA Button FAQ */
.cta-button-faq {
    background: var(--gradient-yellow);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px var(--yellow-40);
    max-width: 350px;
    width: 100%;
    text-decoration: none; /* Remove sublinhado do link */
}

.cta-button-faq:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px var(--yellow-50);
    background: var(--gradient-yellow-hover);
}

.cta-button-faq:active {
    transform: translateY(-1px);
}

/* ========================================
   FOOTER SECTION
   ========================================*/

.footer {
    background: var(--color-gray-900);
    padding: 2rem 0;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--blue-30);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--blue-40);
    background: var(--gradient-blue-hover);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* ========================================
   RESPONSIVIDADE
   ========================================*/

/* Tablets */
@media (max-width: 1200px) {
    .faq-title {
        font-size: 3rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.3rem 1.8rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.3rem 1.8rem;
    }
}

@media (max-width: 968px) {
    .faq-title {
        font-size: 2.5rem;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 1.2rem 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.2rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    .cta-button-faq {
        font-size: 1rem;
        padding: 1.1rem 2.5rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .faq {
        padding: 6rem 0;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 1rem 1.2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem 1.2rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
    
    .cta-button-faq {
        font-size: 0.9rem;
        padding: 1rem 2rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        font-size: 0.85rem;
        padding: 0.9rem 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0.9rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
    }
    
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
