/* ===== Section Hero ===== */
.hero-cabinet {
  position: relative;
  height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: black;
  text-shadow: 3px 3px 5px black;
    height: 35vh;
    width: 100%;

    background-image: url("../images/header2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-cabinet .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-cabinet h1 {
	  color: white;
  font-size: 3rem;
}

.hero-cabinet p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
}


/* ===== Section équipe ===== */
.team {
  max-width: 900px;
  margin: 2rem auto;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  /*background: #fafafa;*/
  background:#f8f9fb;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-card img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-bottom: 4px solid var(--corail);
}

.team-card h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: #222;
}

.role {
  color: var(--corail);
  border:black;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 2rem;


}

.bio {
  font-size: 0.95rem;
  color: #555;
  margin-top:1rem;
  padding: 0 1rem 1.5rem;
  text-align:justify;
}

footer {
  text-align: center;
  background: #f8f9fa;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #555;
}
