/* Estilos para o Rodapé gov.br */

.main-footer {
    background-color: #003366; /* Azul escuro do gov.br */
    color: #fff; /* Texto branco */
    padding: 60px 0 0 0; /* Removed bottom padding */
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 63px;
}

.main-footer a {
    color: #fff;
    text-decoration: none;
}

.main-footer a:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-govbr-logo {
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.govbr-logo-footer {
    width: 150px;
    height: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    flex: 1; /* Ocupa o espaço restante */
    justify-content: space-between;
}

.footer-column {
    flex: 0 0 48%; /* Duas colunas em mobile */
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #a0d0ff; /* Azul claro para títulos */
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-social {
    flex: 0 0 100%; /* Ocupa a largura total em mobile */
    text-align: center;
}

.footer-social h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #a0d0ff;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    font-size: 24px;
    color: #fff;
}

.access-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #004080; /* Azul um pouco mais claro */
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 250px;
    margin: 0 auto;
}

.access-info i {
    font-size: 20px;
}

.footer-bottom-bar {
    background-color: #002040; /* Azul mais escuro */
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
    margin-top: 20px; /* Added margin for spacing */
}

.footer-bottom-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-bottom-bar p {
    margin: 0;
    flex: 0 0 100%; /* Ocupa a largura total em mobile */
    margin-bottom: 10px;
}

.footer-bottom-bar .govbr-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsividade para Desktop */
@media (min-width: 768px) {
    .footer-govbr-logo {
        flex: 0 0 150px; /* Largura fixa para o logo */
        text-align: left;
        margin-bottom: 0;
    }

    .footer-links {
        flex: 1; /* Ocupa o espaço restante */
        justify-content: space-around;
    }

    .footer-column {
        flex: 0 0 23%; /* Quatro colunas */
    }

    .footer-social {
        flex: 0 0 200px; /* Largura fixa para social */
        text-align: right;
    }

    .social-icons {
        justify-content: flex-end;
    }

    .access-info {
        margin: 0;
        margin-left: auto; /* Alinha à direita */
    }

    .footer-bottom-bar p {
        flex: none;
        margin-bottom: 0;
    }

    .footer-bottom-bar .container {
        justify-content: space-between;
    }
}
