/* --- Reset Básico e Configurações Globais --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f7f6;
    color: #333;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 0 20px;
}

/* --- Estilo do Cabeçalho e Navegação --- */
header {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 4px solid #3498db;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

nav {
    background: #34495e;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

nav.nav-hidden {
    transform: translateY(-100%);
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links-main {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: #3498db;
    color: #ffffff;
}

.hamburger-menu { display: none; cursor: pointer; background: none; border: none; }
.hamburger-menu span { display: block; width: 25px; height: 3px; background-color: #ecf0f1; margin: 5px 0; transition: all 0.3s ease; }
.nav-links-dropdown { display: none; }

/* --- Estilos para o Banner do WhatsApp (Fixo) --- */
.whatsapp-banner {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 25px 0;
    position: sticky;
    top: 74px; 
    z-index: 999;
    text-align: center;
}
.whatsapp-banner h2 { color: #ffffff; border-bottom: none; margin-bottom: 10px; font-size: 1.5rem; padding-bottom: 0;}
.whatsapp-banner p { font-size: 1rem; margin-bottom: 15px; }
.whatsapp-button { display: inline-block; background-color: #ffffff; color: #128C7E; padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 1rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.whatsapp-button:hover { transform: scale(1.05); }

/* --- Estilo dos Painéis e Seções de Conteúdo --- */
.controls-panel,
.content-section {
    background: #ffffff;
    margin: 25px 0;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* --- Estilo dos Cards de Post --- */
.post-card { border-bottom: 1px solid #eaeaea; padding-bottom: 20px; margin-bottom: 20px; }
.post-card:last-child { border-bottom: none; margin-bottom: 0; }
.post-card .post-image, .post-card .post-content img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 15px; display: block; }
.post-card .post-title { font-size: 1.8rem; margin-bottom: 10px; }
.post-card .post-meta { font-size: 0.9rem; color: #777; margin-bottom: 15px; }
.post-card .post-content { font-size: 1rem; color: #555; }

/* --- Estilo do Rodapé --- */
footer {
    text-align: center;
    padding: 2rem 0;
    background: #2c3e50;
    color: #ecf0f1;
    margin-top: 30px;
}

/* --- REGRAS PARA DESIGN RESPONSIVO (MÓVEL) --- */
@media (max-width: 768px) {
    .nav-links-main { display: none; }
    .hamburger-menu { display: block; }
    .nav-links-dropdown { display: none; position: absolute; top: 100%; right: 20px; background-color: #34495e; border-radius: 8px; padding: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
    .nav-links-dropdown.open { display: block; }
    .nav-links-dropdown ul { list-style: none; flex-direction: column; gap: 10px; padding: 0; display: block; }

    .whatsapp-banner { top: 60px; }
    
    .container { padding: 0 10px; }
}