html{
    font-size: 62.5%;
}
body{
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 1.4rem;
    line-height: 1.8rem;
    font-weight:400;
    padding: 0;
    color: #121212;
    background-color: #ffffff;
}
main{
    background-color: #ffffff;
}
.img-responsive{display:inline-block;}


h1{
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 2.6rem;
    line-height: 1;
    color: #D02A4C;
    font-weight: 600;
    margin: 0;
    text-align: center;
    position: relative;
    text-transform: uppercase;
}
h1::before{
    content: '';
    background-image: url('img/immeuble.png');
    background-size: 85%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15rem;
    height: 15rem;
    background-color: #ffffff;
    z-index: 0;
    border-radius: 50%;
}
h1 span{
    display: block;
    padding-top: 6rem;
    position: relative;
    z-index: 1;
}
h2{
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size:2rem;
    color:#D02A4C;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}
.btn{
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background-color: #D02A4C;
    border-radius: 1.6rem;
    padding: 1rem 2rem;
    border: none;
    box-shadow: none;
    font-weight: 600;
}
.btn:hover,
.btn:focus{
    background-color: #121212;
    color: #ffffff;
}
.btn-disabled,
.btn-disabled:hover,
.btn-disabled:focus,
.btn-disabled:active{
    background-color: rgba(208, 42, 76, 0.5);
    box-shadow: none;
    pointer-events: none;
}
.select-container{
    position: relative;
    display: inline-block;
    width: auto;
    background-color: #ffffff;
    color: #121212;
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6rem;
    padding: 1rem 2rem;
    border: 0.1rem solid #D1D1D1;
    border-radius: 1.6rem;
}
.select-container select{
    -webkit-appearance: none; /* Supprime la flèche native */
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    padding: 0 1.5rem 0 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: inherit;
    background-color: #ffffff;
    color: #121212;
}
.select-container .icon-select{
    font-size: 1.2rem;
    color: #001A72;
    position: absolute;
    right: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Empêche de cliquer sur la flèche */
    width: 12px;
    height: 11px;
    background-color: #121212;
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.italic{
    font-style: italic;
}
.strong {
    font-weight: 700;
}


header{
    padding: 2rem;
    position: relative;
    background: #ffffff url(img/header-min.jpg) no-repeat top center / cover;
    height: 40rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 4rem;
}
header .img-title{
    width:25rem;
}

.linear-gradient-bottom-to-top::before{
    content: "";
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    background: linear-gradient(0deg,#ffffff,rgba(255,255,255,0) 24%);
}

#intro{
    margin-top: -1rem;
}

main section{
    margin-bottom: 4rem;
}

main section#form{
    width: 92%;
    margin: 0 auto 8rem;
}
section#form h2{
    color: #000000;
}

.form-group{
    margin-bottom: 2rem;
}
.form-group > p{
    margin: 0;
}
form .form-control{
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6rem;
    color: #000000;
    border-radius: 2rem;
    border: 1px solid #dddddd !important;
    box-shadow: none;
    padding: 1.7rem 2rem;
}
form input.form-control,
form select.form-control{
    height: 5rem;
    border-radius: 4rem;
}
form .form-control::placeholder{
    color: #000000;
    font-weight: 400;
}
form .form-control:focus{
    box-shadow: none;
}
.wpcf7-list-item{
    margin: 0;
}
.wpcf7-list-item > label{
    display: flex;
    align-items: start;
    gap: 1rem;
}
.wpcf7-list-item > label > input{
    flex: 1 0 auto;
    margin: 0;
}
form input[type="checkbox"] + span{
    font-family: 'Roboto', 'Montserrat', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6rem;
    color: #000000;
    font-weight: 400;
    margin-top: 0.3rem
}
form input[type="checkbox"]{
    accent-color: #D02A4C;
    height:2rem;
    width:2rem;
}

form .input-wrap .wpcf7-form-control-wrap,
form .select-wrap .wpcf7-form-control-wrap{
    display: block;
    position: relative;
    height: 100%;
}
form .select-wrap .wpcf7-form-control-wrap select{
    height: 100%;
    background-image: none;
    appearance: none;       /* enlève le style natif */
    -webkit-appearance: none;
    -moz-appearance: none;
}

