/* Definições Gerais e Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Use uma fonte serifada elegante para simular o estilo do livro */
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: var(--color-light-text);
    background: white
}
.div-hero-home{
     margin-top: 6.5rem;
     padding: 1rem;
    background: linear-gradient(135deg, #1e1e1e 0%, #2b2b2b 100%);
}
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Variáveis de Cores Atualizadas para Paleta do Livro */
:root {
    /* Cores Inspiradas no livro "VOLTEI PRA MIM" */
    --color-primary: #9B7C40;
    /* Marrom Dourado para Destaque/Tags */
    --color-dark-bg: #3D3934;
    /* Marrom Escuro para a Área de Destaque */
    --color-dark-text: #F8F6F0;
    /* Creme Suave para o texto na área escura */
    --color-light-bg: #F8F6F0;
    /* Creme Suave para o fundo principal */
    --color-light-text: #4B4640;
    /* Marrom Escuro para o texto na área clara */
    --color-meta-dark: #C6C1B4;
    /* Off-White Suave para meta na área escura */
    --color-meta-light: #7A756F;
    /* Marrom Acinzentado para meta na área clara */
    --color-quote-bg: #EAE5DB;
    /* Fundo de citação (um creme ligeiramente mais escuro) */
}

/* Layout Geral - Containers */

.container-dark,
.container-light {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------------------------------------------- */
/* CABEÇALHO ESCURO (Agora Marrom Escuro) */
/* ---------------------------------------------------- */

/* Barra Superior */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    /* border-bottom: 1px solid #5C5853; */
    /* Borda um pouco mais clara que o fundo */
    font-size: 0.8rem;
}


.a-img img {
    width: 16px;
    height: 16px;
}

.sobre-nos-botao-v2 img {
    width: 16px;
    height: 16px;
     margin-left: 5px;
     margin-right: 5px;
}

.a-img {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 5px;
}

.social-icons, .social-icons-menu img {
    width: 20px;
    height: 20px;
}
.social-icons-menu{
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center !important;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;

}

.search-icon {
    display: flex;
    align-items: center;
}

.search-icon span {
    margin-right: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-icon img {
    width: 16px;
    height: 16px;
    filter: invert(0.9);
}


/* Navegação Principal */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    flex-grow: 1;
    text-align: center;
    color: var(--color-primary);
    padding-left: 2rem;
    font-family: sans-serif;
 
}

/* ---------------------------------------------------- */
/* Estilos para a Seção Sobre Nós */
/* ---------------------------------------------------- */


/* Estilos para a Seção Sobre Nós - Versão 2 (Profissional com Animações) */

.sobre-nos-container-v2 {
    width: 100%;
    background: #E4E5E5;
    color: #000000;
    padding: 60px 0;
    padding-top: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Limita a largura do conteúdo principal dentro do container */
.sobre-nos-container-v2 > * {
    max-width: 1100px;
    padding: 0 30px;
}

.sobre-nos-conteudo-v2 {
    flex: 1;
    max-width: 600px;
}

.sobre-nos-titulo-v2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    color:var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sobre-nos-texto-v2 {
    font-size: 1.2em;
    /* CORREÇÃO CHAVE: Altura de linha ajustada para melhor espaçamento e legibilidade */
    line-height: 1.7; 
    margin-bottom: 40px;
    text-align: justify;
    color: #000000;
}

/* Estilo do Botão Aprimorado */
.sobre-nos-botao-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:var(--color-primary);
    color: #2b2b2b;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);

}

.sobre-nos-botao-v2:hover {
    background-color: rgba(254, 194, 16, 0.6);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
}


.sobre-nos-elemento-visual-v2 {
    flex: 0 1 500px; 
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    padding: 20px; 
}

.book-cover-3d-v2 {
    width: 100%; 
    height: auto;
    border-radius: 8px; 
    will-change: transform, box-shadow;

    /* Propriedades para o efeito de pêndulo */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Transição suave para o hover */
    transform-origin: top center; /* Define o ponto de pivô no topo central, como um pêndulo */
}

.book-cover-3d-v2:hover {
    transform: rotateZ(3deg); /* Balança ligeiramente para a direita */
 
}


.book-cover-3d-v2 {
    animation: pendulum-swing 3s ease-in-out infinite alternate;
}

@keyframes pendulum-swing {
    0% {
        transform: rotateZ(-2deg);
    }
    100% {
        transform: rotateZ(2deg);
    }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Open+Sans:wght@400;500&display=swap');

.sobre-nos-texto-v2 {
    font-family: 'Playfair Display', serif; /* fonte principal elegante */
    font-size: 1.2em;
    line-height: 1.8;
    color: #2b2b2b;
    letter-spacing: 0.3px; /* leve espaçamento entre letras */
    text-align: justify;
    margin-bottom: 1.5em;
}

.sobre-nos-texto-v2 strong {
    font-family: 'Open Sans', sans-serif; /* contraste leve no destaque */
    color: #1a1a1a;
    font-weight: 600;
}

 
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade para telas menores */
@media (max-width: 992px) {
    .sobre-nos-container-v2 {
        flex-direction: column;
        text-align: center;

        padding: 40px 20px; 
        gap: 30px;
    }

    .sobre-nos-conteudo-v2, .sobre-nos-elemento-visual-v2 {
        max-width: 100%;
    }

    .sobre-nos-elemento-visual-v2 {
        order: -1;
        /* Ajuste: Removido margin-bottom e padding extras */
        margin-bottom: 0; 
        padding: 0;
    }

    .sobre-nos-titulo-v2 {
        font-size: 2.5em;
    }
    
    .sobre-nos-texto-v2 {
        font-size: 1.1em;
    }

    .sobre-nos-botao-v2 {
        width: auto;
        padding: 12px 25px;
    }

    .book-cover-3d-v2 {
        transform: none; 
        /* Ajuste: Tamanho da capa um pouco menor para economizar espaço vertical */
        max-width: 500px; 
        margin: 0 auto;
        filter: none;
        border-radius: 8px;
    }
    
    .book-cover-3d-v2:hover {
        transform: scale(1.05); 
    }
}

@media (max-width: 576px) {
    .sobre-nos-titulo-v2 {
        font-size: 2em;
    }
    .sobre-nos-texto-v2 {
        font-size: 1em;
    }
    /* Para telas muito pequenas, pode-se reduzir ainda mais o padding */
    .sobre-nos-container-v2 {
        padding: 30px 15px;
        gap: 20px;
    }
}


/* Estilos para o CTA do Ebook na Home */

.cta-ebook-banner {
    background-color: #2a2a2a; /* Fundo escuro para contraste */
    padding: 60px 20px;
    text-align: center;
    border-top: 5px solid #d4af37; /* Linha de destaque */
}

.container-ebook-cta {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Permite quebrar em telas menores */
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    color: #fff;
}

.ebook-info {
    max-width: 550px;
    text-align: left;
}

.ebook-pre-title {
    color: #d4af37;
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}
.destaque-title {
    color: #d4af37;
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    justify-content: center;
    display: flex;
    padding: .7rem; 
}

.ebook-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.ebook-description {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #ccc;
}

.ebook-mockup img {
    max-width: 280px; /* Tamanho do mockup do ebook */
    height: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); /* Sombra para dar profundidade */
}

/* Botão Principal do Ebook (Reutilizando estilos do seu botão primário) */
.sobre-nos-botao-v2,.btn-primary-ebook {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:var(--color-primary);
    color: #2b2b2b;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);

}

.sobre-nos-botao-v2:hover,.btn-primary-ebook:hover {
    background-color: rgba(254, 194, 16, 0.6);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
}

 
/* Estilos para a Seção de Ícones de Confiança */
.trust-badges {
    background-color: #f7f7f7; /* Fundo claro para contraste */
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.container-trust {
    max-width: 1000px;
    margin: 0 auto;
}

.trust-badges p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
    font-weight: 500;
}

.icons-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap; /* Para quebrar em telas menores */
    gap: 20px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px; /* Garante que os itens não fiquem muito pequenos */
}

