:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --accent: #2ecc71; /* Verde esmeralda para conversão */
    --gold: #c5a059;   /* Dourado para autoridade jurídica */
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden; /* A mágica que corta a "tela fantasma" */
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Header & Nav */
header {
    background-color: rgba(10, 10, 10, 0.99);
    border-bottom: 1px solid #222;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* CONTAINER GERAL (Agora sem o flexbox global) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CONTAINER EXCLUSIVO DO HEADER (Mantém o menu na mesma linha) */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
}

.logo span { color: var(--gold); margin-left: 5px; }

nav ul { display: flex; list-style: none; gap: 25px; }
nav ul li a:hover { color: var(--gold); }

.btn-header {
    background-color: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Mágica da animação elástica */
}

/* NOVO: Efeito ao passar o rato (Hover) */
.btn-header:hover {
    transform: scale(1.05) translateY(-2px); /* Botão levita e cresce 5% */
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.5); /* Sombra iluminada verde */
    background-color: #27ae60; /* Verde ligeiramente mais intenso */
}

/* Espaçamento para o Header fixo */
main { padding-top: 0px; }

/* Estilo para os Artigos/Guia */
.article-header { text-align: center; margin-bottom: 40px; }
.article-header h1 { font-size: 36px; color: var(--white); margin-bottom: 15px; }
.article-content { 
    max-width: 800px; 
    margin: 0 auto; 
    background: var(--bg-card); 
    padding: 40px; 
    border-radius: 15px;
    border: 1px solid #222;
}

.article-content h2 { color: var(--gold); margin: 30px 0 15px; font-size: 24px; }
.article-content p { margin-bottom: 20px; color: var(--text-main); font-size: 18px; }
.article-content img { width: 100%; border-radius: 10px; margin-bottom: 30px; }
.article-content ul { margin-bottom: 20px; padding-left: 20px; color: var(--text-main); font-size: 18px; }
.article-content li { margin-bottom: 8px; }

/* FAQ Styles */
.faq-section { margin-top: 50px; border-top: 1px solid #222; padding-top: 30px; }
.faq-item { margin-bottom: 20px; background: #1a1a1a; padding: 20px; border-radius: 8px; }
.faq-item h3 { font-size: 18px; color: var(--gold); margin-bottom: 10px; }

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #000;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    nav { display: none; } /* Simples para o exemplo, depois fazemos o menu mobile */
}

/* ----- AJUSTE DEFINITIVO DO BANNER (DESKTOP E MOBILE) ----- */
main { 
    padding-top: 0px !important; 
}

main > section:first-child, 
main > div:first-child {
    margin-top: 0px !important;
}

/* Espaçamento do texto no Computador */
@media (min-width: 851px) {
    main > section:first-child, 
    main > div:first-child {
        padding-top: 80px !important;
    }
}

/* Espaçamento do texto no Celular */
@media (max-width: 850px) {
    main > section:first-child, 
    main > div:first-child {
        padding-top: 30px !important; /* Respiro menor e elegante para telas pequenas */
    }
}

/* =========================================
   EFEITOS DE HOVER PREMIUM (BOTÕES E CARDS)
   ========================================= */

/* 1. Animação do WhatsApp Flutuante */
.whatsapp-float {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float:hover {
    transform: scale(1.15) rotate(-5deg); /* Dá uma leve "tremidinha" e cresce */
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
    background-color: #1ebc59;
}

/* 2. Efeito de Levitamento e Destaque nos Cards de Artigos/Serviços */
.card-interativo {
    display: block;
    transition: all 0.4s ease;
    position: relative;
    top: 0;
}
.card-interativo:hover {
    transform: translateY(-12px); /* O card levita */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9); /* Sombra mais profunda */
    border-color: var(--gold) !important; /* A borda acende em dourado */
}

/* 3. Efeito de Zoom na Imagem do Card */
.card-interativo img {
    transition: transform 0.5s ease;
}
.card-interativo:hover img {
    transform: scale(1.01); /* A imagem dá um leve zoom in */
}

/* 4. Classe extra para empurrar o conteúdo para baixo (Espaçamento do Cabeçalho) */
.espaco-topo-interno {
    padding-top: 130px !important; 
}
/* =========================================
   EFEITOS DE HOVER - BOTÕES DA HOME (INDEX)
   ========================================= */

/* 1. Botão Dourado (Falar com Especialista) */
.btn-hero-gold {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.btn-hero-gold:hover {
    transform: scale(1.05) translateY(-2px); /* Cresce e levita */
    box-shadow: 0 12px 25px rgba(197, 160, 89, 0.5) !important; /* Brilho dourado */
    background-color: #d4b272 !important; /* Fica um tom mais claro */
}

/* 2. Botão Branco (Soluções Empresariais) */
.btn-white-anim {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: inline-block;
}
.btn-white-anim:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.3) !important;
    background-color: #f0f0f0 !important; 
}

/* 3. Link "Ver Todos" */
.link-ver-todos {
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
}
.link-ver-todos i {
    margin-left: 8px;
    transition: transform 0.3s ease !important;
}
.link-ver-todos:hover {
    color: #ffffff !important; /* O texto muda de dourado para branco */
    text-shadow: 0 0 8px rgba(197, 160, 89, 0.6);
}
.link-ver-todos:hover i {
    transform: translateX(6px); /* A setinha dá um salto elegante para a direita */
}

