/* UNIFORMA — MOBILE HEADER V7 */

.uf-mobile-header {
  display:none;
}

@media(max-width:760px) {

  .topbar {
    display:none!important;
  }

  .uf-mobile-header {
    display:block;
    position:fixed;
    inset:0 0 auto 0;
    z-index:115;
    pointer-events:none;
  }

  .uf-mobile-reviews {
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f8fc;
    border-bottom:1px solid #e4eaf4;
    color:#526784;
    font-size:10px;
    letter-spacing:1.3px;
    font-weight:750;
    pointer-events:auto;
  }

  .uf-mobile-navbar {
    height:72px;
    position:relative;
    background:transparent;
    border-bottom:1px solid transparent;
    transition:
      background-color .3s ease,
      box-shadow .3s ease,
      border-color .3s ease;
  }

  .uf-mobile-header.is-scrolled .uf-mobile-navbar {
    background:rgba(8,26,54,.97);
    border-color:rgba(255,255,255,.12);
    box-shadow:0 10px 26px rgba(0,12,35,.18);
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
  }

  .uf-mobile-navbar-inner {
    height:100%;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:0 18px 0 68px;
  }

  .uf-mobile-navbar-logo {
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    width:148px;
    max-width:43vw;
    height:58px;
    pointer-events:auto;
  }

  .uf-mobile-navbar-logo img {
    width:100%;
    height:100%;
    object-fit:contain;
  }

  .uf-mobile-navbar-cta {
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:white;
    text-decoration:none;
    font-size:11px;
    font-weight:800;
    white-space:nowrap;
    pointer-events:auto;
    transition:color .2s ease;
  }

  .uf-mobile-navbar-cta:hover {
    color:#74b4ff;
  }

  /* Reutiliza o botao de menu existente */

  body > .menu-toggle {
    position:fixed!important;
    top:48px!important;
    left:17px!important;
    right:auto!important;
    width:44px!important;
    height:44px!important;
    z-index:150!important;
    background:transparent!important;
    border:0!important;
    border-radius:8px!important;
    box-shadow:none!important;
    padding:0!important;
  }

  body > .menu-toggle span {
    display:block;
    width:21px;
    height:2px;
    background:#fff;
    border-radius:2px;
  }

  body:has(.sidebar.is-open) .uf-mobile-navbar {
    opacity:0;
    pointer-events:none;
  }

  /* Conteudo abaixo da barra fixa */

  .page-shell main > .hero-home,
  .page-shell main > .detail-hero {
    padding-top:174px!important;
  }

  .page-shell main > :first-child:not(.hero-home):not(.detail-hero) {
    scroll-margin-top:110px;
  }

  .uf-mobile-navbar a:focus-visible {
    outline:2px solid #75b5ff;
    outline-offset:4px;
  }

}

@media(max-width:370px) {
  .uf-mobile-navbar-logo {
    width:124px;
  }
  .uf-mobile-navbar-cta {
    font-size:10px;
  }
}

@media(min-width:761px) {
  .uf-mobile-header {
    display:none!important;
  }
}

@media(prefers-reduced-motion:reduce) {
  .uf-mobile-navbar,
  .uf-mobile-navbar-cta {
    transition:none!important;
  }
}
