/*
Theme Name: Green Advocacia Patrimonial
Author: Bernardo Collet
Version: 1.0
*/

/* --- 1. RESET & FUNDAMENTOS --- */
:root {
    --primary-green: #1D3C1D; /* Seu verde institucional */
    --gold: #C5A059;          /* Dourado para detalhes */
    --white: #FFFFFF;
    --text-hero: rgba(255, 255, 255, 0.9);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. NAVBAR (Navegação) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

/* Estado quando o usuário rola a página */
.navbar.scrolled {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Troca de Logo no Scroll */
.logo-wrapper {
    position: relative;
    width: 220px; /* Ajuste conforme seu logo */
    height: 50px;
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    transition: var(--transition);
}

.logo-green {
    opacity: 0;
    visibility: hidden;
}

.navbar.scrolled .logo-white { opacity: 0; visibility: hidden; }
.navbar.scrolled .logo-green { opacity: 1; visibility: visible; }

/* Links do Menu */
nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--primary-green);
}

.nav-link:hover {
    color: var(--gold) !important;
}

/* Botão CTA na Nav */
.btn-cta-nav {
    background: var(--gold);
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-cta-nav:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* --- 3. HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay para dar leitura ao texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(75deg, rgba(29, 60, 29, 0.95) 0%, rgba(29, 60, 29, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 850px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem); /* Tamanho adaptável */
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero h1 .italic {
    font-style: italic;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-hero);
    margin-bottom: 45px;
    max-width: 600px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 35px;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    padding: 20px 45px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-green);
}

.btn-text {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--gold);
    gap: 18px;
}

/* Menu Mobile Toggle (Ícone) */
.menu-mobile {
    display: none;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .menu-mobile {
    color: var(--primary-green);
}

/* Responsividade Básica Hero/Nav */
@media (max-width: 992px) {
    nav { display: none; } /* Oculta menu desktop no mobile */
    .menu-mobile { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* --- SEÇÃO DE SERVIÇOS PREMIUM --- */
.services-premium {
    padding: 120px 0;
    background-color: #ffffff;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

/* Subtítulo em dourado, com espaçamento entre letras (Luxo) */
.services-header .subtitle {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Título Serifado imponente */
.services-header .title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary-green);
    font-weight: 500;
}

/* Grid configurado para 3 colunas (Desktop) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Estilo do Card individual */
.service-card {
    background: #fff;
    padding: 50px 40px;
    border: 1px solid #f2f2f2;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Linha de destaque lateral que ganha cor no hover */
.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50px;
    bottom: 50px;
    width: 3px;
    background: #e0e0e0; /* Cinza discreto inicial */
    transition: var(--transition);
}

/* Efeito de Elevação e Cor no Hover */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.service-card:hover::before {
    background: var(--primary-green);
    width: 4px;
}

/* Tipografia Interna dos Cards */
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    font-weight: 300;
}

/* Ajuste específico para o 7º item (Doação em Vida) 
   para ele não ficar isolado ou desalinhado no grid */
@media (min-width: 992px) {
    .service-card:last-child {
        grid-column: span 1; /* Você pode mudar para 'span 3' se quiser que ele ocupe a linha toda */
    }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
    .services-header .title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .services-premium {
        padding: 80px 0;
    }
    .services-grid {
        grid-template-columns: 1fr; /* 1 coluna no celular */
    }
    .service-card {
        padding: 40px 30px;
    }
}

/* --- SEÇÃO INVENTÁRIO (HIGHLIGHT) --- */
.inventory-highlight {
    padding: 120px 0;
    background-color: #FBFBFA; /* Um tom de papel/off-white muito elegante */
    border-bottom: 1px solid #f0f0f0;
}

.inventory-highlight .content-split {
    max-width: 850px; /* Largura ideal para leitura de textos longos */
    margin: 0 auto;
}

.inventory-highlight .subtitle {
    color: var(--gold);
    margin-bottom: 20px;
}

.inventory-highlight .title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-green);
    line-height: 1.25;
    margin-bottom: 40px;
}

.inventory-highlight p {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.85;
    margin-bottom: 25px;
    font-weight: 300;
}

.inventory-highlight strong {
    color: var(--primary-green);
    font-weight: 600;
}

/* A Alert Box Estilizada */
.alert-box {
    background: #ffffff;
    border-left: 4px solid var(--gold);
    padding: 40px;
    margin: 50px 0;
    box-shadow: 10px 10px 40px rgba(0,0,0,0.02);
}