/* =========================================
   HERO BANNER - INTELIGÊNCIA RESPONSIVA
   ========================================= */
.hero-banner {
    position: relative; 
    overflow: hidden; 
    border-bottom: 3px solid var(--gold); 
    background-color: #050505; 
    display: flex; 
    justify-content: center;
}

.hero-img-bg {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    z-index: 1;
}

.hero-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 2;
}

.hero-glass-card {
    width: 100%; 
    background: rgba(15, 15, 15, 0.40); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-top: 4px solid var(--gold); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.6); 
    text-align: center;
    position: relative;
    z-index: 3;
}

/* --- CONFIGURAÇÃO PARA COMPUTADOR (DESKTOP) --- */
@media (min-width: 851px) {
    .hero-banner {
        height: 560px; /* Aumentado para revelar mais a imagem */
        align-items: center; /* Centraliza a caixa exatamente no meio do vão */
        padding-top: 60px; /* Compensa o menu fixo no topo */
    }
    .hero-img-bg {
        object-position: center 25%; /* Desce a imagem um milímetro para os rostos ficarem perfeitos */
    }
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.9) 100%);
    }
    .hero-glass-card {
        padding: 30px 35px; 
        border-radius: 10px; 
    }
}

/* --- CONFIGURAÇÃO PARA CELULAR (MOBILE) --- */
@media (max-width: 850px) {
    .hero-banner {
        min-height: 600px; /* Voltou para um tamanho que não empurra o site todo para baixo */
        align-items: flex-end; 
        padding-bottom: 20px; 
        padding-top: 0;
    }
    .hero-img-bg {
        /* A MÁGICA: 82% alinha à direita, e 25% desliza a foto inteira para CIMA */
        object-position: 82% 25%; 
    }
    .hero-overlay {
        background: linear-gradient(to bottom, transparent 0%, transparent 35%, rgba(0,0,0,0.95) 100%);
    }
.hero-glass-card {
        max-width: 95%; 
        padding: 20px 15px; 
        border-radius: 8px; 
        background: rgba(15, 15, 15, 0.25); /* <-- Bem mais clarinho no celular */
        backdrop-filter: blur(4px); /* <-- Menos embaçado para ver a foto */
    }
    .hero-glass-card h1 { font-size: 21px !important; line-height: 1.1 !important; }
    .hero-glass-card h1 span { font-size: 19px !important; }
    .hero-glass-card p { font-size: 13.5px !important; margin-bottom: 15px !important; }
}

/* =========================================
   ESTILOS GLOBAIS - CARDS DE ARTIGOS
   ========================================= */
.card-artigo {
    background: var(--bg-card, #111);
    border-radius: 10px;
    border: 1px solid #222;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.card-artigo-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--gold);
}

.card-artigo-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-artigo-title {
    color: var(--white, #fff);
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.3;
}

.card-artigo-desc {
    color: var(--text-dim, #ccc);
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-artigo-link {
    color: var(--accent, #25D366);
    font-weight: 600;
    font-size: 14px;
}

/* =========================================
   ESTILOS GLOBAIS - PÁGINA DE ARTIGO INTERNO
   ========================================= */

/* Fundo escuro do topo (Onde fica o título) */
.artigo-single-header {
    background-size: cover;
    background-position: center;
    padding: 100px 20px 80px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

/* Título Dourado Gigante */
.artigo-single-title {
    color: var(--gold);
    font-size: 38px;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 2px 2px 5px #000;
}

/* Subtítulo Branco */
.artigo-single-subtitle {
    color: var(--white);
    font-size: 20px;
    margin-top: 15px;
    font-weight: 500;
    text-shadow: 1px 1px 3px #000;
}

/* Espaçamento geral do texto */
.artigo-single-container {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Caminho de navegação (Início / Manuais / Nome) */
.artigo-single-breadcrumbs {
    text-align: center;
    margin-bottom: 30px;
    font-size: 13px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}
.artigo-single-breadcrumbs a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}
.artigo-single-breadcrumbs a:hover {
    color: var(--gold);
}

/* Imagem principal do texto */
.artigo-single-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* Caixa de chamada para ação (WhatsApp) no fim do texto */
.artigo-cta-box {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 4px solid var(--gold);
}
.artigo-cta-title {
    color: var(--white);
    margin-bottom: 15px;
}
.artigo-cta-text {
    font-size: 16px;
    margin-bottom: 20px;
}

/* =========================================
   ESTILOS DA INDEX (GRIDS E ALINHAMENTOS)
   ========================================= */

/* Grid Inteligente para Benefícios e Artigos */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
}

/* Design dos Cards de Benefícios */
.beneficio-card {
    background: #111;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.beneficio-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

/* Cabeçalho da secção "Manuais" */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

/* --- CORREÇÕES ESPECÍFICAS PARA CELULAR --- */
@media (max-width: 768px) {
    .grid-cards {
        grid-template-columns: 1fr; /* Força 1 coluna exata */
        gap: 20px;
    }
    
    .beneficio-card {
        padding: 25px 20px; /* Resolve o Print 1: Dá espaço para o texto respirar */
    }
    
    .section-header-flex {
        flex-direction: column; /* Resolve o Print 2: Coloca o botão por baixo do título */
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-header-flex h2 {
        font-size: 24px !important; /* Evita que a palavra quebre no meio */
    }
}

