.page-sfi {
    background: #ffffff;

    section {
        &[data-color="#ffffff"] {
            background: #FFFFFF !important;
        }

        &:not([data-color="#ffffff"]) {
            background: transparent !important;
        }
    }

    *.section__title {
        max-width: 960px !important;

        h2 {
            margin-bottom: 15px !important;
        }
    }

    *.bouton {
        padding: 15px 18px !important;
    }

    .hdp {
        background: transparent;
        margin: auto 10px;

        .container {
            position: relative;
            overflow: hidden;
            margin-top: 120px;
            padding: 0;
            min-height: unset;

            @media (min-width: 768px) {
                height: 480px;
            }

            &:before {
                content: "";
                background: linear-gradient(180deg, rgba(78, 92, 210, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 2;
                border-radius: 16px;
            }

            video {
                z-index: 1;
                position: absolute;
                width: 100%;
                object-fit: cover;
                border-radius: 16px;
                height: 100%;
            }

            .hdp__content {
                z-index: 10;
                max-width: 960px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                height: 100%;
                padding: 15px;
                align-items: center;

                @media (max-width: 768px) {
                    padding: 20px 15px 30px 15px;
                    min-height: 300px;
                }

                .hdp__title {
                    h1 {
                        color: #FFF;
                        font-weight: 600;
                        margin: 0;

                        @media (min-width: 992px) {
                            font-size: 48px;
                            line-height: 56px;
                        }
                    }
                }

                .hdp__intro {
                    &:has(> p) {
                        max-width: 600px;
                        font-weight: 500;
                        color: #FFF;
                        margin: 20px auto 35px auto;
                        line-height: 24px;
                    }
                }

                .bouton-ia {
                    background: #fff;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: column-reverse;
                    width: fit-content;
                    gap: 20px;
                    margin: 0 auto;
                    padding: 15px 40px;
                    border-radius: 20px;
                    outline: 12px solid rgba(255, 255, 255, 0.16);

                    @media (min-width: 768px) {
                        padding: 15px;
                        border-radius: 100px;
                        flex-direction: row-reverse;
                    }

                    img {
                        width: 168px;
                        height: 46px;
                        object-fit: contain;
                        position: relative;
                        max-height: unset;
                        margin: 0;
                        margin-left: 15px;
                        left: unset !important;
                    }
                }
            }
        }
    }

    .cpt_ia,
    .cartes_slider_ia {

        .teaser__list {
            @media (min-width: 1400px) {
                margin: 0 60px;
            }

            @media (min-width: 992px) {
                .splide__track {
                    overflow: visible !important;
                }
            }

            &:has(.splide__list.rounded_img) {
                .teaser__item {
                    min-height: unset !important;

                    .teaser__content {
                        border: 0px !important;
                        box-shadow: none !important;
                        height: fit-content !important;
                        background: transparent !important;

                        .teaser__image {
                            border-radius: 70px 8px 8px 8px !important;

                            img {
                                border-radius: 0px !important;
                            }
                        }

                        .teaser__text {
                            .teaser__identite {
                                display: flex;
                                flex-direction: column;
                                align-items: center;

                                .teaser__identite-nom {
                                    font-weight: 700;
                                    font-size: 20px;
                                    line-height: 28px;
                                }

                                .teaser__identite-entreprise {
                                    color: #75C5BD;
                                }
                            }
                        }
                    }
                }
            }

            .teaser__item {
                min-height: 520px;
                transition: opacity 0.3s ease;

                .teaser__link {
                    border-radius: 20px !important;

                    @media (max-width: 991px) {
                        box-shadow: unset !important;
                    }

                    @media (min-width: 992px) {
                        max-width: 360px;
                    }

                    &:hover {
                        .teaser__title {
                            color: #2e3861 !important;
                        }

                        .teaser__more {
                            &:before {
                                height: calc(100% - 12px);
                                width: calc(100% - 12px);
                                top: 6px;
                                left: 6px;
                            }
                        }
                    }

                    .teaser__image {
                        width: calc(100% - 14px);
                        max-height: 260px;
                        background: unset !important;
                        overflow: hidden;
                        margin: 7px auto 0 auto;
                        border-radius: 12px;

                        img {
                            border-radius: 15px !important;
                        }
                    }
                }

                &:not(.is-visible) {
                    opacity: 0.16;
                    pointer-events: none;
                }

                .teaser__text {
                    .teaser__category {
                        font-size: 12px;
                        background: #4F54A0;
                        padding: 6px 12px !important;
                        border-radius: 100px !important;
                        width: fit-content;

                        &.article {
                            background-color: #d4dfff;
                            color: rgba(77, 112, 201, 1);
                            border: 1px solid rgba(77, 112, 201, 1);
                        }

                        &.webinar {
                            background-color: #d1f2ee;
                            color: #1BB9A6;
                            border: 1px solid #1BB9A6;
                        }

                        &.livre_blanc {
                            background-color: #f7e2ef;
                            color: #BE1E81;
                            border: 1px solid #BE1E81;
                        }
                    }

                    .teaser__more {
                        margin-left: auto;
                        background: transparent !important;
                        color: #000000 !important;

                        &:before {
                            content: '';
                            height: calc(100% - 6px);
                            width: calc(100% - 6px);
                            position: absolute;
                            background: #FFF;
                            top: 3px;
                            left: 3px;
                            z-index: 0;
                            border-radius: 20px;
                            z-index: -1;
                            transition: all 0.3s ease;
                        }

                        &:after {
                            content: '';
                            height: 100%;
                            width: 100%;
                            position: absolute;
                            background: linear-gradient(90deg, rgba(0, 232, 222, 1) 0%, rgba(77, 82, 217, 1) 38%, rgba(255, 140, 173, 1) 73%, rgba(255, 83, 66, 1) 100%);
                            top: 0;
                            left: 0;
                            z-index: -3;
                        }
                    }

                    h3 {
                        font-size: 20px;
                        line-height: 28px;
                        font-weight: 600;
                        margin: 20px 0;
                    }
                }
            }
        }
    }

    .programme {
        .programmes {
            display: flex;
            flex-direction: column;
            gap: 30px;
            position: relative;

            &:not(:has(>.teaser__list)) {                
                &:after {
                    content: '';
                    background: rgba(46, 56, 97, 0.1) !important;
                    width: 2px;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 60px;
                    z-index: -2;
                }
            }

            &:has(>.teaser__list) {
                .teaser__list {
                    padding: 0 40px !important;

                    @media (min-width: 992px) {
                        .splide__arrow.splide__arrow--prev {
                            left: -45px !important;
                        }

                        .splide__arrow.splide__arrow--next {
                            right: -45px !important;
                        }
                    }

                    .programme__item {
                        flex-direction: column !important;

                        &.pause {
                            display: none !important;
                        }

                        .programme_heure {
                            flex-direction: row !important;
                            padding: 20px !important;
                            gap: 10px !important;
                        }

                        .programme__infos {
                            padding: 0 30px 30px 30px !important;
                        }

                        .programme__content {
                            justify-content: center !important;
                        }
                    }
                }
            }

            .programme__item {
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
                display: flex;
                gap: 30px;
                align-items: stretch;
                border-radius: 35px 7px 7px 7px;
                min-height: 92px;
                background-color: #fff;
                flex-direction: column;

                @media (min-width: 768px) {
                    flex-direction: row;
                }

                &.pause {
                    .programme_heure {
                        border: 2px solid #9BB6FD !important;

                        &:before,
                        &:after {
                            display: none;
                        }

                        span {
                            color: #9BB6FD !important;
                        }
                    }
                }

                .programme_heure {
                    display: flex;
                    flex-direction: row;
                    padding: 20px;
                    gap: 10px;
                    border-radius: 35px 0px 0px 7px;
                    justify-content: center;
                    position: relative;

                    @media (min-width: 768px) {
                        padding: 0 30px;
                        flex-direction: column;
                        gap: 0;
                    }

                    &:before {
                        content: '';
                        background: #fff;
                        height: calc(100% - 4px);
                        width: calc(100% - 4px);
                        top: 2px;
                        left: 2px;
                        z-index: 3;
                        position: absolute;
                        border-radius: 35px 0px 0px 7px;
                        pointer-events: none;
                    }

                    &:after {
                        content: '';
                        height: 100%;
                        width: 100%;
                        position: absolute;
                        background: linear-gradient(90deg, rgba(0, 232, 222, 1) 0%, rgba(77, 82, 217, 1) 38%, rgba(255, 140, 173, 1) 73%, rgba(255, 83, 66, 1) 100%);
                        top: 0;
                        left: 0;
                        z-index: 2;
                        border-radius: 35px 0px 0px 7px;
                    }

                    span {
                        font-weight: 700;
                        color: #2E3861;
                        font-size: 20px;
                        line-height: 20px;
                        z-index: 4;
                    }
                }

                .programme__content {
                    display: flex;
                    height: fit-content;
                    margin: 0 0 auto 0;
                    justify-content: center;

                    @media (min-width: 768px) {
                        justify-content: start;
                    }

                    .programme__infos {
                        padding: 0 30px 30px 30px;

                        @media (min-width: 768px) {
                            padding: 20px 20px 20px 0;
                        }

                        &>h3 {
                            margin: 10px 0 0 0;
                            font-size: 24px;
                            font-weight: 700;
                        }

                        *:not(.intervenants *, .programme__infos .bouton) {
                            color: #2E3861 !important;
                        }

                        .programme__theme {
                            font-size: 12px;
                            padding: 6px 12px !important;
                            border-radius: 100px !important;
                            width: fit-content;
                            background-color: #d4dfff;
                            color: rgba(77, 112, 201, 1);
                            margin-bottom: 10px;
                        }

                        .intervenants {
                            display: flex;
                            flex-wrap: wrap;
                            align-items: center;
                            gap: 0 5px;
                            border-top: 1px solid rgba(46, 56, 97, 0.1);
                            padding-top: 10px;

                            &:has(+.bouton) {
                                margin-bottom: 10px;
                                padding-bottom: 10px;
                                border-bottom: 1px solid rgba(46, 56, 97, 0.1);

                                & + .bouton {
                                    color: #fff !important;
                                }
                            }

                            p {
                                margin: 0;
                                font-weight: 700;

                                span {
                                    font-weight: 400;
                                }
                            }

                            * {
                                color: #4F54A0 !important;
                            }

                            .separate:last-child {
                                display: none;
                            }
                        }
                    }
                }
            }
        }
    }

    .carrousel {
        position: relative;

        &:before {
            content: '';
            background: rgba(79, 84, 160, 0.32);
            position: absolute;
            top: 40px;
            left: 0;
            width: 100%;
            height: 350px;
            z-index: 1;

            @media (min-width: 768px) {
                top: 60px;
            }
        }

        &>.container {
            height: 350px;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 1;

            .section__title {
                color: #fff !important;
            }

            .teaser__list {
                @media (min-width: 992px) {
                    padding: 0 60px;
                }

                .splide__arrows {
                    .splide__arrow {
                        &:before {
                            background-color: transparent !important;
                            border: 1px solid #FFF !important;
                        }
                    }
                }

                .splide__list {
                    .carrousel__item {
                        background: #fff;
                        border-radius: 12px;
                        padding: 25px;
                        height: 150px;
                        justify-content: center;

                        @media (min-width: 992px) {
                            padding: 45px;
                        }
                    }
                }
            }
        }

        .video_bg {
            position: absolute;
            width: 100vw;
            object-fit: cover;
            z-index: 0;
            display: flex;
            align-items: center;
            overflow: hidden;
            top: 40px;
            height: calc(100% - 80px);

            @media (min-width: 768px) {
                top: 50%;
                transform: translateY(-50%);
                height: 350px;
            }

            video {
                position: relative;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }

    .teaser__list {
        @media (max-width: 992px) {
            display: flex;
            flex-direction: column-reverse;
            gap: 30px;

            .splide__arrows {
                display: flex;
                justify-content: center;
                gap: 20px;

                .splide__arrow {
                    position: relative;
                }
            }
        }

        .splide__arrows {

            .splide__arrow.splide__arrow--prev,
            .splide__arrow.splide__arrow--next {
                background: transparent !important;

                &:before,
                &:after {
                    content: '';
                    padding: 14px 20px;
                    display: flex;
                    position: absolute;
                    top: 0;
                }

                &:before {
                    background-size: 35%;
                    background-image: url(../img/arrow_slider_white.svg);
                    background-position: center;
                    background-repeat: no-repeat;
                    background-color: #FF6136;
                    width: 48px;
                    height: 48px;
                    border-radius: 50px;
                    border: 0px;
                }

                &:not(:disabled) {
                    opacity: 1 !important;
                }

                svg {
                    display: none;
                }
            }

            .splide__arrow.splide__arrow--prev {
                left: 0px;
                width: 40px;
                height: 40px;

                @media (min-width: 992px) {
                    left: -70px;
                    width: 60px;
                    height: 60px;
                }

                &:before {
                    transform: rotate(180deg);
                }
            }

            .splide__arrow.splide__arrow--next {
                right: 0px;
                width: 40px;
                height: 40px;

                @media (min-width: 992px) {
                    right: -70px;
                    width: 60px;
                    height: 60px;
                }
            }
        }
    }

    .toutes_sections {
        .editions_btn {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 30px;

            .edition_annee {
                &>h2 {
                    margin: 0;
                    color: #FF6136;
                    font-weight: 400;
                    border: 1px solid #FF6136;
                    padding: 10px 15px;
                    font-size: 12px;
                    line-height: 14px;
                    border-radius: 50px;
                    transition: all 0.3s ease;
                    cursor: pointer;
                }

                &:hover,
                &.active {
                    &>h2 {
                        background: #FF6136;
                        color: #fff;
                    }
                }
            }
        }

        .edition_blocs {
            background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(212, 224, 255, 1) 100%);
            border-radius: 20px;
            border: 1px solid #9BB6FD;
            display: flex;
            flex-direction: column;
            gap: 50px;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.3s ease;
            position: absolute;
            top: 0;
            left: 0;
            padding: 30px 10px;

            @media (min-width: 768px) {
                padding: 50px;
            }

            &.active {
                transform: translateY(0);
                opacity: 1;
                position: relative;
            }

            section {
                padding: 0 !important;
            }

            .carrousel {
                &:before {
                    top: 0 !important;
                    border-radius: 16px;
                }

                .teaser__list {
                    padding: 0 60px;

                    @media (min-width: 768px) {
                        padding: 0;
                    }
                }

                /* .splide__arrow.splide__arrow--next {
                    @media (min-width: 992px) {
                        right: -10px !important;
                    }
                }

                .splide__arrow.splide__arrow--prev {
                    @media (min-width: 992px) {
                        left: -10px !important;
                    }
                } */

                .video_bg {
                    width: 100% !important;

                    @media (max-width: 767px) {
                        height: 100%;
                        top: 0;
                        border-radius: 16px;
                    }

                    @media (min-width: 768px) {
                        video {
                            border-radius: 16px;
                        }
                    }
                }
            }
        }
    }

    .map {
        &>.container {
            display: flex;
            gap: 30px;
            flex-direction: column;
            justify-content: space-between;

            @media (min-width: 768px) {
                flex-direction: row;
            }

            .section__title {
                display: flex;
                flex-direction: column;
                text-align: left;
                justify-content: center;
                margin: 0;

                @media (min-width: 768px) {
                    flex: 0.3;
                }

                .date,
                .location {
                    display: flex;

                    &>p {
                        display: flex;
                        flex-direction: column;

                        span {
                            font-weight: 700;
                        }
                    }

                    &:before {
                        content: '';
                        background-image: url('../img/calendar_map.svg');
                        width: 24px;
                        height: 24px;
                        background-size: contain;
                        background-repeat: no-repeat;
                        display: inline-block;
                        margin-right: 10px;
                        flex-shrink: 0;
                    }
                }

                .date {
                    &:before {
                        background-image: url('../img/calendar_map.svg');
                    }
                }

                .location {
                    &:before {
                        background-image: url('../img/location_map.svg');
                    }
                }
            }

            .map__container {
                height: 480px;
                border-radius: 16px;

                @media (min-width: 768px) {
                    flex: 0.6;
                }
            }
        }
    }
}