/* CONFIGURAÇÕES GERAIS E RESETS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-green: #15322D;
    --light-bg: #F9F8F4;
    --gold: #C2A87C;
    --gold-hover: #a88134;
    --text-dark: #2c3e35;
    --white: #ffffff;
    --bg-dark:#1F3A2D;
    --bege:#EFE4DA;
    --verde-claro: #A6B1A6;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    font-size:18px;
}

h1, h2, h3, .logo-title {
    font-family: 'Marcellus', serif;
    font-weight: normal;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* NAVBAR FLUTUANTE */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent; /* Começa totalmente transparente */
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease; /* Transição suave */
}
.navbar.scrolled {
    background-color: #1F3A2D; /* Fundo preto sólido */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Adiciona a sombra apenas ao rolar */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.logo-title {
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.nav-menu a {
    color: var(--white);
    margin: 0 15px;
    font-weight: 300;
}
.nav-menu a:hover {
    color: var(--gold);
}

.btn-nav {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 16px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-nav:hover {
    background-color: var(--gold);
    color: var(--dark-green);
}

/* HERO SECTION */
.hero-section {
    background: 
    linear-gradient(to bottom right, rgba(31, 58, 45, 0.3), rgba(31, 58, 45, 0.2)),
                url('fundoThati.webp') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 100px; /* Para não sumir atrás do menu fixo */
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.titulo {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.dourado {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold);
}

.italico {
    font-style: italic; 
}

.hero-content h1 span {
    color: var(--gold);
    font-style: italic;
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--dark-green);
    padding: 15px 30px;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
}

.hero-badge {
    margin-top: 40px;
    border-left: 2px solid var(--gold);
    padding-left: 15px;
    font-size: 0.85rem;
    max-width: 450px;
}

/* SECTION AUXILIARES */
.section-subtitle {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #666;
}

.gold-text { color: var(--gold); }

.link-arrow {
    color: var(--gold);
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

/* MINHA HISTÓRIA */
.history-section {
    background-color: var(--white);
}

/* --- Proporção da Seção Sobre (40% / 60%) --- */
.history-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Espaçamento entre a foto e o texto */
    padding: 60px 0;
}

/* Define que a área da foto vai ocupar exatamente 40% da largura */
.history-image {
    flex: 0 0 40%; 
    max-width: 40%;
}

/* Define que a área do texto vai ocupar exatamente 60% (subtraindo o gap) */
.history-content {
    flex: 0 0 60%;
    max-width: 60%;
}

/* Garante que a imagem preencha todo o espaço dos 40% com qualidade */
.history-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Deixa as bordas arredondadas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Dá um efeito sutil de sombra */
}

/* --- Responsividade para Celular (Garante que não esmague em telas pequenas) --- */

.history-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.history-content p {
    margin-bottom: 15px;
    text-align: justify;
}

/* MEU COMPROMISSO */
.commitment-section {
    background-color: var(--dark-green);
    color: var(--white);
}

.commitment-grid {
    display: flex;
    gap: 50px;
}

.commitment-left, .commitment-right {
    flex: 1;
}

.commitment-left h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.feature-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item span { color: var(--gold); }

.commitment-right p {
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 1.1rem;
}

/* ATUAÇÃO / SERVIÇOS */
.section-title-center {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 30px 20px;
    border: 1px solid #e2e2e2;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.service-card h3 {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.service-card p {
    font-size: 0.85rem;
    font-weight: 300;
}

/* BLOG / REFLEXÕES */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* LIVRO */
.book-section {
    background-color: #f0ede6;
}

.book-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.badge-em-breve {
    background-color: var(--gold);
    color: var(--dark-green);
    padding: 4px 10px;
    font-weight: bold;
}

.book-content h2 {
    font-size: 2.5rem;
    margin: 15px 0;
}

.book-content p {
    margin-bottom: 30px;
    max-width: 500px;
}

/* CTA FINAL */
.cta-final-section {
    background: linear-gradient(rgba(11, 34, 20, 0.8), rgba(11, 34, 20, 0.85)), 
                url('https://limaeamaral.adv.br/thatianelima/paisagem.webp') no-repeat center center/cover;
    text-align: center;
    color: var(--white);
}

.cta-final-section h2 {
    font-size: 2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* FOOTER */
.main-footer {
    background-color: var(--dark-green);
    color: var(--white);
    font-size: 0.85rem;
    border-top: 1px solid rgba(196, 154, 69, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .logo-title { font-size: 1.2rem; }
.footer-brand p { margin-top: 15px; font-weight: 300; }

.footer-grid h3 {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-nav a {
    display: block;
    margin-bottom: 10px;
    font-weight: 300;
}

.footer-contact p {
    margin-bottom: 10px;
    font-weight: 300;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    color: #aaa;
}

/* ==========================================================================
   CONFIGURAÇÃO GLOBAL DE SEÇÕES (ESPAÇAMENTO E ROLAGEM)
   ========================================================================== */

/* 1. Aplica o espaçamento em todas as seções principais do site */
section {
    display: block;
    clear: both;
    
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    
    /* Previne que o menu fixo (navbar) cubra o título ao clicar nos links */
    scroll-margin-top: 120px; 
}

/* 2. Reseta o topo especificamente para a seção inicial não ficar muito afastada do menu */
#inicio.hero-section, 
#inicio.hero {
    padding-top: 100px !important; 
    scroll-margin-top: 0;
}

html {
    scroll-behavior: smooth; /* Deixa a rolagem suave ao clicar nos links */
}
html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

/* --- PALETA DE CORES E CONTAINER PADRÃO --- */
:root {
    --verde-agro: #00381F;
    --dourado: #b5935b;
    --dourado-light: #d4bc8d;
    --texto-escuro: #333;
}

/* Container genérico do site necessário para alinhar o conteúdo do rodapé */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ESTILOS DO FOOTER --- */
.main-footer {
    background-color: #1F3A2D; 
    color: #ffffff;
    padding: 60px 0;
    font-family: 'Montserrat', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: start;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 50%; /* Move para o centro */
    transform: translateX(-50%); /* Ajusta o eixo exato da barrinha */
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--dourado);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #b0b8c4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--dourado);
}

.center-col {
    text-align: center;
    /*border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1); */
    padding: 0 30px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

.footer-subtext {
    color: #b0b8c4;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social-icons a {
    background-color: var(--dourado);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-social-icons a:hover {
    transform: translateY(-3px);
}

.contact-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-block a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: color 0.3s;
}

.contact-block a:hover {
    color: var(--dourado-light);
}

.icon-circle {
    background-color: var(--dourado);
    width: 45px;
    height: 45px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle i {
    color: white;
    font-size: 1.2rem;
    line-height: 1;
}

.contact-col p {
    color: #b0b8c4;
    font-size: 0.85rem;
}

/* --- WHATSAPP FIXO --- */
.whatsapp-fixo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-fixo img {
    width: 60px;
    height: 60px; 
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.whatsapp-fixo img:hover {
    transform: scale(1.1);
}

/* --- RESPONSIVIDADE (MEDIA QUERIES) --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .center-col {
        border: none;
        padding: 0;
        text-align: left;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-col {
        text-align: center !important;
    }
    
    .footer-col:empty {
        display: none !important;
    }

    .center-col {
        border: none !important;
        padding: 0 !important;
        margin: 0 auto 40px auto !important;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .footer-col h3 {
        text-align: center !important;
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }

    .footer-col h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50% !important;
        transform: translateX(-50%) !important; /* Centraliza a linha dourada decorativa */
        width: 50px;
        height: 2px;
        background-color: var(--dourado);
    }

    .footer-col ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .footer-col ul li {
        width: 100% !important;
        text-align: center !important;
    }

    .footer-col ul li a {
        display: inline-block !important;
        text-align: center !important;
    }

    /* 4. Centraliza a área da Logo e redes sociais */
    .footer-logo img {
        max-width: 150px !important;
        margin: 0 auto 15px auto !important;
        display: block !important;
    }

    .footer-social-icons {
        justify-content: center !important;
    }

    /* 5. Alinhamento Elegante do Bloco de Contatos */
    .footer-col.contact-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .contact-block {
        display: flex !important;
        flex-direction: row !important; /* Mantém o ícone ao lado do texto */
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 280px !important; /* Trava uma largura harmoniosa e centralizada na tela */
        gap: 15px !important;
        margin-bottom: 0 !important;
    }

    .contact-block div,
    .contact-block span {
        text-align: left !important;
    }
}

/* RESPONSIVIDADE (MOBILE-FIRST ADAPTATIONS) */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Em um cenário real, você pode implementar um menu sanduíche aqui */
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .history-container {
        flex-direction: column; /* No celular, a foto fica em cima e o texto embaixo */
        text-align: center;
    }
    
    .history-image, 
    .history-content {
        flex: 0 0 100%;
        max-width: 100%; /* No celular, ambos usam a largura total da tela */
    }

    .history-image img {
        max-width: 350px; /* Evita que a foto fique gigante na tela do celular */
        margin: 0 auto 20px auto; /* Centraliza a imagem */
    }

    .blog-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-badge {
        margin: 30px auto 0 auto;
    }
}

/* ==========================================================================
   SEÇÃO 1: COMO POSSO AJUDAR (SERVIÇOS)
   ========================================================================== */
.services-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.section-title-center {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--text-dark);
    margin-bottom: 10px;
}

.title-divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 0 auto 50px auto;
}

/* Grid configurado para 6 colunas no desktop */
.services-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.service-card-clean {
    background: transparent;
    padding: 20px 10px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05); /* Borda bem sutil como na imagem */
    transition: transform 0.3s;
}

