/* Rodapé compartilhado ECUS — V18 */

.ecus-shared-footer {
    width: 100%;
    margin: 0;
    color: #ffffff;
    background: #0a3a79;
    font-family: "Montserrat", Arial, sans-serif;
}

.ecus-footer-main {
    width: 100%;
    background: #0a3a79;
}

.ecus-footer-container {
    width: min(1180px, calc(100% - 40px));
    min-height: 260px;
    margin: 0 auto;
    padding: 38px 0 30px;

    display: grid;
    grid-template-columns: 1.22fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.ecus-footer-brand {
    min-height: 170px;
    display: flex;
    align-items: center;
}

.ecus-footer-brand a {
    display: inline-flex;
    padding: 10px;
    border-radius: 18px;

    transition:
        transform .28s ease,
        background .28s ease,
        box-shadow .28s ease;
}

.ecus-footer-brand a:hover {
    transform: translateY(-6px) scale(1.04);
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
}

.ecus-footer-brand img {
    position: static !important;
    display: block;
    width: 120px;
    height: auto;
    object-fit: contain;
}

.ecus-footer-column h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
}

.ecus-footer-column a,
.ecus-footer-column span {
    position: relative;
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0 0 10px;

    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;

    transition:
        color .22s ease,
        transform .22s ease;
}

.ecus-footer-column a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;

    width: 0;
    height: 2px;

    border-radius: 999px;
    background: #25d366;

    transition: width .24s ease;
}

.ecus-footer-column a:hover {
    color: #9ff1bf;
    transform: translateX(5px);
}

.ecus-footer-column a:hover::after {
    width: 100%;
}

.ecus-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ecus-footer-socials a {
    width: 48px;
    height: 48px;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid rgba(255, 255, 255, .82);
    border-radius: 50%;

    color: #ffffff;
    font-size: 19px;
    font-weight: 800;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.ecus-footer-socials a::after {
    display: none;
}

.ecus-footer-socials a:hover {
    color: #0a3a79;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
}

.ecus-footer-bottom {
    padding: 18px 20px;

    color: #ffffff;
    background: #082f64;
    border-top: 1px solid rgba(255, 255, 255, .15);

    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 950px) {
    .ecus-footer-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }

    .ecus-footer-brand {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .ecus-footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .ecus-footer-container {
        width: min(100% - 28px, 1180px);
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ecus-footer-brand {
        justify-content: center;
    }

    .ecus-footer-column a,
    .ecus-footer-column span {
        margin-left: auto;
        margin-right: auto;
    }

    .ecus-footer-socials {
        justify-content: center;
    }
}
