/* BLDG Equipe — Figma fidelity patch. Does not change page structure. */
.bldg-people-list .bldg-person[hidden],
.bldg-people-empty[hidden]{display:none!important}
.bldg-alphabet button.is-active{color:var(--bldg-accent,#d7473a);font-weight:700}

@media (min-width:768px){
  /* Figma Desktop: Featured 642 x 640. */
  .bldg-profile-main>img{
    width:100%!important;
    height:auto!important;
    aspect-ratio:642/640!important;
    object-fit:cover!important;
  }

  /* Figma Desktop: thumbs 199 x 230, 24 px gap. */
  .bldg-profile-thumbs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,199px))!important;
    gap:24px!important;
    max-width:645px;
  }
  .bldg-profile-thumb{
    display:block;
    width:100%;
    min-width:0;
    padding:0;
    margin:0;
    border:0;
    background:transparent;
    cursor:pointer;
  }
  .bldg-profile-thumb img{
    display:block;
    width:100%!important;
    height:auto!important;
    aspect-ratio:199/230!important;
    object-fit:cover!important;
    filter:grayscale(1);
  }
}

@media (max-width:767px){
  /* Mobile proportions remain controlled by the approved Figma theme. */
  .bldg-profile-thumb{display:block;width:100%;padding:0;margin:0;border:0;background:transparent;cursor:pointer}
  .bldg-profile-thumb img{width:100%!important;height:auto!important;aspect-ratio:.83/1!important;object-fit:cover!important}
}

/* 1.0.4 — Typography fidelity for the Team component.
   Keeps the approved Figma structure; only normalizes type hierarchy and
   preserves intentional line breaks entered in "Resumo curto". */
.bldg-profile-copy{
  font-family:var(--bldg-font,'General Sans',Arial,Helvetica,sans-serif)!important;
  max-width:440px!important;
}
.bldg-profile-copy [data-team-cargo]{
  display:block!important;
  margin:0 0 6px!important;
  color:var(--bldg-accent,#d7473a)!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.bldg-profile-copy [data-team-name]{
  margin:0 0 18px!important;
  color:var(--bldg-text,#0a0b0c)!important;
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:500!important;
  letter-spacing:-.01em!important;
}
.bldg-profile-copy [data-team-summary]{
  margin:0!important;
  max-width:440px!important;
  color:var(--bldg-text-secondary,#43464a)!important;
  font-size:13px!important;
  line-height:1.55!important;
  font-weight:400!important;
  letter-spacing:0!important;
  white-space:pre-line!important;
  overflow-wrap:anywhere;
}
.bldg-profile-copy .bldg-profile-email{
  margin:18px 0 0!important;
  color:var(--bldg-text-secondary,#43464a)!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:400!important;
  white-space:normal!important;
}
.bldg-profile-copy .bldg-profile-email strong{
  color:var(--bldg-accent,#d7473a)!important;
  font-weight:500!important;
}
.bldg-profile-copy .bldg-profile-email a{
  color:var(--bldg-text-secondary,#43464a)!important;
  font-weight:400!important;
}

@media (max-width:767px){
  .bldg-profile-copy [data-team-cargo]{font-size:10px!important;margin-bottom:4px!important}
  .bldg-profile-copy [data-team-name]{font-size:14px!important;line-height:1.3!important;margin-bottom:12px!important}
  .bldg-profile-copy [data-team-summary]{font-size:11px!important;line-height:1.55!important}
  .bldg-profile-copy .bldg-profile-email{font-size:10px!important;line-height:1.45!important;margin-top:16px!important}
}

/* 1.0.5 - Directory names select the corresponding profile above.
   Visual design stays unchanged; only cursor/focus behavior is added. */
.bldg-person-select{
  cursor:pointer;
}
.bldg-person-select:focus-visible{
  outline:2px solid var(--bldg-accent,#d7473a);
  outline-offset:3px;
}
.bldg-profile-feature{
  scroll-margin-top:110px;
}
