/* ==========================================================================
   TOPO E MENU DO CELULAR
   Transparente na abertura, sólido ao rolar (HeaderState.js).
   ========================================================================== */

   .top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background .35s ease, border-color .35s ease;
}

.top.solid {
    background: rgba(8,9,10,.82);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-bottom-color: var(--line);
}

.top .wrap {
    display: flex;
    align-items: center;
    gap: 36px;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 40px;
    height: 40px;
}

.brand span {
    font-family: var(--disp);
    font-size: .82rem;
    letter-spacing: .22em;
    font-weight: 500;
    line-height: 1.15;
}

.brand span small {
    display: block;
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .2em;
    color: var(--mut);
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 28px;
    margin-left: 12px;
}

.nav a {
    font-size: .88rem;
    color: var(--tx2);
    transition: color .2s ease;
    position: relative;
}

.nav a:hover {
    color: var(--tx);
}

.top-r {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.proj-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line2);
    background: transparent;
    color: var(--tx);
    font-weight: 600;
    font-size: .86rem;
    cursor: pointer;
    transition: border-color .2s ease;
}

.proj-btn:hover {
    border-color: var(--tx);
}

.proj-btn svg {
    width: 18px;
    height: 18px;
}

.proj-btn .n {
    display: none;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--or);
    color: #000;
    font-size: .74rem;
    font-weight: 800;
    align-items: center;
    justify-content: center;
}

.proj-btn.has .n {
    display: inline-flex;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line2);
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.burger span {
    width: 16px;
    height: 1.5px;
    background: var(--tx);
    box-shadow: 0 -5px 0 var(--tx), 0 5px 0 var(--tx);
}

.m-menu {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: var(--bg);
    padding: 96px 24px 28px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
}

.m-menu.on {
    opacity: 1;
    visibility: visible;
}

.m-menu a.l {
    font-family: var(--disp);
    font-size: 1.6rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.m-menu a.l small {
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--mut);
}

.m-menu .btn {
    margin-top: 28px;
}

.m-menu .x {
    position: absolute;
    top: 14px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line2);
    background: none;
    cursor: pointer;
}

.m-menu .m-foot {
    margin-top: 14px;
    font-size: .84rem;
    color: var(--mut);
    text-align: center;
}

/* --- Responsivo -------------------------------------------------- */

@media (max-width:1180px) {
    .nav {
        gap: 20px;
    }
}

/* --- Responsivo -------------------------------------------------- */

@media (max-width:900px) {
    .nav {
        display: none;
    }

    .burger {
        display: inline-flex;
    }

    .proj-btn .t {
        display: none;
    }

    .proj-btn {
        padding: 0 12px;
    }
}

/* --- Responsivo -------------------------------------------------- */

@media (max-width:640px) {
    .brand span {
        display: none;
    }
}