.service-card-clean:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.service-icon {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-card-clean h3 {
    font-size: 0.85rem;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card-clean p {
    font-size: 18px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
}

/* ==========================================================================
   SEÇÃO 2: BLOG / CONHECIMENTO
   ========================================================================== */
.blog-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.blog-layout {
    display: flex;
    gap: 50px;
}

/* Coluna Esquerda (Textos e Botão) */
.blog-intro {
    flex: 1;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(196, 154, 69, 0.3); /* Linha divisória sutil */
    padding-right: 40px;
}

.blog-subtitle {
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: block;
    color: #A3AFA8;
}

.blog-intro h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color:var(--gold); /* Dourado */
}

.blog-intro p {
    color: #d1dbd5;
    margin-bottom: 35px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--accent-gold);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

/* Coluna Direita (Cards) */
.blog-cards {
    flex: 2.5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%; 
    position: relative; /* ESSENCIAL: Segura a camada clicável dentro do card */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 4px; /* Opcional: Arredonda os cantos */
}
.blog-card:hover {
    transform: translateY(-5px); /* Levanta o card levemente */
}
.read-more::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10; /* Cria uma camada invisível por cima de tudo no card */
}
/* ==========================================================================
   CARDS DA BIBLIOTECA RAÍZES TOTALMENTE CLICÁVEIS
   ========================================================================== */

