/* --- Section Hero - Slider --- */

.hero {

  position: relative;

  width: 100%;

  height: 550px; /* Hauteur fixe pour la version bureau */

  overflow: hidden;

  margin-top: 0;

}



.hero .slider {

  display: flex;

  transition: transform 0.5s steps(8);

}



.hero .slider img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center top;

  margin-top: -80px;

}



/* Dégradé noir en bas */

.hero::after {

  content: "";

  position: absolute;

  bottom: 0;

  left: 0;

  width: 100%;

  height: 150px; /* Hauteur du dégradé */

  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);

  pointer-events: none; /* Pour que ça ne bloque pas les clics */

}



/* Flèches de navigation du slider */

.arrow-left,

.arrow-right {

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  font-size: 2rem;

  color: #fff;

  background: rgba(0, 0, 0, 0.5);

  border: none;

  padding: 10px;

  cursor: pointer;

  z-index: 10;

}

.arrow-left {

  left: 10px;

}

.arrow-right {

  right: 10px;

}



/* --- Section Partenaires --- */

.partners {

  padding: 20px;

  text-align: center;

  background: #000000;

}

.partners h2 {

  margin-bottom: 20px;

  font-size: 40px;

  color: #ffffff;

}

.partners p {

  margin-bottom: 25px;

  color: #ffffff;

}

.partner-logos {

  display: flex;

  justify-content: flex-start; 

  gap: 10px;

  flex-wrap: nowrap; /* Tous sur une seule ligne */

  overflow-x: auto; /* Défilement horizontal si nécessaire */

  padding: 10px 0;

}

.partner-logos a {

  display: flex;

  align-items: center;

  justify-content: center;

}

.partner-logos a img {

  height: 150px;

  max-width: 220px;

  width: 100%;

  object-fit: contain;

  display: block;

  margin: 0 auto;

  transition: transform 0.18s;

  cursor: pointer;

}

.partner-logos a img:hover {

  transform: scale(1.13);

}



/* Cible uniquement le logo Shine */

.partner-logos a.shine-logo {

  background: #000 !important;

}



/* --- Qui Somme-nous ? --- */

.Qui {

  padding: 40px;

  text-align: center;

  line-height: 1.5; 

  font-weight: bold;

}

.Qui h2 {

  padding: 25px;

  text-align: center;

  font-size: 50px;

  font-weight: bold;

  margin-top: -40px;

}



.Palmares h4 {

  padding: 20px;

  margin-block-start: 10px;

  margin-block-end: 0px;

  margin-inline-start: 0px;

  margin-inline-end: 0px;

  font-weight: bold;

  font-size: 50px ;

  text-align: center;

  text-shadow:

  -2px 2px 0 #000,

  2px -2px 0 #000,

  -2px 2px 0 #000,

  2px -2px 0 #000;

} 



.bio-parlmares {

  background: rgba(0,0,0,0.45);

  border-radius: 18px;

  padding: 16px 18px 12px 18px;

  margin-bottom: 18px;

  color: #fff;

  font-weight: bold;

  text-shadow: 0 2px 8px #000, 0 1px 0 #fff2;

  border: 1.5px solid #fff2;

  display: inline-block;

  max-width: 95%;

  font-size: 20px;

  line-height: 1.8;

}



.Nos-objectifs {

  font-size: 25px;

  font-weight: bold;

  text-align: center;

  padding: 20px;

  text-shadow:

  -2px 2px 0 #000,

  2px -2px 0 #000,

  -2px 2px 0 #000,

  2px -2px 0 #000

}



.les-objectif {

  background: rgba(0,0,0,0.45);

  border-radius: 18px;

  padding: 16px 18px 12px 18px;

  margin-bottom: 18px;

  color: #fff;

  font-weight: bold;

  text-shadow: 0 2px 8px #000, 0 1px 0 #fff2;

  border: 1.5px solid #fff2;

  display: inline-block;

  max-width: 95%;

  font-size: 20px;

}



.les-objectif p {

  margin-bottom: 0;

  text-shadow: none;

}



