* {
    font-family: "Lato", sans-serif;
    font-style: normal;
}

/* Pour l'animation (apariation de bas en haut). */
    .reveal { opacity: 0; transform: translateY(200px); }
    .revealVisible { opacity: 1; transform: translateY(0); transition: all 1s; }
/*  */

:root {
    --rouge: #ec1f25;
    --bleu: #004ea2;
    --gris: #a09390;
    --vert: #008a63;
    --grisNoir: #434656;
}


section .titre-section {
    margin: 0 auto 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

section .titre-section h4 {
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 2.5rem;
    text-align: center;
    text-transform: uppercase;
}

section .titre-section div {
    width: 80%;
    height: 0.25rem;
    background: var(--bleu);
    margin: 0 auto;
}

section .titre-section p {
    max-width: 56rem;
    color: #fff;
    text-wrap: balance;
    --tw-text-opacity: 1;
    font-size: 1.15rem;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1));
    margin-top: 1rem;
}


section {
    margin: 56px 0;
}







/* Barre de navigation */
@media screen {

    nav {
        height: 95px;
        background: #fff;
        box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
    }

    nav div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }

    nav .logo img {
        width: 150px;
    }

    nav ul {
        padding: 0;
        gap: 1.5rem;
        margin-bottom: 0;
    }

    nav ul li {
        list-style-type: none;
        position: relative;
        cursor: pointer;
    }

    nav ul li::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -.3rem;
        transform: translate(-50%);
        background: var(--bleu);
        width: 0%;
        height: 3px;
        border-radius: 16px;
        transition: width .3s ease;
    }

    nav ul li.actif::before {
        width: 50%;
    }

    nav ul li.actif a {
        font-weight: 700;
    }

    nav ul li:hover::before {
        width: 100%;
        background: var(--rouge);
    }

    nav ul li a {
        font-size: 1.10rem;
        text-decoration: none;
        color: #000;
        font-family: "Lato", sans-serif;
        font-weight: 500;
        text-transform: uppercase;
        transition: all .1s ease;
    }

    nav ul li:hover a {
        font-weight: 700;
    }


    nav button {
        width: 50px;
        height: 50px;
        border: unset;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--gris);
        border-radius: 50px;
        position: relative;
    }

    nav button::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }


    nav button svg {
        width: 24px;
        color: #fff;
    }
}

/* Header */
@media screen {

    header {
        margin-top: 95px;
        padding: 40px 0;
        display: flex;
        justify-content: start;
        align-items: center;
        background-image: url('/images/header.webp');
        background-size: cover;
        background-position: center;
    }

    header .contenu {
        background: #000000b4;
        color: #fff;
        max-width: 800px;
        border-radius: 16px;
        backdrop-filter: blur(3px);
    }

    header .contenu h1 {
        font-size: clamp(40px, 10vw, 48px);
    }

    header .contenu p {
        font-size: clamp(22px, 5vw, 24px);
    }

    @media (min-width:768px) {
        header {
            height: 75vh;
        }
    }


    header button {
        background: #fff;
        padding: .5rem 1.5rem;
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: .5rem;
        width: fit-content;
        transition: all .1s ease-in-out;
        position: relative;
        border: 2px solid transparent;
    }

    header button::before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        cursor: pointer;
    }

    header button span {
        color: #000;
        font-size: 16px;
        font-size: clamp(18px, 4vw, 20px);
    }

    header button:hover {
        background-color: var(--bleu);
        border: 2px solid #fff;
        color: #fff;
        transform: translateY(-5px);
    }

    header button:hover span {
        color: #fff;
    } 

    header button:hover svg {
        color: #fff;
    }

    header button svg {
        color: #000;
        width: 20px;
    }
    


}


