.accordeons {

    &[data-color="#ffffff"] {
        .accordeon-button {
            border-top: 1px solid var(--grey) !important;

            &:last-child {
                border-bottom: 1px solid var(--grey) !important;
            }

            .accordeon-content {
                background-color: var(--grey) !important;
            }
        }
    }

    &[data-color="#0f398f"] {
        .accordeon-button {
            border-top: 1px solid rgba(255, 255, 255, 0.16) !important;

            &:last-child {
                border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
            }

            &:hover {
                .accordeon-titre {
                    color: var(--orange) !important;
                }
            }

            .accordeon-titre {
                color: var(--white) !important;
            }

            .accordeon-content {
                background-color: var(--blue) !important;

                * {
                    color: var(--white) !important;
                }

                li {
                    &:before {
                        background: var(--white) !important;
                    }
                }
            }
        }
    }

    .container {
        z-index: 1;
        position: relative;

        .bloc_accordeon {
            display: flex;
            justify-content: space-between;
            gap: 30px;
            flex-direction: column;
            align-items: center;

            .navigation {
                display: flex;
                flex-direction: column;
                max-width: 1000px;

                .accordeon-button {
                    background: transparent;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin: 0px;
                    transition: var(--transition);
                    position: relative;
                    padding: 16px 0px;
                    border: 0px;
                    display: flex;
                    flex-direction: column;
                    align-items: start;
                    transition: var(--transition);
                    transition: var(--transition);
                    border-top: 1px solid rgba(0, 0, 0, 0.16);

                    &:last-child {
                        border-bottom: 1px solid rgba(0, 0, 0, 0.16);
                    }

                    @media (min-width: 992px) {
                        font-size: 20px;
                    }

                    &:focus,
                    &:focus-visible {
                        outline: none !important;
                    }

                    &:not(.active) {
                        &:hover {
                            .accordeon-titre {
                                &:after {
                                    transform: translateY(-50%) rotate(90deg) !important;
                                    background-color: var(--light-blue);
                                }
                            }
                        }

                        /* .accordeon-content {
                            height: 0;
                        } */
                    }

                    &.active,
                    &:hover {
                        .accordeon-titre {
                            color: var(--light-blue);
                        }
                    }

                    &.active {
                        border-bottom: 0px;
                        margin-bottom: 0;
                        padding-bottom: 0;

                        .accordeon-titre {
                            &:after {
                                background-color: var(--light-blue);
                                transform: translateY(-50%) rotate(90deg);
                            }
                        }

                        .accordeon-content {
                            pointer-events: auto;
                            opacity: 1;
                            text-align: left;
                            margin: 16px 0 0 0;
                            padding: 40px;
                            transform: translateY(0px);
                            width: 100%;

                            /* *:not(ul) {
                                margin-bottom: 0;
                            } */
                        }
                    }

                    .accordeon-titre {
                        font-family: var(--secondary-font);
                        font-size: 20px;
                        font-weight: var(--bold);
                        color: var(--blue);
                        line-height: 28px;
                        text-align: left;
                        padding-right: 60px;
                        transition: var(--transition);
                        position: relative;
                        width: 100%;

                        &:after {
                            content: url('../../img/arrow_accordion.svg');
                            background-color: var(--orange);
                            border-radius: var(--border-radius-cta);
                            width: 26px;
                            height: 25px;
                            font-size: 16px;
                            position: absolute;
                            right: 0;
                            display: flex;
                            justify-content: center;
                            top: 50%;
                            transform: translateY(-50%);
                            transition: var(--transition);
                            align-items: center;
                        }
                    }

                    .accordeon-content {
                        overflow: hidden;
                        opacity: 0;
                        pointer-events: none;
                        transition: var(--transition);
                        padding-top: 0px;
                        background-color: var(--white);
                        transform: translateY(20px);
                        transition: height 0.3s ease, transform 0.3s ease, opacity 0.3s ease;

                        *:not(h1, h1 span, h1 p, h1 li, h2, h2 span, h2 p, h2 li, h3, h3 span, h3 p, h3 li, h4, h4 span, h4 p, h4 li, h5, h5 span, h5 p, h5 li, h6, h6 span, h6 p, h6 li) {
                            font-size: 16px !important;
                        }
                    }
                }
            }
        }
    }
}