/* Styles pour la section FAQ des formations */
.faq-section {
    margin: 40px 0;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.faq-section h3 {
    color: #007C37;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.faq-section p.intro {
    text-align: center;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    background-color: #fff;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #00A34A;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    color: #007C37;
    background-color: #f5f5f5;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
    border-top: 1px solid #e0e0e0;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

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

.faq-answer ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.faq-answer ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.faq-answer a {
    color: #00A34A;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #007C37;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.faq-category {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.faq-category:hover, .faq-category.active {
    background-color: #00A34A;
    color: #fff;
    border-color: #00A34A;
}
