﻿body {
}

.autosize-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

@media screen and (max-width : 1920px) {
    .autosize-container {
        max-width: 1280px;
    }
    .p3x-mode-emploi {
        padding: 0 20px;
    }
}

.p3x-main {
    display: flex;
    flex-direction: column;
    gap: 75px;
    padding-bottom: 100px;
}

.p3x-hero {
    display: flex;
    align-items: center;
    background-image: url(http://cybertek.fr/images_produits/cybertek/images-landing/paiement-3x/hero.jpg);
    background-size: cover;
    background-position: center;
    height: 350px;
    width: 100%
}

    .p3x-hero h1 {
        text-transform: uppercase;
        color: white;
        font-size: 36px;
        font-weight: 600;
        max-width: 600px;
        line-height: 1.3;
        text-align: center
    }

.p3x-mode-emploi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

    .p3x-mode-emploi h2 {
        position: relative;
        font-size: 24px;
        font-weight: 600;
        color: rgba(37, 37, 37, 1);
        text-transform: uppercase;
        width: max-content;
        margin-bottom: 20px;
    }

        .p3x-mode-emploi h2::after {
            position: absolute;
            content: "";
            bottom: -10px;
            width: 90%;
            height: 3px;
            left: 50%;
            transform: translateX(-50%);
            background: #FFCF00
        }

.p3x-mode-emploi__etape {
    display: flex;
    position: relative;
    width: 100%;
    height: 225px;
}
.p3x-mode-emploi__etape__index {
    height: 100%;
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 20px 100px 20px 40px;
}
.p3x-mode-emploi__etape:nth-child(even) .p3x-mode-emploi__etape__index {
    margin-right: -20px;
}
.p3x-mode-emploi__etape:nth-child(even) .p3x-mode-emploi__etape__content {
    margin-left: -20px;
}
.p3x-mode-emploi__etape:nth-child(odd) .p3x-mode-emploi__etape__content {
    margin-right: -20px;
    justify-content: flex-start;
    gap: 15px;
}
.p3x-mode-emploi__etape:nth-child(odd) .p3x-mode-emploi__etape__index {
    margin-left: -20px;
    justify-content: flex-end;
}

.p3x-mode-emploi__etape:nth-child(odd) .p3x-mode-emploi__etape__left__number {
    left: initial !important;
    right: 50px;
}
    .p3x-etape-bg {
        z-index: 0;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%
    }
.p3x-mode-emploi__etape__left__number {
    position: absolute;
    z-index: 1;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(60, 60, 60, 1);
    font-size: 245px;
    font-weight: 600
}
.p3x-mode-emploi__etape__left__name {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 32px;
    font-weight: 600
}


.p3x-mode-emploi__etape__content {
    height: 100%;
    position: relative;
    flex: 1;
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    padding: 20px 40px 20px 100px;
}
.p3x-mode-emploi__etape__content__img, .p3x-mode-emploi__etape__content span {
    position: relative;
    z-index: 2;
    
}
.p3x-mode-emploi__etape__content__img {
    height: 115px;
    width: auto;
    object-fit: contain;
}
.p3x-mode-emploi__etape__content span {
    font-weight: 600;
    font-size: 20px;
    color: white;
    line-height: 1.3;
    flex: 1;
    max-width: 210px;
    text-wrap: balance;
}

.p3x-mode-emploi__etape__libelle {
    background : #FFCF00;
    z-index: 3;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 190px;
   height: 50px;
    border-radius: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}
.p3x-mode-emploi__etape__libelle  span {
    font-size: 24px;
    color: white;
    font-weight: 600
}
.anim-pen, .anim-letter {
    position: relative;
    z-index: 2
}
    .anim-pen img:nth-child(2) {
        position: absolute;
        left: 34px;
        top: -22px;
        transform-origin: bottom left
    }
    .anim-letter img:nth-child(1) {
        position: relative;
        z-index: 2
    }
    .anim-letter img:nth-child(2) {
        position: absolute;
        left: 23%;
        top: 33%;
    }

.p3x-conditions {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 80px 60px 80px;
    background: rgba(67, 67, 67, 1);
    color: white;
    border-radius: 36px
}
.p3x-conditions__buttons {
    display: flex;
    gap: 20px;
}
.p3x-conditions__buttons__el {
    background: black;
    filter: brightness(0.5);
    box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25);
    color: white;
    border-radius: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap : 10px;
    height:50px;
    padding: 0 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500
}
    .p3x-conditions__buttons__el#alma-button {
        background: white;
        filter: brightness(1);
        color: black
    }
    .p3x-conditions__contents__el {
        display: none;
        flex-direction: column;
        gap: 20px;
    }
