.cabecalho-principal {
    height: 80px;
    position: fixed;
    padding: 0 3.473%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 5;
    left: 0;
    align-items: center;
    user-select: none;
    transition: height .2s ease;
    top: -100%;
    animation: toBottom .6s ease 0s 1 normal forwards;
}
.cabecalho-principal::before {
    content: '';
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    transition: opacity .2s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
}
.cabecalho-principal.fixado::before {
    opacity: 1;
}

.blu {
    display: none;
}

.cabecalho-principal .navegacao__embrulho {
    width: 75%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.cabecalho-principal .logo-link .apenas-palavras {
    animation: hideLeft .6s ease 1.6s 1 normal forwards;
}
.cabecalho-principal .logo-link:hover .apenas-palavras {
    animation: showLeft .6s ease 0s 1 normal forwards;
    opacity: 1;
    transform: translateX(0%);
}
.cabecalho-principal .logo-link {
    position: relative;
    max-width: 204px;
    z-index: 1;
    display: block;
}
.cabecalho-principal .logo-link > * {
    width: 100%;
}

.cabecalho-principal .navegacao a {
    color: white;
    text-decoration: none;
    line-height: 1.38;
    display: inline-block;
    margin-right: 30px;
    transition: color .2s ease;
}

.cabecalho-principal .navegacao a:focus,
.cabecalho-principal .navegacao a:hover {
    color: #EF723B;
}

.cabecalho-principal .pesquisa {
    position: relative;
}

.cabecalho-principal .pesquisa__input {
    width: 40px;
    background-color: rgba(255, 255, 255, 0.25);
    border: 0;
    border-radius: 20px;
    height: 40px;
    color: white;
    transition: width .4s ease, padding .3s ease, background-color .2s ease;
    outline: none;
}

input[type=search]::-webkit-search-cancel-button {
    display: none;
}

.cabecalho-principal .pesquisa__enviar .icone {
    width: 100%;
    height: 100%;
    display: block;
}
.cabecalho-principal .pesquisa__enviar {
    position: absolute;
    outline: none;
    width: 30px;
    height: 30px;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    right: 5px;
    padding: 0;
    top: 0;
    bottom: 0;
    margin: auto ;
}

.cabecalho-principal #menu-toggle {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.cabecalho-principal .menu-toggler .barra::before {
    top: 0;
}

.cabecalho-principal .menu-toggler .barra::after {
    bottom: 0;
}

.cabecalho-principal .menu-toggler .barra::before,
.cabecalho-principal .menu-toggler .barra::after {
    content: '';
    background-color: white;
    display: block;
    position: absolute;
    height: inherit;
    width: inherit;
    transition: top .2s, bottom .2s, transform .2s ease;
}

.cabecalho-principal .menu-toggler .barra {
    height: 10%;
    background-color: white;
    width: 100%;
    transition: background-color .2s ease;
}

.cabecalho-principal .menu-toggler {
    display: none;
    width: 24px;
    height: 20px;
    align-items: center;
    z-index: 1;
    position: relative;
}

.cabecalho-principal #menu-toggle:checked~.menu-toggler .barra {
    background-color: transparent;
}

.cabecalho-principal #menu-toggle:checked~.menu-toggler .barra::after {
    bottom: 50%;
    transform: rotate(-45deg) translateY(50%);
}

.cabecalho-principal #menu-toggle:checked~.menu-toggler .barra::before {
    top: 50%;
    transform: rotate(45deg) translateY(-50%);
}

.cabecalho-principal #menu-toggle:checked~.navegacao__embrulho {
    transform: translateX(0%);
}

.cabecalho-principal .pesquisa {
    visibility: hidden;
}

@media only screen and (min-width: 1025px) {
    .cabecalho-principal {
        height: calc(calc(80 / var(--ratio-width)) * 100vw);
    }
    .cabecalho-principal .logo-link {
        max-width: calc(calc(204 / var(--ratio-width)) * 100vw);
    }
    .cabecalho-principal.fixado {
        height: calc(calc(63 / var(--ratio-width)) * 100vw);
    }
    .cabecalho-principal .pesquisa__input:focus,
    .cabecalho-principal .pesquisa:hover .pesquisa__input {
        width: 270px;
        background-color: rgba(255, 255, 255, 0.5);
        padding: 0 40px 0 15px;
    }
    .cabecalho-principal .navegacao a:nth-of-type(1) {
        animation: toRight .2s ease .6s 1 normal forwards;
    }
    .cabecalho-principal .navegacao a:nth-of-type(2) {
        animation: toRight .2s ease .8s 1 normal forwards;
    }
    .cabecalho-principal .navegacao a:nth-of-type(3) {
        animation: toRight .2s ease 1s 1 normal forwards;
    }
    .cabecalho-principal .navegacao a:nth-of-type(4) {
        animation: toRight .2s ease 1.2s 1 normal forwards;
    }
    .cabecalho-principal .navegacao a:nth-of-type(5) {
        animation: toRight .2s ease 1.4s 1 normal forwards;
    }
    .cabecalho-principal .navegacao a {
        position: relative;
        left: -20px;
        opacity: 0;
        font-size: calc(calc(16 / var(--ratio-width)) * 100vw);
    }
    @keyframes toRight {
        to {
            left: 0;
            opacity: 1;
        }
    }
}

@media only screen and (max-width: 1024px) {
    .cabecalho-principal .pesquisa__input:focus {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .cabecalho-principal {
        padding: 0 14px;
    }

    .cabecalho-principal .logo-link {
        max-width: 33px;
    }

    .cabecalho-principal .menu-toggler {
        display: flex;
    }

    .cabecalho-principal .pesquisa__input {
        width: 100%;
        padding: 0 40px 0 15px;
    }
    
    .cabecalho-principal .pesquisa {
        width: 65%;
        max-width: 260px;
        margin-bottom: 7.8%;
    }

    .cabecalho-principal .navegacao__embrulho {
        padding-top: 20px;
        position: fixed;
        right: 0;
        transform: translateX(100%);
        top: 0;
        width: 100%;
        transition: transform .3s ease-in-out, padding-top .3s ease;
        flex-direction: column-reverse;
        background-color: var(--escuro-tema);
        bottom: 0;
        height: 100%;
        justify-content: flex-end;
        will-change: transform;
        box-shadow: -1px 0 2px rgb(0, 0, 0, 0.5);
    }

    .cabecalho-principal .navegacao {
        width: 100%;
    }

    .cabecalho-principal .navegacao a::after {
        content: '';
        display: block;
        width: 100%;
        max-width: 82px;
        height: 2px;
        background-color: #a5411c;
        margin: 10px auto 0;
    }
    .cabecalho-principal .navegacao a:focus {
        background-color: rgb(165, 165, 165, 0.2);
    }
    .cabecalho-principal .navegacao a {
        display: block;
        margin-right: auto;
        text-align: center;
        padding: 10px 0;
        margin-bottom: 3.125vw;
    }
    .cabecalho-principal .navegacao__embrulho .social {
        padding: 0;
        margin: 22px auto 30px;    
    }

    .cabecalho-principal .navegacao__embrulho .bottom a {
        color: #dd5522;
        text-decoration: none;
    }
    .cabecalho-principal .navegacao__embrulho .bottom {
        margin: auto auto 0;
        text-align: center;
        color: white;
    }
}

@keyframes toBottom {
    to {
        top: 0;
    }
}

@keyframes showLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0%);
        opacity: 1;
    }
}
@keyframes hideLeft {
    from {
        transform: translateX(0%);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}