
/* ========================================
   FAQ MODERNE - DESIGN COMPLET
   ======================================== */

.faq-section-moderne {
    margin: 4rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-style: italic;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item-moderne {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.faq-item-moderne:hover {
    border-color: #8b5cf6;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8b5cf6;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

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

.faq-answer p {
    margin: 0 0 1rem 0;
    color: #374151;
    line-height: 1.6;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.faq-answer ul li {
    padding: 0.5rem 0;
    color: #374151;
}

.faq-example {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #8b5cf6;
}

.faq-highlight {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white !important;  /* Texte DIRECTEMENT sur fond violet = BLANC */
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Force le blanc sur tous les éléments directs du cartouche violet */
.faq-highlight p,
.faq-highlight strong {
    color: white !important;
}

.three-dimensions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.dimension {
    flex: 0 0 120px;  /* Taille fixe standardisée */
    text-align: center;
    background: #f8fafc;
    color: #374151;  /* Texte NOIR sur fond blanc */
    padding: 1rem;
    border-radius: 8px;
    min-width: 120px;
}

/* Les éléments avec leur propre fond (blanc) gardent le texte noir */
.faq-highlight .dimension {
    background: #f8fafc;
    color: #374151;  /* Force le noir sur fond blanc */
}

.dimension-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.faq-cta {
    text-align: center;
    margin-top: 1rem;
}

/* Active state */
.faq-item-moderne.active .faq-toggle {
    transform: rotate(45deg);
    background: #8b5cf6;
    color: white;
}

.faq-item-moderne.active {
    border-color: #8b5cf6;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section-moderne {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer.active {
        padding: 1rem 1.5rem;
    }
    
    .three-dimensions {
        flex-direction: column;
    }
    
    .faq-header h2 {
        font-size: 1.8rem;
    }
}
