.wp-join{
    width:min(1040px,calc(100% - 40px));
    margin:36px auto 70px;
    color:#111;
}

.wp-join *{
    box-sizing:border-box;
}

/* INTRODUCTION */

.wp-join-head{
    margin:0 0 28px;
    text-align:left;
}

.wp-join-head h1{
    margin:0;
    padding:0 0 9px;
    color:#111;
    font-size:1.45rem;
    font-weight:800;
    text-transform:uppercase;
}

.wp-join-head h1::after{
    content:"";
    display:block;
    width:300px;
    max-width:55%;
    height:2px;
    margin-top:8px;
    background:#ca161a;
}

.wp-join-head p{
    margin:16px 0 0;
    padding-left:15px;
    border-left:4px solid #ca161a;
    font-size:.96rem;
}


/* LES 3 CARTES */

.wp-join-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:48px;
    row-gap:34px;
    align-items:start;
}

.wp-join-step{
    position:relative;
    overflow:visible;
    background:#fff;
    border-radius:4px;
    box-shadow:0 3px 12px rgba(0,0,0,.28);
}

.wp-join-step-1,
.wp-join-step-2,
.wp-join-step-3{
    min-height:0;
}


/* BANDE ROUGE + LOTTIE */

.wp-join-lottie{
    width:100%;
    height:86px;
    padding:8px;
    overflow:hidden;
    background:#ca161a;
    border-radius:4px 4px 0 0;
}

.wp-join-lottie svg{
    display:block;
    width:100% !important;
    height:100% !important;
}


/* CONTENU DES CARTES */

.wp-join-body{
    padding:7px 16px 18px;
}

.wp-join-body h2{
    position:relative;
    min-height:42px;
    margin:0 0 14px;
    padding:8px 0 0 44px;
    color:#111;
    font-size:.8rem;
    font-weight:800;
    line-height:1.2;
    text-transform:uppercase;
}

.wp-join-body h2 span{
    position:absolute;
    top:4px;
    left:-11px;

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

    width:36px;
    height:36px;

    border-radius:50%;
    background:#ca161a;
    color:#fff;

    font-size:1.15rem;
    font-weight:800;
}

.wp-join-body p{
    margin:11px 0;
    color:#111;
    font-size:.86rem;
    line-height:1.55;
}

.wp-join-body ul{
    margin:16px 0;
    padding:0 0 0 18px;
}

.wp-join-body li{
    margin:8px 0;
    color:#111;
    font-size:.78rem;
    line-height:1.45;
}

.wp-join-body a{
    color:#e11b22;
    font-weight:700;
    text-decoration:none;
}

.wp-join-body a:hover{
    text-decoration:underline;
}


/* FLÈCHES ENTRE 1 > 2 > 3 */

.wp-join-step-1::after,
.wp-join-step-2::after{
    content:"❯❯❯";

    position:absolute;
    z-index:5;
    top:52%;
    right:-43px;

    transform:translateY(-50%);

    color:#ed6870;
    font-size:2.6rem;
    font-weight:900;
    letter-spacing:-12px;
}


/* ÉTAPE 4 */

.wp-join-step-4{
    grid-column:1 / -1;

    width:72%;
    min-height:0;

    justify-self:center;

    margin-top:4px;
}

.wp-join-step-4 .wp-join-lottie{
    height:92px;
}

.wp-join-step-4 .wp-join-body{
    padding:6px 22px 14px;
}

.wp-join-step-4 .wp-join-body h2{
    margin-bottom:2px;
    min-height:42px;
}

.wp-join-step-4 .wp-join-body p{
    margin:0;
}


/* SIGNATURE */

.wp-join-signature{
    width:62%;
    margin:20px auto 0;
    padding-top:23px;

    border-top:2px solid #ca161a;

    text-align:center;
}

.wp-join-signature p{
    margin:7px 0;
    font-size:.85rem;
    line-height:1.55;
}

.wp-join-signature img{
    display:block;
    width:58px;
    height:58px;
    margin:10px auto 4px;
    object-fit:contain;
}


/* TABLETTE */

@media(max-width:900px){

    .wp-join-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:30px;
    }

    .wp-join-step-3{
        grid-column:1 / -1;
        width:calc(50% - 15px);
        justify-self:center;
    }

    .wp-join-step-1::after,
    .wp-join-step-2::after{
        display:none;
    }

    .wp-join-step-4{
        width:85%;
    }
}


/* MOBILE */

@media(max-width:650px){

    .wp-join{
        width:calc(100% - 24px);
        margin-top:24px;
    }

    .wp-join-head h1{
        font-size:1.15rem;
    }

    .wp-join-grid{
        display:block;
    }

    .wp-join-step,
    .wp-join-step-3,
    .wp-join-step-4{
        width:100%;
        min-height:0;
        margin:0 0 36px;
    }

    .wp-join-step-1::after,
    .wp-join-step-2::after{
        display:block;

        content:"❯❯❯";

        top:auto;
        right:50%;
        bottom:-31px;

        transform:translateX(50%) rotate(90deg);

        font-size:1.8rem;
    }

    .wp-join-lottie,
    .wp-join-step-4 .wp-join-lottie{
        height:105px;
    }

    .wp-join-signature{
        width:90%;
    }
}
