/* ===== PAGE NOTRE ÉQUIPE - STYLES SPÉCIFIQUES ===== */

/* Variables de thème (couleurs unies) */
:root {
  --accent: #f28c28; /* orange doux */
  --accent-2: #2d9cdb; /* bleu d'appui */
  --bg-soft: #f6f7f9; /* fond section */
  --card-bg: #ffffff; /* cartes */
  --muted: #58606b; /* gris secondaire */
  --text: #111217; /* texte principal */
  --glass: rgba(17, 18, 23, 0.03);
}

/* ===== HERO ===== */
.page-hero {
  background-color: #2c3e50;
  color: #ffffff;
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.02;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: clamp(16px, 2.6vw, 22px);
  color: rgba(236, 240, 241, 0.95);
  max-width: 900px;
  margin: 0 auto;
}

/* Accent décoratif plat */
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(242, 140, 40, 0.06);
  pointer-events: none;
}

/* ===== INTRO TEXT ===== */
.intro-section {
  background: var(--card-bg);
  padding: 56px 0;
}

.intro-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
}

.intro-content p + p {
  margin-top: 14px;
}

.lead {
  font-weight: 800;
  color: var(--text);
  font-size: 20px;
  margin-bottom: 10px;
}

/* ===== MISSION / VALEURS (deux colonnes adaptables) ===== */
.two-column-section {
  background: var(--bg-soft);
  padding: 56px 0;
}

.two-column-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
}

.column-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 800;
}

.column-text p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Colonne image */
.column-visual img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 30px var(--glass);
  display: block;
}

/* ===== VALEURS / ENGAGEMENTS ===== */
.values-section {
  background: var(--bg-soft);
  padding: 80px 0;
}

.values-section h2 {
  margin-left: 40px;
  margin-bottom: 40px;
  font-weight: 800;
}

.values-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* Bloc valeur */
.value-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 26px 22px;
  border: 1px solid rgba(17, 18, 23, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 10px 25px rgba(17, 18, 23, 0.05);
  transition: all 0.3s ease;
  cursor: default;
}

/* Icône */
.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background-color: #3f51b5;
  margin-bottom: 16px;
}

/* Texte */
.value-content h4 {
  margin: 0 0 8px 0;
  font-size: 17px;
  color: var(--text);
  font-weight: 700;
}

.value-content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ===== CTA FINAL ===== */
.cta-section {
  background: var(--card-bg);
  padding: 56px 0;
  border-top: 1px solid rgba(17, 18, 23, 0.03);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}

.cta-content p {
  color: var(--muted);
  font-size: 16.5px;
  margin-bottom: 16px;
}

/* Bouton plat */
.cta-button {
  display: inline-block;
  background: #e8491d;
  color: white;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover,
.cta-button:focus {
  background: #c73d17;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 73, 29, 0.3);
  color: white;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes appearUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-card,
.value-card,
.column-visual img,
.intro-content {
  animation: appearUp 0.45s ease both;
}

/* ===== ACCESSIBILITÉ / FOCUS ===== */
a:focus,
button:focus,
.cta-button:focus {
  outline: 3px solid rgba(242, 140, 40, 0.14);
  outline-offset: 4px;
}

/* ===== RESPONSIVE SPÉCIFIQUE PAGE ÉQUIPE ===== */
@media (max-width: 920px) {
  .two-column-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 56px 0;
  }

  .values-section {
    padding: 60px 0;
  }

  .values-wrapper {
    gap: 20px;
  }

  .value-card {
    padding: 20px;
  }

  .two-column-content {
    gap: 22px;
  }

  .column-visual img {
    max-height: 260px;
    border-radius: 10px;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 56px 0;
  }

  .two-column-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .column-visual img {
    max-height: 260px;
    border-radius: 10px;
  }

  .profile-photo {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: 16px;
  }

  .profile-bio {
    font-size: 14px;
  }

  .team-card {
    padding: 16px;
  }

  .cta-button {
    width: 100%;
    box-sizing: border-box;
    display: block;
    padding: 14px;
  }
}