/* GLOBAL */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.eot');
    src: url('fonts/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Montserrat-Regular.woff2') format('woff2'),
        url('fonts/Montserrat-Regular.woff') format('woff'),
        url('fonts/Montserrat-Regular.ttf') format('truetype'),
        url('fonts/Montserrat-Regular.svg#Montserrat-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Bold.eot');
    src: url('fonts/Montserrat-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Montserrat-Bold.woff2') format('woff2'),
        url('fonts/Montserrat-Bold.woff') format('woff'),
        url('fonts/Montserrat-Bold.ttf') format('truetype'),
        url('fonts/Montserrat-Bold.svg#Montserrat-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body, html {
    font-size: 16px;
    color: #000;
    font-family: "Montserrat", sans-serif;
    margin : 0;
    padding: 0;
}

h1 {
    font-size: 42px;
    line-height: 1.3;
    margin: 0;
    text-align: center;
    padding: 30px 0 30px 0;
    text-transform: uppercase;
}

h2 {
    display: inline;
    font-size: 32px;
    line-height: 1.2;
    margin:0;
    background: linear-gradient(to top, #ffb703 0%, #ffb703 26%,transparent 26.01%) no-repeat;
}

h2:hover {
    animation : underlined 1s both;
}

@keyframes underlined {
    from {
        background-size: 100% 100%;
        background-position: bottom right;
    }
    50% {
        background-size: 0 100%;
        background-position: bottom right;
    }
    50.01% {
        background-position: bottom left;
    }
    100%{
        background-size: 100% 100%;
        background-position: bottom left;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    line-height: 1.5;
}

ul, li {
    list-style: none;
    padding: 0;
}

@media only screen and (max-width : 768px) {
    h1 {
        font-size: 32px;
        line-height: 1.1;
    }
    h2 {
        font-size: 26px;
    }
    p {
        font-size: 15px;
    }
}

/* Menu de navigation */
.header {
    width: 100%;
    height: 90px;
    font-size: 16px;
    color: #465fc8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.header-logo img {
    max-height: 50px;
}

.header-nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 40px;
}

.nav-item a:hover {
    font-weight: bold;
}

/* Menu burger */
.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    text-decoration: none;
    display : none;
}

#openBtn {
    display: none;
    cursor: pointer;
    /*position: fixed;*/
    top: 30px;
    right: 40px;
    z-index: 1100;
}

.burger-icon span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #465fc8;
    transition: all 0.3s ease;
}

/* Etat du menu ouvert - transformation en croix */
.header .burger-icon.active .first-line {
    transform: rotate(45deg);
}

.header .burger-icon.active .second-line {
    width: 0;
}

.header .burger-icon.active .third-line {
    transform: rotate(-45deg);
    margin-top: -16px;
}

/* Responsive - tablette et téléphone - menu burger */
@media only screen and (max-width : 768px) {
    /* Header*/
    .header {
        padding: 0px 25px;
    }

    .nav-aside {
        /*position: fixed;*/
        right: 0;
        transition: all .4s ease;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 300px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #FFF;
        transform: translateX(100%);
        transition: transform .3s ease-in-out;
        z-index: 1000;
    }

    .header-nav-menu {
        flex-direction: column;
        line-height: 2.2;
        padding: 100px 0 0 0;
    }

    #openBtn {
        display: block;
    }

    .close {
        display: block;
    }

    .header-nav.active {
        transform: translateX(0);
    }
}

@media only screen and (max-width : 576px) {
    .header-nav {
        width: 100%;
    }
}

/* bannière */
.banniere {
    display : grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 35px;
    background: #465fc8;
    color :#FFF;
    padding: 80px 50px;
    align-items : center;
}

.banniere-img {
    height: 520px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 0 20px #00000026;
}

.banniere-intro-info {
    display: grid;
    grid-template-rows: 3;
    row-gap: 5px;
}

.banniere-title {
    text-align: left;
    padding: 0;
    text-transform: none;
}

.btn-banniere {
    padding-top: 20px;
}

.btn-banniere-contact {
    background: #fff;
    color:#465fc8;
    border : 1px solid transparent;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 25px;
    margin-right: 15px;
    font-weight: bold;
    font-size: 16px;
    align-content: center;
}

.btn-banniere-contact:hover {
    background: #465fc8;
    color:#FFF;
    border : 1px solid #FFF;
    border-radius: 8px;
}

.btn-banniere-prestations {
    color:#fff;
    border : 1px solid #FFF;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 25px;
    margin-right: 15px;
    font-weight: bold;
    font-size: 16px;
    align-content: center;
}

.btn-banniere-prestations:hover {
    background: #fff;
    color:#465fc8;
    border : 1px solid transparent;
    border-radius: 8px;
}


/* Responsive - tablettes et téléphones - bannière */
@media only screen and (max-width : 1287px) {
    .banniere {
        display: block;
        padding: 45px 25px;
    }
    .banniere-img {
        display: none;
    }
}

