/**
 * faq.css
 * Estilos específicos para FAQ - Perguntas Frequentes
 * Wini.IA - Versão Profissional Corporativa
 * Padrão alinhado com centro-seguranca.css e vagas.css
 */

/* ===================================
   HERO SECTION
   =================================== */
   .faq-hero {
    background: linear-gradient(135deg, #1A1F3A, #2C3E7C);
    padding: 100px 0 60px 0;
    margin-top: 80px;
    color: #FFFFFF;
    text-align: center;
}

.faq-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-main-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.faq-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #E2E8F0;
    margin-bottom: 40px;
}

/* ===================================
   SEARCH BAR
   =================================== */
.faq-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-field {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid #2C3E7C;
    border-radius: 8px;
    background: #FFFFFF;
    color: #1A1F3A;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.faq-search-field:focus {
    border-color: #6B46C1;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.faq-search-field::placeholder {
    color: #6B7280;
}

.faq-search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    pointer-events: none;
}

/* ===================================
   FILTERS SECTION
   =================================== */
.faq-filters-section {
    background: #F8FAFB;
    padding: 30px 0;
    border-bottom: 1px solid #E8F0FE;
}

.faq-filters-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-filter-btn {
    padding: 10px 24px;
    background: #FFFFFF;
    border: 2px solid #E8F0FE;
    border-radius: 8px;
    color: #6B7280;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-filter-btn:hover {
    border-color: #6B46C1;
    color: #1A1F3A;
}

.faq-filter-btn.active {
    background: #6B46C1;
    border-color: #6B46C1;
    color: #FFFFFF;
}

/* ===================================
   CONTENT SECTION
   =================================== */
.faq-content-section {
    background: #FFFFFF;
    padding: 80px 0;
}

.faq-category-block {
    margin-bottom: 60px;
}

.faq-category-block:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1A1F3A;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #6B46C1;
}

/* ===================================
   ACCORDION ITEMS
   =================================== */
.faq-item {
    background: #FFFFFF;
    border: 2px solid #E8F0FE;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #6B46C1;
}

.faq-item.active {
    border-color: #6B46C1;
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #F8FAFB;
}

.faq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1F3A;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    color: #6B46C1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 28px 28px 28px;
}

.faq-answer-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 16px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
    padding-left: 24px;
    margin: 16px 0;
}

.faq-answer-content li {
    font-size: 1rem;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 10px;
}

.faq-answer-content strong {
    color: #1A1F3A;
    font-weight: 600;
}

/* ===================================
   CTA SECTION
   =================================== */
.faq-cta-section {
    background: #F8FAFB;
    padding: 80px 0;
}

.faq-cta-box {
    background: linear-gradient(135deg, #E8F0FE, #F8FAFB);
    border: 2px solid #6B46C1;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.faq-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1A1F3A;
    margin-bottom: 20px;
}

.faq-cta-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 30px;
}

/* ===================================
   RESPONSIVIDADE - TABLET
   =================================== */
@media (max-width: 992px) {
    .faq-hero {
        padding: 80px 0 50px 0;
    }
    
    .faq-main-title {
        font-size: 2.5rem;
    }
    
    .faq-content-section {
        padding: 60px 0;
    }
}

/* ===================================
   RESPONSIVIDADE - MOBILE
   =================================== */
@media (max-width: 768px) {
    .faq-hero {
        padding: 60px 0 40px 0;
    }
    
    .faq-main-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .faq-filters-wrapper {
        gap: 8px;
    }
    
    .faq-filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    .faq-content-section,
    .faq-cta-section {
        padding: 60px 0;
    }
    
    .faq-category-block {
        margin-bottom: 50px;
    }
    
    .faq-category-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 20px 24px 20px;
    }
    
    .faq-answer-content p,
    .faq-answer-content li {
        font-size: 0.95rem;
    }
    
    .faq-cta-box {
        padding: 40px 25px;
    }
    
    .faq-cta-title {
        font-size: 2rem;
    }
    
    .faq-cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-main-title {
        font-size: 1.75rem;
    }
    
    .faq-search-field {
        padding: 14px 45px 14px 16px;
        font-size: 0.95rem;
    }
    
    .faq-category-title {
        font-size: 1.3rem;
    }
    
    .faq-question {
        padding: 16px 18px;
    }
    
    .faq-question-text {
        font-size: 0.95rem;
    }
    
    .faq-cta-title {
        font-size: 1.75rem;
    }
}