/* ===== MENU TOPO ===== */
.mt-wrap, .mt-wrap * { box-sizing: border-box; }

/* ===== MENU FIXO NO TOPO ===== */
.mt-wrap {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    font-family: Arial, Helvetica, sans-serif;
}

/* Evita que o conteúdo fique escondido atrás do menu */
body {
    margin: 0;
    padding-top: 132px;
}

@media (max-width: 900px) {
    body {
        padding-top: 116px;
    }
}

.mt-wrap {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    font-family: Arial, Helvetica, sans-serif;
}

.mt-top {
    width: 100%;
    background: #252525;
    color: #fff;
}

.mt-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
}

.mt-top-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mt-top-left,
.mt-top-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mt-top a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.mt-top a:hover { color: #f5a623; }

.mt-sep {
    color: #777;
}

.mt-icon {
    margin-right: 5px;
}

/* ===== ÃREA PRINCIPAL ===== */
.mt-main {
    background: #cccccc;
    box-shadow: 0 3px 12px rgba(2,2,2,.12);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.mt-main-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.mt-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.mt-logo img {
    display: block;
    max-width: 230px;
    max-height: 70px;
    width: auto;
    height: auto;
}

/* ===== BOTÃƒO MOBILE ===== */
.mt-toggle {
    display: none;
    border: 0;
    background: #252525;
    color: #fff;
    width: 45px;
    height: 42px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 23px;
    line-height: 42px;
    text-align: center;
}

.mt-toggle:hover {
    background: #f5a623;
}

/* ===== MENU ===== */
.mt-nav {
    margin-left: auto;
}

.mt-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.mt-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.mt-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 86px;
    padding: 0 18px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: .2s;
}

.mt-menu > li > a:hover,
.mt-menu > li.active > a {
    color: #fff;
    background: #f5a623;
}

/* Cores opcionais dos itens */
.mt-menu > li.red > a:hover { background: #e74c3c; }
.mt-menu > li.orange > a:hover { background: #f5a623; }
.mt-menu > li.grey > a:hover { background: #777; }

/* ===== SUBMENU ===== */
.mt-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    border-top: 3px solid #f5a623;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}

.mt-menu > li:hover > .mt-submenu,
.mt-menu > li:focus-within > .mt-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mt-submenu li {
    border-bottom: 1px solid #eee;
}

.mt-submenu li:last-child {
    border-bottom: 0;
}

.mt-submenu a {
    display: block;
    padding: 13px 16px;
    color: #333;
    background: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.mt-submenu a:hover {
    color: #fff;
    background: #f5a623;
}

/* Seta do submenu */
.mt-has-sub > a:after {
    content: "â–¾";
    margin-left: 7px;
    font-size: 11px;
}

/* ===== FAIXA DECORATIVA ===== */
.mt-gradient {
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e74c3c, #777);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {

    .mt-top-inner {
        min-height: 40px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .mt-top-left,
    .mt-top-right {
        gap: 7px;
    }

    .mt-main-inner {
        min-height: 70px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mt-logo img {
        max-width: 190px;
        max-height: 58px;
    }

    .mt-toggle {
        display: block;
    }

    .mt-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 8px 18px rgba(0,0,0,.18);
        display: none;
    }

    .mt-nav.mt-open {
        display: block;
    }

    .mt-menu {
        display: block;
        width: 100%;
    }

    .mt-menu > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .mt-menu > li > a {
        min-height: 48px;
        padding: 0 20px;
        width: 100%;
        color: #333;
        justify-content: space-between;
    }

    .mt-menu > li > a:hover,
    .mt-menu > li.active > a {
        color: #fff;
    }

    .mt-submenu {
        position: static;
        min-width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-top: 0;
        box-shadow: none;
        background: #f7f7f7;
    }

    .mt-has-sub.mt-sub-open > .mt-submenu {
        display: block;
    }

    .mt-submenu a {
        padding: 12px 35px;
        background: #f7f7f7;
    }

    .mt-submenu a:hover {
        background: #f5a623;
        color: #fff;
    }

    .mt-has-sub > a:after {
        content: "â–¾";
    }

    .mt-has-sub.mt-sub-open > a:after {
        content: "â–´";
    }
}

@media (max-width: 600px) {

    .mt-top-inner {
        justify-content: center;
        text-align: center;
    }

    .mt-top-left,
    .mt-top-right {
        justify-content: center;
        width: 100%;
    }

    .mt-top-left .mt-sep,
    .mt-top-left a:nth-of-type(2) {
        display: none;
    }

    .mt-top-right {
        display: none;
    }

    .mt-logo img {
        max-width: 165px;
        max-height: 55px;
    }

    .mt-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ===== ACESSIBILIDADE ===== */
.mt-menu a:focus,
.mt-toggle:focus {
    outline: 2px solid #f5a623;
    outline-offset: -2px;
}