/* ============================================
   FAQ - STYLES
   ============================================ */

/* Catégories */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 60px 0 50px;
}

.category-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.category-btn:hover {
    border-color: #1F77B4;
    color: #1F77B4;
}

.category-btn.active {
    background: linear-gradient(135deg, #1F77B4 0%, #FFC300 100%);
    color: white;
    border-color: transparent;
}

/* Container FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Item FAQ */
.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.hidden {
    display: none;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

/* Question */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
    border-left: 5px solid #1F77B4;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 300;
    color: #1F77B4;
    background: rgba(31, 119, 180, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: #1F77B4;
    color: white;
}

/* Réponse */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.faq-answer a {
    color: #1F77B4;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* CTA */
.faq-cta {
    margin: 80px 0;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(31, 119, 180, 0.05) 0%, rgba(255, 195, 0, 0.05) 100%);
    border-radius: 20px;
    text-align: center;
}

.faq-cta h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.faq-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-btn {
        width: 100%;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.05rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}