/* Sprint 3.8 — Padronização do topbar e cabeçalho da Revista */
body.revista-refined-page .global-topbar,
body.rev-people .global-topbar,
body.rev-collection .global-topbar,
body.revista-home .global-topbar,
body.partner-page .global-topbar {
  background:#061435;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-size:.82rem;
}
body.revista-refined-page .global-topbar-inner,
body.rev-people .global-topbar-inner,
body.rev-collection .global-topbar-inner,
body.revista-home .global-topbar-inner,
body.partner-page .global-topbar-inner {
  min-height:42px;
  height:42px;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4,max-content);
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:nowrap;
}
body.revista-refined-page .global-topbar .top-item,
body.rev-people .global-topbar .top-item,
body.rev-collection .global-topbar .top-item,
body.revista-home .global-topbar .top-item,
body.partner-page .global-topbar .top-item {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#fff;
  white-space:nowrap;
  font-weight:700;
  line-height:1;
}
body.revista-refined-page .global-topbar svg,
body.rev-people .global-topbar svg,
body.rev-collection .global-topbar svg,
body.revista-home .global-topbar svg,
body.partner-page .global-topbar svg {
  width:16px;
  height:16px;
  stroke-width:2.2;
  flex:none;
}

/* Cabeçalho principal consistente */
body.revista-refined-page .global-nav .nav-inner,
body.rev-people .global-nav .nav-inner,
body.rev-collection .global-nav .nav-inner,
body.revista-home .global-nav .nav-inner,
body.partner-page .global-nav .nav-inner {
  min-height:78px;
  height:78px;
  padding-top:0;
  padding-bottom:0;
}
body.revista-refined-page .global-logo img,
body.rev-people .global-logo img,
body.rev-collection .global-logo img,
body.revista-home .global-logo img,
body.partner-page .global-logo img {
  width:auto;
  max-width:132px;
  height:54px;
  object-fit:contain;
}

@media (max-width:980px) and (min-width:761px){
  body.revista-refined-page .global-topbar-inner,
  body.rev-people .global-topbar-inner,
  body.rev-collection .global-topbar-inner,
  body.revista-home .global-topbar-inner,
  body.partner-page .global-topbar-inner {
    grid-template-columns:repeat(2,max-content);
    justify-content:center;
    column-gap:42px;
    row-gap:8px;
    min-height:68px;
    height:auto;
    padding:10px 0;
  }
}

/* Mobile: o topbar não compete com o conteúdo. Mantemos apenas o cabeçalho principal. */
@media (max-width:760px){
  body.revista-refined-page .global-topbar,
  body.rev-people .global-topbar,
  body.rev-collection .global-topbar,
  body.revista-home .global-topbar,
  body.partner-page .global-topbar {
    display:none!important;
  }
  body.revista-refined-page .global-nav,
  body.rev-people .global-nav,
  body.rev-collection .global-nav,
  body.revista-home .global-nav,
  body.partner-page .global-nav {
    top:0!important;
  }
  body.revista-refined-page .global-nav .nav-inner,
  body.rev-people .global-nav .nav-inner,
  body.rev-collection .global-nav .nav-inner,
  body.revista-home .global-nav .nav-inner,
  body.partner-page .global-nav .nav-inner {
    min-height:72px;
    height:72px;
    padding:0 18px;
  }
  body.revista-refined-page .global-logo img,
  body.rev-people .global-logo img,
  body.rev-collection .global-logo img,
  body.revista-home .global-logo img,
  body.partner-page .global-logo img {
    height:46px;
    max-width:112px;
  }
  body.revista-refined-page .global-hamb,
  body.rev-people .global-hamb,
  body.rev-collection .global-hamb,
  body.revista-home .global-hamb,
  body.partner-page .global-hamb {
    width:44px!important;
    height:44px!important;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    padding:0!important;
    margin:0!important;
  }
  body.revista-refined-page .revista-back-row,
  body.rev-people .revista-back-row,
  body.rev-collection .revista-back-row,
  body.partner-page .revista-back-row {
    padding-top:18px;
    padding-bottom:18px;
  }
}

@media (max-width:380px){
  body.revista-refined-page .global-nav .nav-inner,
  body.rev-people .global-nav .nav-inner,
  body.rev-collection .global-nav .nav-inner,
  body.revista-home .global-nav .nav-inner,
  body.partner-page .global-nav .nav-inner {
    min-height:66px;
    height:66px;
    padding-left:14px;
    padding-right:14px;
  }
  body.revista-refined-page .global-logo img,
  body.rev-people .global-logo img,
  body.rev-collection .global-logo img,
  body.revista-home .global-logo img,
  body.partner-page .global-logo img {
    height:42px;
    max-width:102px;
  }
}
