/* MOSAÏQUE "QUI SUIS-JE ?" */
.hero-apropos {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  margin-top: 70px;
}

.mosaic-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  height: 100%;
  filter: saturate(1.2) brightness(0.7);
  position: relative;
  z-index: 0;
}

.mosaic-container img {
  width: calc(33.333% - 6.66px);
  height: 50%;
  object-fit: cover;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.mosaic-container img:hover {
  filter: grayscale(0) brightness(1);
  cursor: pointer;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-overlay h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  user-select: none;
}

.about-container {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

.about-text {
  flex: 1;
}

.about-text .content-block {
  margin-bottom: 40px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}

.about-photo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
  .content-section {
    flex-direction: column;
    margin: 20px auto 60px;
  }
  .content-block {
    max-width: 100%;
  }
  .hero-overlay h1 {
    font-size: 2.5rem;
  }
  .hero-apropos {
    height: 40vh;
  }
  .mosaic-container img {
    width: calc(50% - 5px);
    height: 50%;
  }
  
  /* Ajout pour mobile : texte au-dessus, photo en-dessous */
  .about-container {
    flex-direction: column;
  }
  .about-photo {
    margin-top: 30px;
  }
}


@media (max-width: 480px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }
  .mosaic-container {
    height: auto; /* hauteur automatique */
  }
  .mosaic-container img {
    width: calc(50% - 5px) !important; /* 2 colonnes */
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}
