@font-face {
    font-family: "Poppins" ;
    src: local("Poppins"), url("../font/Poppins-Medium.ttf") format("truetype") ;
}

@font-face {
    font-family: "TT Norms Pro";
    src: local("TT Norms Pro"), url("../font/TT Norms Pro Medium.otf") format("opentype");
}


:root {
    --bg-color-hf: #f6f6f6;
    --font-title: "TT Norms Pro", sans-serif;
    --font-text: "Poppins", sans-serif;
    --font-text-size: 20px;
    --text-color-title: #000000;
    --nav-item-text-color: #202225;
    --header-title-vir-color: #000000;
    --header-title-h2-middle-color: #A6C6DB;
    --bg-main-color: #313647;
    --text-color-info: #F6F6F6;
}


* {
    margin: 0;
    padding: 0;
}


body {
    overflow-x: hidden;
}


header {
    height: 700px;
    width: 100vw;
    background: var(--bg-color-hf);
}

#acceuil{
    height: auto;
    padding-bottom: 30px;
}

header > nav {
    padding-top: 56px;
    padding-right: 101px;
    padding-left: 95px;
}

header > nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

}






header > nav > ul > li {
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


nav > ul > li > .nav-text-item {
    font-family: var(--font-text);
    font-size: var(--font-text-size);
    text-decoration: none;
    color: var(--nav-item-text-color);
}


#moon-item > a > svg > path {
    stroke: black;
}


nav > ul > #name-item {
    margin-right: auto;
}
nav > ul > #acredidation{
    margin-left: auto;
    flex-wrap: wrap;
    width: 20%;
    height: 10%;
}

nav > ul > #acredidation > img{
    max-width: 40%;
    padding-right: 15px;
}

nav > ul > #acredidation > p{
    font-family: var(--font-text);
    text-align: center;
}


nav > ul > #moon-item {
    margin-left: auto;
}

header > #header-title {
    margin-top: 100px;
    text-align: center;
}

header > #header-title > h1 {
    font-family: var(--font-title);
    font-size: 70px;
    color: var(--text-color-title);
}

header > #header-title > h2 {

    font-family: var(--font-title);
    font-size: 40px;
    color: #6B8FAC;
}

header > #header-title > h2 > .vir-color {
    color: var(--header-title-vir-color);
}

header > #header-title > h2 > #header-title-h2-center {
    color: var(--header-title-h2-middle-color);
}

header > #explaine {
    width: 911px;
    margin-top: 74px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;

}

header > #explaine > p {
    font-family: var(--font-text);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color-title);
    padding-bottom: 20px;

}


header > #header-button-container {
    display: flex;
    justify-content: center;
    gap: 54px;
    align-self: center;
    margin-top: 41px;
}

header > #header-button-container a {
    text-decoration: none;
    color: #F6F6F6;
    height: 75px;
    width: 210px;
    background-size: 600%;
    background: linear-gradient(97.89deg, rgba(107, 143, 172, 0.8) -16.08%, rgba(166, 198, 219, 0.8) 120.34%);
    font-size: 25px;
    font-family: var(--font-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: .5s;
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
}


main {
    height: 1895px;
    background-color: var(--bg-main-color);
    width: 100vw;
}

main > #main-info-container {
    padding-top: 86px;

}

main > #main-info-container > .info {
    display: flex;
    justify-content: space-around;
    align-items: center;
}


main > #main-info-container > .info:nth-child(even) {
    flex-direction: row-reverse;
}

#main-info-container > .info > .info-head > h3 {
    font-family: var(--font-title);
    color: var(--text-color-info);
}

#main-info-container > .info > .info-head > p {
    font-family: var(--font-text);
    color: var(--text-color-info);
}

main > #main-info-container > .info > #info-item-1 {
    width: 590px;
}

#main-info-container > .info > .info-head > h3 {
    font-size: 45px;
}

#main-info-container > .info > .info-head > p {
    font-size: 20px;
}


