/* ===================================================== */
/* ==================== PAGE EQUIPE ===================== */
/* ===================================================== */

/* ===== HERO (Notre équipe) ===== */

.intro-equipe {
  position: relative;
  background-image: url("../images/equipe/equipe-grihon-courtage2.jpg");
  background-size: 120%;
  background-position: center 100%;
  padding: 100px 20px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Overlay premium */
.intro-equipe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );
}

/* Contenu */
.intro-equipe-contenu {
  position: relative;
  max-width: 800px;
  animation: fadeInUp 0.9s ease;
}

/* Titre */
.intro-equipe h1 {
  font-size: 2.8em;
  font-family: verdana;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

/* Texte */
.intro-equipe p {
  font-size: 1.2em;
  color: #f5f1eb;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}


/* ===== BLOCS BEIGE ===== */

.alt {
  background-color: #e6dccf;
  border-radius: 14px;
}


/* ===== EQUIPE ===== */

.equipe-ligne {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.equipe-texte {
  flex: 1;
}

.equipe-photo {
  width: 150px;
  flex-shrink: 0;
  opacity: 0.9;
}

.equipe-photo img {
  width: 100%;
  border-radius: 8px;
  display: block;
}


/* ===================================================== */
/* ======================== MOBILE ====================== */
/* ===================================================== */

@media (max-width: 768px) {

  /* HERO */
  .intro-equipe {
    padding: 90px 20px;
    background-size: cover;
    background-position: center;
  }

  .intro-equipe h1 {
    font-size: 1.9em;
  }

  .intro-equipe p {
    font-size: 1em;
  }

  /* CARTES */
  .equipe-ligne {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .equipe-photo {
    width: 120px;
    margin-bottom: 15px;
  }

}
