/* Cabecalho estilo haikar.com.br: menu sanduiche + logo central + contatos */
.hk-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    border-bottom: 2px solid #e2211c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.hk-header-inner {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.hk-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: 0;
    padding: 4px 6px;
    cursor: pointer;
    color: #555;
    font: 500 10px/1 Roboto, Arial, sans-serif;
    letter-spacing: .5px;
}

.hk-menu-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background: #555;
    border-radius: 1px;
}

.hk-menu-btn em {
    font-style: normal;
    margin-top: 2px;
}

.hk-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    line-height: 0;
}

.hk-logo img {
    height: 100px;
    width: auto;
    max-width: 60vw;
}

.hk-contatos {
    position: relative;
}

.hk-fones-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    padding: 8px 10px;
    color: #333;
    font: 400 14px/1 Roboto, Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.hk-fones-btn i.fa-phone,
.hk-fones-btn i.fa-whatsapp {
    color: #c00;
}

.hk-fones-btn:hover {
    color: #c00;
    text-decoration: none;
}

.hk-fones-arrow {
    font-size: 11px;
    transition: transform .2s;
}

.hk-contatos.aberto .hk-fones-arrow {
    transform: rotate(180deg);
}

.hk-fones-list {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 220px;
    margin: 6px 0 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    z-index: 1050;
}

.hk-contatos.aberto .hk-fones-list {
    display: block;
}

.hk-fones-list li {
    padding: 8px 16px;
}

.hk-fones-list li + li {
    border-top: 1px solid #f0f0f0;
}

.hk-fones-list small {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: #888;
}

.hk-fones-list a {
    color: #222;
    font-weight: 500;
    text-decoration: none;
}

.hk-fones-list a:hover {
    color: #c00;
}

/* Gaveta lateral */
.hk-overlay {
    display: none;
    position: fixed;
    inset: 122px 0 0 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1090;
}

.hk-drawer {
    position: fixed;
    top: 122px;
    left: 0;
    bottom: 0;
    width: 230px;
    max-width: 85vw;
    background: #fff;
    z-index: 1100;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .2);
}

body.hk-menu-aberto .hk-drawer {
    transform: translateX(0);
    visibility: visible;
}

body.hk-menu-aberto .hk-overlay {
    display: block;
}

body.hk-menu-aberto {
    overflow: hidden;
}

.hk-nav,
.hk-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hk-nav > li {
    border-bottom: 1px solid #f0f0f0;
}

.hk-nav a,
.hk-nav .hk-grupo-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 22px;
    background: none;
    border: 0;
    text-align: left;
    color: #333;
    font: 500 15px/1.2 Roboto, Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.hk-nav a:hover,
.hk-nav .hk-grupo-btn:hover {
    color: #c00;
    background: #fafafa;
}

.hk-nav .hk-grupo-btn .hk-seta {
    transition: transform .2s;
}

.hk-sub {
    display: none;
    background: #f7f7f7;
}

.hk-nav li.aberto > .hk-sub {
    display: block;
}

.hk-sub a {
    padding: 11px 22px 11px 38px;
    font-weight: 400;
    font-size: 14px;
}

body.modoNoturno .hk-header,
body.modoNoturno .hk-drawer,
body.modoNoturno .hk-fones-list {
    background: #1b1b1b;
}

body.modoNoturno .hk-fones-btn,
body.modoNoturno .hk-nav a,
body.modoNoturno .hk-nav .hk-grupo-btn,
body.modoNoturno .hk-fones-list a,
body.modoNoturno .hk-menu-btn {
    color: #eee;
}

body.modoNoturno .hk-menu-btn span {
    background: #eee;
}

body.modoNoturno .hk-sub {
    background: #262626;
}

body.modoNoturno .hk-nav > li {
    border-color: #333;
}

.hk-nav a > i:first-child,
.hk-nav .hk-grupo-btn > i:first-child {
    width: 28px;
    margin-right: 14px;
    font-size: 20px;
    text-align: center;
    color: #6b6b6b;
}

.hk-nav .hk-grupo-btn {
    justify-content: flex-start;
}

.hk-nav .hk-seta {
    margin-left: auto;
    font-size: 11px;
    color: #aaa;
}

.hk-nav a,
.hk-nav .hk-grupo-btn {
    justify-content: flex-start;
    font-weight: 400;
    font-size: 14px;
    padding: 16px 18px;
}

.hk-nav li.aberto > .hk-grupo-btn .hk-seta {
    transform: rotate(90deg);
}

.hk-sub a {
    padding-left: 60px;
}

/* Sanduiche vira X quando aberto */
.hk-menu-btn span {
    transition: transform .2s, opacity .2s;
}

body.hk-menu-aberto .hk-menu-btn span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.hk-menu-aberto .hk-menu-btn span:nth-child(2) {
    opacity: 0;
}

body.hk-menu-aberto .hk-menu-btn span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 575px) {
    .hk-header-inner {
        padding: 0 10px;
    }

    .hk-logo img {
        height: 100px;
    }

    .hk-fones-btn {
        padding: 8px 4px;
        font-size: 13px;
    }
}