/* 1. Garante que o card seja a base (âncora) para a camada invisível */
.artigo-card-v {
    position: relative; 
}

/* 2. Cria a camada transparente a partir do link que cobre o card inteiro */
.ler-artigo-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.blog-image {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    height: 200px; /* Você pode ajustar esta altura (ex: 180px, 220px) se preferir */
    overflow: hidden; /* Impede que a imagem vaze do tamanho definido */
    border-radius: 4px; /* (Opcional) Deixa as bordas levemente arredondadas */
}

.blog-image img {
    width: 100% !important;
    height: 100% !important; /* O !important aqui é crucial para anular a regra global */
    object-fit: cover !important; /* Corta a imagem simetricamente sem distorcer/amassar */
    display: block;
    filter: brightness(0.85);
    transition: transform 0.4s ease;
}
/* (Opcional) Efeito de zoom suave ao passar o mouse */
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-image .tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    color: var(--text-dark);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 12px;
    letter-spacing: 1px;
    font-family: var(--font-sans);
}

.blog-content h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #EBEAE3;
}

.read-more {
    color: var(--gold) !important; /* Força o uso do dourado padrão */
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease, color 0.3s ease;
    margin-top: auto; /* Mantém o botão alinhado sempre no fundo do card */
}

.read-more:hover {
    color: var(--white) !important; /* Fica branco ao passar o mouse para dar destaque */
    opacity: 1; /* Remove o efeito apagado caso exista */
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Tablets em modo paisagem / Telas menores */
@media (max-width: 1200px) {
    .services-grid-6 {
        grid-template-columns: repeat(3, 1fr); /* Reduz para 3 colunas de serviços */
    }
}

/* Tablets em modo retrato e celulares grandes */
@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column;
    }
    
    .blog-intro {
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(196, 154, 69, 0.3);
        padding-right: 0;
        padding-bottom: 40px;
        margin-bottom: 20px;
    }

    .blog-intro h2 {
        font-size: 2.2rem;
    }

    .blog-cards {
        grid-template-columns: repeat(2, 1fr); /* Reduz os cards de blog para 2 colunas */
    }
}

/* Dispositivos móveis e smartphones */
@media (max-width: 768px) {
    .services-grid-6 {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas para serviços */
    }

    .blog-cards {
        grid-template-columns: 1fr; /* Cards de blog empilhados (1 coluna) */
    }
}

@media (max-width: 480px) {
    .services-grid-6 {
        grid-template-columns: 1fr; /* 1 coluna para serviços em telas muito pequenas */
    }
}

/* ==========================================================================
   SEÇÃO CONTATO (FORMULÁRIO)
   ========================================================================== */
.contact-section {
    background: var(--bg-dark);
    padding: 100px 0;
    color: var(--white);
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    justify-content: flex-start; /* Alinha o form à esquerda ou onde preferir */
}

.contact-form-wrapper {
    background: transparent;
    max-width: 500px;
    width: 100%;
}

.contact-form-wrapper h2 {
    font-family: 'Marcellus', serif;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: left;
    color: var(--white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espaço entre os campos */
}

/* Estilo dos Inputs e Textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px; /* Cantos levemente arredondados */
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--white);
    outline: none;
    transition: box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 2px var(--gold); /* Destaque dourado ao clicar */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
    font-family: 'Montserrat', sans-serif;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Checkbox e Política de Privacidade */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px; /* Alinha o checkbox com o texto */
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--gold); /* Muda a cor nativa do checkbox marcado */
}

.checkbox-group label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: var(--white);
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--white);
    text-decoration: underline; /* Mantém o traço embaixo igual na foto */
    font-weight: 600;
}

.checkbox-group label a:hover {
    color: var(--gold);
}

/* Botão Enviar (Pílula) */
.btn-gold-pill {
    background-color: var(--gold);
    color: var(--dark-green);
    border: none;
    padding: 14px 32px;
    border-radius: 50px; /* Borda bem arredondada formato pílula */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start; /* Alinha o botão do lado esquerdo do form */
}

.btn-gold-pill:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 0 20px;
    }
    
    .contact-form-wrapper h2 {
        font-size: 1.8rem;
    }
    
    .btn-gold-pill {
        width: 100%; /* Botão ocupa a tela toda no celular */
        text-align: center;
    }
}

/* ==========================================================================
   LAYOUT DAS DUAS COLUNAS (FORMULÁRIO + FAQ)
   ========================================================================== */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px; /* Espaço entre o formulário e o FAQ */
}

/* O formulário e o FAQ dividem o espaço por igual */
.contact-form-wrapper,
.contact-faq-wrapper {
    flex: 1;
    width: 100%;
}

/* ==========================================================================
   ESTILIZAÇÃO DO FAQ
   ========================================================================== */
.faq-title {
    font-family: 'Marcellus', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: normal;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 0;
}

