/* Paleta Sky Palette ORIGINAL */
:root {
    --cor-principal: #bccad6; /* Fundo */
    --cor-secundaria: #8d9db6; /* Texto */
    --cor-terciaria: #667292; /* Cabeçalho/rodapé */
    --cor-destaque: #f1e3dd; /* Destaques */
}

/* Scroll suave para toda a página */
html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    margin: 0;
    background-color: var(--cor-principal);
    color: var(--cor-secundaria);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--cor-terciaria);
    color: var(--cor-destaque);
    padding: 1rem 0 1.5rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: var(--cor-destaque);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

nav a:hover {
    text-decoration: underline;
}

/* Botões sociais */
.redes-sociais {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

.botao-social {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--cor-secundaria);
    color: var(--cor-destaque) !important;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.botao-social:hover {
    background-color: var(--cor-terciaria);
    transform: translateY(-2px);
}

.icone-social {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

main {
    flex: 1;
    padding-bottom: 80px; /* Espaço para o footer fixo */
}

/* Seções com fundo branco e bordas arredondadas */
.section {
    background-color: #fff;
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: var(--cor-terciaria);
    border-bottom: 2px solid var(--cor-secundaria);
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.section h3 {
    color: var(--cor-secundaria);
    font-size: 1.1rem;
    margin-top: -0.8rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    font-style: italic;
}

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

.section li {
    margin: 1rem 0;
}

.section a {
    color: var(--cor-terciaria);
    text-decoration: none;
    font-weight: bold;
}

.section a:hover {
    text-decoration: underline;
}

/* Estilos para conteúdo de posts e novidades */
.conteudo {
    background-color: #fff;
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.conteudo ul, 
.conteudo ol {
    padding-left: 1.5rem;
}

.conteudo a {
    color: var(--cor-terciaria);
}

.conteudo h2 {
    color: var(--cor-terciaria);
    margin-top: 2rem;
}

/* Footer inteligente que aparece/desaparece */
footer {
    background-color: var(--cor-terciaria);
    color: var(--cor-destaque);
    text-align: center;
    padding: 1.5rem 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
    z-index: 1000;
}

footer.hide {
    transform: translateY(100%);
}

/* Responsividade */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .redes-sociais {
        flex-direction: column;
        align-items: center;
    }

    .section, .conteudo {
        margin: 1rem;
        padding: 1rem;
    }

    footer {
        position: static;
    }
}