.team-page {
  background: #fff;
  color: #111;
  padding: 40px 0 100px;
}

.team-page__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

.team-hero {
  margin-bottom: 72px;
}

.team-hero__title {
  font-size: clamp(52px, 8vw, 84px);
  line-height: 0.95;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.team-hero__intro {
  max-width: 290px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  margin: 0;
}

.team-section {
  margin-bottom: 68px;
}

.team-section__title {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 30px;
  font-weight: 700;
}

.team-founders {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: start;
}

.team-founders__text {
  font-size: 16px;
  line-height: 1.8;
}

.team-founders__text p {
  margin: 0 0 20px;
}

.team-founders__cards {
  display: grid;
  gap: 24px;
}

.team-mini-card {
  background: #fff;
  border: 1px solid #e4e1dc;
  border-radius: 10px;
  padding: 22px 26px;
}

.team-mini-card__name {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 700;
}

.team-mini-card__role {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Base cards */
.team-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

/* Direction doit être sur 2 colonnes aussi */
.team-cards--direction {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  background: #fff;
  border: 1px solid #e4e1dc;
  border-radius: 10px;
  padding: 18px 18px 16px;
  min-height: 120px;
  display: flex;
  gap: 14px;
	flex-direction:column;
}

.team-card__mark {
      width: 50px;
    height: 30px;
}

.team-card__mark::before,
.team-card__mark::after {
  content: "";
  position: absolute;
  display: block;
  background: #111;
}

.team-card__mark::before {
  width: 8px;
  height: 8px;
  top: 0;
  left: 0;
  transform: rotate(45deg);
}

.team-card__mark::after {
  width: 22px;
  height: 7px;
  top: 8px;
  left: 8px;
  transform: rotate(45deg);
}

.team-card__content {
  flex: 1;
}

.team-card__name {
  font-size: 18px;
  line-height: 1.2;
  margin: 6px 0 6px;
  font-weight: 700;
}

.team-card__role {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.team-card__socials {
  display: flex;
  gap: 8px;
  align-items: center;
}

.team-card__socials a {
  text-decoration: none;
}

.team-social {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  color: #fff;
}

.team-social--linkedin {
  background: #0a66c2;
}

.team-social--instagram {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

/* Comité de rédaction */
.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}

.team-list__item {
  background: #ffffff; /* fond blanc ajouté */
  border: 1px solid #e4e1dc;
  border-radius: 10px;
  padding: 24px 20px;
  min-height: 96px;
}

.team-list__name {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 8px;
}

.team-list__role {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .team-founders,
  .team-cards,
  .team-cards--direction,
  .team-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .team-page__container {
    padding: 0 22px;
  }

  .team-page {
    padding: 24px 0 70px;
  }

  .team-section {
    margin-bottom: 52px;
  }

  .team-hero {
    margin-bottom: 52px;
  }

  .team-hero__intro {
    max-width: 100%;
  }
}