main > #main-info-container > .info > #info-item-2 {
    width: 680px;
    text-align: right;
}

main > #main-info-container > .info:has(#info-item-2) {
    margin-top: 22px;
}

main > #main-info-container > .info > #info-item-3 {
    width: 733px;
}

.separator {
    height: 3px;
    margin-right: 80px;
    margin-left: 80px;
    display: block;
    background-color: #F6F6F6;
    margin-top: 125px;
    border-radius: 10px;
}

main > #main-last {
    margin-top: 67px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 37px;
    text-align: center;
}


main > #main-last > a {
    height: 75px;
    width: 450px;
    text-decoration: none;
    color: #F6F6F6;
    background: linear-gradient(97.89deg, rgba(246, 246, 246, 0.8) -16.08%, rgba(107, 143, 172, 0.8) 120.34%);
    font-size: 25px;
    font-family: var(--font-text);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;

}

main > #main-last > p {
    width: 1084px;
    font-size: 20px;
    font-family: var(--font-text);
    color: #F6F6F6;
    padding-bottom: 20px;
}

footer {
    padding-top: 31px;
    background: var(--bg-color-hf);
}

footer > #partenaire{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    padding-bottom: 30px;
}

footer > #partenaire  > a  > img{
    object-fit: contain;
    height: 100px;
    width: 200px;

}

footer > nav {
    margin-bottom: 31px;
}

footer > nav > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
}


footer > nav ul > li {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer > nav > ul > li > a {
    text-decoration: none;
    color: #202225;
    font-family: var(--font-text);
    font-size: 20px;
    font-weight: 700;
}

footer > .separator {
    background-color: #313647;
    margin-top: 0;
}

footer > #footer-last {
    margin-right: 80px;
    margin-left: 80px;
    margin-top: 39px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: center;

}


footer > #footer-last > p {
    font-size: 20px;
    font-family: var(--font-text);
    grid-column-start: 4;
    grid-column-end: 8;
}

.button-effect {
    transition: .5s;
}

.button-effect:hover {
    transform: scale(1.1);

}

.nav-selection-effect {
    display: inline;
}

.nav-selection-effect::after {
    content: "";
    display: block;
    height: 3px;
    background: #000000;
    transform: scale(0);
    transition: transform .2s ease-in-out;
}

.nav-selection-effect:hover::after {
    transform: scale(1);
}

header > .contente-info {
    margin-top: 158px;
    text-align: center;
}

header > .contente-info > h1 {
    font-size: 95px;
    font-family: var(--font-title);
    color: var(--text-color-title);
    margin-bottom: 32px;
}

header > .contente-info > p {
    width: 781px;
    margin: 0 auto;
    font-family: var(--font-text);
    font-size: 20px;
}

#service {
    height: 1469px;
    padding-top: 128px;
}

#service > #main-info-service-container > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 82px;
    margin-bottom: 34px;
}

#service > #main-info-service-container > div:nth-child(even) {
    flex-direction: row-reverse;
}


#service > #main-info-service-container > div > .main-info-service-text {
    width: 865px;
    background-color: #61687E;
    height: auto;
    border-radius: 65px;
    text-align: center;
    padding: 30px;
}


#main-info-service-container > div > .main-info-service-text > h2 {
    font-family: var(--font-text);
    color: #FFFFFF;
    font-size: 50px;
    margin-top: 22px;
    margin-bottom: 6px;

}

#main-info-service-container > div > .main-info-service-text > p {
    font-family: var(--font-text);
    color: #FFFFFF;
    font-size: 20px;
    margin-left: 60px;
    margin-right: 60px;
    justify-self: center;
    grid-row-start: 4;
}


#service > #main-info-service-container > div:nth-child(even) > .main-info-service-text > p {
    width: 672px;
    margin-right: 96px;
    margin-left: 96px;
}


#realisation {
    height: auto;
    padding-top: 92px;
}