.trust-item img {
    width: 50px !important; /* Tamanho dos ícones */
    height: 50px !important;
    margin-bottom: 8px;
}

.trust-item span {
    font-size: 0.9em;
    color: #333;
    font-weight: 600;
}

/* Responsividade básica */
@media (max-width: 600px) {
    .icons-row {
        justify-content: center;
    }
    .trust-item {
        margin: 10px;
    }
}

/* Responsividade (Para dispositivos móveis) */
@media (max-width: 768px) {
    .container-ebook-cta {
        flex-direction: column-reverse; /* Mockup abaixo, info acima */
        text-align: center;
    }

    .ebook-info {
        text-align: center;
    }
    
    .ebook-title {
        font-size: 1.8em;
    }
}

/* ---------------------------------------------------- */
/* SEÇÃO PRINCIPAL ESCURA (Destaques) */
/* ---------------------------------------------------- */
.featured-dark {
    background: linear-gradient(135deg, #1e1e1e 0%, #2b2b2b 100%);
    padding-bottom: 4rem;
   padding-top: 2rem;

}
.featured-grid a {
    overflow: hidden !important;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    overflow: hidden;
}
.featured-grid article {
    border: 1px solid rgba(128, 128, 128, 0.855);
    border-radius: 5px;
    overflow: hidden;
}
.featured-grid article:hover {
    border: 1px solid gray;
}
/* Post Destaque Principal */
.featured-main-post {
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-dark-bg);
    position: relative;
    padding: 30px;
    display: flex;
    align-items: flex-end;
    color: var(--color-dark-text);
    overflow: hidden;
}

