<?php wp_footer();
$modal = get_field('imagem', get_page_by_path('modal-de-sair-da-pagina')->ID);
$linker = get_field('link', get_page_by_path('modal-de-sair-da-pagina')->ID);

$current_page = sanitize_post($GLOBALS['wp_the_query']->get_queried_object());
// Get the page slug
$slug = $current_page->post_name;

?>

<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<div onclick="closeModal()" class="modal-saida d<?= $slug ?>">
    <div class="modal-case">
        <a href="<?= $linker ?>">
            <img src="<?= $modal ?>" alt="modal">
        </a>
        <div class="closer">
            <svg fill="#000000" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 30 30" width="30px" height="30px">    <path d="M 7 4 C 6.744125 4 6.4879687 4.0974687 6.2929688 4.2929688 L 4.2929688 6.2929688 C 3.9019687 6.6839688 3.9019687 7.3170313 4.2929688 7.7070312 L 11.585938 15 L 4.2929688 22.292969 C 3.9019687 22.683969 3.9019687 23.317031 4.2929688 23.707031 L 6.2929688 25.707031 C 6.6839688 26.098031 7.3170313 26.098031 7.7070312 25.707031 L 15 18.414062 L 22.292969 25.707031 C 22.682969 26.098031 23.317031 26.098031 23.707031 25.707031 L 25.707031 23.707031 C 26.098031 23.316031 26.098031 22.682969 25.707031 22.292969 L 18.414062 15 L 25.707031 7.7070312 C 26.098031 7.3170312 26.098031 6.6829688 25.707031 6.2929688 L 23.707031 4.2929688 C 23.316031 3.9019687 22.682969 3.9019687 22.292969 4.2929688 L 15 11.585938 L 7.7070312 4.2929688 C 7.5115312 4.0974687 7.255875 4 7 4 z"/></svg>
        </div>
    </div>
</div>

<script>
    var saiu = false; // mudar pra false vai ligar o modal
    setTimeout(() => {
        if (!readCookie('hide2')) {
            if (saiu != true) {
                document.querySelector('.modal-saida').classList.add('on');

                saiu = true;
                createCookie('hide2', true, 1);

            }
        }
    }, 10000);
    document.addEventListener("mouseleave", function(event) {
        if (!readCookie('hide2')) {
            if (saiu != true) {

                if (event.clientY <= 0 || event.clientX <= 0 || (event.clientX >= window.innerWidth || event.clientY >= window.innerHeight)) {
                    document.querySelector('.modal-saida').classList.add('on');

                    saiu = true;
                    createCookie('hide2', true, 1);
                }
            }
        }


    });

    if (screen.width <= 768) {
        setTimeout(() => {
            if (!readCookie('hide2')) {
                if (document.querySelector('.programa-selfy-presencial') || document.querySelector('.programa-selfy')) {
                    return;
                } else {
                    if (saiu != true) {
                        document.querySelector('.modal-saida').classList.add('on');

                        saiu = true;
                        createCookie('hide2', true, 2);

                    }
                }
            }
        }, 60000);
    }


    // ---
    // And some generic cookie logic
    // ---
    function createCookie(name, value, days) {
        if (days) {
            var date = new Date();
            date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
            // date.setTime(date.getTime() + (10000));
            var expires = "; expires=" + date.toGMTString();
        } else var expires = "";
        document.cookie = name + "=" + value + expires + "; path=/";
    }

    function readCookie(name) {
        var nameEQ = name + "=";
        var ca = document.cookie.split(';');
        for (var i = 0; i < ca.length; i++) {
            var c = ca[i];
            while (c.charAt(0) == ' ') c = c.substring(1, c.length);
            if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
        }
        return null;
    }

    function eraseCookie(name) {
        createCookie(name, "", -1);
    }
</script>
<!--<div class="cookie-cont">
    <div class="container">
    <div class="cookie-popup">
            <p>Este site utiliza cookies para otimizar a sua experiência de navegação. Ao continuar navegando, você concorda com a nossa <a href="/politica-de-privacidade">política de privacidade.</a></p>
            <button onclick="modale()">CONTINUAR E FECHAR</button>
    </div>
    </div>