/* About section */
@media screen {

    #about .contenu .paragraph {
        display: flex;
        align-items: flex-start;
    }

    #about .contenu p {
        font-size: 1.20rem!important;
        font-weight: 400;
        color: rgb(55 65 81 / var(--tw-text-opacity, 1));
    }

    #about .contenu .paragraph .icone {
        width: 50px;
        height: 50px;
        background: var(--bleu);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #about .contenu .paragraph svg {
        width: 16px;
        color: #fff;
    }

    #about .data {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: #8080800a;
        padding: 24px 8px;
        border-radius: 16px;
        box-shadow: 1px 2px 5px -4px #00000099;
    }

    #about .data .icone {
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #004ea224;
        border-radius: 50px;
    }

    #about .data .icone svg {
        width: 18px;
        color: #004ea2;
    }

    #about .data span {
        margin-top: .5rem;
        font-size: 1.15rem;
        font-weight: 600;
        text-wrap: balance;
    }

    #about .info-hafors {
        width: 100%;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        background: var(--vert);
        transition: all .2s ease-out;
        text-decoration: none;
        position: relative;
        border-radius: 25px;
    }

    #about .info-hafors:hover {
        background: var(--bleu);
        box-shadow: 3px 3px 0px 0px #c1c1c1;
    }

    #about .info-hafors svg {
        color: #fff;
        width: 18px;
    }

    #about .info-hafors span {
        color: #fff;
        font-size: 1.20rem;
        font-weight: 400;
    }

    #about .info-hafors:hover span {
        color: #fff;
    }


    #about .info-hafors a {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }



    
}


/* Nos Services */
@media screen {
    
    #services {
        background-color: rgb(249 250 251 / 1);
    }

    #services .service {
        background: var(--bleu);
        border-radius: 16px;
        width: 100%;
        transition: all .2s ease;
        position: relative;
    }

    #services .service:hover {
        transform: translateY(-10px);
        background: var(--vert);
    }

    #services .service .icone {
        width: 5rem;
        height: 5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 50px;
        transition: all .1s ease;
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
    }

    #services .service:hover .icone {
        background: #fff;
    }

    #services .service .icone svg {
        width: 2.5rem;
        line-height: .75em;
        vertical-align: -.0667em;
        color: var(--bleu);
        transition: all .3s ease;
    }

    #services .service:hover .icone svg {
        color: var(--vert);
    }

    #services .service h6 {
        margin-top: 1rem;
        font-weight: 600;
        font-size: 1.25rem;
        line-height: 1.75rem;
        color: #fff;
    }

    #services .service p {
        color: #fff;
        margin-bottom: 1rem;
    }

    #services .service:hover p {
        color: #fff;
    }

    #services .service a.btn {
        background: #fff;
        color: rgb(0 86 179 / 1);
        height: 24px;
        display: flex;
        text-decoration: none;
        gap: .5rem;
        width: fit-content;
        align-items: center;
        padding: 16px 8px 17.5px;
        border-radius: 8px;
        transition: transform .4s ease-in;
    }

    #services .service:hover a.btn {
        transform: translateX(0);
        background-color: #fff;
        color: var(--vert);
    }

    #services .service a.clic::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    #services .service span {
        font-weight: 500;
    }

    #services .service svg {
        width: 16px;
    }
}


/* Nos Projets */
@media screen {
    
    #projets {
        /* background-color: rgb(249 250 251 / 1); */
    }

    #projets .projet {
        border-radius: 16px;
        --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
        width: 100%;
        position: relative;
        transition: all .3s ease;
        margin-bottom: 2rem;
        background: #fff!important;
    }

    #projets .projet:hover {
        transform: translateY(-10px);
        --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    }


    #projets .projet .image {
        border-radius: 16px 16px 0 0;
        width: 100%;
        height: 12rem;
        overflow: hidden;
    }

    #projets .projet .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #projets .projet .info {
        padding: 1.5rem!important;
    }

    #projets .projet h6 {
        font-weight: 600;
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    #projets .projet p {
        --tw-text-opacity: 1;
        color: rgb(55 65 81 / var(--tw-text-opacity, 1));
        margin-bottom: 1rem;
    }

    #projets .projet a {
        --tw-text-opacity: 1;
        color: rgb(0 86 179 / var(--tw-text-opacity, 1));
        height: 24px;
        display: flex;
        text-decoration: none;
        gap: .5rem;
        align-items: center;
    }

    #projets .projet a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    #projets .projet span {
        font-weight: 500;
    }

    #projets .projet svg {
        width: 16px;
    }

    #projets a.projets {
        display: flex;
        text-decoration: none;
        width: fit-content;
        background: var(--vert);
        color: #fff;
        border-radius: 50px;
        padding: 8px 24px 9.5px;
        font-size: 1.15rem;
        margin: 0 auto;
    }
}