.les-objectif p:not(:last-child) {

  margin-bottom: 8px;

}



.Nos-objectifs h5 {

  font-size: 50px;

}



/* --- Section Contact --- */

.contact {

  text-align: center;

  padding: 40px 10px;

  margin-bottom: 30px;

}

.contact h2 {

  font-size: 2.5rem;

  margin-bottom: 25px;

  color: #fff;

  letter-spacing: 1px;

  text-shadow: 0 2px 8px #000, 0 1px 0 #fff2;

}

.contact-form {

  background: rgba(255,255,255,0.97);

  border-radius: 18px;

  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.13), 0 2px 8px 0 rgba(0,0,0,0.08);

  max-width: 420px;

  margin: 0 auto;

  padding: 38px 32px 28px 32px;

  display: flex;

  flex-direction: column;

  gap: 22px;

  border: 1.5px solid #e3e6ee;

  transition: box-shadow 0.25s;

}

.contact-form input,

.contact-form textarea {

  border: 1.5px solid #d1d5db;

  border-radius: 10px;

  padding: 14px 16px;

  font-size: 1.08rem;

  font-family: inherit;

  background: #f7f8fa;

  color: #222;

  transition: border 0.22s, box-shadow 0.22s, background 0.22s;

  resize: none;

  box-shadow: 0 1px 2px #0001;

}

.contact-form input::placeholder,

.contact-form textarea::placeholder {

  color: #555;

  opacity: 1;

}

.contact-form input:focus,

.contact-form textarea:focus {

  border: 1.5px solid #232526;

  outline: none;

  background: #fff;

  box-shadow: 0 0 0 3px #23252622, 0 2px 8px #23252611;

}

.contact-form input:hover,

.contact-form textarea:hover {

  border: 1.5px solid #414345;

  background: #f0f2f5;

}