@media only screen and (max-width : 423px) {
    .btn-banniere {
        padding-top: 0;
    }
    
    .btn-banniere-contact,
    .btn-banniere-prestations {
        display: inline-block;
        margin-right: 0;
        margin-top: 10px;
    }
}

/* Homepage - Présentation VB */
.container-presentation {
    text-align: center;
    border-radius: 12px;
    padding: 60px 90px;
    margin: 100px 50px;
    box-shadow: 0 0 10px #00000026;
}

.container-presentation-texte {
    margin-top: 40px;
}

.link {
    color:#465fc8;
    font-weight: bold;
    text-decoration: underline;
}

.btn-a-propos{
    display: inline-flex;
    background: #465fc8;
    color:#FFF;
    border : 1px solid #465fc8;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 30px;
    align-items: center;
}

.btn-a-propos:hover {
    background: #FFF;
    color:#465fc8;
    border : 1px solid #465fc8;
    border-radius: 8px;
}

/* Responsive - tablettes et téléphones - présentation VB */
@media only screen and (max-width : 768px) {
    .container-presentation {
        display: block;
        margin: 45px 25px;
        padding: 40px;
    }
}

/* Homepage - Prestations */
.container-prestations {
    text-align: center;
    padding: 0 50px 100px 50px;
}

.container-prestations-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 35px;
    justify-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.img-expertise {
    border-radius: 50%;
    box-shadow: 0 0 10px #00000026;
    height: 200px;
    width: auto;
}

.container-prestations-box img:hover {
    overflow: hidden;
    transform: scaleX(1.1) scaleY(1.1);
    transition: .5s;
}

.btn-prestations {
    display: inline-flex;
    background: #465fc8;
    color:#FFF;
    border : 1px solid #465fc8;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 16px;
    align-items: center;
}

.btn-prestations:hover {
    background: #FFF;
    color:#465fc8;
    border : 1px solid #465fc8;
    border-radius: 8px;
}

.btn-prestations img {
    width: 40px;
    height: auto;
    filter: brightness(0) invert(1);
}

.btn-prestations:hover img {
    filter: none;
}

/* Responsive - tablettes et téléphones - prestations */
@media only screen and (max-width : 768px) {
    .container-prestations {
        padding: 0 25px 0 25px;
    }
    .container-prestations-box {
        display: block;
    }
}

/* Homepage - Bannière CTA */
.banniere-cta {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    row-gap: 50px;
    width: 100%;
    background: #465fc8;
    color :#FFF;
    padding: 50px;
    text-align: center;
}

.btn-banniere-cta-contact {
    background: #fff;
    color:#465fc8;
    border : 1px solid transparent;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 16px;
}

.banniere-cta h2 {
    background: none;
}

.btn-banniere-cta-contact:hover {
    background: #465fc8;
    color:#FFF;
    border : 1px solid #FFF;
    border-radius: 8px;
}

/* Responsive - tablettes et téléphones - prestations */
@media only screen and (max-width : 768px) {
    .banniere-cta {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: 30px;
        margin : 45px 0 45px 0;
        padding: 45px 25px 55px 25px;
    }
}

/* Homepage - Témoignages */
.container-temoignages {
    text-align: center;
    padding: 100px 50px;
}

.container-temoignages-box{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}


.temoignages-card {
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 10px #00000026;
}

.fonction-temoignage {
    font-size: 14px ;
}

/* Responsive - tablettes et téléphones - témoignages */
@media only screen and (max-width : 768px) {
    .container-temoignages {
        padding: 0 25px 45px 25px;
    }
    
    .container-temoignages-box {
        display: block;
    }
    .temoignages-card {
        margin-top: 15px;
    }
}

/* Footer */
.footer {
    display: grid;
    grid-template-columns: 380fr 360fr 230fr;
    column-gap: 35px;
    background: #465fc8;
    padding: 50px 50px 10px 50px;
    color: #FFF;
}

.footer-contact {
    grid-column: 3 / -1;
    justify-content: flex-end;
}

.footer-title {
    margin-bottom: 18px;
}

.footer-icons {
    height: 15px;
    width: auto;
    margin-right: 10px;
}

.footer-contact-item {
    align-items: center;
    margin-bottom: 5px;
}

.footer-contact-item a:hover {
    font-weight: bold;
}

.footer-legal {
    display: flex;
    padding: 0px 50px 0px 50px;
    font-size: 11px;
    background: #403233;
    color: #FFF;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.footer-legal-links ul {
    display: flex;
}

.footer-legal-links li::after {
    content: "|";
    margin-right: 10px;
    margin-left: 10px;
}

/* Responsive - tablettes et téléphones - footer */

@media only screen and (max-width : 768px) {
    .footer {
        display: block;
        padding: 25px;
    }
    .footer-legal {
        display: block;
        padding: 12px;
        text-align: center;
        text-transform: none;
    }
    .footer-legal-copyright {
        margin: 0;
        font-size: 11px;
    }
    .footer-legal-links ul {
        display: block;
        margin: 0;
    }
    .footer-legal-links li::after {
        display: none;
    }
}

