.page-template-brain-ia {
    background: #F0F5FF;

    section {
        &[data-color="#ffffff"] {
            background: #FFFFFF !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;

                @media (max-width: 768px) {
                    padding: 20px 15px 30px 15px;
                }

                .hdp__title {
                    h1 {
                        color: #FFF;
                        font-weight: 600;
                        margin: 0;

                        @media (min-width: 992px) {
                            font-size: 48px;
                            line-height: 56px;
                        }
                    }
                }

                .hdp__intro {
                    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;
                    }
                }
            }
        }
    }

    .columns {
        &[data-color="#ffffff"] {
            .columns__item {
                margin: 0 30px 0 0;
                padding: 30px;

                @media (min-width: 992px) {
                    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
                }

                .columns__img {
                    position: relative;
                    max-width: unset !important;
                    max-height: unset !important;
                    width: 96px;
                    height: 96px;

                    &:before {
                        content: '';
                        background: #FFF;
                        height: 96px;
                        width: 96px;
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        border-radius: 100px;
                        z-index: -1;
                    }

                    &:after {
                        content: '';
                        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%);
                        height: 100px;
                        width: 100px;
                        position: absolute;
                        top: -2px;
                        left: -2px;
                        z-index: -10;
                        border-radius: 100px;
                    }
                }
            }
        }

        .columns__list {
            .columns__item {
                h3 {
                    font-weight: 600;
                    line-height: 28px;
                    margin-bottom: 20px;
                }

                .columns__img {
                    padding: 0;
                    max-width: 64px;
                    max-height: 64px;
                }
            }
        }
    }

    .basic_2cols {
        background: #FFFFFF;
        overflow: visible;

        .section__title {
            margin-bottom: 0px;
        }

        @media (min-width: 992px) {

            .builder__intro {
                margin-bottom: 60px !important;
            }
        }

        .basic_2cols__para {
            .basic_twocols__filtres {

                .filtres__item {
                    padding: 8px 15px !important;
                    border-radius: 100px !important;

                    &[data-color="#d4dfff"] {
                        background-color: #d4dfff;
                        color: rgba(77, 112, 201, 1);
                        border: 1px solid rgba(77, 112, 201, 1);
                    }

                    &[data-color="#dbdcf8"] {
                        background-color: #dbdcf8;
                        color: rgba(77, 82, 217, 1);
                        border: 1px solid rgba(77, 82, 217, 1);
                    }

                    &[data-color="#d1f2ee"] {
                        background-color: #d1f2ee;
                        color: #1BB9A6;
                        border: 1px solid #1BB9A6;
                    }

                    &[data-color="#f7e2ef"] {
                        background-color: #f7e2ef;
                        color: #BE1E81;
                        border: 1px solid #BE1E81;
                    }
                }
            }

            @media (min-width: 992px) {
                h2 {
                    font-size: 28px;
                    line-height: 32px;
                    margin: 25px 0;
                }
            }
        }

        .basic_2cols__media {
            position: relative;
            z-index: 1;
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                max-width: 560px;
                max-height: 520px;
                z-index: 3;
                position: relative;
            }

            &:after {
                content: '';
                background: #F0F5FF;
                border-radius: 16px;
                width: 100%;
                height: 100%;
                max-width: 560px;
                max-height: 520px;
                position: absolute;
                top: 50%;
                left: 50%;
                z-index: 0;
                transform: translate(-50%, -50%);
            }
        }

        &#first-basic2 {
            position: relative;

            &::before {
                content: '';
                background-image: url('../img/bg_ai_star.svg');
                position: absolute;
                background-size: contain;
                background-repeat: no-repeat;
                opacity: 0;
                pointer-events: none;

                @media screen and (min-width: 1200px) {
                    width: 355px;
                    height: 355px;
                    top: -75px;
                    right: -75px;
                    opacity: 1;
                }
            }
        }

        &#last-basic2 {
            position: relative;

            &::after {
                content: '';
                background-image: url('../img/bg_ai_star.svg');
                position: absolute;
                background-size: contain;
                background-repeat: no-repeat;
                opacity: 0;
                pointer-events: none;
                transform: rotate(45deg);

                @media screen and (min-width: 1200px) {
                    width: 355px;
                    height: 355px;
                    bottom: -275px;
                    left: -75px;
                    opacity: 1;
                }
            }
        }
    }

    .testimonials {
        .testimonials__list_slider {
            position: relative;
            max-width: 960px !important;
            justify-content: center;

            &:before {
                content: '';
                background: #F0F5FF;
                height: calc(100% - 53px);
                width: calc(100% - 10px);
                position: absolute;
                bottom: 5px;
                left: 5px;
                border-radius: 15px;
            }

            &:after {
                content: '';
                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%);
                height: calc(100% - 43px);
                width: 100%;
                position: absolute;
                top: 43px;
                left: 0;
                z-index: -10;
                border-radius: 20px;
            }

            .slick-list {
                min-height: unset !important;
            }

            .slick-prev,
            .slick-next {
                z-index: 10;
                padding: 0 !important;

                &:before {
                    background-color: #F0F5FF !important;
                    width: 64px !important;
                    height: 64px !important;
                    background-size: 35%;
                }

                &:after {
                    content: '';
                    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%);
                    height: 68px;
                    width: 68px;
                    position: absolute;
                    top: -2px;
                    left: -2px;
                    z-index: -10;
                    border-radius: 100px;
                    outline: 8px solid #f0f5ff;
                }
            }

            .slick-prev {
                left: -30px !important;

                @media (max-width: 991px) {
                    left: 50px !important;
                    bottom: -30px;
                }
            }

            .slick-next {
                right: 15px !important;

                @media (max-width: 991px) {
                    right: 100px !important;
                    bottom: -30px;
                }
            }

            .slick-track {
                .slick-slide.slick-current {
                    &:after {
                        display: none;
                    }
                }

                .testimonials__item_slider {
                    height: 100%;
                    min-height: fit-content;

                    .testimonials__text_slider {
                        height: 100%;
                        min-height: fit-content;
                        margin-bottom: 30px;

                        .testimonials__quote_slider {
                            font-weight: 600 !important;
                            line-height: 32px !important;
                            padding: 0px !important;
                            max-width: 800px;

                            @media (min-width: 992px) {
                                font-size: 24px !important;
                            }
                        }

                        .testimonials__author_slider {
                            .testimonials__nom_slider {
                                padding: 0px !important;
                                border-top: 0px !important;
                            }

                            .testimonials__poste_slider {
                                max-width: 135px;
                            }
                        }
                    }

                    .testimonials__logo_slider {
                        height: 105px !important;
                        width: 140px !important;
                        box-shadow: unset !important;
                        outline: 8px solid #F0F5FF;
                    }
                }
            }
        }

    }

    .cpt_ia {

        .teaser__list {
            margin: 0 60px;

            .splide__track {
                overflow: visible !important;
            }

            .splide__arrows {

                .splide__arrow.splide__arrow--prev,
                .splide__arrow.splide__arrow--next {

                    &:before,
                    &:after {
                        content: '';
                        padding: 14px 20px;
                        display: flex;
                        position: absolute;
                        top: 0;
                    }

                    &:before {
                        background-size: 35%;
                        background-image: url(../img/arrow_slider.svg);
                        background-position: center;
                        background-repeat: no-repeat;
                        background-color: #ffffff;
                        width: 60px;
                        height: 60px;
                        border-radius: 50px;
                        border: 0px;
                    }

                    &:after {
                        content: '';
                        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%);
                        height: 64px;
                        width: 64px;
                        top: -2px;
                        left: -2px;
                        z-index: -10;
                        border-radius: 100px;
                        outline: 8px solid #f0f5ff;
                    }

                    &:not(:disabled) {
                        opacity: 1 !important;
                    }

                    svg {
                        display: none;
                    }
                }

                .splide__arrow.splide__arrow--prev {
                    left: -70px;
                    width: 60px;
                    height: 60px;

                    &:before {
                        transform: rotate(180deg);
                    }
                }

                .splide__arrow.splide__arrow--next {
                    right: -70px;
                    width: 60px;
                    height: 60px;
                }
            }

            .teaser__item {
                min-height: 520px;
                transition: opacity 0.3s ease;

                .teaser__link {
                    max-width: 360px;
                    border-radius: 20px !important;

                    &: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% - 8px);
                            width: calc(100% - 8px);
                            position: absolute;
                            background: #FFF;
                            top: 4px;
                            left: 4px;
                            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;
                    }
                }
            }
        }
    }
}