.cabecalho {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(145deg, #3a2d1e, #6d5d45); /* Fundo metálico */
    border-bottom: 4px solid #c9a44f; /* Moldura dourada */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: #c9a44f;
    z-index: 100;
}

.cabecalho--tit{
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    text-transform: uppercase;
    font-size: 1.1em;
    font-family: 'Lora', serif;
}

.cabecalho--img{
    width: 110px;
    height: 40px;
    margin-right: -30px; /* Espaço entre o ícone e o texto */
    margin-left: -40px;
    object-fit: contain; /* Garante que a imagem não será distorcida */
}

.btn {
    width: 30px; /* Reduzido para 30px */
    height: 30px; /* Reduzido para 30px */
    margin-right: 40px; /* Ajuste a margem conforme necessário */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
    position: relative;
    
    background-image: linear-gradient(145deg, #3a2d1e, #6d5d45); /* Fundo metálico */
    border-radius: 50%; /* Botão circular */
    border: 3px solid #c9a44f; /* Borda metálica dourada */
}

span {
    width: 20px; /* Reduzido para 20px */
    height: 3px; /* Ajustado para manter as proporções das barras */
    background-color: #c9a44f; /* Barra dourada */
    border-radius: 3px;
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    transition: all .5s;
}

/* Animações de transformação do hambúrguer para o 'X' */
span:nth-child(1) {
    top: 6px; /* Ajustado para novo tamanho */
    animation-name: span1_close;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}

span:nth-child(2) {
    animation-name: span2_close;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}

span:nth-child(3) {
    bottom: 6px; /* Ajustado para novo tamanho */
    animation-name: span3_close;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}

/* Animação para as barras do menu */
@keyframes span1 {
    from {
        top: 6px; /* Ajustado */
        transform: translatex(-50%);
    }
    to {
        top: 50%;
        transform: translate(-50%, -50%) rotatez(45deg);
    }
}

@keyframes span2 {
    from {
        transform: translatex(-50%);
    }
    to {
        transform: translatex(-50%) rotatez(-45deg);
    }
}

@keyframes span3 {
    from {
        transform: translatex(-50%) scale(1);
    }
    to {
        transform: translatex(-50%) scale(0);
    }
}

/* Estilos para quando o botão está aberto (transforma em 'X') */
.open span:nth-child(1) {
    animation-name: span1;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}

.open span:nth-child(2) {
    animation-name: span2;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}

.open span:nth-child(3) {
    animation-name: span3;
    animation-duration: .4s;
    animation-fill-mode: forwards;
}

/* Animações para fechar */
@keyframes span1_close {
    from {
        top: 50%;
        transform: translate(-50%, -50%) rotatez(45deg);
    }
    to {
        top: 6px;
        transform: translatex(-50%);
    }
}

@keyframes span2_close {
    from {
        transform: translatex(-50%) rotatez(-45deg);
    }
    to {
        transform: translatex(-50%);
    }
}

@keyframes span3_close {
    from {
        transform: translatex(-50%) scale(0);
    }
    to {
        transform: translatex(-50%) scale(1);
    }
}


@media (max-width: 800px) {
    .cabecalho{
        display: flex;
    }
}