.accordeons {
    .container {
        z-index: 1;
        position: relative;

        .bloc_accordeon {
            display: flex;
            justify-content: space-between;
            gap: 30px;
            flex-direction: column;
            align-items: center;

            @media (min-width: 992px) {
                flex-direction: row;
                align-items: stretch;
                gap: 60px;
            }

            &:not(.has-image) {
                @media (min-width: 992px) {
                    .navigation,
                    .section__title {
                        flex: 1;
                        max-width: 570px;
                    }
                }

                .section__title {
                    >* {
                        text-align: left;
                    }

                    p {
                        margin-left: 0;
                    }
                }
            }

            /* @media (min-width: 992px) {
                &.has-image {
                    .navigation {
                        max-width: 45%;
                    }
                }
            } */

            .navigation {
                display: flex;
                flex-direction: column;
                gap: 16px;

                @media (min-width: 992px) {
                    width: 400px;
                    flex-shrink: 0;
                    height: 100%;
                }

                .accordeon-button {
                    background: transparent;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    border-radius: 8px;
                    margin: 0px;
                    transition: var(--transition);
                    position: relative;
                    text-align: left;

                    @media (min-width: 992px) {
                        font-size: 20px;
                    }

                    &:not(.has-image) {
                        padding: 16px 55px 16px 24px;
                        border: 0px;
                        display: flex;
                        flex-direction: column;
                        align-items: start;
                        background-color: var(--white);
                        transition: var(--transition);

                        @media (max-width: 991px) {
                            padding-right: 60px;
                            text-align: left;
                        }

                        &:after {
                            content: '+';
                            border: 1px solid var(--dark);
                            color: var(--dark);
                            border-radius: var(--border-radius-cta);
                            width: 25px;
                            height: 25px;
                            font-size: 16px;
                            position: absolute;
                            right: 24px;
                            display: grid;
                            place-items: center;
                            padding: 0px 0px 0px 1px;
                        }

                        &.active,
                        &:hover {
                            background-color: var(--purple);
                            color: var(--white);

                            &:after {
                                content: '-';
                                border: 1px solid var(--white);
                                color: var(--white);
                            }
                        }

                        &.active {
                            .accordeon-content {
                                max-height: fit-content;
                                pointer-events: auto;
                                opacity: 1;
                                text-align: left;
                                border-top: 1px solid var(--dark);
                                margin: 16px 0;
                                padding-top: 16px;

                                * {
                                    margin-bottom: 0;
                                }
                            }
                        }

                        .accordeon-content {
                            max-height: 0;
                            overflow: hidden;
                            opacity: 0;
                            pointer-events: none;
                            transition: var(--transition);
                            padding-top: 0;
                        }
                    }

                    &.has-image {
                        padding: 14px 26px;
                        border: 1px solid var(--purple-opacity-33);
                        color: var(--purple);

                        &:after {
                            content: '';
                            background-image: url('../../img/arrow_purple.svg');
                            width: 18px;
                            height: 14px;
                            background-size: contain;
                            background-repeat: no-repeat;
                            display: inline-block;
                        }

                        &:hover,
                        &.active {
                            background-color: var(--light-purple);
                            color: var(--white);

                            &:after {
                                filter: brightness(100);
                            }
                        }
                    }
                }

                .section__title {
                    text-align: left;
                }
            }

            &.has-image {
                .cards-content {
                    /* @media (min-width: 1200px) {
                        flex: 1;
                    } */

                    .items {
                        display: flex;
                        flex-direction: column;
                        position: relative;
                        height: fit-content;
                        /* padding: 25px; */

                        @media (min-width: 1200px) {
                            /* height: 680px; */
                            /* padding: 40px; */
                        }

                        /* @media (min-width: 1400px) {
                            padding: 80px;
                        } */

                        /* &:after {
                            content: '';
                            width: 100%;
                            background: var(--grey);
                            border-radius: var(--border-radius);
                            top: 0;
                            left: 0;
                            height: 100%;
                            position: absolute;
                            z-index: -1;

                            @media (min-width: 1200px) {
                                width: 400px;
                            }

                            @media (min-width: 1400px) {
                                width: 480px;
                            }
                        } */

                        .accordeon-item {
                            opacity: 1;
                            width: fit-content;
                            height: fit-content;
                            transition: transform 0.5s ease;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            gap: 20px;
                            transform: translateY(0px);

                            &:not(.active) {
                                opacity: 0;
                                height: 0px;
                                transform: translateY(-40px);
                                pointer-events: none;

                                img {
                                    height: 0;
                                    opacity: 0;
                                }
                            }

                            /* .border-purple {
                                width: 1px;
                                background-color: var(--light-purple);
                                height: 160px;
                                position: absolute;
                                left: 45px;
                                top: 300px;

                                @media (min-width: 1200px) {
                                    left: 60px;
                                    top: 360px;
                                }

                                @media (min-width: 1400px) {
                                    left: 90px;
                                }
                            } */

                            img {
                                border-radius: calc(var(--border-radius) / 2);
                                object-fit: cover;
                                transition: opacity 0.3s ease;
                                max-height: 350px;
                                width: 100%;

                                /* @media (min-width: 992px) {
                                    width: 320px;
                                    height: 320px;
                                    max-height: unset;
                                } */
                            }

                            .accordeon-content {
                                .cta {
                                    margin-bottom: 0px;
                                }
                            }

                            /* .accordeon-content {
                                padding: 20px 20px 0px 50px;

                                @media (min-width: 992px) {
                                    max-width: 320px;
                                }

                                @media (min-width: 1200px) {
                                    position: absolute;
                                    left: 80px;
                                    top: 380px;
                                    padding: unset;
                                    max-width: 460px;
                                }

                                @media (min-width: 1400px) {
                                    left: 130px;
                                    top: 440px;
                                    max-width: 500px;
                                }

                                h3 {
                                    margin-bottom: 16px;
                                }
                            } */
                        }
                    }
                }
            }
        }
    }
}