{"id":4659,"date":"2025-11-28T13:58:46","date_gmt":"2025-11-28T16:58:46","guid":{"rendered":"https:\/\/seune.edu.br\/portalseune\/?page_id=4659"},"modified":"2026-02-09T14:09:25","modified_gmt":"2026-02-09T17:09:25","slug":"cadastro-da-pre-matricula","status":"publish","type":"page","link":"https:\/\/seune.edu.br\/portalseune\/cadastro-da-pre-matricula\/","title":{"rendered":"Cadastro da matr\u00edcula"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"4659\" class=\"elementor elementor-4659\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fbe5890 conteudo-branco elementor-section-boxed elementor-section-height-default elementor-section-height-default exad-glass-effect-no wpr-particle-no wpr-jarallax-no wpr-parallax-no exad-sticky-section-no\" data-id=\"fbe5890\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b15d3af exad-glass-effect-no exad-sticky-section-no\" data-id=\"b15d3af\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ebf707a exad-sticky-section-no exad-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"ebf707a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Cadastro da matr\u00edcula<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4eb2fa6 conteudo-branco elementor-section-boxed elementor-section-height-default elementor-section-height-default exad-glass-effect-no wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no exad-sticky-section-no\" data-id=\"4eb2fa6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f7b3862 exad-glass-effect-no exad-sticky-section-no\" data-id=\"f7b3862\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d6b2bf0 exad-sticky-section-no exad-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"d6b2bf0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Para criar o cadastro, use o seu CPF como usu\u00e1rio e crie uma senha<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-92f32a5 conteudo-branco elementor-section-boxed elementor-section-height-default elementor-section-height-default exad-glass-effect-no wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no exad-sticky-section-no\" data-id=\"92f32a5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4565460 exad-glass-effect-no exad-sticky-section-no\" data-id=\"4565460\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cbf886f exad-sticky-section-no exad-glass-effect-no elementor-widget elementor-widget-html\" data-id=\"cbf886f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"login-page\">\r\n\r\n  <div class=\"login-container\">\r\n\r\n    <!-- CADASTRO -->\r\n    <div id=\"register-section\" class=\"form-section active\">\r\n      <h2>Criar Conta<\/h2>\r\n\r\n      <input type=\"text\" id=\"reg-cpf\" placeholder=\"Seu CPF (apenas n\u00fameros)\">\r\n      <input type=\"password\" id=\"reg-password\" placeholder=\"Senha (m\u00ednimo 6 caracteres)\">\r\n\r\n      <button onclick=\"register()\">Cadastrar<\/button>\r\n\r\n      <span class=\"toggle-link\" onclick=\"toggleForm('login-section')\">\r\n        J\u00e1 tem conta? Entrar\r\n      <\/span>\r\n    <\/div>\r\n\r\n    <!-- LOGIN -->\r\n    <div id=\"login-section\" class=\"form-section\">\r\n      <h2>Entrar<\/h2>\r\n\r\n      <input type=\"text\" id=\"login-cpf\" placeholder=\"Seu CPF\">\r\n      <input type=\"password\" id=\"login-password\" placeholder=\"Senha\">\r\n\r\n      <button onclick=\"login()\">Entrar<\/button>\r\n\r\n      <span class=\"toggle-link\" onclick=\"toggleForm('register-section')\">\r\n        N\u00e3o tem conta? Cadastrar\r\n      <\/span>\r\n    <\/div>\r\n\r\n  <\/div>\r\n\r\n<\/div>\r\n\r\n<script>\r\nfunction toggleForm(formId) {\r\n  document.getElementById(\"register-section\").classList.remove(\"active\");\r\n  document.getElementById(\"login-section\").classList.remove(\"active\");\r\n  document.getElementById(formId).classList.add(\"active\");\r\n}\r\n\r\n\/\/ CADASTRO\r\nfunction register() {\r\n  const cpf = document.getElementById('reg-cpf').value;\r\n  const password = document.getElementById('reg-password').value;\r\n\r\n  if (cpf.length !== 11 || password.length < 6) {\r\n    alert(\"CPF deve ter 11 d\u00edgitos e a senha no m\u00ednimo 6 caracteres.\");\r\n    return;\r\n  }\r\n\r\n  localStorage.setItem('user_' + cpf, password);\r\n  alert(\"Cadastro realizado com sucesso!\");\r\n\r\n  const tipo = localStorage.getItem('tipo_inscricao');\r\n\r\n  if (tipo === 'vestibular') {\r\n    window.location.href = \"https:\/\/seune.edu.br\/portalseune\/formulario-para-cadastro-de-matricula\/\";\r\n  } else if (tipo === 'enem') {\r\n    window.location.href = \"https:\/\/seune.edu.br\/portalseune\/formulario-para-cadastro-da-matricula-pelo-enem\/\";\r\n  } else {\r\n    window.location.href = \"https:\/\/seune.edu.br\/\";\r\n  }\r\n}\r\n\r\n\/\/ LOGIN\r\nfunction login() {\r\n  const cpf = document.getElementById('login-cpf').value;\r\n  const password = document.getElementById('login-password').value;\r\n\r\n  const storedPassword = localStorage.getItem('user_' + cpf);\r\n\r\n  if (storedPassword === password) {\r\n    alert(\"Login bem-sucedido!\");\r\n\r\n    const tipo = localStorage.getItem('tipo_inscricao');\r\n\r\n    if (tipo === 'vestibular') {\r\n      window.location.href = \"https:\/\/seune.edu.br\/portalseune\/formulario-para-cadastro-de-matricula\/\";\r\n    } else if (tipo === 'enem') {\r\n      window.location.href = \"https:\/\/seune.edu.br\/portalseune\/formulario-para-cadastro-da-matricula-pelo-enem\/\";\r\n    } else {\r\n      window.location.href = \"https:\/\/seune.edu.br\/\";\r\n    }\r\n\r\n  } else {\r\n    alert(\"CPF ou senha inv\u00e1lidos.\");\r\n  }\r\n}\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Cadastro da matr\u00edcula Para criar o cadastro, use o seu CPF como usu\u00e1rio e crie uma senha Criar Conta Cadastrar J\u00e1 tem conta? Entrar Entrar Entrar N\u00e3o tem conta? Cadastrar<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-4659","page","type-page","status-publish","hentry"],"acf":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/seune.edu.br\/portalseune\/wp-json\/wp\/v2\/pages\/4659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seune.edu.br\/portalseune\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/seune.edu.br\/portalseune\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/seune.edu.br\/portalseune\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/seune.edu.br\/portalseune\/wp-json\/wp\/v2\/comments?post=4659"}],"version-history":[{"count":208,"href":"https:\/\/seune.edu.br\/portalseune\/wp-json\/wp\/v2\/pages\/4659\/revisions"}],"predecessor-version":[{"id":6514,"href":"https:\/\/seune.edu.br\/portalseune\/wp-json\/wp\/v2\/pages\/4659\/revisions\/6514"}],"wp:attachment":[{"href":"https:\/\/seune.edu.br\/portalseune\/wp-json\/wp\/v2\/media?parent=4659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}