/* Footer institucional revisado: claro, limpo e alinhado às marcas oficiais */
.brand-footer {
    background: linear-gradient(180deg, #fffaf2 0%, #f7f1e8 50%, #fff 100%) !important;
    color: var(--black) !important;
    padding: 0 0 22px !important;
    overflow: hidden;
}

.brand-footer::before {
    height: 9px !important;
    background: linear-gradient(90deg, var(--black) 0%, var(--orange) 30%, var(--yellow) 54%, var(--pink) 76%, var(--brand-blue) 100%) !important;
}

.brand-footer-shell {
    position: relative;
    padding-top: 58px;
}

.brand-footer-shell::before {
    content: "";
    position: absolute;
    right: -120px;
    top: 8px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 145, 0, .18), rgba(249, 21, 103, .08) 42%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.footer-brand-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 28px;
}

.footer-event-lockup {
    display: flex;
    align-items: center;
    gap: 26px;
    max-width: 760px;
}

.footer-event-logo {
    width: 112px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(8, 8, 8, .08));
}

.footer-event-lockup p {
    margin: 5px 0 0;
    color: #4c463f;
    font-size: 14px;
    line-height: 1.65;
    max-width: 610px;
}

.brand-footer .footer-label {
    color: var(--orange) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    margin-bottom: 8px !important;
}

.footer-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--black);
    color: white;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 18px 40px rgba(8, 8, 8, .16);
}

.footer-action:hover {
    background: var(--orange);
}

.footer-brand-card {
    position: relative;
    z-index: 1;
    width: 100% !important;
    border-radius: 24px !important;
    padding: 34px !important;
    grid-template-columns: .48fr 1fr !important;
    gap: 34px !important;
    border: 1px solid rgba(1, 48, 164, .11) !important;
    box-shadow: 0 28px 90px rgba(8, 8, 8, .09) !important;
    background: rgba(255, 255, 255, .93) !important;
    backdrop-filter: blur(8px);
}

.footer-card-intro {
    border-right: 1px solid rgba(8, 8, 8, .08);
    padding-right: 28px;
}

.footer-card-intro h2 {
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -.04em;
    margin: 0 0 12px;
    color: #111;
}

.footer-card-intro p {
    margin: 0;
    color: #6f675e;
    font-size: 13px;
    line-height: 1.65;
}

.footer-brand-groups {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 24px;
    align-items: stretch;
}

.footer-brand-card--single {
    display: block !important;
    padding: 28px 34px !important;
}

.footer-brand-groups--single {
    display: block !important;
}

.footer-brand-group--all {
    min-height: 132px;
}

.footer-brand-group--all .official-brand-row {
    justify-content: center;
}

.footer-brand-group {
    background: linear-gradient(180deg, #fff 0%, #fff8ed 100%);
    border: 1px solid rgba(242, 145, 0, .15);
    border-radius: 18px;
    padding: 24px;
    min-height: 152px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-brand-group strong {
    display: block !important;
    color: #6f675e !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
    margin: 0 0 18px !important;
}

.footer-brand-group .official-brand-row {
    gap: 24px !important;
}

.footer-brand-group .official-brand-row img {
    max-width: 150px !important;
    max-height: 54px !important;
}

.footer-brand-group .official-brand-row .brand-fecomercio {
    max-width: 170px !important;
    max-height: 66px !important;
}

.footer-brand-group .official-brand-row .brand-delas {
    max-width: 122px !important;
    max-height: 58px !important;
}

.footer-extra-partners {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    padding: 22px;
    border: 1px solid rgba(8, 8, 8, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .62);
}

.footer-extra-partners .partner-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-extra-partners .partner-item {
    background: white !important;
    color: #111 !important;
    border: 1px solid rgba(8, 8, 8, .08) !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    min-height: 64px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer-extra-partners .partner-item img {
    max-height: 38px;
    max-width: 150px;
    object-fit: contain;
}

.footer-info-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 18px;
    margin-top: 26px;
    padding: 24px 0;
    border-top: 1px solid rgba(8, 8, 8, .1);
    border-bottom: 1px solid rgba(8, 8, 8, .1);
}

.footer-info-row > div {
    min-width: 0;
}

.footer-info-row span {
    display: block;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--orange);
    margin-bottom: 8px;
}

.footer-info-row strong {
    display: block;
    font-size: 17px;
    line-height: 1.3;
    color: #111;
}

.footer-info-row small {
    display: block;
    color: #6a625a;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 4px;
}

.footer-quick-links p {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
}

.footer-quick-links a {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    background: white;
    border: 1px solid rgba(8, 8, 8, .08);
    font-size: 11px;
    font-weight: 800;
    color: #111;
}

.footer-quick-links a:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.brand-footer .footer-bottom {
    border-top: 0 !important;
    margin-top: 0 !important;
    padding-top: 18px !important;
    color: #786f66 !important;
    font-size: 10px !important;
}

.brand-footer .footer-bottom span:last-child {
    color: #8c8379;
}

@media (max-width: 980px) {
    .footer-brand-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-brand-card {
        grid-template-columns: 1fr !important;
    }

    .footer-card-intro {
        border-right: 0;
        border-bottom: 1px solid rgba(8, 8, 8, .08);
        padding: 0 0 24px;
    }

    .footer-brand-groups,
    .footer-info-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand-footer-shell {
        padding-top: 42px;
    }

    .footer-event-lockup {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .footer-event-logo {
        width: 94px;
    }

    .footer-brand-card {
        padding: 22px !important;
        border-radius: 18px !important;
    }

    .footer-card-intro h2 {
        font-size: 25px;
    }

    .footer-brand-group {
        padding: 20px;
    }

    .footer-brand-group .official-brand-row {
        gap: 18px !important;
    }

    .footer-brand-group .official-brand-row img {
        max-width: 122px !important;
    }

    .footer-brand-group .official-brand-row .brand-fecomercio {
        max-width: 145px !important;
    }

    .footer-brand-group .official-brand-row .brand-delas {
        max-width: 104px !important;
    }

    .footer-action {
        width: 100%;
    }

    .brand-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
