.faq-refactored .faq-accordion {
    max-width: 750px;
    margin: 50px auto 0;
    border-top: 1px solid #e9ecef;
}

.faq-refactored .faq-item {
    border-bottom: 1px solid #e9ecef;
}

.faq-refactored .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
    cursor: pointer;
}

.faq-refactored .faq-question i {
    transition: transform 0.3s ease;
}

.faq-refactored .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-refactored .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    color: #6c757d;
    line-height: 1.7;
}

.faq-refactored .faq-answer p {
    padding: 0 10px 0px;
    margin: 0;
    transition: padding 0.35s ease-out;
}

.faq-refactored .faq-item.active .faq-answer {
    max-height: 15rem; /* Hauteur suffisante pour le contenu */
}

.faq-refactored .faq-item.active .faq-answer p {
    padding: 0 10px 20px;
}
