.faq-accordion {
    margin-top: 30px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.faq-question {
    background-color: #f1f1f1;
    color: #333;
    cursor: pointer;
    padding: 15px 45px 15px 15px; /* espace pour l'arrow */
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

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

.faq-question::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #666;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s ease, padding 0.1s ease;
    padding: 0 15px;
    background-color: #fff;

    /* primary color*/
    border-left: 3px solid var(--primary-color);
    border-radius: 0 0 4px 4px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 15px;
}