section.formulaire{
    margin-top: 80px;
    padding-bottom: 145px;
    position: relative;
}

section.formulaire h1{
    font-weight: 400;
    /*font-size: 40px;
    line-height: 46px;*/
    font-size: 30px;
    line-height: 40px;
    text-align: center;
}

section.formulaire p.asterisque{
    font-family: TexteCustom, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    margin-top: 23px;
}

section.formulaire .form-wrapper{
    margin-top: 52px;
}

section.formulaire .form-wrapper .gform_heading{
    display: none;
}

section.formulaire .form-wrapper input:not([type="submit"]),
section.formulaire .form-wrapper textarea{
    border: 1px solid #000000;
    max-width: 100%;
}

section.formulaire .form-wrapper.arrondi input:not([type="submit"]),
section.formulaire .form-wrapper.arrondi select{
    border-radius: 30px;
    height: 35px;
    z-index: 1;
    position: relative;
    background: transparent;
}

section.formulaire .form-wrapper.arrondi textarea{
    border-radius: 30px;
    z-index: 1;
    position: relative;
    background: transparent;
}

section.formulaire .form-wrapper.arrondi input[type="submit"]{
    z-index: 1;
    position: relative;
    background: transparent;
}

section.formulaire .form-wrapper input:focus,
section.formulaire .form-wrapper textarea:focus,
section.formulaire .form-wrapper select:focus{
    border: 1px solid #000000;
}

section.formulaire .form-wrapper label{
    margin-bottom: 10px;
    font-family: TexteCustom, sans-serif;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 22px;
    padding-top: 0 !important;
}

section.formulaire .form-wrapper .ginput_complex{
    flex-direction: column;
}

section.formulaire .form-wrapper .ginput_complex span{
    padding: 0 !important;
    width: 100%;
}

section.formulaire .form-wrapper .ginput_complex > span:first-child{
    margin-bottom: 30px;
}

section.formulaire .form-wrapper .gform_fields{
    grid-row-gap: 30px;
}

section.formulaire .form-wrapper .gform_fields fieldset .ginput_complex{
    flex-direction: column-reverse;
}

section.formulaire .form-wrapper .gform_fields fieldset .ginput_complex > span:first-child{
    margin-bottom: 0;
}

section.formulaire .form-wrapper .gform_fields fieldset .ginput_complex > span:last-child{
    margin-bottom: 30px;
}

section.formulaire .form-wrapper input[type="submit"]{
    font-family: TitreCustom, sans-serif!important;
    width: fit-content!important;
    cursor: pointer!important;
    font-weight: 500!important;
    color: #000!important;
    font-size: 12px!important;
    line-height: 23px!important;
    display: flex!important;
    align-items: center!important;
    text-align: center!important;
    letter-spacing: 0.2em!important;
    text-transform: uppercase!important;
    border: 1px solid #000!important;
    padding: 9.5px 29px!important;
    background: none!important;
    margin-bottom: 0!important;
}

section.formulaire .form-wrapper input[type="submit"]:hover{
    background: #000;
    color: #fff;
    border-color: #fff;
}

section.formulaire .form-wrapper.arrondi input[type="submit"]{
    border-radius: 35px;
}

section.formulaire .form-wrapper .gform_footer{
    margin: 29px 0 0;
    padding: 0;
}

section.formulaire .gfield--type-html{
    margin-top: 63px;
    font-family: TexteCustom, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    border-top: 1px solid #000;
    padding-top: 13px;
}

section.formulaire .pattern{
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    display: flex;
    z-index:-1;
}

section.formulaire .pattern img{
    width: 100%;
}

section.formulaire .pattern.right{
    right: 0;
    left: unset;
    display: flex;
    justify-content: end;
    width: auto;
}

section.formulaire .gfield--type-html.evenement,
section.formulaire .gfield--type-html.coordonnees{
    border-top: 0;
}

section.formulaire .gfield--type-html.evenement h2,
section.formulaire .gfield--type-html.coordonnees h2{
    font-family: TexteCustom, sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    text-transform: uppercase;
}

section.formulaire .gfield--type-html.infos{
    grid-column: 1/3;
}

section.formulaire .gfield--type-html.coordonnees{
    margin-top: 33px;
}

section.formulaire .gform_wrapper.gravity-theme .gfield_required{
    color: #000;
}

@media screen and (min-width: 768px){
    section.formulaire{
        margin-top: 177px;
        padding-bottom: 136px !important;
    }

    section.formulaire h1{
        /*font-size: 55px;
        line-height: 60px;*/
        font-size: 40px;
        line-height: 55px;
    }

    section.formulaire .form-wrapper{
        margin-top: 82px;
    }

    section.formulaire .form-wrapper .gform_fields{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 50px;
    }

    section.formulaire:not(.devis) .form-wrapper .gform_fields .gfield{
        grid-column: 1;
    }

    section.formulaire .form-wrapper .gform_fields .gfield.gfield--type-textarea{
        grid-column: 2;
        grid-row: 1 / 4;
        height: 100%;
    }

    section.formulaire .form-wrapper .gform_fields .ginput_container_textarea{
        height: calc(100% - 30px);
    }

    section.formulaire .form-wrapper .gform_fields .ginput_container_textarea textarea{
        height: 100%;
    }

    section.formulaire .form-wrapper label{
        font-size: 16px !important;
        line-height: 20px;
    }

    section.formulaire .form-wrapper .gform_fields .gfield.gfield--type-html{
        grid-column: 1 / 3;
        margin-top: 152px;
        font-size: 16px;
        line-height: 20px;
    }

    section.formulaire.devis .form-wrapper .gform_fields .gfield.gfield--type-html.infos{
        margin-top: 124px;
    }

    section.formulaire .form-wrapper .gform_fields .gfield.gfield--type-html.evenement{
        grid-column: 1;
        margin-top: 0;
    }

    section.formulaire .form-wrapper .gform_fields .gfield.gfield--type-html.coordonnees{
        grid-column: 2;
        margin-top: 0;
    }

    section.formulaire .form-wrapper .gform_fields .gfield.commentaires{
        grid-row: 6;
        grid-column: 1 / 3 !important;
        margin-top: 33px;
    }

    section.formulaire.devis .form-wrapper .gform_fields .gfield{
        grid-column: unset;
    }

    section.formulaire.devis .form-wrapper .gform_fields .gfield.tel{
        grid-column:2;
    }

    section.formulaire.devis .form-wrapper .gform_fields .gfield.gfield--type-name{
        grid-row: 2/4;
        grid-column: 2;
    }

    section.formulaire .gfield--type-html.infos{
        grid-column: 1/3 !important;
    }

    section.formulaire .gfield--type-html.coordonnees{
        grid-row: 1;
    }

    section.formulaire .form-wrapper .gform_fields .gfield.mail{
        grid-column: 2;
        grid-row: 4;
    }

    section.formulaire .form-wrapper .gform_fields .gfield.nombre{
        grid-column: 1;
    }

    section.formulaire .gfield--type-html.evenement h2,
    section.formulaire .gfield--type-html.coordonnees h2{
        font-weight: 500;
        font-size: 30px;
        line-height: 45px;
    }
}

@media screen and (min-width: 992px){
    section.formulaire .form-wrapper .gform_fields{
        grid-column-gap: 173px;
    }

    section.formulaire.devis .form-wrapper .gform_fields{
        grid-column-gap: 255px;
    }
}