/* ========================================
   FOOTER GLOBAL - ESTILO QUE CUIDA
   Simples, limpo, Next.js ready
   ======================================== */

/* Footer Container */
.global-footer {
    background: var(--color-text-primary, #1a202c);
    color: white;
    padding: 5rem 1rem 2rem;
    margin-top: 6rem;
}

.footer-container {
    max-width: 1536px;
    margin: 0 auto;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 4rem;
    }
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 320px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.25s ease;
}

@media (hover: hover) {
    .footer-social a:hover {
        background: var(--color-accent);
        transform: translateY(-2px);
    }
}

.footer-social a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

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

/* Footer Columns */
.footer-column h4 {
    font-size: 0.875rem; /* Aumentado de 0.75rem */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: white !important; /* Branco puro forçado para contraste em fundo escuro */
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

@media (hover: hover) {
    .footer-column a:hover {
        color: white;
    }
}

.footer-column a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Product Icons */
.footer-product-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-product-icon.contare { background: #ff6b35; }
.footer-product-icon.essentia { background: #00b386; }
.footer-product-icon.raiza { background: #8ba888; }
.footer-product-icon.flexa { background: #e07a5f; }

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

@media (hover: hover) {
    .footer-legal a:hover {
        color: white;
    }
}

.footer-legal a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