.alert-box p {
    margin-bottom: 0;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary-green);
    line-height: 1.6;
}

/* Estilização do CTA */
.inventory-cta-wrapper {
    margin-top: 40px;
}

.btn-inventory-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--primary-green);
    color: #ffffff;
    padding: 20px 45px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-inventory-cta i {
    width: 18px;
    height: 18px;
}

.btn-inventory-cta:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .inventory-highlight { padding: 80px 0; }
    .alert-box { padding: 30px 20px; }
    .btn-inventory-cta {
        width: 100%;
        justify-content: center;
        padding: 18px 25px;
    }
}

/* --- SEÇÃO COMO O ESCRITÓRIO ATUA --- */
.how-we-work {
    padding: 120px 0;
    background-color: #ffffff;
}

.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-header-center .title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

/* Divisor elegante em dourado */
.divider {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* Grid de passos 01, 02, 03 */
.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.action-item {
    position: relative;
    padding-top: 50px; /* Espaço para o número flutuante */
    border-top: 1px solid #f0f0f0;
    transition: var(--transition);
}

/* O número como elemento de design */
.action-item .number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: rgba(197, 160, 89, 0.2); /* Dourado bem sutil e transparente */
    position: absolute;
    top: -15px;
    left: 0;
    font-weight: 700;
    line-height: 1;
}

.action-item p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    font-weight: 300;
}

/* Efeito ao passar o mouse: a linha do topo ganha cor */
.action-item:hover {
    border-top: 1px solid var(--primary-green);
    transform: translateY(-5px);
}

.action-item:hover .number {
    color: var(--gold);
    opacity: 0.4;
}

/* Rodapé da seção com o CTA */
.cta-footer {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--soft-gray);
    padding: 60px 40px;
    border-radius: 4px;
}

.cta-footer p {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin-bottom: 35px;
    font-weight: 400;
    line-height: 1.6;
}

/* Botão Verde Customizado */
.btn-green {
    display: inline-block;
    background-color: var(--primary-green);
    color: #ffffff;
    padding: 18px 45px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-green:hover {
    background-color: var(--gold);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .action-grid {
        grid-template-columns: 1fr; /* Coluna única no tablet/mobile */
        gap: 40px;
    }
    
    .action-item {
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .how-we-work {
        padding: 80px 0;
    }
    
    .section-header-center .title {
        font-size: 2.2rem;
    }
    
    .cta-footer {
        padding: 40px 20px;
    }
}

/* --- SEÇÃO SOBRE A FUNDADORA --- */
.about-founder {
    padding: 120px 0;
    background-color: var(--primary-green);
    color: #ffffff;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Área da Imagem */
.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 600px;
    background-color: #244624; /* Um tom sobre tom de verde */
    border: 1px solid rgba(197, 160, 89, 0.3); /* Borda dourada sutil */
    background-image: url('images/fundadora.jpg'); /* Caminho da sua foto */
    background-size: cover;
    background-position: center;
}

/* Selo de Experiência flutuante */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--gold);
    color: var(--primary-green);
    padding: 25px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 120px;
}

/* Textos e Conteúdo */
.about-text .subtitle {
    color: var(--gold); /* Dourado para o "Fundadora" */
    margin-bottom: 15px;
}

.about-text .title {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Box de Destaque Internacional (LLM) */
.international-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    margin: 40px 0;
    position: relative;
}

.international-feature h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.international-feature p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Lista de Idiomas/Atendimento */
.languages-box h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #ffffff;
}

.languages-box ul {
    list-style: none;
}

.languages-box li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Ícone de Check customizado em dourado */
.languages-box i.check::before {
    content: '✓';
    color: var(--gold);
    font-weight: 900;
    font-size: 1.1rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .image-placeholder {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .about-founder {
        padding: 80px 0;
    }

    .about-text .title {
        font-size: 2rem;
    }

    .experience-badge {
        right: 10px;
        padding: 15px;
        font-size: 0.9rem;
    }
}

/* Estilo para a imagem real da fundadora */
.about-image {
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.4); /* Moldura dourada fina */
    padding: 15px; /* Espaço entre a moldura e a foto (efeito pass-partout) */
}

.founder-img {
    width: 100%;
    height: 600px; /* Altura fixa para manter o padrão */
    object-fit: cover; /* Faz a imagem preencher o espaço sem distorcer */
    display: block;
    filter: brightness(0.9); /* Leve escurecida para combinar com o tom do site */
    transition: var(--transition);
}

