/* --------- Style pour L'équipe --------- */

.team-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f7f7f7;
}

.team-section h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #005ea8;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-member {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 250px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.team-member h2 {
  margin: 15px 0 5px;
  color: #222;
  font-size: 1.25em;
}

.team-member .role {
  font-weight: bold;
  color: #666;
  margin-bottom: 10px;
  text-align: center;
  font-size: 0.95em;
}

/* --------- Style pour Le projet --------- */

.bio {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background-color: #f3f3f3;
  border-radius: 8px;
  padding: 0 10px;
  margin-top: 10px;
  color: #333;
  font-size: 0.9em;
  line-height: 1.4;
}

.bio.open {
  max-height: 500px;
  padding: 10px;
}

.project-section {
  padding: 80px 20px;
  background: linear-gradient(to right, #eef3f7, #fdfdfd);
  color: #333;
}

.project-wrapper {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.project-section h1 {
  font-size: 3em;
  color: #005ea8;
  margin-bottom: 20px;
}

.project-intro {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.project-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  width: 320px;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card h2 {
  color: #0077cc;
  margin-bottom: 15px;
}

.project-card ul {
  list-style: none;
  padding: 0;
}

.project-card li {
  margin-bottom: 8px;
  text-align: left;
}

.project-card p {
  text-align: left;
  line-height: 1.6;
}

/* --------- Animations de scroll --------- */
.fade-in,
.fade-in-delay {
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-in {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-delay {
  transition: opacity 1s ease, transform 1s ease;
}

/* --------- Bannière Image --------- */
.project-banner {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 30px auto 50px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease, transform 1s ease;
}

.project-banner.visible {
  opacity: 1;
  transform: scale(1);
}
