@font-face {
    font-family: "MarkPro";
    src: url("../fonts/MarkPro.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "MarkMedium";
    src: url("../fonts/markpro_medium.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: "CHUNKFIVE";
    src: url("../fonts/CHUNKFIVE_REGULAR.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    color: #000;
    font-family: "MarkPro";
    font-size: 16px;
}

* {
    margin: 0px;
    padding: 0px;
}

p {
    font-family: "MarkPro";
    font-size: 16px;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

a,
a:focus,
a:hover {
    text-decoration: none;
}



/*  Formulaire  */

body {
    position: relative;
    background-image: url(../images/bg_projet_image.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.content_form {
    height: 100vh;
    max-width: 500px;
    position: relative;
    right: 0;
    margin: auto 0 auto auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content .row {
    align-items: flex-end;
}

.projet_text_contenu {
    height: 100Vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projet_text {
    background: #ffffffc2;
    padding: 1rem;
    max-width: 670px;
    position: relative;
    border: #7eb35a solid 4px;
    left: 0;
}

.projet_text h2 {
    font-family: 'CHUNKFIVE';
    text-align: center;
    color: #1c515d;
    font-size: 35px;
    text-transform: uppercase;
}

.projet_text h2 span {
    display: inline-block;
    color: #fff;
    padding: 0 10px;
    font-size: 35px;
    background-color: #7eb35a;
}

.projet_text h3 {
    font-family: 'CHUNKFIVE';
    text-align: center;
    color: #7eb35a;
    font-size: 35px;
    text-transform: uppercase;
}
.projet_text h3 span{ 
color: #1c515d;
}


.projet_text a{ 
font-size: 24px;
display: block;
color: #1c515d;
text-align: center;
font-weight: 400;
font-family: 'MarkMedium';
padding: 0px;
text-decoration: none;
}

.projet_text a img{  
width: 25px;
margin-right: 10px;
}



.projet_text p {
display: inline-block;
color: #fff;
padding: 5px 10px;
font-size: 25px;
background-color: #7eb35a;
font-family: 'MarkMedium';
}

.media_and_logo {
    background-color: #ffffffc2;
    padding: 5px;
}

.media_and_logo img {
    max-height: 100px;
}

.media {
    margin-top: 10px;
}

.media a {
    margin: 0 10px;
}

.media img {
    max-width: 30px;
}

.content form {
    background-color: #76b72dc4;
    padding: 10px;
    height: fit-content;
}

.icon_radio_row {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.form_group {
    position: relative;
    margin-bottom: 15px;
}

.form_group.checkbox {
    display: flex;
    justify-content: flex-start;
}

.form_group input,
.form_group textarea {
    font-family: "MarkPro";
    font-size: 18px;
    color: #fff;
    border: 0;
    background: transparent;
    outline: none;
    width: 100%;
    height: 60px;
    border-bottom: 2px solid #fff;
    padding-left: 15px;
}

.form_group textarea {
    height: 100px;
}

.form_group input::placeholder, .form_group textarea::placeholder {
font-family: "MarkPro";
font-size: 18px;
color: #fff;
}

.form_group select {
    font-family: "MarkMedium";
    font-size: 22px;
    background: transparent;
    color: #fff;
    width: 100%;
    border: none;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0;
    cursor: pointer;
    border-bottom: 2px solid #fff;
    padding-left: 15px;
    z-index: 9;
}

.form_group select:focus-visible {
    outline: none;
}

.form_group select::-ms-expand {
    display: none;
}

.form_group.icon_select::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    background-image: url(../images/fleche-vers-le-bas.png);
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 4;
}

.form_group select option {
    background-color: #76b72d;
}

.form_group select option:hover {
    background-color: #76b72d;
}

.content label {
    font-family: "MarkMedium";
    font-size: 19px;
    color: #fff;
    position: relative;
    margin-left: 50px;
    margin-right: 15px;
}

.content form p {
    font-family: "MarkMedium";
    font-size: 10px;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
}

.conforment_accepte {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.conforment_accepte input {
    width: auto !important;
    height: auto !important;
}

.conforment_accepte label {
    font-family: "MarkMedium";
    font-size: 10px !important;
    color: #fff;
    margin-bottom: 5px !important;
    margin-left: 15px !important;
    margin-right: 0 !important;
}

.conforment_accepte label.error {
    left: 0;
    bottom: 10px;
}

.conforment_accepte label a,
.conforment_accepte label a:hover {
    font-family: "MarkMedium";
    font-size: 10px;
    color: #fff;
    text-decoration: underline;
}

.icon_radio_row input {
    opacity: 0;
    position: absolute;
}

.icon_radio_row label.error {
    width: 258px;
}

.icon_radio:has(.icon_radio_row.investir input:checked) .investir label::before {
    background: #fff;
    outline: solid 2px #76b72dc4;
    outline-offset: -3px;
    box-shadow: inset 0px 0px 0px 4px #fff;
}

.icon_radio:has(.icon_radio_row.habiter input:checked) .habiter label::before {
    background: #fff;
    outline: solid 2px #76b72dc4;
    outline-offset: -3px;
    box-shadow: inset 0px 0px 0px 4px #fff;
}

.icon_radio:has(.icon_radio_row input) label.error::before,
.icon_radio:has(.icon_radio_row input:checked) label.error::before {
    display: none;
}


.icon_radio:has(.icon_radio_row input) label::before {
    content: '';
    background: transparent;
    border-radius: 50%;
    border: 2px solid #ffff;
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    padding: 2px;
    left: -46px;
    top: 0;
    position: absolute;
    margin-right: 10px;
    text-align: center;
}

.form_group.icon_radio input {
    width: 66px;
    height: 33px !important;
    margin-right: 20px;
}

.submit_input {
    position: relative;
}

.submit_input button {
    background: #ffff;
    text-align: center;
    font-family: "MarkMedium";
    font-size: 25px;
    color: black;
    border: 0;
    outline: none;
    display: block;
    margin: auto;
    padding: 20px;
    width: 80%;
    border-radius: 50px;
}

.submit_input button img {
    margin-right: 25px;
}

label.error {
    margin-top: 10px;
    color: red;
    position: absolute;
    font-family: "MarkPro";
    font-size: 13px;
    left: 0;
    bottom: -20px;
    margin-left: 0;
}

.projet_text{
    text-align: center;
}
.projet_text .logo{
    display: none;
    margin: auto;
}
.contenu_global{
    margin: 0 40px;
    max-width: 550px;
}
.contenu_global h1{
    text-align: center;
    margin-bottom: 50px;
}
.offre_projet{
    margin-bottom: 20px;
    /*background: #2FB4AF;*/
    text-align: center;
    padding: 10px 20px;
}
.contenu_global h1 span{
    font-family: "MarkMedium";
    font-size: 40px;
    color: #fff;
    font-weight: 500;
    display: block;
    text-shadow: 0px 4px 31.9px #1C515D;
    line-height: 1;
    margin-bottom: 5px;
}
.contenu_global h1 strong{
    font-family: "MarkMedium";
    font-size: 50px;
    color: #fff;
    background: #1D6D73;
    padding: 10px 20px;
    font-weight: 700;
    display: inline-block;
}
.offre_projet h2{
    font-family: "MarkMedium";
    font-size: 24px;
    color: #1D6D73;
    background: #FFBB00;
    font-weight: 900;
    padding: 10px 20px;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1;
}
.offre_projet samp{
    font-family: "MarkMedium";
    font-size: 40px;
    color: #fff;
    line-height: 1;
    font-weight: 900;
}
.offre_projet p{
    background: #fff;
    padding: 10px 20px;
    margin-bottom: 0;
    font-family: "MarkMedium";
    font-size: 18px;
    color: #1D6D73;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}
.offre_projet p b, .offre_projet p span{
    display: block;
    font-size: 24px;
}
.offre_projet p span, .offre_projet p strong{
    color: #E0385C;
}
.offre_projet small{
    font-family: "MarkPro";
    font-size: 11px;
    color: #fff;
}
.projet_text h4{
    font-family: "MarkMedium";
    font-size: 24px;
    color: #fff;
    background: #1D6D73;
    padding: 7px 20px;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
}

.openform {
    background: #a7c228;
    text-align: center;
    font-family: "MarkMedium";
    font-size: 20px;
    color: #fff;
    border: 0;
    outline: none;
    display: block;
    padding: 10px 50px;
    border-radius: 50px;
    margin: 10px auto;
    display: none;
    outline: none;
    box-shadow: none;
    margin-bottom: 200px;
}

.alert-success {
    color: #fff;
    background-color: #38b2cd;
    border-color: #badbcc;
}

/*.contenu_global p{
    background: #76b72dc4;
    padding: 1rem;
    max-width: 670px;
    position: relative; 
    margin: auto;
    margin-bottom: 60px; 
    padding: 1rem;
    max-width: 670px;
    position: relative;
    border: #7eb35a solid 4px; 
    color: #fff;
    text-align: center;
    font-weight: 400;
    font-family: 'MarkMedium';
    font-size: 20px;
}
.contenu_global p strong{
    font-size: 36px;
}
.contenu_global p span{ 
    font-size: 12px;
}*/
@media (max-width: 1399px) {
    .submit_input button {
        font-size: 20px;
        padding: 12px;
        width: 80%;
    }
    .projet_text h2 span {
        font-size: 30px;
    }
    .projet_text h3 {
        font-size: 32px;
    }
}

@media (max-width: 1199px) {
    .form_group input,
    .form_group textarea {
        font-size: 20px;
        height: 55px;
    }
    .form_group input::placeholder,
    .form_group textarea::placeholder {
        font-size: 20px;
    }
    .form_group.icon_radio input {
        width: auto;
        height: auto;
        margin-right: 20px;
    }
    .content label {
        font-size: 17px;
        margin-left: 37px;
        margin-right: 5px;
    }
    .form_group select {
        font-size: 20px;
    }
    .form_group.icon_select::after {
        width: 24px;
        height: 23px;
    }
    .icon_radio:has(.icon_radio_row input) label::before {
        width: 24px;
        height: 24px;
        left: -30px;
    }
    .projet_text h2 {
        font-size: 30px;
    }
    .projet_text h2 span {
        font-size: 25px;
    }
    .projet_text h3 {
        font-size: 30px;
    }
    label.error {
        font-size: 14px;
        margin: 0;
    }
    .contenu_global h1 span{
        font-size: 30px;
    }
    .contenu_global h1 strong{
        font-size: 40px;
    }
    .offre_projet h2, .offre_projet p b, .offre_projet p span{
        font-size: 19px;
    }
    .offre_projet p{
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    .projet_text_contenu{
        height: 100%;
        min-height: 100vh;
    }
    .projet_text {
        max-width: 100%;
        margin: 40px auto;
        text-align: center;
    }
    .projet_text .logo{
        display: block;
        margin-bottom: 20px;
    }
    .content_form {
        height: fit-content;
        max-width: 100%;
        margin: auto;
        margin-bottom: 3rem;
    }

    .content label {
        margin-right: 24px;
    }

    .content form {
        height: fit-content;
    }
}

@media (max-width: 767px) {
    .openform {
        display: block;
    }
    .content_form {
        display: none;
    }
    .content .row {
        flex-direction: column-reverse;
    }
    .projet_text{
        margin-top: 0;
        margin-bottom: 20px;
    }
    .conforment_accepte label {
        font-size: 10px;
    }
    .projet_text p {
        display: inline-block;
        color: #fff;
        padding: 10px;
        font-size: 21px;
        background-color: #7eb35a;
        font-family: 'MarkMedium';
        line-height: 28px;
    }
    .contenu_global p strong{
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .projet_text {
        margin-bottom: 10px;
    }
    .projet_text h2 {
        font-size: 20px;
    }
    .projet_text h2 span {
        font-size: 16px;
    }
    .projet_text h3 {
        font-size: 25px;
    }
    .logo {
        width: 130px;
        text-align: center;
    }
    .projet_text .logo {
        display: block;
        margin: auto;
        margin-bottom: 20px;
    }
    .content label {
        margin-right: 0px;
    }
    .content_form {
        margin-bottom: 2rem;
    }
    .contenu_global {
        margin: 0;
        margin-top: 20px;
    }
    .contenu_global h1 {
        margin-bottom: 25px;
    }
    .contenu_global h1 span{
        font-size: 25px;
    }
    .contenu_global h1 strong{
        font-size: 30px;
    }
    .offre_projet h2, .offre_projet p b, .offre_projet p span, .projet_text h4{
        font-size: 17px;
    }
    .offre_projet p{
        font-size: 14px;
    }
    .openform{
        margin-bottom: 10px;
    }
}




