/* ==========================================================================
   Barra superior
   ========================================================================== */

.r-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--r-line);
    padding-top: env(safe-area-inset-top, 0px);
}
.r-topbar__inner {
    max-width: var(--r-max);
    margin: 0 auto;
    height: 58px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.r-topbar__menu {
    justify-self: start;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--r-line);
    border-radius: 10px;
    background: #fff;
    color: var(--r-ink);
    cursor: pointer;
    transition: border-color .15s;
}
.r-topbar__menu:hover { border-color: var(--r-ink); }
.r-topbar__menu svg { width: 22px; height: 22px; }

.r-topbar__brand { display: block; line-height: 0; }
.r-topbar__brand img {
    max-height: 34px;
    max-width: 150px;
    object-fit: contain;
}

.r-topbar__action {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--r-line);
    border-radius: 999px;
    background: #fff;
    color: var(--r-ink);
    font-family: var(--r-font);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.r-topbar__action i { font-size: 16px; color: var(--r-red); }
.r-topbar__action:hover { border-color: var(--r-ink); color: var(--r-ink); }
.r-topbar__action--solid {
    background: var(--r-red);
    border-color: var(--r-red);
    color: #fff;
    padding: 0 18px;
}
.r-topbar__action--solid:hover { background: var(--r-red-dark); border-color: var(--r-red-dark); color: #fff; }

@media (max-width: 360px) {
    .r-topbar__action span { display: none; }
    .r-topbar__action--solid span { display: inline; }
}

/* cabecalhos antigos que nao sao mais usados */
.header-app-header,
#mobileMenu { display: none !important; }