/* Overlay Escuro mais suave */
.featured-main-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.featured-main-post .post-content {
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
}

.featured-main-post h2 {
    font-size: 2rem;
    margin: 10px 0;
    line-height: 1.2;
}

.category-tag {
    background-color: var(--color-primary);
    /* Tag com a cor dourada */
    color: var(--color-dark-bg);
    /* Texto da tag com a cor de fundo escuro */
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
    font-family: sans-serif;
}

.post-meta {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-meta-dark);
}

.post-meta img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 8px;
}

.post-meta .author {
    font-weight: bold;
    margin-right: 15px;
    color: var(--color-dark-text);
    /* Nome do autor mais claro */
}

/* Posts da Sidebar (Direita) */
.featured-sidebar-posts {
    display: flex;

    flex-direction: column;
    gap: 20px;
}

.featured-sidebar-post {
    flex: 1;
    min-height: 215px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-dark-bg);
    position: relative;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    color: var(--color-dark-text);
    overflow: hidden;
}

/* Overlay Escuro para Posts da Sidebar */
.featured-sidebar-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.featured-sidebar-post .post-content {
    position: relative;
    z-index: 2;
}

.featured-sidebar-post h3 {
    font-size: 1.1rem;
    margin: 5px 0;
    line-height: 1.3;
}

.post-meta-sidebar {
    font-size: 0.75rem;
    color: var(--color-meta-dark);
}

/* --- Overlay Básico para Destaques e Posts --- */

/* Posicionamento do Post Card para o overlay */
.featured-main-post,
.featured-sidebar-post,
.post-card-standard {
    border-radius: 5px;
    position: relative; /* Essencial para que o overlay e o conteúdo se posicionem corretamente */
    overflow: hidden; /* Garante que nada saia do card */
}

/* Estilo do Overlay (a camada escura) */
.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cor e Opacidade do Escurecimento */
    background-color: rgba(0, 0, 0, 0.4); /* Preto com 40% de opacidade */
    z-index: 1; /* Fica acima da imagem de fundo */
    transition: background-color 0.3s ease;
    overflow: hidden;
}

/* Efeito Hover: Tira um pouco o escurecimento ao passar o mouse */
.featured-main-post .post-overlay,
.featured-sidebar-post .post-overlay,
.post-card-standard {
    background-color: rgba(0, 0, 0, 0.173); /* Fica mais claro, revelando mais a imagem */
}

/* Posicionamento do Conteúdo (título, meta, etc.) */
.post-content,
.post-info {
    position: relative;
    z-index: 2; /* Fica acima do overlay */
    /* Garante que o texto tenha espaço interno e não encoste nas bordas */
    padding: 20px; 
    /* Outros estilos de fonte/cor para garantir legibilidade */
    color: white; 
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); 
}

/* Estilo específico para os posts de baixo (highlight-posts) */
.highlight-posts .post-card-standard .post-info {
    /* Alinha o conteúdo na parte de baixo do card */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    height: 100%;
}
/* ---------------------------------------------------- */
/* SEÇÃO DE POSTS EM DESTAQUE CLARA (Agora Creme Suave) */
/* ---------------------------------------------------- */
.highlight-posts {
    background-color: var(--color-light-bg);
    padding: 60px 0;
    color: var(--color-light-text);
}
 