.faq-item summary {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    list-style: none; /* Remove a setinha padrão do navegador */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

/* Remove a setinha padrão em navegadores WebKit (Chrome/Safari) */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Adiciona um ícone de + customizado */
.faq-item summary::after {
    content: '+';
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

/* Quando o FAQ estiver aberto, troca o ícone para um 'X' ou gira */
.faq-item[open] summary::after {
    transform: rotate(45deg); /* Transforma o + num x */
    color: var(--white);
}

.faq-item[open] summary {
    color: var(--gold); /* Destaca a pergunta quando aberta */
}

.faq-item p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #EBEAE3;
    margin-top: 15px;
    padding-right: 20px;
    animation: fadeIn 0.4s ease; /* Animação suave ao abrir */
}

/* Animação para a resposta aparecendo */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column; /* No celular, o FAQ vai para baixo do formulário */
        gap: 50px;
    }

    .contact-faq-wrapper {
        margin-top: 20px;
    }
}

/* ==========================================================================
   NOVOS ELEMENTOS DA NAVBAR
   ========================================================================== */
.logo img {
    /*max-height: 70px;*/
    width: auto;
    display: block;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

/* ==========================================================================
   HERO SECTION - BIBLIOTECA RAÍZES
   ========================================================================== */
.hero-raizes {
    background: 
    linear-gradient(to bottom right, rgba(31, 58, 45, 0.5), rgba(31, 58, 45, 0.4)),
                url('fundoBiblioteca.webp') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 100px; /* Para não sumir atrás do menu fixo */
}

.hero-raizes-content {
    max-width: 700px;
}

.hero-subtitle-top {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 5px;
    display: block;
    font-weight: 300;
}

.hero-raizes h1 {
    font-size: 4.8rem;
    color: #E2ECD8;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 20px;
    font-weight: normal;
}

.hero-tagline {
    color: var(--gold);
    font-size: 1.15rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-raizes p {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 35px;
    line-height: 1.7;
    color: #eaf0eb;
    max-width: 600px;
}

.btn-green-dark {
    background-color: #1a3c34;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 36px;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-green-dark:hover {
    background-color: var(--gold);
    color: var(--dark-green);
    border-color: var(--gold);
}

/* ==========================================================================
   SEÇÃO: NOSSA MISSÃO & PILARES
   ========================================================================== */
.missao-section {
    background-color: var(--light-bg);
    border-bottom: 1px solid #e0ddd5;
    padding: 70px 0;
}

.missao-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 50px;
    align-items: center;
}

.missao-left {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border-right: 1px solid #dcd8ce;
    padding-right: 40px;
}

.missao-left-icon {
    font-size: 3rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 5px;
}

.missao-left-text h2 {
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.missao-left-text p {
    font-size: 0.95rem;
    color: #4a5d54;
    line-height: 1.7;
    text-align: justify;
}

.missao-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pilar-box {
    text-align: center;
    padding: 0 15px;
}

.pilar-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 2.2rem;
}

.pilar-box h3 {
    font-size: 1.1rem;
    color: var(--dark-green);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.pilar-box p {
    font-size: 0.88rem;
    color: #55665e;
    line-height: 1.6;
}

/* ==========================================================================
   SEÇÃO: NAVEGUE POR CATEGORIAS
   ========================================================================== */
.categorias-section {
    padding: 90px 0;
    background-color: var(--light-bg);
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-size: 2.4rem;
    color: var(--dark-green);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.divider-gold {
    width: 80px;
    height: 2px;
    background-color: var(--gold);
    margin: 0 auto;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.cat-card {
    background: var(--white);
    border: 1px solid #e6e4dc;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.cat-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: var(--gold);
}

.cat-image {
    height: 170px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-image img {
    transform: scale(1.08);
}

.cat-icon-badge {
    position: absolute;
    bottom: -24px;
    left: 25px;
    width: 48px;
    height: 48px;
    background-color: var(--dark-green);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.cat-content {
    padding: 35px 25px 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cat-content h3 {
    font-size: 1.25rem;
    color: var(--dark-green);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    font-weight: normal;
}

.cat-content p {
    font-size: 0.9rem;
    color: #55665e;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0ede6;
    padding-top: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-green);
    letter-spacing: 1px;
}

.cat-footer span.artigos-count {
    color: #88968e;
    font-weight: 400;
}

.cat-footer:hover {
    color: var(--gold);
}

/* ==========================================================================
   SEÇÃO: ÚLTIMOS ARTIGOS PUBLICADOS
   ========================================================================== */
.ultimos-section {
    padding: 60px 0 90px 0;
    background-color: var(--light-bg);
}

.ultimos-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: stretch;
}

.ultimos-cta-box {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 50px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.ultimos-cta-box::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(194, 168, 124, 0.15);
    border-radius: 50%;
}

.ultimos-cta-box h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 14px 28px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 2;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--dark-green);
}

.ultimos-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.artigo-card-h {
    background: var(--white);
    border: 1px solid #e6e4dc;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artigo-card-h:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.artigo-img {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.artigo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artigo-card-h:hover .artigo-img img {
    transform: scale(1.06);
}

.artigo-txt {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.artigo-txt h3 {
    font-size: 1.25rem;
    color: var(--dark-green);
    line-height: 1.4;
    margin-bottom: 12px;
}

.artigo-txt p {
    font-size: 0.88rem;
    color: #55665e;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ler-artigo-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-green);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.ler-artigo-link:hover {
    color: var(--gold);
}

/* ==========================================================================
   SEÇÃO: NEWSLETTER / RECEBA CONTEÚDOS EXCLUSIVOS
   ========================================================================== */
.newsletter-section {
    background-color: #edeae1;
    padding: 60px 0;
    border-top: 1px solid #dfdcd3;
    border-bottom: 1px solid #dfdcd3;
}

.newsletter-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1.2;
}

.news-icon {
    font-size: 3.2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.news-text h3 {
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.news-text p {
    font-size: 0.9rem;
    color: #55665e;
    line-height: 1.5;
}

.news-form {
    flex: 1;
    display: flex;
    gap: 10px;
}

.news-form input[type="email"] {
    flex-grow: 1;
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    background: var(--white);
    transition: border-color 0.3s;
}

.news-form input[type="email"]:focus {
    border-color: var(--dark-green);
}

.btn-news {
    background-color: var(--dark-green);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.btn-news:hover {
    background-color: var(--gold);
    color: var(--dark-green);
}

/* ==========================================================================
   NOVAS REGRAS DE RESPONSIVIDADE (ADICIONAR ÀS MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .missao-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .missao-left {
        border-right: none;
        border-bottom: 1px solid #dcd8ce;
        padding-right: 0;
        padding-bottom: 30px;
    }
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ultimos-grid {
        grid-template-columns: 1fr;
    }
    .ultimos-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    .news-left {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-raizes h1 {
        font-size: 3.2rem;
    }
    .missao-right {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .categorias-grid, .ultimos-cards-wrapper {
        grid-template-columns: 1fr;
    }
    .news-form {
        flex-direction: column;
        width: 100%;
    }
    .hero-raizes > img {
    height: 100% !important;
}
}
.texto-direita {
    margin-left: auto !important;
    margin-right: 30px !important;
}
/* Container da grade de artigos */
.ultimos-grid-3-colunas {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Cria exatamente 3 colunas de larguras iguais */
    gap: 30px; /* Espaço entre os cards */
    margin-top: 20px;
}

/* Estrutura do Card (agora vertical para caber bem em 3 colunas) */
.artigo-card-v {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Garante que todos os cards da linha tenham a mesma altura */
}

.artigo-card-v:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Imagem do Card */
.artigo-card-v .artigo-img {
    width: 100%;
    height: 200px; /* Altura fixa para manter o padrão visual */
    overflow: hidden;
}

.artigo-card-v .artigo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem preencher o espaço sem distorcer */
    transition: transform 0.5s ease;
}

.artigo-card-v:hover .artigo-img img {
    transform: scale(1.05);
}

/* Textos e Botão */
.artigo-card-v .artigo-txt {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; /* Empurra o link "LER ARTIGO" sempre para o final do card */
}

.artigo-card-v .artigo-txt h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #1a1a1a;
}

.artigo-card-v .artigo-txt p {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ler-artigo-link {
    font-weight: bold;
    text-decoration: none;
    color: #c5a47e; /* Cor dourada/padrão jurídico - ajuste conforme seu tema */
    display: inline-block;
    margin-top: auto;
}

/* --- RESPONSIVIDADE --- */

/* Para Tablets: exibe 2 por linha */
@media (max-width: 992px) {
    .ultimos-grid-3-colunas {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Para Celulares: exibe 1 por linha */
@media (max-width: 576px) {
    .ultimos-grid-3-colunas {
        grid-template-columns: 1fr;
    }
}

        .article-section {
            padding: 50px 0 80px 0; /* Espaço para a navbar fixa */
            background-color: #fcfcfc;
        }
        .article-container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .article-breadcrumb {
            margin-bottom: 30px;
        }
        .article-breadcrumb a {
            color: #777;
            text-decoration: none;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.9rem;
            transition: color 0.3s;
        }
        .article-breadcrumb a:hover {
            color: #d4af37; /* Dourado */
        }
        .article-header {
            margin-bottom: 40px;
            text-align: left;
        }
        .article-category {
            color: #d4af37; /* Dourado */
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            
            /* AS MUDANÇAS ESTÃO AQUI: */
            display: inline-block; /* Permite ficar na mesma linha dos outros itens */
            margin-bottom: 0;      /* Remove o empurrão para baixo */
        }
        .article-title {
            font-family: 'Marcellus', serif;
            font-size: 2.5rem;
            color: #1a2c24; /* Verde escuro do tema */
            line-height: 1.3;
            margin-bottom: 20px;
        }
        .article-meta {
            font-family: 'Montserrat', sans-serif;
            color: #666;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .article-featured-image {
            width: 100%;
            height: auto;
            border-radius: 8px;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        .article-content {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            line-height: 1.8;
            color: #333;
        }
        .article-content p {
            margin-bottom: 25px;
        }
        .article-content h2, .article-content h3 {
            font-family: 'Marcellus', serif;
            color: #1a2c24;
            margin: 40px 0 20px 0;
            line-height: 1.4;
        }
        .article-content ul {
            margin-bottom: 25px;
            padding-left: 20px;
        }
        .article-content li {
            margin-bottom: 10px;
        }
        .article-content blockquote {
            border-left: 4px solid #d4af37;
            padding: 20px;
            background-color: #f9f9f9;
            font-style: italic;
            margin: 30px 0;
            color: #555;
        }
        .article-cta {
            background-color: #1a2c24;
            color: white;
            padding: 40px;
            border-radius: 8px;
            text-align: center;
            margin-top: 60px;
        }
        .article-cta h3 {
            font-family: 'Marcellus', serif;
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #d4af37;
        }
        .article-cta p {
            margin-bottom: 30px;
            font-family: 'Montserrat', sans-serif;
        }
        .article-cta .btn-cta {
            background-color: #d4af37;
            color: #1a2c24;
            padding: 15px 30px;
            text-decoration: none;
            font-weight: bold;
            border-radius: 4px;
            display: inline-block;
            transition: all 0.3s ease;
        }
        .article-cta .btn-cta:hover {
            background-color: #fff;
        }

        /* Responsividade do artigo */
        @media (max-width: 768px) {
            .article-title {
                font-size: 2rem;
            }
            .article-section {
                padding-top: 120px;
            }
            .article-content {
                font-size: 1rem;
            }
        }
        .video-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Corta qualquer excesso do vídeo */
    display: flex;
    align-items: center;
    justify-content: center; }
.video-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Preenche toda a tela cortando as sobras proporcionalmente */
    z-index: 0; 
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  z-index: 1;
   font-family: 'Montserrat',sans-serif; }
.ftco-consultation, 
.hero-wrap,
.video-section {
    /* background-attachment: fixed !important;  <- COMENTADO OU REMOVIDO */  
    background-size: cover !important;    
    background-position: center center !important;    
    background-repeat: no-repeat !important;
}
.hero-wrap {
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden !important;
}
  .hero-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    opacity: .6;
    background: #000000 }
  .hero-wrap.hero-wrap-2 {
    height: 600px;
        height: 50vh;   }
    .hero-wrap.hero-wrap-2 .overlay {
      opacity: .6; }
    .hero-wrap.hero-wrap-2 .slider-text {
      height: 600px; }
.slider-text h1 {
  font-size: 48px;
  color: #fff;
  line-height: 1.2;
  font-weight: 700;
    font-family: 'Montserrat',sans-serif; }
  @media (max-width: 991.98px) {
    .slider-text h1 {
      font-size: 40px; } }
.slider-text .subheading {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Cardo", Arial, sans-serif;
  font-weight: 600; }
.slider-text p {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.8);
  color: #C7A55D; }
  .slider-text p strong {
    font-weight: 700; }
    .slider-text p strong a {
      color: #000000; }
.slider-text .btn-custom {
  font-size: 24px;
  font-weight: 500;
  color: #fff; }
.slider-text .breadcrumbs {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  z-index: 99; }
  .slider-text .breadcrumbs span {
    color: rgba(255, 255, 255, 0.5); }
    .slider-text .breadcrumbs span i {
      color: rgba(255, 255, 255, 0.3); }
    .slider-text .breadcrumbs span a {
      color: rgba(255, 255, 255, 0.7); }
      .slider-text .breadcrumbs span a:hover, .slider-text .breadcrumbs span a:focus {
        color: #C7A55D; }
        .slider-text .breadcrumbs span a:hover i, .slider-text .breadcrumbs span a:focus i {
          color: #C7A55D; }
.slider-text .bread {
  font-weight: 700 !important; }
.promo-text-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 50;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0 15px;
}
.promo-text {
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    max-width: 100%;
    width: 100%;
    padding: 10px 15px;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.promo-text.is-visible {
    opacity: 1;
    transform: scale(1); }
.promo-text .line {
    margin: 6px 0;
    font-family: 'Montserrat', serif; 
   }
.promo-text .large {
font-size: clamp(35px, 5.5vw, 50px) !important; /* Estava 50px no máximo, agora vai até 70px */
    
    letter-spacing: 1px;
     }
.promo-text .brand{
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: 2px; }
.promo-text .brand .small {
  display: block;
  font-size: clamp(22px, 1.2vw, 18px);
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 6px;
  opacity: 0.95; }
.promo-text .line:last-child {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 400;
  opacity: 0.95; }
@media (max-width:600px) {
  .promo-text { padding: 8px; }
  .promo-text .brand { font-size: 28px; }
  .promo-text .large { font-size: 18px; } 
.promo-text img.logo2 {
    max-width: 100%;
   height: auto;
    display: block; }
.promo-text .line:not(.large) {
    font-size: clamp(24px, 2.5vw, 32px) !important; /* Estava 24px no máximo, agora vai até 32px */
    font-weight: 400;
    opacity: 0.9;
    margin-top: 10px; }
}
    .text-container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #c7a55d; /* dourado elegante */
  font-family: 'Poppins', sans-serif;
  max-width: 900px;
  padding: 20px; }
  .fade {
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear; }
  @media screen and (prefers-reduced-motion: reduce) {
    .fade {
      -webkit-transition: none;
      -o-transition: none;
      transition: none; } }
  .fade:not(.show) {
    opacity: 0; }
  .collapse:not(.show) {
  display: none; }
/* Animação de fade-in suave */
.fade-text {
    color: #ffffff; 
  opacity: 0;
  animation: fadeIn 2s ease forwards; }
.fade-text.delay {
  animation-delay: 1.5s; }
.fade-text.delay2 {
  animation-delay: 3s; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
#ftco-loader {
  position: fixed;
  width: 96px;
  height: 96px;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
  box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .2s ease-out, visibility 0s linear .2s;
  -o-transition: opacity .2s ease-out, visibility 0s linear .2s;
  transition: opacity .2s ease-out, visibility 0s linear .2s;
  z-index: 1000; }
#ftco-loader.fullscreen {
  padding: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  background-color: #fff;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none; }
#ftco-loader.show {
  -webkit-transition: opacity .4s ease-out, visibility 0s linear 0s;
  -o-transition: opacity .4s ease-out, visibility 0s linear 0s;
  transition: opacity .4s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1; }
#ftco-loader .circular {
  -webkit-animation: loader-rotate 2s linear infinite;
  animation: loader-rotate 2s linear infinite;
  position: absolute;
  left: calc(50% - 24px);
  top: calc(50% - 24px);
  display: block;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg); }
#ftco-loader .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: loader-dash 1.5s ease-in-out infinite;
  animation: loader-dash 1.5s ease-in-out infinite;
  stroke-linecap: round; }
@-webkit-keyframes loader-rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
@keyframes loader-rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
@-webkit-keyframes loader-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0; }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px; }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -136px; } }
@keyframes loader-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0; }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px; }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -136px; } }
    /* ==========================================================================
   PAGINAÇÃO (BIBLIOTECA RAÍZES)
   ========================================================================== */