/* déffinir la taille de la bulle avec les données */
#chiffre-table {
    width: 1256px;
    margin: 68px auto;
    background-color: #61687E;
    border-radius: 65px;
    padding-bottom: 30px;
}

#chiffre-table > #chiffre-info {
    height: 106px;
    padding-top: 20px;


}

#chiffre-info > #chiffre-info-title {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
}

#chiffre-info > #chiffre-info-title > h3 {
    font-size: 40px;
    font-family: var(--font-text);
    font-weight: 800;
    color: #FFFFFF;
}


#chiffre-info::after {
    content: "";
    position: absolute;
    display: block;
    height: 7px;
    background: #313647;
    transform: translate(53px, 20px);
    width: 1150px;
    border-radius: 10px;

}

#chiffre-text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;

}

#chiffre-text > div {
    text-align: center;
}

#chiffre-empla {
    width: 306px;
}

#chiffre-avant {
    padding-right: 20px;
}

#chiffre-apres {
    padding-right: 40px;
}

#chiffre-text > div > p {
    font-size: 30px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: var(--font-title);

}


#image-title > h2 {
    margin-top: 122px;
    font-family: var(--font-text);
    font-weight: 800;
    text-align: center;
    color: #FFFFFF;
    font-size: 80px;
}

#image-title > p {
    font-family: var(--font-title);
    text-align: center;
    color: #FFFFFF;
    font-size: 30px;
    width: 1218px;
    margin: 0 auto;
}


#image-container {
    margin-left: 133px;
    margin-right: 133px;
    display: grid;
    gap: 81px;
    grid-template-columns: repeat(3, 400px);
    justify-content: center;
    margin-top: 113px;
    padding-bottom: 100px;
}

#image-container > div {
    width: 337px;
    height: 400px;
    background: #FFFFFF;
    justify-self: center;
    border-radius: 40px;


}


#humberger {
    display: none;
    margin: auto 0;
    cursor: pointer;
}


#humberger div span {
    width: 35px;
    height: 3px;
    display: block;
    background-color: black;
    margin: 6px 0;
    transition: .4s;
}

.open > div > #barre1 {
    transform: rotate(-45deg) translate(-6px, 6px);
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
}

.open > div > #barre2 {
    opacity: 0;
}

.open > div > #barre3 {
    transform: rotate(45deg) translate(-6px, -8px);
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
}


#barre-separator1, #barre-separator2 {
    position: absolute;
    display: block;
    height: 530px;
    background: #313647;
    width: 7px;
    border-radius: 10px;
}


#contact-header{
    height: auto;
}
#contact {
    height: 80%;
    background: #f6f6f6;
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 30px;
    justify-items: center;
    align-items: center;
}

#contact > div{
    height: 70%;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr ;
    justify-items: center;
    gap: 30px;
    border: black dashed;
    width:  80%;

}


#contact > div > svg{
    padding-top: 10px;
    height: 190px;
    transition: .2s;


}


#contact > div:nth-child(odd) > svg{
    padding-top: 0;
}
#contact > div > svg:hover {
    transform: scale(1.1);

}



#contact > div > h3{
    font-size: 40px;
    font-family: var(--font-text);
}
#contact > div > p{
    font-size: 20px;
    font-family: var(--font-title);
    text-align: center;
    padding-bottom: 20px;
}




#image-container > div {
    object-fit: fill;

}

#image-container > div > img{
    height: 100%;
    width: 100%;
    border-radius: 40px;
    border: 1px solid;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    transition: .5s;
}

#image-container > div > img:hover {
    transform: scale(1.1);
}

#service > #main-info-service-container > div:nth-child(even) > .main-info-service-text:nth-child(odd) > p{
    padding-top: 30px;
}


#tarif{
    margin-top: 20px;
    text-align: left;
}

#tarif > h3{
 font-size: 25px;
    font-family: var(--font-text);
    color: #FFFFFF;
    text-align: center;
    margin: 20px;
}


