Spaces:
Running
Running
Gere um aplicativo com Todo o Conteúdo (não exclua nada): <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>Recursos Especial e Extraordinário</title> <style> body { font-family: Arial, sans-serif; background: #fff; color: #000; margin: 0; padding: 0; } header { background-color: #001F54; color: #fff; padding: 1rem; text-align: center; } main { padding: 2rem; } section { margin-bottom: 2rem; } h2 { border-left: 4px solid #0077cc; padding-left: 0.5rem; color: #001F54; } table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; } th, td { border: 1px solid #ccc; padding: 0.5rem; text-align: left; } th { background-color: #001F54; color: white; } textarea, select { width: 100%; padding: 0.5rem; margin: 0.5rem 0; } .tab-buttons { display: flex; background-color: #001F54; } .tab-buttons button { background-color: #001F54; color: white; padding: 1rem; flex: 1; cursor: pointer; border: none; } .tab { display: none; border: 1px solid #ccc; padding: 1rem; } .save-button, .export-button { background-color: #0077cc; color: white; padding: 0.5rem 1rem; border: none; cursor: pointer; margin-top: 1rem; } pre { background: #f4f4f4; padding: 1rem; white-space: pre-wrap; border-left: 4px solid #0077cc; } </style> </head> <body> <header> <h1>Recursos Especial e Extraordinário</h1> </header> <main> <!-- AVISO DE USO --> <div id="aviso" class="fixed inset-0 bg-black bg-opacity-70 z-50 flex justify-center items-center p-5 backdrop-blur-sm hidden"> <div class="bg-white rounded-xl shadow-2xl p-6 max-w-2xl w-full text-center space-y-5 animate-fade-in-down"> <i class="fas fa-exclamation-circle text-rose-600 text-4xl mb-2"></i> <h1 class="text-xl font-extrabold text-gray-800">⚠ ATENÇÃO!</h1> <ul class="text-left text-sm space-y-2 text-gray-700 list-disc list-inside"> <li>O que está sendo disponibilizado é um modelo-padrão e genérico de petição inicial recursal;</li> <li>Não dispensa consulta com advogado especialista;</li> <li>Não substitui análise cabal do caso concreto;</li> <li>Devem ser feitas adaptações ao caso específico antes do uso;</li> <li>Diferentes entendimentos podem existir entre tribunais;</li> <li>O programa é fornecido no "estado em que se encontra", sem garantias de desempenho ou precisão.</li> </ul> <button onclick="this.parentElement.parentElement.classList.add('hidden')" class="bg-blue-600 hover:bg-blue-700 transition-all text-white font-semibold px-6 py-2 rounded-full"> Clique aqui para aceitar e continuar </button> </div> </div> <section> <h2>📜 Dispositivos Legais Transcritos</h2> <h3>Art. 102, III - Constituição Federal</h3> <pre> Compete ao Supremo Tribunal Federal: III - julgar, mediante recurso extraordinário, as causas decididas em única ou última instância, quando a decisão recorrida: a) contrariar dispositivo desta Constituição; b) declarar a inconstitucionalidade de tratado ou lei federal; c) julgar válida lei ou ato de governo local contestado em face da Constituição; d) julgar válida lei local contestada em face de lei federal. </pre> <h3>Art. 105, III - Constituição da República</h3> <pre> Compete ao Superior Tribunal de Justiça: III - julgar, em recurso especial, as causas decididas, em única ou última instância, pelos Tribunais Regionais Federais ou pelos Tribunais dos Estados, do Distrito Federal e Territórios, quando a decisão recorrida: a) contrariar tratado ou lei federal, ou negar-lhes vigência; b) julgar válido ato de governo local contestado em face de lei federal; c) der a lei federal interpretação divergente da que lhe haja atribuído outro tribunal. </pre> <h3>Art. 1.035 - Código de Processo Civil</h3> <pre> Para repercussão geral, o recorrente deve demonstrar que a questão constitucional discutida possui relevância do ponto de vista econômico, político, social ou jurídico que ultrapasse os interesses subjetivos da causa. </pre> </section> <section> <h2>📘 Quadro Comparativo: RE x REsp x HC</h2> <table> <tr> <th>Aspecto</th> <th>RE</th> <th>REsp</th> <th>HC</th> </tr> <tr> <td>Objeto</td> <td>Matéria constitucional</td> <td>Matéria infraconstitucional</td> <td>Liberdade de locomoção</td> </tr> <tr> <td>Tribunal competente</td> <td>STF</td> <td>STJ</td> <td>Qualquer instância</td> </tr> <tr> <td>Provas</td> <td>Vedado reexame (Súm. 279/STF)</td> <td>Vedado reexame (Súm. 7/STJ)</td> <td>Admite reexame fático</td> </tr> </table> </section> <section> <h2>📎 Súmulas Relevantes</h2> <ul> <li><strong>STF 279:</strong> Para simples reexame de prova não cabe recurso extraordinário.</li> <li><strong>STJ 7:</strong> A pretensão de simples reexame de prova não enseja recurso especial.</li> <li><strong>STJ 83:</strong> Não se conhece do recurso especial pela divergência, quando a orientação do tribunal se firmou no mesmo sentido da decisão recorrida.</li> <li><strong>STJ 115:</strong> Na instância especial é inexistente recurso interposto por advogado sem procuração nos autos.</li> <li><strong>STF 284:</strong> Deficiência de fundamentação impede conhecimento do recurso.</li> <li><strong>STF 283:</strong> Necessário impugnar todos os fundamentos autônomos.</li> <li><strong>STJ 126:</strong> Mesmo princípio da Súmula 283/STF aplicado ao REsp.</li> </ul> </section> <section> <h2>📘 Glossário</h2> <ul> <li><strong>Repercussão Geral:</strong> Critério de admissibilidade do RE, exigindo relevância jurídica, social, econômica ou política da questão.</li> <li><strong>Prequestionamento:</strong> Exigência de que a matéria tenha sido expressamente tratada na decisão recorrida.</li> <li><strong>Reexame de Prova:</strong> Revisão do conteúdo probatório, vedado no RE e REsp.</li> <li><strong>Revaloração de Prova:</strong> Análise jurídica sobre fatos incontroversos, permitida.</li> <li><strong>Fundamento autônomo:</strong> Base independente da decisão que exige impugnação específica.</li> </ul> </section> <section> <h2>📑 Formulários de Petição</h2> <div class="tab-buttons"> <button onclick="showTab('resp')">REsp</button> <button onclick="showTab('re')">RE</button> </div> <div id="resp" class="tab"> <h3>Recurso Especial</h3> <label>Fundamento Legal:</label> <select id="fund_resp"> <option value="Art. 105, III, 'a'">Art. 105, III, 'a'</option> <option value="Art. 105, III, 'b'">Art. 105, III, 'b'</option> <option value="Art. 105, III, 'c'">Art. 105, III, 'c'</option> </select> <label>Relevância:</label><textarea id="relev_resp"></textarea> <label>Premissa Fática:</label><textarea id="fato_resp"></textarea> <label>Motivação:</label><textarea id="motivacao_resp"></textarea> <label>Pedido:</label><textarea id="pedido_resp"></textarea> <button class="save-button" onclick="saveData('resp')">Salvar</button> </div> <div id="re" class="tab"> <h3>Recurso Extraordinário</h3> <label>Fundamento Legal:</label> <select id="fund_re"> <option value="Art. 102, III, 'a'">Art. 102, III, 'a'</option> <option value="Art. 102, III, 'b'">Art. 102, III, 'b'</option> <option value="Art. 102, III, 'c'">Art. 102, III, 'c'</option> <option value="Art. 102, III, 'd'">Art. 102, III, 'd'</option> </select> <label>Relevância Geral:</label><textarea id="relev_re"></textarea> <label>Premissa Fática:</label><textarea id="fato_re"></textarea> <label>Motivação:</label><textarea id="motivacao_re"></textarea> <label>Pedido:</label><textarea id="pedido_re"></textarea> <button class="save-button" onclick="saveData('re')">Salvar</button> </div> <section> <h2>📝 Exportar Petições</h2> <p>Clique para exportar os dados preenchidos abaixo como arquivos locais em formato `.txt`.</p> <button class="export-button" onclick="exportData('resp')">Exportar REsp</button> <button class="export-button" onclick="exportData('re')">Exportar RE</button> </section> </section> </main> <script> function showTab(id) { document.querySelectorAll('.tab').forEach(t => t.style.display = 'none'); document.getElementById(id).style.display = 'block'; } function saveData(type) { const data = { fund: document.getElementById('fund_' + type).value, relev: document.getElementById('relev_' + type).value, fato: document.getElementById('fato_' + type).value, motivacao: document.getElementById('motivacao_' + type).value, pedido: document.getElementById('pedido_' + type).value }; localStorage.setItem('peticao_' + type, JSON.stringify(data)); alert('Salvo no localStorage.'); } function exportData(type) { const data = JSON.parse(localStorage.getItem('peticao_' + type)); if (!data) return alert('Nada salvo.'); const blob = new Blob([ `Fundamento: ${data.fund} Relevância: ${data.relev} Premissa Fática: ${data.fato} Motivação: ${data.motivacao} Pedido: ${data.pedido}` ], { type: 'text/plain' }); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = `peticao_${type}.txt`; a.click(); <!-- RESULTADO --> <section class="bg-white shadow rounded-lg p-6 space-y-4"> <h2 class="font-semibold text-lg text-blue-900">📄 Modelo Gerado</h2> <pre id="modelo" class="whitespace-pre-wrap bg-gray-50 border border-gray-300 p-3 rounded text-sm h-64 overflow-auto"> Selecione o recurso desejado e preencha o formulário para gerar o modelo. </pre> <div class="flex flex-wrap gap-2 mt-4 justify-center"> <button onclick="exportar('txt')" class="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 transition-all text-white font-medium px-4 py-2 rounded text-sm"> <i class="fas fa-file-alt"></i> Exportar TXT </button> <button onclick="exportar('docx')" class="flex items-center gap-2 bg-indigo-600 hover:bg-indigo-700 transition-all text-white font-medium px-4 py-2 rounded text-sm"> <i class="fas fa-file-word"></i> Exportar DOCX </button> <button onclick="window.print()" class="flex items-center gap-2 bg-gray-600 hover:bg-gray-700 transition-all text-white font-medium px-4 py-2 rounded text-sm"> <i class="fas fa-print"></i> Imprimir </button> </div> </section> } window.onload = () => { showTab('resp'); }; </script> </body> </html> - Initial Deployment
Browse files- README.md +6 -4
- index.html +491 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: pink
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: re-resp-vm3
|
| 3 |
+
emoji: 🐳
|
| 4 |
colorFrom: pink
|
| 5 |
+
colorTo: pink
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,491 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="pt-BR">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
| 6 |
+
<title>Recursos Especial e Extraordinário</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@keyframes fadeInDown {
|
| 11 |
+
from {
|
| 12 |
+
opacity: 0;
|
| 13 |
+
transform: translateY(-20px);
|
| 14 |
+
}
|
| 15 |
+
to {
|
| 16 |
+
opacity: 1;
|
| 17 |
+
transform: translateY(0);
|
| 18 |
+
}
|
| 19 |
+
}
|
| 20 |
+
.animate-fade-in-down {
|
| 21 |
+
animation: fadeInDown 0.5s ease-out forwards;
|
| 22 |
+
}
|
| 23 |
+
pre {
|
| 24 |
+
white-space: pre-wrap;
|
| 25 |
+
word-wrap: break-word;
|
| 26 |
+
}
|
| 27 |
+
.tab-content {
|
| 28 |
+
display: none;
|
| 29 |
+
}
|
| 30 |
+
.tab-content.active {
|
| 31 |
+
display: block;
|
| 32 |
+
}
|
| 33 |
+
</style>
|
| 34 |
+
</head>
|
| 35 |
+
<body class="bg-gray-50 text-gray-800 font-sans">
|
| 36 |
+
<div id="aviso" class="fixed inset-0 bg-black bg-opacity-70 z-50 flex justify-center items-center p-5 backdrop-blur-sm">
|
| 37 |
+
<div class="bg-white rounded-xl shadow-2xl p-6 max-w-2xl w-full text-center space-y-5 animate-fade-in-down">
|
| 38 |
+
<i class="fas fa-exclamation-circle text-rose-600 text-4xl mb-2"></i>
|
| 39 |
+
<h1 class="text-xl font-extrabold text-gray-800">⚠ ATENÇÃO!</h1>
|
| 40 |
+
<ul class="text-left text-sm space-y-2 text-gray-700 list-disc list-inside">
|
| 41 |
+
<li>O que está sendo disponibilizado é um modelo-padrão e genérico de petição inicial recursal;</li>
|
| 42 |
+
<li>Não dispensa consulta com advogado especialista;</li>
|
| 43 |
+
<li>Não substitui análise cabal do caso concreto;</li>
|
| 44 |
+
<li>Devem ser feitas adaptações ao caso específico antes do uso;</li>
|
| 45 |
+
<li>Diferentes entendimentos podem existir entre tribunais;</li>
|
| 46 |
+
<li>O programa é fornecido no "estado em que se encontra", sem garantias de desempenho ou precisão.</li>
|
| 47 |
+
</ul>
|
| 48 |
+
<button onclick="this.parentElement.parentElement.classList.add('hidden')" class="bg-blue-600 hover:bg-blue-700 transition-all text-white font-semibold px-6 py-2 rounded-full">
|
| 49 |
+
Clique aqui para aceitar e continuar
|
| 50 |
+
</button>
|
| 51 |
+
</div>
|
| 52 |
+
</div>
|
| 53 |
+
|
| 54 |
+
<header class="bg-blue-900 text-white py-6 shadow-md">
|
| 55 |
+
<div class="container mx-auto px-4">
|
| 56 |
+
<h1 class="text-2xl md:text-3xl font-bold text-center">
|
| 57 |
+
<i class="fas fa-gavel mr-2"></i> Recursos Especial e Extraordinário
|
| 58 |
+
</h1>
|
| 59 |
+
</div>
|
| 60 |
+
</header>
|
| 61 |
+
|
| 62 |
+
<main class="container mx-auto px-4 py-8">
|
| 63 |
+
<section class="bg-white rounded-xl shadow-md p-6 mb-8">
|
| 64 |
+
<h2 class="text-xl md:text-2xl font-bold text-blue-800 border-l-4 border-blue-500 pl-3 mb-6 flex items-center">
|
| 65 |
+
<i class="fas fa-scroll mr-2"></i> Dispositivos Legais Transcritos
|
| 66 |
+
</h2>
|
| 67 |
+
|
| 68 |
+
<div class="space-y-8">
|
| 69 |
+
<div>
|
| 70 |
+
<h3 class="text-lg font-semibold text-blue-700 mb-3">Art. 102, III - Constituição Federal</h3>
|
| 71 |
+
<pre class="bg-gray-100 p-4 rounded-lg border-l-4 border-blue-500 text-sm md:text-base overflow-auto">Compete ao Supremo Tribunal Federal: III - julgar, mediante recurso extraordinário, as causas decididas em única ou última instância, quando a decisão recorrida: a) contrariar dispositivo desta Constituição; b) declarar a inconstitucionalidade de tratado ou lei federal; c) julgar válida lei ou ato de governo local contestado em face da Constituição; d) julgar válida lei local contestada em face de lei federal.</pre>
|
| 72 |
+
</div>
|
| 73 |
+
|
| 74 |
+
<div>
|
| 75 |
+
<h3 class="text-lg font-semibold text-blue-700 mb-3">Art. 105, III - Constituição da República</h3>
|
| 76 |
+
<pre class="bg-gray-100 p-4 rounded-lg border-l-4 border-blue-500 text-sm md:text-base overflow-auto">Compete ao Superior Tribunal de Justiça: III - julgar, em recurso especial, as causas decididas, em única ou última instância, pelos Tribunais Regionais Federais ou pelos Tribunais dos Estados, do Distrito Federal e Territórios, quando a decisão recorrida: a) contrariar tratado ou lei federal, ou negar-lhes vigência; b) julgar válido ato de governo local contestado em face de lei federal; c) der a lei federal interpretação divergente da que lhe haja atribuído outro tribunal.</pre>
|
| 77 |
+
</div>
|
| 78 |
+
|
| 79 |
+
<div>
|
| 80 |
+
<h3 class="text-lg font-semibold text-blue-700 mb-3">Art. 1.035 - Código de Processo Civil</h3>
|
| 81 |
+
<pre class="bg-gray-100 p-4 rounded-lg border-l-4 border-blue-500 text-sm md:text-base overflow-auto">Para repercussão geral, o recorrente deve demonstrar que a questão constitucional discutida possui relevância do ponto de vista econômico, político, social ou jurídico que ultrapasse os interesses subjetivos da causa.</pre>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
</section>
|
| 85 |
+
|
| 86 |
+
<section class="bg-white rounded-xl shadow-md p-6 mb-8">
|
| 87 |
+
<h2 class="text-xl md:text-2xl font-bold text-blue-800 border-l-4 border-blue-500 pl-3 mb-6 flex items-center">
|
| 88 |
+
<i class="fas fa-table mr-2"></i> Quadro Comparativo: RE x REsp x HC
|
| 89 |
+
</h2>
|
| 90 |
+
|
| 91 |
+
<div class="overflow-x-auto">
|
| 92 |
+
<table class="w-full border-collapse">
|
| 93 |
+
<thead>
|
| 94 |
+
<tr class="bg-blue-900 text-white">
|
| 95 |
+
<th class="p-3 text-left">Aspecto</th>
|
| 96 |
+
<th class="p-3 text-left">RE</th>
|
| 97 |
+
<th class="p-3 text-left">REsp</th>
|
| 98 |
+
<th class="p-3 text-left">HC</th>
|
| 99 |
+
</tr>
|
| 100 |
+
</thead>
|
| 101 |
+
<tbody class="divide-y divide-gray-200">
|
| 102 |
+
<tr class="hover:bg-gray-50">
|
| 103 |
+
<td class="p-3 font-medium">Objeto</td>
|
| 104 |
+
<td class="p-3">Matéria constitucional</td>
|
| 105 |
+
<td class="p-3">Matéria infraconstitucional</td>
|
| 106 |
+
<td class="p-3">Liberdade de locomoção</td>
|
| 107 |
+
</tr>
|
| 108 |
+
<tr class="hover:bg-gray-50">
|
| 109 |
+
<td class="p-3 font-medium">Tribunal competente</td>
|
| 110 |
+
<td class="p-3">STF</td>
|
| 111 |
+
<td class="p-3">STJ</td>
|
| 112 |
+
<td class="p-3">Qualquer instância</td>
|
| 113 |
+
</tr>
|
| 114 |
+
<tr class="hover:bg-gray-50">
|
| 115 |
+
<td class="p-3 font-medium">Provas</td>
|
| 116 |
+
<td class="p-3">Vedado reexame (Súm. 279/STF)</td>
|
| 117 |
+
<td class="p-3">Vedado reexame (Súm. 7/STJ)</td>
|
| 118 |
+
<td class="p-3">Admite reexame fático</td>
|
| 119 |
+
</tr>
|
| 120 |
+
</tbody>
|
| 121 |
+
</table>
|
| 122 |
+
</div>
|
| 123 |
+
</section>
|
| 124 |
+
|
| 125 |
+
<section class="bg-white rounded-xl shadow-md p-6 mb-8">
|
| 126 |
+
<h2 class="text-xl md:text-2xl font-bold text-blue-800 border-l-4 border-blue-500 pl-3 mb-6 flex items-center">
|
| 127 |
+
<i class="fas fa-list-ol mr-2"></i> Súmulas Relevantes
|
| 128 |
+
</h2>
|
| 129 |
+
|
| 130 |
+
<ul class="space-y-3">
|
| 131 |
+
<li class="flex items-start">
|
| 132 |
+
<span class="inline-block bg-blue-100 text-blue-800 px-2 py-1 rounded-md text-xs font-semibold mr-2">STF 279</span>
|
| 133 |
+
<span>Para simples reexame de prova não cabe recurso extraordinário.</span>
|
| 134 |
+
</li>
|
| 135 |
+
<li class="flex items-start">
|
| 136 |
+
<span class="inline-block bg-blue-100 text-blue-800 px-2 py-1 rounded-md text-xs font-semibold mr-2">STJ 7</span>
|
| 137 |
+
<span>A pretensão de simples reexame de prova não enseja recurso especial.</span>
|
| 138 |
+
</li>
|
| 139 |
+
<li class="flex items-start">
|
| 140 |
+
<span class="inline-block bg-blue-100 text-blue-800 px-2 py-1 rounded-md text-xs font-semibold mr-2">STJ 83</span>
|
| 141 |
+
<span>Não se conhece do recurso especial pela divergência, quando a orientação do tribunal se firmou no mesmo sentido da decisão recorrida.</span>
|
| 142 |
+
</li>
|
| 143 |
+
<li class="flex items-start">
|
| 144 |
+
<span class="inline-block bg-blue-100 text-blue-800 px-2 py-1 rounded-md text-xs font-semibold mr-2">STJ 115</span>
|
| 145 |
+
<span>Na instância especial é inexistente recurso interposto por advogado sem procuração nos autos.</span>
|
| 146 |
+
</li>
|
| 147 |
+
<li class="flex items-start">
|
| 148 |
+
<span class="inline-block bg-blue-100 text-blue-800 px-2 py-1 rounded-md text-xs font-semibold mr-2">STF 284</span>
|
| 149 |
+
<span>Deficiência de fundamentação impede conhecimento do recurso.</span>
|
| 150 |
+
</li>
|
| 151 |
+
<li class="flex items-start">
|
| 152 |
+
<span class="inline-block bg-blue-100 text-blue-800 px-2 py-1 rounded-md text-xs font-semibold mr-2">STF 283</span>
|
| 153 |
+
<span>Necessário impugnar todos os fundamentos autônomos.</span>
|
| 154 |
+
</li>
|
| 155 |
+
<li class="flex items-start">
|
| 156 |
+
<span class="inline-block bg-blue-100 text-blue-800 px-2 py-1 rounded-md text-xs font-semibold mr-2">STJ 126</span>
|
| 157 |
+
<span>Mesmo princípio da Súmula 283/STF aplicado ao REsp.</span>
|
| 158 |
+
</li>
|
| 159 |
+
</ul>
|
| 160 |
+
</section>
|
| 161 |
+
|
| 162 |
+
<section class="bg-white rounded-xl shadow-md p-6 mb-8">
|
| 163 |
+
<h2 class="text-xl md:text-2xl font-bold text-blue-800 border-l-4 border-blue-500 pl-3 mb-6 flex items-center">
|
| 164 |
+
<i class="fas fa-book mr-2"></i> Glossário
|
| 165 |
+
</h2>
|
| 166 |
+
|
| 167 |
+
<div class="space-y-4">
|
| 168 |
+
<div class="p-4 bg-blue-50 rounded-lg border-l-4 border-blue-500">
|
| 169 |
+
<h3 class="font-bold text-blue-800">Repercussão Geral:</h3>
|
| 170 |
+
<p class="text-gray-700">Critério de admissibilidade do RE, exigindo relevância jurídica, social, econômica ou política da questão.</p>
|
| 171 |
+
</div>
|
| 172 |
+
|
| 173 |
+
<div class="p-4 bg-blue-50 rounded-lg border-l-4 border-blue-500">
|
| 174 |
+
<h3 class="font-bold text-blue-800">Prequestionamento:</h3>
|
| 175 |
+
<p class="text-gray-700">Exigência de que a matéria tenha sido expressamente tratada na decisão recorrida.</p>
|
| 176 |
+
</div>
|
| 177 |
+
|
| 178 |
+
<div class="p-4 bg-blue-50 rounded-lg border-l-4 border-blue-500">
|
| 179 |
+
<h3 class="font-bold text-blue-800">Reexame de Prova:</h3>
|
| 180 |
+
<p class="text-gray-700">Revisão do conteúdo probatório, vedado no RE e REsp.</p>
|
| 181 |
+
</div>
|
| 182 |
+
|
| 183 |
+
<div class="p-4 bg-blue-50 rounded-lg border-l-4 border-blue-500">
|
| 184 |
+
<h3 class="font-bold text-blue-800">Revaloração de Prova:</h3>
|
| 185 |
+
<p class="text-gray-700">Análise jurídica sobre fatos incontroversos, permitida.</p>
|
| 186 |
+
</div>
|
| 187 |
+
|
| 188 |
+
<div class="p-4 bg-blue-50 rounded-lg border-l-4 border-blue-500">
|
| 189 |
+
<h3 class="font-bold text-blue-800">Fundamento autônomo:</h3>
|
| 190 |
+
<p class="text-gray-700">Base independente da decisão que exige impugnação específica.</p>
|
| 191 |
+
</div>
|
| 192 |
+
</div>
|
| 193 |
+
</section>
|
| 194 |
+
|
| 195 |
+
<section class="bg-white rounded-xl shadow-md p-6 mb-8">
|
| 196 |
+
<h2 class="text-xl md:text-2xl font-bold text-blue-800 border-l-4 border-blue-500 pl-3 mb-6 flex items-center">
|
| 197 |
+
<i class="fas fa-file-alt mr-2"></i> Formulários de Petição
|
| 198 |
+
</h2>
|
| 199 |
+
|
| 200 |
+
<div class="mb-4 flex border-b border-gray-200">
|
| 201 |
+
<button class="tab-button py-2 px-4 font-medium text-blue-600 border-b-2 border-blue-500 active" data-tab="resp">
|
| 202 |
+
<i class="fas fa-file-invoice mr-2"></i> Recurso Especial (REsp)
|
| 203 |
+
</button>
|
| 204 |
+
<button class="tab-button py-2 px-4 font-medium text-gray-500 hover:text-blue-600" data-tab="re">
|
| 205 |
+
<i class="fas fa-file-signature mr-2"></i> Recurso Extraordinário (RE)
|
| 206 |
+
</button>
|
| 207 |
+
</div>
|
| 208 |
+
|
| 209 |
+
<div id="resp" class="tab-content active">
|
| 210 |
+
<h3 class="text-lg font-semibold text-blue-700 mb-4">Recurso Especial</h3>
|
| 211 |
+
|
| 212 |
+
<form class="space-y-4">
|
| 213 |
+
<div>
|
| 214 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Fundamento Legal:</label>
|
| 215 |
+
<select id="fund_resp" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
|
| 216 |
+
<option value="Art. 105, III, 'a'">Art. 105, III, 'a' - Contrariar tratado ou lei federal</option>
|
| 217 |
+
<option value="Art. 105, III, 'b'">Art. 105, III, 'b' - Julgar válido ato de governo local contestado</option>
|
| 218 |
+
<option value="Art. 105, III, 'c'">Art. 105, III, 'c' - Interpretação divergente de lei federal</option>
|
| 219 |
+
</select>
|
| 220 |
+
</div>
|
| 221 |
+
|
| 222 |
+
<div>
|
| 223 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Relevância:</label>
|
| 224 |
+
<textarea id="relev_resp" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="Explique a relevância jurídica da questão..."></textarea>
|
| 225 |
+
</div>
|
| 226 |
+
|
| 227 |
+
<div>
|
| 228 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Premissa Fática:</label>
|
| 229 |
+
<textarea id="fato_resp" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="Descreva os fatos relevantes do caso..."></textarea>
|
| 230 |
+
</div>
|
| 231 |
+
|
| 232 |
+
<div>
|
| 233 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Motivação:</label>
|
| 234 |
+
<textarea id="motivacao_resp" rows="4" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="Fundamentação jurídica do recurso..."></textarea>
|
| 235 |
+
</div>
|
| 236 |
+
|
| 237 |
+
<div>
|
| 238 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Pedido:</label>
|
| 239 |
+
<textarea id="pedido_resp" rows="2" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="Formule o pedido..."></textarea>
|
| 240 |
+
</div>
|
| 241 |
+
|
| 242 |
+
<div class="flex items-center justify-between">
|
| 243 |
+
<button type="button" onclick="saveData('resp')" class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
| 244 |
+
<i class="fas fa-save mr-2"></i> Salvar
|
| 245 |
+
</button>
|
| 246 |
+
<button type="button" onclick="previewModel('resp')" class="bg-indigo-600 hover:bg-indigo-700 text-white font-medium py-2 px-4 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
|
| 247 |
+
<i class="fas fa-eye mr-2"></i> Visualizar Modelo
|
| 248 |
+
</button>
|
| 249 |
+
</div>
|
| 250 |
+
</form>
|
| 251 |
+
</div>
|
| 252 |
+
|
| 253 |
+
<div id="re" class="tab-content">
|
| 254 |
+
<h3 class="text-lg font-semibold text-blue-700 mb-4">Recurso Extraordinário</h3>
|
| 255 |
+
|
| 256 |
+
<form class="space-y-4">
|
| 257 |
+
<div>
|
| 258 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Fundamento Legal:</label>
|
| 259 |
+
<select id="fund_re" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
|
| 260 |
+
<option value="Art. 102, III, 'a'">Art. 102, III, 'a' - Contrariar dispositivo da CF</option>
|
| 261 |
+
<option value="Art. 102, III, 'b'">Art. 102, III, 'b' - Inconstitucionalidade de tratado ou lei federal</option>
|
| 262 |
+
<option value="Art. 102, III, 'c'">Art. 102, III, 'c' - Julgar válida lei/ato local contestado</option>
|
| 263 |
+
<option value="Art. 102, III, 'd'">Art. 102, III, 'd' - Julgar válida lei local contestada</option>
|
| 264 |
+
</select>
|
| 265 |
+
</div>
|
| 266 |
+
|
| 267 |
+
<div>
|
| 268 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Relevância Geral:</label>
|
| 269 |
+
<textarea id="relev_re" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="Demonstre a repercussão geral..."></textarea>
|
| 270 |
+
</div>
|
| 271 |
+
|
| 272 |
+
<div>
|
| 273 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Premissa Fática:</label>
|
| 274 |
+
<textarea id="fato_re" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="Descreva os fatos relevantes do caso..."></textarea>
|
| 275 |
+
</div>
|
| 276 |
+
|
| 277 |
+
<div>
|
| 278 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Motivação:</label>
|
| 279 |
+
<textarea id="motivacao_re" rows="4" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="Fundamentação constitucional do recurso..."></textarea>
|
| 280 |
+
</div>
|
| 281 |
+
|
| 282 |
+
<div>
|
| 283 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Pedido:</label>
|
| 284 |
+
<textarea id="pedido_re" rows="2" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="Formule o pedido..."></textarea>
|
| 285 |
+
</div>
|
| 286 |
+
|
| 287 |
+
<div class="flex items-center justify-between">
|
| 288 |
+
<button type="button" onclick="saveData('re')" class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
| 289 |
+
<i class="fas fa-save mr-2"></i> Salvar
|
| 290 |
+
</button>
|
| 291 |
+
<button type="button" onclick="previewModel('re')" class="bg-indigo-600 hover:bg-indigo-700 text-white font-medium py-2 px-4 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
|
| 292 |
+
<i class="fas fa-eye mr-2"></i> Visualizar Modelo
|
| 293 |
+
</button>
|
| 294 |
+
</div>
|
| 295 |
+
</form>
|
| 296 |
+
</div>
|
| 297 |
+
</section>
|
| 298 |
+
|
| 299 |
+
<div id="modelo-section" class="bg-white rounded-xl shadow-md p-6 mb-8 hidden">
|
| 300 |
+
<h2 class="text-xl md:text-2xl font-bold text-blue-800 border-l-4 border-blue-500 pl-3 mb-6 flex items-center">
|
| 301 |
+
<i class="fas fa-file-download mr-2"></i> Modelo Gerado
|
| 302 |
+
</h2>
|
| 303 |
+
|
| 304 |
+
<div class="bg-gray-50 border border-gray-300 p-4 rounded-lg">
|
| 305 |
+
<pre id="modelo" class="whitespace-pre-wrap text-sm md:text-base overflow-auto max-h-96">Selecione o recurso desejado e preencha o formulário para gerar o modelo.</pre>
|
| 306 |
+
</div>
|
| 307 |
+
|
| 308 |
+
<div class="mt-6 flex flex-wrap gap-3">
|
| 309 |
+
<button onclick="exportar('txt')" class="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 transition-all text-white font-medium px-4 py-2 rounded text-sm">
|
| 310 |
+
<i class="fas fa-file-alt"></i> Exportar TXT
|
| 311 |
+
</button>
|
| 312 |
+
<button onclick="exportar('docx')" class="flex items-center gap-2 bg-indigo-600 hover:bg-indigo-700 transition-all text-white font-medium px-4 py-2 rounded text-sm">
|
| 313 |
+
<i class="fas fa-file-word"></i> Exportar DOCX
|
| 314 |
+
</button>
|
| 315 |
+
<button onclick="window.print()" class="flex items-center gap-2 bg-gray-600 hover:bg-gray-700 transition-all text-white font-medium px-4 py-2 rounded text-sm">
|
| 316 |
+
<i class="fas fa-print"></i> Imprimir
|
| 317 |
+
</button>
|
| 318 |
+
</div>
|
| 319 |
+
</div>
|
| 320 |
+
|
| 321 |
+
<section class="bg-white rounded-xl shadow-md p-6">
|
| 322 |
+
<h2 class="text-xl md:text-2xl font-bold text-blue-800 border-l-4 border-blue-500 pl-3 mb-6 flex items-center">
|
| 323 |
+
<i class="fas fa-upload mr-2"></i> Exportar Petições
|
| 324 |
+
</h2>
|
| 325 |
+
|
| 326 |
+
<p class="text-gray-700 mb-4">Clique para exportar os dados preenchidos como arquivos locais nos formatos disponíveis.</p>
|
| 327 |
+
|
| 328 |
+
<div class="flex flex-wrap gap-3">
|
| 329 |
+
<button onclick="exportData('resp')" class="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 transition-all text-white font-medium px-4 py-2 rounded text-sm">
|
| 330 |
+
<i class="fas fa-file-export mr-1"></i> Exportar REsp
|
| 331 |
+
</button>
|
| 332 |
+
<button onclick="exportData('re')" class="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 transition-all text-white font-medium px-4 py-2 rounded text-sm">
|
| 333 |
+
<i class="fas fa-file-export mr-1"></i> Exportar RE
|
| 334 |
+
</button>
|
| 335 |
+
</div>
|
| 336 |
+
</section>
|
| 337 |
+
</main>
|
| 338 |
+
|
| 339 |
+
<footer class="bg-blue-900 text-white py-6">
|
| 340 |
+
<div class="container mx-auto px-4 text-center">
|
| 341 |
+
<p>© 2023 Recursos Especial e Extraordinário - Ferramenta para auxílio jurídico</p>
|
| 342 |
+
<p class="text-blue-200 text-sm mt-2"><i class="fas fa-info-circle mr-1"></i> Esta ferramenta não substitui o aconselhamento jurídico profissional</p>
|
| 343 |
+
</div>
|
| 344 |
+
</footer>
|
| 345 |
+
|
| 346 |
+
<script>
|
| 347 |
+
// Tab functionality
|
| 348 |
+
document.querySelectorAll('.tab-button').forEach(button => {
|
| 349 |
+
button.addEventListener('click', () => {
|
| 350 |
+
// Remove active classes from all buttons and tabs
|
| 351 |
+
document.querySelectorAll('.tab-button').forEach(btn => {
|
| 352 |
+
btn.classList.remove('active', 'text-blue-600', 'border-blue-500');
|
| 353 |
+
btn.classList.add('text-gray-500');
|
| 354 |
+
});
|
| 355 |
+
|
| 356 |
+
document.querySelectorAll('.tab-content').forEach(tab => {
|
| 357 |
+
tab.classList.remove('active');
|
| 358 |
+
});
|
| 359 |
+
|
| 360 |
+
// Add active class to clicked button and corresponding tab
|
| 361 |
+
button.classList.add('active', 'text-blue-600', 'border-blue-500');
|
| 362 |
+
button.classList.remove('text-gray-500');
|
| 363 |
+
|
| 364 |
+
const tabId = button.getAttribute('data-tab');
|
| 365 |
+
document.getElementById(tabId).classList.add('active');
|
| 366 |
+
});
|
| 367 |
+
});
|
| 368 |
+
|
| 369 |
+
// Save data to localStorage
|
| 370 |
+
function saveData(type) {
|
| 371 |
+
const data = {
|
| 372 |
+
fund: document.getElementById('fund_' + type).value,
|
| 373 |
+
relev: document.getElementById('relev_' + type).value,
|
| 374 |
+
fato: document.getElementById('fato_' + type).value,
|
| 375 |
+
motivacao: document.getElementById('motivacao_' + type).value,
|
| 376 |
+
pedido: document.getElementById('pedido_' + type).value
|
| 377 |
+
};
|
| 378 |
+
|
| 379 |
+
localStorage.setItem('peticao_' + type, JSON.stringify(data));
|
| 380 |
+
|
| 381 |
+
// Show notification
|
| 382 |
+
const notification = document.createElement('div');
|
| 383 |
+
notification.className = 'fixed top-4 right-4 bg-green-500 text-white px-4 py-2 rounded-md shadow-lg flex items-center gap-2 animate-fade-in-down';
|
| 384 |
+
notification.innerHTML = `
|
| 385 |
+
<i class="fas fa-check-circle"></i> Dados salvos com sucesso!
|
| 386 |
+
`;
|
| 387 |
+
document.body.appendChild(notification);
|
| 388 |
+
|
| 389 |
+
setTimeout(() => {
|
| 390 |
+
notification.classList.add('opacity-0', 'translate-x-10', 'transition-all', 'duration-300');
|
| 391 |
+
setTimeout(() => notification.remove(), 300);
|
| 392 |
+
}, 3000);
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
+
// Export data as file
|
| 396 |
+
function exportData(type) {
|
| 397 |
+
const data = JSON.parse(localStorage.getItem('peticao_' + type));
|
| 398 |
+
if (!data) {
|
| 399 |
+
alert('Nenhum dado salvo para este recurso.');
|
| 400 |
+
return;
|
| 401 |
+
}
|
| 402 |
+
|
| 403 |
+
let content = '';
|
| 404 |
+
|
| 405 |
+
if (type === 'resp') {
|
| 406 |
+
content = `RECURSO ESPECIAL\n\n`;
|
| 407 |
+
content += `Fundamento Legal: ${data.fund}\n\n`;
|
| 408 |
+
content += `Relevância: ${data.relev}\n\n`;
|
| 409 |
+
content += `Premissa Fática: ${data.fato}\n\n`;
|
| 410 |
+
content += `Motivação: ${data.motivacao}\n\n`;
|
| 411 |
+
content += `Pedido: ${data.pedido}`;
|
| 412 |
+
} else {
|
| 413 |
+
content = `RECURSO EXTRAORDINÁRIO\n\n`;
|
| 414 |
+
content += `Fundamento Legal: ${data.fund}\n\n`;
|
| 415 |
+
content += `Repercussão Geral: ${data.relev}\n\n`;
|
| 416 |
+
content += `Premissa Fática: ${data.fato}\n\n`;
|
| 417 |
+
content += `Motivação: ${data.motivacao}\n\n`;
|
| 418 |
+
content += `Pedido: ${data.pedido}`;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
const blob = new Blob([content], { type: 'text/plain' });
|
| 422 |
+
const a = document.createElement('a');
|
| 423 |
+
a.href = URL.createObjectURL(blob);
|
| 424 |
+
a.download = `peticao_${type}.txt`;
|
| 425 |
+
a.click();
|
| 426 |
+
}
|
| 427 |
+
|
| 428 |
+
// Preview model
|
| 429 |
+
function previewModel(type) {
|
| 430 |
+
const data = JSON.parse(localStorage.getItem('peticao_' + type));
|
| 431 |
+
if (!data) {
|
| 432 |
+
alert('Preencha e salve os dados primeiro.');
|
| 433 |
+
return;
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
let modelText = '';
|
| 437 |
+
|
| 438 |
+
if (type === 'resp') {
|
| 439 |
+
modelText = `EXMO. SR. DR. JUIZ DE DIREITO DA ___ VARA CÍVEL DO(A) _________________________\n\n`;
|
| 440 |
+
modelText += `___________________________, por seu advogado(a) (procuração anexa), nos autos do processo n. ______, vem, mui respeitosamente, perante V. Exa., com fundamento no art. 105, III, ${data.fund.split("'")[1]} da Constituição Federal, interpor:\n\n`;
|
| 441 |
+
modelText += `RECURSO ESPECIAL\n\n`;
|
| 442 |
+
modelText += `contra a decisão de fls. ____, pelos seguintes motivos:\n\n`;
|
| 443 |
+
modelText += `1. DO TEMA\n\n${data.relev}\n\n`;
|
| 444 |
+
modelText += `2. DOS FATOS\n\n${data.fato}\n\n`;
|
| 445 |
+
modelText += `3. DA MOTIVAÇÃO\n\n${data.motivacao}\n\n`;
|
| 446 |
+
modelText += `4. DO PEDIDO\n\n${data.pedido}\n\n`;
|
| 447 |
+
modelText += `Nestes termos,\nPede deferimento.\n\n____________________, ___ de ___________ de _____.\n\n______________________________________\nAdvogado(a)\nOAB/______`;
|
| 448 |
+
} else {
|
| 449 |
+
modelText = `EXMO. SR. DR. JUIZ DE DIREITO DA ___ VARA CÍVEL DO(A) _________________________\n\n`;
|
| 450 |
+
modelText += `___________________________, por seu advogado(a) (procuração anexa), nos autos do processo n. ______, vem, mui respeitosamente, perante V. Exa., com fundamento no art. 102, III, ${data.fund.split("'")[1]} da Constituição Federal e na relevância geral demonstrada, interpor:\n\n`;
|
| 451 |
+
modelText += `RECURSO EXTRAORDINÁRIO\n\n`;
|
| 452 |
+
modelText += `contra a decisão de fls. ____, pelos seguintes motivos:\n\n`;
|
| 453 |
+
modelText += `1. DA REPERCUSSÃO GERAL\n\n${data.relev}\n\n`;
|
| 454 |
+
modelText += `2. DOS FATOS\n\n${data.fato}\n\n`;
|
| 455 |
+
modelText += `3. DA OFENSA CONSTITUCIONAL\n\n${data.motivacao}\n\n`;
|
| 456 |
+
modelText += `4. DO PEDIDO\n\n${data.pedido}\n\n`;
|
| 457 |
+
modelText += `Nestes termos,\nPede deferimento.\n\n____________________, ___ de ___________ de _____.\n\n______________________________________\nAdvogado(a)\nOAB/______`;
|
| 458 |
+
}
|
| 459 |
+
|
| 460 |
+
document.getElementById('modelo').textContent = modelText;
|
| 461 |
+
document.getElementById('modelo-section').classList.remove('hidden');
|
| 462 |
+
document.getElementById('modelo-section').scrollIntoView({ behavior: 'smooth' });
|
| 463 |
+
}
|
| 464 |
+
|
| 465 |
+
// Export function for the model
|
| 466 |
+
function exportar(format) {
|
| 467 |
+
const content = document.getElementById('modelo').textContent;
|
| 468 |
+
|
| 469 |
+
if (format === 'txt') {
|
| 470 |
+
const blob = new Blob([content], { type: 'text/plain' });
|
| 471 |
+
const a = document.createElement('a');
|
| 472 |
+
a.href = URL.createObjectURL(blob);
|
| 473 |
+
a.download = `peticao_modelo.txt`;
|
| 474 |
+
a.click();
|
| 475 |
+
} else if (format === 'docx') {
|
| 476 |
+
alert('Exportação para DOCX seria implementada com uma biblioteca específica em uma aplicação real.');
|
| 477 |
+
}
|
| 478 |
+
}
|
| 479 |
+
|
| 480 |
+
// Initialize first tab as active
|
| 481 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 482 |
+
showAlert();
|
| 483 |
+
});
|
| 484 |
+
|
| 485 |
+
function showAlert() {
|
| 486 |
+
// Show the alert modal on page load
|
| 487 |
+
document.getElementById('aviso').classList.remove('hidden');
|
| 488 |
+
}
|
| 489 |
+
</script>
|
| 490 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=alexandremoraisdarosa/re-resp-vm3" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 491 |
+
</html>
|