/**
 * Styles pour l'accordéon FAQ avec schéma structuré
 */

/* Partie Accordéon */
.amcc-faq-accordion {
    width: 100%;
    margin-bottom: 30px;
}

.amcc-faq-item {
    margin-bottom: 0;
    cursor: pointer;
}

.amcc-faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 0;
    position: relative;
}

.amcc-faq-question {
    font-size: 23px;
    font-weight: 600;
    color: #1F386A;
    margin: 0;
    transition: color 0.3s ease;
    padding-right: 40px;
    font-family: "Wix Madefor Text", Sans-serif;
}

.amcc-faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.arrow-down-faq {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
}

.arrow-down-faq:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-bottom: 3px solid #1F386A;
    border-right: 3px solid #1F386A;
    transform: rotate(45deg);
}

.amcc-faq-item.active .arrow-down-faq:before {
    border-color: #ef7e10; /* Couleur orange active */
}

.amcc-faq-item.active .amcc-faq-arrow {
    transform: rotate(180deg);
}

.amcc-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 15px 0 0;
    margin: -10px 0 10px;
}

.amcc-faq-item.active .amcc-faq-content {
    max-height: 300px; /* Hauteur max pour l'animation */
}

.amcc-faq-content p {
    margin-top: 0;
    margin-bottom: 15px;
}

.amcc-faq-separator {
    height: 1px;
    background: #1F386A;
    margin: 0;
}

/* Pour les écrans mobiles */
@media (max-width: 768px) {
    .amcc-faq-question {
        font-size: 18px;
    }

    .amcc-faq-content {
        padding: 0 10px 0 0;
    }
}


@media (max-width: 767px) {
    .jet-tabs__control-wrapper {
        display: flex;
        flex-direction: row;
        overflow-x: scroll;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap !important;
        align-self: auto !important;
    }

    .jet-tabs__control-wrapper::-webkit-scrollbar {
        display: none;
    }

    .jet-tabs__control {
        display: inline-block;
        flex: 0 0 auto;
        margin-right: 10px;
        min-width: 120px;
    }
}