form .input-wrap .wpcf7-form-control-wrap:after,
form .select-wrap .wpcf7-form-control-wrap:after{
    content: '';
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    pointer-events: none;
    font-weight: 700;
}
form .select-wrap .wpcf7-form-control-wrap:after{
    content: '▼';
}
form .input-wrap.input-wrap-surface .wpcf7-form-control-wrap:after{
    content: 'm²';
}
form .input-wrap.input-wrap-euro .wpcf7-form-control-wrap:after{
    content: '€';
}

form input[type="submit"]{
    border-radius: 50px;
    padding: 2rem 4rem;
    margin-top:3rem;
}
form input[type="submit"]:hover,
form input[type="submit"]:focus{
    background-color: #000000;
}
.wpcf7-form-control-wrap{
    width:100%;
}
.wpcf7-mail-sent-ok{
    color: #398f14;
    font-weight: 500;
}
div.wpcf7-validation-errors{
    color: #f00;
    font-weight: 500;
    border-color: #f00;
}
.wpcf7-spinner{
    display: none;
}
.wpcf7-list-item-label{
    font-weight:400;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: black;
}
.success{
    display: none;
    flex-direction: column;
}
.success img{
    max-width: 10rem;
    margin: 0 auto;
    margin-bottom:3rem;
}


footer{
    padding: 3rem 0;
    background-color: #F5F5F5;
}
footer p{
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1.4rem;
    color: #000000;
}
footer p a{
    color: #000000;
}
footer p a:hover, footer p a:focus, footer p a:active{
    color: #D02A4C;
}


/* Responsive */
@media (min-width:576px) {
    header{
        gap: 7rem;
    }
}
@media (min-width:768px) {
    body{
        font-size: 1.6rem;
        line-height: 2rem;
    }
    header{
        padding: 3rem;
        height: 45rem;
    }


    h1{
        font-size: 3rem;
    }
    h2{
        font-size:2.2rem;
    }
    .btn{
        padding: 1.4rem 2.4rem;
        font-size: 1.6rem;
        line-height: 2rem;
    }

    main section#form{
        margin-bottom: 10rem;
    }
    section#form .container{
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
    }

    footer{
        padding: 4rem 0;
    }
}

@media (min-width:992px) {
    header{
        padding: 3rem 9rem;
        height: 50rem;
        gap: 8rem;
    }

    h1{
        font-size: 3.4rem;
    }
    h2{
        font-size:2.6rem;
    }
    .btn{
        padding: 1.6rem 2.6rem;
    }
    main section#form{
        margin-bottom: 12rem;
    }
}

@media (min-width:1200px) {
    body {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }
    header{
        padding: 4rem 10rem;
        height: 55rem;
    }
    header .img-title{
        width:30rem;
    }
    h1{
     font-size: 4rem;
    }
    h2{
        font-size:3rem;
    }
    .btn{
        padding: 1.4rem 2.4rem;
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    main section#form{
        width: 90%;
        margin-bottom: 14rem;
    }
    form .form-control {
        font-size: 1.6rem;
        line-height: 2rem;
        padding: 2rem 2.5rem;
    }
    form input.form-control,
    form select.form-control{
        height: 6rem;
    }
    form input[type="checkbox"] + span{
        font-size: 1.6rem;
        line-height: 2rem;
        margin-top: 0.1rem;
    }

    footer{
        padding: 5rem 0;
    }
    footer p{
        font-size: 1.4rem;
        line-height: 1.8rem;
    }
}

@media (min-width:1600px) {
    header{
        height: 62rem;
        gap: 12rem;
    }
    h1{
        font-size: 4.8rem;

    }
    .btn{
        padding: 1.8rem 2.8rem;
    }

    main section#form{
        width: 85%;
    }
}
@media (min-width:1920px) {
    header{
        height: 70rem;
        gap: 18rem;
    }


    .btn{
        padding: 2rem 3rem;
    }

    main section#form{
        width: 80%;
        margin-bottom: 16rem;
    }
    form .form-control {
        font-size: 1.8rem;
        line-height: 2.4rem;
        padding: 2.4rem 3rem;
    }
    form input.form-control,
    form select.form-control{
        height: 7.2rem;
    }
    form input[type="checkbox"] + span{
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin-top: 0;
    }

    footer{
        padding: 6rem 0;
    }
}

