.wrap-social{
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0px;
}
@media (min-width:576px) {
    .wrap-social{
        flex-direction: row;
    }
}
.link-social{
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0rem 0rem 0rem 0.75rem;
    opacity: 1;
    transition: 0.4s;
}
.link-social:hover{
    opacity: 0.8;
}

body{
    overflow-y: auto;
}
body.stopScroll{
    overflow-y: hidden;
}

header{
    padding: 0rem;
    margin: 0px;
}

header .logo-wrap{
    background-color: rgba(6, 48, 102, 1);
    background: linear-gradient(to bottom right, rgb(6, 48, 102), rgb(42, 83, 148));
}

header .logo{
    width: 100%;
    max-width: 400px;
}

nav{
    background-color: #063066;
    text-align: left;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    position: sticky;
    z-index: 999;
    top: 0px;
}

nav .container{
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid transparent;
    position: relative;
}

nav .nav-item{
    display: none;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    color: white;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: transparent;
    padding-top: 0.25rem;
    padding-bottom: calc(0.25rem - 2px);
    white-space: nowrap;
}

nav .login{
    position: absolute;
    right: 0px;
    top: -3px;
    text-decoration: none;
    color: #063066;
    background: white;
    display: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: -0.5rem;
    font-weight: 500;
}

nav .nav-item:hover,
nav .nav-item.active{
    border-bottom-color: white;
}

.open-responsive-nav{
    cursor: pointer;
    border: 0px;
    padding: 0.5rem 0.5rem 0.25rem 0.5rem;
    border-radius: 0.5rem;
    background: white;
    color: #063066;
    font-size: 14px;
    text-decoration: none;
}
.open-responsive-nav .icon{
    margin: auto;
    width: 20px;
    height: 20px;
}
.open-responsive-nav .text{
    margin-top: 0.25rem;
    font-family: "SUSE", "Helvetica Neue", sans-serif;
    margin-top: 0.25rem;
}

.open-responsive-nav:hover{
    opacity: 0.9;
    transition: 0.4s;
}
.responsive-nav{
    display: none;
}
.responsive-nav.open{
    display: block;
    position: fixed;
    z-index: 9999;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: white;
}
.close-menu{
    position: absolute;
    right: 2rem;
    top: 2rem;
}
.close-menu button{
    border: 0px;
    background: transparent;
    color: #063066;
    transform: scale(3);
    cursor: pointer;
    transition: 0.4s;
}
.close-menu button:hover{
    opacity: 0.6;
}
.responsive-menu{
    width: 100%;
    max-width: 300px;
    margin: auto;
}
.responsive-menu a{
    display: block;
    margin: 1rem 0px;
    text-decoration: none;
    transition: 0.4s;
}
.responsive-menu a:hover{
    opacity: 0.6;
}
.responsive-menu hr{
    border-color: #063066;
}
@media (min-width:992px) {
    nav{
        padding-top: 1rem;
        padding-bottom: 2px;
    }
    nav .container{
        border-bottom: 1px solid white;
    }
    nav .nav-item{
        display: block;
    }
    nav .login{
        display: block;
    }
    .open-responsive-nav{
        display: none;
    }
}

section{
    margin: 0px;
    padding: 4rem 0px;
    width: 100%;
    overflow-x: hidden;
}

.slogan{
    font-size: 2rem;
    text-align: center;
}

.flex-about{
    position: relative;
    flex-direction: column;
    gap: 1rem;
}
.flex-service{
    position: relative;
    flex-direction: column-reverse;
    gap: 1rem;
}
.picture-portrait{
    width: 100%; 
    height: 180px;
}
.svg-animate{
    width: 0px; 
    position: absolute;
    top: 0; 
}
.svg-animate.left{
    left: -310px;
}
.svg-animate.right{
    right: -310px; 
}

@media (min-width:1200px) {
    .svg-animate{
        width: 300px;
    }
    .flex-about{
        flex-direction: row;
        gap: 0rem;
    }
    .flex-service{
        flex-direction: row;
        gap: 0rem;
    }
    .picture-portrait{
        width: 466px; 
        height: 560px;
    }
    .picture-portrait.left{
        margin-right: auto;
    }
    .picture-portrait.right{
        margin-left: auto;
    }
}
.picture-portrait img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: 0.4s; 
}
.picture-portrait img:hover{
    transform: scale(1.02);
}

