/* =====================================================
   MAZE SYSTEMS - FOOTER STYLES v2.0
   Fully responsive footer component
   ===================================================== */

.footer {
    background: transparent;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 1px solid rgba(255, 138, 61, 0.15);
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 138, 61, 0.5), 
        transparent
    );
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

/* =====================================================
   TOP SECTION - Brand + Links
   ===================================================== */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-logo .logo-img {
    height: 28px;
    width: auto;
}

.footer-tagline {
    color: #F6EFE7;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.5;
    max-width: 220px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social .social-link {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #6b5f54);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social .social-link svg {
    width: 16px;
    height: 16px;
}

.footer-social .social-link:hover {
    color: var(--primary, #FF8A3D);
    background: rgba(255, 138, 61, 0.1);
    transform: translateY(-2px);
}

/* Links Section */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary, #FF8A3D);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary, #FF8A3D), transparent);
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.6rem;
}

.footer-column a {
    color: var(--text-dim, #9a8a7a);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--primary, #FF8A3D);
    transform: translateX(4px);
}

/* =====================================================
   DISCLAIMER SECTION
   ===================================================== */
.footer-disclaimer {
    background: rgba(255, 138, 61, 0.03);
    border: 1px solid rgba(255, 138, 61, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.footer-disclaimer p {
    color: var(--text-dim, #9a8a7a);
    font-size: 0.8rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

.footer-disclaimer a {
    color: var(--primary, #FF8A3D);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-disclaimer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* =====================================================
   BOTTOM BAR
   ===================================================== */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 138, 61, 0.1);
}

.footer-bottom p {
    color: var(--text-dim, #9a8a7a);
    font-size: 0.85rem;
    margin: 0;
}

/* =====================================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ===================================================== */
@media (max-width: 1024px) {
    .footer-container {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =====================================================
   RESPONSIVE - MOBILE LARGE (max-width: 768px)
   ===================================================== */
@media (max-width: 768px) {
    .footer-container {
        padding: 2.5rem 1.25rem 1.25rem;
    }

    .footer-top {
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Coluna Legal ocupa largura total */
    .footer-links .footer-column:last-child {
        grid-column: 1 / -1;
    }

    .footer-disclaimer {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .footer-disclaimer p {
        font-size: 0.75rem;
    }
}

/* =====================================================
   RESPONSIVE - MOBILE SMALL (max-width: 480px)
   ===================================================== */
@media (max-width: 480px) {
    .footer-container {
        padding: 2rem 1rem 1rem;
    }

    .footer-logo .logo-img {
        height: 26px;
    }

    .footer-tagline {
        font-size: 0.75rem;
    }

    .footer-social .social-link {
        width: 30px;
        height: 30px;
    }

    .footer-social .social-link svg {
        width: 15px;
        height: 15px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-column h4 {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .footer-column a {
        font-size: 0.85rem;
    }

    .footer-disclaimer {
        padding: 1rem;
    }

    .footer-disclaimer p {
        font-size: 0.7rem;
        line-height: 1.6;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* =====================================================
   RESPONSIVE - VERY SMALL (max-width: 360px)
   ===================================================== */
@media (max-width: 360px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-links .footer-column:last-child {
        grid-column: auto;
    }

    .footer-social .social-link {
        width: 28px;
        height: 28px;
    }

    .footer-social .social-link svg {
        width: 14px;
        height: 14px;
    }
}
