@font-face {
    font-family: 'Blouyaade';
    src: url('font/Blouyaade.woff2') format('woff2'),
        url('font/Blouyaade.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
  font-family: sans-serif;
  background: #d4d4d4;
}

h1 {line-height: 2rem;}
img {pointer-events: none;}
body#no-protection img {pointer-events: auto;}
::selection {background: black; color: white;}
a {text-decoration:none; color: black;}
a:hover {font-weight: bold;}

* {
  -webkit-box-sizing: border-box; /* note */
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-background-size: cover; /* pour Chrome et Safari */
  -moz-background-size: cover; /* pour Firefox */
  -o-background-size: cover; /* pour Opera */
  background-size: cover; /* version standardisée */
}




/* SLIDE INFO + SHOP */

.info-columns p {
  border-top: 1px solid black;  /* ligne au-dessus */
  padding-top: 0rem;            /* espace entre le texte et la ligne */
  margin-top: 1rem;             /* espace avant le paragraphe */
  margin-bottom: 0;             /* plus d'espace ni de ligne en dessous */
}

.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: white;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  z-index: 1000;
}

.banner-button {
  cursor: pointer;
  font-size: 1.8rem;
  text-align: left;
  width: 50%;
}

.side-panel {
  position: fixed;
  top: 60px;
  height: calc(100% - 60px);
  background: white;
  color: black;
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 999;
  padding: 20px;
}

.panel-info {
  left: 0;
  width: 50%;
  transform: translateX(-100%);
}

.panel-shop {
  right: 0;
  width: 50%;
  transform: translateX(100%);
}

.side-panel.open {
  transform: translateX(0);
}

.close-btn {
  display: none;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

.info-columns {
  font-size: 0.7rem;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.info-columns div {
  flex: 1;
  min-width: 200px;
}

.shop-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
  gap: 10px;
  background: transparent;
}

.shop-item {
  background: transparent;
  padding: 1px;
}



/* Responsive */
@media (max-width: 768px) {
  .panel-info,
  .panel-shop {
    width: 100%;
    transform: translateX(-100%);
  }

  .panel-shop {
    transform: translateX(100%);
  }

  .side-panel.open {
    transform: translateX(0);
  }

  .close-btn {
    display: block;
  }
}






/* SHOP */

.title  {
  font-size: 1.2rem;
}

.descrip  {
  font-size: 0.6rem;
}

.article  {
  padding: 20px;
  background: transparent;
}


.article  img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.button {
  width: 100%;
  padding: 15px;
  margin-top: 5px;
  text-align: center;
  display: inline-block;
  border-radius: 100px;
  color: white;
  font-size: 1.4rem;
  background: #d4d4d4;
}

.button:hover {
  font-weight: normal !important;
  color: white;
  background: #00ff37;
}

.button2 {
  width: 49%;
  padding: 15px;
  margin-top: 5px;
  text-align: center;
  display: inline-block;
  border-radius: 100px;
  color: white;
  font-size: 1.4rem;
  background: #d4d4d4;
}

.button2:hover {
  font-weight: normal !important;
  color: white;
  background: #00ff37;
}

.soldout {
  width: 100%;
  padding: 15px;
  margin-top: 5px;
  text-align: center;
  display: inline-block;
  border-radius: 100px;
  border: solid 1px red;
  color: red;
  font-size: 1.4rem;
  background: transparent;
}

/*
.scrolling-text {
  width: 100%;
  height: 50px;
  font-size: 2rem;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.scrolling-text p {
  display: inline-block;
  margin: 0;
  padding-left: 2%;
  animation: scroll 10s linear infinite;
}

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

*/




/* PAGE */

.intro {
  width: 100%;
  padding: 0px 0px;
  margin-top: 60px;
  padding: 20px;
  background: transparent;
}




/* MENU DÉROULANT PROJET */

.project-summary {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid black;
  justify-content: space-between;
  background: transparent;
  cursor: pointer;
  padding-bottom: 15px;
  padding-top: 15px;
  text-align: left;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.project-summary .column {
  flex: 1;
  min-width: 120px;
}

/* Aligner la première colonne à gauche */
.project-summary .column:first-child {
  text-align: left;
}

/* Aligner toutes les autres à droite */
.project-summary .column:not(:first-child) {
  text-align: right;
}

/* Description masquée par défaut */
.project-description {
  max-height: 0;
  overflow: hidden;
  font-size: 0.8rem;
  text-align: justify;
  transition: max-height 0.4s ease;
}

/* Description visible */
.project-description.open {
  max-height: 500px; /* adapte selon ton besoin */
}

/* Responsive en colonne */
@media (max-width: 768px) {
  .project-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-summary .column {
    text-align: left !important;
    width: 100%;
  }

  .project-summary .column.toggle-label {
    text-align: right !important;
  }
}






/* GALLERY PROJET */

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 20px;
  padding: 0px 0px;
}

.carousel-block {
  width: 70%;
  margin: 80px 20px 0px 20px;
  display: flex;
  flex-direction: column;
  align-items: left;
}

.description {
  padding: 0px;
  text-align: justify;
  background: transparent;
  color: black;
  width: 100%;
}

.left {
  position: relative;
  width: 100%;
  height: 70vh;
  background: transparent;
  overflow: hidden;
}

.left img,
.left video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.left img.active,
.left video.active {
  opacity: 1;
  z-index: 1;
}

button {
  position: absolute;
  bottom: -2px;
  right: 3px;
  font-size: 2rem;
  letter-spacing: -1px;
  background: transparent;
  font-family: Helvetica;
  color: black;
  border: none;
  cursor: pointer;
  padding: 0px 0px;
  z-index: 10;
}

div[id^="pagination"] {
  position: absolute;
  top: 0px;
  right: 3px;
  font-size: 0.8rem;
  background: transparent;
  font-family: Helvetica;
  color: black;
  padding: 0px 0px;
  user-select: none;
  z-index: 10;
}

@media (max-width: 768px) {
  .left {
    height: 50vh;
  }

  .description {
    font-size: 1rem;
  }

  .carousel-block {
    width: 95%;
 }

}












/* TYPE TESTER */

h5 {
  margin: 0;
  font-family: 'Blouyaade';
  font-weight: normal;
}

/* Conteneur principal */
.red {
  width: 100%;
  font-family: 'Blouyaade';
  color: black;
  background: transparent;
}

/* Conteneur principal des sliders */
#typesliders {
  display: flex;
  justify-content: space-between; /* 3 blocs à gauche, dernier à droite */
  gap: 0.5%;
  font-family: sans-serif;
  margin: 10px 0 20px;
  font-size: 0.7rem;
  background: transparent;
}

