/* General Settings */

@font-face {
    font-family: 'Cocogoose-bold';
    src: url('../typo/Cocogoose\ Pro\ Semilight-trial.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cocogoose-light';
    src: url('../typo/Cocogoose\ Pro\ Light-trial.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cocogoose-ultralight';
    src: url('../typo/Cocogoose\ Pro\ Ultralight-trial.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cocogoose-footer';
    src: url('../typo/Cocogoose\ Pro\ Thin-trial.ttf');
    font-weight: normal;
    font-style: normal;
}

*{
    font-family: "Cocogoose-light", sans-serif;
}

body{
    padding: 0;
    margin: 0;
}

H3{
    color: #285d5a;
    font-family: "Cocogoose-bold", sans-serif;
    font-size: 150%;
}

.separator-horizontal{
    border: 4px solid #285d5a;
    border-radius: 200px;
    height: 4px !important;
    width: 80% !important;
    margin: 0 auto;
}

/* Index Top Contents */

.acc-index-top{
    height: 50vh;
    background-image: url("../images/background-home.jpeg");
    background-size: 100% auto;  /* Largeur à 100%, hauteur auto */
    background-position: center top 50%; /* Aligné en haut, centré horizontalement */
    background-repeat: no-repeat;
    overflow: hidden;         /* Cache ce qui dépasse (utile si contenu interne) */
}

.logo{
    height: 40px;
}

.menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px 20px 30px;
}

.menu-items{
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    list-style: none;
    color: white;
    font-size: 120%;
}

.menu-items a{
    text-decoration: none;
    color: white;
}

.menu-items>*{
    font-family: "Cocogoose-bold", sans-serif;
}

.burger{
    display: none;
    width: 40px;
}

.slogan{
    display: flex;
    flex-direction: row;
    height: 60%;
    align-items: center;
    justify-content: center;
    color: white;
}

.slogan>H1{
    width: 80%;
    text-align: center;
    font-family: "Cocogoose-light", sans-serif;
}

/* Bottom content part */

.actualite{
    width: 60%;
    box-shadow: 0 8px 16px rgba(40, 93, 90, 0.3); /* X, Y, flou, couleur */
    padding: 40px;
    background-color: white;
    border: none;
    border-radius: 15px;
    margin-top: -4% !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.actualite>p{
    padding-left: 5%;
    padding-right: 5%;
    /*padding: 20px 5% 20px 5%;*/
    margin: 5px;
    font-family: "Cocogoose-footer", sans-serif;
      font-weight: normal;
    -webkit-text-stroke: 0.9px black;
        letter-spacing: 1.1px;
    line-height: 1.4;
}

.MoreButton{
    width: 240px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    background-color: #285d5a;
    border-radius: 8px 0 0 8px;
    color: white;
    margin-left: auto;
    margin-top: 20px;
    /*transform: translateX(40px);*/
    margin-right: -40px;
    cursor: pointer;
}

/* Footer */

.footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0 20px 0;
}

.footer img{
    height: 25px;
}

.footer p{
    font-size: 150%;
    font-family: "Cocogoose-footer", sans-serif;
}

/* Slider */

/* .slider {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.slider-track img {
    width: 400px;
    height: 100%;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0;
} */

.slider-track img {
    width: 400px;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0;
}

.slider{
    margin: 40px 0 40px 0;
    overflow: hidden;
}

.slider .slider-track{
        display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* Logos fournisseurs */

.pieces img{
    height: 50px;
}

.pieces>div{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.fournisseurs H3{
    padding-left: 30px;
}

.fournisseurs{
    padding: 30px 0 30px 0;
}


.logos-filature {
  display: flex;
  width: max-content;
  animation: scroll-left linear infinite;
  align-items: center;
}

.logos-filature img {
  flex: 0 0 auto;
  height: 80px;
  margin-right: 30px;
  object-fit: contain;
  display: block;
}

.slider-container {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 0;
}

.logos-fournisseurs {
  display: flex;
  width: max-content;
  animation: scroll-left linear infinite;
  align-items: center;
}

.logos-fournisseurs img {
  flex: 0 0 auto;
  height: 80px;
  margin-right: 30px;
  object-fit: contain;
  display: block;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */

@media (max-width: 1250px) {
.menu-items{
    flex-direction: column;
    background-color: white;
    position: absolute;
    width: 100vw;
    right: 0;
    margin:0;
    top: 70px;
    padding: 20px 0 20px 0;
    display: none;
    box-shadow: 0 8px 16px rgba(40, 93, 90, 0.3);
}
.menu-items *{
    color: #285d5a;
}
.slogan H1{
    font-size: 110%;
}
*{
    font-size: 97%;
}
.actualite{
    margin-top: -10% !important;
}
.logos-fournisseurs img,.logos-filature img {
    height: 40px;
}
.slider-track img {
    width: 80vw;
}
.footer{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 70%;
    gap: 0;
}
.burger{
    display: block;
}
}