/* ============================================================
   TEAM — Exotic Detail
   ============================================================ */
#equipe .sec-title {
  margin-bottom: 16px;
}

/* Featured member */
.team-featured {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  margin: 56px 0 80px;
}

.team-featured-img {
  position: relative;
  flex-shrink: 0;
}

.team-featured-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-card);
  filter: grayscale(20%);
  transition: filter 0.5s ease;
}

.team-featured-img:hover img {
  filter: grayscale(0%);
}

.team-featured-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: var(--radius-card);
  max-width: 160px;
  line-height: 1.4;
}

/* Featured info */
.team-role-label {
  font-family: var(--f-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.team-name {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
}

.team-rule {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin-bottom: 24px;
}

.team-bio {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-2);
  max-width: 52ch;
  margin-bottom: 32px;
}

.team-certs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--gray-2);
}

.cert-icon {
  color: var(--red);
  font-size: 12px;
  flex-shrink: 0;
}

/* Team grid — 3 cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--dark-1);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.team-card-img {
  position: relative;
  overflow: hidden;
}

.team-card-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(30%);
  transition: filter 0.5s ease;
}

.team-card:hover .team-card-img img {
  filter: grayscale(0%);
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--t-mid) ease;
}

.team-card:hover .team-card-overlay { opacity: 1; }

.team-card-desc {
  font-size: 13px;
  color: var(--gray-1);
  line-height: 1.6;
  margin: 0;
}

.team-card-info {
  padding: 20px;
}

.team-card-info h4 {
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.team-card-role {
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
  .team-featured {
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 768px) {
  .team-featured {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-featured-img {
    max-width: 320px;
    margin: 0 auto;
  }

  .team-featured-img img {
    aspect-ratio: 4/3;
  }

  .team-featured-badge {
    right: 0;
    bottom: -8px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-card-img img { aspect-ratio: 4/3; }
}
