/**
 * EA Design Studio — Master Cyber Footer (Outside Elementor)
 * High-performance, zero-bloat, cyber-dark aesthetics.
 */

.ead-footer {
    background-color: #030707;
    position: relative;
    overflow: hidden;
    padding-top: 96px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #FFFFFF;
}

/* Ambient Radial Lighting Bottom */
.ead-footer-glow {
    position: absolute;
    bottom: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 235, 0.16) 0%, rgba(0, 255, 235, 0.03) 45%, transparent 70%);
    border-radius: 100%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 1;
}

.ead-footer-top-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 235, 0.25) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Container Constraint: 1240px */
.ead-footer-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

/* Grid Layout */
.ead-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

@media (max-width: 991px) {
    .ead-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 50px;
    }
    .ead-footer-col-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .ead-footer {
        padding-top: 60px;
        padding-bottom: 30px;
    }
    .ead-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ead-footer-col-brand {
        grid-column: span 1;
    }
}

/* Column 1: Brand */
.ead-footer-logo-link {
    display: inline-block;
    margin-bottom: 24px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ead-footer-logo-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.ead-footer-logo {
    height: 52px;
    width: auto;
    max-width: 210px;
    display: block;
    object-fit: contain;
}

.ead-footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 360px;
    margin: 0 0 32px 0;
}

/* Social Buttons */
.ead-footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ead-footer-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.ead-footer-social-btn:hover {
    color: #00FFEB;
    border-color: rgba(0, 255, 235, 0.45);
    background: rgba(0, 255, 235, 0.08);
    box-shadow: 0 0 20px rgba(0, 255, 235, 0.35);
    transform: translateY(-2px);
}

.ead-social-icon {
    width: 17px;
    height: 17px;
    transition: transform 0.25s ease;
}

.ead-footer-social-btn:hover .ead-social-icon {
    transform: scale(1.1);
}

/* Column Titles */
.ead-footer-col-title {
    font-family: 'Space Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 26px 0;
}

/* Navigation Links */
.ead-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ead-footer-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease, padding-left 0.25s ease;
    width: fit-content;
}

.ead-footer-link:hover {
    color: #00FFEB;
    padding-left: 6px;
    text-shadow: 0 0 10px rgba(0, 255, 235, 0.5);
}

/* Column 3: Sede & Atuação */
.ead-footer-info {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 28px 0;
}

.ead-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1.5px solid #00FFEB;
    color: #00FFEB;
    background: transparent;
    padding: 13px 24px;
    border-radius: 0px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(0, 255, 235, 0.2), inset 0 0 10px rgba(0, 255, 235, 0.05);
    box-sizing: border-box;
    cursor: pointer;
}

.ead-footer-btn:hover {
    background: #00FFEB;
    color: #030707;
    border-color: #00FFEB;
    box-shadow: 0 0 30px rgba(0, 255, 235, 0.65), 0 0 10px rgba(0, 255, 235, 0.3);
    transform: translateY(-2px);
}

.ead-footer-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.ead-footer-btn:hover svg {
    transform: scale(1.1);
}

/* Bottom Bar */
.ead-footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    box-sizing: border-box;
}

.ead-footer-copy {
    display: inline-block;
}

.ead-footer-brand-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: inherit;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.ead-footer-brand-link:hover {
    color: #00FFEB;
    text-shadow: 0 0 10px rgba(0, 255, 235, 0.5);
}

.ead-footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ead-footer-legal-link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ead-footer-legal-link:hover {
    color: #00FFEB;
}

.ead-footer-legal-divider {
    color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 860px) {
    .ead-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =========================================================
   RESPONSIVIDADE: CENTRALIZAÇÃO TOTAL NO MOBILE
   ========================================================= */
@media (max-width: 768px) {
    .ead-footer {
        padding-top: 60px !important;
        padding-bottom: 35px !important;
        text-align: center !important;
    }
    .ead-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        margin-bottom: 45px !important;
        text-align: center !important;
    }
    .ead-footer-col,
    .ead-footer-col-brand,
    .ead-footer-col-nav,
    .ead-footer-col-location {
        grid-column: span 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .ead-footer-logo-link {
        margin: 0 auto 20px auto !important;
        display: inline-flex !important;
        justify-content: center !important;
    }
    .ead-footer-logo {
        margin: 0 auto !important;
    }
    .ead-footer-desc {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .ead-footer-socials {
        justify-content: center !important;
        margin: 0 auto !important;
    }
    .ead-footer-col-title {
        text-align: center !important;
        width: 100% !important;
    }
    .ead-footer-links {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .ead-footer-link {
        justify-content: center !important;
        width: auto !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    .ead-footer-link:hover {
        padding-left: 0 !important;
    }
    .ead-footer-info {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .ead-footer-btn {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .ead-footer-bottom {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .ead-footer-legal {
        justify-content: center !important;
    }
}
