/* Equipe — retratos proporcionais, sem zoom agressivo e sem distorção. */
.team-grid{align-items:stretch}
.team-card{display:flex;flex-direction:column;height:100%;min-width:0}
.portrait-frame{
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  overflow:hidden;
  background:#1c1c1b;
  position:relative;
}
.portrait-frame img{
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  aspect-ratio:4/5!important;
  object-fit:cover!important;
  object-position:50% 50%!important;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
  image-rendering:auto;
}
/* Ajustes mínimos de composição, sem alterar proporção. */
.team-card:first-child .portrait-frame img{object-position:50% 48%!important}
.team-card:nth-child(2) .portrait-frame img{object-position:50% 50%!important}
.team-card:nth-child(3) .portrait-frame img{object-position:50% 50%!important}
.team-info{display:flex;flex-direction:column;flex:1;min-height:235px}
.team-info p{margin-top:auto}
@media(max-width:1050px){
  .portrait-frame{aspect-ratio:4/5}
}
@media(max-width:820px){
  .portrait-frame{aspect-ratio:4/5}
  .portrait-frame img{position:absolute;inset:0}
  .team-info{min-height:0}
}
@media(max-width:520px){
  .portrait-frame{aspect-ratio:4/5}
  .team-card:first-child .portrait-frame img{object-position:50% 47%!important}
}
