/* Style général de la section FAQ */
.faq-section {
    background-color: #f8f9fa;
    padding-bottom: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Titre principal */
.page-section-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

.page-section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #EF2B2B, #FCD116, #009E49);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.faq-section:hover .page-section-heading::after {
    width: 30%;
}

/* Séparateur personnalisé */
.divider-custom {
    margin: 1.5rem auto;
    width: 100px;
}

.divider-custom-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #2c3e50, transparent);
    border-radius: 3px;
}

/* Conteneur Accordéon */
#faq {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Items de l'accordéon */
.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: white;
    transition: all 0.3s ease;
}

.accordion-item:last-child {
    border-bottom: none;
}

/* En-tête des items */
.accordion-button {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    padding: 1.25rem 1.5rem;
    background-color: white;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-button:not(.collapsed) {
    color: #EF2B2B;
    background-color: rgba(239, 43, 43, 0.05);
}

.accordion-button::after {
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background-color: rgba(239, 43, 43, 0.03);
    transform: translateX(5px);
}

/* Contenu de l'accordéon */
.accordion-body {
    padding: 1.5rem;
    color: #555;
    line-height: 1.7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-body p {
    margin-bottom: 1rem;
}

.accordion-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
    position: relative;
}

.accordion-body li::before {
    content: '•';
    color: #EF2B2B;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Titres dans le contenu */
.accordion-body h5,
.accordion-body h6 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Animation d'ouverture/fermeture */
.accordion-collapse {
    transition: all 0.4s ease;
}

/* Mise en évidence des coûts */
.accordion-body b {
    color: #009E49;
    font-weight: 600;
}

/* Effet au survol des items */
.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .page-section-heading {
        font-size: 1.8rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Animation supplémentaire pour le titre */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-section-heading {
    animation: fadeIn 0.8s ease forwards;
}
