/* ===== FOOTER HORTOPREV - DESIGN MODERNO ===== */

/* Utilitários para acessibilidade */
.visually-hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer principal */
#footer {
    background: linear-gradient(135deg, #111111 0%, #222222 50%, #444444 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Conteúdo do footer */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

/* Informações da instituição */
.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.3;
    position: relative;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

/* Informações de contato */
.contact-info {
    margin-top: 2rem;
}

.contact-info address {
    font-style: normal;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.contact-info p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 6px;
    height: 6px;
    background: #fbbf24;
    border-radius: 50%;
}

.contact-info strong {
    color: #fbbf24;
    font-weight: 600;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #fbbf24;
}

/* Links do footer */
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fbbf24;
    position: relative;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

.footer-section a {
    display: block;
    color: #e2e8f0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    color: #fbbf24;
    padding-left: 1.5rem;
}

.footer-section a:hover::before {
    opacity: 1;
}

/* Redes sociais */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: #fbbf24;
    color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.social-links a i {
    font-size: 1.1rem;
}

/* Acessibilidade */
.footer-accessibility {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-accessibility p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Parte inferior do footer */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fbbf24;
}

/* VLibras Widget */
.enabled {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Aviso para JavaScript desabilitado */
.noscript-warning {
    background: #fbbf24;
    color: #1e3a8a;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-info h3 {
        font-size: 1.3rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .footer-content {
        padding: 1.5rem 0;
    }

    .footer-info h3 {
        font-size: 1.2rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content>* {
    animation: fadeInUp 0.6s ease-out;
}

.footer-content>*:nth-child(2) {
    animation-delay: 0.1s;
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}