/* Section FAQ - Design moderne et complet */
#faq {
    padding: 80px 0;
    background: #ffffff;
}

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

/* Header de section */
.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section__subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
    text-align: center !important;
}

/* Items FAQ */
.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

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

.faq-question span {
    flex: 1;
    margin-right: 20px;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: #6366f1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fafbfc;
}

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

.faq-answer p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

/* État actif */
/* Bloc .faq-item (Section 8) */
.faq-item.active .faq-question {
    background-color: #f3f4f6;
    border-bottom: none; /* supprime le trait entre question et réponse */
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #4f46e5;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Responsive */
@media (max-width: 768px) {
    #faq {
        padding: 60px 0;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .section__subtitle {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 20px 24px;
        font-size: 1rem;
    }
    
    .faq-answer div {
        padding: 0 24px 24px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .section__title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }
    
    .faq-question {
        font-size: 0.9rem;
    }
}