:root {
    --primary: #1a2a3a; /* Azul sóbrio */
    --accent: #c5a059;  /* Dourado discreto para botões */
    --text: #333;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

h1, h2, .logo {
    font-family: 'Playfair Display', serif;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); }
.logo span { color: var(--accent); }

nav ul { display: flex; list-style: none; gap: 30px; }
nav a { text-decoration: none; color: var(--primary); font-weight: 600; }

/* Hero Section */
/* .hero {
    padding: 100px 0;
    background: linear-gradient(rgba(26,42,58,0.9), rgba(26,42,58,0.9)), url('background-juridico.jpg');
    background-size: cover;
    color: #fff;
    text-align: center;
}
 */
 /* Hero Section Otimizada */
/* .hero {
    padding: 100px 0;
    text-align: center;
    color: #fff;
    /* Define uma cor sólida idêntica ao azul do seu site para carregar instantaneamente 
    background-color: #1a2a3a; 
    /* Camada de gradiente + imagem 
    background-image: linear-gradient(rgba(26,42,58,0.9), rgba(26,42,58,0.9)), url('background-juridico.jpg');
    background-size: cover;
    background-position: center;
    /* Garante que o container já tenha o tamanho certo antes da imagem chegar 
    min-height: 400px; 
} */

/* Hero Section Otimizada - Sem dependência de arquivo externo */
.hero {
    padding: 100px 0;
    text-align: center;
    color: #fff;
    /* Gradiente profissional que substitui a imagem e carrega instantaneamente */
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 span { color: var(--accent); }

/* .btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 15px;
} */
.btn-primary {
    background: #b08d4a; /* Um dourado levemente mais escuro para passar no contraste */
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700; /* Negrito ajuda na leitura */
}

/* Cards de Serviço */
.services { padding: 80px 0; background: var(--bg-light); }
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }


/* Ajuste para imagens responsivas */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsividade simples para o Sobre */
@media (max-width: 768px) {
    .sobre-perfil {
        flex-direction: column;
        text-align: center;
    }
    .sobre-perfil ul {
        text-align: left;
    }
}

footer {
    background-color: #1a2a3a; /* Azul escuro original ou o Vinho que conversamos */
    color: #ffffff;
    padding: 40px 0;
    text-align: center; /* Aqui acontece a mágica da centralização */
    border-top: 3px solid #c5a059; /* Linha dourada para dar o acabamento de autoridade */
    margin-top: 50px;
}

/* footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
} */
footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff; /* Remova a opacidade e force o branco puro */
    opacity: 1;    /* Garante 100% de visibilidade */
}

/* Opcional: Se você quiser adicionar ícones ou links no rodapé futuramente */
.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center; /* Centraliza os itens da lista horizontalmente */
    gap: 20px;
    margin-bottom: 15px;
}

