/* ===== HERO ===== */
.hero-team {
  position: relative;
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-team::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}
.hero-team .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 1rem;
  animation: fadeInUp 1s ease forwards;
}
.hero-team h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}
.hero-team p {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #f5f5f5;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== INTRO ===== */
.intro {
  text-align: center;
  padding: 5rem 2rem;
}
.intro h2 {
  font-size: 2.6rem;
  color: var(--terre-cuivree);
  margin-bottom: 1.2rem;
}
.intro p {
  font-size: 1.8rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== BENEFICES ===== */
.benefices {
  padding: 5rem 0;
  text-align: center;
}
.benefices h2 {
    margin-bottom: 2rem;
}
/* Styles de la nouvelle liste */
.benefices-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: left;
}
.benefices-list li {
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.8rem;
  line-height: 1.5;
  transition: transform .2s ease;
}
.benefices-list li:hover {
    transform: translateY(-5px);
}
.benefices-list li::before {
    content: none;
}
.benefice-icon {
    width: 30px;
    height: auto;
}

/* Styles pour le texte en dessous de la liste */
.nouveau-texte {
  margin-top: 3rem;
  font-size: 1.8rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== APPROCHE TIMELINE ===== */
.approche {
  background: var(--ivoire);
  padding: 5rem 0;
}
.timeline {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  /* Centrage des éléments verticalement */
  align-items: center; 
}
.timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  background: var(--terre-cuivree);
  z-index: 0; /* Assure que la ligne est derrière les cercles */
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1; /* Assure que les cercles sont devant la ligne */
}
.step .circle {
  display: inline-flex;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--terre-cuivree);
  color: #fff;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.step h3 {
  margin-bottom: .5rem;
  color: var(--bleu-nuit);
}

/* Styles pour la section des témoignages */
.testimonials-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-content {
  text-align: left;
}

.testimonial-content p {
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: bold;
  font-style: normal;
  color: var(--terre-cuivree);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .testimonial-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Style pour le bloc texte + image */
.texte-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.texte-image img.texte-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  display: block;
  margin-bottom: 1.5rem;
}

.texte-image p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #333;
}


/* Responsive pour mobile */
@media (max-width: 768px) {
  .texte-image {
    flex-direction: column;
    text-align: center;
  }

  .texte-image img.texte-img {
    width: 150px;
    margin-bottom: 1rem;
  }
}
