/* ─── Nossa Equipe ───────────────────────────────────────── */
.team {
  background: var(--bg);
}

.team__layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* ── Foto principal da equipe ── */
.team__lead {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.team__lead img {
  display: block;
  width: 100%;
  height: auto;
}
.team__lead-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.25rem .9rem;
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(10,63,114,.85), transparent);
}

/* ── Coluna de texto + provas ── */
.team__intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.team__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.team__feature {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.team__feature img {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.team__feature h3 {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: .2rem;
}
.team__feature p {
  font-size: .92rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .team__layout { grid-template-columns: 1fr; }
  /* Limita a altura da foto retrato no mobile para não dominar a tela */
  .team__lead { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .team__feature img { width: 68px; height: 68px; }
}