.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.post-card {
    border: none;
    /* Removendo a borda padrão para manter a limpeza */
    background-color: var(--color-light-bg);
    padding: 20px 0;
    position: relative;
}

.comentarios {
    display: none;
    margin-top: 1rem;
}

.post-info {
    padding: 15px;
    cursor: pointer;
}
.post-info h3 {
    color: #575757;
}
.post-card .date {
    display: block;
    font-size: 0.75rem;
    color: var(--color-meta-light);
    margin-bottom: 5px;
}

.post-card h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
}


.post-card .excerpt {
    font-size: 0.9rem;
    color: var(--color-meta-light);
    margin-top: 10px;
}


/* Post Card Imagem (Post 1) */
.post-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}


/* Post Card Citação (Post 2) */
.post-card-quote {
    background-color: var(--color-quote-bg);
    /* Fundo de citação creme */
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
    padding: 20px 10px;
    position: relative;
    height: 390px;
    /* define altura fixa — ajuste conforme o design */
    overflow: hidden;
    /* evita que o conteúdo transborde */
}


.envie-comentario {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 6px 12px;
    font-size: 0.9rem;
    background: transparent;
    color: #616162;
    /* cor de link */
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    /* muda cursor para indicar clicável */
    transition: all 0.2s ease;
    text-decoration: none;
    /* sem sublinhado padrão */
}

/* efeito ao passar o mouse */
.envie-comentario:hover {
    color: #0056b3;
    /* muda cor */
    text-decoration: underline;
    /* adiciona sublinhado */
}

.quote-symbol {
    font-family: serif;
    font-size: 4rem;
    color: var(--color-primary);
    /* O símbolo de citação com a cor dourada */
    line-height: 0.5;
    margin-bottom: 20px;
}

.quote-text {

    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 15px;
    color: rgb(115, 115, 115) !important;
}

.quote-text-titulo {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 15px;
        color: rgb(115, 115, 115) !important;
    font-weight: 700;
}

.quote-author {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-meta-light);
    border: 1px solid gray;
}


/* Post Card Padrão com Imagem no Topo (Posts 3 e 4) */
.post-card-standard {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    color: var(--color-dark-text);
    /* Texto claro sobre a imagem escura */
    position: relative;
}

/* Overlay para Post Card Padrão */
.post-card-standard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.post-card-standard .post-info {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: left;
}

.post-card-standard .date {
    color: var(--color-meta-dark);
}

.post-card-standard h3 {
    font-size: 1.2rem;
    color: var(--color-dark-text);
}
.li-area-vip {display: flex; align-items: center; }
.li-area-vip img{ width: 25px; cursor: pointer; margin-left: 1rem;}
.li-area-vip span{ color: var(--color-primary);display: flex; align-items: center;}



.post-card-standard .excerpt {
    color: var(--color-meta-dark);
}
/* --- Estilos para o Gradiente de Fundo na Parte Inferior do Hero --- */

.gradient-overlay-bottom {
    position: absolute;
    bottom: 0; /* Anexa à parte inferior */
    left: 0;
    width: 100%;
    height: 50%; /* Altura do gradiente (ex: 50% da altura da seção) */
    background: linear-gradient(to top, 
                                rgba(0, 0, 0, 0.7) 0%, /* Começa bem escuro na parte inferior */
                                rgba(0, 0, 0, 0.3) 50%, /* Diminui a opacidade no meio */
                                transparent 100%); /* Transparente no topo */
    z-index: 1; /* Garante que fique acima da imagem de fundo e do hero-overlay, mas abaixo do texto */
    border-radius: 50px;
}

/* Garante que o conteúdo de texto do Hero fique acima de TODOS os overlays */
/* Já deve existir, mas reforçando: */
.hero-content-home-principal {
    position: relative;
    z-index: 2; /* Essencial para o texto aparecer */
}

/* ---------------------------------------------------- */
/* Media Queries para Responsividade */
/* ---------------------------------------------------- */
/* --- ESTILOS DO HERO HEADER PRINCIPAL (PARA TODAS AS TELAS) --- */

.hero-home-principal {
    border-radius: 50px;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center 30%; 
    position: relative;
    padding: 150px 20px 80px; 
    color: #fff;
    text-align: center;
}

