
/* CABEÇALHO COMPARTILHADO COMPREPOUPE */

.cabecalho-site {
    width: 100%;
    position: relative;
    z-index: 20;
}

.cabecalho-site .menu {
    width: 100%;
    min-height: 90px;
    background: #092b59;
    color: #fff;
    border: 0;
}

.cabecalho-site .menu-conteudo {
    width: 96%;
    max-width: 1800px;
    min-height: 90px;
    margin: 0 auto;
    padding: 5px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

.cabecalho-site .marca-menu {
    display: flex;
    flex: 0 0 390px;
    align-items: center;
    text-decoration: none;
}

.cabecalho-site .marca-menu-imagem {
    display: block;
    width: 390px;
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.cabecalho-site .menu-links {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.cabecalho-site .menu-links a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border-left: 1px solid rgba(255,255,255,.45);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.cabecalho-site .menu-links a:hover,
.cabecalho-site .menu-links a:focus {
    color: #ffd447;
    background: rgba(255,255,255,.07);
}

.cabecalho-site .menu-icone {
    color: #fff;
    font-size: 21px;
    line-height: 1;
}

/* BUSCA */

.cabecalho-site .busca-menu {
    display: flex;
    flex: 0 0 290px;
    width: 290px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    margin: 0;
    padding: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

.cabecalho-site .busca-menu input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 48px;
    min-height: 0;
    margin: 0;
    padding: 0 20px;
    border: 0;
    outline: 0;
    color: #263449;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.cabecalho-site .busca-menu button {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    min-height: 0;
    margin: 0;
    border: 0;
    padding: 0;
    color: #092b59;
    background: #fff;
    font-size: 27px;
    cursor: pointer;
}

/* TABLETS E TELAS INTERMEDIÁRIAS */

@media (max-width: 1250px) {

    .cabecalho-site .menu-conteudo {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 0;
        gap: 10px;
    }

    .cabecalho-site .marca-menu {
        flex: 0 1 390px;
        justify-content: center;
    }

    .cabecalho-site .menu-links {
        flex: 1 1 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cabecalho-site .busca-menu {
        flex: 0 1 290px;
    }
}

/* CELULARES */

@media (max-width: 760px) {

    .cabecalho-site .menu {
        min-height: 0;
    }

    .cabecalho-site .menu-conteudo {
        width: 100%;
        min-height: 0;
        padding: 12px 10px 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    /* LOGO */

    .cabecalho-site .marca-menu {
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
    }

    .cabecalho-site .marca-menu-imagem {
        width: min(88%, 390px);
        max-height: 95px;
    }

    /* MENU DE NAVEGAÇÃO */

    .cabecalho-site .menu-links {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 2px 5px;
    }

    .cabecalho-site .menu-links a {
        min-height: 36px;
        padding: 6px 9px;
        border-left: 0;
        font-size: 13px;
    }

    /* BUSCA COM ALTURA CONTROLADA */

    .cabecalho-site .busca-menu {
        display: flex;
        flex: 0 0 46px;
        width: min(92%, 420px);
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        margin: 0;
        padding: 0 !important;
        border-radius: 25px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .cabecalho-site .busca-menu input {
        flex: 1 1 auto;
        width: 100%;
        height: 46px !important;
        min-height: 0 !important;
        margin: 0;
        padding: 0 15px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .cabecalho-site .busca-menu button {
        flex: 0 0 46px;
        width: 46px;
        height: 46px !important;
        min-height: 0 !important;
        margin: 0;
        padding: 0;
        font-size: 25px;
    }
}