.contact-form button {

  background: linear-gradient(90deg, #232526 0%, #414345 100%);

  color: #fff;

  border: none;

  border-radius: 10px;

  padding: 15px 0;

  font-size: 1.15rem;

  font-weight: bold;

  cursor: pointer;

  box-shadow: 0 2px 8px #23252622;

  transition: background 0.22s, transform 0.15s, box-shadow 0.22s;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  letter-spacing: 0.5px;

}

.contact-form button::after {

  content: "\27A4";

  font-size: 1.2em;

  margin-left: 8px;

  display: inline-block;

  transition: transform 0.18s;

}

.contact-form button:hover {

  background: linear-gradient(90deg, #414345 0%, #232526 100%);

  transform: translateY(-2px) scale(1.04);

  box-shadow: 0 4px 18px #23252633;

}

.contact-form button:hover::after {

  transform: translateX(4px) scale(1.12);

}

@media (max-width: 600px) {

  .contact-form {

    padding: 18px 4vw 16px 4vw;

    max-width: 98vw;

  }

  .contact h2 {

    font-size: 2rem;

  }

}



/* --- Hamburger Menu --- */

.hamburger {

  display: none;

}



/* --- Responsive pour mobile --- */

@media (max-width: 768px) {

  /* Section Hero - Slider */

  .hero {

    height: 40vh; /* Plus petit pour les mobiles */

  }



  /* Affichage du hamburger */

  .hamburger {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    width: 30px;

    height: 25px;

    position: absolute;

    top: 20px;

    right: 20px;

    cursor: pointer;

    z-index: 1001;

  }



  .hamburger span {

    height: 4px;

    width: 100%;

    background-color: white;

    border-radius: 2px;

  }



  /* Menu caché par défaut */

  nav ul {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    height: 100vh;

    width: 100vw;

    background-color: rgba(0, 0, 0, 0.95);

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 0;

    margin: 0;

    z-index: 999;

  }



  /* Menu affiché quand .show est actif */

  nav ul.show {

    display: flex;

  }



  nav ul li {

    margin: 20px 0;

  }



  nav ul li a {

    color: white;

    font-size: 24px;

    font-weight: bold;

    text-decoration: none;

  }



  /* Ajuster les flèches de navigation */

  .arrow-left,

  .arrow-right {

    font-size: 1.5rem;

    padding: 8px;

  }

  .hero .slider img {

    margin-top: 0;

    margin-bottom: -70px;

  }

  .Qui {

    margin-top: -70px;

  }

  .Qui h2 {

    margin-top: 0px;
    font-size: 35px;

  }

}



.partners h2 {

  font-size: 50px !important;

}



.Nos-objectifs p {

  

  border-radius: 18px;

  padding: 16px 18px 12px 18px;

  margin-bottom: 18px;

  color: #fff;

  font-weight: bold;

  text-shadow: 0 2px 8px #000, 0 1px 0 #fff2;

  display: inline-block;

  max-width: 95%;

}



.les-objectif, .Nos-objectifs {

  /* text-shadow: none !important; */

}

.les-objectif p {

  /* text-shadow: none !important; */

}



.cadre {

  border: 4px solid #333;

  border-radius: 50px;

  display: inline-block;

  margin: 40px auto;

  max-width: 90%;

  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);

  text-align: center;

  overflow: hidden;

  background-image: url('../img/PHOTOVR (2).jpg');

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  background-attachment: fixed;

  position: relative;

}



.section-bg-white, .some-section-class, .autre-section-blanche {

  background: #232526;

}



/* --- Section Instagram --- */

.instagram-section {

  background: #18191a;

  padding: 50px 20px;

  text-align: center;

  overflow: hidden;

  margin-bottom: 0;

}



.instagram-section h2 {

  font-size: 2.5rem;

  color: #fff;

  margin-bottom: 35px;

  letter-spacing: 1px;

  text-shadow: 0 2px 8px #000, 0 1px 0 #fff2;

}



.instagram-carousel {

  width: 100%;

  overflow: hidden;

  position: relative;

}



.instagram-track {

  display: flex;

  gap: 20px;

  animation: scroll-left 30s linear infinite;

  width: max-content;

}



.instagram-track:hover {

  animation-play-state: paused;

}



.instagram-post {

  flex-shrink: 0;

  width: 300px;

  height: 380px;

  position: relative;

  border-radius: 12px;

  overflow: hidden;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

  transition: transform 0.3s, box-shadow 0.3s;

  background: #222;

}



.instagram-post:hover {

  transform: translateY(-8px) scale(1.05);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);

}



.instagram-post a {

  display: flex;

  flex-direction: column;

  width: 100%;

  height: 100%;

  position: relative;

  text-decoration: none;

}



.instagram-post img {

  width: 100%;

  height: 300px;

  object-fit: cover;

  display: block;

  flex-shrink: 0;

}



.instagram-overlay {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: rgba(0, 0, 0, 0.7);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  transition: opacity 0.3s;

}



.instagram-post:hover .instagram-overlay {

  opacity: 1;

}



.instagram-overlay span {

  color: #fff;

  font-size: 1.2rem;

  font-weight: bold;

  text-shadow: 0 2px 4px #000;

}



.instagram-caption {

  padding: 12px 15px;

  background: #222;

  color: #e0e0e0;

  font-size: 0.9rem;

  line-height: 1.4;

  text-align: left;

  height: 80px;

  overflow: hidden;

  display: -webkit-box;

  -webkit-line-clamp: 3;

  -webkit-box-orient: vertical;

  text-overflow: ellipsis;

}



.instagram-caption strong {

  color: #fff;

  font-weight: bold;

  margin-right: 5px;

}



@keyframes scroll-left {

  0% {

    transform: translateX(0);

  }

  100% {

    transform: translateX(-50%);

  }

}



/* Responsive Instagram */

@media (max-width: 768px) {

  .instagram-section h2 {

    font-size: 1.8rem;

    margin-bottom: 25px;

  }

  

  .instagram-post {

    width: 250px;

    height: 330px;

  }

  

  .instagram-track {

    gap: 15px;

    animation: scroll-left 25s linear infinite;

  }

  

  .instagram-post img {

    height: 250px;

  }

}

