/* --- Reset Básico --- */
.footer-responsivo * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.footer-responsivo {
    background-color: #25528C;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    padding-top: 50px;
    font-size: 14px;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TOPO --- */
.footer-header {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-header p{
    font-size:medium;
}

.footer-header img {
    width: 130px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.footer-header h2 {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    color:white;
}
.footer-line {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 40px;
}

/* --- GRID DE LINKS --- */
.footer-links-grid {
    display: grid;
    /* Responsividade automática */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-col h3 {
    font-size: 1rem;
    text-transform: uppercase;
    color: #8dc6ff;
    border-bottom: 1px solid #8dc6ff;
    padding-bottom: 8px;
    margin-bottom: 15px;
    display: inline-block;
    font-weight: 700;
}

/* --- CONTEÚDO PADRONIZADO (LINKS E TEXTOS) --- */
/* Aqui garantimos que Links e Textos (P) sejam idênticos */
.footer-col ul li a,
.footer-col .text-content p {
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.95rem; /* Tamanho padrão para tudo */
    line-height: 1.6;   /* Espaçamento igual */
    display: block;
}

/* Espaçamento específico para listas */
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }

/* Espaçamento específico para parágrafos de texto */
.footer-col .text-content p { margin-bottom: 6px; }

/* Efeito Hover apenas nos links */
.footer-col ul li a:hover,
.footer-col .text-content a:hover {
    color: #fff;
    text-decoration: underline;
    padding-left: 3px;
}

/* Links dentro do texto (ex: email) */
.footer-col .text-content a {
    color: #fff; /* Destaque para o email */
    display: inline-block;
}

/* Negrito padronizado */
.footer-col strong {
    color: #fff;
    font-weight: 700;
}

/* --- MÍDIAS SOCIAIS --- */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.social-icons a {
    display: inline-block;
    transition: transform 0.2s;
}
.social-icons a:hover {
    transform: scale(1.15);
}
.social-icons img {
    width: 32px;
    height: auto;
}

/* --- MAPA --- */
.footer-map { margin-bottom: 40px; }
.footer-map h3 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #8dc6ff;
    font-weight: 700;
}
.footer-map iframe {
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    background: #fff;
}

/* --- RODAPÉ TÉCNICO --- */
.footer-bottom {
    background-color: #1a3b66;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.tech-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #b0cbe8;
    font-size: 0.85rem;
    max-width: 48%;
}
.tech-item img { height: 35px; width: auto; }
.tech-item a { color: #fff; text-decoration: none; font-weight: bold; }
.copyright-row {
    text-align: center;
    color: #8faecf;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}

/* --- RESPONSIVIDADE (CELULAR) --- */
@media (max-width: 768px) {
    .footer-links-grid {
        text-align: center;
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-col h3 {
        width: 100%;
        border-bottom: 1px solid rgba(141, 198, 255, 0.3);
    }
    .social-icons { justify-content: center; }
    .tech-container { flex-direction: column; text-align: center; }
    .tech-item { flex-direction: column; max-width: 100%; }
    
    /* Área de toque maior no celular */
    .footer-col ul li a, .footer-col .text-content p {
        padding: 6px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .footer-col ul li a:hover {
        padding-left: 0;
        background-color: rgba(255,255,255,0.1);
    }
}