@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Urbanist:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--marron);
    border-radius: 50px;
}

a {
    text-decoration: none;
}

html {
    font-family: "Poppins";
    scroll-behavior: smooth;
}

body {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* La norme */
}

:root {

    --marron: #892E1C;
    --screen-width: 1300px;
}

.button_main {
    all: unset;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    background-color: var(--marron);
}

.button_light {
    all: unset;
    width: fit-content;
    padding: 10px 30px;
    border-radius: 8px;
    border: 1px solid var(--marron);
    color: var(--marron);
}

.button_light:hover {
    all: unset;
    width: fit-content;
    padding: 10px 30px;
    border-radius: 8px;
    border: 1px solid var(--marron);
    color: white;
    background-color: var(--marron);
}


.color_main {
    color: var(--marron);
}

.color_white {
    color: white;
}


/* Nav ---------------------- */
.fixed_nav {
    width: 100%;
    background-color: #fff;
    transition: 0.25s ease;
    z-index: 7;
}

.fixed {
    position: fixed;
    transition: 0.25s ease;
}

nav {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--screen-width);
    margin: auto;
    padding: 20px 10px;

}

nav .logo img {
    width: 120px;
}

nav .navlink a , nav .link{
    text-decoration: none;
    margin: 0 10px;
    color: #808183;
    display: block;
    position: relative;
    cursor: pointer;
}

nav .navlink a:hover {
    color: var(--marron);
    /* border-bottom: 2px solid var(--marron); */
}

nav .navlist{
    display: flex;
}

.navlist .dropdown-content{
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    color: #fff;
    width: 200px;
    top: 30px;
    display: none;
    
}

.show {
    display: block !important;
}

.dropdown-content a{
    display: inline;
    /* color: #fff !important; */
}

nav .navlink .active {
    color: var(--marron);
    font-weight: bold;
    /* border-bottom: 2px solid var(--marron); */
}

nav .loginlink {
    color: var(--marron);
    border: 1px solid var(--marron);
    padding: 8px;
}

nav .loginlink:hover {
    background-color: var(--marron);
    color: #FFF;
    border: none;
}

nav .mobile_nav_button {
    display: none;
}

nav .mobile_nav_button i {
    font-size: 1.5em;
    padding: 10px;
}


.close_block {
    display: flex;
    justify-content: end;
    padding: 30px 20px;
}

.close_block i {
    font-size: 2em;
}

.hidden {
    display: none;
}

.navlink.active {
    transform: translateX(0);
    visibility: visible;
    transition: 0.5s cubic-bezier(0.51, 0.03, 0.64, 0.28);
}

/* header----------------------------- */

.space {
    height: 100px;
}

.header__content {
    height: 100%;
    width: 100%;
    max-width: var(--screen-width);
    padding: 20px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
}

.header__content h1 {
    color: #FFF;
    font-family: Urbanist;
    font-size: 50px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    width: 60%;
}

.header__content p {
    color: #FFF;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 50%;
}


header {
    height: 80vh;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    /* background: #808183; */
}

.overlay{
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(128, 128, 128, 0.65), rgba(128, 128, 128, 0.5));
}

.swiper-pagination-bullet {
    width: 15px !important;
    height: 15px !important;
    border: 3px solid white !important;
    border-radius: 0px !important;
    opacity: 1 !important;
    background: grey !important;
}

.swiper-pagination-bullet-active {
    color: #fff;
    background: var(--marron) !important;
    border: 3px solid var(--marron) !important;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* section__about ------------------------- */
.section__about {
    max-width: var(--screen-width);
    margin: auto;
    padding: 100px 20px;
}

.section__about__text {
    text-align: center;
    width: 80%;
    font-size: 16px;
    margin: auto;
}

.section__about .grid_container {
    margin-top: 50px;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fill, max(327px));
}

.section__about .grid_container .grid_item {
    width: 327px;
    height: 327px;
}

.section__about .grid_container .grid_img {
    overflow: hidden;
}

