/* Cabeçalho institucional compartilhado pelo site público e pela central do cliente. */
.mvo_header {
    color: var(--mvo-text);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    z-index: 1000002;
    border-bottom: 1px solid #e8eef5;
    box-shadow: 0 10px 28px rgba(15, 39, 71, .045);
}

.mvo_header .mvo_menu > li > a:focus-visible,
.mvo_header .mvo_menu_parent_button:focus-visible {
    outline: none;
    color: var(--mvo-primary);
    background: var(--mvo-surface-subtle);
    box-shadow: inset 0 0 0 1px var(--mvo-border);
}

@media (min-width: 1201px) {
    .mvo_header .mvo_topo {
        width: min(100%, 1540px);
        height: 84px;
        margin-inline: auto;
        padding-inline: clamp(24px, 2.6vw, 42px);
        gap: clamp(28px, 3vw, 52px);
    }

    .mvo_header .logo { flex: 0 0 auto; }
    .mvo_header .mvo_menu { align-self: stretch; gap: 6px; }
    .mvo_header .mvo_menu > li { position: relative; }

    .mvo_header .mvo_menu > li > a,
    .mvo_header .mvo_menu_parent_button {
        height: 84px;
        padding-inline: 12px;
        color: #26364a;
        font-family: inherit;
        font-size: 13.5px;
        font-weight: 550;
        letter-spacing: -.005em;
    }

    .mvo_header .mvo_menu > li::after {
        content: "";
        position: absolute;
        right: 12px;
        bottom: 0;
        left: 12px;
        height: 2px;
        border-radius: 2px 2px 0 0;
        background: #0788bd;
        opacity: 0;
        transform: scaleX(.55);
        transition: opacity .18s ease, transform .18s ease;
    }

    .mvo_header .mvo_menu > li:hover::after,
    .mvo_header .mvo_menu > li:focus-within::after,
    .mvo_header .mvo_menu > li.is-open::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .mvo_header .submenu {
        top: 84px;
        left: -18px;
        width: 720px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 14px;
        border: 1px solid var(--mvo-border);
        border-radius: 0 0 14px 14px;
        background: #ffffff;
        box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
        transform: translateY(8px);
        transition: opacity .18s ease, visibility .18s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
    }

    .mvo_header .has-submenu.is-open .submenu { transform: translateY(0); }

    .mvo_header .submenu-products {
        left: 50%;
        width: 820px;
        transform: translate(-50%, 8px);
    }

    .mvo_header .has-submenu.is-open .submenu-products { transform: translate(-50%, 0); }

    .mvo_header .submenu_col {
        min-width: 0;
        padding: 10px 12px 8px;
    }

    .mvo_header .submenu_col + .submenu_col {
        padding-left: 24px;
        border-left: 1px solid var(--mvo-border);
    }

    .mvo_header .submenu_col h3 {
        margin: 0 10px 10px;
        color: var(--mvo-muted);
        font-size: .78rem;
        font-weight: 550;
        letter-spacing: .045em;
        text-transform: uppercase;
    }

    .mvo_header .submenu_col a {
        min-height: 72px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 10px;
        border-radius: 10px;
        color: var(--mvo-text);
        transition: color .18s ease, background-color .18s ease;
    }

    .mvo_header .submenu_col a:hover,
    .mvo_header .submenu_col a:focus-visible {
        color: var(--mvo-primary);
        background: var(--mvo-surface-subtle);
        outline: none;
    }

    .mvo_header .mvo_submenu_icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        color: var(--mvo-primary);
        background: var(--mvo-primary-soft);
        font-size: 14px;
        transition: color .18s ease, background-color .18s ease, transform .18s ease;
    }

    .mvo_header .submenu_col a:hover .mvo_submenu_icon,
    .mvo_header .submenu_col a:focus-visible .mvo_submenu_icon {
        color: var(--mvo-primary-text);
        background: var(--mvo-primary);
        transform: translateY(-1px);
    }

    .mvo_header .mvo_submenu_copy {
        min-width: 0;
        display: block;
    }

    .mvo_header .mvo_submenu_copy strong {
        margin: 0 0 3px;
        color: inherit;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
    }

    .mvo_header .mvo_submenu_copy > span {
        color: var(--mvo-muted);
        font-size: .78rem;
        line-height: 1.45;
    }

    .mvo_header .mvo_header_side { gap: clamp(14px, 1.5vw, 24px); }

    .mvo_header .mvo_header_side .telefone {
        min-width: max-content;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        color: #0a476e;
        text-decoration: none;
        line-height: 1;
    }

    .mvo_header .mvo_header_side .telefone span {
        color: #718096;
        font-size: 9px;
        font-weight: 400;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .mvo_header .mvo_header_side .telefone strong {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: .015em;
    }

    .mvo_header .acoes { gap: 6px; }

    .mvo_header .acoes::before {
        content: "";
        width: 1px;
        height: 32px;
        margin: auto 6px auto 0;
        background: var(--mvo-border);
    }
}

