/* Hero général */
.project-hero {
  position: relative;
  text-align: center;
  padding: 120px 10% 60px;
  background: #fff;
}

.project-hero h1 {
  font-family: 'Chivo', sans-serif;
  font-size: 2.5rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Images décoratives générales */
.hero-left, .hero-right {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-left {
  top: 60px;
  left: 0;
}

.hero-right {
  top: 140px;
  right: 0;
}

.hero-left img,
.hero-right img {
  max-width: 30vw;
  height: auto;
  opacity: 0.8;
  display: block;
}

/* Spécifique projet La Dose De Com (id=22) */
.project-22 .hero-left {
  top: 50px;
  left: 30px;
}

.project-22 .hero-left img {
  max-width: 200px;
}

.project-22 .hero-right {
  top: 0; /* collée à la navbar */
  right: 0;
}

.project-22 .hero-right img {
  max-width: 40vw;
}


/* Styles spécifiques pour le projet ID 25 */
.project-27 .hero-left {
  top: 45px;
  left: 0;
}

.project-27 .hero-right {
  top: 0px;
  right: 0;
}

.project-27 .hero-left img {
  max-width: 32vw;
  z-index: -2;
}

.project-27 .hero-right img {
  max-width: 30vw;
  z-index: -2;
}

/* ===== Styles spécifiques aux projets à partir de l'ID 28 ===== */

/* Projet ID 28 */
.project-28 .hero-left {
  top: 70px; /* ajustable */
  left: 0;
}

.project-28 .hero-right {
  top: 0; /* collé à la navbar */
  right: 0;
}

.project-28 .hero-left img {
  max-width: 35vw;
}

.project-28 .hero-right img {
  max-width: 30vw;
}

/* Projet ID 29 */
.project-29 .hero-left {
  top: 75px;
  left: 0;
}

.project-29 .hero-right {
  top: 10px;
  right: 0;
}

.project-29 .hero-left img {
  max-width: 34vw;
}

.project-29 .hero-right img {
  max-width: 30vw;
}

/* Projet ID 30 */
.project-30 .hero-left {
  top: 65px;
  left: 0;
}

.project-30 .hero-right {
  top: 5px;
  right: 0;
}

.project-30 .hero-left img {
  max-width: 33vw;
}

.project-30 .hero-right img {
  max-width: 30vw;
}

/* Projet ID 31 */
.project-31 .hero-left {
  top: 72px;
  left: 0;
}

.project-31 .hero-right {
  top: 0;
  right: 0;
}

.project-31 .hero-left img {
  max-width: 36vw;
}

.project-31 .hero-right img {
  max-width: 32vw;
}

/* Projet ID 32 */
.project-32 .hero-left {
  top: 68px;
  left: 0;
}

.project-32 .hero-right {
  top: 8px;
  right: 0;
}

.project-32 .hero-left img {
  max-width: 34vw;
}

.project-32 .hero-right img {
  max-width: 30vw;
}

/* Projet ID 33 */
.project-33 .hero-left {
  top: 70px;
  left: 0;
}

.project-33 .hero-right {
  top: 0;
  right: 0;
}

.project-33 .hero-left img {
  max-width: 35vw;
}

.project-33 .hero-right img {
  max-width: 30vw;
}

/* Projet ID 34 */
.project-34 .hero-left {
  top: 75px;
  left: 0;
}

.project-34 .hero-right {
  top: 12px;
  right: 0;
}

.project-34 .hero-left img {
  max-width: 33vw;
}

.project-34 .hero-right img {
  max-width: 28vw;
}

/* Projet ID 35 */
.project-35 .hero-left {
  top: 70px;
  left: 0;
}

.project-35 .hero-right {
  top: 0;
  right: 0;
}

.project-35 .hero-left img {
  max-width: 34vw;
}

.project-35 .hero-right img {
  max-width: 30vw;
}

/* Projet ID 36 */
.project-36 .hero-left {
  top: 72px;
  left: 0;
}

.project-36 .hero-right {
  top: 5px;
  right: 0;
}

.project-36 .hero-left img {
  max-width: 35vw;
}

.project-36 .hero-right img {
  max-width: 32vw;
}

/* Projet ID 37 */
.project-37 .hero-left {
  top: 70px;
  left: 0;
}

.project-37 .hero-right {
  top: 0;
  right: 0;
}

.project-37 .hero-left img {
  max-width: 33vw;
}

.project-37 .hero-right img {
  max-width: 30vw;
}

/* Description */
.project-description {
  max-width: 80%; /* largeur augmentée */
  margin: 0 auto;
  padding: 60px 10%;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #111;
  background: #fff;
  overflow-wrap: break-word;
}

/* Galerie */
.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px 10%;
  background: #fff;
}

.project-gallery img {
  max-width: 250px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-left img,
  .hero-right img {
    max-width: 25vw;
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  .hero-left,
  .hero-right {
    display: none;
  }

  .project-hero {
    padding: 100px 5% 40px;
  }

  .project-hero h1 {
    font-size: 2rem;
  }

  .project-description {
    padding: 40px 5%;
    font-size: 1rem;
  }

  .project-gallery img {
    max-width: 100%;
  }
}