</div>-->
<script>
function modale(){
    const bye = document.querySelector('.cookie-cont');
        bye.classList.remove('mostra');
        createCookie('hide', true, 1)
        return false;
    
}

$(document).ready(function() {

// If the 'hide cookie is not set we show the message
if (!readCookie('hide')) {
//   $('#popupDiv').show();
    let bye = document.querySelector('.cookie-cont');
    bye.classList.add('mostra');
}

// Add the event that closes the popup and sets the cookie that tells us to
// not show it again until one day has passed.
// $('#close').click(function() {
//   $('#popupDiv').hide();
//   createCookie('hide', true, 1)
//   return false;
// });


});

// ---
// And some generic cookie logic
// ---
function createCookie(name,value,days) {
if (days) {
  var date = new Date();
  date.setTime(date.getTime()+(days*24*60*60*1000));
  var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
  var c = ca[i];
  while (c.charAt(0)==' ') c = c.substring(1,c.length);
  if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}

function eraseCookie(name) {
createCookie(name,"",-1);
}
</script>
<div class="whats-call">
    <a target="_blank" href="https://api.whatsapp.com/send?phone=+555192629646&text=Olá, pode me ajudar?">
        <svg viewBox="-23 -21 682 682.66669" xmlns="http://www.w3.org/2000/svg">
            <path d="m544.386719 93.007812c-59.875-59.945312-139.503907-92.9726558-224.335938-93.007812-174.804687 0-317.070312 142.261719-317.140625 317.113281-.023437 55.894531 14.578125 110.457031 42.332032 158.550781l-44.992188 164.335938 168.121094-44.101562c46.324218 25.269531 98.476562 38.585937 151.550781 38.601562h.132813c174.785156 0 317.066406-142.273438 317.132812-317.132812.035156-84.742188-32.921875-164.417969-92.800781-224.359376zm-224.335938 487.933594h-.109375c-47.296875-.019531-93.683594-12.730468-134.160156-36.742187l-9.621094-5.714844-99.765625 26.171875 26.628907-97.269531-6.269532-9.972657c-26.386718-41.96875-40.320312-90.476562-40.296875-140.28125.054688-145.332031 118.304688-263.570312 263.699219-263.570312 70.40625.023438 136.589844 27.476562 186.355469 77.300781s77.15625 116.050781 77.132812 186.484375c-.0625 145.34375-118.304687 263.59375-263.59375 263.59375zm144.585938-197.417968c-7.921875-3.96875-46.882813-23.132813-54.148438-25.78125-7.257812-2.644532-12.546875-3.960938-17.824219 3.96875-5.285156 7.929687-20.46875 25.78125-25.09375 31.066406-4.625 5.289062-9.242187 5.953125-17.167968 1.984375-7.925782-3.964844-33.457032-12.335938-63.726563-39.332031-23.554687-21.011719-39.457031-46.960938-44.082031-54.890626-4.617188-7.9375-.039062-11.8125 3.476562-16.171874 8.578126-10.652344 17.167969-21.820313 19.808594-27.105469 2.644532-5.289063 1.320313-9.917969-.664062-13.882813-1.976563-3.964844-17.824219-42.96875-24.425782-58.839844-6.4375-15.445312-12.964843-13.359374-17.832031-13.601562-4.617187-.230469-9.902343-.277344-15.1875-.277344-5.28125 0-13.867187 1.980469-21.132812 9.917969-7.261719 7.933594-27.730469 27.101563-27.730469 66.105469s28.394531 76.683594 32.355469 81.972656c3.960937 5.289062 55.878906 85.328125 135.367187 119.648438 18.90625 8.171874 33.664063 13.042968 45.175782 16.695312 18.984374 6.03125 36.253906 5.179688 49.910156 3.140625 15.226562-2.277344 46.878906-19.171875 53.488281-37.679687 6.601563-18.511719 6.601563-34.375 4.617187-37.683594-1.976562-3.304688-7.261718-5.285156-15.183593-9.253906zm0 0" fill-rule="evenodd" />
        </svg>
        <div class="vuvu">
            Mandar mensagem
        </div>
    </a>
</div>

<?php
if (isset($_GET['success']) && $_GET['success'] == 'true') :
?>
<script>
    swal("Obrigado!", "Seu e-mail foi cadastrado com sucesso!", "success");
    remove_hash_from_url();
</script>
<?php endif; ?>
<?php
if (isset($_GET['success']) && $_GET['success'] == 'false_2') :
?>
<script>
    swal("Ops!", "Seu e-mail já está na nossa base", "error");
    remove_hash_from_url();
</script>
<?php endif; ?>
<?php
if (isset($_GET['success']) && $_GET['success'] == 'false') :
?>
<script>
    swal("Ops!", "Houve um erro ao cadastrar seu email, tente novamente", "error");
    remove_hash_from_url();
</script>
<?php endif; ?>
<?php
if (isset($_GET['notificar']) && $_GET['notificar'] == 'true') :
?>
<script>
    swal("Obrigado!", "Recebemos sua mensagem e retornaremos em breve", "success");
    remove_hash_from_url();
</script>
<?php endif; ?>


<footer>
    <div id="nnews" class="container">
        <div class="newsletter">
            <span>Receba novidades por e-mail</span>
            <form action="" method="post" enctype="multipart/form-data">
            <div id='recaptcha' class="g-recaptcha" data-sitekey="6LdFtE4oAAAAAO5HpKfEHJDgKzDpKEJ9Sv44NwE0" data-callback="sendForm" data-size="invisible"></div>
                <input type="text" minlength="3" maxlength="40" name="nome_news" placeholder="Nome" required>
                <input type="email" minlength="5" maxlength="40" name="email_news" placeholder="E-mail" required>
                <button>Enviar</button>
            </form>
        </div>
    </div>
    <div class="footer-content">
        <div class="container dflex">
            <a class="logo-f" href="">
                <svg xmlns="http://www.w3.org/2000/svg" width="186.68" height="39.537" viewBox="0 0 186.68 39.537">
                    <g id="Grupo_2308" data-name="Grupo 2308" transform="translate(22725.68 12399.31)">
                        <g id="Grupo_2291" data-name="Grupo 2291" transform="translate(-22679.625 -12396.213)">
                            <g id="Grupo_2285" data-name="Grupo 2285" transform="translate(0 0)">
                                <path id="Caminho_1268" data-name="Caminho 1268" d="M220.272,263.279a27.309,27.309,0,0,0-7.106-4.312l-1.477-.688c-2.055-.945-3.616-1.7-4.633-2.257a8.019,8.019,0,0,1-2.4-1.895,3.83,3.83,0,0,1-.865-2.5,4.44,4.44,0,0,1,1.882-3.869,9.144,9.144,0,0,1,5.3-1.342,12.274,12.274,0,0,1,5.663,1.426,8.63,8.63,0,0,1,3.92,3.865l.165.333.916-1.127-.068-.135a9.479,9.479,0,0,0-4.3-4.2,13.793,13.793,0,0,0-6.384-1.549,14.243,14.243,0,0,0-5.536,1.072,9.6,9.6,0,0,0-4.089,3.165,8.266,8.266,0,0,0-1.54,5.013,6.83,6.83,0,0,0,1.143,3.975,9.85,9.85,0,0,0,3.262,2.861,57.147,57.147,0,0,0,5.8,2.789,23.228,23.228,0,0,1,6.165,3.481,5.012,5.012,0,0,1,1.924,3.81,5.2,5.2,0,0,1-1.869,4.27,8.016,8.016,0,0,1-5.16,1.527,14.553,14.553,0,0,1-6.017-1.333,8.546,8.546,0,0,1-4.207-3.768l-.173-.329-.857,1.139.072.135a9.464,9.464,0,0,0,4.654,4.122,15.961,15.961,0,0,0,6.523,1.418,14.05,14.05,0,0,0,6.161-1.274,9.837,9.837,0,0,0,4.063-3.49,8.929,8.929,0,0,0,1.435-4.928A7.134,7.134,0,0,0,220.272,263.279Z" transform="translate(-199.71 -245.03)" fill="#164341" />
                                <path id="Caminho_1269" data-name="Caminho 1269" d="M263.38,278.486h20.853V277.1h-14.9V266.326h9.739v-1.384h-9.739V247.114h14.9V245.73H263.38Z" transform="translate(-236.514 -245.435)" fill="#164341" />
                                <path id="Caminho_1270" data-name="Caminho 1270" d="M382.64,278.486h5.954V266.326h9.739v-1.384h-9.739V247.114h14.9V245.73H382.64Z" transform="translate(-305.452 -245.435)" fill="#164341" />
                                <path id="Caminho_1271" data-name="Caminho 1271" d="M329.368,245.73H323.41v32.756h20.857V277.1h-14.9Z" transform="translate(-271.214 -245.435)" fill="#164341" />
                                <path id="Caminho_1272" data-name="Caminho 1272" d="M469.007,245.73l-10.8,19.456-10.8-19.456H440.66l11.891,21.8v10.958H458.5l0-10.975,12.085-21.781Z" transform="translate(-338.991 -245.435)" fill="#164341" />
                            </g>
                            <g id="Grupo_2290" data-name="Grupo 2290" transform="translate(133.986 0.59)">
                                <g id="Grupo_2287" data-name="Grupo 2287">
                                    <g id="Grupo_2286" data-name="Grupo 2286">
                                        <path id="Caminho_1273" data-name="Caminho 1273" d="M520.5,246.429a3.39,3.39,0,1,0,3.388,3.312A3.347,3.347,0,0,0,520.5,246.429Zm.127,6.376a2.991,2.991,0,1,1,2.874-3.055A2.958,2.958,0,0,1,520.625,252.8Z" transform="translate(-517.249 -246.429)" fill="#164341" />
                                    </g>
                                </g>
                                <g id="Grupo_2289" data-name="Grupo 2289" transform="translate(2.191 1.393)">
                                    <g id="Grupo_2288" data-name="Grupo 2288">
                                        <path id="Caminho_1274" data-name="Caminho 1274" d="M524.98,250.924a1.221,1.221,0,0,0-1.257-1.194l-1.283.025.08,3.941.236,0-.034-1.515.987-.017,1.11,1.553.194-.139-1.025-1.443A1.23,1.23,0,0,0,524.98,250.924Zm-2.266,1.013-.042-1.949,1.055-.017a.975.975,0,1,1,.038,1.949Z" transform="translate(-522.44 -249.729)" fill="#164341" />
                                    </g>
                                </g>
                            </g>
                        </g>
                        <g id="Grupo_2293" data-name="Grupo 2293" transform="translate(-22725.68 -12399.31)">
                            <path id="Caminho_1275" data-name="Caminho 1275" d="M120.59,257.66l.89.89,2.266-2.266,2.266,2.266.895-.89-3.16-3.16Z" transform="translate(-107.919 -247.407)" fill="#164341" />
                            <path id="Caminho_1276" data-name="Caminho 1276" d="M118.392,256.826l-5.882-5.916H100.269l-5.882,5.916H91.826A20.757,20.757,0,0,1,96.311,244.2a13.394,13.394,0,0,1,10.334-5.249c5.519,0,10.561,3.89,13.106,9.882h1.363c-2.667-6.747-8.253-11.144-14.465-11.144-8.869,0-16.089,8.869-16.089,19.773v.629h3.882l11.95,11.882,11.95-11.882h2.249a20.757,20.757,0,0,1-4.485,12.625,13.394,13.394,0,0,1-10.334,5.249c-5.494,0-10.519-3.857-13.076-9.81H91.332c2.675,6.7,8.249,11.072,14.439,11.072,8.869,0,16.089-8.869,16.089-19.773v-.629Zm-6.924-4.65-1,4.654h-8.165l-1-4.654Zm-11.313.637.861,4.013H96.164Zm-3.928,5.279h5.063l1.371,6.393ZM106.387,268.2l-2.093-2.08-1.722-8.026h7.62l-1.722,8.026Zm3.73-3.709,1.371-6.393h5.063Zm1.641-7.663.861-4.013,3.992,4.013Z" transform="translate(-90.56 -237.69)" fill="#164341" />
                        </g>
                    </g>
                </svg>
            </a>
            <?php 
            $items1 = get_field('items_1', get_page_by_path('home')->ID);
            $items2 = get_field('items_completos', get_page_by_path('home')->ID);
            
            ?>
            <ul>
                <li class="tt"><a><span></span></a></li>
                <?php foreach($items1['item'] as $i1): ?>
                    <li><a href="<?=$i1['link']?>"><span><?=$i1['titulo']?></span></a></li>
                <?php endforeach; ?>
            </ul>
            <ul>
                <?php foreach($items2['item'] as $i2): ?>
                    <li><a href="<?=$i2['link']?>"><span><?=$i2['titulo']?></span></a></li>
                <?php endforeach; ?>
            </ul>
            <ul>
                <li class="tt"><a><span>FALE CONOSCO</span></a></li>
                <!--<li class="tt"><a><span>CONTATO</span></a></li>
                <li><a><span>Cnpj: 28.830.290/0001-10</span></a></li>-->
                <li><a><span>51 99262-9646</span></a></li>
                <li><a href="mailto:contato@selfy.com.br"><span>contato@selfy.com.br</span></a></li>
                <br><br>
                <!--<li><a><span>Fale Conosco</span></a></li>-->
                <li class="tt"><a><span>Redes Sociais</span></a></li>
                <li class="sociales">
                    <a target="_blank" href="https://www.instagram.com/selfyconsultoria/"><svg id="Grupo_1843" data-name="Grupo 1843" xmlns="http://www.w3.org/2000/svg" width="21.388" height="21.388" viewBox="0 0 21.388 21.388">
                            <g id="Grupo_1567" data-name="Grupo 1567" transform="translate(0 0)">
                                <path id="Caminho_738" data-name="Caminho 738" d="M728.059,320.892a1.254,1.254,0,1,0,1.254,1.254A1.254,1.254,0,0,0,728.059,320.892Z" transform="translate(-711.703 -317.073)" fill="#164341" />
                                <path id="Caminho_739" data-name="Caminho 739" d="M716.212,323.552a5.267,5.267,0,1,0,5.267,5.267A5.273,5.273,0,0,0,716.212,323.552Zm0,8.641a3.374,3.374,0,1,1,3.374-3.374A3.378,3.378,0,0,1,716.212,332.193Z" transform="translate(-705.43 -318.125)" fill="#164341" />
                                <path id="Caminho_740" data-name="Caminho 740" d="M716.785,335.963h-8.539a6.431,6.431,0,0,1-6.424-6.424V321a6.431,6.431,0,0,1,6.424-6.424h8.539A6.432,6.432,0,0,1,723.21,321v8.54A6.432,6.432,0,0,1,716.785,335.963Zm-8.539-19.376A4.417,4.417,0,0,0,703.834,321v8.54a4.417,4.417,0,0,0,4.412,4.412h8.539a4.417,4.417,0,0,0,4.413-4.412V321a4.417,4.417,0,0,0-4.413-4.412Z" transform="translate(-701.822 -314.575)" fill="#164341" />
                            </g>
                        </svg>
                    </a>
                    <a target="_blank" href="https://www.facebook.com/tatiane.herrmann">
                        <svg xmlns="http://www.w3.org/2000/svg" width="10.691" height="21.382" viewBox="0 0 10.691 21.382">
                            <path id="Caminho_798" data-name="Caminho 798" d="M-64.856,37.578h-2.673v3.564h2.673V51.833H-60.4V41.142h3.245l.319-3.564H-60.4V36.093c0-.851.171-1.188.993-1.188h2.57V30.451h-3.393c-3.2,0-4.626,1.41-4.626,4.112Z" transform="translate(67.529 -30.451)" fill="#164341" />
                        </svg>
                    </a>
                    <a target="_blank" href="https://t.me/tatianiherrmann">
                        <svg xmlns="http://www.w3.org/2000/svg" width="25.199" height="21" viewBox="0 0 25.199 21">
                            <path id="telegram" d="M9.888,15.84,9.471,21.7a1.457,1.457,0,0,0,1.164-.564l2.8-2.672,5.794,4.243c1.063.592,1.811.28,2.1-.978l3.8-17.82h0c.337-1.571-.568-2.185-1.6-1.8L1.17,10.67c-1.526.592-1.5,1.443-.259,1.828l5.715,1.778L19.9,5.969c.625-.414,1.193-.185.726.229Z" transform="translate(0 -2)" fill="#164341" />
                        </svg>
                    </a>
                    
                    <a target="_blank" href="https://www.youtube.com/channel/UCwepaDP9ckpzHU_CiV46S2A">
                        <svg xmlns="http://www.w3.org/2000/svg" width="25.771" height="18.256" viewBox="0 0 25.771 18.256">
                            <g id="youtube_1_" data-name="youtube (1)" transform="translate(0 -59.72)">
                                <g id="Grupo_4240" data-name="Grupo 4240" transform="translate(0 59.72)">
                                    <path id="Caminho_4652" data-name="Caminho 4652" d="M25.412,62.708A2.878,2.878,0,0,0,23.1,60.352a82.822,82.822,0,0,0-20.429,0A2.878,2.878,0,0,0,.36,62.708a52.654,52.654,0,0,0,0,12.281,2.877,2.877,0,0,0,2.312,2.356,82.822,82.822,0,0,0,20.429,0,2.877,2.877,0,0,0,2.311-2.356A52.647,52.647,0,0,0,25.412,62.708ZM10.738,73.144V64.553l6.443,4.3Z" transform="translate(0 -59.72)" fill="#164341" />
                                </g>
                            </g>
                        </svg>
                    </a>
                    <a target="_blank" href="https://www.linkedin.com/in/tatiani-beatriz-herrmann-2313292b">
                        <svg id="linkedin" xmlns="http://www.w3.org/2000/svg" width="21.785" height="21.785" viewBox="0 0 21.785 21.785">
                            <path id="Caminho_4649" data-name="Caminho 4649" d="M22.563,22.484h.005v-7.99c0-3.909-.841-6.919-5.411-6.919a4.743,4.743,0,0,0-4.273,2.348h-.064V7.939H8.489V22.483H13v-7.2c0-1.9.359-3.73,2.708-3.73,2.314,0,2.348,2.164,2.348,3.851v7.081Z" transform="translate(-0.784 -0.699)" fill="#164341" />
                            <path id="Caminho_4650" data-name="Caminho 4650" d="M.4,7.977H4.913V22.521H.4Z" transform="translate(-0.037 -0.736)" fill="#164341" />
                            <path id="Caminho_4651" data-name="Caminho 4651" d="M2.616,0A2.628,2.628,0,1,0,5.232,2.616,2.617,2.617,0,0,0,2.616,0Z" fill="#164341" />
                        </svg>
                    </a>
                    <a target="_blank" href="https://pin.it/5z2fNso">
                        <svg xmlns="http://www.w3.org/2000/svg" width="19.499" height="24" viewBox="0 0 19.499 24">
                            <path id="pinterest" d="M12.326,0C5.747,0,2.25,4.216,2.25,8.812c0,2.131,1.191,4.79,3.1,5.633.544.245.472-.054.94-1.844a.425.425,0,0,0-.1-.417C3.46,9.031,5.654,2.549,11.937,2.549c9.093,0,7.394,12.582,1.582,12.582A2.146,2.146,0,0,1,11.258,12.5c.428-1.733,1.266-3.6,1.266-4.845,0-3.148-4.69-2.681-4.69,1.49A5.046,5.046,0,0,0,8.29,11.3S6.781,17.4,6.5,18.539a16.177,16.177,0,0,0,.111,5.318.158.158,0,0,0,.288.073,18.858,18.858,0,0,0,2.484-4.678c.186-.685.949-3.465.949-3.465a4.146,4.146,0,0,0,3.5,1.668c4.6,0,7.918-4.04,7.918-9.053C21.733,3.6,17.62,0,12.326,0Z" transform="translate(-2.25)" fill="#164341" />
                        </svg>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <div class="copy">
        <div class="container dflex just-sb alg-center">
            <span>© 2023 SELFY - CNPJ: 28.830.290/0001-10</span>
        </div>
    </div>
</footer>
<script type="text/javascript">
    let form = document.querySelector('#contato');
    form.addEventListener('submit',  e => {
        e.preventDefault();
        let name = document.querySelector('#nome');
        let email = document.querySelector('#email');
        if(!name.value || !email.value) {
            alert('Nome e Email são Obrigatorios');
            } else{
            grecaptcha.execute();
        }       
        });
    function sendForm(){
        alert("reCAPTCHA");
    }
</script>
</body>
</html>