Diagnóstico Jurídico Rápido

Descubra Seu Nível de Risco Jurídico em 3 Minutos

Responda a perguntas rápidas e receba um diagnóstico imediato com o Plano de Ação Jurídico ideal para a proteção do seu patrimônio.

Resultado

Risco

Resumo do seu diagnóstico

    Falar com Consultor

    Ao avan\u00e7ar, voc\u00ea concorda que suas respostas ser\u00e3o usadas exclusivamente para gerar seu Diagn\u00f3stico. Seus dados s\u00e3o confidenciais e protegidos pela LGPD. Sem spam.

    WhatsApp agora

    Contato

    Áreas de atuação

    Direito de Família e Sucessões

    Direito Civil

    Direito do Trabalho

    Direito Penal

    Direito Empresarial

    Direito Previdênciario

    Direito Digital

    Siga nossas redes sociais

    © 2025 Fernandes e Caleo Advogados

    document.addEventListener('DOMContentLoaded', function(){ const questions = [ { text: 'Qual o porte da sua empresa?', options: ['Microempresa (ME)', 'Empresa de Pequeno Porte (EPP)', 'Médio Porte', 'Grande Empresa'] }, { text: 'Qual o faturamento anual aproximado?', options: ['Até R$ 360 mil', 'R$ 360 mil a R$ 4,8 milhões', 'Acima de R$ 4,8 milhões'] }, { text: 'Há quanto tempo está com dívidas em aberto?', options: ['Menos de 3 meses', '3 a 6 meses', 'Mais de 1 ano'] }, { text: 'Já sofreu ações judiciais recentes?', options: ['Sim, mais de uma', 'Sim, apenas uma', 'Não'] } ]; let currentQuestion = 0; let answers = []; const progress = document.getElementById('progress'); const quizSection = document.getElementById('quiz'); const resultSection = document.getElementById('result'); const questionEl = document.getElementById('question'); const optionsEl = document.getElementById('options'); window.startQuiz = function(){ const hero = document.querySelector('.hero'); if (hero) hero.style.display = 'none'; if (quizSection) quizSection.style.display = 'block'; showQuestion(); } function showQuestion(){ const q = questions[currentQuestion]; if (!q || !questionEl || !optionsEl) return; questionEl.innerText = q.text; optionsEl.innerHTML = ''; q.options.forEach(opt => { const btn = document.createElement('button'); btn.innerText = opt; btn.className = 'option-btn'; btn.onclick = () => { answers.push(opt); nextQuestion(); }; optionsEl.appendChild(btn); }); if (progress) progress.style.width = ((currentQuestion)/questions.length)*100 + '%'; } function nextQuestion(){ currentQuestion++; if(currentQuestion < questions.length){ showQuestion(); } else { showResult(); } } function riskFromAnswers(){ const debt = answers[2] || ''; const suits = answers[3] || ''; if(debt.includes('1 ano') || suits.includes('mais de uma')) return {label:'Risco Alto', color:'var(--danger)'}; if(debt.includes('3 a 6') || suits.includes('apenas uma')) return {label:'Risco Moderado', color:'var(--warn)'}; return {label:'Risco Baixo', color:'var(--ok)'}; } function showResult(){ if (quizSection) quizSection.style.display = 'none'; if (resultSection) resultSection.style.display = 'block'; if (progress) progress.style.width = '100%'; const {label} = riskFromAnswers(); const scoreEl = document.getElementById('score'); const pill = document.getElementById('risk-pill'); if (scoreEl) scoreEl.innerText = label; if (pill){ pill.textContent = label; pill.style.color = 'white'; pill.style.background = 'linear-gradient(135deg, var(--gold), var(--gold-2))'; pill.style.border = 'none'; } const lines = [ `1. Porte: ${answers[0] || '-'}`, `2. Faturamento: ${answers[1] || '-'}`, `3. Tempo de dívidas: ${answers[2] || '-'}`, `4. Ações judiciais: ${answers[3] || '-'}` ]; const list = document.getElementById('diag-list'); if (list){ list.innerHTML = ''; lines.forEach(l=>{ const li=document.createElement('li'); li.textContent = l; list.appendChild(li); }); } const summaryText = `Sua empresa apresenta ${label.toLowerCase()}. Podemos propor medidas imediatas (negociação, blindagem contratual e, se necessário, ação judicial) para reduzir riscos e recuperar previsibilidade.`; const resultTextEl = document.getElementById('result-text'); if (resultTextEl) resultTextEl.textContent = summaryText; const diagnostico = `Diagnóstico automático\n${lines.join('\n')}\nResultado: ${label}.`; const whatsappNumber = '5561985952431'; // seu número com DDI+DDD const msg = `Olá! Fiz o diagnóstico no site e quero agendar uma reunião.\n\n${diagnostico}`; const link = `https://wa.me/${whatsappNumber}?text=${encodeURIComponent(msg)}`; const waLink = document.getElementById('whatsapp-link'); if (waLink) waLink.href = link; const float = document.getElementById('float-wa'); if (float){ float.href = link; float.textContent = 'WhatsApp agora'; } } window.copyToClipboard = function(){ const items = document.querySelectorAll('#diag-list li'); const text = Array.from(items).map(li=>li.textContent).join('\n'); navigator.clipboard.writeText(text).then(()=>{ alert('Diagnóstico copiado!'); }); } });