#tarif > p{
    font-size: 20px;
    font-family: var(--font-title);
    color: #FFFFFF;
}

#tarif > ul{
    padding-top: 10px;
    padding-left: 50px;
}

#tarif > ul > li > p{
    color: #FFFFFF;
    font-family: var(--font-title);
    font-size: 20px;
}

#service {
    height: auto;
    padding-bottom: 20px;
}

footer > h4{
    font-size: 30px;
    font-family: var(--font-title);
    text-align: center;
}

@media only screen and (max-width: 1300px) {


    #Accueil-item{
        margin-left: auto;
    }
    #name-item {
        display: none;
    }

    header > #explaine {
        width: auto;
    }

    main > #main-last > p {
        width: auto;
    }

    main > #main-info-container > .info {
        padding-right: 25px;
        padding-left: 25px;
    }

    main > #main-info-container > .info > #info-item-1 {
        padding-right: 25px;
    }


    main > #main-info-container > .info > #info-item-3 {
        padding-right: 25px;
    }

    #footer-last > svg {
        display: none;
    }

    main > #main-info-container > .info > #info-item-2 {
        padding-left: 25px;
    }

    footer > #footer-last {
        margin-top: 50px;
        margin-left: 10px;
        margin-right: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    header > #explaine > p {
        margin-left: 20px;
        margin-right: 20px;
    }

    #service > #main-info-service-container > div > .main-info-service-text {
        width: auto;
        margin-left: 30px;
        margin-right: 30px;
    }

    #service > #main-info-service-container > div > svg {
        margin-right: 20px;

    }

    #service > #main-info-service-container > div {
        gap: 20px;
        flex-direction: column-reverse;
    }


    #service {
        height: auto;
        padding-bottom: 20px;
    }

    #service > #main-info-service-container > div:nth-child(even) {
        flex-direction: column-reverse;
    }

    #service > #main-info-service-container > div:nth-child(even) > .main-info-service-text > p {
        width: auto;
    }

    #chiffre-table {
        width: auto;
        padding: 10px;
        margin-left: 15px;
        margin-right: 10px;

    }

    #chiffre-info > #chiffre-info-title {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        justify-items: center;
    }

    #chiffre-item1 {
        padding-left: 10px;
    }

    #chiffre-item2 {
        align-self: center;
        padding-left: 25px;

    }

    #chiffre-item3 {
        align-self: center;
        padding-left: 10px;


    }

    #chiffre-text {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    #chiffre-info::after {
        width: 90%;
        transform: translate(12px, 20px);
    }

    #chiffre-avant {
        padding: 0px;
    }

    #chiffre-apres {
        padding: 0px;
    }

    #image-container {
        grid-template-columns: 0;
        grid-template-rows: repeat(3, 400px);
        padding-bottom: 80px;
    }


    #realisation, main{
        height: auto;
    }

    #image-title > p {
        width: auto;
        text-align: justify;
        margin-right: 20px;
        margin-left: 20px;
    }

    #barre-separator1, #barre-separator2{
        height: 500px;
    }


}


