/* ------------------------------
   Fonts
------------------------------ */
@font-face {
  font-family: "chmp";
  src: url("assets/champ.ttf") format("truetype");
}

/* ------------------------------
   Base
------------------------------ */
html, body {
  height: 100%;
  margin: 0;
  font-family: "chmp", sans-serif;
  background: #fff;
  color: #222;
}

.header-nav {
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url(assets/img/navbar.jpg) no-repeat left center / cover;
}

.header-nav img {
    margin-left: 100px;
    height: 35px;
}

.header-nav {
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.galetbtn img {
    height: 40px !important;
    transition: transform 0.3s ease-in-out;
}

.galetbtn img {
    animation: rotate 1.5s infinite;
}

@keyframes rotate {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25%,
    60% {
        transform: scale(1) rotate(7deg);
    }

    40%,
    80% {
        transform: scale(1) rotate(-7deg);
    }
}
/* ------------------------------
   Gamme - Container
------------------------------ */
.gamme {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 110px 0 40px 0; /* <-- ici, on ajoute 110px en haut au lieu de 40px */
}

.gamme-inner {
  width: 90%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ------------------------------
   Gamme - Ligne (haut/bas)
------------------------------ */
.gamme-t,
.gamme-b {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap; /* permet d’aller à la ligne si trop serré */
}

/* ------------------------------
   Gamme - Élément
------------------------------ */
.gamme-elem {
  flex: 1 1 300px; /* flexible avec minimum 300px */
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.gamme-elem img {
  width: 100%;
  aspect-ratio: 1/1; /* toujours carré */
  object-fit: cover;
  border-radius: 8px;
}

/* ------------------------------
   Texte des éléments
------------------------------ */
.elem-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.elem-text h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.elem-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4em;
  color: #444;
}

/* ------------------------------
   Galets couleur
------------------------------ */
.galetscouleur {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.galetscouleur img {
  height: 18px;
  width: auto;
  aspect-ratio: auto;
}

#bleu {
  height: 20px;
}

.legende {
    align-items: start;
}

/* ------------------------------
   Responsive - Tablettes
------------------------------ */
@media (max-width: 1300px) {
  .gamme-inner {
    width: 95%;
  }

  .gamme-t, 
  .gamme-b {
    gap: 20px;
  }

  .gamme-elem {
    flex: 1 1 250px;
    max-width: 320px;
  }

  .elem-text h3 {
    font-size: 1.1rem;
  }

  .elem-text p {
    font-size: 0.95rem;
  }

  .galetscouleur img {
    height: 16px;
  }

  #bleu {
    height: 18px;
  }
}

/* ------------------------------
   Responsive - Mobiles
------------------------------ */
@media (max-width: 850px) {
  .gamme-inner {
    gap: 30px;
  }

  .gamme-t, 
  .gamme-b {
    flex-direction: column;
    align-items: center;
  }

  .gamme-elem {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 10px;
  }

  .elem-text {
    align-items: center;
    text-align: center;
  }

  .elem-text h3 {
    font-size: 1rem;
  }

  .elem-text p {
    font-size: 0.9rem;
  }

ul {
      margin: 0;
      margin-left: 20px;
      padding: 0;

}
}
