:root {
    --cabecalho-altura: 145px;
}

@media (min-width: 992px) {
    :root {
        --cabecalho-altura: 215px;
    }
}

#header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    transition: all 0.5s;
    z-index: 997;
}

#logo {
    padding: 0;
}

#logo a {
    display: inline-block;
    position: relative;
    filter:
        drop-shadow(0 0 2px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.6));
}

#logo a img {
    display: block;
    height: clamp(3.5rem, 24vw, 8rem);
    width: auto;
    max-width: 100%;
}

@supports (mask-image: url(../images/logo_new.png)) or (-webkit-mask-image: url(../images/logo_new.png)) {
    #logo a {
        filter:
            drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.45));
    }

    #logo a img {
        opacity: 0;
    }

    #logo a::after {
        content: "";
        position: absolute;
        inset: 0;
        background-color: var(--marca);
        -webkit-mask: url(../images/logo_new.png) center / contain no-repeat;
        mask: url(../images/logo_new.png) center / contain no-repeat;
    }
}

.main-menu {
    position: relative;
}

.main-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: rgba(16, 12, 8, 0.18);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

#header.header-scrolled {
    transition: all 0.5s;
    background-color: #100c08;
}

#header.header-scrolled .header-top {
    display: none
}

#header.header-scrolled .main-menu {
    background: transparent;
    border: none
}
