/* =========================================
   1. CONFIGURAÇÕES GERAIS (NOVO TEMA)
   ========================================= */
:root {
    /* NOVA PALETA DE CORES */
    --color-bg-deep: #000000;      /* Preto Absoluto */
    --color-bg-card: #0a0a0a;      /* Preto Suave para cartões */
    --color-text-white: #FFFFFF;   /* Branco Puro */
    --color-text-grey: #B0B0B0;    /* Cinza para textos longos */
    
    /* A COR DO LED (Verde Claro Neon) */
    --color-led: #00FFA3;          
    
    /* Fontes */
    --font-title: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text-white);
    line-height: 1.6;
    background-color: var(--color-bg-deep); /* Fundo Geral Preto */
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-text-white);
}

a { text-decoration: none; transition: all 0.4s ease; }

/* =========================================
   2. EFEITO LED NOS BOTÕES (A MÁGICA)
   ========================================= */

/* Botão Principal com Efeito LED */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px; /* Borda arredondada moderna */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.4s;
}

/* Estilo LED Verde (Substitui o btn-primary e btn-gold) */
.btn-gold, .btn-primary {
    background-color: transparent;
    color: var(--color-led);
    border: 1px solid var(--color-led);
    /* O EFEITO NEON/LED */
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.2), 
                inset 0 0 10px rgba(0, 255, 163, 0.1); 
}

.btn-gold:hover, .btn-primary:hover {
    background-color: var(--color-led);
    color: #000; /* Texto fica preto no hover para leitura */
    /* AUMENTA O BRILHO NO HOVER */
    box-shadow: 0 0 20px rgba(0, 255, 163, 0.6), 
                0 0 40px rgba(0, 255, 163, 0.4);
    transform: translateY(-3px);
}

/* Botão Outline (Secundário) */
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--color-text-white);
    background-color: #fff;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* =========================================
   3. CABEÇALHO / MENU
   ========================================= */
header {
    background-color: rgba(0, 0, 0, 0.8); /* Vidro fumê */
    backdrop-filter: blur(10px); /* Efeito Blur moderno */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-text-white);
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--color-text-grey);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--color-led);
    text-shadow: 0 0 8px var(--color-led);
}

/* Botão do Menu */
.btn-nav {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 25px;
    border-radius: 30px;
    color: #fff !important;
}

.btn-nav:hover {
    border-color: var(--color-led);
    background-color: transparent;
    box-shadow: 0 0 10px var(--color-led);
}

/* =========================================
   4. HERO SECTION (TOPO) - COM IMAGEM DE FUNDO
   ========================================= */
.hero {
    height: 100vh; /* Altura total da tela */
    display: flex;
    align-items: center;
    position: relative;
    
    /* CONFIGURAÇÃO DA IMAGEM DE FUNDO */
    background-image: url('fundo-home.png'); 
    background-size: 500px;      /* Faz a imagem cobrir tudo sem distorcer */
    background-position: center; /* Centraliza o logo da imagem */
    background-repeat: no-repeat;
    background-attachment: fixed; /* EFEITO LUXO: A imagem fica parada enquanto o site rola */
    
    padding-top: 80px;
    overflow: hidden;
}

/* Camada escura sobre a imagem para o texto aparecer */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente preto semi-transparente */
    /* Deixa o centro um pouco mais visível, mas escurece geral */
    background: radial-gradient(circle, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    z-index: 2; /* Garante que o texto fique ACIMA da imagem e da sombra */
    position: relative;
    padding: 0 20px;
    /* Adiciona uma sombra extra atrás do texto para garantir leitura máxima */
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* O resto continua igual... */
.hero-content::before {
    content: '';
    position: absolute;
    left: 0; /* Ajustei para 0 para ficar alinhado no container */
    top: 0;
    height: 100%;
    width: 3px; /* Um pouco mais grosso para destacar */
    background: linear-gradient(to bottom, transparent, var(--color-led), transparent);
    box-shadow: 0 0 15px var(--color-led); /* Brilho neon na linha */
}

.hero-tag {
    color: var(--color-led);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem; /* Um pouco maior */
    display: block;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 163, 0.6);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: #e0e0e0; /* Texto um pouco mais claro para contrastar com a foto */
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 400;
}

/* =========================================
   5. SEÇÕES CONTEÚDO (SOBRE / SERVIÇOS)
   ========================================= */

/* Transição de cores: Fundo Preto Card */
.section-light, .section-dark, .section-cta {
    background-color: var(--color-bg-deep);
    padding: 100px 0;
    color: var(--color-text-white);
    border-top: 1px solid #111;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.text-center { text-align: center; }

.divider {
    width: 80px;
    height: 2px;
    background-color: var(--color-led);
    box-shadow: 0 0 10px var(--color-led);
    margin: 0 auto 50px auto; /* Centralizado */
}

/* Layout Sobre */
.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}
.split-layout .divider { margin: 0 0 30px 0; } /* Alinhado a esquerda no Sobre */

/* Caixa Visual Minimalista */
.luxury-box {
    background: linear-gradient(145deg, #0f0f0f, #050505);
    padding: 60px;
    border: 1px solid #222;
    border-left: 2px solid var(--color-led);
    position: relative;
}

.luxury-box h3 {
    color: var(--color-text-white);
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Cards de Serviços */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--color-bg-card);
    padding: 50px 30px;
    border: 1px solid #1a1a1a;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

/* Efeito Hover no Card */
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-led);
    box-shadow: 0 0 20px rgba(0, 255, 163, 0.1);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--color-led);
    text-shadow: 0 0 15px rgba(0, 255, 163, 0.4);
}

.service-card h3 { color: #fff; margin-bottom: 15px; }
.service-card p { color: #888; font-size: 0.95rem; }

/* =========================================
   6. AUTORIDADE (NUMEROS)
   ========================================= */
/* =========================================
   6. AUTORIDADE (NUMEROS) - AJUSTADO
   ========================================= */
.section-gold {
    background-color: #000000; /* Fundo Preto para continuar a Hero */
    border-bottom: 1px solid #222; /* Linha sutil abaixo */
    padding: 60px 0;
    position: relative;
    z-index: 10; /* Garante que fique acima de elementos decorativos */
}

.authority-flex {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 30px;
}

.auth-item .number {
    display: block;
    font-family: var(--font-title);
    font-size: 4rem; /* Aumentei para dar destaque */
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
    /* Efeito de brilho branco sutil */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); 
}

.auth-item .label {
    color: var(--color-led); /* Verde Neon */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 163, 0.3);
}

/* Responsividade para celular */


/* =========================================
   7. RODAPÉ E CTA
   ========================================= */
