/* ==================================================
   ACCOMPAGNEMENT CTA NEW
   Version premium, responsive
================================================== */

.cta-section,
.cta-section *,
.cta-section *::before,
.cta-section *::after{
    box-sizing:border-box;
}

.cta-section{
    position:relative;
    overflow:hidden;

    padding:72px 0 94px;

    background:
        radial-gradient(
            circle at 8% 0,
            rgba(37,99,235,.04),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            #f7faff 0%,
            #ffffff 100%
        );
}

.cta-section .le-container{
    position:relative;
    z-index:2;

    width:min(1680px,94%);
    margin:0 auto;
}


/* ==================================================
   CONTENEUR PRINCIPAL
================================================== */

.cta-box{
    position:relative;
    overflow:hidden;

    min-height:430px;
    padding:52px 48px;

    border:1px solid rgba(255,255,255,.10);
    border-radius:30px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37,99,235,.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 87% 18%,
            rgba(37,99,235,.11),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #000d20 0%,
            #041a3d 58%,
            #000d20 100%
        );

    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(280px,.72fr) minmax(340px,380px);
    align-items:center;
    gap:44px;

    box-shadow:
        0 36px 100px rgba(0,13,32,.24),
        inset 0 1px 0 rgba(255,255,255,.10);
}

.cta-box::before{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.035),
            transparent 27%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(37,99,235,.09),
            transparent 32%
        );

    pointer-events:none;
}

.cta-box::after{
    content:"";

    position:absolute;
    inset:1px;

    border:1px solid rgba(255,255,255,.045);
    border-radius:29px;

    pointer-events:none;
}

.cta-box > *{
    position:relative;
    z-index:2;
}


/* ==================================================
   CONTENU
================================================== */

.cta-content{
    min-width:0;
}

.cta-content::before{
    content:"Passez à  l'étape suivante";

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:29px;
    padding:0 12px;
    margin:0 0 18px;

    border:1px solid rgba(96,165,250,.24);
    border-radius:999px;

    background:rgba(37,99,235,.14);
    color:#86b5ff;

    font-size:10.5px;
    font-weight:900;
    line-height:1;
    letter-spacing:.7px;
    text-transform:uppercase;

    box-shadow:
        0 8px 22px rgba(0,0,0,.10),
        inset 0 1px 0 rgba(255,255,255,.08);
}

.cta-content h2{
    max-width:650px;

    margin:0 0 20px;

    color:#ffffff;

    font-size:clamp(39px,3.1vw,48px);
    font-weight:950;
    line-height:1.08;
    letter-spacing:-1.35px;
}

.cta-content p{
    max-width:650px;

    margin:0 0 32px;
    padding:0 !important;

    color:rgba(255,255,255,.76);

    font-size:16px;
    font-weight:500;
    line-height:1.72;
}


/* ==================================================
   BOUTONS
================================================== */

.cta-buttons{
    display:flex;
    align-items:stretch;
    flex-wrap:wrap;

    gap:13px;
}

.cta-btn{
    position:relative;
    overflow:hidden;

    min-height:58px;
    padding:0 22px;

    border-radius:13px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    text-decoration:none;
    text-align:center;
    white-space:nowrap;

    font-size:14px;
    font-weight:900;
    line-height:1.3;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.cta-btn::before{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            120deg,
            transparent 30%,
            rgba(255,255,255,.18) 48%,
            transparent 66%
        );

    transform:translateX(-115%);

    transition:transform .55s ease;
}

.cta-btn:hover::before{
    transform:translateX(115%);
}

.cta-btn:hover{
    transform:translateY(-4px);
}

.cta-btn > *{
    position:relative;
    z-index:2;
}

.cta-btn-primary{
    min-width:min(290px,100%);

    border:1px solid rgba(255,255,255,.10);

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #0757f9
        );

    color:#ffffff;

    box-shadow:
        0 20px 44px rgba(37,99,235,.30),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.cta-btn-primary:hover{
    color:#ffffff;

    box-shadow:
        0 25px 54px rgba(37,99,235,.38),
        inset 0 1px 0 rgba(255,255,255,.20);
}

