/* ============================================================
   team.css — Page Team v2 (fidèle maquette)
============================================================ */

/* ===== HERO TEAM (CENTRÉ) ===== */
.hero-team {
  padding: 140px 0 0;
}

.hero-team-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-black);
  max-width: 900px;
  margin: 0 auto;
}

.hero-team-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.hero-team-body {
  max-width: 900px;
}

.hero-team-body p {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  margin-bottom: 0;
}

.hero-team-body p:last-child { margin-bottom: 0; }

/* ===== WHAT WE BELIEVE (centré, sans cartes) ===== */
.beliefs-section {
  padding: 100px 0;
}

.beliefs-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--color-black);
  max-width: 1000px;
  margin: 0 auto;
}
.beliefs-title .reveal-wrap:first-child{
  font-weight: 700;
}

/* ===== LEADERSHIP (gros guillemets) ===== */
.leadership-section {
  padding: 0;
}

.leaders-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.leader-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
}

.leader-row.is-reverse {
  grid-template-columns: 1fr 200px;
}

.leader-row.is-reverse .leader-photo-col {
  order: 2;
}

.leader-row.is-reverse .leader-quote-col {
  order: 1;
}

.leader-photo-col {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin-right: 20px;
}

.leader-row.is-reverse .leader-photo-col {
  margin-left: 20px;
  margin-right: 0;
}

.leader-photo {
  width: 100%;
  max-width: 200px;
  overflow: hidden;
  background: var(--color-gray-100);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
}

.leader-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-gray-300);
  background: var(--color-gray-50);
}

.leader-meta-bottom {
  text-align: center;
}

.leader-name-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-black);
  font-weight: 400;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.leader-role-bold {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.3;
  margin: 0;
}

/* Citation + gros guillemets */
.leader-quote-col {
  position: relative;
  padding: 1rem 0 0 0;
}

.leader-row.is-reverse .leader-quote-col {
  padding-right: 0;
  padding-left: 0;
}

.leader-big-quote {
  position: absolute;
  font-size: 150px;
  height: 150px;
  z-index: 0;
  top: 1rem;
  right: 0;
}
.leader-big-quote img{
  width: 100px;
}

.leader-row.is-reverse .leader-big-quote {
  left: 0;
  right: auto;
}

.leader-quote-text {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  max-width: calc(100% - 120px);
}

.leader-row.is-reverse .leader-quote-text {
  margin-left: auto;
}

.leader-quote-text p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-black);
  font-style: italic;
  margin: 0;
}

.leader-quote-text p strong {
  font-weight: 700;
  font-style: italic;
}

.leader-row.is-reverse .leader-quote-text p {
  text-align: right;
}

/* ===== EXECUTIVE TEAM (grille 5 cols, photos rondes) ===== */
.executive-section {
  padding: 100px 0;
}

.executive-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-black);
  max-width: 920px;
  margin: 0 auto;
}

.exec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem 1.5rem;
  max-width: 1000px;
  margin: 4rem auto 0;
}

.exec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.exec-photo {
  width: 130px;
  height: 130px;
  overflow: hidden;
  background: var(--color-gray-100);
  border-radius: 4px;
  position: relative;
}

.exec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
}

.exec-card:hover .exec-photo img {
  transform: scale(1.05);
}

.exec-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gray-300);
  background: var(--color-gray-50);
}

.exec-meta {
  width: 100%;
}

.exec-name {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-black);
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.exec-role {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-black);
  line-height: 1.3;
  margin: 0;
}

/* ===== APPROACH (badge + titre + italique) ===== */
.approach-section {
  padding: 0 0 100px 0;
}

.approach-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--color-black);
  max-width: 900px;
  margin: 0 auto;
}

.approach-italic {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--color-black);
  max-width: 900px;
  margin: 1.5rem auto 0;
}

/* ===== DARK MODE ===== */
body.dark-mode .hero-team,
body.dark-mode .beliefs-section,
body.dark-mode .leadership-section,
body.dark-mode .executive-section { border-color: #222; }

body.dark-mode .hero-team-title,
body.dark-mode .beliefs-title,
body.dark-mode .leader-name-italic,
body.dark-mode .leader-role-bold,
body.dark-mode .leader-quote-text p,
body.dark-mode .exec-role,
body.dark-mode .executive-title,
body.dark-mode .approach-title { color: #F0F0EC; }

body.dark-mode .hero-team-body p,
body.dark-mode .approach-italic { color: #999; }

body.dark-mode .leader-photo,
body.dark-mode .exec-photo,
body.dark-mode .leader-photo-placeholder,
body.dark-mode .exec-photo-placeholder { background: #111; }

body.dark-mode .leader-big-quote { color: #222; }

body.dark-mode .exec-name { color: #888; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .exec-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  .leader-row { grid-template-columns: 200px 1fr; gap: 2.5rem; }
  .leader-row.is-reverse { grid-template-columns: 1fr 200px; }
  .leader-quote-col { padding: 1.5rem 2rem; }
  .leader-big-quote { font-size: 8rem; }

  .exec-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1rem; }
  .exec-photo { width: 110px; height: 110px; }
}

@media (max-width: 768px) {
  .hero-team { padding: 120px 0 60px; }
  .beliefs-section,
  .leadership-section,
  .executive-section,
  .approach-section { padding: 60px 0; }

  .leader-row,
  .leader-row.is-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .leader-row.is-reverse .leader-photo-col { order: 1; }
  .leader-row.is-reverse .leader-quote-col { order: 2; }

  .leader-quote-col { padding: 1rem 2rem; }
  .leader-big-quote { font-size: 6rem; top: -1rem; right: 0; left: auto; }
  .leader-row.is-reverse .leader-big-quote { left: 0; right: auto; }

  .exec-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .exec-photo { width: 100px; height: 100px; }
}

@media (max-width: 480px) {
  .exec-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 0.75rem; }
}