:root{
    --total-brand:9;
    --gap-brand:0;
    --logo-width:180px;
    --total-logo-width:calc(((var(--total-brand) * var(--logo-width)) + (var(--total-brand) * var(--gap-brand))) *2);
    --pink: #EF476F;
    --yellow:#FFD166;
    --violet:#9B01A2;
}

.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}

*{
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #F5F5F5;
    overflow-x: hidden;
}

.text-maj{
    text-transform: uppercase;
}

.container {
    margin-left: 90px;
    margin-right: 90px;
}

.paragraphe {
    max-width: 500px;
    font-size: 1.1rem;
}

header{
    /* box-shadow: 0 0 8px 0 rgba(0, 0, 0, .2); */
    background-color: #21485E;
}

header nav a{
    color: white;
    font-size: 0.85rem;
}

#back_bureau {
    position: absolute;
    top: 140px;
    right: 40px;
    width: 600px;
    z-index: 1;
}

#tache_hero{
    position: absolute;
    /* width: 400px; */
    top: 100px;
    left: -30px;
    display: none;
}

nav,
article,
.separator {
    z-index: 99;
    color: black;
    position: relative;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav img{
    width: 160px;
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 50px;


    margin: 0;
}

nav ul li a{
    padding-bottom: 25px;
    padding-top: 30px;
    border-bottom: 5px solid transparent;
    display: block;
    transition: all 0.1s;
}

nav a {
    color: black;
    text-decoration: none;
}

#realisations:hover{
    border-color: var(--pink);
}
#activite:hover{
    border-color: var(--violet);
}
#production:hover{
    border-color: var(--yellow);
}

.button:hover{
    background: rgb(0, 0, 0);
    color: white;
}

.separator{
    background-color: rgb(207, 207, 207);
    min-height: 1px;
    width: 100%;
}

article {
    margin-top: 80px;
}

h1{
    font-size: 3rem;
    line-height: 50px;
    margin-top: 100px;
    color: #21485E;
}