/* Pourquoi nous ? */
@media screen {
    
    #why-us {
        background: #fff;
    }

    #why-us .raison {
        --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
        --tw-bg-opacity: 1;
        background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 32px 16px;
        border-radius: 16px;
    }

    #why-us .raison .icone {
        width: 6rem;
        height: 6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #004ea20f;
        border-radius: 50px;
    }

    #why-us .raison .icone svg {
        width: 3rem;
        line-height: .75em;
        vertical-align: -.0667em;
        color: var(--bleu);
    }

    #why-us .raison h6 {
        margin-top: 1rem;
        font-weight: 600;
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    #why-us .raison p {
        --tw-text-opacity: 1;
        color: rgb(55 65 81 / var(--tw-text-opacity, 1));
        margin-bottom: 1rem;
    }

    /*  */
    #why-us #chiffres {
        margin-top: 2rem;
    }

    #why-us #chiffres .chiffre {
        --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
        background: var(--bleu);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 32px 16px;
        border-radius: 16px;
        text-align: center;
    }

    #why-us #chiffres .chiffre h5 {
        color: #fff;
        font-weight: 700;
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    #why-us #chiffres .chiffre h6 {
        color: #fff;
        font-size: 1.5rem;
        line-height: 1.75rem;
    }




}


/* Retours */
@media screen {
    
    #retours {
        background: #00000009;
    }

    #listeRetours .retour-item {
        background: #fff;
        --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
        padding: 1.5rem;
        border-radius: 16px;
    }

    #listeRetours .retour-item .stars {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        gap: 4px;
    }

    #listeRetours .retour-item svg {
        width: 24px;
        --tw-text-opacity: 1;
        color: rgb(250 204 21 / var(--tw-text-opacity, 1));
    }

    #listeRetours .retour-item p {
        --tw-text-opacity: 1;
        color: rgb(55 65 81 / var(--tw-text-opacity, 1));
        font-size: 1.10rem;
    }

    #listeRetours .retour-item .auteur {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
    }

    #listeRetours .retour-item .profil {
        width: 50px;
        height: 50px;
        overflow: hidden;
        border-radius: 50px;
    }

    #listeRetours .retour-item .info {
        display: flex;
        flex-direction: column;
    }

    #listeRetours .retour-item h5 {
        font-weight: 600;
        font-size: 1.10rem;
        margin-bottom: 0;
    }
    
    #listeRetours .retour-item h6 {
        font-weight: 350;
        font-size: 1.10rem;
        margin-bottom: 0;
    }

    #retours .swiper-pagination {
        margin-top: 15px;
        position: relative;
    }
    
    #retours .swiper-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background-color: color-mix(in srgb, var(--bleu), transparent 70%);
        opacity: 1;
    }
    
    #retours .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
        background-color: var(--bleu);
        width: 20px;
        border-radius: 10px;
    }
}



/* Newsletter */
@media screen {
    
    #newsletters {
        padding: 70px 0;
        background: var(--bleu);
    }

    #newsletters .contenu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        text-wrap: balance;
    }

    #newsletters h6 {
        font-size: 2.25rem;
        line-height: 2.5rem;
        font-weight: 700;
        color: #fff;
    }

    #newsletters p {
        font-size: 1.15rem;
        color: rgb(255 255 255 / 0.8);
    }

    #newsletters .form input {
        --tw-text-opacity: 1;
        color: rgb(31 41 55 / var(--tw-text-opacity, 1));
        padding: 0.75rem;
        border-style: none;
        border-radius: 8px;
        border: unset;
        height: 50px;
        outline: unset;
        border: 2px solid transparent;
        width: 100%;
    } 

    #newsletters .form input:focus {
        border: 2px solid rgb(255 255 255 / 0.8);
    }

    #newsletters .form button {
        height: 50px;
        border: unset;
        border-radius: 8px;
        background: #fff;
        padding: 8px 24px;
        --tw-text-opacity: 1;
        color: rgb(0 86 179 / var(--tw-text-opacity, 1));
        font-weight: 700;
        text-transform: uppercase;
        transition: all .3s ease;
        width: 100%;
    }

    @media (min-width:768px) {
        
        #newsletters .form input {
            width: 70%;
        }

        #newsletters .form button {
            margin-left: 1rem;
            width: 30%;
        }
    }


    #newsletters .form button:hover {
        background: var(--gris);
        color: #fff;
    }

    #newsletters span {
        color: #fff;
        font-style: italic;
        display: block;
        margin-top: 1rem;
        font-weight: 300;
        font-size: 1rem;
    }
}