/*inicio do ajuste do blog*/
/* --- Estilos da Seção Blog --- */
.blog-section { padding: 10px 0; background: #f4f7f9; }

.search-container { 
    max-width: 600px; margin: 0 auto 40px; 
    display: flex; gap: 10px; padding: 0 15px; 
}

#blogSearch { flex: 1; padding: 12px; border: 1px solid #ccc; border-radius: 4px; min-width: 0; }
.btn-search { background: #1a2a3a; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; }

/* --- Estrutura do Carrossel --- */
.blog-grid {
    overflow: hidden; /* Importante: esconde os cards que estão "fora" da tela */
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Suaviza o movimento */
    gap: 20px;
    padding: 20px 0;
    /* REMOVIDO: flex-wrap (isso impedia o carrossel de funcionar) */
}

.blog-card {
    /* No desktop, mostra 3 por vez (considerando o gap) */
    min-width: calc(33.333% - 14px); 
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Botões de Navegação
.carousel-next {
    display: block;
    margin: 20px auto 0; /* Centraliza o botão abaixo do carrossel 
    background: #1a2a3a;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.carousel-next:hover { background: #c5a059; }*/
/* Container principal do carrossel */
.carousel-container-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Estilo comum para os dois botões */
.carousel-btn {
    background: #1a2a3a;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
    flex-shrink: 0; /* Impede o botão de amassar */
}

.carousel-btn:hover {
    background: #c5a059;
    transform: scale(1.1);
}

/* --- Responsividade Ajustada --- */
@media (max-width: 768px) {
    .blog-card {
        /* Força cada card a ter a largura total do container */
        min-width: 100% !important; 
        max-width: 100% !important;
        margin: 0; /* Remove margens laterais que podem somar largura */
    }

    .carousel-track {
        gap: 0; /* No mobile, tirar o gap ajuda no cálculo matemático do slide */
    }
    
    .carousel-container-main {
        padding: 0 5px;
    }
}

/* Responsividade para celulares 
@media (max-width: 768px) {
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .blog-grid {
        margin: 0; /* Remove margens extras no mobile 
    }
} */

/* --- Responsividade --- 
@media (max-width: 768px) {
    .blog-card {
        min-width: 100%; /* No celular, o card ocupa a tela toda 
    }
    .search-container { flex-direction: column; }
}
*/

.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 20px; flex-grow: 1; }
/* .card-body h3 { font-size: 1.2rem; color: #1a2a3a; margin-bottom: 10px; } */
.card-body h3 {
    font-size: 1.2rem;
    color: #0d151d; /* Um azul quase preto para contraste máximo sobre o branco */
    margin-bottom: 10px;
}
/* .read-more { color: #c5a059; font-weight: bold; text-decoration: none; display: inline-block; margin-top: 15px; } */
.read-more {
    color: #8c6d31; /* Dourado escurecido para legibilidade */
    font-weight: bold;
    text-decoration: underline; /* Melhora a identificação do link */
    display: inline-block;
    margin-top: 15px;
}

/*final de ajuste do blog*/

/* Estilização de Links Internos nos Artigos */
.article-content p a {
    color: #c5a059; /* O dourado que você já usa */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
}

.article-content p a:hover {
    color: #1a2a3a; /* Muda para o azul marinho no hover */
    border-bottom: 2px solid #c5a059;
    background-color: rgba(197, 160, 89, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    max-width: 300px; /* Ajuste conforme o desejado */
    height: auto;
}

.logo-container svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Ajuste para o cabeçalho fixo se necessário */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

header .container a img {
    display: block;
    width: 220px;
    height: auto;
    aspect-ratio: 220 / 60; /* Isso reserva o espaço exato antes da imagem carregar */
}

/* Garante que o cabeçalho seja escuro e tenha altura para o logo */
header {
    background-color: #1a2a3a; 
    padding: 15px 0;
    border-bottom: 2px solid #c5a059; /* Linha dourada de acabamento */
}

/* Container do logo para limitar o tamanho do SVG */
.logo-link {
    display: inline-block;
    max-width: 220px; /* Tamanho ideal para desktop */
    vertical-align: middle;
}

.logo-link svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Garante que os links do menu continuem visíveis (Brancos) */
nav ul li a {
    color: #ffffff !important;
    font-weight: 500;
}

nav ul li a:hover {
    color: #c5a059 !important;
}


/* Definição Global de Títulos Semânticos
h1 { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--primary); }
h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--primary); margin-bottom: 20px; }
h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--primary); }

/* Classe para centralizar textos de seção 
.section-title {
    text-align: center;
    margin-bottom: 40px;
} */

/* Títulos globais para SEO */
h1 { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--primary); margin-bottom: 30px; text-align: center; }
h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--primary); }

/* Ajuste para títulos em seções escuras (como o Hero ou Rodapé) */
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark p {
    color: #ffffff !important;
}

/* Ajuste específico para a seção de Contato se o fundo for escuro */
#contato h2 {
    color: #1a2a3a; /* Se o fundo for claro (f4f7f9), mantenha escuro */
}

/* Ajuste de links dentro da Bio do Autor (Fundo Escuro) */
.author-box.bg-dark a.author-link {
    color: #c5a059 !important; /* Usa o seu dourado padrão */
    text-decoration: underline; /* Mantém o sublinhado para indicar que é clicável */
    font-weight: 600;
}