h1:before{
    content:"un impact visuel unique";
    position: absolute;
    top: 90px;
    left: 0;
    transform: rotateX(180deg);
    line-height: 52px;
    transform-origin: bottom;
    background: linear-gradient(to top, #21485E, transparent);
    -webkit-background-clip: text;
    color: transparent;
    opacity: 0;
    transition: all 0.5s;
}

.changed h1:before{
    opacity: 0.15;
}

.slider {
    position: relative;
    z-index: 98;
    margin-top: 160px;
    /* padding-top: 50px;
    padding-bottom: 50px; */
    background: white;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    overflow: hidden;
    width:100vw;
    cursor: pointer;
}

.slider::before,
.slider::after{
    position: absolute;
    content: "";
    height: 100%;
    width: var(--logo-width);
    z-index: 99;
}

.slider::before{
    left: 0;
    background: linear-gradient(to right, #fff 0%, #fff0 100%);
}

.slider::after{
    right: 0;
    background: linear-gradient(to left, #fff 0%, #fff0 100%);
}

.img-logo {
    width: var(--logo-width);
    padding-left: 35px;
    padding-right: 35px;
}

.brands {
    padding-left: 0;
    /* margin-left: 30px; */
    display: flex;
    align-items: center;
    list-style-type: none;
    /* gap: 50px; */
    width: var(--total-logo-width);
    animation: slideLeft 50s linear infinite;
}

@keyframes slideLeft{
100%{
    transform: translateX(calc(-100% /2));
}
}

.division{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 120px;
    margin-bottom: 40px;
}

.index-img{
    width: 650px;
    border-radius: 50px;
    padding: 20px;
    background: #21485E;
}

.button{
    text-decoration: none;
    color: white;
    background: #21485E;
    padding: 15px 25px;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.btn-violet{
    background: var(--violet);
}

.btn-yellow{
    background: var(--yellow);
    color: black;
}

.btn-pink{
    background: var(--pink);
}

.color-pink{
    color: var(--pink);
}

.color-violet{
    color: var(--violet);
}

.color-yellow{
    color: var(--yellow);
}

.btn-white{
    background: white;
    color: #21485E;
    margin-top: 0;
}

.index-contact{
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.index-contact h2{
    font-size: 3rem;
    text-align: center;
    color: #21485E;
}

footer{
    padding-top: 50px;
    background: #21485E;
}

.footer{
    display: flex;
    justify-content: space-between;
    color: white;
}

.footer-links{
    display: flex;
    gap: 90px;
}

.footer-title{
    font-size: 1.2rem;
}

.tache{
    position: absolute;
    width: 180px;
}


/* counter */
.counter {
    display: flex;
    gap: 130px;
}


.counter-sec{
    padding: 80px 0;
    width: 100%;
    background: #131416;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
  }
  .num{
    font-size: 40px;
    margin: 20px 0;
    color: black;
  }

  .box{
    flex: 1;
    text-align: center;
    padding: 20px;
    color: black;
    text-transform: uppercase;
  }

  .nos-realisations{
    background: var(--pink);
  }

  .nos-realisations h1{
    margin: 0;
    color: white!important;
  }

  .nos-realisations h1:before{
    content:"Nos réalisations";
    left: initial;
    /* background: linear-gradient(to top, #21485E, transparent); */
    color: white;
  }

  

  .nos-realisations article{
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;

  }

  .nos-realisations article p{
text-align: center;
color: white!important;
  }

  .cards{
 display: flex;
 flex-wrap: wrap;
 padding-top: 100px;
 padding-bottom: 40px;
 justify-content: space-between;
  }

  .cards .division{
    display: flex;
    flex-direction: column;
    background: white;
    /* color: white!important; */
    justify-content: flex-start;
    max-width: 400px;
    margin: 0;
    margin-bottom: 60px;
    border-radius: 50px;
    padding: 20px;
  }

  .cards .index-img{
    padding: 0px;
    width: 100%;
    border-radius: 0;
    border-radius: 50px 50px 0 0;
  }

  .notre-activite{
    background: var(--violet);
  }

  .notre-activite h1:before{
    content:"";
  }

  .cards-activite{
    padding-top: 50px;
  }

  .cards-activite .division{
    max-width: 300px;
    align-items: center;
    padding: 20px;
    border-radius: 50px;
  }

  .cards-activite .index-img{
    background: none;
    width: 120px;
  }

  .cards-activite .paragraphe{
    font-size: 0.9rem;
  }

  .display-center{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .display-center p{
    text-align: center;
  }

  .cards-activite-2 .division{
    max-width: 250px;
  }

  .special-title{
    font-size: 2.3rem;
    color: #21485E;
  }

  .cards .index-img.image-ici{
    border-radius: 0!important;
  }

  .cards-activite-3 .division{
    background: transparent;
  }

  .moyen-production{
    background: var(--yellow);
  }

  .moyen-production{
    h1:before{
        content:"Nos moyens de production";
        top: 90px;
    }
  }

  .lg-none{
    display: none;
  }

  /* Style pour le menu mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
}

/* Le menu visible */
.mobile-menu.open {
    left: 0;
}

/* Styles pour le menu */
.mobile-menu ul {
    list-style: none;
    padding: 20px;
    margin: 0;
    margin-top: 60px;
}

.mobile-menu ul li {
    margin-bottom: 30px;
}

.mobile-menu ul li a {
    text-decoration: none;
    font-size: 18px;
    color: black;
}

.mobile-menu ul li a.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f1f1f1;
    border-radius: 5px;
    text-align: center;
}


  @media (max-width: 1127px) {
    .row-sm-col {
      flex-direction: column;
    }

    .sm-none{
        display: none;
    }

    .sm-100{
        width: 100%;
    }

    .container {
        margin-left: 20px;
        margin-right: 20px;
    }

    h1{
        font-size: 2.6rem;
    line-height: 40px;
    }

    .changed h1:before{
        display:none;
    }

    #back_bureau{
        display: none;
    }
    .mt40{
        margin-top: 60px!important;
    }

    .mb40{
        margin-bottom: 40px!important;
    }

    nav{
        padding-top: 15px;
    padding-bottom: 15px;
    }
    .lg-none{
        display: flex;
    }

    .cards-activite .division{
        max-width: 100%;
        min-width: 100%;
    }
  }

