body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.eventos-container {
    max-width: 1040px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

#siteHeader {
    overflow: visible;
}

/* Faixa 1 - faixa escura; logo EVENTOS invade pouco a faixa 2 */
.band-logos {
    --logo-eventos-h: 160px;
    --logo-on-dark: 104px;
    --logo-on-orange: calc(var(--logo-eventos-h) - var(--logo-on-dark));
    position: relative;
    height: var(--logo-on-dark);
    overflow: visible;
    z-index: 2;
}

.band-logos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: #c48c02;
    z-index: 0;
}

.band-logos-inner {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 3;
    height: auto;
}

.logo-eventos {
    display: flex;
    align-items: center;
}

.logo-eventos-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
    transform-origin: center center;
}

.logo-eventos-img {
    display: block;
    height: var(--logo-eventos-h);
    width: auto;
    max-width: 100%;
    opacity: 0.92;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-eventos-link:hover .logo-eventos-img,
.logo-eventos-link:focus .logo-eventos-img {
    transform: scale(1.04);
    opacity: 1;
}

.logo-megabrasil {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-left: 32px;
}

.logo-megabrasil-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
    transform-origin: center center;
}

.logo-megabrasil-img {
    display: block;
    width: 211px;
    height: auto;
    max-width: 100%;
    opacity: 0.92;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-megabrasil-link:hover .logo-megabrasil-img,
.logo-megabrasil-link:focus .logo-megabrasil-img {
    transform: scale(1.04);
    opacity: 1;
}

/* Faixa 2 - menu + logo Mega na mesma linha */
.band-nav {
    --logo-eventos-h: 160px;
    --logo-on-dark: 104px;
    --logo-on-orange: calc(var(--logo-eventos-h) - var(--logo-on-dark));
    background-color: #f9a800;
    padding-top: calc(var(--logo-on-orange) + 6px);
    padding-bottom: 12px;
    border-top: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}

.nav-eventos {
    padding: 0;
}

.nav-eventos-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.nav-eventos-toggle {
    display: none;
    margin: 8px 0 8px auto;
    padding: 6px 10px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.nav-eventos-toggle-icon {
    display: block;
    width: 24px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.nav-menu {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 6px 0 4px;
    margin: 0;
    list-style: none;
    min-width: 0;
}

.nav-menu .nav-item {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav-menu-link {
    position: relative;
    display: inline-block;
    color: #1a1a1a !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        transform 0.22s ease,
        letter-spacing 0.22s ease,
        box-shadow 0.22s ease;
}

.nav-menu-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    background-color: #c48c02;
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.nav-menu-link:hover,
.nav-menu-link:focus {
    color: #000000 !important;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.42);
    transform: translateY(-1px);
    letter-spacing: 0.08em;
    text-decoration: none !important;
}

.nav-menu-link:hover::after,
.nav-menu-link:focus::after {
    transform: scaleX(1);
}

.nav-menu-link:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

.nav-menu-link.is-active {
    color: #000000 !important;
    background-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
    letter-spacing: 0.08em;
}

.nav-menu-link.is-active::after {
    transform: scaleX(1);
    background-color: #1a1a1a;
}

@media (max-width: 767.98px) {
    .band-logos {
        --logo-eventos-h: 110px;
        --logo-on-dark: 72px;
    }

    .band-nav {
        --logo-eventos-h: 110px;
        --logo-on-dark: 72px;
        padding-bottom: 10px;
    }

    .nav-eventos-row {
        flex-direction: column;
        align-items: stretch;
    }

    .logo-megabrasil {
        margin-left: 0;
        justify-content: center;
        padding-top: 8px;
    }

    .nav-eventos-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        padding-bottom: 8px;
        gap: 4px;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu .nav-item {
        width: 100%;
        max-width: 280px;
    }

    .nav-menu-link {
        display: block;
        width: 100%;
        text-align: center;
    }

    .nav-menu-link:hover,
    .nav-menu-link:focus,
    .nav-menu-link.is-active {
        transform: none;
    }
}

/* Faixa 3 - sub-header */
.band-subheader {
    background-color: #ffffff;
    padding: 14px 0 10px;
    border-bottom: 1px solid #eeeeee;
}

.band-subheader-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lbl-titulo-pagina {
    font-size: 20px;
    font-weight: bold;
    color: #bbbbbb;
    margin: 0;
    line-height: 1.2;
}

.partner-logos {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 2px;
}

.partner-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background-color: transparent;
    text-decoration: none;
}

.partner-logo-item img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 130px;
}

.partner-logo-item:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* Banner principal (abaixo do sub-header) */
.band-banner {
    width: 100%;
    background-color: #ffffff;
    text-align: center;
}

.band-banner-inner {
    padding: 0;
}

.band-banner-link {
    display: block;
    line-height: 0;
    text-decoration: none;
    max-width: 1040px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(3, 63, 136, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.band-banner-link:hover,
.band-banner-link:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(3, 63, 136, 0.16);
    text-decoration: none;
}

.band-banner-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.page-main {
    min-height: 200px;
    background-color: #ffffff;
}
