.rodape {
    background: var(--bg-secundario) !important;
    border-top: 1px solid var(--borda);
    padding: 4rem 0 3rem;
    margin-top: 4rem;
    font-size: 0.88rem;
    width: 100%;
    color: var(--texto-secundario);
}

body.tema-claro .rodape {
    background: rgba(250, 248, 252, 0.7) !important;
}

body.tema-escuro .rodape {
    background: rgba(10, 7, 20, 0.7) !important;
}

.grid-rodape {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media(min-width:768px) {
    .grid-rodape {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
        align-items: start;
        justify-content: space-between;
        gap: 2rem;
    }
}

.coluna-rodape {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media(min-width:768px) {
    .coluna-rodape {
        align-items: flex-start;
        margin: 0;
    }
}

.titulo-rodape {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
    color: var(--texto);
}

.rodape p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.rodape a {
    color: var(--texto);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rodape a:hover {
    color: var(--cor-secundaria);
}

.lista-redes {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

@media(min-width:768px) {
    .lista-redes {
        justify-content: flex-start;
    }
}

.icone-rede {
    width: 28px;
    height: 28px;
    display: inline-block;
    object-fit: contain;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
    opacity: 0.75;
}

.icone-rede:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 1;
}

body.tema-claro .icone-rede {
    filter: invert(1) brightness(0.2);
}

body.tema-escuro .icone-rede {
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.1));
}

.rodape .container {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    width: 100%;
}

@media(min-width:768px) {
    .rodape .container {
        align-items: stretch;
    }
}

.rodape .copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    border-top: 1px solid var(--borda);
    padding-top: 1.5rem;
    text-align: center;
    width: 100%;
    color: var(--texto-secundario);
}
