html {
    font-family: sans-serif;
    height: 90%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0053a1;
    --secondary: #0a80a8;
    accent-color: #0a80a8;
    --danger: #dc3545;
}

body {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: hsl(0, 0%, 42%);
    font-size: 16px;
    /*padding-bottom: 10rem;*/
    position: relative;
    line-height: 1.42857143;
}

header {
    box-shadow: 0 10px 20px 0 rgb(33 75 115 / 20%);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    position: fixed;
    background-color: #ffffff;
    z-index: 2000;
}

    header img, .footer img {
        width: 115px;
        position: relative;
        margin-left: 15px;
    }

    header .logo {
        margin-top: 5px;
        width: 50%;
    }

    header .accroche {
        display: flex;
        flex-direction: column;
        padding-right: 15px;
    }

.accroche p {
    margin: 4px 5px;
}

p {
    margin: 0 0 10.5px;
}

.main {
    display: flex;
    flex-direction: row;
    padding-top: 5.5rem;
    width: 100%;
    min-height: 100vh;
    justify-content: center;
}

    .main .container {
        display: flex;
        flex-direction: column;
        margin-top: -2rem;
        min-height: 100%;
        z-index: 1;
    }

body:not(.mieux-vous-connaitre) .main .container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: -2rem;
    min-height: 100%;
    z-index: 1;
}

body.mieux-vous-connaitre .main .container {
    gap: 2rem;
}

body:not(.mieux-vous-connaitre) .main .container .hero {
    background-image: url(img/GRDF-21802.png);
    text-align: center;
    width: 100%;
    height: 35vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
}

body.mieux-vous-connaitre .main .container .header h2 {
    padding-top: 14vh;
    font-size: 1.5rem;
    text-align: center;
    color: hsl(0, 0%, 45%) !important;
    font-weight: bold!important;
}
#CallToAction .container{
    align-items:center!important;
}
body.mieux-vous-connaitre .main .container .center {
    word-wrap: break-word;
    background-clip: border-box;
    border-radius: 20px;
    box-shadow: 0 12px 35px 0 rgb(33 75 115 / 20%);
    border: none;
    padding: var(--padding-global-25);
    background-color: #ffffff;
    display: flex;
    width:65%;
    column-gap: 1rem;
    justify-content:center;
    align-items: center;
}

#CallToAction .container .center-item {
    padding-top: 5vh;
    padding-bottom: 3vh;
}

body.mieux-vous-connaitre .main .container .center img {
    max-height:150px;
    padding:var(--padding-global-20);
}

body.mieux-vous-connaitre .hero {
    display: flex;
    max-height: none;
    height: 52vh !important;
    align-items: center;
    overflow: hidden;
}
    body.mieux-vous-connaitre .hero img {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5rem;
    }

h1, h2 {
    color: #2c3e50;
}

h1 {
    text-align: center;
    font-size: 39px;
    padding: 4rem 2rem;
}

h2 {
    padding: 1rem 0;
    font-size: 26px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 400;
    line-height: 1.1;
}