/* Contact */
@media screen {
    
    #contact .form,
    #contact .coordonnees {
        --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
        --tw-bg-opacity: 1;
        background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
        border-radius: 15px;
    }

    #contact .form .form-label {
        color: rgb(55 65 81 / 1);
        font-weight: 700;
        font-size: 1.15rem;
    }

    #contact .form button {
        width: 100%;
        margin-top: 1rem;
        /* height: 40px; */
        background: var(--vert);
        border: unset;
        color: #fff;
        border-radius: 8px;
        font-size: 1.10rem;
        padding: 11px 0 10px;
        transition: all .3s ease-in-out;
    }

    #contact .form button:hover {
        background: var(--bleu);
    }



    #contact .coordonnees h5 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1.15rem;
    }

    #contact .coordonnees .datas .data .icone {
        width: 3rem;
        height: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #004ea21a;
        border-radius: 50px;
    }

    #contact .coordonnees .datas .data .icone svg {
        width: 1.3333em;
        line-height: .75em;
        vertical-align: -.0667em;
        color: var(--bleu);
    }

    #contact .coordonnees .datas .data .ate h6 {
        margin-bottom: 0;
        font-size: 1.15rem;
        font-weight: 600;
    }

    #contact .coordonnees .datas .data .ate p {
        margin-bottom: 0;
        font-size: 1.15rem;
        text-wrap: balance;
    }

    #contact .socialMedia {
        display: flex;
        gap: 1rem;
    }
    
    #contact .socialMedia a {
        width: 35px;
        position: relative;
        transition: all .3s ease;
    }

    #contact .socialMedia a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    #contact .socialMedia a:hover {
        transform: translateY(-5px);
    }

    #contact .socialMedia a:hover svg {
        color: var(--vert);
        transform: scale(1.15);
    }


    #contact .socialMedia a svg {
        width: 35px;
        color: var(--bleu);
    }
}


/* Footer */
@media screen {
    
    footer {
        padding: 32px 0;
        background-color: rgb(17 24 39 / 1);
        color: rgb(156 163 175 / 1);
    }

    footer .about img {
        width: 100%;
        border-radius: 8px;
        background: #fff;
        padding: 16px;
        max-width: 300px;
    }

    footer .about p {
        margin-bottom: 0;
        margin-top: 1rem;
        font-size: 1.10rem;
        font-weight: 300;
        max-width: 300px;
    }

    footer h5 {
        color: #fff;
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    footer ul {
        padding: 0;
        margin: 0;
    }

    footer ul li {
        list-style-type: none;
        margin-bottom: .5rem;
    }

    footer ul li:last-child {
        margin-bottom: 0;
    }


    footer ul li a {
        text-decoration: none;
        color: rgb(156 163 175 / 1);
        transition: all .3s ease-in-out;
        text-transform: uppercase;
        font-size: 1rem;
    }

    footer ul li a:hover {
        color: #fff;
    }

    footer #navFooter li.actif a {
        color: #fff;
        font-size: 1.08rem;
        font-weight: 600;
    }

    footer .contact .crdnns .crdnn {
        align-items: center;
        gap: 8px;
        /* margin-bottom: 1rem; */
    }

    footer .contact .crdnns .crdnn .icone {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgb(156 163 175 / 1);
        border-radius: 8px;
    }

    footer .contact .crdnns .crdnn .icone svg {
        width: 18px;
        color: #fff;
    }
}




/* Style pour le menu mobile */
@media screen {
    
    .divMenuMobile {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        /* padding: 0 32px; */
    }

    .divMenuMobile .logo {
        margin: 24px 64px 0;
    }


    .divMenuMobile ul {
        padding: 0;
        list-style-type: none;
    }

    .divMenuMobile ul li a {
        border-radius: 0px 16px 16px 0;
        display: flex;
        justify-content: flex-start;
        color: #8080800a;
        font-size: 1.15rem;
        text-decoration: none;
        color: rgb(55 65 81 / var(--tw-text-opacity, 1));
        padding: 12px 12px 12px 64px;
        gap: 16px;
    }

    .divMenuMobile ul li.actif a {
        background: var(--vert);
        color: #fff;
    }

    .divMenuMobile ul li a svg {
        width: 20px;
    }

    .divMenuMobile button {
        width: 100%;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--rouge);
        border: unset;
        gap: 8px;
    }

    .divMenuMobile button svg {
        width: 20px;
        color: #fff;
    }

    .divMenuMobile button span {
        color: #fff;
        font-size: 1.15rem;
    }
}