.btn-call{
    text-decoration: none !important; 
    gap: 0.25rem;
    margin-bottom: 0.25rem;
    transition: 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.btn-call:hover{
    gap: 0.5rem
}

.chiffres-wrap{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    font-size: larger;
}

.chiffre{
    text-align: center;
    margin-bottom: 2.5rem;
}

.chiffre-picto-wrap{
    display: inline-flex;
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    box-shadow: 0px 0px 0px 4px #063066;
    color: #063066;
    margin-bottom: 1rem;
    transition: 0.4s;
}
.chiffre-picto{
    width: 2rem;
    height: 2rem;
    margin: auto;
}

.chiffre-picto-wrap:hover{
    border-radius: 5rem;
}

@media (min-width: 800px) {
    .chiffres-wrap{
        flex-direction: row;
    }
}

.ref-content{
    width: 100%;
    padding-bottom: 2rem;
    display: grid;
    grid-gap: 0rem 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 1000px) {
    .ref-content{ 
        grid-template-columns: repeat(5, minmax(0, 1fr)); 
    }
}

.ref{
    display: flex;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: 0.4s;
    width: 100%;
    aspect-ratio: 16/9 auto;
    text-align: center;
}

.ref img{
    width: 90%;
    object-fit: contain;
    filter: saturate(0);
    transition: 0.4s;
    margin-left: auto;
    margin-right: auto;
}
.ref img:hover{
    filter: none;
}


.section-pictured{
    padding: 0px;
}
.section-pictured-content{
    position: relative;
}

.section-pictured-spacer{
    height: 120px;
}

.section-pictured .container{
    position: relative; 
    z-index: 2; 
    border-radius: 0.5rem;
}

.section-pictured .picture-paysage{
    position: absolute; 
    z-index: 2; 
    top: 0px;
    left: 0px;
    width: 100%; 
    height: 350px;
}
.section-pictured .picture-paysage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-wrap{
    flex-direction: column;
    gap: 1.5rem;
}

.leadership{
    position: relative;
}

.leadership .membre-icon{
    width: 60px;
    height: 60px;
    vertical-align: middle;
    margin-right: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 0px 0.25rem #766758;
}

.leadership:nth-child(even){
    text-align: right;
} 

@media (min-width:1200px) {
    .leadership-wrap{
        flex-direction: row;
        gap: 3rem;
    }

    .leadership h3{
        text-align: center !important;
    }

    .leadership p{
    text-align: left !important;
}

    .leadership:nth-child(even)::before{
        content: "";
        position: absolute;
        top: 0px;
        left: -1.5rem;
        width: 1px;
        height: 100%;
        background: lightgray;
    }
    .leadership:nth-child(even)::after{
        content: "";
        position: absolute;
        top: 0px;
        right: -1.5rem;
        width: 1px;
        height: 100%;
        background: lightgray;
    }
}



.flex-form-wrap{
    flex-direction: column;
    gap: 1rem;
}

.contact-infos{
    text-align: center;
}

form.form-contact{
    min-width: 150px;
    max-width: 500px;
    width: 100%;
    margin: auto;
}

form .flex-form{
    flex-direction: column;
    gap: 0rem;
}
@media (min-width: 1000px) {
    .flex-form-wrap{
        flex-direction: row;
        justify-content: space-around;
    }
    .contact-infos{
        text-align: left;
    }
    form.form-contact{
        margin: 0px;
    }
}
@media (min-width: 800px) {
    form .flex-form{
        flex-direction: row;
        gap: 0.5rem;
    }
}

form .btn-call{
    font-family: "SUSE", "Helvetica Neue", sans-serif;
    font-size: large;
    cursor: pointer;
    border-radius: 0.5rem;
    display: inline-flex;
    padding: 1rem 1.5rem;
    border: 0px;
}

#return_send{
    position: fixed;
    bottom: 0rem;
    left: 0.5rem;
    z-index: 999;
}

#return_send .alert{
    max-width: 100%;
    margin: 0px 0px 0.5rem 0px;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

#return_send .alert .d-flex{
    gap: 0.5rem; 
    padding-bottom: 1rem; 
    border-bottom: 1px solid lightgray;
    margin-bottom: 1rem;
}

#return_send .alert .close{
    all: unset;
    cursor: pointer;
    opacity: 1;
}
#return_send .alert .close:hover svg{
    opacity: 0.8;
}


main{
    position: relative;
    z-index: 2;
    min-height: 100vh;
    width: 100%;
}
footer{
    width: 100%;
    padding: 2rem 0px;
    position: fixed;
    bottom: 0px;
    z-index: -1;
}

.footer-link{
    text-decoration: none;
    color: white;
    opacity: 1;
    transition: 0.4s;
}
.footer-link:hover{
    opacity: 0.8;
}

#scrollTop{
    display: none;
    position: fixed;
    z-index: 998;
    bottom: 2rem;
    right: 2rem;
    border: 0px;
    height:50px;
    width: 50px;
    border-radius: 0.5rem;
    background: white;
    color: #063066;
    box-shadow: 0px 0px 0px 1.5px #063066;
}
#scrollTop.on{
    display: flex;
    cursor: pointer;
}

#scrollTop span{
    position: relative;
    margin: auto;
    height: 1.5rem;
}
#scrollTop:hover span{
    padding-top: 3px;
}
#scrollTop:hover span::after{
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #063066;
}

#scrollTop span svg{
    height: 100%;
}

.dialog{
    display: none;
}
.dialog.open{
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999999;
    width: 100vw;
    height: 100vh;
}

.dialog-background{
    display: flex;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.dialog-wrap{
    display: inline;
    width: 100%;
    
    max-width: calc(100% - 2rem);
    min-width: 280px;
    height: calc(100% - 5rem - 5rem);
    margin: auto;
    background: white;
    border-radius: 0.5rem;
}
@media (min-width: 600px) {
    .dialog-wrap{
        max-width: 560px;
    }
}
.dialog-content{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.dialog-header{
    padding: 1rem;
}

.dialog-body{
    padding: 0px 1rem;
    flex-grow: 1;
    overflow-y: scroll;
}

.dialog-footer{
    padding: 1rem;
}

.dialog-footer .btn-call{
    font-family: "SUSE", "Helvetica Neue", sans-serif;
    cursor: pointer;
    border-radius: 0.5rem;
    display: inline-flex;
    padding: 0.5rem 1rem;
    border: 0px;
}

/* custom SCROLLBAR */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(6, 48, 102, 0.5);
    border-radius: 1rem;
    transition: 0.4s;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 48, 102, 0.8);
}