.paginacao-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap; /* Evita que quebre em telas de celular */
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--dark-green);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: transparent;
}

.page-link:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-link.atual {
    background-color: var(--dark-green);
    color: var(--white);
    border-color: var(--dark-green);
    cursor: default;
    pointer-events: none; /* Desativa hover no item atual */
}
/* ==========================================================================
   BREADCRUMBS (BIBLIOTECA RAÍZES)
   ========================================================================== */
.raizes-breadcrumb {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 25px; /* Espaçamento entre o breadcrumb e o subtítulo "BIBLIOTECA" */
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.raizes-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.raizes-breadcrumb a:hover {
    color: var(--gold);
}

.raizes-breadcrumb .separator {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: bold;
}

.raizes-breadcrumb .current {
    color: var(--gold);
    font-weight: 600;
}
/* ==========================================================================
   CORREÇÕES DE RESPONSIVIDADE (CELULARES)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* 1. Ajuste do Topo (Logo e Botão) */
    .nav-container {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        padding: 10px 0;
    }
    
    .nav-container .logo img {
        width: 200px !important; /* Reduz o logo para caber na tela */
        height: auto !important;
        margin: 0 auto;
    }
    
    .navbar .btn-gold {
        font-size: 0.8rem;
        padding: 10px 20px;
        text-align: center;
        width: 100%; /* Botão ocupa a largura no celular */
        max-width: 300px;
        margin: 0 auto;
    }

    /* 2. Ajuste da Seção "Livro" para empilhar */
    .book-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .book-container .history-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .book-container .history-image img {
        max-width: 280px; /* Tamanho amigável para o celular */
        margin: 0 auto;
    }

    .book-content {
        max-width: 100%;
        padding: 0 15px;
    }

    .book-content h2 {
        font-size: 2rem;
    }

    /* 3. Ajuste do Logo animado sobre o vídeo */
    .promo-text img.logo2 {
        max-width: 80vw !important; /* Nunca ultrapassa 80% da tela */
        height: auto !important;
    }

    /* 4. Espaçamentos gerais das seções para não ficar tanto espaço em branco */
    .container {
        padding: 40px 0; 
    }
    
    section {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

/* Ajuste extra para telas muito pequenas (Iphone SE, etc) */
@media (max-width: 380px) {
    .promo-text .large {
        font-size: 24px !important;
    }
    .titulo, .dourado {
        font-size: 1.8rem !important;
    }
}
/* ==========================================================================
   CORREÇÕES DE RESPONSIVIDADE (CELULARES)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* 1. Ajuste do Topo (Logo e Botão) */
    .nav-container {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        padding: 10px 0;
    }
    
    .nav-container .logo img {
        width: 200px !important; /* Reduz o logo para caber na tela */
        height: auto !important;
        margin: 0 auto;
    }
    
    .navbar .btn-gold {
        font-size: 0.8rem;
        padding: 10px 20px;
        text-align: center;
        width: 100%; /* Botão ocupa a largura no celular */
        max-width: 300px;
        margin: 0 auto;
    }

    /* 2. Ajuste da Seção "Livro" para empilhar */
    .book-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .book-container .history-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .book-container .history-image img {
        max-width: 280px; /* Tamanho amigável para o celular */
        margin: 0 auto;
    }

    .book-content {
        max-width: 100%;
        padding: 0 15px;
    }

    .book-content h2 {
        font-size: 2rem;
    }

    /* 3. Ajuste do Logo animado sobre o vídeo */
    .promo-text img.logo2 {
        max-width: 80vw !important; /* Nunca ultrapassa 80% da tela */
        height: auto !important;
    }

    /* 4. Espaçamentos gerais das seções para não ficar tanto espaço em branco */
    .container {
        padding: 40px 0; 
    }
    
    section {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

/* Ajuste extra para telas muito pequenas (Iphone SE, etc) */
@media (max-width: 380px) {
    .promo-text .large {
        font-size: 24px !important;
    }
    .titulo, .dourado {
        font-size: 1.8rem !important;
    }
}

img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
}
@media (max-width: 768px) {
    /* Transforma a grade "Meu Compromisso" em coluna */
    .commitment-grid {
        flex-direction: column !important;
        gap: 30px !important;
    }
}
@media (max-width: 768px) {
    .titulo, 
    .dourado, 
    .hero-content h1, 
    .section-title-center {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-raizes h1 {
        font-size: 2.5rem !important; /* Reduz o título da biblioteca raízes */
    }
}
@media (max-width: 768px) {
    .container {
        width: 100% !important;
        padding: 40px 15px !important; /* Dá um respiro de 15px nas laterais */
    }

    .book-container {
        flex-direction: column;
        text-align: center;
    }
}
/* ==========================================================================
   CORREÇÃO DO CABEÇALHO NO DESKTOP (NOTEBOOK)
   ========================================================================== */
@media (min-width: 769px) {
    /* Trava o tamanho da logo para não empurrar o menu */
    .nav-container .logo img {
        max-width: 260px !important; 
        height: auto !important;
    }
    
    /* Força os links do menu a ficarem na mesma linha */
    .nav-menu {
        display: flex;
        align-items: center;
        white-space: nowrap; /* Impede a quebra de linha nos textos */
    }
}
video {
    height: 100% !important;
    min-height: 100vh !important; /* Força o vídeo a cobrir toda a altura da tela */
    object-fit: cover !important; /* Preenche os espaços sem amassar a imagem */
}
.la-author-socials {
  display: flex !important;
  gap: 16px !important;
}
.la-author-socials a {
  color: #C7A55D !important;;
  text-decoration: none !important;
  transition: color 0.3s ease, transform 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
}
.la-author-socials a:hover {
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}
.la-author-socials svg {
  width: 20px !important;
  height: 20px !important;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/marcellus-v14-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}
@media (max-width: 768px) {
    /* Impede o desalinhamento da imagem central da promoção */
    .promo-text img.logo2 {
        max-width: 85vw !important;
        width: auto !important;
        height: auto !important;
        margin: 0 auto;
    }

    /* Reduz o tamanho da fonte dos textos animados no celular para não estourarem a tela */
    .promo-text .large {
        font-size: clamp(18px, 5vw, 28px) !important;
        line-height: 1.3 !important;
    }

    .promo-text .line:not(.large) {
        font-size: clamp(14px, 4vw, 20px) !important;
        line-height: 1.4 !important;
    }

    /* Centraliza o container e evita margens negativas */
    .container, .custom-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }
}

/* --- Estilização Geral da Seção H1 Visível --- */
.history-title-center {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center;
}

.history-title-center h1 {
    font-family: 'Marcellus', serif;
    font-size: 2.2rem;
    color: #1F3A2D;
    line-height: 1.3;
    margin: 20px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* --- Ajuste Responsivo para Dispositivos Móveis --- */
@media (max-width: 768px) {
    #h1 {
        padding-top: 20px !important;
        padding-bottom: 10px !important;
    }

    .history-title-center h1 {
        font-size: 1.6rem !important; /* Reduz proporcionalmente para não quebrar no celular */
        padding: 0 15px;
        text-align: center !important;
    }

    .history-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .history-image, 
    .history-content {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 768px) {
    /* Compensa a altura do menu empilhado para evitar sobreposição */
    .hero-raizes {
        padding-top: 220px !important; 
    }
}
/* ==========================================================================
   ALINHAMENTO PERFEITO DOS CARDS (BIBLIOTECA RAÍZES)
   ========================================================================== */

/* 1. Trava o tamanho do título para a data ficar sempre na mesma altura */
.artigo-card-v .artigo-txt h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limita o título a no máximo 3 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 85px é o cálculo exato para 3 linhas com o seu font-size de 1.25rem e line-height de 1.4 */
    min-height: 85px; 
}

/* 2. Estiliza a linha da Data (que não tinha CSS específico no seu arquivo) */
.artigo-data {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 15px;
}

/* 3. Colore o ícone de calendário de dourado para combinar com o tema */
.artigo-data svg {
    color: #c5a47e; 
}

/* 4. Trava o tamanho do resumo para não empurrar os elementos e ficar uniforme */
.artigo-card-v .artigo-txt p {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limita o resumo a no máximo 3 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
}
/* Nova estrutura das Áreas de Atuação */
.nova-secao-areas {
    padding: 5rem 1rem;
    position: relative;
    background-color: transparent; /* Use a cor de fundo que melhor adequar à sua página */
}
.nova-secao-areas .container-areas {
    max-width: 1200px;
    margin: 0 auto;
}
.nova-secao-areas .grid-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
}
@media (max-width: 768px) {
    .nova-secao-areas .grid-areas {
        grid-template-columns: 1fr;
    }
}
.nova-secao-areas .item-area {
    display: block !important;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: border-color 0.4s ease;
    text-decoration: none;
    color: #111827;
}
.nova-secao-areas .cabecalho-area {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 0.5rem;
}
.nova-secao-areas .nome-area {
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.4s ease;
    color: inherit;
}
.nova-secao-areas .seta {
    font-size: 1.5rem;
    color: #a68a56;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}
.nova-secao-areas .descricao-area {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
    padding-top: 0.25rem !important;
    font-size: 19px;
    color: #000;
    line-height: 1.5;
}

/* Efeitos Hover */
.nova-secao-areas .item-area:hover {
    border-bottom-color: #a68a56;
}
.nova-secao-areas .item-area:hover .nome-area {
    color: #a68a56;
}
.nova-secao-areas .item-area:hover .seta {
    opacity: 1;
    transform: translateX(0);
}