.p3x-conditions__contents__el:nth-child(1) {
    display: flex;
}
.p3x-conditions__buttons__el div {
    border: 1px solid rgba(171, 171, 171, 1);
    border-radius: 75px;
    background: white;
    padding: 2px 7px;
}
.p3x-conditions__contents__el h3 {
    font-weight: 400;
    font-size: 20px;
   color: white;
   position: relative;
   width: max-content
}
.p3x-conditions__contents__el h3::after {
    position: absolute;
    content:'';
    width: 85%;
    left: 0;
    bottom: -8px;
    height: 2px;
    background: #FFCF00
}

.p3x-conditions__contents__el h4 {
    font-weight: 400;
    font-size: 20px;
    color: white;
    position: relative;
    width: max-content;
    padding-left: 20px;
}

    .p3x-conditions__contents__el h4::after {
        position: absolute;
        content: '';
        width: 15px;
        border-radius: 50%;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 15px;
        border: 3px solid #FFCF00
    }
.p3x-conditions__contents__el ul {
    display: flex;
    flex-direction: column;
    gap : 5px;
}
    .p3x-conditions__contents__el ul li {
        position: relative;
        font-weight: 300;
        font-size: 16px;
        padding-left: 15px;
        margin-left: 5px;
    }
        .p3x-conditions__contents__el ul li::after {
            position: absolute;
            content: '';
            width: 4px;
            border-radius: 50%;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 4px;
            background: white;
        }
.p3x-conditions__contents__el p {
    font-weight: 300;
    font-size: 16px;
    color: white !important;
    line-height: 1.2
}
.p3x-tuto {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
    .p3x-tuto h2 {
        font-weight: 600;
        font-size: 24px;
        color: rgba(47, 47, 47, 1)
    }
.p3x-tuto__main {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 100%
}
.p3x-tuto__main_slider {
    display: flex;
    flex: 1
}
.p3x-tuto__main_slider__el {
   display: flex !important;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(212, 212, 212, 1);
    height: 230px;
    width: 100%;
    border-radius: 15px;
}
.swiper-pagination {
   
}
.swiper-pagination-bullet {
    background: #9B9B9B !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: #FFCF00 !important;
}

    .p3x-tuto__main_slider__el p { 
        font-weight: 600;
        font-size: 16px;
        color: rgba(54, 54, 54, 1);
        max-width: 300px;
        text-align: center;
        line-height: 1.3
    }
.p3x-tuto__main_img {
    flex: 1;
    display: flex
}
    .p3x-tuto__main_img img {
        display: none;
        flex: 1;
        height: 265px;
        object-fit: contain;
    }
    .p3x-tuto__main_img img#img-paiement {
        display: block;
    }

