@font-face {
    font-family: "Nissan Brand W06";
    src: url("../fonts/NissanBrandW06-Light.woff2") format("woff2"), url("fonts/NissanBrandW06-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Nissan Brand W06";
    src: url("../fonts/NissanBrandW06-Regular.woff2") format("woff2"), url("fonts/NissanBrandW06-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Nissan Brand W06";
    src: url("../fonts/NissanBrandW06-Bold.woff2") format("woff2"), url("fonts/NissanBrandW06-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

body {
    font-family: "Nissan Brand W06", sans-serif;
    padding: 0;
    margin: 0;
    color: #fff;
    background: #000;
    font-size: 16px
}

input,
select,
button {
    font-size: 12px;
    color: #000;
    font-family: "Nissan Brand W06"
}

*,
*:after,
*:before {
    box-sizing: border-box
}

p,
h1 {
    margin: 0
}

img {
    display: block;
    max-width: 100%;
    height: auto
}

.desktop {
    display: none
}

.mobile {
    display: block
}

main {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    background: url("../images/header.png") no-repeat top center/100% auto;
    padding: calc(min(100vw, 500px) + 54px) 0 0 0
}

main .logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
    background: rgba(0, 0, 0, .5);
    z-index: 2
}

main .form {
    width: 100%;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

main .form .merci {
    display: none;
    flex-direction: column;
    gap: 20px;
    width: 100%
}

main .form .merci .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fff;
    text-align: center
}

main .form .merci .content strong {
    font-size: 16px;
    line-height: 118%;
    font-weight: bold
}

main .form .merci .content p {
    font-size: 14px;
    line-height: 120%
}

main .form .merci a {
    background: #fff;
    color: #000;
    text-align: center;
    width: 100%;
    max-width: 333px;
    height: 56px;
    font-size: 18px;
    border: none;
    font-weight: bold;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    transition: all .45s ease-in-out;
    text-transform: uppercase;
    margin: 0 auto;
    border: none;
    text-decoration: none
}

main .form .merci a:hover {
    background: #000;
    color: #fff
}

main .form .intro {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fff
}

main .form .intro strong {
    font-size: 22px;
    line-height: 118%;
    font-weight: bold
}

main .form .intro p {
    font-size: 12px;
    line-height: 120%
}

main .form form {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%
}

main .form form .form-cadre {
    display: flex;
    flex-direction: column;
    gap: 5px
}

main .form form .form-cadre label {
    font-size: 16px;
    line-height: 126%;
    font-weight: normal;
    text-transform: uppercase
}

main .form form .group {
    display: flex;
    flex-direction: column;
    gap: 16px
}

main .form form .champ {
    background: #fff;
    border: none;
    height: 46px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 4px;
    line-height: 46px;
    display: block;
    width: 100%;
    padding: 0 14px;
    color: #000;
    outline: none;
    border: none
}

main .form form .legend {
    font-size: 12px;
    line-height: 126%;
    font-weight: 300;
    padding-top: 20px;
    border-top: 1px solid #fff;
    margin: 4px 0 10px 0
}

main .form form .button {
    background: #fff;
    color: #000;
    text-align: center;
    width: 100%;
    max-width: 336px;
    height: 56px;
    font-size: 18px;
    border: none;
    font-weight: bold;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    transition: all .45s ease-in-out;
    text-transform: uppercase;
    margin: 0 auto;
    border: none
}

main .form form .button:hover {
    background: #000;
    color: #fff
}

footer {
    background: #1a1a1a;
    padding: 30px;
    font-size: 11px;
    color: #aaa;
    max-width: 1728px;
    margin: 0 auto
}

footer .nissan {
    padding: 0 0 30px 0
}

footer .nissan img {
    margin: 0 auto
}

footer .garantie {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 22px 0
}

footer .garantie img {
    margin: 0 auto
}

footer p {
    padding: 30px 0 0 0;
    text-align: center
}

footer p a {
    color: inherit;
    text-decoration: underline;
    transition: all .45s ease-in-out
}

footer p a:hover {
    color: #fff
}

.taille-1080,
.taille-1200,
.taille-1550 {
    display: none;
}


@media only screen and (min-device-width: 1024px) and (max-device-width: 1200px) {
    .taille-1080 {
        display: inline-block;
    }
}

@media(min-width: 1024px) {

    main {
        max-width: 1728px;
        background-image: url("../images/header-pc.png");
        background-size: cover;
        background-position: top left -60px;
        padding-top: 55px
    }

    main .form {
        width: 45%;
        margin: 0 0 0 auto;
        min-height: 670px
    }

    main .form form {
        position: relative
    }

    main .form form .civilite {
        width: calc(50% - 8px)
    }

    main .form form .group {
        flex-direction: row
    }

    main .form form .group .form-cadre {
        flex: 1
    }

    main .form form .legend {
        position: absolute;
        bottom: 10px;
        left: 0;
        width: 100%;
        z-index: 1;
        margin: 0
    }

    main .form form .button {
        width: min(60%, 280px);
        margin: 30px 0 0 auto;
        position: relative;
        z-index: 2
    }
}

@media(min-width: 1180px) {
    main {
        background-position: top left
    }

}

@media only screen and (min-device-width: 1200px) and (max-device-width: 1550px) {
    .taille-1200 {
        display: inline-block;
    }

}

@media(min-width: 1330px) {
    main {
        background-position: top left -100px
    }

    main .form {
        padding: 150px 40px;
        width: 40%;
        min-height: 960px
    }

    main .form .merci .content strong {
        font-size: 20px
    }

    main .form .merci .content p {
        font-size: 16px
    }

    main .form .intro strong {
        font-size: 24px
    }

    main .form .intro p {
        font-size: 16px
    }

    main .form form .civilite {
        width: calc(50% - 10px)
    }

    main .form form .group {
        gap: 20px
    }

    main .form form .legend {
        position: absolute;
        bottom: 15px;
        left: 0;
        width: 100%;
        z-index: 1;
        margin: 0
    }

    main .form form .button {
        width: min(60%, 280px);
        margin: 30px 0 0 auto;
        position: relative;
        z-index: 2
    }
}

@media(min-width: 1440px) {
    main {
        background-position: top left
    }
}

@media(min-width: 1600px) {
    main .form {
        width: 44.38%;
        padding: 150px 73px
    }
}

@media(min-width: 1550px) {
    .taille-1550 {
        display: inline-block;
    }
}