fieldset {
    border: 0;
}

    fieldset:not(.inline) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px
    }

        fieldset:not(.inline) div {
            display: flex;
            flex-direction: row;
            align-items: center;
            line-height: 1rem;
            gap: 10px;
        }

    fieldset input[type="radio"]:hover, label:hover {
        cursor: pointer;
    }

    fieldset.inline {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

        fieldset.inline div {
            display: flex;
            flex-direction: row;
            align-items: stretch;
            line-height: 1rem;
            gap: 7px;
        }

.main .formulaire {
    background-color: #f7f7f6;
    margin: -1rem;
    padding: 2em 2rem 4rem 2rem;
    border-radius: 15px;
    /* overflow: hidden; */
    position: relative;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3em;
}

#email, #tel {
    display:none;
}
.no-pad{
   padding: 0.5rem 0 0 0!important;
}
.formulaire .bloc-question {
    margin-top: 1.1rem;
    border-bottom: none;
    border-radius: 15px;
    background-color: white;
    border-width: 1px 1px 1px 1px;
    border-color: #dbdbdb;
    border-style: solid;
}

    .formulaire .bloc-question .intitule {
        padding: 1.2rem;
        background-color: var(--primary);
        background: linear-gradient(to left, var(--secondary), var(--primary)) 0 0;
        color: #ffffff;
        border-radius: 15px 15px 0 0;
    }

        .formulaire .bloc-question .intitule.inverted {
            background-color: #009AC4;
            background-image: linear-gradient(to right, #ffffff, #e8f3ff);
            color: #0053A1;
        }

    .formulaire .bloc-question .element {
        border-width: 0px 1px 0px 1px;
        padding-top: 3em;
        padding: 2rem 2rem;
    }

        .formulaire .bloc-question .element.more {
            border-width: 0px 1px 0px 1px;
            padding: 1rem 2rem;
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

    .formulaire .bloc-question.hidde {
        display: none;
    }

    .formulaire .bloc-question .element.more .line {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: baseline;
    }

    .formulaire .bloc-question .element img.jauge {
        width: 50%;
        padding-top: 1.5rem;
    }

    .formulaire .bloc-question .blue {
        color: #3498db;
    }

    .formulaire .bloc-question .red {
        color: var(--danger);
    }

    .formulaire .bloc-question .element .form-control {
        display: block;
        width: 80%;
        padding: 10px 15px;
        font-size: 15px;
        color: #6A6A6A;
        background-color: #ffffff;
        background-image: none;
        border: 1px solid #dce4ec;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
        box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
        -webkit-transition: all ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        -o-transition: all ease-in-out .15s, box-shadow ease-in-out .15s;
        transition: all ease-in-out .15s, box-shadow ease-in-out .15s;
    }

        .formulaire .bloc-question .element .form-control.small {
            width: 25%;
        }


input {
    cursor: pointer;
}

    input:focus {
        outline-color: var(--primary);
    }

.danger {
    outline: solid var(--danger) !important;
    outline-color: var(--danger) !important;
}

.formulaire .bloc-question .info {
    padding: 0.5rem 1rem;
    display: flex;
    gap: 5px;
    align-items: center;
    position: relative;
}

.formulaire .submit-center {
    position: absolute;
    width: calc(-2rem + 100%);
    display: flex;
    justify-content: center;
    bottom: -1rem;
    margin: -1rem;
}

.footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0em 2em;
}


.submit-center button {
    font-family: AvenirMedium, sans-serif;
    border: solid 1px transparent;
    align-items: center;
    min-height: 50px;
    padding: 15.5px 45px;
    line-height: normal;
    border-radius: 35px;
    cursor: pointer;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-box-shadow: 0 10px 30px 0 rgb(0 83 161 / 35%);
    box-shadow: 0 10px 30px 0 rgb(0 83 161 / 35%);
    background-color: #009ac4;
    background-image: -webkit-gradient( linear, right top, left top, from(#0053a1), color-stop(#0a80a8), color-stop(#0a80a8), to(#0053a1) );
    background-image: linear-gradient( to left, #0053a1, #0a80a8, #0a80a8, #0053a1 );
    background-size: 200%;
    background-position: 0 0;
    -webkit-appearance: none !important;
    color: #ffffff;
    font-weight: 400;
    padding-left: 5rem;
    padding-right: 5rem;
    font-size: 19px;
}

.container .mention {
    color: #757580;
    font-size: 0.8em;
    text-align: justify;
    padding: 4rem 2rem 2rem 2rem;
    hyphens: auto;
}

.gap {
    padding-top: 1rem;
}

p a {
    color: #0053a1;
    text-decoration: underline;
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}


@media (min-device-width: 480px) {
    body:not(.mieux-vous-connaitre) .hero {
        /* min-height: 120px; */
        /* height: 20vw; */
        margin-bottom: -40px;
    }
}

@media (min-width: 768px) {
    /* page width: 750px */
    body:not(.mieux-vous-connaitre) .hero {
        /* margin-top: 75px !important; */
        /* height: 25vw; */
        width: 750px;
        height: 298px;
    }
}

@media (min-width: 992px) {
    /* page width: 970px */
    body:not(.mieux-vous-connaitre) .hero {
        /* min-height: 100px; */
        /* height: 25vw; */
        width: 970px;
        height: 385px;
    }
}

@media (min-width: 1200px) {
    body:not(.mieux-vous-connaitre) .hero {
        width: 1170px;
        height: 465px !important;
    }
}

@media (max-width: 1250px) {
    .formulaire .bloc-question .element img.jauge {
        width: 100%;
        padding-top: 1.5rem;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
    }

    .main .formulaire {
        margin: 1rem;
    }

    .formulaire .bloc-question .element .form-control.small {
        width: 80%;
    }
}

@media (max-width: 750px) {
    .accroche {
        display: none !important;
    }
    body.mieux-vous-connaitre .main .container .center {
        flex-direction:column;
        gap:2rem;
    }
}


/*POUR DEMO */
:root {
    --padding-global: 10px;
    --padding-global-20: 20px;
    --padding-global-25: 25px;
    --header-margin-top: 125px;
    --fonce: #005fa9;
    --clair: #005fa9;
    text-decoration: none;
}

#goback {
    position: fixed;
    bottom: 0;
    right: 0;
    border-top: var(--fonce) 5px solid;
    border-left: var(--fonce) 5px solid;
    border-top-left-radius: 6px;
    color: var(--fonce) !important;
    padding: var(--padding-global) var(--padding-global-25);
}

    #goback a {
        color: var(--fonce) !important;
        font-weight: 800;
    }