.about-image:hover .founder-img {
    filter: brightness(1); /* Ganha brilho ao passar o mouse */
}

/* Ajuste do Badge para não sobrepor o rosto se a imagem for cortada */
.experience-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background-color: var(--gold);
    color: var(--primary-green);
    padding: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.3);
    z-index: 2;
}

/* Responsividade da Imagem */
@media (max-width: 992px) {
    .founder-img {
        height: 450px;
    }
}


/* --- SEÇÃO BLOG --- */
.blog {
    padding: 120px 0;
    background-color: #ffffff;
}

/* Cabeçalho lateralizado */
.section-header-side {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 30px;
}

.section-header-side h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-top: 10px;
}

/* Botão Vazado (Outline) */
.btn-outline {
    text-decoration: none;
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: #ffffff;
}

/* Grid de Artigos */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: #ffffff;
    transition: var(--transition);
    cursor: pointer;
}

/* Container da imagem com overflow oculto para o efeito de zoom */
.blog-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efeito de zoom na imagem ao passar o mouse no card */
.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

/* Conteúdo do Artigo */
.blog-content .category {
    display: block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.blog-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-green);
    line-height: 1.4;
    margin-bottom: 15px;
    transition: var(--transition);
}

.blog-card:hover h3 {
    color: var(--gold);
}

.blog-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Link "Ler Artigo" */
.read-more {
    text-decoration: none;
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more i {
    width: 16px;
    transition: var(--transition);
}

.blog-card:hover .read-more {
    gap: 15px;
    color: var(--gold);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header-side {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section-header-side h2 {
        font-size: 2.2rem;
    }
}

/* --- SEÇÃO CONTATO --- */
.contact-section {
    padding: 120px 0;
    background-color: var(--primary-green); /* Fundo escuro para autoridade */
    color: #ffffff;
}

.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

/* Info Lateral */
.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.contact-info .italic {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.contact-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--gold);
}

/* Formulário Premium */
.premium-form {
    background: #ffffff;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

/* Estilo dos Inputs e Selects */
.premium-form input[type="text"],
.premium-form input[type="email"],
.premium-form input[type="tel"],
.premium-form select,
.premium-form textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: var(--transition);
}

.premium-form label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.premium-form input:focus, 
.premium-form textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

/* Grupos de Radio (Opções de Sim/Não) */
.form-question {
    margin-bottom: 25px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-group label {
    color: #444;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    accent-color: var(--primary-green);
}

.premium-form textarea {
    height: 100px;
    margin-top: 20px;
    border: 1px solid #f0f0f0;
    padding: 15px;
}

/* Botão de Envio */
.btn-submit {
    width: 100%;
    background-color: var(--primary-green);
    color: #fff;
    border: none;
    padding: 20px;
    margin-top: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

/* Responsividade */
@media (max-width: 992px) {
    .grid-contact { grid-template-columns: 1fr; gap: 50px; }
    .contact-info h2 { font-size: 2.5rem; }
    .premium-form { padding: 30px; }
}

@media (max-width: 600px) {
    .input-row { grid-template-columns: 1fr; }
    .radio-group { flex-direction: column; gap: 10px; }
}

/* --- FOOTER PREMIUM --- */
.footer-premium {
    padding: 80px 0 40px;
    background-color: #0F1A0F; /* Verde ultra escuro, quase preto */
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(197, 160, 89, 0.2); /* Linha dourada sutil */
}

/* Parte Superior: Logo e Redes Sociais */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px; /* Ajuste conforme o seu logo */
    width: auto;
    filter: brightness(0) invert(1); /* Deixa o logo totalmente branco para o fundo escuro */
    opacity: 0.9;
}

.footer-socials {
    display: flex;
    gap: 25px;
}

.footer-socials a {
    color: var(--gold);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5px;
}

/* Parte Inferior: Copyright */
.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 300;
}

.footer-bottom p {
    margin: 0;
}

/* Detalhe de Luxo: Crafted for Excellence em Itálico */
.footer-bottom p::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold);
    margin: 20px auto;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-premium {
        padding: 60px 0 30px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
}

.reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-init.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- WHATSAPP FLUTUANTE PREMIUM --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Verde oficial, mas com sombra suave */
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* O texto do botão */
.whatsapp-btn span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

/* Ícone (Lucide) */
.whatsapp-btn i, 
.whatsapp-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
}