.grid_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid_1 {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.grid_1 .subtitle {
    color: var(--marron);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.grid_1 h3 {
    color: #343340;
    font-family: 'Urbanist';
    font-size: 32px !important;
    font-weight: 700;
}

.grid_1 .texte {
    color: #343340;
    font-size: 16px;
}

.grid_2 {
    background-color: var(--marron);
    text-align: center;
    display: flex;
    padding: 10px;
    align-items: center;
    color: white;
}

.grid_3 {
    background-color: black;
    text-align: center;
    display: flex;
    padding: 10px;
    align-items: center;
    color: white;
}

.section__banner {
    overflow: hidden;
    height: 500px;
}

.section__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section__info {
    padding: 100px 20px;
}

.section__info {
    background-image: url("../images/info_bg.png");
}

.section__info_container {
    max-width: var(--screen-width);
    margin: auto;
    text-align: center;
}

.section__info_container p {
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
}


footer {
    padding: 50px 20px 10px 20px;
    background-color: black;
    color: white;
}

.footer__container {
    max-width: var(--screen-width);
    margin: auto;
}

.footer__container p {
    text-align: center;
}

.footer__nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.footer__nav a {
    color: white;
}

.footer__social__nav {
    margin-top: 30px;
    display: flex;
    gap: 32px;
    justify-content: center;
}

.footer__end {
    border-top: 1px solid white;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
}

.footer__end a {
    color: #fff;
}


.section__header {
    height: 150px;
    background-color: #892E1C;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section__header__bg {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.30) 50.52%, rgba(0, 0, 0, 0.01) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 0px;
}

.section__header h1 {
    font-family: "Urbanist";
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}


.section_confiance {
    background-color: #F5F5F5;
    padding: 100px 20px;
}

.section_confiance_container {
    max-width: var(--screen-width);
    margin: auto;
}

.section_confiance_title {
    color: #343340;
    text-align: center;
    font-family: "Urbanist";
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}


@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 60px 0;
    white-space: nowrap;
    position: relative;
    max-width: var(--screen-width);
    margin: auto;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #F5F5F5);
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #F5F5F5);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
}

.logos-slide img {
    height: 50px;
    margin: 0 40px;
}



@media screen and (max-width:800px) {
    nav .mobile_nav_button {
        display: block;
    }

    .hidden {
        display: flex;
    }

    nav {
        padding: 10px;
    }

    nav .navlink {
        display: flex;
        flex-direction: column;
        justify-content: start;
        position: fixed;
        top: 0;
        right: 0;
        background-color: hsl(240, 8%, 12%);
        color: #fff;
        max-width: 300px;
        width: 100%;
        height: 100%;
        padding: 10px;
        z-index: 3;
        transform: translateX(100%);
        visibility: hidden;
        transition: 0.25s cubic-bezier(0.51, 0.03, 0.64, 0.28);
    }

    nav .navlist{
        flex-direction: column;
    }

    .navlist .dropdown-content{
        position: relative;
        background-color: transparent;
        box-shadow: none;
        color: #fff;
        width: 100%;
        top: 0px;
        display: none;
        
    }
    .dropdown-content a{
        display: inline;
        border: none !important;
        /* color: #fff !important; */
    }


    

    nav .navlink a , nav .link {
        text-decoration: none;
        text-transform: uppercase;
        margin: 5px 20px;
        padding: 10px 0;
        color: #fff;
        border-bottom: 1px solid #fff;


    }

    nav .navlink a:hover {
        color: var(--marron);
        /* border-bottom: 1px solid var(--marron); */
    }

    nav .navlink .active {
        color: var(--marron);
        font-weight: bold;
        border-bottom: 1px solid var(--marron);
    }

    nav .login_link {
        display: none;
    }

    .header__content h1 {
        width: 100%;
    }

    .header__content {
        gap: 30px;
    }

    header {
        height: 90vh;
    }

    .header__content p {
        width: 100%;
    }

    .section__about {
        padding: 50px 20px;
    }

    .section__info {
        padding: 50px 20px;
    }

    .section__about__text {
        width: 100%;
    }

    .section__info_container p {
        width: 100%;
    }

    .footer__end {
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .section__header {
        height: 100%;
    }

    .section__header h1 {
        font-size: 32px;
    }

}