.mvo_header .mvo_header_cart_menu > summary,
.mvo_header .mvo_notifications_menu > summary,
.mvo_header .mvo_account_menu > summary {
    min-height: 52px;
    border-color: transparent;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
}

.mvo_header .mvo_header_cart_menu > summary:hover,
.mvo_header .mvo_header_cart_menu[open] > summary,
.mvo_header .mvo_notifications_menu > summary:hover,
.mvo_header .mvo_notifications_menu[open] > summary,
.mvo_header .mvo_account_menu > summary:hover,
.mvo_header .mvo_account_menu[open] > summary,
.mvo_header .mvo_header_cart_item:hover .mvo_header_cart_menu > summary,
.mvo_header .mvo_header_cart_item:focus-within .mvo_header_cart_menu > summary {
    border-color: transparent;
    background: #f3f8fc;
    box-shadow: none;
}

.mvo_header .mvo_header_login_item > a,
.mvo_header .mvo_header_support_item > a,
.mvo_header .mvo_header_status_item > a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 9px;
    border-radius: 10px;
    color: #334155;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease;
}

.mvo_header .mvo_header_login_item > a:hover,
.mvo_header .mvo_header_support_item > a:hover,
.mvo_header .mvo_header_status_item > a:hover {
    color: #006f9f;
    background: #f3f8fc;
}

.mvo_header .mvo_header_login_item > a i,
.mvo_header .mvo_header_support_item > a i {
    color: #5b708a;
    font-size: 13px;
}

.mvo_header .mvo-service-status-indicator { flex: 0 0 auto; }

@media (min-width: 1201px) and (max-width: 1420px) {
    .mvo_header .mvo_topo { gap: 22px; padding-inline: 24px; }
    .mvo_header .mvo_header_side { gap: 8px; }
    .mvo_header .mvo_header_side .telefone { display: none; }
    .mvo_header .acoes::before { margin-right: 2px; }

    .mvo_header .mvo_header_login_item > a,
    .mvo_header .mvo_header_support_item > a,
    .mvo_header .mvo_header_status_item > a { padding-inline: 6px; }
}

@media (max-width: 1200px) {
    .mvo_header .submenu_col a {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 4px;
        border: 0;
        border-bottom: 1px solid var(--mvo-border);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .mvo_header .submenu_col a:last-child { border-bottom: 0; }

    .mvo_header .mvo_submenu_icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        color: var(--mvo-primary);
        background: var(--mvo-primary-soft);
        font-size: 14px;
    }

    .mvo_header .mvo_submenu_copy { min-width: 0; display: block; }
    .mvo_header .mvo_submenu_copy strong { margin-bottom: 3px; }

    .mvo_header .mvo_header_side .telefone {
        color: #0a476e;
        text-decoration: none;
    }

    .mvo_header .mvo_header_side .telefone span {
        margin-right: auto;
        color: #718096;
        font-size: 9px;
        font-weight: 400;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .mvo_header .mvo_header_side .telefone strong {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: .015em;
    }
    .mvo_header .mvo_header_side .telefone::before { content: none; }
}