/* Efeito Hover - Luxo */
.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.02);
    background-color: #1eb956; /* Escurece levemente no hover */
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Animação de pulso sutil para chamar atenção sem irritar */
@keyframes pulse-soft {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-btn {
    animation: pulse-soft 3s infinite;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
    }
    
    /* Opcional: Esconder o texto no mobile e deixar só o ícone se preferir */
    .whatsapp-btn span { display: none; } */
}

/* Estilo para o Menu Mobile Aberto */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Começa escondido à direita */
        width: 80%;
        height: 100vh;
        background: var(--primary-green);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition); /* Aquela transição suave que criamos */
        z-index: 999;
    }

    /* Quando o menu ganha a classe 'active' via JS */
    .nav-menu.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }

    .menu-mobile {
        display: block;
        z-index: 1000;
        position: relative;
    }
}

@media (min-width: 993px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 25px; /* Espaço entre os links */
    }
    
    .nav-link {
        font-size: 0.85rem; /* Diminuir levemente a fonte para caber tudo em uma linha */
        white-space: nowrap; /* Impede que o texto quebre linha */
    }
}

/* Correção de sobreposição no Mobile */
@media (max-width: 992px) {
    .hero {
        /* Adiciona um espaço no topo igual à altura aproximada da sua nav */
        padding-top: 120px; 
        height: auto; /* Permite que o hero cresça se o texto for longo */
        min-height: 100vh;
        display: flex;
        align-items: flex-start; /* Alinha o conteúdo ao topo (com o padding) */
    }

    .hero-content {
        margin-top: 20px; /* Ajuste fino adicional se necessário */
    }
}

/* Ajuste específico para telas muito pequenas (iPhone SE, etc) */
@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 2.4rem; /* Reduz um pouco o título para não ocupar a tela toda */
    }
}

















/* --- BLOG LISTING PAGE --- */

/* --- NAVBAR ESPECÍFICA BLOG --- */
.navbar-blog {
    background-color: #ffffff; /* Fundo branco sólido para clareza */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Link de voltar com ícone */
.nav-link.back-home {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-green);
}

.nav-link.back-home i {
    width: 16px;
    transition: transform 0.3s ease;
}

.nav-link.back-home:hover i {
    transform: translateX(-4px); /* Efeito sutil de recuo */
}

/* Divisor sutil entre links */
.nav-divider {
    width: 1px;
    height: 20px;
    background-color: #e0e0e0;
    margin: 0 15px;
}

/* Estilo específico do botão na nav do blog */
.btn-blog-nav {
    background-color: var(--gold); /* Destaque em dourado para converter o leitor */
    color: var(--primary-green) !important;
    padding: 12px 25px;
    font-size: 0.8rem;
    border-radius: 2px;
}

.btn-blog-nav:hover {
    background-color: var(--primary-green);
    color: #ffffff !important;
}

/* --- RESPONSIVIDADE BLOG NAV --- */
@media (max-width: 992px) {
    .nav-divider {
        display: none; /* Remove o divisor no mobile */
    }

    .nav-menu {
        padding-top: 100px;
        background-color: #ffffff;
    }

    .nav-link {
        color: var(--primary-green);
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }

    .btn-blog-nav {
        width: 80%;
        text-align: center;
    }
}

/* --- AJUSTE DA NAVBAR DO BLOG --- */
.navbar-blog .nav-container {
    display: flex;
    justify-content: space-between; /* Empurra o logo para um lado e o menu para o outro */
    align-items: center;
    width: 100%;
    padding: 0 20px; /* Margem interna para o conteúdo não colar na borda da tela */
}

/* Garante que o menu se comporte como um bloco alinhado à direita no Desktop */
@media (min-width: 993px) {
    .navbar-blog .nav-menu {
        display: flex;
        align-items: center;
        gap: 20px; /* Espaço entre os elementos do menu */
    }

    /* Remove qualquer margem automática que possa centralizar o menu */
    .navbar-blog .logo-wrapper {
        margin-right: auto; 
    }
}

/* Estilização da Logo para garantir visibilidade */
.navbar-blog .logo-white {
    height: 45px; /* Ajuste conforme necessário */
    width: auto;
    display: block;
}

/* Ajuste do divisor vertical */
.navbar-blog .nav-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
    display: inline-block;
}

/* --- MOBILE --- */
@media (max-width: 992px) {
    .navbar-blog .nav-container {
        justify-content: space-between;
    }
    
    /* No mobile, o nav-menu geralmente vira um overlay, 
       então o botão hambúrguer assume a posição da direita */
    .navbar-blog .menu-mobile {
        order: 2;
    }
    
    .navbar-blog .logo-wrapper {
        order: 1;
    }
}