.section-cta {
    text-align: center;
    background: radial-gradient(circle at center, #111, #000);
}

.section-cta h2 { font-size: 2.5rem; margin-bottom: 20px; }
.section-cta p { color: #aaa; margin-bottom: 40px; }

.small-contact { margin-top: 30px; color: #555 !important; font-size: 0.8rem; }

footer {
    background-color: #000;
    padding: 60px 0;
    border-top: 1px solid #111;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand h4 { font-size: 1.5rem; letter-spacing: 5px; margin-bottom: 5px; }
.footer-info { text-align: right; color: #444; font-size: 0.8rem; }

/* =========================================
   8. PÁGINA DE CONTATO (AJUSTES DARK)
   ========================================= */
.page-header {
    background-color: var(--color-bg-deep);
    padding: 160px 0 80px 0;
    text-align: center;
    border-bottom: 1px solid #111;
}
.page-header p { color: var(--color-led); letter-spacing: 3px; }

.contact-page-section {
    background-color: var(--color-bg-deep);
    border-top: none;
}

.contact-info-box {
    background-color: var(--color-bg-card);
    border: 1px solid #222;
    color: #fff;
}

.contact-info-box h2 { color: #fff; }

.info-list .icon {
    background-color: #111;
    color: var(--color-led);
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.1);
}

.details strong { color: #fff; }
.details p, .details a { color: #888; }

.map-box {
    border: 1px solid var(--color-led);
    box-shadow: 0 0 20px rgba(0, 255, 163, 0.1);
    filter: grayscale(100%) invert(92%) contrast(83%); /* Mapa estilo Dark Mode */
}

/* Área de Equipe (Cards) */
.team-hidden { border-top: 1px solid #222; }

/* Cartão Individual */
.team-card {
    background-color: var(--color-bg-card);
    border: 1px solid #222;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    transition: 0.4s;
    position: relative;
    /* SEGURANÇA: Impede que o cartão fique gigante se houver poucos na tela */
    max-width: 400px; 
    width: 100%;
    margin: 0 auto; /* Centraliza o card na própria célula do grid */
}

.team-card:hover {
    border-bottom: 3px solid var(--color-led);
    box-shadow: 0 10px 30px rgba(0, 255, 163, 0.05);
}

.img-wrapper img { border-color: #222; }
.card-info h4 { color: #fff; }
.role { color: var(--color-led); }
.department { color: #777; }

/* Botão Toggle */
.btn-outline-gold {
    border-color: var(--color-led);
    color: var(--color-led);
}
.btn-outline-gold:hover {
    background-color: var(--color-led);
    color: #000;
    box-shadow: 0 0 15px var(--color-led);
}

/* =========================================
   9. RESPONSIVIDADE
   ========================================= */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .split-layout, .contact-grid, .authority-flex, .footer-content { flex-direction: column; gap: 40px; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .text-block { text-align: center; }
    .split-layout .divider { margin: 0 auto 30px auto; }
    .footer-info { text-align: center; }
}
/* =========================================
   9. PÁGINA DE CONTATO - CORREÇÃO DARK/LED
   ========================================= */

/* Cabeçalho da página interna */
.page-header {
    background-color: var(--color-bg-deep);
    padding: 150px 0 60px 0; /* Espaço para o menu fixo */
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}

.page-header h1 {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.page-header p {
    color: var(--color-led);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-top: 10px;
    text-shadow: 0 0 5px rgba(0, 255, 163, 0.4);
}

/* Container Principal do Contato */
.contact-page-section {
    background-color: var(--color-bg-deep);
    padding: 80px 0;
}

/* Grid que coloca Info e Mapa lado a lado */
.contact-grid {
    display: flex;
    gap: 40px;
    align-items: stretch; /* Garante mesma altura */
}

/* Caixa de Informações (Esquerda) */
.contact-info-box {
    flex: 1; /* Ocupa 50% */
    background-color: var(--color-bg-card); /* Fundo Cinza Quase Preto */
    padding: 50px;
    border: 1px solid #222;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* Sombra preta */
}

.contact-info-box h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Lista de ícones e textos */
.info-list {
    list-style: none;
    margin: 40px 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-list .icon {
    font-size: 1.5rem;
    margin-right: 20px;
    /* Estilo do ícone redondo e neon */
    background-color: rgba(0, 255, 163, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-led);
    border: 1px solid rgba(0, 255, 163, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.1);
}

.details strong {
    display: block;
    color: #fff;
    font-family: var(--font-title);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.details p, .details a {
    color: #888; /* Cinza para leitura */
    font-size: 1rem;
}

.details a:hover {
    color: var(--color-led);
}

/* Caixa do Mapa (Direita) */
.map-box {
    flex: 1; /* Ocupa 50% */
    min-height: 500px;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    /* FILTRO MÁGICO: Transforma o mapa branco do Google em Dark Mode */
    filter: grayscale(100%) invert(92%) contrast(90%);
    transition: filter 0.3s;
}

.map-box:hover {
    /* Ao passar o mouse, traz um pouco de cor de volta e brilha a borda */
    filter: grayscale(80%) invert(92%) contrast(90%);
    border-color: var(--color-led);
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.2);
}

/* Botões de Largura Total */
.full-width {
    display: block;
    width: 100%;
    text-align: center;
}

/* Botão Toggle (Mostrar Mais) */
.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--color-led); /* Verde Neon */
    color: var(--color-led);
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-outline-gold:hover {
    background-color: var(--color-led);
    color: #000; /* Texto preto no fundo neon */
    box-shadow: 0 0 20px var(--color-led);
}

/* =========================================
   10. ÁREA DE EQUIPE (CARDÁPIO DE PESSOAS)
   ========================================= */

.team-hidden {
    display: none; /* Começa oculto */
    margin-top: 80px;
    border-top: 1px solid #222;
    padding-top: 80px;
    animation: fadeIn 0.8s ease;
}

.team-visible { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.team-header { text-align: center; margin-bottom: 50px; }
.team-header h3 { color: #fff; font-size: 2.5rem; margin-bottom: 10px; }
.team-header p { color: #888; }

/* Grid Inteligente */
.team-grid {
    display: grid;
    /* MÁGICA: Cria colunas de no mínimo 260px. Se sobrar espaço, divide igual (1fr) */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 30px;
    width: 100%;
    /* Centraliza o grid na tela */
    justify-content: center; 
}

.team-card {
    background-color: var(--color-bg-card);
    border: 1px solid #222;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    transition: 0.4s;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-led);
    box-shadow: 0 0 20px rgba(0, 255, 163, 0.1); /* Brilho suave */
}

/* Imagem da Equipe */
.img-wrapper img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
    margin-bottom: 20px;
    filter: grayscale(100%); /* Fotos em P&B para estilo */
    transition: 0.4s;
}

.team-card:hover .img-wrapper img {
    filter: grayscale(0%); /* Foto colorida no hover */
    border-color: var(--color-led);
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.5);
}

.card-info h4 { font-size: 1.2rem; color: #fff; margin-bottom: 5px; }
.role { font-size: 0.8rem; color: var(--color-led); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 5px; font-weight: bold;}
.department { font-size: 0.9rem; color: #666; margin-bottom: 20px; font-style: italic; }

/* Link de contato do card */
.contact-link {
    display: inline-block;
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1px solid #444;
    border-radius: 30px;
    transition: 0.3s;
}

.contact-link:hover {
    border-color: var(--color-led);
    color: var(--color-led);
    background: rgba(0, 255, 163, 0.05);
}

/* Responsividade da Página de Contato */
@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column; /* Empilha no celular */
    }
    
    .map-box {
        min-height: 300px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
}
/* =========================================
   11. NOVAS SEÇÕES (INFO E TIMELINE)
   ========================================= */

/* --- Cards de Comparação (Marca vs Patente) --- */
.info-section {
    padding-bottom: 50px;
}

.comparison-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    position: relative;
}

.info-card {
    flex: 1;
    max-width: 450px;
    background: linear-gradient(145deg, #0a0a0a, #000);
    border: 1px solid #222;
    padding: 40px;
    border-radius: 15px;
    position: relative;
    transition: 0.4s;
    /* Sombra interna para profundidade */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.info-card:hover {
    border-color: var(--color-led);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 163, 0.1);
}

.info-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 20px 0;
}

.card-icon {
    font-size: 3rem;
    color: var(--color-led);
    text-shadow: 0 0 15px rgba(0, 255, 163, 0.4);
}

.definition {
    color: #aaa;
    margin-bottom: 20px;
    font-style: italic;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.check-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.check-list li {
    color: #ddd;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* O checkzinho verde antes de cada item */
.check-list li::before {
    content: '✓';
    color: var(--color-led);
    margin-right: 10px;
    font-weight: bold;
}

.highlight-text {
    color: var(--color-led);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* O círculo "VS" no meio */
.vs-circle {
    width: 60px;
    height: 60px;
    background-color: #111;
    border: 2px solid var(--color-led);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-family: var(--font-title);
    z-index: 2;
    box-shadow: 0 0 15px var(--color-led);
}

/* --- Timeline do Processo --- */
.section-process {
    background-color: #050505; /* Um pouco diferente do preto absoluto */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0 auto;
}

/* A linha vertical conectando tudo */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-led), transparent);
    box-shadow: 0 0 10px var(--color-led);
    z-index: 0; /* CORREÇÃO: Camada mais baixa (fundo) */
}

.timeline-item {
    display: flex;
    justify-content: flex-end; /* Itens ímpares na esquerda */
    padding-right: 50px;
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    clear: both;
}

/* Itens pares (direita) */
.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50px;
    margin-left: 50%; /* Joga para o lado direito */
}

/* A bolinha do número */
.dot {
    position: absolute;
    right: -25px;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #050505; /* CORREÇÃO: Fundo da cor da seção para esconder a linha atrás */
    border: 2px solid var(--color-led);
    border-radius: 50%;
    z-index: 10; /* CORREÇÃO: Camada bem alta para ficar ACIMA da linha */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-led);
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.3);
    transition: 0.3s;
}

/* Ajuste da bolinha para o lado direito */
.timeline-item:nth-child(even) .dot {
    right: auto;
    left: -25px;
}

.timeline-item:hover .dot {
    background-color: var(--color-led);
    color: #000;
    box-shadow: 0 0 25px var(--color-led);
    transform: scale(1.1);
}

.content {
    background-color: #0a0a0a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #222;
    text-align: right;
    width: 100%;
    transition: 0.3s;
}

.timeline-item:nth-child(even) .content {
    text-align: left;
}

.timeline-item:hover .content {
    border-color: var(--color-led);
    transform: translateX(-5px);
}

.timeline-item:nth-child(even):hover .content {
    transform: translateX(5px);
}

.content h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.content p {
    color: #888;
    font-size: 0.95rem;
}

/* --- Classe de Animação (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade da Timeline e Cards */
@media (max-width: 768px) {
    /* Cards empilhados */
    .comparison-grid { flex-direction: column; gap: 20px; }
    .vs-circle { transform: rotate(90deg); margin: 10px 0; }
    
    /* Timeline no Mobile */
    .timeline-line { left: 20px; } /* Linha vai para a esquerda */
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
        margin-left: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 60px;
    }
    
    .dot, .timeline-item:nth-child(even) .dot {
        left: -5px; /* Ajusta bolinha na nova linha */
        right: auto;
    }
    
    .content, .timeline-item:nth-child(even) .content {
        text-align: left; /* Tudo alinhado a esquerda */
    }
}
/* =========================================
   12. PÁGINA DE LOGIN (ACESSO RESTRITO)
   ========================================= */

.login-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Reutiliza a imagem de fundo do escritório */
    background-image: url('fundo-home.jpg');
    background-size: cover;
    background-position: center;
}

/* Camada mais escura que a da home para focar no formulário */
.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* 85% preto */
    backdrop-filter: blur(5px); /* Desfoque leve no fundo */
    z-index: 1;
}

/* O Cartão de Login */
.login-container {
    position: relative;
    z-index: 2;
    background-color: rgba(10, 10, 10, 0.95);
    border: 1px solid #333;
    padding: 50px 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transition: 0.4s;
}

/* Efeito Neon no Hover do Cartão */
.login-container:hover {
    border-color: #222;
    box-shadow: 0 0 30px rgba(0, 255, 163, 0.05);
}

.login-header { text-align: center; margin-bottom: 30px; }
.login-header h2 { font-size: 2rem; color: #fff; margin-bottom: 10px; }
.login-header p { color: #888; font-size: 0.9rem; }
.login-header .divider { margin: 20px auto; width: 50px; }

/* Inputs */
.input-group {
    margin-bottom: 25px;
    text-align: left;
}

.input-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    background-color: #050505;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

/* Efeito Neon ao Clicar no Input */
.input-group input:focus {
    border-color: var(--color-led);
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.2);
}

/* Wrapper da Senha para colocar o ícone dentro */
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.toggle-password:hover { opacity: 1; transform: translateY(-50%) scale(1.1); }

/* Links e Ações */
.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.forgot-pass {
    color: #888;
    font-size: 0.85rem;
    transition: 0.3s;
}

.forgot-pass:hover { color: var(--color-led); }

.login-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.login-footer a {
    color: var(--color-led);
    font-weight: bold;
}

/* Mensagem de Feedback (Erro/Sucesso) */
.login-msg {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 20px;
}
.msg-error { color: #ff4d4d; }
.msg-success { color: var(--color-led); }
/* =========================================
   13. BOTÃO DE LOGIN NO MENU
   ========================================= */

.login-link {
    color: var(--color-led) !important; /* Força a cor verde neon */
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s;
    display: flex; /* Alinha o ícone com o texto */
    align-items: center;
}

/* Efeito ao passar o mouse: Brilho intenso */
.login-link:hover {
    color: #fff !important; /* Fica branco */
    text-shadow: 0 0 10px var(--color-led), 0 0 20px var(--color-led); /* Sombra neon */
    transform: scale(1.05); /* Aumenta levemente */
}

/* Responsividade: No celular, dá um espaço extra */
@media (max-width: 768px) {
    .login-link {
        margin-bottom: 10px;
        display: inline-block;
    }
}
/* =========================================
   14. DASHBOARD DO CLIENTE
   ========================================= */

.dashboard-body {
    background-color: var(--color-bg-deep);
    overflow: hidden; /* Evita rolagem na página inteira, rola só o conteúdo */
}

/* Header do Dashboard */
.dash-header {
    background-color: #050505;
    border-bottom: 1px solid #1a1a1a;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.dash-logo { font-family: var(--font-title); font-size: 1.2rem; color: #fff; letter-spacing: 2px; }

.user-profile { display: flex; align-items: center; gap: 15px; }
#client-name { font-size: 0.9rem; font-weight: bold; }
#client-avatar { width: 35px; height: 35px; border-radius: 50%; border: 1px solid var(--color-led); }
.logout-btn { color: #888; font-size: 0.8rem; text-decoration: underline; }

/* Layout Grid (Sidebar + Main) */
.dash-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    height: 100vh;
    padding-top: 65px; /* Compensa o header fixo */
}

/* Sidebar */
.sidebar {
    background-color: #0a0a0a;
    border-right: 1px solid #1a1a1a;
    padding: 20px 0;
}

.side-nav { display: flex; flex-direction: column; }

.nav-item {
    background: transparent;
    border: none;
    color: #888;
    padding: 15px 30px;
    text-align: left;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover { color: #fff; background-color: #111; }
.nav-item.active { color: var(--color-led); border-left-color: var(--color-led); background-color: rgba(0, 255, 163, 0.05); }

/* Conteúdo Principal */
.dash-main {
    padding: 40px;
    background-color: var(--color-bg-deep);
    overflow-y: auto; /* Rolagem apenas no conteúdo */
}

.dash-header-title h2 { font-size: 2rem; margin-bottom: 5px; }
.dash-header-title p { color: #666; font-size: 0.9rem; margin-bottom: 30px; }

/* Sistema de Abas */
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }

/* Tabelas estilo Dashboard */
.table-container { background: #0a0a0a; border: 1px solid #222; border-radius: 8px; overflow: hidden; }

.dash-table { width: 100%; border-collapse: collapse; text-align: left; color: #fff; }
.dash-table th { background-color: #111; padding: 15px; font-size: 0.85rem; text-transform: uppercase; color: #888; border-bottom: 1px solid #222; }
.dash-table td { padding: 15px; border-bottom: 1px solid #1a1a1a; font-size: 0.9rem; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover { background-color: rgba(0, 255, 163, 0.02); }

/* Badges de Status (PostgreSQL Enums simulados) */
.badge { padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; }
.badge-success { background: rgba(0, 255, 163, 0.1); color: var(--color-led); border: 1px solid var(--color-led); }
.badge-warning { background: rgba(255, 204, 0, 0.1); color: #ffcc00; border: 1px solid #ffcc00; }
.badge-danger { background: rgba(255, 77, 77, 0.1); color: #ff4d4d; border: 1px solid #ff4d4d; }

/* Grid Documentos */
.grid-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.doc-card { background: #0a0a0a; border: 1px solid #222; padding: 20px; text-align: center; border-radius: 8px; transition: 0.3s; }
.doc-card:hover { border-color: var(--color-led); transform: translateY(-5px); }
.doc-icon { font-size: 2rem; margin-bottom: 10px; }
.doc-name { color: #fff; font-size: 0.9rem; font-weight: bold; }
.doc-date { color: #666; font-size: 0.8rem; margin-bottom: 10px; }

/* Card Resumo (Marca) */
.brand-card { background: #0a0a0a; border: 1px solid #222; padding: 30px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; }
.brand-info h3 { font-size: 1.5rem; color: #fff; margin-bottom: 5px; }
.brand-info p { color: #888; font-size: 0.9rem; }
.brand-status { text-align: right; }
/* =========================================
   15. DASHBOARD - ESTATÍSTICAS (NOVO)
   ========================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #0a0a0a;
    border: 1px solid #222;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.stat-card:hover { transform: translateY(-3px); }

/* Cores das Bordas baseadas no tipo */
.stat-card.blue { border-left: 4px solid #3399ff; }   /* Abertas */
.stat-card.red { border-left: 4px solid #ff4d4d; }    /* Vencidas */
.stat-card.green { border-left: 4px solid var(--color-led); } /* Pagas */
.stat-card.purple { border-left: 4px solid #9b59b6; } /* Processos */

.stat-card h4 {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-card .value {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: #fff;
    font-weight: bold;
}

.stat-card .icon-bg {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    opacity: 0.1;
    color: #fff;
}
/* =========================================
   16. MODAL DE PAGAMENTO (CHECKOUT)
   ========================================= */

.modal-overlay {
    display: none; /* Começa invisível */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px); /* Desfoque no fundo */
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background-color: #0a0a0a;
    border: 1px solid var(--color-led);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 255, 163, 0.1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover { color: #fff; }

.modal-header h3 { font-size: 1.8rem; color: #fff; margin-bottom: 5px; }
.modal-header p { color: #888; font-size: 0.9rem; margin-bottom: 20px; }

.invoice-summary {
    background-color: #111;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #222;
}

.invoice-summary p { color: #ccc; }
.highlight-value { color: var(--color-led); font-size: 1.2rem; }

.qr-container img {
    border: 5px solid #fff;
    border-radius: 10px;
    margin-bottom: 20px;
}

.copy-paste-box { text-align: left; margin-bottom: 30px; }
.copy-paste-box label { color: #888; font-size: 0.8rem; display: block; margin-bottom: 5px; }

.input-copy-wrapper { display: flex; gap: 10px; }

.input-copy-wrapper input {
    flex: 1;
    background: #050505;
    border: 1px solid #333;
    color: #888;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    outline: none;
}

.btn-copy {
    background: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 0 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-copy:hover { border-color: var(--color-led); color: var(--color-led); }

.modal-actions { display: flex; gap: 15px; justify-content: center; }
/* =========================================
   17. DASHBOARD ADMIN (ESPECÍFICO)
   ========================================= */

/* Botões de Ação na Tabela (Pequenos) */
.action-btn-group {
    display: flex;
    gap: 10px;
}

.btn-icon {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover { border-color: var(--color-gold); color: var(--color-gold); }
.btn-icon.delete:hover { border-color: #ff4d4d; color: #ff4d4d; }

/* Gráfico de Barras Financeiro (CSS Puro) */
.financial-chart-box {
    background-color: #0a0a0a;
    border: 1px solid #222;
    padding: 30px;
    border-radius: 10px;
}

.bar-group {
    margin-bottom: 20px;
}

.bar-fill {
    height: 25px;
    border-radius: 4px;
    margin-bottom: 5px;
    position: relative;
    animation: growBar 1s ease-out;
}

.bar-fill.green { background: linear-gradient(90deg, var(--color-primary), var(--color-led)); }
.bar-fill.yellow { background: linear-gradient(90deg, #bfa03a, #ffd700); }
.bar-fill.red { background: linear-gradient(90deg, #8b0000, #ff4d4d); }

.bar-label { color: #aaa; font-size: 0.85rem; }

@keyframes growBar {
    from { width: 0; }
}
/* Torna os cards do Admin clicáveis */
#adm-stats-container .stat-card {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

#adm-stats-container .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-color: #fff; /* Realça a borda ao passar o mouse */
}
/* =========================================
   18. MODAL DE GESTÃO (TESTE BARRA PADRÃO)
   ========================================= */

.modal-overlay.full-screen {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.9); z-index: 2000;
    align-items: center; justify-content: center;
}
.modal-overlay.full-screen.active { display: flex !important; }

#client-manager-modal .modal-content.large-content {
    background: #050505; border: 1px solid #333;
    width: 95% !important; max-width: 1100px;
    height: 85vh !important; /* Altura total do modal */
    
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important; /* Importante */
}

/* Header e Tabs fixos */
.manager-header, .manager-tabs {
    flex-shrink: 0 !important; /* Não encolhem */
    width: 100%;
    background: #111;
}

/* Área de Rolagem */
#client-manager-modal .manager-body {
    flex-grow: 1 !important;  /* Cresce para ocupar o resto */
    min-height: 0 !important; /* OBRIGATÓRIO PARA SCROLL FLEX */
    height: 100% !important;
    
    overflow-y: scroll !important; /* Força aparecer a barra lateral sempre */
    overflow-x: hidden;
    
    padding: 30px;
    background: #050505;
}

/* REMOVIDO A ESTILIZAÇÃO DO WEBKIT SCROLLBAR 
   (Vai aparecer a barra cinza padrão do navegador para testar) */

/* Layout interno */
.manager-header { padding: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid #222; }
.manager-tabs { display: flex; border-bottom: 1px solid #222; height: 50px; }
.m-tab { flex: 1; border:none; background:none; color:#888; font-weight:bold; cursor:pointer; }
.m-tab:hover { background: #222; }
.m-tab.active { color: var(--color-led); border-bottom: 3px solid var(--color-led); }

.action-bar { display: flex; justify-content: space-between; margin-bottom: 20px; }
.table-container { width: 100%; overflow-x: auto; padding-bottom: 50px; }
.dash-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.dash-table th, .dash-table td { padding: 12px; text-align: left; border-bottom: 1px solid #222; }
/* =========================================
   20. ESTILIZAÇÃO FINAL (FORMULÁRIOS E SCROLL)
   ========================================= */

/* 1. Maquiagem dos Formulários (Inputs Brancos -> Pretos) */
.creation-form {
    background-color: #0f0f0f;
    border: 1px solid #222;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid var(--color-gold); /* Detalhe Dourado na borda */
    animation: fadeIn 0.3s ease;
}

.creation-form h5 {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

/* O Grid que organiza os inputs em 2 colunas */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* Espaço entre os campos */
}

/* Campos que ocupam a largura total */
.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: bold;
}

/* O GRANDE SEGREDO: Pintar os inputs de preto */
.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    
    background-color: #000 !important; /* Fundo Preto */
    color: #fff !important;            /* Texto Branco */
    border: 1px solid #333 !important; /* Borda Cinza */
    
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}

/* Efeito ao clicar no campo */
.form-group input:focus, 
.form-group select:focus {
    border-color: var(--color-led) !important; /* Borda Neon */
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.1);
}

.form-actions-bar {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #222;
}

/* 2. Maquiagem da Barra de Rolagem (Deixar escura) */

/* Funciona no Chrome, Edge, Opera e Safari */
#client-manager-modal .manager-body::-webkit-scrollbar {
    width: 10px; /* Largura da barra */
}

#client-manager-modal .manager-body::-webkit-scrollbar-track {
    background: #0a0a0a; /* Fundo do trilho (quase preto) */
}

#client-manager-modal .manager-body::-webkit-scrollbar-thumb {
    background-color: #333; /* Cor da barra (cinza escuro) */
    border-radius: 5px;
    border: 2px solid #0a0a0a; /* Espaço em volta */
}

#client-manager-modal .manager-body::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-led); /* Fica neon quando passa o mouse */
}

/* 3. Ajuste fino na tabela para ela não colar na barra */
.dash-table {
    margin-top: 10px;
    border: 1px solid #222;
}
.dash-table th {
    background-color: #111;
    color: var(--color-gold); /* Cabeçalho dourado */
}
/* REGRA CRÍTICA PARA AS ABAS FUNCIONAREM */
.m-content { 
    display: none !important; /* Esconde tudo por padrão */
}

.m-content.active { 
    display: block !important; /* Mostra SÓ quem tem a classe active */
    animation: fadeIn 0.4s ease;
}
/* =========================================
   ESTILO DOS CARDS DE PROCESSO E DOCUMENTOS
   ========================================= */

/* O Card do Processo (Fundo Escuro e Borda) */
.edit-process-card {
    background-color: #111;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    /* Linha verde na lateral para identificar */
    border-left: 4px solid var(--color-led); 
}

/* Os Inputs dentro do card (Para editar Nome/Status) */
.edit-process-card label {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 5px;
    margin-top: 10px;
}

.edit-process-card input.edit-input {
    width: 100%;
    background-color: #000;
    border: 1px solid #444;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* O texto "Atualização" */
.process-meta {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
    text-align: right;
}

/* Botão de Salvar dentro do Card */
.btn-save-card {
    margin-top: 15px;
    background-color: var(--color-primary);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}
.btn-save-card:hover { background-color: var(--color-led); color: #000; }

/* Grid de Documentos (Para não ficarem um embaixo do outro gigante) */
.grid-docs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Estilo do Arquivo (Doc Card) */
.doc-card {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}
.doc-card:hover { border-color: var(--color-gold); transform: translateY(-3px); }

.doc-icon { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.doc-name { color: #fff; font-size: 0.9rem; font-weight: bold; margin-bottom: 5px; display: block; }
.doc-date { color: #666; font-size: 0.75rem; margin-bottom: 15px; display: block; }
/* =========================================
   21. BARRA DE PESQUISA (CORREÇÃO DE ESTILO)
   ========================================= */

.search-bar-container {
    position: relative;
    margin-bottom: 25px;
    margin-top: 15px;
    max-width: 600px; /* Para não ficar gigante em telas largas */
}

/* O Campo de Texto (Input) */
#client-search-input {
    width: 100%;
    /* Espaço na esquerda (45px) para o ícone não cobrir o texto */
    padding: 15px 15px 15px 50px; 
    
    background-color: #050505;
    border: 1px solid #333;
    color: #fff; /* Texto branco */
    
    border-radius: 50px; /* Bordas bem redondas */
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

/* Efeito ao clicar para digitar */
#client-search-input:focus {
    border-color: var(--color-led);
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.15);
    background-color: #000;
}

/* O Ícone de Lupa */
.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%); /* Centraliza verticalmente */
    color: #666; /* Cinza discreto */
    font-size: 1.2rem;
    pointer-events: none; /* Permite clicar no input através do ícone */
}

/* Mudança de cor do ícone quando foca no input */
#client-search-input:focus + .search-icon {
    color: var(--color-led);
}
/* =========================================
   22. FINANCEIRO GLOBAL (ESTILOS AVANÇADOS)
   ========================================= */

/* Resumo Financeiro (Cards no Topo) */
.financial-dashboard-top {
    background-color: #0a0a0a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.chart-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 20px;
}

.summary-item {
    flex: 1;
    background: #111;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #555;
}

.summary-item.green { border-color: var(--color-led); }
.summary-item.yellow { border-color: #ffcc00; }
.summary-item.red { border-color: #ff4d4d; }

.summary-item span { display: block; color: #888; font-size: 0.8rem; text-transform: uppercase; }
.summary-item strong { display: block; color: #fff; font-size: 1.4rem; margin: 5px 0; }
.summary-item small { color: #666; font-size: 0.8rem; }

/* Barra de Gráfico Segmentada */
.chart-bars {
    height: 15px;
    background-color: #222;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    margin-bottom: 10px;
}

.bar-segment { height: 100%; transition: width 1s ease; }
.bar-segment.green { background-color: var(--color-led); box-shadow: 0 0 10px rgba(0, 255, 163, 0.4); }
.bar-segment.yellow { background-color: #ffcc00; }
.bar-segment.red { background-color: #ff4d4d; }

.chart-legend { display: flex; gap: 20px; justify-content: flex-end; }
.chart-legend span { font-size: 0.8rem; color: #888; display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Botões de Filtro */
.filter-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-label { color: #fff; font-weight: bold; }

.filter-group {
    display: flex;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
}

.filter-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-right: 1px solid #333;
    transition: 0.3s;
}

.filter-btn:last-child { border-right: none; }

.filter-btn:hover { background-color: #1a1a1a; color: #fff; }

.filter-btn.active {
    background-color: #222;
    color: #fff;
    box-shadow: inset 0 -3px 0 var(--color-gold);
}
/* =========================================
   24. PÁGINA DE CONFIGURAÇÕES
   ========================================= */

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colunas */
    gap: 30px;
}

/* Card de Configuração */
.settings-card {
    background-color: #0a0a0a;
    border: 1px solid #222;
    padding: 30px;
    border-radius: 10px;
}

.settings-card.full-width {
    grid-column: 1 / -1; /* Ocupa a largura total embaixo */
}

.card-header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.card-header-line h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}

/* Item de Integração */
.integration-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.int-info strong { display: block; color: #fff; }
.int-info p { color: #888; font-size: 0.85rem; margin: 0; }

/* --- TOGGLE SWITCH (BOTÃO DE INTERRUPTOR) --- */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--color-led);
}

input:checked + .slider:before {
    transform: translateX(24px);
    background-color: #000;
}

/* Responsividade */
@media (max-width: 900px) {
    .settings-grid { grid-template-columns: 1fr; }
}
/* =========================================
   26. MODAL NOVO USUÁRIO
   ========================================= */

/* Seletor de Tipo (Abas Grandes) */
.user-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    background-color: #050505;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #222;
}

.type-btn {
    flex: 1;
    background: transparent;
    border: 1px solid transparent;
    color: #666;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95rem;
    transition: 0.3s;
    text-align: center;
}

.type-btn:hover { color: #fff; }

/* Botão Ativo (Muda de cor dependendo do contexto, aqui usamos verde e dourado) */
.type-btn.active {
    background-color: #111;
    color: #fff;
    border-color: #333;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Ajuste específico para o botão Cliente */
#type-btn-client.active { border-color: var(--color-led); color: var(--color-led); }

/* Ajuste específico para o botão Admin */
#type-btn-admin.active { border-color: var(--color-gold); color: var(--color-gold); }

/* Título de Seção dentro do Form */
.form-section-title {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #222;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
/* Estilos do Modal de Checkout */
.input-copy-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
.input-copy-wrapper input {
    flex: 1;
    background: #111;
    border: 1px solid #333;
    color: var(--color-led);
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
}
.btn-copy {
    background: #333;
    color: #fff;
    border: 1px solid #444;
    padding: 0 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-copy:hover {
    background: var(--color-led);
    color: #000;
}
/* =========================================
   ESTILOS DO MODAL DE PAGAMENTO (WHATSAPP)
   ========================================= */

.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.pay-btn {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
    color: #fff;
    text-align: center;
}

.pay-btn:hover {
    transform: translateY(-5px);
    border-color: var(--color-led);
    box-shadow: 0 5px 15px rgba(0, 255, 163, 0.15);
    background-color: #1a1a1a;
}

.pay-btn .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.pay-btn span {
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.pay-btn small {
    color: #888;
    font-size: 0.7rem;
    margin-top: 5px;
}

/* No celular, botões ficam um embaixo do outro */
@media (max-width: 600px) {
    .payment-options-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   CHECKBOX DE TERMOS E BOTÕES BLOQUEADOS
   ========================================= */

.terms-container {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 20px;
    text-align: left;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 10px;
    font-size: 0.85rem;
    color: #e0e0e0;
}

.terms-label input {
    margin-top: 3px;
    cursor: pointer;
    transform: scale(1.2); /* Aumenta um pouco a caixinha */
    accent-color: var(--color-led); /* Deixa a caixinha verde quando marcada */
}

/* Estilo do Botão Bloqueado (Disabled) */
.pay-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(100%);
    border-color: #333;
    transform: none !important;
    box-shadow: none !important;
}
/* =========================================
   SISTEMA DE NOTIFICAÇÕES (TOASTS)
   ========================================= */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: #0a0a0a;
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    border-left: 4px solid var(--color-led);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    font-family: var(--font-body);
    font-size: 0.9rem;
    min-width: 250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: toastSlideIn 0.4s ease forwards;
    position: relative;
}

.toast.error {
    border-left-color: #ff4d4d;
}

.toast.info {
    border-left-color: var(--color-gold);
}

.toast-closing {
    animation: toastSlideOut 0.4s ease forwards;
}

@keyframes toastSlideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}
.contact-form-wrapper {
    max-width: 800px;
    margin: 40px auto 0 auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 15px;
}

#home-contact-form textarea {
    width: 100%;
    background-color: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    font-family: inherit;
    outline: none;
    resize: none;
}

#home-contact-form textarea:focus {
    border-color: var(--color-led);
}
/* Cores para os novos nomes de status em Português */
.badge-paga { background: rgba(0, 255, 163, 0.1); color: var(--color-led); border: 1px solid var(--color-led); }
.badge-vencida { background: rgba(255, 77, 77, 0.1); color: #ff4d4d; border: 1px solid #ff4d4d; }
.badge-em-aberto { background: rgba(255, 204, 0, 0.1); color: #ffcc00; border: 1px solid #ffcc00; }
/* =========================================
   SISTEMA DE COBRANÇA AGRUPADA (ACCORDION)
   ========================================= */

/* O Container que agrupa o serviço */
.invoice-group {
    background-color: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: 0.3s;
}

/* Cabeçalho que o cliente clica */
.invoice-group-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(to right, #0a0a0a, #111);
    transition: 0.3s;
}

.invoice-group-header:hover {
    background: #111;
    border-left: 4px solid var(--color-led);
}

.group-info h4 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.group-info span {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.group-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chevron-icon {
    transition: transform 0.3s ease;
    color: var(--color-led);
    font-size: 1.2rem;
}

/* Área que expande/recolhe */
.invoice-group-details {
    max-height: 0; /* Começa fechado */
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background-color: #050505;
}

/* Quando estiver ativo (via JS) */
.invoice-group.active .invoice-group-details {
    max-height: 2000px; /* Altura máxima grande para caber as parcelas */
    transition: max-height 0.5s ease-in-out;
    border-top: 1px solid #222;
}

.invoice-group.active .chevron-icon {
    transform: rotate(180deg);
}

/* Ajuste na tabela interna para ficar mais compacta */
.inner-table {
    width: 100%;
    border-collapse: collapse;
}

.inner-table td, .inner-table th {
    padding: 12px 20px;
    font-size: 0.85rem;
    border-bottom: 1px solid #111;
}

.inner-table tr:last-child td {
    border-bottom: none;
}
/* Torna os cards do cliente clicáveis */
#stats-container .stat-card {
    cursor: pointer;
    transition: 0.3s;
}

#stats-container .stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-led);
    box-shadow: 0 5px 15px rgba(0, 255, 163, 0.1);
}

/* Área da Lista Rápida abaixo dos cards */
.quick-list-container {
    background-color: #0a0a0a;
    border: 1px solid var(--color-led);
    border-radius: 10px;
    margin-top: 20px;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.quick-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.quick-list-header h3 {
    font-size: 1.2rem;
    color: var(--color-led);
}

.close-quick-list {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
}

.close-quick-list:hover { color: #fff; }
/* =========================================
   22. RESPONSIVIDADE TOTAL (MOBILE-FIRST)
   ========================================= */

/* Botão Hambúrguer (Escondido no PC) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-led);
    transition: 0.3s;
}

@media (max-width: 900px) {
    /* Mostrar botão menu */
    .mobile-menu-btn { display: flex; }

    /* Transformar menu em Overlay lateral */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido na direita */
        width: 80%;
        height: 100vh;
        background-color: #050505;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s;
        z-index: 1000;
        border-left: 1px solid #222;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* Quando o menu abrir */
    .nav-links.active {
        right: 0;
    }

    /* Ajustes de Texto Hero */
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }

    /* Ajustes de Seções */
    .split-layout { flex-direction: column; gap: 40px; text-align: center; }
    .section-title { font-size: 2.2rem; }
    .comparison-grid { flex-direction: column; }
    .vs-circle { margin: 10px auto; transform: rotate(90deg); }

    /* Dashboard Admin/Cliente */
    .dash-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; } /* No celular usamos menu superior */
    
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 20px; }

    .table-container { 
        overflow-x: auto; /* Permite rolar a tabela pro lado no dedo */
        -webkit-overflow-scrolling: touch;
    }
}

/* Ajuste para o formulário de contato na home */
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    /* Garante que o menu seja um bloco flexível quando ativo */
    .nav-links.active {
        right: 0 !important;
        display: flex !important; 
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Animação das barrinhas do botão (X quando aberto) */
    .mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
    .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

 
.finance-advanced-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.finance-filter-field label {
    display: block;
    margin-bottom: 8px;
    color: #bdbdbd;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.finance-filter-field input,
.finance-filter-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #2b2b2b;
    background: #0a0a0a;
    color: #fff;
}

.finance-filter-field input:focus,
.finance-filter-field select:focus {
    outline: none;
    border-color: var(--color-led);
    box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.12);
}

.finance-filter-actions {
    min-width: 240px;
}

.finance-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.finance-chip-btn {
    border: 1px solid #333;
    border-radius: 999px;
    padding: 11px 16px;
}

.finance-chip-btn.active {
    background: rgba(0, 255, 163, 0.12);
    color: var(--color-led);
    border-color: rgba(0, 255, 163, 0.45);
    box-shadow: inset 0 0 0 1px rgba(0, 255, 163, 0.15);
}

.finance-clear-btn {
    padding: 11px 18px;
    min-height: 46px;
}

.finance-results-meta {
    margin: 4px 0 14px;
    color: #9d9d9d;
    font-size: 0.9rem;
}

.finance-inline-tag {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid rgba(255, 204, 0, 0.28);
    color: #ffd452;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================================
   TEMA CLARO PROFISSIONAL (OVERRIDES)
   ========================================= */
:root {
    /* Paleta clara e robusta */
    --color-bg-deep: #f3f7f5;
    --color-bg-card: #ffffff;
    --color-text-white: #182034;
    --color-text-grey: #5a6a63;
    --color-led: #1b7f5a;   /* Verde institucional */
    --color-gold: #b08a3a;  /* Dourado discreto */
    --color-primary: #1f8e64;
    --color-border: #d7dbe4;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-white);
}

h1, h2, h3, h4 { color: var(--color-text-white); }

header {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
}

.logo { color: var(--color-text-white); text-shadow: none; }
.nav-links a { color: var(--color-text-grey); }
.nav-links a:hover { color: var(--color-led); text-shadow: none; }

.btn {
    box-shadow: none;
}

.btn-gold, .btn-primary {
    background-color: var(--color-led);
    color: #ffffff;
    border: 1px solid var(--color-led);
    box-shadow: 0 10px 25px rgba(27, 127, 90, 0.2);
}

.btn-gold:hover, .btn-primary:hover {
    background-color: #156446;
    border-color: #156446;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(27, 127, 90, 0.28);
}

.btn-outline {
    color: var(--color-text-white);
    border-color: var(--color-border);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-led);
    color: #ffffff;
    border-color: var(--color-led);
    box-shadow: 0 10px 25px rgba(27, 127, 90, 0.2);
}

.btn-nav {
    border-color: var(--color-border);
    color: var(--color-text-white) !important;
}

.btn-nav:hover {
    border-color: var(--color-led);
    box-shadow: none;
}

.hero {
    background-attachment: scroll;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(243, 247, 245, 0.6) 0%, rgba(243, 247, 245, 0.95) 65%);
}

.hero-content {
    text-shadow: none;
}

.hero-content::before {
    background: linear-gradient(to bottom, transparent, var(--color-led), transparent);
    box-shadow: none;
}

.hero-tag {
    color: var(--color-led);
    text-shadow: none;
}

.hero h1 { color: var(--color-text-white); }
.hero p { color: var(--color-text-grey); }

.section-light, .section-dark, .section-cta {
    background-color: var(--color-bg-deep);
    color: var(--color-text-white);
    border-top: 1px solid var(--color-border);
}

.divider {
    background-color: var(--color-led);
    box-shadow: none;
}

.luxury-box,
.service-card,
.info-card,
.team-card,
.contact-info-box,
.table-container,
.doc-card,
.stat-card,
.financial-dashboard-top,
.summary-item,
.settings-card,
.integration-item,
.invoice-group,
.login-container,
.modal-content,
.page-header,
.section-gold,
.sidebar,
.dash-main,
.dash-header,
.dash-layout,
.contact-form-wrapper,
.quick-list-container,
.payment-options-grid .pay-btn {
    background-color: var(--color-bg-card);
    border-color: var(--color-border);
    box-shadow: 0 8px 24px rgba(24, 32, 52, 0.08);
}

.service-card p,
.info-card .definition,
.content p,
.details p,
.details a,
.footer-info,
.login-header p,
.dash-header-title p,
.doc-date,
.summary-item span,
.summary-item small,
.filter-btn,
.filter-label,
.group-info span,
.process-meta {
    color: var(--color-text-grey);
}

.service-card:hover,
.info-card:hover,
.team-card:hover,
.doc-card:hover,
.stat-card:hover,
.pay-btn:hover {
    border-color: var(--color-led);
    box-shadow: 0 12px 30px rgba(27, 127, 90, 0.15);
}

.section-cta {
    background: radial-gradient(circle at center, #ffffff 0%, #eef2f7 70%);
}

.section-cta p { color: var(--color-text-grey); }
.small-contact { color: #7a8394 !important; }

footer {
    background-color: #ffffff;
    border-top: 1px solid var(--color-border);
}

.footer-brand h4 { color: var(--color-text-white); }
.footer-info { color: var(--color-text-grey); }

.page-header {
    background-color: var(--color-bg-deep);
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 { color: var(--color-text-white); text-shadow: none; }
.page-header p { color: var(--color-led); text-shadow: none; }

.contact-page-section { background-color: var(--color-bg-deep); }

.info-list .icon {
    background-color: #eef2f7;
    color: var(--color-led);
    border-color: var(--color-border);
    box-shadow: none;
}

.contact-info-box h2 { color: var(--color-text-white); }
.contact-info-box p { color: var(--color-text-grey); }
.details strong { color: var(--color-text-white); }
.details p, .details a { color: var(--color-text-grey); }
.details a:hover { color: var(--color-led); }

.map-box {
    border-color: var(--color-border);
    box-shadow: none;
    filter: none;
}

.map-box:hover {
    border-color: var(--color-led);
    box-shadow: 0 12px 30px rgba(27, 127, 90, 0.15);
}

.team-header h3 { color: var(--color-text-white); }
.team-header p { color: var(--color-text-grey); }
.department { color: var(--color-text-grey); }

.comparison-grid .vs-circle {
    background-color: #ffffff;
    color: var(--color-text-white);
    border-color: var(--color-led);
    box-shadow: none;
}

.timeline-line {
    background: linear-gradient(to bottom, transparent, var(--color-led), transparent);
    box-shadow: none;
}

.content {
    background-color: var(--color-bg-card);
    border-color: var(--color-border);
    text-align: left;
}

.timeline-item:hover .content {
    border-color: var(--color-led);
}

.dot {
    background-color: #ffffff;
    color: var(--color-led);
    box-shadow: none;
}

.timeline-item:hover .dot {
    background-color: var(--color-led);
    color: #ffffff;
}

.login-section {
    background-image: url('fundo-homev2.jpg');
}

.login-overlay {
    background-color: rgba(245, 247, 251, 0.9);
    backdrop-filter: blur(4px);
}

.login-container {
    box-shadow: 0 15px 40px rgba(24, 32, 52, 0.12);
}

.input-group label { color: var(--color-text-grey); }

.input-group input {
    background-color: #ffffff;
    border-color: var(--color-border);
    color: var(--color-text-white);
}

.input-group input:focus {
    border-color: var(--color-led);
    box-shadow: 0 0 0 4px rgba(27, 127, 90, 0.12);
}

.dash-header,
.sidebar,
.dash-main,
.dash-layout,
.table-container,
.dash-table th,
.dash-table td,
.brand-card,
.financial-chart-box,
.invoice-summary,
.invoice-group-header,
.invoice-group-details,
.filter-group,
.filter-btn.active,
.settings-card,
.integration-item {
    background-color: #ffffff;
}

.dash-table th {
    color: var(--color-text-grey);
    border-bottom-color: var(--color-border);
}

.dash-table td { color: var(--color-text-white); }
.dash-table tr:hover { background-color: #eef5f1; }

/* Dashboard claro - textos visíveis */
.dashboard-body .dash-logo {
    color: var(--color-text-white);
}

.dashboard-body .user-profile #client-name,
.dashboard-body .user-profile #admin-name {
    color: var(--color-text-white);
}

.dashboard-body .logout-btn {
    color: var(--color-text-grey);
}

.dashboard-body .logout-btn:hover {
    color: var(--color-led);
}

.dashboard-body .sidebar {
    border-right-color: var(--color-border);
}

.dashboard-body .nav-item {
    color: var(--color-text-grey);
    border-left-color: transparent;
}

.dashboard-body .nav-item:hover {
    color: var(--color-text-white);
    background-color: #eef5f1;
}

.dashboard-body .nav-item.active {
    color: #165a3f;
    background-color: #e7f2ec;
    border-left-color: var(--color-led);
}

.dashboard-body .dash-header-title h2,
.dashboard-body .dash-header-title h3,
.dashboard-body .dash-header-title h4 {
    color: var(--color-text-white);
}

.dashboard-body .dash-header-title p {
    color: var(--color-text-grey);
}

.dashboard-body .stat-card h4,
.dashboard-body .stat-card .value {
    color: var(--color-text-white);
}

.dashboard-body .table-container h4 {
    color: var(--color-text-white);
}

/* Modais do dashboard (cliente e admin) - fundo branco, texto preto, títulos verdes */
.dashboard-body .modal-overlay .modal-content,
.dashboard-body #client-manager-modal .modal-content.large-content {
    background-color: #ffffff;
    border-color: var(--color-border);
    color: var(--color-text-white);
}

.dashboard-body .modal-header h3,
.dashboard-body .manager-header h2,
.dashboard-body .manager-header h3,
.dashboard-body .dash-header-title h2,
.dashboard-body .dash-header-title h3,
.dashboard-body .dash-header-title h4 {
    color: var(--color-led);
}

.dashboard-body .modal-body p,
.dashboard-body .manager-header p,
.dashboard-body .modal-body,
.dashboard-body .manager-body,
.dashboard-body .manager-body p {
    color: var(--color-text-white);
}

.dashboard-body .manager-header,
.dashboard-body .manager-tabs,
.dashboard-body .manager-body {
    background-color: #ffffff;
    border-color: var(--color-border);
}

.dashboard-body .m-tab {
    color: var(--color-text-grey);
}

.dashboard-body .m-tab.active {
    color: var(--color-led);
    border-bottom-color: var(--color-led);
}

.dashboard-body .creation-form,
.dashboard-body .terms-container,
.dashboard-body .payment-options-grid .pay-btn,
.dashboard-body .invoice-group,
.dashboard-body .invoice-group-header,
.dashboard-body .invoice-group-details {
    background-color: #ffffff;
    border-color: var(--color-border);
}

.dashboard-body .creation-form h5,
.dashboard-body .form-section-title,
.dashboard-body .action-bar h4 {
    color: var(--color-led);
}

.dashboard-body .creation-form label,
.dashboard-body .terms-label,
.dashboard-body .terms-text {
    color: var(--color-text-grey);
}

/* Corrige áreas escuras/bordas pretas na dashboard */
.dashboard-body .table-container > div {
    background: #ffffff !important;
    border-bottom-color: var(--color-border) !important;
}

.dashboard-body .table-container > div h4 {
    color: var(--color-led) !important;
}

.dashboard-body .user-type-selector {
    background-color: #ffffff;
    border-color: var(--color-border);
}

.dashboard-body .type-btn {
    color: var(--color-text-grey);
    border-color: var(--color-border);
    background: #f7faf8;
}

.dashboard-body .type-btn.active {
    background-color: #ffffff;
    color: var(--color-led);
    border-color: var(--color-led);
}

.dashboard-body .manager-header,
.dashboard-body .manager-tabs,
.dashboard-body #client-manager-modal .manager-body {
    background: #ffffff !important;
    border-bottom-color: var(--color-border);
}

.dashboard-body .action-bar h4 {
    color: var(--color-led);
}

.dashboard-body .financial-dashboard-top,
.dashboard-body .financial-chart-box,
.dashboard-body .chart-bars {
    background-color: #ffffff;
    border-color: var(--color-border);
}

.dashboard-body .chart-bars {
    background-color: #eef5f1;
}

/* Financeiro: números visíveis e gráfico contrastado */
.dashboard-body .summary-item strong {
    color: var(--color-text-white);
    font-size: 1.3rem;
}

.dashboard-body .summary-item small,
.dashboard-body .summary-item span {
    color: var(--color-text-grey);
}

.dashboard-body .bar-segment.green { background-color: var(--color-led); }
.dashboard-body .bar-segment.yellow { background-color: #d9a51f; }
.dashboard-body .bar-segment.red { background-color: #d94b4b; }

.dashboard-body .filter-btn {
    background: #ffffff;
    color: var(--color-text-grey);
}

.dashboard-body .filter-btn.active {
    background: #e7f2ec;
    color: var(--color-led);
    box-shadow: inset 0 -3px 0 var(--color-led);
}

/* Dashboard cliente - documentos e parcelas */
.dashboard-body .doc-name {
    color: var(--color-text-white);
}

.dashboard-body .doc-date {
    color: var(--color-text-grey);
}

.dashboard-body .invoice-group-header {
    background: #ffffff;
    border-left-color: var(--color-led);
}

.dashboard-body .invoice-group-details {
    background-color: #ffffff;
    border-top-color: var(--color-border);
}

.dashboard-body .inner-table th,
.dashboard-body .inner-table td {
    color: var(--color-text-white);
    border-bottom-color: var(--color-border);
}

/* Pesquisa na área de configurações */
.settings-card .search-bar-container {
    margin: 12px 0 20px 0;
    max-width: none;
    width: 100%;
    flex: 1;
}

.settings-card .search-bar-container input {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-text-white);
    box-shadow: none;
}

.settings-card .search-bar-container input:focus {
    border-color: var(--color-led);
    box-shadow: 0 0 0 4px rgba(27, 127, 90, 0.12);
}

.settings-card .search-icon {
    color: #9aa4b2;
}

/* Barra de pesquisa da aba Clientes (Admin) */
.dashboard-body .search-bar-container {
    max-width: none;
    width: 100%;
    flex: 1;
}

.search-bar-container.full-width,
.settings-card .search-bar-container.full-width {
    width: 100%;
}

.search-bar-container.full-width #client-search-input,
.search-bar-container.full-width #config-client-search {
    width: 100%;
}

/* Corrige ícone sobreposto na busca */
.search-bar-container.full-width { position: relative; }
.search-bar-container.full-width .search-icon { display: none; }
.search-bar-container.full-width #config-client-search,
.search-bar-container.full-width #client-search-input { padding-left: 18px; }

.dashboard-body #client-search-input {
    background-color: #ffffff;
    border-color: var(--color-border);
    color: var(--color-text-white);
}

.dashboard-body #client-search-input:focus {
    border-color: var(--color-led);
    box-shadow: 0 0 0 4px rgba(27, 127, 90, 0.12);
    background-color: #ffffff;
}

.dashboard-body .search-icon {
    color: #9aa4b2;
}

.badge-success { background: rgba(27, 127, 90, 0.1); color: var(--color-led); border-color: var(--color-led); }
.badge-warning { background: rgba(180, 138, 58, 0.12); color: var(--color-gold); border-color: var(--color-gold); }
.badge-danger { background: rgba(217, 75, 75, 0.12); color: #d94b4b; border-color: #d94b4b; }

.stat-card .value { color: var(--color-text-white); }
.stat-card h4 { color: var(--color-text-grey); }
.stat-card .icon-bg { color: var(--color-led); opacity: 0.12; }

.modal-overlay {
    background-color: rgba(24, 32, 52, 0.4);
}

.modal-content {
    border-color: var(--color-border);
}

.close-modal { color: var(--color-text-grey); }
.close-modal:hover { color: var(--color-text-white); }

.invoice-summary {
    border-color: var(--color-border);
}

/* Busca bonita (Clientes, Configurações e Financeiro) */
.dashboard-body .search-bar-container,
.settings-card .search-bar-container {
    background: #f7faf8;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 18px rgba(24, 32, 52, 0.08);
}

.dashboard-body .search-bar-container input,
.settings-card .search-bar-container input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 0.95rem;
    color: var(--color-text-white);
    outline: none;
    padding: 8px 4px;
}

.dashboard-body .search-bar-container input::placeholder,
.settings-card .search-bar-container input::placeholder {
    color: #8a97a6;
}

.dashboard-body .search-bar-container:focus-within,
.settings-card .search-bar-container:focus-within {
    border-color: var(--color-led);
    box-shadow: 0 0 0 4px rgba(27, 127, 90, 0.12);
    background: #ffffff;
}

.dashboard-body .search-bar-container .search-icon,
.settings-card .search-bar-container .search-icon {
    position: static;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-led);
    font-size: 1rem;
}

.search-bar-container.full-width .search-icon {
    display: inline-flex;
}

/* Busca padronizada do painel admin */
body.dashboard-body #tab-adm-clientes .search-bar-container,
body.dashboard-body #tab-adm-financeiro .search-bar-container,
body.dashboard-body #tab-adm-config .search-bar-container {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 14px 0 22px 0;
    padding: 0;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
}

body.dashboard-body #tab-adm-clientes .search-bar-container input,
body.dashboard-body #tab-adm-financeiro .search-bar-container input,
body.dashboard-body #tab-adm-config .search-bar-container input {
    width: 100%;
    height: 56px;
    padding: 0 18px 0 56px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    color: var(--color-text-white);
    font-size: 0.98rem;
    box-shadow: 0 10px 24px rgba(24, 32, 52, 0.08);
    outline: none;
}

body.dashboard-body #tab-adm-clientes .search-bar-container input::placeholder,
body.dashboard-body #tab-adm-financeiro .search-bar-container input::placeholder,
body.dashboard-body #tab-adm-config .search-bar-container input::placeholder {
    color: #8a97a6;
}

body.dashboard-body #tab-adm-clientes .search-bar-container input:focus,
body.dashboard-body #tab-adm-financeiro .search-bar-container input:focus,
body.dashboard-body #tab-adm-config .search-bar-container input:focus {
    border-color: var(--color-led);
    box-shadow: 0 0 0 4px rgba(27, 127, 90, 0.12), 0 12px 28px rgba(24, 32, 52, 0.08);
    background: #ffffff;
}

body.dashboard-body #tab-adm-clientes .search-bar-container .search-icon,
body.dashboard-body #tab-adm-financeiro .search-bar-container .search-icon,
body.dashboard-body #tab-adm-config .search-bar-container .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: var(--color-led);
    font-size: 1.1rem;
    display: block;
    pointer-events: none;
}

.input-copy-wrapper input,
#client-search-input,
#home-contact-form textarea {
    background-color: #ffffff;
    border-color: var(--color-border);
    color: var(--color-text-white);
}

#client-search-input:focus,
#home-contact-form textarea:focus {
    border-color: var(--color-led);
    box-shadow: 0 0 0 4px rgba(27, 127, 90, 0.12);
}

.search-icon { color: #9aa4b2; }
#client-search-input:focus + .search-icon { color: var(--color-led); }

.toast {
    background-color: #ffffff;
    color: var(--color-text-white);
    border-left-color: var(--color-led);
    box-shadow: 0 10px 25px rgba(24, 32, 52, 0.12);
}

.toast.error { border-left-color: #d94b4b; }
.toast.info { border-left-color: var(--color-gold); }

.mobile-menu-btn span { background-color: var(--color-led); }
.nav-links { background-color: #ffffff; border-left-color: var(--color-border); box-shadow: -10px 0 30px rgba(24, 32, 52, 0.12); }

/* Ajustes para a seção "Especialistas" e serviços */
.section-subtitle { color: var(--color-text-grey); }
.text-white { color: var(--color-text-white) !important; }

.luxury-box {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-led);
    box-shadow: 0 10px 24px rgba(24, 32, 52, 0.08);
}

.luxury-box h3 { color: #165a3f; }
.luxury-box p { color: var(--color-text-grey); }

.service-card h3 { color: var(--color-text-white); }
.service-card p { color: var(--color-text-grey); }
.service-card .icon { color: var(--color-led); }

/* Formulário da home */
.creation-form {
    background-color: #ffffff;
    border-color: var(--color-border);
    box-shadow: 0 12px 30px rgba(24, 32, 52, 0.08);
}

.form-group label { color: var(--color-text-grey); }

.form-group input,
.form-group select,
#home-contact-form textarea {
    background-color: #ffffff !important;
    color: var(--color-text-white) !important;
    border-color: var(--color-border) !important;
}

.form-group input:focus,
.form-group select:focus,
#home-contact-form textarea:focus {
    border-color: var(--color-led) !important;
    box-shadow: 0 0 0 4px rgba(27, 127, 90, 0.12);
}

/* Números de autoridade */
.auth-item .number {
    color: var(--color-text-white);
    text-shadow: none;
}

/* Contato - ajustes mobile (ícones e mapa) */
.map-box iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .contact-info-box {
        padding: 30px 20px;
    }

    .info-list li {
        align-items: center;
        gap: 12px;
    }

    .info-list .icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        flex: 0 0 52px;
    }

    .details p, .details a {
        font-size: 0.95rem;
        word-break: break-word;
    }

    .map-box {
        min-height: 0;
        height: auto;
        margin-top: 20px;
    }

    .map-box iframe {
        height: 320px;
    }
}

/* --- O CAMINHO DA EXCLUSIVIDADE (AJUSTE ESPECÍFICO) --- */
.section-process {
    background-color: var(--color-bg-deep);
}

.section-process .section-title {
    color: #165a3f; /* verde escuro no título */
}

.section-process p,
.section-process h3,
.section-process h4 {
    color: var(--color-text-white);
}

.section-process .highlight-text {
    color: #165a3f;
}

.section-process .timeline-line {
    box-shadow: none;
}

.section-process .dot {
    background-color: var(--color-bg-card);
    color: var(--color-led);
    border-color: var(--color-led);
}

.section-process .content {
    background-color: #ffffff;
    border-color: var(--color-border);
}

.section-process .content h4 {
    color: #165a3f;
}

.section-process .content p {
    color: var(--color-text-grey);
}

/* Força links sem azul padrão */
a { color: var(--color-led); }
a:hover { color: #156446; }

/* Cards de equipe - textos sempre visíveis */
.team-card .card-info h4 { color: var(--color-text-white); }
.team-card .role { color: #165a3f; }
.team-card .department { color: var(--color-text-grey); }
.team-card .contact-link {
    color: var(--color-text-white);
    border-color: var(--color-border);
}
.team-card .contact-link:hover {
    color: var(--color-led);
    border-color: var(--color-led);
    background: rgba(27, 127, 90, 0.08);
}

/* Bloco "Sobre a empresa" com foto */
.about-photo {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-photo-text h3 {
    color: #165a3f;
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-photo-text p {
    color: var(--color-text-grey);
}

.about-photo-media img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(24, 32, 52, 0.12);
    display: block;
}

@media (max-width: 900px) {
    .about-photo {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
