@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;500;600;700&family=La+Belle+Aurore&display=swap');

html {
    --logoSize: 580px;
    font-size: 22px;
    line-height: 130%;
    scroll-behavior: smooth;
    box-sizing: border-box;
}
.fixed {
    overflow: hidden;
}
body {

    background-color: #29233c;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "halcom", sans-serif;
}

main {
}

section {
    max-width: 1160px;
    margin: 0 auto;
}
#contact-section--success {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(41, 35, 60, .6);
    align-items: center;
    justify-content: center;
}

#contact-section--success.open {
    display: flex;
}

#contact-success--close {
    position: absolute;
    right: 25px;
    line-height: 0;
    top: 25px;
    cursor: pointer;
}

.contact-success--wrapper {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 960px;
    position: relative;
    max-height: 500px;
    height: 100%;
    padding: 0 10vw;
}

.contact-success--wrapper > * {
    text-align: center;
}

.contact-success--text {
    color: #29233c;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: 21px;
}

.contact-success--headline {
    color: #29233c;
    font-size: 25px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: 43px;
    margin-bottom: .6rem;
}

.contact-success--title {
    color: #29233c;
    font-size: 30px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    line-height: 23px;
}
.contact-success--icon {
    background-color: #ffb600;
    border-radius: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    margin-bottom: 1rem;
}

#contact-action {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    background-color: #ffb600;
    padding: 20px 15px;
}

#contact-action .mobile-d {
    display: none;
}
#main-section {
    position: relative;
    max-width: 1920px;
    height: 80vh;
    max-height: 800px;
    z-index: 4;
    overflow: hidden;
}
.background-wrapper {
    height: 100%;
    width: 100%;
}
.background-image, .background-image--mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-height: 1080px) {
    .background-image {
        height: 60vh;
    }
}

.background-image--mobile, .logo-image--mobile {
    display: none;
}

.logo-image {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-image--wrapper {
    max-width: 650px;
    width: 100%;
}
.logo-image img {
    z-index: 3;
    width: 100%;
    height: auto;
    object-fit: cover;
}
#content-section {
    color: white;
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

#content-section:after {
    content: url('img/filigrane.png');
    position: absolute;
    top: -20px;
    right: 50%;
    z-index: -1;
}

#content-section h1 {
    font-size: 2.1rem;
    padding-top: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 60px;
    font-family: "Degular";
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#content-section p {
    font-weight: 300;
    margin-bottom: 1rem;
}

#footer-section {
    color: white;
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid #f5b840;
}

#footer-section p {
    font-size: 1.5rem;
    font-weight: 200;
}

#footer-section p:first-child {
    margin-bottom: 0rem;
    line-height: 45px;
}

#footer-section strong, #footer-section a {
    font-weight: 600;
    color: white;
    text-decoration: none;
    white-space: pre;
}
#footer-section small {
    font-size: .9rem;
}

@media screen and (max-width: 1160px) {
    #content-section, #footer-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #footer-section * {
        line-height: 28px;
    }
}
@media screen and (max-width: 700px) {
    html {
        --logoSize: 310px;
        font-size: 20px;
    }
    #main-section {
        height: 65vh;
    }
    .background-image {
        display: none;
    }
    .background-image--mobile {
        display: block;
    }


    #content-section h1 {
        line-height: 34px;
        font-size: 2rem;
    }
    #content-section p:first-child {
        margin-bottom: 1.5rem;
    }

    #footer-section {
        padding-bottom: 79px;
    }
    #footer-section p {
        line-height: 16px!important;
    }

    .form-checkbox {
        flex-direction: row!important;
        align-items: flex-start!important;
    }

    .form-checkbox input {
        margin-top: .2rem;
    }


    #content-section:after {
        right: 20%;
        transform: scale(.5);
        transform-origin: top right;
    }

    #contact-action {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: initial;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        text-transform: uppercase;
        font-size: 18px;
    }

    #contact-action .mobile-d {
        display: block;
        margin-left: 10px;
    }
}

.logo-image--wrapper {
    position: relative;
    z-index: 2;
}

#contact-section {

}

#contact-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
    line-height: 45px;
    font-family: "Degular";
    font-weight: 500;
    font-size: 50px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-form .form-row {
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-group {
    display: flex;
    flex-direction: column;
}

.form-row .form-group {
    width: 100%;
    margin-bottom: 1rem;
}
.form-row .form-group:first-child {
    margin-right: 5px;
}
.form-row .form-group:last-child {
    margin-left: 5px;
}

input {
    border: 0;
    padding: 8px;
}
label {
    color: white;
    font-size: 16px;
    font-weight: 700;
}
.form-checkbox {
    align-items: flex-start!important;
}
input[type=checkbox] {
    margin-top: .2rem;
    margin-right: .5rem;
}

input[type=checkbox] + label {
    font-size: 14px;
    line-height: 18px;
    font-weight: 300;
}

button {
    margin-top: .5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffb600;
    text-align: center;
    border: 0;
    color: white;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    padding: .6rem 2rem;
    max-width: 270px;
    width: 100%;
    cursor: pointer;
}

label .required {
    color: red;
    font-weight: 300;
    margin-left: 5px;
}
#contact-error ul {
    margin-bottom: 1rem;
}
#contact-error p {
    color: #ffb600;
    font-size: 16px;
    font-weight: 400;
}


#contact-error li {
    color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
}

ul {
    list-style: none;
}

ul li::before {
    content: "-";
    margin-right: 5px;
}

#mentions-legales {
    z-index: 999;
    position: fixed;
    background-color: rgba(0, 0, 0, .5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

#mentions-legales.active {
    display: flex;
}

.mentions-legales--wrapper {
    max-width: 900px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: white;
    font-size: 16px;
    max-height: 80vh;
    height: 100%;
    position: relative;
}

.mentions-legales--content {
    padding: 3rem 2rem 3rem 2rem;
    height: 100%;
}
.mentions-legales--content-wrapper {
    height: 100%;
    overflow: scroll;
}

.mentions-legales--content h2 {
    margin-bottom: 1rem;
}
.mentions-legales--content h3 {
    margin-bottom: .6rem;
}
.mentions-legales--content p {
    margin-bottom: .6rem;
}
small span {
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
}

#js-open {
    margin-right: 1rem;
}
.mentions-legales--cta {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
@media screen and (max-width: 700px) {
    .form-row {
        flex-direction: column;
    }
    .form-group {
        margin-left: 0!important;
        margin-right: 0!important;
    }
    .contact-form {
        padding: 1rem;
    }
    .mentions-legales--content {
        padding: 2rem 1rem 2rem 1rem;
        height: 100%;
    }
}