.cta-btn-secondary{
    min-width:min(180px,100%);

    border:1px solid rgba(255,255,255,.18);

    background:rgba(255,255,255,.06);
    color:#ffffff;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07);
}

.cta-btn-secondary:hover{
    border-color:rgba(255,255,255,.36);

    background:rgba(255,255,255,.12);
    color:#ffffff;

    box-shadow:0 18px 38px rgba(0,0,0,.18);
}

.cta-btn-icon{
    width:22px;
    height:22px;
    flex:0 0 22px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.cta-btn-icon svg{
    width:100%;
    height:100%;

    fill:none;
    stroke:currentColor;
    stroke-width:2.2;
    stroke-linecap:round;
    stroke-linejoin:round;
}


/* ==================================================
   LISTE ALIGNEMENTS
================================================== */

.cta-list{
    min-width:0;

    padding:8px 0 8px 34px;

    border-left:1px solid rgba(255,255,255,.14);

    display:grid;
    grid-template-rows:repeat(4,minmax(50px,auto));
    align-content:center;

    gap:12px;
}

.cta-list-item{
    min-width:0;
    min-height:50px;

    display:grid;
    grid-template-columns:27px minmax(0,1fr);
    align-items:center;

    gap:12px;

    color:rgba(255,255,255,.84);

    font-size:14px;
    font-weight:700;
    line-height:1.45;
}

.cta-check{
    width:27px;
    height:27px;
    flex:0 0 27px;

    border-radius:50%;

    background:rgba(37,99,235,.16);
    color:#82b2ff;

    display:flex;
    align-items:center;
    justify-content:center;
}

.cta-check svg{
    width:14px;
    height:14px;

    fill:none;
    stroke:currentColor;
    stroke-width:2.5;
    stroke-linecap:round;
    stroke-linejoin:round;
}


/* ==================================================
   IMAGE
================================================== */

.cta-image-wrap{
    position:relative;

    width:100%;
    height:315px;

    overflow:hidden;

    border-radius:22px;

    box-shadow:
        0 27px 70px rgba(0,0,0,.34),
        inset 0 0 0 1px rgba(255,255,255,.10);
}

.cta-image-wrap::before{
    content:"";

    position:absolute;
    inset:0;
    z-index:2;

    background:
        linear-gradient(
            180deg,
            rgba(0,13,32,.02) 30%,
            rgba(0,13,32,.50) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0,13,32,.20),
            transparent 65%
        );

    pointer-events:none;
}

.cta-image-wrap img{
    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    display:block;

    transform:scale(1.03);

    transition:
        transform .85s cubic-bezier(.22,.61,.36,1),
        filter .5s ease;
}

.cta-box:hover .cta-image-wrap img{
    transform:scale(1.08);
    filter:brightness(1.04);
}


/* ==================================================
   RESPONSIVE â€” DESKTOP MOYEN
================================================== */

@media(max-width:1450px){

    .cta-box{
        min-height:400px;

        padding:46px 40px;

        grid-template-columns:minmax(0,1.1fr) minmax(260px,.72fr) 330px;
        gap:34px;
    }

    .cta-content h2{
        font-size:41px;
    }

    .cta-content p{
        font-size:15px;
    }

    .cta-btn-primary{
        min-width:250px;
    }

    .cta-btn-secondary{
        min-width:160px;
    }

    .cta-list{
        padding-left:28px;
    }

    .cta-list-item{
        font-size:13.5px;
    }

    .cta-image-wrap{
        height:290px;
    }
}


/* ==================================================
   RESPONSIVE â€” TABLETTE / PETITS LAPTOPS
================================================== */

@media(max-width:1200px){

    .cta-section{
        padding:60px 0 78px;
    }

    .cta-section .le-container{
        width:min(94%,1050px);
    }

    .cta-box{
        min-height:0;

        padding:42px;

        grid-template-columns:minmax(0,1fr) 330px;
        grid-template-areas:
            "content image"
            "list image";

        gap:30px 36px;
    }

    .cta-content{
        grid-area:content;
    }

    .cta-list{
        grid-area:list;

        padding:0;

        border-left:0;

        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-template-rows:auto;

        gap:12px 18px;
    }

    .cta-list-item{
        min-height:48px;
    }

    .cta-image-wrap{
        grid-area:image;

        width:100%;
        height:100%;
        min-height:360px;
    }
}


