@font-face {
    font-family: 'Futura';
    src: url('../fonts/futura/Futura-Book.woff2') format('woff2'),
         url('../fonts/futura/Futura-Book.woff') format('woff'),
         url('../fonts/futura/Futura-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura/Futura-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Futura';
  src: url('../fonts/futura/Futura-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}


body {
  margin: 0;
  padding: 0;
  font-family: "Futura";
  background-color: #1f2f38;
  color: #dcdcd2;
}


h2 {
  margin-top: 0;
}




    .img-fond {
      position: relative;
      width: 100%;
      height: auto;
    }
    
    .img-fond img {
      width: 100%;
      height: 45rem;
      display: block;
      object-fit: cover;
      z-index: -1;
    }
    
    .img-devant {
      position: absolute;
      bottom: 50%;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      width: 100%;
      max-width: 40rem;  
      padding: 0 1rem;
    }
    
    .img-devant img {
      width: 100%;
      height: auto;
      display: block;
    }
    
    
    
    

.img-fond::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.2); 
  z-index: 1;
}

@media (max-width: 600px) {
  .img-devant {
    bottom: 5%;
    max-width: 95vw;
  }
}

.presentation {
  padding: 60px 20px;
  text-align: center;
  background-color: #1f2f38;

}

.presentation h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #F7C100;
  font-family: "Futura",  sans-serif;
}

.presentation p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
  color: #dcdcd2;
  font-family: "Futura",  sans-serif;

}

.infos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 5%;
  background-color: #1f2f38;
  font-family: "Futura", sans-serif;
}

.bloc {
  background-color: #2f3e46;
  padding: 40px; /* agrandi */
  border-radius: 20px;
  width: 100%;
  max-width: 500px; /* plus large */
  min-width: 250px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3); /* ombre plus douce */
  color: #CAD2C5;
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem; /* espacement interne entre les éléments */
}

.bloc p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #dcdcd2;
}


.bloc h3 {
  margin-bottom: 20px;
  color: #F7C100;
  font-size: 1.6rem;
}

.bloc ul {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #dcdcd2;
}

.bloc ul {
  padding-left: 1.2rem;
  list-style-type: "🎵 ";
  margin-top: 10px;
  margin-bottom: 15px;
}

.btn {
  align-self: flex-start;
  margin-top: 25px;
  padding: 10px 20px;
  background-color: #F7C100;
  color: #1f2f38;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  font-family: "Futura", sans-serif;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #7bb274;
  transform: scale(1.05);
}















.artiste {
  padding: 60px 20px;
  background-color: #1f2f38;
  font-family: 'Futura', sans-serif;
  overflow: hidden;
}

.artiste h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #F7C100;
  text-align: center;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  gap: 20px;
  width: max-content;
}



.card {
  position: relative;
  background-color: #2f3e46;
  border-radius: 15px;
  width: 300px;
  flex-shrink: 0;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
  overflow: hidden;
  text-align: center;
  color: #dcdcd2;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 10px;
}



.card .name {
  font-size: 1.8rem;
  margin: 10px 0;
  font-weight: bold;
  color: #F7C100;
  font-family: "Futura", sans-serif;
}

.card .day {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: "Futura", sans-serif;
}

.objectifs {
  width: 80%;
  max-width: 600px;
  background: #2f3e46;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-family: "Futura", sans-serif; 
}

.goal-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  background: #3a4d59;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-family: "Futura", sans-serif; 
}

.goal-item:hover {
  background-color: #5c6b74;
}

.goal-item .goal-text {
  flex: 1;
}

.goal-item .goal-icon {
  margin-left: 10px;
}

.progression-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;   
  margin-top: 16px;
}

#progression-text {
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
}

.progress-bar {
  width: 300px;
  height: 18px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  background: #4CAF50;
  transition: width 0.3s;
}

.popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #5cb85c;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  display: none;
  animation: popupAnimation 1s ease-in-out;
}

@keyframes popupAnimation {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.centre {
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  min-height: unset;
  height: auto;
  margin-bottom: 24px;
}



.causes {
  background: #1f2f38;
  padding: 60px 20px;
  text-align: center;
}

.causes-title {
  color: #F7C100;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-family: "Futura", sans-serif;
  letter-spacing: 2px;
}

.causes-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.cause-item {
  background: #2f3e46;
  border-radius: 20px;
  padding: 25px 20px;
  width: 200px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cause-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(247, 193, 0, 0.4);
}

.cause-item img {
  width: 90px;
  height: 90px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  transition: transform 0.3s;
}

.cause-item:hover img {
  transform: scale(1.1);
}

.cause-label {
  color: #dcdcd2;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: "Futura", sans-serif;
  margin-top: 0.5rem;
}

@media (max-width: 700px) {
  .causes-list {
    gap: 1.5rem;
  }

  .cause-item {
    width: 140px;
    padding: 20px 12px;
  }

  .cause-item img {
    width: 70px;
    height: 70px;
  }

  .cause-label {
    font-size: 1rem;
  }
}
