/* Historique */
#about-history {
  background-color: var(--bg-blue-light);
  padding: 80px 20px 100px;
  text-align: center;
}

.history-container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.history-container p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Cartes profil */
#team-profiles {
  position: relative;
  top: -80px;
  display: flex;
  justify-content: center;
  gap: 40px;
  z-index: 2;
}

.profile-cards {
  display: flex;
  gap: 40px;
  background: none;
}

.profile-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 250px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.profile-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: cover;
  max-height: 250px;
}

.profile-card h3 {
  margin: 10px 0 5px;
}

.profile-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Media section */
#media-section {
  background-color: var(--bg-yellow-light);
  padding: 60px 20px;
}

.media-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.media-item h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.media-item iframe,
.media-item blockquote {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media screen and (min-width: 768px) {
  .media-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .media-item {
    flex: 1;
  }
}

@media screen and (max-width: 767px) {
  /* Historique */
  #about-history {
    padding: 60px 15px 80px;
  }

  .history-container h2 {
    font-size: 2rem;
  }

  .history-container p {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Cartes profil */
  #team-profiles {
    flex-direction: column;
    align-items: center;
    top: -40px;
    gap: 20px;
  }

  .profile-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .profile-card {
    width: 85%;
    max-width: 320px;
  }

  /* Media section */
  #media-section {
    padding: 40px 15px;
  }

  .media-item h2 {
    font-size: 1.5rem;
  }
}

#partners-section {
  background-color: var(--bg-light); /* bleu pastel léger */
  padding: 40px 20px;
  text-align: center;
}

.partners-container h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 150px;
}

.partner img {
  width: 100px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.partner p {
  font-size: 1rem;
  color: #333;
}