/* ==================================================
   RESPONSIVE â€” TABLETTE PORTRAIT
================================================== */

@media(max-width:900px){

    .cta-section{
        padding:52px 0 70px;
    }

    .cta-box{
        padding:32px;

        grid-template-columns:1fr;
        grid-template-areas:
            "content"
            "list"
            "image";

        gap:28px;

        border-radius:24px;
    }

    .cta-box::after{
        border-radius:23px;
    }

    .cta-content{
        text-align:center;
    }

    .cta-content::before{
        margin-left:auto;
        margin-right:auto;
    }

    .cta-content h2,
    .cta-content p{
        margin-left:auto;
        margin-right:auto;
    }

    .cta-buttons{
        justify-content:center;
    }

    .cta-list{
        width:min(700px,100%);
        margin:0 auto;

        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .cta-image-wrap{
        height:270px;
        min-height:270px;
    }
}


/* ==================================================
   RESPONSIVE â€” MOBILE
================================================== */

@media(max-width:650px){

    .cta-section{
        padding:40px 0 56px;
    }

    .cta-section .le-container{
        width:calc(100% - 28px);
    }

    .cta-box{
        padding:22px;

        gap:24px;

        border-radius:20px;
    }

    .cta-box::after{
        border-radius:19px;
    }

    .cta-content::before{
        min-height:27px;
        padding:0 10px;

        font-size:9.5px;
    }

    .cta-content h2{
        margin-bottom:16px;

        font-size:31px;
        line-height:1.11;
        letter-spacing:-.8px;
    }

    .cta-content p{
        margin-bottom:26px;

        font-size:14px;
        line-height:1.62;
    }

    .cta-buttons{
        flex-direction:column;
        align-items:stretch;

        gap:10px;
    }

    .cta-btn,
    .cta-btn-primary,
    .cta-btn-secondary{
        width:100%;
        min-width:0;
        min-height:56px;

        padding:0 16px;

        white-space:normal;
    }

    .cta-list{
        grid-template-columns:1fr;

        gap:10px;
    }

    .cta-list-item{
        min-height:46px;

        font-size:13px;
        text-align:left;
    }

    .cta-image-wrap{
        height:220px;
        min-height:220px;

        border-radius:17px;
    }
}


/* ==================================================
   PETITS MOBILES
================================================== */

@media(max-width:430px){

    .cta-section .le-container{
        width:calc(100% - 20px);
    }

    .cta-box{
        padding:18px;

        gap:21px;

        border-radius:17px;
    }

    .cta-content h2{
        font-size:28px;
    }

    .cta-content p{
        font-size:13.5px;
    }

    .cta-btn,
    .cta-btn-primary,
    .cta-btn-secondary{
        min-height:54px;

        padding:0 13px;

        border-radius:11px;

        font-size:13px;
    }

    .cta-list-item{
        grid-template-columns:25px minmax(0,1fr);

        gap:10px;

        font-size:12.5px;
    }

    .cta-check{
        width:25px;
        height:25px;
        flex-basis:25px;
    }

    .cta-image-wrap{
        height:195px;
        min-height:195px;
    }
}


/* ==================================================
   TReS PETITS eCRANS
================================================== */

@media(max-width:340px){

    .cta-section .le-container{
        width:calc(100% - 14px);
    }

    .cta-box{
        padding:15px;
    }

    .cta-content h2{
        font-size:26px;
    }

    .cta-btn{
        font-size:12px;
    }

    .cta-list-item{
        font-size:12px;
    }
}


/* ==================================================
   TACTILE
================================================== */

@media(hover:none){

    .cta-btn:hover{
        transform:none;
    }

    .cta-btn:hover::before{
        transform:translateX(-115%);
    }

    .cta-box:hover .cta-image-wrap img{
        transform:scale(1.03);
        filter:none;
    }
}


/* ==================================================
   ACCESSIBILITE
================================================== */

@media(prefers-reduced-motion:reduce){

    .cta-btn,
    .cta-btn::before,
    .cta-image-wrap img{
        animation:none !important;
        transition:none !important;
    }
}