/* RESET PADRÃO */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #fff; color: #333; overflow-x: hidden; }

/* LIMITADOR DE LARGURA */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 1. LINHA DO PIX */
.header-top { 
    background: #fff; 
    padding: 10px 0; 
    text-align: right; 
}
.pix-info { font-size: 13px; color: #000; }

/* 2. LINHA PRINCIPAL (FLEXBOX) */
.header-main { 
    background: #fff; 
    padding: 15px 0; 
    border-top: 1px solid #f0f0f0;
}
.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tamanho da Logo conforme objetivo */
.site-logo img {
    height: 60px; /* Ajuste se precisar de mais altura */
    width: auto;
    display: block;
}

/* Menu horizontal e fino */
.site-nav { display: flex; gap: 15px; }
.site-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 13px;
    transition: 0.3s;
}
.site-nav a.active { color: #D96C17; border-bottom: 2px solid #D96C17; }
.site-nav a:hover { color: #D96C17; }

/* Busca compacta com ícone */
.site-search form {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 2px 8px;
}
.site-search input {
    border: none;
    padding: 6px;
    outline: none;
    width: 150px;
    font-size: 13px;
}
.site-search button {
    border: none;
    background: transparent;
    color: #D96C17;
    cursor: pointer;
}

/* 3. FAIXA AZUL MARINHO */
.header-bar-blue {
    background: #102a43; /* Azul escuro da imagem */
    color: #fff;
    padding: 12px 0;
}
.flex-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-bar-blue p {
    font-style: italic;
    font-size: 13px;
    margin: 0;
}
.social-fb {
    background: #3b5998;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
}

/* GRID DE POSTS (Para manter a home organizada) */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.post-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.post-card img { width: 100%; height: 160px; object-fit: cover; }
.post-card h3 { padding: 15px; font-size: 12px; font-weight: bold; text-transform: uppercase; }

/* FOOTER PROTEGIDO */
#footer {
    background: #111;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
    clear: both;
    margin-top: 50px;
}