/* Garante o overlay escuro para contraste */
.hero-home-principal .hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content-home-principal {
    position: relative;
    z-index: 2;
}

/* Estilos de Texto */
.hero-content-home-principal .tituloDestaque {
    font-size: 1em;
    margin-bottom: 5px;
}
.tituloDestaque span {
    background-color: var(--color-primary);
    padding: .5rem;
}
.hero-content-home-principal .page-title-home-principal {
    font-size: 3em; /* Tamanho grande para desktop */
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.hero-content-home-principal .page-subtitle-home-principal {
    font-size: 1.2em;
    color: #ccc;
    max-width: 780px;
    margin: 0 auto;
}

/* Ajustes Mobile (se necessário, diminua o tamanho da fonte aqui) */
@media (max-width: 768px) {
    .hero-home-principal {
        padding: 80px 20px 60px; /* Reduz o padding vertical no mobile */
    }
    .hero-home-principal .page-title-home-principal {
        font-size: 2.2em; /* Reduz para o tamanho mobile */
    }
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 576px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        flex-direction: column;
    }

    .search-icon {
        padding-top: 10px;
    }

/* --- Estilos para o Overlay de Legibilidade --- */

/* 1. Prepara os posts para conterem o overlay */
.featured-main-post,
.featured-sidebar-post {
    position: relative; /* Define a base para o posicionamento do overlay */
    border: 1px solid rgba(245, 222, 179, 0.352);
    overflow: hidden;
}

/* 2. Garante que o conteúdo de texto fique acima do overlay */
.featured-main-post .post-content,
.featured-sidebar-post .post-content {
    position: relative;
    z-index: 2; 
    overflow: hidden;
}

/* 3. Estilo Padrão do Overlay (Transparente em Desktop/Padrão) */
.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Inicialmente transparente */
    z-index: 1;
    overflow: hidden;
}

/* 4. MEDIA QUERY: Aplica o fundo escuro APENAS no Mobile */
@media (max-width: 768px) {
    
    .post-overlay {
        /* Fundo semi-transparente (preto com 40% de opacidade) */
        background-color: rgba(0, 0, 0, 0.4); 
    }
}
    
}

/* --- Estilos para o Hero Header Mobile (Home) --- */

.hero-home-mobile {
    /* Escondido por padrão em desktop */
    display: none; 
    
    /* Estilo de fundo (você pode mudar a imagem se desejar) */
     background-color: var();
    background-size: cover;
    background-position: center 30%; 
    position: relative;
    padding: 100px 20px 80px; 
    color: #fff;
    text-align: center;
}

/* Garante o overlay escuro */
.hero-home-mobile .hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

/* Conteúdo deve ficar acima do overlay */
.hero-content-home-mobile {
    position: relative;
    z-index: 2;
}

/* Estilos de Texto */
.hero-content-home-mobile .tituloDestaque {
    color: #d4af37; /* Cor de destaque */
    font-size: 0.9em;
    margin-bottom: 5px;
}

.hero-content-home-mobile .page-title-home {
    font-size: 2.2em; /* Tamanho do título para mobile */
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.hero-content-home-mobile .page-subtitle-home {
    font-size: 1.1em;
    color: #ccc;
    max-width: 80%;
    margin: 0 auto;
}

/* --- Estilos para o Overlay de Legibilidade dos Posts (Ajustes Gerais) --- */

/* 1. Prepara os posts para conterem o overlay */
.featured-main-post,
.featured-sidebar-post {
    position: relative; 
}

/* 2. Garante que o conteúdo de texto fique acima do overlay */
.featured-main-post .post-content,
.featured-sidebar-post .post-content {
    position: relative;
    z-index: 2; 
}

/* 3. Estilo Padrão do Overlay (Transparente em Desktop/Padrão) */
.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Inicialmente transparente */
    z-index: 1;
}

/* 4. MEDIA QUERY: ATIVAÇÕES APENAS PARA MOBILE */
@media (max-width: 768px) {
    
    /* Ativa o Hero Header Mobile */
    .hero-home-mobile {
        display: block; 
    }

    /* Ativa o fundo escuro nos posts de destaque */
    .post-overlay {
        background-color: rgba(0, 0, 0, 0.4); 
    }
}