.author-box.bg-dark a.author-link:hover {
    color: #ffffff !important; /* Muda para branco ao passar o mouse */
    text-decoration: none;
}

/* Garante que o título H3 dentro da box também use a cor correta caso tenha link */
.author-box.bg-dark h3 a {
    color: #c5a059 !important;
    text-decoration: none;
}

/* Melhora visibilidade de links na página Sobre */
.about-content a {
    color: #c5a059;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-content a:hover {
    color: #1a2a3a;
    text-decoration: none;
}


/* Estilos para Celular (telas menores que 768px) */
@media (max-width: 768px) {
    header .container {
        flex-direction: column; /* Empilha a logo e o menu verticalmente */
        text-align: center;
    }

    nav ul {
        flex-direction: column; /* Coloca os links um abaixo do outro */
        gap: 15px;
        padding: 0;
        margin-top: 20px;
    }
}

/* Garante que imagens nunca transbordem o container */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cta-box-checklist {
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.cta-box-checklist:hover {
    transform: translateY(-5px);
}

/* --- ESTILOS DA PÁGINA DE CASOS EMBLEMÁTICOS --- */

/* Container dos botões de filtro */
.filtros-casos {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Estilo base dos botões de filtro */
.btn-filtro {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 22px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

/* Estado ativo e hover do filtro */
.btn-filtro.active, 
.btn-filtro:hover {
    background: var(--primary);
    color: white;
}

/* Estilização dos Cards de Caso */
.caso-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.caso-box:hover {
    transform: translateY(-5px);
}

/* Tags de categoria dentro dos cards */
.tag-categoria {
    display: inline-block;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* 1. Saúde: Use o Verde Esmeralda (Simboliza vitalidade) */
.tag-saude { background: #27ae60; } 

/* 2. Bancário: Use o Azul Marinho ou Vinho (Transmite seriedade/finanças) */
.tag-bancario { background: #191970; } 

/* 3. Revisional: Use o Roxo (Destaque para revisão jurídica) */
.tag-revisional { background: #8e44ad; }

/* 4. TI/Dados: Use o Azul Deep Navy ou Petróleo */
.tag-tidados { background: #16a085; }
.tag-ti {background: #1a2a3a;}
.tag-digital {background: #005f73;}

.tag-automotivo {background: #c5a059;}
.tag-direito {background: #4D050E;}
.tag-tributaria {background: #364d0c; }

/* 5. Padrão/Geral: O Vinho Escuro que você gostou fica ótimo aqui */
.tag-standard { background: #4D050E; }

/* Tag para Dossiês e Investigações */
.tag-investigativo { background: #000000; color: #c5a059; border: 1px solid #c5a059; }

/* Classe utilitária para o filtro JavaScript */
.hidden {
    display: none !important;
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .caso-box {
        padding: 20px;
    }
    .btn-filtro {
        width: 100%; /* Botões ocupam largura total no celular */
    }
}

#inputBusca:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2) !important;
}

.search-container {
    padding: 0 20px;
}

.tag-saude { background: #1a2a3a; }


 /*artigo-pericia-financeira-revisao-contrato-1988.html*/
.article-container { max-width: 800px; margin: 40px auto; padding: 0 20px; line-height: 1.8; color: #333; }
.article-header { text-align: center; margin-bottom: 40px; }
.article-capa { width: 100%; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.article-content h2 { font-family: 'Playfair Display', serif; color: #1a2a3a; margin-top: 40px; border-left: 5px solid #c5a059; padding-left: 15px; }
.article-content p { margin-bottom: 20px; font-size: 1.1rem; text-align: justify; }
.article-meta { font-style: italic; color: #666; margin-bottom: 10px; display: block; }
.highlight-box { background: #f9f9f9; border: 1px solid #e0e0e0; padding: 25px; border-radius: 8px; margin: 30px 0; }

/* Estilização da Tabela Padrão Lincoln Sposito */
.table-wrapper { overflow-x: auto; margin: 30px 0; }
table { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; }
th { background: #1a2a3a; color: #fff; padding: 15px; text-align: center; }
td { border: 1px solid #eee; padding: 12px; text-align: center; }
tr:nth-child(even) { background: #fcfcfc; }
.table-caption { display: block; margin-bottom: 10px; font-weight: bold; color: #1a2a3a; }

.author-box { background: #1a2a3a; color: white; padding: 30px; border-radius: 8px; margin-top: 60px; display: flex; align-items: center; gap: 20px; }
.author-box img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #c5a059; object-fit: cover; }

.list-styled { list-style: none; padding-left: 0; }
.list-styled li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.list-styled li::before { content: "→"; color: #c5a059; position: absolute; left: 0; font-weight: bold; }

@media (max-width: 600px) {
	.author-box { flex-direction: column; text-align: center; }
}


/*materiais.html*/
/* Estilos específicos para a seção de downloads para complementar o seu style.css */
.download-section { padding: 60px 0; text-align: center; min-height: 70vh; }
.material-card { 
	background: #fff; 
	padding: 40px; 
	border-radius: 8px; 
	box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
	max-width: 700px; 
	margin: 40px auto; 
	border-top: 5px solid #c5a059; /* Cor de destaque (Dourado/Bronze) */
}
.btn-download {
	display: inline-block;
	background: #1a2a3a;
	color: #fff;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 4px;
	font-weight: bold;
	margin-top: 20px;
	transition: background 0.3s;
}
.btn-download:hover { background: #c5a059; }

/*checklist-admissibilidade.html*/
:root {
	--bg-gradient: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
}

body {
	background-color: #f4f7f9;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.lp-header {
	background: var(--bg-gradient);
	color: white;
	padding: 40px 0;
	text-align: center;
}

.lp-header img.logo-lp {
	width: 180px;
	margin-bottom: 20px;
}

.main-content {
	flex: 1;
	display: flex;
	align-items: center;
	padding: 50px 0;
}

.grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.benefit-list {
	list-style: none;
	padding: 0;
}

.benefit-list li {
	margin-bottom: 20px;
	font-size: 1.1rem;
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.benefit-list li::before {
	content: "✓";
	background: var(--accent);
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.8rem;
	font-weight: bold;
}

.lead-card {
	background: white;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 15px 35px rgba(0,0,0,0.1);
	border-top: 5px solid var(--accent);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--primary);
}

.form-group input, .form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-family: 'Inter', sans-serif;
}

.btn-submit {
	width: 100%;
	background: var(--accent);
	color: white;
	padding: 18px;
	border: none;
	border-radius: 6px;
	font-weight: bold;
	font-size: 1.1rem;
	cursor: pointer;
	transition: transform 0.2s, background 0.3s;
}

.btn-submit:hover {
	background: #b08d4a;
	transform: translateY(-2px);
}

footer {
	text-align: center;
	padding: 30px;
	font-size: 0.9rem;
	color: #666;
}

@media (max-width: 768px) {
	.grid-container { grid-template-columns: 1fr; }
	.lp-header h1 { font-size: 1.8rem; }
}

/*artigo-pericia-cdc-abusividade.html*/
.article-container { max-width: 800px; margin: 40px auto; padding: 0 20px; line-height: 1.8; color: #333; }
.article-header { text-align: center; margin-bottom: 40px; }
.article-capa { width: 100%; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.article-content h2 { font-family: 'Playfair Display', serif; color: #1a2a3a; margin-top: 40px; border-left: 5px solid #c5a059; padding-left: 15px; }
.article-content p { margin-bottom: 20px; font-size: 1.1rem; text-align: justify; }
.article-meta { font-style: italic; color: #666; margin-bottom: 10px; display: block; }
.highlight-box { background: #f9f9f9; border: 1px solid #e0e0e0; padding: 25px; border-radius: 8px; margin: 30px 0; }

/* Estilização da Tabela Padrão Lincoln Sposito */
.table-wrapper { overflow-x: auto; margin: 30px 0; }
table { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; }
th { background: #1a2a3a; color: #fff; padding: 15px; text-align: center; }
td { border: 1px solid #eee; padding: 12px; text-align: center; }
tr:nth-child(even) { background: #fcfcfc; }
.table-caption { display: block; margin-bottom: 10px; font-weight: bold; color: #1a2a3a; }

.author-box { background: #1a2a3a; color: white; padding: 30px; border-radius: 8px; margin-top: 60px; display: flex; align-items: center; gap: 20px; }
.author-box img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #c5a059; object-fit: cover; }

.list-styled { list-style: none; padding-left: 0; }
.list-styled li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.list-styled li::before { content: "→"; color: #c5a059; position: absolute; left: 0; font-weight: bold; }

@media (max-width: 600px) {
	.author-box { flex-direction: column; text-align: center; }
}

/*artigo-plano-saude-445.html*/
.article-container { max-width: 800px; margin: 40px auto; padding: 0 20px; line-height: 1.8; color: #333; }
.article-header { text-align: center; margin-bottom: 40px; }
.article-capa { width: 100%; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.article-content h2 { font-family: 'Playfair Display', serif; color: #1a2a3a; margin-top: 40px; border-left: 5px solid #c5a059; padding-left: 15px; }
.article-content p { margin-bottom: 20px; font-size: 1.1rem; text-align: justify; }
.article-meta { font-style: italic; color: #666; margin-bottom: 10px; display: block; }
.highlight-box { background: #f9f9f9; border: 1px solid #e0e0e0; padding: 25px; border-radius: 8px; margin: 30px 0; }

/* Estilização da Tabela Padrão Lincoln Sposito */
.table-wrapper { overflow-x: auto; margin: 30px 0; }
table { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; }
th { background: #1a2a3a; color: #fff; padding: 15px; text-align: center; }
td { border: 1px solid #eee; padding: 12px; text-align: center; }
tr:nth-child(even) { background: #fcfcfc; }
.table-caption { display: block; margin-bottom: 10px; font-weight: bold; color: #1a2a3a; }

.author-box { background: #1a2a3a; color: white; padding: 30px; border-radius: 8px; margin-top: 60px; display: flex; align-items: center; gap: 20px; }
.author-box img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #c5a059; object-fit: cover; }

.list-styled { list-style: none; padding-left: 0; }
.list-styled li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.list-styled li::before { content: "→"; color: #c5a059; position: absolute; left: 0; font-weight: bold; }

@media (max-width: 600px) {
	.author-box { flex-direction: column; text-align: center; }
}

/*artigo-vcmh-caixa-preta.html*/
.article-container { max-width: 800px; margin: 40px auto; padding: 0 20px; line-height: 1.8; color: #333; }
.article-header { text-align: center; margin-bottom: 40px; }
.article-capa { width: 100%; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.article-content h2 { font-family: 'Playfair Display', serif; color: #1a2a3a; margin-top: 40px; border-left: 5px solid #c5a059; padding-left: 15px; }
.article-content p { margin-bottom: 20px; font-size: 1.1rem; text-align: justify; }
.article-meta { font-style: italic; color: #666; margin-bottom: 10px; display: block; }
.highlight-box { background: #f9f9f9; border: 1px solid #e0e0e0; padding: 25px; border-radius: 8px; margin: 30px 0; }

/* Estilização da Tabela Padrão Lincoln Sposito */
.table-wrapper { overflow-x: auto; margin: 30px 0; }
table { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; }
th { background: #1a2a3a; color: #fff; padding: 15px; text-align: center; }
td { border: 1px solid #eee; padding: 12px; text-align: center; }
tr:nth-child(even) { background: #fcfcfc; }
.table-caption { display: block; margin-bottom: 10px; font-weight: bold; color: #1a2a3a; }

.author-box { background: #1a2a3a; color: white; padding: 30px; border-radius: 8px; margin-top: 60px; display: flex; align-items: center; gap: 20px; }
.author-box img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #c5a059; object-fit: cover; }

.list-styled { list-style: none; padding-left: 0; }
.list-styled li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.list-styled li::before { content: "→"; color: #c5a059; position: absolute; left: 0; font-weight: bold; }

@media (max-width: 600px) {
	.author-box { flex-direction: column; text-align: center; }
}


/*artigo-jurisprudencia-planos-saude.html*/
.article-container { max-width: 900px; margin: 40px auto; padding: 0 20px; line-height: 1.8; color: #333; }
.article-header { text-align: center; margin-bottom: 50px; }
.article-capa { width: 100%; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.article-content h2 { font-family: 'Playfair Display', serif; color: #1a2a3a; margin-top: 45px; border-left: 5px solid #c5a059; padding-left: 20px; font-size: 1.8rem; }
.article-content h3 { font-family: 'Inter', sans-serif; color: #2c5282; margin-top: 30px; font-size: 1.3rem; }
.article-content p { margin-bottom: 25px; font-size: 1.15rem; text-align: justify; }
.article-meta { font-style: italic; color: #666; margin-bottom: 15px; display: block; }
.highlight-box { background: #f0f4f8; border-right: 5px solid #1a2a3a; padding: 30px; border-radius: 4px; margin: 40px 0; font-style: italic; }
.inner-image { width: 100%; border-radius: 8px; margin: 30px 0; }
.image-caption { display: block; text-align: center; font-size: 0.9rem; color: #666; margin-top: -20px; margin-bottom: 30px; }
.author-box { background: #1a2a3a; color: white; padding: 40px; border-radius: 8px; margin-top: 80px; display: flex; align-items: center; gap: 30px; }
.author-box img { width: 120px; height: 120px; border-radius: 50%; border: 3px solid #c5a059; object-fit: cover; }
.ref-section { background: #f8f9fa; padding: 30px; border-radius: 8px; margin-top: 50px; font-size: 0.95rem; }
.ref-section h4 { border-bottom: 2px solid #c5a059; display: inline-block; margin-bottom: 20px; }

@media (max-width: 768px) {
.author-box { flex-direction: column; text-align: center; }
}

/*artigo-pericia-financeira.html*/
.article-container { max-width: 800px; margin: 40px auto; padding: 0 20px; line-height: 1.8; color: #333; }
.article-header { text-align: center; margin-bottom: 40px; }
.article-capa { width: 100%; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.article-content h2 { font-family: 'Playfair Display', serif; color: #1a2a3a; margin-top: 40px; border-left: 5px solid #c5a059; padding-left: 15px; }
.article-content p { margin-bottom: 20px; font-size: 1.1rem; text-align: justify; }
.article-meta { font-style: italic; color: #666; margin-bottom: 10px; display: block; }
.highlight-box { background: #f9f9f9; border: 1px solid #e0e0e0; padding: 25px; border-radius: 8px; margin: 30px 0; }
.author-box { background: #1a2a3a; color: white; padding: 30px; border-radius: 8px; margin-top: 60px; display: flex; align-items: center; gap: 20px; }
.author-box img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #c5a059; object-fit: cover; }

.img_principal_capa {
	width: 100%; 
	border-radius: 8px; 
	margin-bottom: 40px;
}


/* Tags de categoria no Portal Linsp TI */
.tag-categoria {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.tag-digital { background-color: #2c3e50; color: #fff; }    /* Azul Marinho Escuro */
.tag-financeiro { background-color: #c5a059; color: #fff; } /* Dourado (seu padrão) */
.tag-saude { background-color: #27ae60; color: #fff; }     /* Verde Esperança/Saúde */


/*DEVIDO AO transbordamento NA MARGEM DIREITA NO CELULAR DEVIDO AO CHATBASE*/
/* Bloqueia o transbordamento horizontal */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Impede que o frame do chatbase crie scroll horizontal */
iframe#chatbase-bubble-window {
    max-width: 100vw !important;
    right: 0 !important;
}

@media (max-width: 768px) {
    /* Ajusta paddings exagerados no mobile */
    .faq-section, .cta-box, .cta-box-checklist {
        padding: 20px !important; 
		margin-top: 50px; 
		padding: 40px; 
		background: #f8fafc; 
		border: 1px solid #e2e8f0; 
		border-radius: 12px; 
		font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    }
	
	.faq-item {
		margin-bottom: 30px;
	}

    /* Força imagens e containers a nunca passarem da tela */
    img, table, div, section {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Ajusta a largura do container principal */
    .container {
        width: 95% !important;
    }
    
    /* Garante que a fórmula centralizada não estoure */
    img[style*="width: 25%"] {
        width: 80% !important; /* Aumenta a fórmula no mobile para ser legível */
    }
}
/* Ajuste de segurança para elementos que ignoram o box-sizing */
*, *:before, *:after {
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    /* Corrige o Header inline */
    header .container {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }

    /* Reduz paddings de elementos com style inline */
    .faq-section, .cta-box, .cta-box-checklist, .article-container {
        padding: 20px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
		margin-top: 50px; 
		padding: 40px; 
		background: #f8fafc; 
		border: 1px solid #e2e8f0; 
		border-radius: 12px; 
		font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    }

    /* Garante que imagens de fórmulas não passem da tela */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}


/* Efeito de Esmaecer e Flutuar para o conteúdo detalhado */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translate(0);
    }
}

/* Efeito de Destaque Flutuante no Card Selecionado */
.card-laudo.active-card {
    border-color: var(--accent);
    background-color: #fdfaf3; /* Tom creme sutil */
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}



/* Estilização para Artigos de Perícia */

.resumo-estrategico {
    background-color: #f4f4f4;
    border-left: 5px solid #c5a059; /* Cor dourada/bronze do seu tema */
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
    line-height: 1.6;
    color: #333;
    border-radius: 0 4px 4px 0;
}

.secao-quesitos {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.secao-quesitos h3 {
    color: #c5a059;
    border-bottom: 2px solid #c5a059;
    padding-bottom: 10px;
    margin-top: 0;
}

.lista-quesitos {
    line-height: 1.8;
    color: #444;
    padding-left: 20px;
}

.lista-quesitos li {
    margin-bottom: 10px;
}





/* Container do Fichário */
.tabs-container {
    margin: 40px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

/* Cabeçalho das Pastas */
.tabs-header {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    color: #64748b;
    transition: all 0.3s;
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    background: #f1f5f9;
    color: #c5a059;
}

/* ------------------------------------------------- */
/* Estilo base para os botões das abas */
/* .tab-btn { */
    /* display: inline-flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* gap: 8px; /* Espaço entre o ícone e o texto */ */
/* } */

/*Adiciona o ícone de check apenas no primeiro botão (Quesitos)*/
/* .tab-btn:first-child::before { */
    /* content: '✓' /* Ícone de check */ */
    /* font-weight: bold; */
    /* background: #c5a059; */
    /* color: white; */
    /* width: 18px; */
    /* height: 18px; */
    /* border-radius: 50%; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* font-size: 11px; */
/* } */

/* Efeito ao passar o mouse para dar feedback de clique */
/* .tab-btn:hover::before { */
    /* background: #1e293b; /* Muda a cor do ícone no hover */ */
/* } */
/* ------------------------------------------------- */


.tab-btn.active {
    background: #fff;
    color: #c5a059;
    border-bottom: 3px solid #c5a059;
}

/* Conteúdo das Abas */
.tab-content {
    display: none; /* Escondido por padrão */
    padding: 30px;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block !important; /* Mostra apenas a aba ativa */
	/* display: flex; /* Ou block, mostra apenas a que tiver a classe active */ */
}

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


.btn-cta-premium {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background-color: #c5a059; /* Ouro/Bronze */
    color: #ffffff !important;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4); /* Sombra para "pular" */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.btn-cta-premium span {
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.9;
    text-transform: none;
}

.btn-cta-premium:hover {
    transform: scale(1.05); /* Efeito de zoom suave */
    background-color: #b08d4a; /* Tom levemente mais escuro para contraste */
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.6);
    border-color: #ffffff;
}

/* Estilização do Fichário Dinâmico - Roteiro 6.1 */
.tabs-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.tabs-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-link {
    background: #1a2a3a;
    color: #fff;
    border: 1px solid #c5a059;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.tab-link.active, .tab-link:hover {
    background: #c5a059;
    color: #1a2a3a;
}

.tab-content {
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid #c5a059;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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



/* Hub de Serviços - Roteiro 6.1 */
.tab-btn {
    background: #e1e8ed;
    color: #1a2a3a;
    border: 1px solid #ccc;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: #c5a059;
    color: #1a2a3a;
    border-color: #c5a059;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.tab-content {
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 0 0 10px 10px;
    animation: slideUp 0.4s ease;
}

.tab-content.active {
    display: block;
}

.lista-check {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.lista-check li::before {
    content: "✓";
    color: #c5a059;
    font-weight: bold;
    margin-right: 10px;
}

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

@media (max-width: 768px) {
    .sticky-panel { position: static !important; }
}

/* Ajuste do Ciclo de 16 segundos para 4 depoimentos */
/* Ajuste para 6 depoimentos - Ciclo de 24 segundos */
/* Ajuste para 7 Depoimentos - Ciclo de 28 segundos */
.testimonial-fade {
    animation: fadeInOut 28s infinite;
    opacity: 0;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    1.2% { opacity: 1; transform: translateY(0); }
    13% { opacity: 1; }
    14.2% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left !important;
}

@media (max-width: 992px) {
    .hero-split { flex-direction: column; text-align: center !important; }
    .hero-testimonials { display: none; } /* Oculta no mobile para focar no CTA */
}


/* Indicador de Scroll Animado - Roteiro 6.1 */
/* .scroll-indicator { */
    /* position: absolute; */
    /* bottom: 30px; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* gap: 8px; */
    /* color: rgba(255, 255, 255, 0.6); */
    /* text-decoration: none; */
    /* transition: 0.3s; */
    /* z-index: 10; */
/* } */

/* .scroll-indicator:hover { */
    /* color: #c5a059; */
/* } */

/* .scroll-indicator span { */
    /* font-size: 0.7rem; */
    /* text-transform: uppercase; */
    /* letter-spacing: 2px; */
    /* font-weight: 600; */
/* } */

/* .scroll-indicator i { */
    /* font-size: 1.2rem; */
    /* animation: bounce 2s infinite; */
/* } */

/* @keyframes bounce { */
    /* 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} */
    /* 40% {transform: translateY(-10px);} */
    /* 60% {transform: translateY(-5px);} */
/* } */

/* Ocultar no mobile para não sobrepor elementos se necessário */
/* @media (max-width: 768px) { */
    /* .scroll-indicator { display: none; } */
/* } */

/* Indicador de Scroll "Anti-Falha" */
.scroll-indicator {
    position: absolute;
    bottom: 20px; /* Ajustado para não sumir na barra de tarefas */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #c5a059; /* Usando seu dourado padrão */
    text-decoration: none;
    z-index: 999;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: sans-serif;
    font-weight: bold;
}

.scroll-arrow {
    font-size: 24px;
    line-height: 1;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}


/* PARA O BOTÃO FLUTUANTE QUE QUERO COLOCAR EM TODAS AS PÁGINAS NO SENTIDO DE AUMENTAR A CTA*/
.whatsapp-flutuante {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 95px; /* Posicionado acima da bolha do Chatbot */
	right: 20px;
	background-color: #25D366; /* Verde Oficial WhatsApp */
	color: #fff !important;
	border-radius: 50%;
	text-align: center;
	font-size: 32px;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
	z-index: 9999;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
}

/* Efeito de hover com a identidade visual do Dr. Lincoln */
.whatsapp-flutuante:hover {
	background-color: #c5a059; /* Transição para o Dourado PhD */
	transform: scale(1.1);
	box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

/* Ícone centralizado */
.whatsapp-flutuante i {
	display: block;
	line-height: 60px;
}

/* Animação de Pulso (Padrão de Notificação) */
.whatsapp-flutuante::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #25D366;
	opacity: 0.5;
	z-index: -1;
	animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
	0% { transform: scale(1); opacity: 0.5; }
	100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip/Etiqueta (Opcional - aparece ao passar o mouse) */
.whatsapp-flutuante:after {
	content: "Falar com o Perito";
	position: absolute;
	right: 75px;
	background: #1a1a1a;
	color: #fff;
	padding: 8px 15px;
	border-radius: 8px;
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: 0.3s;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.whatsapp-flutuante:hover:after {
	opacity: 1;
	right: 80px;
}
