
/* VARIÁVEIS BASE */
:root {
    --azul: #5E7C88;
    --azul-escuro: #112f37;
    --grafite: #2E2E2E;
    --bege: #EFEDE8;
    --offwhite: #FAFAFA;
    --cinza-texto: #555555;
    
    --font-titulo: 'Cambay', sans-serif;
    --font-texto: 'Cambay', sans-serif;
}

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-texto);
    background-color: var(--offwhite);
    color: var(--grafite);
    /* Espaço para o header fixo não cobrir o conteúdo */
    padding-top: 120px; 
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===============================
CABEÇALHO (Fornecido pelo usuário)
=============================== */
header {
    background-color: var(--azul-escuro);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px 10px;
    width: 100%;
    top: 0;
    position: fixed;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
    object-fit: contain;
}

.menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.menu a {
    text-decoration: none;
    font-weight: 400;
    font-size: 0.90rem;
    letter-spacing: 2px;
    color: var(--azul-escuro);
    transition: color 0.3s;
}

.menu a:hover {
    color: var(--azul);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--grafite);
    cursor: pointer;
    background: none;
    border: none;
}

/* ===============================
ÁREA DO ARTIGO (POST)
=============================== */
.post-container {
    max-width: 1000px; /* Mais estreito para facilitar a leitura */
    margin: 40px auto 80px;
    padding: 0 24px;
    background-color: var(--offwhite);
}

.post-header {
    margin-bottom: 30px;
    text-align: center;
}

.post-category {
    color: var(--azul);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.post-title {
    font-family: var(--font-titulo);
    font-size: 2.5rem;
    color: var(--azul-escuro);
    line-height: 1.2;
    margin-bottom: 15px;
}

.post-meta {
    color: #888;
    font-size: 0.9rem;
}

.post-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

.post-content {
    font-size: 1.1rem;
    color: var(--grafite);
    line-height: 1.8;
    text-align: left;
}

.post-content h2 {
    font-family: var(--font-titulo);
    font-size: 1.8rem;
    color: var(--azul-escuro);
    margin: 40px 0 20px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.voltar-blog {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 10px 15px;
    background-color: var(--bege);
    color: var(--azul-escuro);
    border-radius: 4px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
    transition: background-color 0.3s ease, transform 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

/* ===============================
RODAPÉ (Fornecido pelo usuário)
=============================== */
footer {
    background-color: var(--azul-escuro);
    color: var(--offwhite);
    padding: 60px 0 0px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: overflow;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: left; /* Centraliza tudo no mobile */
}

.footer-col {
    max-width: 320px;
    margin: 0 auto; /* Centraliza a coluna */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o conteúdo interno flex */
}

.footer-col h4 {
    color: var(--offwhite);
    margin-bottom: 20px;
    font-family: var(--font-texto);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.footer-col p, .footer-col ul {
    font-size: 0.9rem;
    color: var(--offwhite);
    line-height: 1.8;
}

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

.footer-col ul li {
    display: flex;
    align-items: center;
    justify-content: center; /* Ícones alinhados com o texto no mobile */
    gap: 8px;
}

.footer-col a {
    color: var(--offwhite);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--azul);
}

.footer-logo {
    display: block;
    height: auto;
    max-width: 200px;
    margin-bottom: 16px;
    margin-top: -30px;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center; /* Centraliza ícones sociais no mobile */
}

.social-links a {
    font-size: 1.5rem;
    color: var(--offwhite);
}

.social-links a:hover {
    color: var(--azul);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.9rem;
    color: var(--offwhite);
    background-color: var(--azul);
}

/* ===============================
MEDIA QUERIES (Responsividade)
=============================== */
@media (max-width: 900px) {
    /* Ajustes Header Mobile */
    .hamburger {
        display: block;
    }
    
    .menu {
        position: absolute;
        top: 100px; /* Abaixo do header */
        left: -100%;
        flex-direction: column;
        background-color: var(--offwhite);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        padding: 20px 0;
        gap: 20px;
    }

    .menu.active {
        left: 0;
    }

    /* Ajustes Post Mobile */
    .post-title {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    /* Ajustes Footer Desktop */
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        text-align: left; /* Volta o texto para a esquerda no PC */
    }

    .footer-col {
        align-items: flex-start; /* Alinha os itens à esquerda */
        margin: 0;
    }

    .footer-col ul li {
        justify-content: flex-start; /* Alinha os ícones à esquerda */
    }

    .social-links {
        justify-content: flex-start;
    }

    .center-col {
        text-align: center;
        align-items: center; /* Mantém o logo centralizado no meio */
    }
    .center-col p { text-align: center; }
}