{"id":831,"date":"2024-10-07T11:34:46","date_gmt":"2024-10-07T14:34:46","guid":{"rendered":"https:\/\/mhark.com.br\/imersaogap\/?page_id=831"},"modified":"2024-10-07T12:02:32","modified_gmt":"2024-10-07T15:02:32","slug":"formulario-imersao-gap","status":"publish","type":"page","link":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/","title":{"rendered":"Formulario  imers\u00e3o gap"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"831\" class=\"elementor elementor-831\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3785a36d conteinerinicial e-flex e-con-boxed e-con e-parent\" data-id=\"3785a36d\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;position&quot;:&quot;absolute&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-728087e7 elementor-widget-mobile__width-initial elementor-widget elementor-widget-image\" data-id=\"728087e7\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"244\" height=\"180\" src=\"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/10\/copy_of_logo_gap_new_shadow_1.webp\" class=\"attachment-full size-full wp-image-769\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-54b03f91 elementor-widget__width-initial elementor-widget elementor-widget-heading\" data-id=\"54b03f91\" data-element_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\">Impulsione o crescimento da sua empresa em at\u00e9 5x nos pr\u00f3ximos 12 meses!<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2f786998 elementor-widget__width-initial elementor-widget elementor-widget-heading\" data-id=\"2f786998\" data-element_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\">Preencha o formul\u00e1rio e garanta sua participa\u00e7\u00e3o no processo\u00a0seletivo.<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b8f127e btninicial elementor-widget elementor-widget-button\" data-id=\"b8f127e\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"#\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Iniciar<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-141d79e6 elementor-widget__width-initial elementor-widget elementor-widget-heading\" data-id=\"141d79e6\" data-element_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\">Voc\u00ea tambem pode teclar<b> \"ENTER' <\/b>para iniciar<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-288bcd63 conteinerformulario e-flex e-con-boxed e-con e-parent\" data-id=\"288bcd63\" data-element_type=\"container\" data-settings=\"{&quot;position&quot;:&quot;absolute&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-74a92c1a elementor-widget__width-initial formulariotypeform elementor-button-align-stretch elementor-widget elementor-widget-form\" data-id=\"74a92c1a\" data-element_type=\"widget\" data-settings=\"{&quot;step_next_label&quot;:&quot;Next&quot;,&quot;step_previous_label&quot;:&quot;Previous&quot;,&quot;button_width&quot;:&quot;50&quot;,&quot;step_type&quot;:&quot;number_text&quot;,&quot;step_icon_shape&quot;:&quot;circle&quot;}\" data-widget_type=\"form.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<form class=\"elementor-form\" method=\"post\" name=\"Fomulario de campanha\">\n\t\t\t<input type=\"hidden\" name=\"post_id\" value=\"831\"\/>\n\t\t\t<input type=\"hidden\" name=\"form_id\" value=\"74a92c1a\"\/>\n\t\t\t<input type=\"hidden\" name=\"referer_title\" value=\"Imers\u00e3o Gap\" \/>\n\n\t\t\t\n\t\t\t<div class=\"elementor-form-fields-wrapper elementor-labels-above\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-name elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-name\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tQUAL O SEU NOME ? \t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[name]\" id=\"form-field-name\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"QUAL O SEU NOME ? \" required=\"required\" aria-required=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-email elementor-field-group elementor-column elementor-field-group-email elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-email\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tQUAL O SEU E-MAIL ?\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"email\" name=\"form_fields[email]\" id=\"form-field-email\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"QUAL O SEU E-MAIL?\" required=\"required\" aria-required=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-tel elementor-field-group elementor-column elementor-field-group-phone elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-phone\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tQUAL O SEU N\u00daMERO DE WHATS APP ?\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<input size=\"1\" type=\"tel\" name=\"form_fields[phone]\" id=\"form-field-phone\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"QUAL O SEU N\u00daMERO DE WHATS APP ?\" required=\"required\" aria-required=\"true\" pattern=\"[0-9()#&amp;+*-=.]+\" title=\"Only numbers and phone characters (#, -, *, etc) are accepted.\">\n\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-empresa elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-empresa\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tNome da empresa que atua.\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[empresa]\" id=\"form-field-empresa\" class=\"elementor-field elementor-size-sm  elementor-field-textual\" placeholder=\"Nome da empresa que atua.\" required=\"required\" aria-required=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-radio elementor-field-group elementor-column elementor-field-group-cargo elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-cargo\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tQual seu cargo atual?\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<div class=\"elementor-field-subgroup  \"><span class=\"elementor-field-option\"><input type=\"radio\" value=\"Presidente \/ CEO\" id=\"form-field-cargo-0\" name=\"form_fields[cargo]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-cargo-0\">Presidente \/ CEO<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"C-Level \" id=\"form-field-cargo-1\" name=\"form_fields[cargo]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-cargo-1\">C-Level <\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"Diretor \/ Gerente Executivo\" id=\"form-field-cargo-2\" name=\"form_fields[cargo]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-cargo-2\">Diretor \/ Gerente Executivo<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"S\u00f3cio-Fundador\" id=\"form-field-cargo-3\" name=\"form_fields[cargo]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-cargo-3\">S\u00f3cio-Fundador<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"Gestor \/ L\u00edder\" id=\"form-field-cargo-4\" name=\"form_fields[cargo]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-cargo-4\">Gestor \/ L\u00edder<\/label><\/span><\/div>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-radio elementor-field-group elementor-column elementor-field-group-faturamento elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-faturamento\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tQual \u00e9 a faixa de faturamento anual atual da sua empresa?\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<div class=\"elementor-field-subgroup  \"><span class=\"elementor-field-option\"><input type=\"radio\" value=\"At\u00e9 500 mil reais \" id=\"form-field-faturamento-0\" name=\"form_fields[faturamento]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-faturamento-0\">At\u00e9 500 mil reais <\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"De 500 mil a 1 milh\u00e3o de reais\" id=\"form-field-faturamento-1\" name=\"form_fields[faturamento]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-faturamento-1\">De 500 mil a 1 milh\u00e3o de reais<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"De 1 a 5 milh\u00f5es de reais\" id=\"form-field-faturamento-2\" name=\"form_fields[faturamento]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-faturamento-2\">De 1 a 5 milh\u00f5es de reais<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"De 5 a 10 milh\u00f5es de reais\" id=\"form-field-faturamento-3\" name=\"form_fields[faturamento]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-faturamento-3\">De 5 a 10 milh\u00f5es de reais<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"De 10 a 50 milh\u00f5es de reais\" id=\"form-field-faturamento-4\" name=\"form_fields[faturamento]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-faturamento-4\">De 10 a 50 milh\u00f5es de reais<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"De 50 a 500 milh\u00f5es de reais\" id=\"form-field-faturamento-5\" name=\"form_fields[faturamento]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-faturamento-5\">De 50 a 500 milh\u00f5es de reais<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"Acima de 500 milh\u00f5es de reais\" id=\"form-field-faturamento-6\" name=\"form_fields[faturamento]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-faturamento-6\">Acima de 500 milh\u00f5es de reais<\/label><\/span><\/div>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-radio elementor-field-group elementor-column elementor-field-group-field_44a94e1 elementor-col-100 elementor-field-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-field_44a94e1\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tQuantos colaboradores, diretos e indiretos, fazem parte da sua empresa atualmente?\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<div class=\"elementor-field-subgroup  \"><span class=\"elementor-field-option\"><input type=\"radio\" value=\"1 a 10 colaboradores\" id=\"form-field-field_44a94e1-0\" name=\"form_fields[field_44a94e1]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-field_44a94e1-0\">1 a 10 colaboradores<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"11 a 50 colaboradores\" id=\"form-field-field_44a94e1-1\" name=\"form_fields[field_44a94e1]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-field_44a94e1-1\">11 a 50 colaboradores<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"51 a 100 colaboradores\" id=\"form-field-field_44a94e1-2\" name=\"form_fields[field_44a94e1]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-field_44a94e1-2\">51 a 100 colaboradores<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"101 a 500 colaboradore\" id=\"form-field-field_44a94e1-3\" name=\"form_fields[field_44a94e1]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-field_44a94e1-3\">101 a 500 colaboradore<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"Acima de 500 colaboradores\" id=\"form-field-field_44a94e1-4\" name=\"form_fields[field_44a94e1]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-field_44a94e1-4\">Acima de 500 colaboradores<\/label><\/span><span class=\"elementor-field-option\"><input type=\"radio\" value=\"Ainda n\u00e3o possuo colaboradores\" id=\"form-field-field_44a94e1-5\" name=\"form_fields[field_44a94e1]\" required=\"required\" aria-required=\"true\"> <label for=\"form-field-field_44a94e1-5\">Ainda n\u00e3o possuo colaboradores<\/label><\/span><\/div>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-group elementor-column elementor-field-type-submit elementor-col-50 e-form__buttons\">\n\t\t\t\t\t<button type=\"submit\" class=\"elementor-button elementor-size-sm\">\n\t\t\t\t\t\t<span >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\" elementor-button-icon\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Enviar<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/form>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-38e87367 elementor-fixed setacima elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"38e87367\" data-element_type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;fixed&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"36\" height=\"30\" viewBox=\"0 0 36 30\" fill=\"none\"><g id=\"setacima\"><g id=\"Rectangle 12\"><mask id=\"path-1-inside-1_2028_31\" fill=\"white\"><path d=\"M0 0H36V30H0V0Z\"><\/path><\/mask><path d=\"M0 0H36V30H0V0Z\" fill=\"white\"><\/path><path d=\"M35.5 0V30H36.5V0H35.5Z\" fill=\"#979797\" mask=\"url(#path-1-inside-1_2028_31)\"><\/path><\/g><g id=\"arrow_back_ios\"><mask id=\"path-3-inside-2_2028_31\" fill=\"white\"><path d=\"M9.13754 19.1692L18.5688 10L28 19.1692L26.9822 20.1685L18.5688 11.9885L10.1651 20.1685L9.13754 19.1692Z\"><\/path><\/mask><path d=\"M9.13754 19.1692L18.5688 10L28 19.1692L26.9822 20.1685L18.5688 11.9885L10.1651 20.1685L9.13754 19.1692Z\" fill=\"#1C1B1F\" stroke=\"#E3912C\" stroke-width=\"2\" mask=\"url(#path-3-inside-2_2028_31)\"><\/path><\/g><\/g><\/svg>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5de03704 elementor-fixed setabaixo elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"5de03704\" data-element_type=\"widget\" data-settings=\"{&quot;_position&quot;:&quot;fixed&quot;}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"36\" height=\"30\" viewBox=\"0 0 36 30\" fill=\"none\"><g id=\"setabaixo\"><g id=\"Rectangle 12\"><mask id=\"path-1-inside-1_2028_34\" fill=\"white\"><path d=\"M36 30L0 30L0 0L36 0L36 30Z\"><\/path><\/mask><path d=\"M36 30L0 30L0 0L36 0L36 30Z\" fill=\"white\"><\/path><path d=\"M0.5 30L0.5 0H-0.5L-0.5 30H0.5Z\" fill=\"#979797\" mask=\"url(#path-1-inside-1_2028_34)\"><\/path><\/g><g id=\"arrow_back_ios\"><mask id=\"path-3-inside-2_2028_34\" fill=\"white\"><path d=\"M27.8625 10.8308L18.4312 20L9 10.8308L10.0178 9.8315L18.4312 18.0115L26.8349 9.8315L27.8625 10.8308Z\"><\/path><\/mask><path d=\"M27.8625 10.8308L18.4312 20L9 10.8308L10.0178 9.8315L18.4312 18.0115L26.8349 9.8315L27.8625 10.8308Z\" fill=\"#1C1B1F\" stroke=\"#E3912C\" stroke-width=\"2\" mask=\"url(#path-3-inside-2_2028_34)\"><\/path><\/g><\/g><\/svg>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a4ad473 e-flex e-con-boxed e-con e-parent\" data-id=\"a4ad473\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3fe6460d elementor-widget elementor-widget-html\" data-id=\"3fe6460d\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\r\ndocument.addEventListener('DOMContentLoaded', function() {\r\n    \/\/ Declara\u00e7\u00e3o de constantes\r\n    const conteinerInicial = document.querySelector(\".conteinerinicial\");  \r\n    const btnInicial = document.querySelector(\".btninicial .elementor-button\"); \r\n    const conteinerFormulario = document.querySelector(\".conteinerformulario\"); \r\n    const camposDoFormularioExetoTextareaSubmit = document.querySelectorAll(\".elementor-field-group:not(:last-child):not(:nth-last-child(2))\"); \r\n    const todosCamposDoFormulario = document.querySelectorAll(\".formulariotypeform .elementor-field-group\");\r\n    const formularioTypeForm = document.querySelector(\".formulariotypeform\");\r\n    const setaBaixo = document.querySelector(\".setabaixo\");\r\n    const setaCima = document.querySelector(\".setacima\");\r\n    \r\n    \/\/ Vari\u00e1veis de controle\r\n    let numeroDaPergunta = 0;\r\n    let totalDePerguntasDoFormulario;\r\n    \r\n    \/\/ Fun\u00e7\u00e3o para ocultar a tela inicial\r\n    function ocultarTelaInicial() {\r\n        conteinerInicial.style.opacity = \"0\";\r\n        conteinerInicial.style.pointerEvents = \"none\";\r\n        conteinerFormulario.style.opacity = \"1\";\r\n        conteinerFormulario.style.pointerEvents = \"auto\";\r\n    } \r\n    \r\n    \/\/ Fun\u00e7\u00e3o para revelar a tela inicial\r\n    function revelarTelaInicial() {\r\n        conteinerInicial.style.opacity = \"1\";\r\n        conteinerInicial.style.pointerEvents = \"auto\";\r\n        conteinerFormulario.style.opacity = \"0\";\r\n        conteinerFormulario.style.pointerEvents = \"none\";\r\n    }\r\n    \r\n    \/\/ Fun\u00e7\u00e3o para encontrar a pergunta atual\r\n    function encontrarPerguntaAtual() {\r\n        return Array.from(todosCamposDoFormulario);\r\n    }\r\n    \r\n    \/\/ Fun\u00e7\u00e3o para descobrir o n\u00famero da pergunta atual e atualizar o total de perguntas\r\n    function descobrirPerguntaEAtualizarTotal() {\r\n        const perguntaAtualNaTela = encontrarPerguntaAtual();\r\n        totalDePerguntasDoFormulario = perguntaAtualNaTela.length - 2;\r\n    }\r\n    \r\n    \/\/ Fun\u00e7\u00e3o para colocar e retirar opacidade das setas\r\n    function colocarRetirarOpacidade() {\r\n        if (numeroDaPergunta === 0) {\r\n            setaCima.style.opacity = '0.5';\r\n        } else {\r\n            setaCima.style.opacity = '1';\r\n        }\r\n        \r\n        if (numeroDaPergunta === totalDePerguntasDoFormulario) {\r\n            setaBaixo.style.opacity = '0.5';\r\n        } else {\r\n            setaBaixo.style.opacity = '1';\r\n        }\r\n    }\r\n    \r\n    \/\/ Fun\u00e7\u00e3o para validar o campo do formul\u00e1rio\r\n    function validarCampo() {\r\n        const perguntaAtual = encontrarPerguntaAtual();\r\n        const campoAtual = perguntaAtual[numeroDaPergunta];\r\n        const tagDaPergunta = campoAtual.querySelector('input, textarea');\r\n        if (!tagDaPergunta.checkValidity()) {\r\n            tagDaPergunta.reportValidity();\r\n            return false;\r\n        }\r\n        return true;\r\n    }\r\n    \r\n    \/\/ Fun\u00e7\u00e3o para rolar a tela para cima ap\u00f3s validar o campo\r\n    function rolarTelaPraCima() {\r\n        const numeroDaTela = numeroDaPergunta * 100;\r\n        formularioTypeForm.style.transform = `translateY(-${numeroDaTela}vh)`;\r\n        colocarRetirarOpacidade();\r\n    }\r\n   \r\n    \/\/ Cria\u00e7\u00e3o do bot\u00e3o \"ok\" para cada campo \r\n    camposDoFormularioExetoTextareaSubmit.forEach(function(campoEspecifico) {\r\n        const conteinerBotao = document.createElement('div');\r\n        campoEspecifico.appendChild(conteinerBotao);\r\n        conteinerBotao.classList.add(\"btnavancar\");\r\n        conteinerBotao.textContent = \"Ok\";\r\n        \r\n        \/\/ Criar aviso de avan\u00e7ar com o Enter\r\n        const avisoEnter = document.createElement('div');\r\n        avisoEnter.classList.add(\"avisoenterbtnavancar\");\r\n        avisoEnter.innerHTML = \"Se voc\u00ea desejar tamb\u00e9m pode avan\u00e7ar teclando <b> ENTER<\/b>\";\r\n        campoEspecifico.appendChild(avisoEnter);\r\n    });\r\n   \r\n    \/\/ Evento de clique no bot\u00e3o da tela inicial\r\n    btnInicial.addEventListener('click', ocultarTelaInicial);\r\n    \r\n    \/\/ Evento para confirmar com Enter e lidar com Esc\r\n    document.addEventListener('keydown', function(evento) {\r\n        if (evento.key === 'Tab' || evento.keyCode === 9) {\r\n            evento.preventDefault();\r\n        }\r\n        \r\n        if (evento.key === 'Enter') {\r\n            const estiloContainerInicial = window.getComputedStyle(conteinerInicial);\r\n            const opacityConteinerInicial = estiloContainerInicial.getPropertyValue('opacity');\r\n            evento.preventDefault();\r\n            \r\n            if (opacityConteinerInicial === \"1\") {\r\n                ocultarTelaInicial();  \r\n            } else {\r\n                evento.preventDefault();\r\n                descobrirPerguntaEAtualizarTotal();\r\n                \r\n                if (validarCampo() && numeroDaPergunta < totalDePerguntasDoFormulario) {\r\n                    numeroDaPergunta++;\r\n                    rolarTelaPraCima();\r\n                }\r\n            }\r\n        }\r\n        \r\n        if (evento.key === 'Escape' || evento.key === 'Esc') {\r\n            const estiloContainerInicial = window.getComputedStyle(conteinerInicial);\r\n            const opacityConteinerInicial = estiloContainerInicial.getPropertyValue('opacity');\r\n            \r\n            descobrirPerguntaEAtualizarTotal();\r\n            if (numeroDaPergunta > 0) {\r\n                numeroDaPergunta--;\r\n                rolarTelaPraCima();\r\n            } else if (opacityConteinerInicial === \"0\") {\r\n                revelarTelaInicial();\r\n            }\r\n        }\r\n    });\r\n    \r\n    \/\/ Clique na seta de voltar\r\n    setaCima.addEventListener('click', function() {\r\n        descobrirPerguntaEAtualizarTotal();\r\n        if (numeroDaPergunta > 0) {\r\n            numeroDaPergunta--;\r\n            rolarTelaPraCima();\r\n        }\r\n    });\r\n    \r\n    \/\/ Clique na seta de proximo\r\n    setaBaixo.addEventListener('click', function() {\r\n        descobrirPerguntaEAtualizarTotal();\r\n        if (validarCampo() && numeroDaPergunta < totalDePerguntasDoFormulario) {\r\n            numeroDaPergunta++;\r\n            rolarTelaPraCima();\r\n        }\r\n    });\r\n    \r\n    \/\/ Evento de clique no bot\u00e3o \"ok\" para avan\u00e7ar\r\n    document.querySelectorAll('.btnavancar').forEach(function(botaoEspecifico) {\r\n        botaoEspecifico.addEventListener('click', function() {\r\n            descobrirPerguntaEAtualizarTotal();\r\n            \r\n            if (validarCampo() && numeroDaPergunta < totalDePerguntasDoFormulario) {\r\n                numeroDaPergunta++;\r\n                rolarTelaPraCima();\r\n            }\r\n        });\r\n    });\r\n    \r\n    \/\/ Inicializa a opacidade correta das setas\r\n    colocarRetirarOpacidade();\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\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Impulsione o crescimento da sua empresa em at\u00e9 5x nos pr\u00f3ximos 12 meses! Preencha o formul\u00e1rio e garanta sua participa\u00e7\u00e3o no processo\u00a0seletivo. Iniciar Voc\u00ea tambem pode teclar &#8220;ENTER&#8217; para iniciar<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-831","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Formulario imers\u00e3o gap - Imers\u00e3o Gap<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Formulario imers\u00e3o gap - Imers\u00e3o Gap\" \/>\n<meta property=\"og:description\" content=\"Impulsione o crescimento da sua empresa em at\u00e9 5x nos pr\u00f3ximos 12 meses! Preencha o formul\u00e1rio e garanta sua participa\u00e7\u00e3o no processo\u00a0seletivo. Iniciar Voc\u00ea tambem pode teclar &#8220;ENTER&#8217; para iniciar\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/\" \/>\n<meta property=\"og:site_name\" content=\"Imers\u00e3o Gap\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-07T15:02:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/10\/copy_of_logo_gap_new_shadow_1.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/\",\"url\":\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/\",\"name\":\"Formulario imers\u00e3o gap - Imers\u00e3o Gap\",\"isPartOf\":{\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/10\/copy_of_logo_gap_new_shadow_1.webp\",\"datePublished\":\"2024-10-07T14:34:46+00:00\",\"dateModified\":\"2024-10-07T15:02:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#primaryimage\",\"url\":\"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/10\/copy_of_logo_gap_new_shadow_1.webp\",\"contentUrl\":\"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/10\/copy_of_logo_gap_new_shadow_1.webp\",\"width\":244,\"height\":180},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/mhark.com.br\/imersaogap\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Formulario imers\u00e3o gap\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/#website\",\"url\":\"https:\/\/mhark.com.br\/imersaogap\/\",\"name\":\"Imers\u00e3o Gap\",\"description\":\"Aumente o crescimento da sua empresa em at\u00e9 5x\",\"publisher\":{\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mhark.com.br\/imersaogap\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/#organization\",\"name\":\"Imers\u00e3o Gap\",\"url\":\"https:\/\/mhark.com.br\/imersaogap\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/07\/Formacao-GAP-AGO-24.jpg\",\"contentUrl\":\"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/07\/Formacao-GAP-AGO-24.jpg\",\"width\":1920,\"height\":1080,\"caption\":\"Imers\u00e3o Gap\"},\"image\":{\"@id\":\"https:\/\/mhark.com.br\/imersaogap\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Formulario imers\u00e3o gap - Imers\u00e3o Gap","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/","og_locale":"pt_BR","og_type":"article","og_title":"Formulario imers\u00e3o gap - Imers\u00e3o Gap","og_description":"Impulsione o crescimento da sua empresa em at\u00e9 5x nos pr\u00f3ximos 12 meses! Preencha o formul\u00e1rio e garanta sua participa\u00e7\u00e3o no processo\u00a0seletivo. Iniciar Voc\u00ea tambem pode teclar &#8220;ENTER&#8217; para iniciar","og_url":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/","og_site_name":"Imers\u00e3o Gap","article_modified_time":"2024-10-07T15:02:32+00:00","og_image":[{"url":"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/10\/copy_of_logo_gap_new_shadow_1.webp","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. tempo de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/","url":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/","name":"Formulario imers\u00e3o gap - Imers\u00e3o Gap","isPartOf":{"@id":"https:\/\/mhark.com.br\/imersaogap\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#primaryimage"},"image":{"@id":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#primaryimage"},"thumbnailUrl":"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/10\/copy_of_logo_gap_new_shadow_1.webp","datePublished":"2024-10-07T14:34:46+00:00","dateModified":"2024-10-07T15:02:32+00:00","breadcrumb":{"@id":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#primaryimage","url":"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/10\/copy_of_logo_gap_new_shadow_1.webp","contentUrl":"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/10\/copy_of_logo_gap_new_shadow_1.webp","width":244,"height":180},{"@type":"BreadcrumbList","@id":"https:\/\/mhark.com.br\/imersaogap\/formulario-imersao-gap\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/mhark.com.br\/imersaogap\/"},{"@type":"ListItem","position":2,"name":"Formulario imers\u00e3o gap"}]},{"@type":"WebSite","@id":"https:\/\/mhark.com.br\/imersaogap\/#website","url":"https:\/\/mhark.com.br\/imersaogap\/","name":"Imers\u00e3o Gap","description":"Aumente o crescimento da sua empresa em at\u00e9 5x","publisher":{"@id":"https:\/\/mhark.com.br\/imersaogap\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mhark.com.br\/imersaogap\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/mhark.com.br\/imersaogap\/#organization","name":"Imers\u00e3o Gap","url":"https:\/\/mhark.com.br\/imersaogap\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/mhark.com.br\/imersaogap\/#\/schema\/logo\/image\/","url":"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/07\/Formacao-GAP-AGO-24.jpg","contentUrl":"https:\/\/mhark.com.br\/imersaogap\/wp-content\/uploads\/2024\/07\/Formacao-GAP-AGO-24.jpg","width":1920,"height":1080,"caption":"Imers\u00e3o Gap"},"image":{"@id":"https:\/\/mhark.com.br\/imersaogap\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/mhark.com.br\/imersaogap\/wp-json\/wp\/v2\/pages\/831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mhark.com.br\/imersaogap\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mhark.com.br\/imersaogap\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mhark.com.br\/imersaogap\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mhark.com.br\/imersaogap\/wp-json\/wp\/v2\/comments?post=831"}],"version-history":[{"count":20,"href":"https:\/\/mhark.com.br\/imersaogap\/wp-json\/wp\/v2\/pages\/831\/revisions"}],"predecessor-version":[{"id":890,"href":"https:\/\/mhark.com.br\/imersaogap\/wp-json\/wp\/v2\/pages\/831\/revisions\/890"}],"wp:attachment":[{"href":"https:\/\/mhark.com.br\/imersaogap\/wp-json\/wp\/v2\/media?parent=831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}