/* ==========================================================
   ELDER ALVES ADVOCACIA
   FOOTER.CSS
   ----------------------------------------------------------
   Estilos exclusivos do rodapé customizado
========================================================== */


/* ==========================================================
   FOOTER GERAL
========================================================== */

.ea-footer {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    background:
        radial-gradient(circle at 8% 0%, rgba(198, 163, 106, 0.13), transparent 28%),
        linear-gradient(135deg, var(--ea-navy-950), #061524);

    color: var(--white);
    padding: 82px 0 32px;
    position: relative;
    overflow: hidden;
}

.ea-footer::before {
    content: "";
    position: absolute;
    right: -180px;
    top: -180px;
    width: 460px;
    height: 460px;
    border-radius: 999px;
    background: rgba(198, 163, 106, 0.06);
    pointer-events: none;
}

.ea-footer .ea-container {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1280px);
    margin-left: auto;
    margin-right: auto;
}

.ea-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 54px;
    align-items: start;
}


/* ==========================================================
   MARCA
========================================================== */

.ea-footer-brand {
    max-width: 360px;
}

.ea-footer-logo {
    width: 205px;
    max-width: 205px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
    text-decoration: none !important;
}

.ea-footer-logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.ea-footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.ea-footer-brand strong {
    display: inline-flex;
    color: var(--gold);
    font-size: 0.92rem;
    font-weight: 900;
}


/* ==========================================================
   COLUNAS
========================================================== */

.ea-footer-col h3 {
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.2;
    margin-bottom: 22px;
    font-weight: 800;
}

.ea-footer-col ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.ea-footer-col li {
    list-style: none;
}

.ea-footer-col li,
.ea-footer-col a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.5;
    transition: color var(--transition);
}

.ea-footer-col a {
    text-decoration: none;
}

.ea-footer-col a:hover {
    color: var(--gold);
}

.ea-footer-col p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 10px;
}


/* ==========================================================
   CTA FOOTER
========================================================== */

.ea-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--white) !important;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 12px 30px rgba(198, 163, 106, 0.2);
    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.ea-footer-cta:hover {
    transform: translateY(-2px);
    background: var(--gold-hover);
    box-shadow: 0 16px 38px rgba(198, 163, 106, 0.32);
}


/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.ea-footer-bottom {
    margin-top: 62px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ea-footer-bottom p {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0;
}

.ea-footer-bottom p:last-child {
    text-align: right;
}


/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 1080px) {
    .ea-footer {
        padding: 74px 0 30px;
    }

    .ea-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 46px 34px;
    }

    .ea-footer-brand {
        max-width: none;
    }

    .ea-footer-logo {
        width: 195px;
        max-width: 195px;
    }
}

@media (max-width: 680px) {
    .ea-footer {
        padding: 64px 0 28px;
    }

    .ea-footer .ea-container {
        width: min(100% - 40px, 1280px);
    }

    .ea-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ea-footer-logo {
        width: 184px;
        max-width: 184px;
        margin-bottom: 20px;
    }

    .ea-footer-bottom {
        margin-top: 46px;
        flex-direction: column;
        align-items: flex-start;
    }

    .ea-footer-bottom p:last-child {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .ea-footer-logo {
        width: 172px;
        max-width: 172px;
    }
}