/* Chaque bloc */
#typesliders > div {
  flex: 1;
  max-width: 24%;
  box-sizing: border-box;
  color: black;
  text-align: left;
}

/* Couleurs des blocs */
.brown { background: transparent; }
.purple { background: transparent; }
.pink   { background: transparent; }
.blue   { background: transparent; text-align: right; }

/* Label : texte fixe à gauche */
#typesliders > div label {
  display: flex;
  align-items: flex-start; /* texte en haut */
  gap: 5px;
}

/* Slider */
#typesliders > div input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 3px;           /* barre fine */
  background: black;     /* barre noire */
  border-radius: 2px;
  cursor: pointer;
  margin-top: 5px;       /* fait descendre le slider pour aligner avec texte */
}

/* Barre Chrome / Safari */
#typesliders > div input[type=range]::-webkit-slider-runnable-track {
  height: 3px;
  background: black;
  border-radius: 2px;
}

/* Barre Firefox */
#typesliders > div input[type=range]::-moz-range-track {
  height: 3px;
  background: black;
  border-radius: 2px;
}

/* Curseur Chrome / Safari */
#typesliders > div input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: black;
  border: 2px solid black;
  cursor: pointer;
  margin-top: -7px; /* centré sur la barre */
}

/* Curseur Firefox */
#typesliders > div input[type=range]::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: black;
  border: 2px solid black;
  cursor: pointer;
}

/* Conteneur texte + pastilles */
#boxes {
  display: flex;
  justify-content: flex-end;   /* garde les cercles à droite */
  align-items: center;          /* centre verticalement les cercles par rapport au texte */
  gap: 5px;
  background: transparent;
}

/* Cercles */
.box {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  flex-shrink: 0;               /* empêche les cercles de rétrécir */
}

/* Zone de test */
#test {
  font-family: sans-serif;
  font-weight: bold;
  font-size: 130px;
  text-align: center; /* centré, change si tu veux left */
  margin-top: 80px;
}

#test h5 {
  display: block;
  font-size: inherit; /* prend 150px */
  margin: 0;
}



/* Responsive : empilement vertical sur écrans ≤ 768px */
@media (max-width: 768px) {
  #typesliders {
    flex-direction: column;  /* empilement vertical */
    gap: 10px;               /* espace vertical entre les blocs */
  }

  #typesliders > div {
    max-width: 100%;         /* chaque bloc prend toute la largeur */
  }

  /* Centrer le texte pour mobile si besoin */
  #typesliders > div label {
    justify-content: flex-start; /* texte + slider alignés à gauche */
  }

  /* Centrer les pastilles couleurs horizontalement */
  #boxes {
    justify-content: flex-start;
  }
}






/* MENTIONS LÉGALES & CGV */

.cgv {
  width: 70%;
  margin: 20px;
  background-color: transparent;
}

@media (max-width: 768px) {
  .cgv {width: 100%;}
}


/* LOGOS BAS DE PAGE */

.logos {
  position: fixed;
  bottom: 0;
  right: 0;
  display: flex;
  z-index: 500;
  background-color: transparent;
}

.logos img {
  height: 60px;
  width: auto;
  display: block;
  margin: 0;
  padding: 12px;
}

/* Responsive : désactive le mode fixe */
@media (max-width: 768px) {
  .logos {
    justify-content: flex-end; /* reste aligné à droite */
    right: 0;
    left: auto;
    position: static;
  }
}
