/* CHECKPOINT C — desktop-only Pessoas Reais refinement.
   Scope is intentionally limited to FAMÍLIA / EQUIPE / KIDS. */

@media (min-width:1100px){
  body.gb-editorial-home .gb-people-native{
    overflow:hidden;
  }

  body.gb-editorial-home .gb-people-native .mosaic{
    position:relative!important;
    isolation:isolate;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:auto!important;
    gap:clamp(20px,2vw,30px)!important;
    align-items:stretch!important;
  }

  body.gb-editorial-home .gb-people-native .mosaic figure,
  body.gb-editorial-home .gb-people-native .mosaic .mosaic-b,
  body.gb-editorial-home .gb-people-native .mosaic .mosaic-c{
    display:grid!important;
    grid-template-rows:minmax(0,1fr) 54px!important;
    height:clamp(520px,35vw,640px)!important;
    margin-top:0!important;
    overflow:hidden!important;
    z-index:2;
  }

  body.gb-editorial-home .gb-people-native .mosaic img{
    position:relative!important;
    z-index:1;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
    transform:none!important;
  }

  body.gb-editorial-home .gb-people-native .mosaic .mosaic-a img{
    object-position:center 38%!important;
  }

  body.gb-editorial-home .gb-people-native .mosaic .mosaic-c img{
    object-position:center 42%!important;
  }

  /* Keep the full EQUIPE group visible while filling the portrait frame elegantly. */
  body.gb-editorial-home .gb-people-native .mosaic .mosaic-b{
    position:relative!important;
    background:#0b0b0e!important;
  }

  body.gb-editorial-home .gb-people-native .mosaic .mosaic-b::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:54px;
    z-index:0;
    background:url('/assets/team-group-new.webp') center/cover no-repeat;
    filter:blur(24px) brightness(.34) saturate(.82);
    transform:scale(1.14);
    opacity:.58;
    pointer-events:none;
  }

  body.gb-editorial-home .gb-people-native .mosaic .mosaic-b img{
    object-fit:contain!important;
    object-position:center!important;
    background:rgba(5,5,7,.22);
  }

  body.gb-editorial-home .gb-people-native .mosaic figcaption{
    position:relative!important;
    z-index:3;
    min-height:54px!important;
  }

  /* Subtle moving watermark in the remaining dark negative space. */
  body.gb-editorial-home .gb-people-native .mosaic::after{
    content:"";
    position:absolute;
    width:min(62vw,900px);
    aspect-ratio:1;
    right:-24vw;
    top:-34%;
    z-index:0;
    border:1px solid rgba(231,35,43,.09);
    border-radius:50%;
    box-shadow:
      0 0 0 78px rgba(255,255,255,.012),
      0 0 0 156px rgba(231,35,43,.014);
    background:radial-gradient(circle,rgba(231,35,43,.035),transparent 68%);
    pointer-events:none;
    animation:gbPeopleWatermark 16s ease-in-out infinite alternate;
    will-change:transform;
  }
}

@keyframes gbPeopleWatermark{
  0%{transform:translate3d(0,0,0) rotate(0deg) scale(1)}
  100%{transform:translate3d(-34px,22px,0) rotate(8deg) scale(1.035)}
}

@media (prefers-reduced-motion:reduce){
  body.gb-editorial-home .gb-people-native .mosaic::after{
    animation:none!important;
  }
}