.p3x-faq {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
    .p3x-faq p {
        width: 100%;
        text-align: center;
        font-weight: 500;
        font-size: 20px;
        color: rgba(47, 47, 47, 1)
    }
        .p3x-faq p a {
            text-decoration: underline;
            color: rgba(47, 47, 47, 1)
        }

        /*VARIANT REASSURANCE/MODALITES*/
.BlocModalites__el h4, .BlocModalites__el p {
    color: rgba(50, 50, 50, 1) !important
}
.p3x-mode-emploi-mobile {
    display: none
}

    @media screen and (max-width : 768px) {
        .autosize-container {
            padding: 0 20px !important;
        }

        .p3x-main {
            gap: 50px;
           
        }

        .p3x-hero {
            background-image: url(http://cybertek.fr/images_produits/cybertek/images-landing/paiement-3x/hero-mobile.jpg);
            height: 150px;
        }

            .p3x-hero h1 {
                font-size: 16px;
                max-width: 200px;
                margin-left: 2vw
            }

        .p3x-mode-emploi {
            display: none
        }

        .p3x-mode-emploi-mobile {
            position: relative;
            display: block
        }

        .swiper-mode-emploi {
            padding-bottom: 40px; /* Laisse de l’espace pour la pagination */
        }

        .swiper-pagination-mode-emploi {
            text-align: center;
            transform: translateY(35px) !important
        }

        .swiper-pagination-bullet {
            width: 10px !important;
            height: 10px !important;
            background: #9B9B9B;
            opacity: 1;
        }

        .swiper-pagination-bullet-active {
            background: #FFD400;
        }

        .p3x-slide__header {
            background: #1a1a1a;
            color: white;
            font-weight: bold;
            padding: 10px 20px;
            display: flex;
            justify-content: center;
            gap: 10px;
            font-size: 18px;
            align-items: center;
            border-radius: 6px;
            margin-bottom: 16px;
            position: relative;
            height: 61px;
        }

        .p3x-slide__number {
            font-size: 64px;
            color: #3C3C3C;
            position: absolute;
            left: 20px;
        }

        .p3x-slide__title {
            font-size: 24px;
            font-weight: 800;
            padding-left: 10%
        }

        .p3x-slide__content {
            display: flex;
            gap: 20px;
            justify-content: center;
            align-items: center;
            background: #9B9B9B;
            text-align: center;
            padding: 20px;
            height: 200px;
            border-radius: 6px 6px 0 0;
        }

            .p3x-slide__content p {
                flex: 1.5;
                text-wrap: balance;
                color: #FFF;
                font-size: 20px;
                font-weight: 300;
                line-height: 1.3
            }

            .p3x-slide__content img {
                flex: 1;
                max-height: 120px;
                object-fit: contain
            }

        .p3x-slide__footer {
            background: #FFD400;
            text-align: center;
            padding: 10px;
            font-weight: bold;
            border-radius: 0 0 6px 6px;
        }

        .p3x-conditions {
            max-width: calc(100% - 40px);
            padding: 10px !important
        }

        .p3x-conditions__contents {
            padding: 10px !important
        }

            .p3x-conditions__contents h3, .p3x-conditions__contents h4 {
                width: 100%
            }

        .p3x-conditions__contents__el h4::after {
            top: 5px;
            transform: none;
            width: 11px;
            height: 11px;
        }

        .p3x-conditions__buttons__el {
            font-size: 13px;
            padding: 0 15px;
        }

            .p3x-conditions__buttons__el img {
                max-height: 28px;
                min-height: 20px;
                object-fit: contain
            }

        .p3x-tuto__main {
            flex-direction: column-reverse
        }

        .p3x-tuto__main_slider {
            width: 100%;
            overflow: visible !important
        }

        .p3x-tuto__main_slider__el {
            height: 105px !important;
        }

            .p3x-tuto__main_slider__el p {
                font-weight: 500;
            }

        .p3x-tuto h2 {
            text-align: center;
            font-size: 20px;
        }

        .p3x-tuto__main_slider .swiper-pagination {
            transform: translateY(32px) !important;
            position: absolute;
        }

        .p3x-tuto__main_img img {
            height: 180px;
        }

        .p3x-faq p {
            font-size: 15px;
        }

        .BlocModalites {
            column-gap: 20px !important;
            row-gap: 30px !important;
        }

        .BlocModalites__el {
            width: 180px !important;
            align-items: center !important;
            gap: 10px !important;
        }

        .BlocModalites p {
            font-size: 11px !important;
            line-height: 1.2 !important;
            text-align: center;
        }

        .BlocModalites h4 {
            font-size: 14px !important;
            text-align: center
        }

        .BlocModalites__el svg {
            height: 35px !important;
        }
    }