/* Footer Governamental - Estilo ICEPI */

/* Footer Fullwidth */
.main-footer,
.site-footer {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.main-footer {
    background: #071d41;
    color: #f8f9fa;
}

.footer-top {
    background: #0c2d5e;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

/* Footer de 3 Colunas */
.footer-content-three-cols {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: 40px;
    align-items: center;
}

/* Coluna Esquerda - Logo */
.footer-col-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-col-left img {
    max-height: 100px;
    width: auto;
}

/* Coluna Central - Texto */
.footer-col-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-col-center p {
    font-size: 0.95rem;
    color: #d4d4d4;
    line-height: 1.8;
    max-width: 500px;
}

/* Coluna Direita - Contatos */
.footer-col-right {
    text-align: left;
}

.footer-col-right h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: left;
}

.footer-col-right p {
    font-size: 0.95rem;
    color: #d4d4d4;
    margin: 8px 0;
    line-height: 1.6;
    text-align: left;
    word-break: break-word;
}

.footer-col-right a {
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col-right a:hover {
    color: white;
}

/* Redes Sociais */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.footer-social-icons a {
    color: #d4d4d4;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.footer-social-icons a:hover {
    color: white;
    transform: scale(1.1);
}

/* Footer Simplificado */
.footer-content-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-main-logo {
    max-height: 80px;
    width: auto;
}

.footer-subtitle {
    font-size: 1.1rem;
    color: #d4d4d4;
    margin-top: 10px;
}

.footer-contact-info {
    margin-top: 20px;
}

.footer-contact-info p {
    font-size: 0.95rem;
    color: #d4d4d4;
    margin: 8px 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s;
    opacity: 0.8;
}

.footer-social a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-extra {
    max-width: 600px;
    margin: 0 auto;
}

.footer-extra p {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #d4d4d4;
    margin: 8px 0;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    background: #071d41;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #95a5a6;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-main {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

.footer-logo-sub {
    font-size: 0.75rem;
    color: #95a5a6;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--azul-principal);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-top {
        padding: 30px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Footer 3 colunas -> 1 coluna no mobile */
    .footer-content-three-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col-left,
    .footer-col-center {
        text-align: center;
        justify-content: center;
    }
    
    /* Mantém contatos à esquerda mesmo no mobile */
    .footer-col-right {
        text-align: left;
    }
    
    .footer-col-right h4 {
        text-align: left;
    }
    
    .footer-social-icons {
        justify-content: flex-start;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logos {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Seção de Colaboradores */
.footer-collaborators {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-collaborators p {
    font-size: 0.9rem;
    line-height: 1.6;
}
