* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    cursor: pointer;
    text-decoration: none;
}

img {
    max-width: 100%;
}

html {
    width: 100%;
    height: 100%;
    background: #000;
    font-size: 62.5%;
}

body {
    width: 100%;
    min-height: 100%;
    color: #fff;
    font-family: 'Alexandria', sans-serif;
    text-align: center;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/*HEADER*/

header {
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
}

.menu {
    height: 2.5vh;
}

.logo {
    width: 120px;
    height: auto;
}

.logo-picture {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.label_cobrand {
    display: block;
    padding-top: 10px;
    font-size: 10px;
    font-weight: 400;
    font-family: Arial;
}

.coobranding {
    color: white;
}

.logoBottom {
    height: 6vh;
}

/*CTA COMPLET*/

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 4vw 3vh;
    position: fixed;
    background-color: black;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.cta button {
    background: linear-gradient(#ff68a7, #ff3b8d);
    box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.7), inset -1px -1px 0px rgba(0, 0, 0, 0.5), -6px -5px 10px rgba(255, 255, 255, 0.2), 3px 5px 10px rgba(255, 69, 133, .3), 2px 7px 10px 2px rgba(0, 0, 0, 0.5);
}

.offre {
    width: 27vh;
}

.disclaimer {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 12px;
}

.button {
    font-size: 24px;
    font-family: arial;
    text-transform: uppercase;
    font-weight: 700;
    background: linear-gradient(to bottom, #ec69a4, #f43f8a);
    padding: 2vh;
    width: 80%;
    border-radius: 4px;
    box-shadow: rgb(243 71 142 / 80%) 0 4px 10px;
    color: white;
}

.tarif {
    font-size: 12px;
    font-family: arial;
    margin-top: 15px;
    width: 84%;
    color: #787878;
}

/*BOX IMG*/

.boxImg {
    display: flex;
    flex-wrap: wrap;
}

.vignette {
    width: 50vw;
    height: 50vw;
}

#un {
    background: url(../images/1.jpg) no-repeat center / cover;
}

#deux {
    background: url(../images/2.jpg) no-repeat center / cover;
}

#trois {
    background: url(../images/3.jpg) no-repeat center / cover;
}

#quatre {
    background: url(../images/4.jpg) no-repeat center / cover;
}

#cinq {
    background: url(../images/5.jpg) no-repeat center / cover;
}

#six {
    background: url(../images/6.jpg) no-repeat center / cover;
}

#sept {
    background: url(../images/7.jpg) no-repeat center / cover;
}

#huit {
    background: url(../images/8.jpg) no-repeat center / cover;
}

/*FOOTER*/

footer {
    padding: 4vw;
    width: 100%;
    background: #000;
}

.subFooter {
    display: grid;
    justify-items: center;
    grid-gap: 2vh;
    padding-bottom: 4vh;
}

.cobranding {
    font-size: 3vw;
    color: #bbb;
}

.internetplus {
    width: 30vw;
}

.synop {
    width: 6vw;
}

.menuFooter {
    display: flex;
    justify-content: space-evenly;
    grid-gap: 4vw;
}

.menuFooter a {
    font-size: 3vw;
    font-weight: 700;
    text-transform: capitalize;
    padding: 1vh 2vw;
    border-radius: 4px;
    text-decoration: 0;
    color: #fff;
}

#mandatory_fr_lp_text {
    font-family: arial;
}


/*TRIFI*/


/* form */
form {
    display: grid;
    justify-items: center;
    grid-gap: 2vh;
    width: 100%;
}

#submitBtn {
    font-size: 31px;
    padding: 18px;
    width: 85%;
    color: #fff;
    font-weight: 800;
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
}

#submitBtn:disabled {
    background: #cccccc;
    color: #fff;
    box-shadow: none;
}s

#enter {
    font-size: 1.4rem !important;
}

#phoneNumber {
    font-size: 2.5rem;
    border-radius: 50px;
    text-align: center;
    padding: 2vh 0;
    width: 75%;
    letter-spacing: 2px;
}

#phoneNumber::placeholder {
    color: lightgrey;
}

#phoneNumber:invalid {
    border: 5px solid #ff4191;
}

#phoneNumber:valid {
    border: 5px solid #7fda7f;
}

#error {
    color: red;
}



/*  */

@media only screen and (min-width : 1000px) {
    body {
        justify-items: start;
        align-content: center;
        display: grid;
        background: url('../images/bg-desktop.jpg') no-repeat center / cover;
    }

    main {
        align-content: center;
        grid-template-rows: auto 1fr;
    }

    nav {
        justify-content: end;
    }

    nav a {
        font-size: 1vw;
    }

    .cta {
        width: 50vw;
        margin: auto;
        position: absolute;
        top: 8Vh;
        right: 25vw;
        transform: none;
    }

    .offre {
        width: 13vw;
    }

    form {
        width: 60%;
    }

    .disclaimer {
        font-size: 16px;
    }

    .button {
        font-size: 3vh;
        width: 25vw;
        text-align: center;
    }

    .tarif {
        font-size: 12px;
    }

    .cobranding {
        font-size: 1vw;
    }

    .internetplus {
        width: 10vw;
    }

    .synop {
        width: 2vw;
    }

    .menuFooter a {
        font-size: 1.2vw;
    }

    .horizontalDesktop {
        display: flex;
    }

    .topImg {
        background: url(../images/bg.jpg) no-repeat bottom / cover;
        width: 50vw;
        height: 55vh;
    }

    .boxImgBottom {
        margin-top: 0;
    }

    .vignette {
        width: 25vw;
        height: 25vw;
    }

    header {
        border-bottom: 1px solid #232323;
    }

    footer {
        padding: 2vw;
    }

    #mandatory_fr_lp_text {
        width: 70%;
        margin: 0 auto;
    }

    #phoneNumber {
        font-size: 2rem;
    }

    #submitBtn {
        font-size: 27px;
        padding: 12px;
        width: 100%;
    }
}