@media only screen and (max-width: 670px) {

    #contact-item{
        margin-right: 0;
    }
    #Accueil-item {
        margin-left: 0;
    }

    header {
        height: auto;
        padding-bottom: 15px;

    }


    header > nav {
        display: none;
        padding-top: 0;
        animation: test ease-in-out .3s;
    }

    @keyframes test {
        0% {
            transform: translateY(-20px);
        }
        100% {
            transform: translateY(0);
        }
    }

    #moon-item {
        display: none;
    }

    #humberger {
        display: flex;
        justify-content: flex-end;
        padding-right: 20px;
        padding-top: 15px;
    }

    header .open {
        display: block;
    }

    nav {
    }

    header > nav > ul {
        flex-direction: column;
        justify-content: center;
    }



    header > #explaine {
        height: auto;
    }

    header > #header-title > h2 {
        font-size: 50px;
    }


    header > #header-title > p {
        font-size: 20px;
    }

    header > #header-button-container {
        gap: 0px;
    }

    header > #header-button-container > a {
        margin-left: 10px;
        margin-right: 10px;
    }

    header > #header-button-container > a {
        font-size: 20px;
    }

    #main-info-container > .info > .info-head > h3 {

    }

    main > #main-info-container > .info {
        flex-direction: column;
    }

    main > #main-info-container > .info > #info-item-1 {
        width: auto;
        text-align: justify;
        padding-right: 0;


    }


    main > #main-info-container > .info > .info-head > h3 {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    main > #main-info-container > .info > .info-head > p {
        text-align: justify;
        margin-top: 20px;
        margin-bottom: 15px;
    }


    .info svg {
        height: 150px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    main > #main-info-container > .info:nth-child(even) {
        justify-content: flex-start;
        flex-direction: column;
    }

    main > #main-info-container > .info > #info-item-2 {
        width: auto;
        text-align: justify;
        padding-left: 0;
    }

    main {
        height: auto;
    }

    main > #main-last > a {
        width: auto;
        padding: 10px;
        font-size: 20px;
    }

    main > #main-last > p {
        text-align: justify;
        padding: 20px;
    }


    footer > nav > ul {
        flex-direction: column;
    }

    footer > #footer-last > p {
        text-align: center;
    }

    header > .contente-info > h1 {
        font-size: 65px;
    }

    header > .contente-info > p {
        width: auto;
        text-align: justify;
        padding-left: 10px;
        padding-right: 10px;
    }


    #service > #main-info-service-container > div > .main-info-service-text {
        width: auto;
        margin-left: 15px;
        margin-right: 15px;
    }

    #main-info-service-container > div > .main-info-service-text > h2 {
        font-size: 30px;
        padding: 10px;

    }

    #main-info-service-container > div > .main-info-service-text > p {
        font-size: 15px;
        margin-left: 15px;
        margin-right: 15px;
        text-align: justify;

    }

    #main-info-service-container > div > svg {
        height: 300px;
    }

    #service > #main-info-service-container > div:nth-child(even) > .main-info-service-text > p {
        font-size: 15px;
        margin-left: 15px;
        margin-right: 15px;
        text-align: justify;
        width: auto;
    }

    #service {
        height: auto;
    }

    #service > #main-info-service-container > div:nth-child(even) {
        flex-direction: column;
    }

    #service > #main-info-service-container > div {
        padding-bottom: 30px;
        margin-bottom: 0;
        flex-direction: column;
        gap: 30px

    }

    footer {
        height: auto;
        padding-bottom: 15px;
    }

    #chiffre-info > #chiffre-info-title > h3{
        font-size: 20px;
    }
    #chiffre-text > div > p{
        font-size: 10px;
    }

    #chiffre-info > #chiffre-info-title{
        grid-template-columns: 40% 1fr 1fr;
    }
    #chiffre-text{
        grid-template-columns: 40% 1fr 1fr;
        gap: 25px;
    }

    #barre-separator1, #barre-separator2{
        width: 5px;

        /* agrandire la taille de la barre  */
        height: 30%;

    }

    #chiffre-info::after{
        height: 5px;
    }

    #chiffre-table{
        height: auto;
        padding-bottom: 50px;
    }

    #image-title > h2{
        font-size: 50px;
    }

    #image-title > p{
        font-size: 30px;
    }

    #contact{
        display: flex;
        flex-direction: column;
        height: auto;
    }

    #tarif > ul{
        padding-top: 10px;
        padding-left: 20px;
    }

    #contact > div{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-items: center;
    }
    #chiffre-table > #chiffre-info {
        height: 75px;
        padding-top: 20px;


    }

    #chiffre-table{
        margin-left: 0;
        margin-right: 0;
    }

    nav > ul > #acredidation{
        display: none;
    }


    footer > #partenaire{
        flex-direction: column;
    }
}