.blog-page-wrapper {
    background-color: #FBFBFA; /* Fundo levemente off-white */
}

.blog-listing {
    padding: 180px 0 120px;
}

.blog-header-page {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 100px;
}

.blog-header-page .subtitle {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-header-page .title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--primary-green);
    margin: 20px 0 30px;
    line-height: 1.1;
}

.blog-header-page .description {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Filtros e Busca */
.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding: 25px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.filter-btn {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 30px;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    color: var(--primary-green);
}

.search-box {
    position: relative;
    border-bottom: 1px solid #ddd;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 10px 35px 10px 0;
    font-size: 0.9rem;
    color: var(--primary-green);
    outline: none;
}

.search-box i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    color: #999;
}

/* Grade e Cards */
.blog-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 80px 40px;
    margin-bottom: 100px;
}

.post-date {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 10px;
}

/* Paginação Premium */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.page-link {
    text-decoration: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.page-link.active {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
}

.page-link:hover:not(.active) {
    border-color: var(--gold);
    color: var(--gold);
}

/* Mobile */
@media (max-width: 992px) {
    .blog-controls {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    
    .categories-filter {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        padding-bottom: 15px;
    }
}

.blog-card .blog-content {
    padding: 30px 25px; /* Aumenta o respiro interno: 30px topo/base e 25px laterais */
    background: #ffffff;
}

.blog-card h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.4; /* Melhora a leitura do título */
}

.blog-card p {
    margin-bottom: 25px; /* Dá mais espaço antes do link "Ler Artigo" */
}

/* --- LAYOUT DO ARTIGO INTERNO --- */
.article-wrapper {
    padding: 180px 0 100px;
    background-color: #ffffff;
}

.post-container {
    max-width: 800px; /* Largura ideal para leitura confortável */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.post-header {
    text-align: center;
    margin-bottom: 50px;
}

.post-meta {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 20px;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--primary-green);
    line-height: 1.2;
    margin-bottom: 25px;
}

.post-excerpt {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
    line-height: 1.6;
}

/* Imagem de Capa */
.post-featured-image {
    margin: 50px 0;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Corpo do Texto - Onde o "Respiro" acontece */
.post-content {
    font-size: 1.15rem;
    line-height: 1.9; /* Espaçamento entre linhas premium */
    color: #333;
}

.post-content p {
    margin-bottom: 30px;
}

.post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-green);
    margin: 50px 0 25px;
}

.post-content blockquote {
    border-left: 3px solid var(--gold);
    padding-left: 30px;
    margin: 50px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--primary-green);
}

.post-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 12px;
}

/* Box do Autor */
.post-author-box {
    margin-top: 80px;
    padding: 40px;
    background-color: #FBFBFA;
    display: flex;
    gap: 30px;
    align-items: center;
    border-left: 4px solid var(--primary-green);
}

.author-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.author-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .article-wrapper { padding-top: 140px; }
    .post-featured-image { height: 300px; }
    .post-author-box { flex-direction: column; text-align: center; }
}


/* Remove a cor azul de todos os links dentro do card */
.blog-card a {
    text-decoration: none;
    color: inherit; /* Herda a cor do elemento pai (o h3, por exemplo) */
}

/* Estilo específico para o título do post */
.blog-card h3 a {
    color: #1a4731; /* Sua cor verde escura */
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #2a6145; /* Um verde um pouco mais claro no hover */
}

/* Remove bordas de imagens que são links (comum em navegadores antigos) */
.blog-img-link img {
    border: none;
}

/* Estilo para o link "Ler Artigo" continuar com a cor correta */
.blog-card .read-more {
    color: #1a4731; /* Ou a cor específica que você definiu para ele */
    font-weight: 600;
}


/* Remove o azul da categoria na listagem e na página interna */
.post-meta .category a, 
.blog-content .category a {
    color: #632977; /* Cor roxa/vinho das suas imagens */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

/* Efeito ao passar o mouse na categoria */
.post-meta .category a:hover, 
.blog-content .category a:hover {
    opacity: 0.8;
}

/* Garante que o link "Ler Artigo" na listagem não fique azul */
.read-more {
    display: inline-flex;
    align-items: center;
    color: #1a4731 !important; /* Verde escuro do tema */
    text-decoration: none;
    font-weight: 700;
}

/* Remove contorno azul em imagens clicáveis */
a img {
    outline: none;
    border: none;
}