/* Page contact */
.contact-main {
    display: flex;
    padding: 30px 50px 100px 50px;
}

.contact-container {
    width: 35%;
    padding-right: 30px;
}

.contact-form {
    width: 65%;
}

.grid-contact {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label,
.form-group-full label {
    text-transform: uppercase;
}

.form-group input,
.form-group-full textarea {
    display: block;
    width: 100%;
    border : 1px solid lightgrey;
    color: #000;
    Padding: 15px;
    min-height: 45px;
    font-size: inherit;
    font-family: inherit;
    border-radius: 4px;
}

.form-group-full textarea {
    min-height: 150px;
    resize: none;
}

.form-item-conditions {
    grid-column: 1 / -1;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.form-item-conditions input {
    margin-right: 8px;
}

.link-form {
    color: #465fc8;
    text-decoration: underline;
}

.btn-contact {
    background: #465fc8;
    color:#fff;
    border : 1px solid #465fc8;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 16px;
}

.contact-collab {
    display: block;
    padding: 0px 50px 100px 50px;
    text-align: center;
}

.etapes-collab {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    text-align: center;
    margin-top: 30px;
}

.collab-card {
    border-radius: 12px;
    padding: 30px 20px 30px 20px;
    box-shadow: 0 0 10px #00000026;
    text-align: center;
}

.collab-card:hover {
    background: #465fc81c;
}

/* Responsive page contact */
@media only screen and (max-width : 768px) {
    .contact-main {
        display: block;
        padding: 25px 25px 45px 25px;
        text-align: center;
    }
    .contact-container {
        width: 100%;
        padding: 0;
    }
    .contact-form {
        width: 100%;
    }
    .grid-contact {
        display: block;
    }
    .form-group, .form-group-full, .form-item-conditions {
        padding: 10px 0 10px 0;
    }
    .btn-contact{
        margin : 10px 0 10px 0;
    }
    .contact-collab{
        padding: 0 25px 45px 25px;
    }
    .etapes-collab {
        display: block;
    }
    .collab-card {
        margin-bottom: 20px;
    }
}

/* Page à propos */
.a-propos-main {
    display: grid;
    padding: 30px 50px 100px 50px;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
}

.img-a-propos {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.a-propos-container {
    grid-column-end: span 2;
    align-content: center;
}

.a-propos-more {
    display: flex;
}

.a-propos-more-item {
    padding-right: 50px;
    text-align: center;
}

.valeurs-container {
    display: block;
    padding: 0px 50px 100px 50px;
    text-align: center;
}

.valeurs-container-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    margin-top: 30px;
}

.valeurs-container-card {
    border-radius: 12px;
    padding: 30px 20px 30px 20px;
    box-shadow: 0 0 10px #00000026;
    background: #465fc81c;
}

/* Responsive page à propos */
@media only screen and (max-width : 768px) {
    .a-propos-main {
        display: block;
        padding: 25px 25px 45px 25px;
    }
    .a-propos-container {
        text-align: center;
    }
    .img-a-propos {
        margin-bottom: 20px;
    }
    .valeurs-container {
        padding: 0px 25px 45px 25px;
    }
    .valeurs-container-full {
        display: block;
    }
    .valeurs-container-card {
        margin-bottom: 20px;
    }
    .a-propos-more {
        flex-wrap: wrap;
        justify-content: center;
    }
    .a-propos-more-item {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Page prestations */
.prestations-main {
    padding: 30px 50px 0 50px;
}

.header-prestations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

.header-prestations img {
    height: 250px;
    width: auto;
}

.header-prestations-text {
    align-content: center;
    grid-column-end: span 2;
}

.intro-prestation {
    margin-right: 20px;
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 0 100px 0;
}
.prestations-card {
    border-radius: 12px;
    padding: 30px 20px 30px 20px;
    margin: 20px;
    box-shadow: 0 0 10px #00000026;
    text-align: center;
}

.prestations-card:hover {
    background: #465fc81c;
}

.icon-prestations {
    height: 50px;
    width: auto;
}

/* Responsive page prestations */
@media only screen and (max-width : 768px) {
    .prestations-main {
        padding: 25px 25px 0 25px;
        text-align: center;
    }
    
    .header-prestations {
        display: block;
    }

    .header-prestations img {
        padding-bottom: 30px;
    }

    .prestations-grid {
        display: block;
        padding: 25px 0 45px 0;
    }
    .intro-prestation {
        margin-right: 0;
    }
    .prestations-card {
        margin: 0 0 20px 0;
    }
}

/* Page mentions légales et politique de confidentialité */
.mentions-legales-main,
.politique-confidentialite-main {
    padding: 0px 50px 100px 50px;
}
.date-legal {
    text-align: center;
    font-style: italic;
    font-weight: bold;

}

/* Responsive page mentions légales et politique de confidentialité */
@media only screen and (max-width : 768px) {
    .mentions-legales-main,
    .politique-confidentialite-main {
        padding: 0 25px 45px 25px;
    }
}
