/* =========================================================
   ONG É POR AMOR — HEADER CORPORATIVO GLOBAL
========================================================= */

.epa-corp-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 12px 40px rgba(0,0,0,.045);
}

.epa-topline {
    background: #050505;
    color: rgba(255,255,255,.78);
    font-size: 12px;
}

.epa-topline-inner {
    max-width: 1480px;
    margin: 0 auto;
    min-height: 34px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.epa-topline-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.epa-topline a {
    color: rgba(255,255,255,.78);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

.epa-topline a:hover {
    color: #ffffff;
}

.epa-corp-inner {
    max-width: 1480px;
    margin: 0 auto;
    min-height: 104px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.epa-corp-logo {
    flex: 0 0 245px;
    display: flex;
    align-items: center;
    padding-right: 8px;
    margin-left: -6px;
}

.epa-corp-logo img {
    height: 76px;
    width: auto;
    max-width: 245px;
    object-fit: contain;
    display: block;
}

.epa-corp-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.epa-corp-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.epa-corp-nav li {
    position: relative;
}

.epa-corp-nav > ul > li > a {
    min-height: 104px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    color: #111111;
    font-size: 13px;
    font-weight: 560;
    letter-spacing: -.01em;
    white-space: nowrap;
    position: relative;
}

.epa-corp-nav > ul > li > a::before {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 28px;
    height: 2px;
    background: #d60000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s ease;
}

.epa-corp-nav > ul > li > a:hover {
    color: #d60000;
}

.epa-corp-nav > ul > li > a:hover::before {
    transform: scaleX(1);
}

.epa-has-mega > a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-top: -5px;
}

.epa-mega {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translate(-50%, 14px);
    width: 720px;
    background: #ffffff;
    border-top: 3px solid #d60000;
    border-left: 1px solid rgba(0,0,0,.07);
    border-right: 1px solid rgba(0,0,0,.07);
    border-bottom: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 34px 90px rgba(0,0,0,.16);
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .25s ease;
}

.epa-mega-wide {
    width: 900px;
}

.epa-has-mega:hover .epa-mega,
.epa-has-mega:focus-within .epa-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.epa-mega a {
    display: block;
    min-height: 96px;
    padding: 22px 22px 20px;
    background: #fafafa;
    color: #111111;
    border-left: 3px solid transparent;
    transition: all .22s ease;
}

.epa-mega a:hover {
    background: #111111;
    color: #ffffff;
    border-left-color: #d60000;
    transform: translateY(-2px);
}

.epa-mega strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.epa-mega span {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    opacity: .72;
}

.epa-corp-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: 18px;
    margin-right: -6px;
}

.epa-action-outline,
.epa-action-red {
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 780;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 0;
}

.epa-action-outline {
    color: #d60000;
    border: 1px solid #d60000;
    background: #ffffff;
}

.epa-action-outline:hover {
    background: #d60000;
    color: #ffffff;
}

.epa-action-red {
    color: #ffffff;
    border: 1px solid #d60000;
    background: #d60000;
}

.epa-action-red:hover {
    background: #b50000;
    border-color: #b50000;
}

.epa-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.14);
    padding: 11px;
    cursor: pointer;
}

.epa-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: #111111;
    margin: 5px 0;
}

.epa-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,.62);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
}

.epa-mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
}

.epa-mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 430px);
    height: 100%;
    background: #ffffff;
    padding: 82px 28px 36px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s ease;
}

.epa-mobile-drawer.is-open .epa-mobile-panel {
    transform: translateX(0);
}

.epa-mobile-close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0,0,0,.12);
    background: #ffffff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.epa-mobile-main,
.epa-mobile-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    color: #111111;
    font-size: 16px;
    font-weight: 650;
    cursor: pointer;
}

.epa-mobile-panel details {
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.epa-mobile-panel details summary {
    border-bottom: none;
    list-style: none;
}

.epa-mobile-panel summary::-webkit-details-marker {
    display: none;
}

.epa-mobile-panel summary::after {
    content: "+";
    color: #d60000;
    font-size: 22px;
    font-weight: 400;
}

.epa-mobile-panel details[open] summary::after {
    content: "−";
}

.epa-mobile-panel details a {
    display: block;
    padding: 12px 0 12px 18px;
    color: #444444;
    font-size: 14px;
}

.epa-mobile-toplinks {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.08);
    display: grid;
    gap: 10px;
}

.epa-mobile-toplinks a {
    color: #d60000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.epa-mobile-actions {
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

.epa-mobile-outline,
.epa-mobile-cta {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.epa-mobile-outline {
    color: #d60000;
    background: #ffffff;
    border: 1px solid #d60000;
}

.epa-mobile-cta {
    background: #d60000;
    color: #ffffff;
}

@media (max-width: 1320px) {
    .epa-corp-logo {
        flex-basis: 218px;
        margin-left: -4px;
    }

    .epa-corp-logo img {
        height: 68px;
        max-width: 218px;
    }

    .epa-corp-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .epa-corp-nav > ul > li > a {
        font-size: 12px;
        padding: 0 7px;
    }

    .epa-corp-actions {
        margin-left: 12px;
        margin-right: -4px;
    }

    .epa-action-outline,
    .epa-action-red {
        min-height: 44px;
        padding: 0 13px;
        font-size: 10px;
    }
}

@media (max-width: 1210px) {
    .epa-corp-actions {
        display: none;
    }

    .epa-corp-logo {
        flex-basis: 220px;
    }
}

@media (max-width: 980px) {
    .epa-corp-nav {
        display: none;
    }

    .epa-menu-btn {
        display: block;
        margin-left: auto;
    }

    .epa-topline {
        display: none;
    }

    .epa-corp-inner {
        min-height: 84px;
    }

    .epa-corp-logo img {
        height: 58px;
    }
}

@media (max-width: 520px) {
    .epa-corp-inner {
        padding: 0 18px;
    }

    .epa-corp-logo {
        flex-basis: auto;
    }

    .epa-corp-logo img {
        height: 48px;
        max-width: 210px;
    }

    .epa-mobile-panel {
        width: 100%;
    }
}
