/**
 * Cabeçalho BAW (body.machion-baw-header) — grid do menu, logo e CTA.
 * Carregado no layout do site público; evita repetir este bloco em cada CSS de página.
 */

/* Faixa superior do cabeçalho */
body.machion-baw-header .header-top .outer-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

body.machion-baw-header .header-top .social-links li h5,
body.machion-baw-header .header-top .links-list li {
    font-size: 14px;
    line-height: 20px;
}

body.machion-baw-header .header-top .social-links li a {
    font-size: 16px;
}

body.machion-baw-header .header-top .social-links li:before {
    top: 10px;
}

body.machion-baw-header .header-top .links-list li a {
    white-space: nowrap;
}

/* Header inferior: esquerda | centro (nav) | direita */
@media (min-width: 768px) {
    body.machion-baw-header .main-header .header-lower .outer-box,
    body.machion-baw-header .sticky-header .outer-box {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 0;
    }

    body.machion-baw-header .main-header .header-lower .menu-left-content,
    body.machion-baw-header .sticky-header .menu-left-content {
        grid-column: 1;
        justify-self: start;
        margin-right: 0;
        border-right: none;
        padding-right: 36px;
    }

    body.machion-baw-header .main-header .header-lower .menu-area,
    body.machion-baw-header .sticky-header .menu-area {
        grid-column: 2;
        justify-self: stretch;
        display: flex;
        justify-content: center;
        align-items: center;
        flex: none !important;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        border-left: 1px solid #e2e2e2;
        border-right: 1px solid #e2e2e2;
        padding-left: 32px;
        padding-right: 32px;
    }

    body.machion-baw-header .main-header .header-lower .menu-area .main-menu,
    body.machion-baw-header .sticky-header .menu-area .main-menu {
        float: none;
        margin: 0 auto;
        flex-shrink: 0;
    }

    body.machion-baw-header .main-header .header-lower .menu-right-content,
    body.machion-baw-header .sticky-header .menu-right-content {
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
        border-left: none;
        padding-left: 36px;
    }
}

body.machion-baw-header .main-header .header-lower .menu-left-content,
body.machion-baw-header .sticky-header .menu-left-content {
    padding-top: 20px;
    padding-bottom: 20px;
}

body.machion-baw-header .main-header .header-lower .menu-left-content .logo-box,
body.machion-baw-header .sticky-header .menu-left-content .logo-box {
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 32px;
}

body.machion-baw-header .main-header .header-lower .menu-left-content .logo-box img,
body.machion-baw-header .sticky-header .menu-left-content .logo-box img {
    max-height: 52px;
    width: auto;
    vertical-align: middle;
}

body.machion-baw-header .main-header .header-lower .menu-left-content .logo-box:before,
body.machion-baw-header .sticky-header .menu-left-content .logo-box:before {
    height: 52px;
    right: -18px;
    top: 0;
}

body.machion-baw-header .main-header .header-lower .menu-right-content,
body.machion-baw-header .sticky-header .menu-right-content {
    padding-top: 20px;
    padding-bottom: 20px;
}

body.machion-baw-header .main-header .header-lower .menu-right-content .option-list,
body.machion-baw-header .sticky-header .menu-right-content .option-list {
    margin-right: 0;
}

body.machion-baw-header .main-header .header-lower .menu-right-content .option-list:not(:has(> li)),
body.machion-baw-header .sticky-header .menu-right-content .option-list:not(:has(> li)) {
    display: none;
}

body.machion-baw-header .main-header .header-lower .menu-right-content .option-list:not(:has(> li)):before,
body.machion-baw-header .sticky-header .menu-right-content .option-list:not(:has(> li)):before {
    display: none;
}

body.machion-baw-header .main-header .header-lower .menu-right-content .option-list:before,
body.machion-baw-header .sticky-header .menu-right-content .option-list:before {
    height: 52px;
    right: -28px;
}

body.machion-baw-header .main-header .header-lower .menu-right-content .btn-box,
body.machion-baw-header .sticky-header .menu-right-content .btn-box {
    padding-left: 44px;
}

body.machion-baw-header .main-header .header-lower .menu-right-content .btn-box .icon-box,
body.machion-baw-header .sticky-header .menu-right-content .btn-box .icon-box {
    width: 40px;
    height: 40px;
    line-height: 42px;
    font-size: 18px;
    top: -4px;
}

body.machion-baw-header .main-header .header-lower .menu-right-content .btn-box a,
body.machion-baw-header .sticky-header .menu-right-content .btn-box a {
    font-size: 14px;
    line-height: 24px;
}

body.machion-baw-header .main-header .header-lower .main-menu .navigation > li,
body.machion-baw-header .sticky-header .main-menu .navigation > li {
    margin-left: 12px;
    margin-right: 12px;
}

body.machion-baw-header .main-header .header-lower .main-menu .navigation > li > a,
body.machion-baw-header .sticky-header .main-menu .navigation > li > a {
    padding-top: 16px;
    padding-bottom: 16px;
    line-height: 26px;
    font-size: 16px;
}

body.machion-baw-header .main-header .header-lower .main-menu .navigation > li > a:before,
body.machion-baw-header .sticky-header .main-menu .navigation > li > a:before {
    top: 16px;
}

body.machion-baw-header .main-header .header-lower .main-menu .navigation > li > a:after,
body.machion-baw-header .sticky-header .main-menu .navigation > li > a:after {
    top: 17px;
}

body.machion-baw-header .header-top .links-list li a .numerodtel {
    display: inline;
}
