/* ============================================
   PAGE EQUIPE — /equipe (FR + EN + ES)
   ============================================ */

.equipe {
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  text-align: center;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.equipe h1 {
  font-size: 2.2rem;
  color: var(--color8);
  margin-bottom: 1.5rem;
  font-family: 'Inter Tight', sans-serif;
  line-height: 1.3;
}

/* === Section Fondateur (Stephane Laverge) === */

.founder-section-equipe {
  background: var(--white);
  padding: 4rem 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
  margin: 4rem 0;
}

.founder-section-equipe h2 {
  color: var(--color3);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
  line-height: 1.3;
}

.founder-content-wrapper {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.founder-photo-equipe {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-photo-equipe:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-dark);
}

.founder-photo-equipe img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.founder-text-equipe {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.founder-text-equipe p {
  color: var(--color2);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
}

/* === Section Photo de Groupe === */

.team-photo-section-equipe {
  background: var(--color9);
  padding: 4rem 2.5rem;
  border-radius: 15px;
  margin: 4rem 0;
}

.team-photo-section-equipe h2 {
  color: var(--color3);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.team-photo-container {
  max-width: 1000px;
  margin: 0 auto 2.5rem auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow-medium);
}

.team-photo-container img {
  width: 100%;
  height: auto;
  display: block;
}

.team-description {
  max-width: 900px;
  margin: 0 auto;
}

.team-description p {
  color: var(--color2);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* === Section Garanties === */

.guarantees-section-equipe {
  background: var(--white);
  padding: 4rem 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
  margin: 4rem 0;
}

.guarantees-section-equipe h2 {
  color: var(--color3);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.guarantees-grid-equipe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.guarantee-item-equipe {
  background: var(--color9);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--color3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guarantee-item-equipe:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-light);
}

.guarantee-item-equipe h3 {
  color: var(--color8);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.guarantee-item-equipe p {
  color: var(--color2);
  line-height: 1.7;
  font-size: 1rem;
}

/* === Section CTA Finale === */

.cta-section-equipe {
  background: linear-gradient(135deg, var(--color3) 0%, var(--color8) 100%);
  color: var(--white);
  padding: 4rem 2.5rem;
  text-align: center;
  border-radius: 15px;
  margin: 4rem 0;
}

.cta-section-equipe h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cta-section-equipe p {
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

.cta-buttons-equipe {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .founder-content-wrapper {
    grid-template-columns: 300px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .founder-section-equipe,
  .team-photo-section-equipe,
  .guarantees-section-equipe,
  .cta-section-equipe {
    padding: 2.5rem 1.5rem;
  }

  .founder-section-equipe h2,
  .team-photo-section-equipe h2,
  .guarantees-section-equipe h2,
  .cta-section-equipe h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .founder-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-photo-equipe {
    max-width: 350px;
    margin: 0 auto;
  }

  .founder-text-equipe p,
  .team-description p {
    font-size: 1rem;
    text-align: left;
  }

  .guarantees-grid-equipe {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .guarantee-item-equipe {
    padding: 1.5rem;
  }

  .guarantee-item-equipe h3 {
    font-size: 1.2rem;
  }

  .cta-section-equipe p {
    font-size: 1rem;
  }

  .cta-buttons-equipe {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons-equipe .btn-primary,
  .cta-buttons-equipe .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* === CARDS MEMBRES D'EQUIPE (reco #13 audit UX) === */

.team-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2.5rem auto 3rem;
  max-width: 1200px;
}

.team-member-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.12);
}

.team-member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color9, #f0fdfa);
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 600;
  color: var(--color3);
  background: linear-gradient(135deg, var(--color9) 0%, rgba(13, 148, 136, 0.1) 100%);
}

.team-member-body {
  padding: 1.5rem;
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color3);
  margin: 0 0 1rem;
}

.team-member-specialites {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.team-member-specialites li {
  display: inline-block;
  background: #e6f7f5;
  color: #0b5f5a;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.team-member-bio {
  color: var(--gray-dark, #34495e);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Liens externes (site perso, Spotify, YouTube, etc.) sur la card */
.team-member-liens {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.team-member-lien {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color8, #0d9488);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.team-member-lien svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.team-member-lien:hover,
.team-member-lien:focus-visible {
  background: var(--color8, #0d9488);
  color: white;
  transform: translateY(-1px);
}

/* Couleurs de marque au survol pour les plateformes les plus visuelles */
.team-member-lien--spotify:hover { background: #1DB954; border-color: #1DB954; }
.team-member-lien--youtube:hover { background: #FF0000; border-color: #FF0000; }
.team-member-lien--instagram:hover { background: #E4405F; border-color: #E4405F; }
.team-member-lien--linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.team-member-lien--facebook:hover { background: #1877F2; border-color: #1877F2; }

.team-description-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--gray-medium, #6c757d);
}

@media (max-width: 600px) {
  .team-members-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
