Update index.html
Browse files- index.html +109 -3
index.html
CHANGED
|
@@ -86,8 +86,8 @@
|
|
| 86 |
<section class="text-white bg-cover bg-center" style="background-image: url('https://marcelovicente.prof/img/capa_02.png')">
|
| 87 |
<div class="bg-blue-900 bg-opacity-70 py-2">
|
| 88 |
<div class="container mx-auto px-4 text-center py-8">
|
| 89 |
-
<h1 class="text-4xl md:text-5xl mb-6">
|
| 90 |
-
<p class="text-xl md:text-2xl mb-8">
|
| 91 |
<div class="mt-8 text-center">
|
| 92 |
<a href="https://marcelovicente.prof/live1947" target="_blank" class="inline-block profmarcelovicente-btn text-xl font-semibold px-8 py-3 rounded-full hover:shadow-md transition-all">
|
| 93 |
<i class="fas fa-rocket"></i> Quero me tornar expert!
|
|
@@ -100,7 +100,113 @@
|
|
| 100 |
<!-- Content Section -->
|
| 101 |
<section class="container mx-auto px-4 py-12 max-w-4xl">
|
| 102 |
<div class="bg-white rounded-lg shadow-lg p-8">
|
| 103 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
</div>
|
| 105 |
|
| 106 |
<!-- Torne-se um Expert Section -->
|
|
|
|
| 86 |
<section class="text-white bg-cover bg-center" style="background-image: url('https://marcelovicente.prof/img/capa_02.png')">
|
| 87 |
<div class="bg-blue-900 bg-opacity-70 py-2">
|
| 88 |
<div class="container mx-auto px-4 text-center py-8">
|
| 89 |
+
<h1 class="text-4xl md:text-5xl mb-6">Negociações Tributárias por Unidade Federada - Estados / DF</h1>
|
| 90 |
+
<p class="text-xl md:text-2xl mb-8">Confira quais modalidades de Negocição estão disponíveis</p>
|
| 91 |
<div class="mt-8 text-center">
|
| 92 |
<a href="https://marcelovicente.prof/live1947" target="_blank" class="inline-block profmarcelovicente-btn text-xl font-semibold px-8 py-3 rounded-full hover:shadow-md transition-all">
|
| 93 |
<i class="fas fa-rocket"></i> Quero me tornar expert!
|
|
|
|
| 100 |
<!-- Content Section -->
|
| 101 |
<section class="container mx-auto px-4 py-12 max-w-4xl">
|
| 102 |
<div class="bg-white rounded-lg shadow-lg p-8">
|
| 103 |
+
<div class="container">
|
| 104 |
+
<h1>Acesso às Procuradorias das Fazendas dos Estados e do DF</h1>
|
| 105 |
+
|
| 106 |
+
<form class="search-form" onsubmit="buscarEstado(event)">
|
| 107 |
+
<div class="input-group">
|
| 108 |
+
<input
|
| 109 |
+
type="text"
|
| 110 |
+
id="estadoInput"
|
| 111 |
+
placeholder="Digite a sigla (ex: SP) ou nome do estado (ex: São Paulo)"
|
| 112 |
+
autocomplete="off"
|
| 113 |
+
>
|
| 114 |
+
<button type="submit" class="btn-acessar">Acessar</button>
|
| 115 |
+
</div>
|
| 116 |
+
</form>
|
| 117 |
+
|
| 118 |
+
<div class="help-text">
|
| 119 |
+
Digite a sigla (SP, RJ, DF etc.) ou o nome da Unidade Federada
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<!-- Modal -->
|
| 124 |
+
<div id="errorModal" class="modal">
|
| 125 |
+
<div class="modal-content">
|
| 126 |
+
<div class="modal-header">Resultado da pesquisa</div>
|
| 127 |
+
<div class="modal-body">Unidade não encontrada. Tente novamente</div>
|
| 128 |
+
<button class="btn-ok" onclick="fecharModal()">OK</button>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
|
| 132 |
+
<script>
|
| 133 |
+
// Dados dos estados brasileiros
|
| 134 |
+
const statesData = {
|
| 135 |
+
'AC': 'www.pge.ac.gov.br/', 'ACRE': 'www.pge.ac.gov.br/',
|
| 136 |
+
'AL': 'http://www.pge.al.gov.br/', 'ALAGOAS': 'http://www.pge.al.gov.br/',
|
| 137 |
+
'AM': 'http://www.pge.am.gov.br/', 'AMAZONAS': 'http://www.pge.am.gov.br/',
|
| 138 |
+
'AP': 'http://www.pge.ap.gov.br/', 'AMAPÁ': 'http://www.pge.ap.gov.br/', 'AMAPA': 'http://www.pge.ap.gov.br/',
|
| 139 |
+
'BA': 'http://www.pge.ba.gov.br/', 'BAHIA': 'http://www.pge.ba.gov.br/',
|
| 140 |
+
'CE': 'http://www.pge.ce.gov.br/', 'CEARÁ': 'http://www.pge.ce.gov.br/', 'CEARA': 'http://www.pge.ce.gov.br/',
|
| 141 |
+
'DF': 'http://www.pg.df.gov.br/', 'DISTRITO FEDERAL': 'http://www.pg.df.gov.br/',
|
| 142 |
+
'ES': 'http://www.pge.es.gov.br/', 'ESPÍRITO SANTO': 'http://www.pge.es.gov.br/', 'ESPIRITO SANTO': 'http://www.pge.es.gov.br/',
|
| 143 |
+
'GO': 'http://www.procuradoria.go.gov.br/', 'GOIÁS': 'http://www.procuradoria.go.gov.br/', 'GOIAS': 'http://www.procuradoria.go.gov.br/',
|
| 144 |
+
'MA': 'http://www.pge.ma.gov.br/', 'MARANHÃO': 'http://www.pge.ma.gov.br/', 'MARANHAO': 'http://www.pge.ma.gov.br/',
|
| 145 |
+
'MG': 'http://www.pge.mg.gov.br/', 'MINAS GERAIS': 'http://www.pge.mg.gov.br/',
|
| 146 |
+
'MS': 'http://www.pge.ms.gov.br/', 'MATO GROSSO DO SUL': 'http://www.pge.ms.gov.br/',
|
| 147 |
+
'MT': 'http://www.pge.mt.gov.br/', 'MATO GROSSO': 'http://www.pge.mt.gov.br/',
|
| 148 |
+
'PA': 'http://www.pge.pa.gov.br/', 'PARÁ': 'http://www.pge.pa.gov.br/', 'PARA': 'http://www.pge.pa.gov.br/',
|
| 149 |
+
'PB': 'http://www.pge.pb.gov.br/', 'PARAÍBA': 'http://www.pge.pb.gov.br/', 'PARAIBA': 'http://www.pge.pb.gov.br/',
|
| 150 |
+
'PE': 'http://www.pge.pe.gov.br/', 'PERNAMBUCO': 'http://www.pge.pe.gov.br/',
|
| 151 |
+
'PI': 'http://www.pge.pi.gov.br/', 'PIAUÍ': 'http://www.pge.pi.gov.br/', 'PIAUI': 'http://www.pge.pi.gov.br/',
|
| 152 |
+
'PR': 'http://www.pge.pr.gov.br/', 'PARANÁ': 'http://www.pge.pr.gov.br/', 'PARANA': 'http://www.pge.pr.gov.br/',
|
| 153 |
+
'RJ': 'http://www.pge.rj.gov.br/', 'RIO DE JANEIRO': 'http://www.pge.rj.gov.br/',
|
| 154 |
+
'RN': 'http://www.pge.rn.gov.br/', 'RIO GRANDE DO NORTE': 'http://www.pge.rn.gov.br/',
|
| 155 |
+
'RO': 'http://www.pge.ro.gov.br/', 'RONDÔNIA': 'http://www.pge.ro.gov.br/', 'RONDONIA': 'http://www.pge.ro.gov.br/',
|
| 156 |
+
'RR': 'http://www.pge.rn.gov.br/', 'RORAIMA': 'http://www.pge.rn.gov.br/',
|
| 157 |
+
'RS': 'http://www.pge.rs.gov.br/', 'RIO GRANDE DO SUL': 'http://www.pge.rs.gov.br/',
|
| 158 |
+
'SC': 'http://www.pge.sc.gov.br/', 'SANTA CATARINA': 'http://www.pge.sc.gov.br/',
|
| 159 |
+
'SE': 'http://www.pge.se.gov.br/', 'SERGIPE': 'http://www.pge.se.gov.br/',
|
| 160 |
+
'SP': 'http://www.pge.sp.gov.br/', 'SÃO PAULO': 'http://www.pge.sp.gov.br/', 'SAO PAULO': 'http://www.pge.sp.gov.br/',
|
| 161 |
+
'TO': 'http://www.pge.to.gov.br/', 'TOCANTINS': 'http://www.pge.to.gov.br/'
|
| 162 |
+
};
|
| 163 |
+
|
| 164 |
+
function buscarEstado(event) {
|
| 165 |
+
event.preventDefault();
|
| 166 |
+
|
| 167 |
+
const input = document.getElementById('estadoInput');
|
| 168 |
+
const busca = input.value.trim().toUpperCase();
|
| 169 |
+
|
| 170 |
+
if (!busca) {
|
| 171 |
+
mostrarModal();
|
| 172 |
+
return;
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
const url = statesData[busca];
|
| 176 |
+
|
| 177 |
+
if (url) {
|
| 178 |
+
// Adiciona protocolo se não existir
|
| 179 |
+
const urlCompleta = url.startsWith('http') ? url : 'http://' + url;
|
| 180 |
+
window.open(urlCompleta, '_blank');
|
| 181 |
+
input.value = ''; // Limpa o campo após busca bem-sucedida
|
| 182 |
+
} else {
|
| 183 |
+
mostrarModal();
|
| 184 |
+
}
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
function mostrarModal() {
|
| 188 |
+
document.getElementById('errorModal').style.display = 'block';
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
function fecharModal() {
|
| 192 |
+
document.getElementById('errorModal').style.display = 'none';
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
// Fechar modal ao clicar fora dele
|
| 196 |
+
window.onclick = function(event) {
|
| 197 |
+
const modal = document.getElementById('errorModal');
|
| 198 |
+
if (event.target === modal) {
|
| 199 |
+
fecharModal();
|
| 200 |
+
}
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
// Permitir busca ao pressionar Enter
|
| 204 |
+
document.getElementById('estadoInput').addEventListener('keypress', function(event) {
|
| 205 |
+
if (event.key === 'Enter') {
|
| 206 |
+
buscarEstado(event);
|
| 207 |
+
}
|
| 208 |
+
});
|
| 209 |
+
</script>
|
| 210 |
</div>
|
| 211 |
|
| 212 |
<!-- Torne-se um Expert Section -->
|