<!DOCTYPE html>
<html lang="pt-BR">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>Grupo Robô de Gols</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link data-minify="1" href="https://brunokarttos.com.br/wp-content/cache/min/1/aos@2.3.1/dist/aos.css?ver=1792316972" rel="stylesheet">
  <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
  <script src="https://unpkg.com/feather-icons"></script>

  <style>
    body {
      margin: 0;
      overflow: auto; /* Permitir rolagem da página */
      height: 100vh;
      background-color: transparent;
    }

    /* Definindo o vídeo como fundo */
    .background-video {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1; /* Garante que o vídeo fique atrás do conteúdo */
    }

    .video-container {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden;
    }
    .video-container video {
      position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    }

    .profile-circle {
      width: 150px; height: 150px; border-radius: 50%;
      position: relative; overflow: hidden;
      box-shadow: 0 0 15px 5px rgba(59,130,246,.7);
      animation: brilho 2s infinite;
    }
    @keyframes brilho {
      0% { box-shadow: 0 0 15px 5px rgba(59,130,246,.7); }
      50% { box-shadow: 0 0 30px 15px rgba(59,130,246,1); }
      100% { box-shadow: 0 0 15px 5px rgba(59,130,246,.7); }
    }

    .cta-button{
      background: linear-gradient(135deg,#3B82F6 0%,#1D4ED8 100%);
      transition: all .3s ease;
    }
    .cta-button:hover{
      transform: scale(1.1);
      box-shadow: 0 10px 20px rgba(59,130,246,.4);
    }

    .lock-scroll { overflow: hidden; height: 100vh; }

    footer {
      background-color: #1D4ED8;
    }

    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7); /* Semi-transparente para o fundo */
      justify-content: center;
      align-items: center;
    }
    .modal-content {
      background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); /* Degradê do fundo do modal */
      padding: 20px;
      border-radius: 8px;
      width: 80%;
      max-width: 500px;
      box-shadow: 0 0 20px rgba(59,130,246, .5);
    }
    .modal input {
      width: 100%;
      padding: 10px;
      margin: 5px 0;
      border-radius: 5px;
      border: 1px solid #ddd;
      color: #000;
    }
    .modal button {
      padding: 10px 20px;
      background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); /* Degradê no botão */
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    .modal button:hover {
      transform: scale(1.1);
      box-shadow: 0 10px 20px rgba(59,130,246,.4);
    }

    /* Barra de Progresso */
    .progress-container {
      width: 100%;
      background-color: #ddd;
      border-radius: 8px;
      margin-top: 10px;
    }
    .progress-bar {
      width: 0;
      height: 8px;
      background-color: #3B82F6;
      border-radius: 8px;
    }

    /* Logo dentro do modal */
    .modal-logo {
      display: flex;
      justify-content: center;
      margin-bottom: 20px;
    }
    .modal-logo img {
      width: 120px;
    }
  </style>
<style id="wpr-lazyload-bg-container"></style><style id="wpr-lazyload-bg-exclusion"></style>
<noscript>
<style id="wpr-lazyload-bg-nostyle">.mejs-overlay-button{--wpr-bg-7a566311-2875-4559-8e53-315cdbc66f1a: url('https://brunokarttos.com.br/wp-includes/js/mediaelement/mejs-controls.svg');}.mejs-overlay-loading-bg-img{--wpr-bg-cd0ae3b7-5de0-4ee1-956c-6331a7cea305: url('https://brunokarttos.com.br/wp-includes/js/mediaelement/mejs-controls.svg');}.mejs-button>button{--wpr-bg-a6e735fa-9287-4b9c-b1fa-fdc72286e79a: url('https://brunokarttos.com.br/wp-includes/js/mediaelement/mejs-controls.svg');}.rll-youtube-player .play{--wpr-bg-ce0bbbfd-0e35-47ef-831c-d31291c9af08: url('https://brunokarttos.com.br/wp-content/plugins/wp-rocket/assets/img/youtube.png');}</style>
</noscript>
<script type="application/javascript">const rocket_pairs = [{"selector":".mejs-overlay-button","style":".mejs-overlay-button{--wpr-bg-7a566311-2875-4559-8e53-315cdbc66f1a: url('https:\/\/brunokarttos.com.br\/wp-includes\/js\/mediaelement\/mejs-controls.svg');}","hash":"7a566311-2875-4559-8e53-315cdbc66f1a","url":"https:\/\/brunokarttos.com.br\/wp-includes\/js\/mediaelement\/mejs-controls.svg"},{"selector":".mejs-overlay-loading-bg-img","style":".mejs-overlay-loading-bg-img{--wpr-bg-cd0ae3b7-5de0-4ee1-956c-6331a7cea305: url('https:\/\/brunokarttos.com.br\/wp-includes\/js\/mediaelement\/mejs-controls.svg');}","hash":"cd0ae3b7-5de0-4ee1-956c-6331a7cea305","url":"https:\/\/brunokarttos.com.br\/wp-includes\/js\/mediaelement\/mejs-controls.svg"},{"selector":".mejs-button>button","style":".mejs-button>button{--wpr-bg-a6e735fa-9287-4b9c-b1fa-fdc72286e79a: url('https:\/\/brunokarttos.com.br\/wp-includes\/js\/mediaelement\/mejs-controls.svg');}","hash":"a6e735fa-9287-4b9c-b1fa-fdc72286e79a","url":"https:\/\/brunokarttos.com.br\/wp-includes\/js\/mediaelement\/mejs-controls.svg"},{"selector":".rll-youtube-player .play","style":".rll-youtube-player .play{--wpr-bg-ce0bbbfd-0e35-47ef-831c-d31291c9af08: url('https:\/\/brunokarttos.com.br\/wp-content\/plugins\/wp-rocket\/assets\/img\/youtube.png');}","hash":"ce0bbbfd-0e35-47ef-831c-d31291c9af08","url":"https:\/\/brunokarttos.com.br\/wp-content\/plugins\/wp-rocket\/assets\/img\/youtube.png"}]; const rocket_excluded_pairs = [];</script></head>
<body class="font-sans lock-scroll text-white">
  <!-- Vídeo de fundo -->
  <video class="background-video" autoplay muted loop>
    <source src="lensBG.mov" type="video/mp4">
    Seu navegador não suporta o vídeo.
  </video>

  <div class="min-h-screen flex flex-col">

    <main class="flex-grow">
      <section class="py-12 px-4 sm:px-6 lg:px-8 max-w-4xl mx-auto">

        <!-- LOGO -->
        <div class="flex justify-center mb-6" data-aos="fade-up">
          <img decoding="async" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E" alt="Logo Bruno Karttos" class="w-48 md:w-56" data-lazy-src="LOGO-BRUNO-BRANCA (1).webp"><noscript><img decoding="async" src="LOGO-BRUNO-BRANCA (1).webp" alt="Logo Bruno Karttos" class="w-48 md:w-56"></noscript>
        </div>

        <!-- Título -->
        <h1 class="text-2xl md:text-3xl font-bold text-center mb-6" data-aos="fade-up">
          Chegou o momento de participar do meu <span class="text-blue-400">ROBÔ DE GOLS</span> e concorrer a <span class="text-green-400">10 PIX de R$100</span>
        </h1>

        <!-- Vídeo com autoplay -->
        <div class="mb-12" data-aos="fade-up">
          <div class="video-container rounded-xl overflow-hidden shadow-xl">
            <video id="introVideo" autoplay muted loop="false" playsinline class="w-full h-full">
           <source src="vslBrunin2.mp4" type="video/mp4">
             Seu navegador não suporta vídeos HTML5.
          </video>

          </div>

          <!-- Barra de Progresso -->
          <div class="progress-container">
            <div id="progressBar" class="progress-bar"></div>
          </div>
        </div>

        <!-- Imagem no mesmo local do vídeo -->
        <div class="flex justify-center mb-6">
          <div class="profile-circle overflow-hidden">
            <img decoding="async" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E" alt="Profile" class="w-full h-full object-cover" data-lazy-src="pfpLP@2x.png"><noscript><img decoding="async" src="pfpLP@2x.png" alt="Profile" class="w-full h-full object-cover"></noscript>
          </div>
        </div>

        <!-- Conteúdo revelado após o vídeo -->
        <div id="postContent" class="hidden">
          <div class="text-center mb-12" data-aos="fade-up" data-aos-delay="200">
            <h2 class="text-3xl font-bold mb-4">ENTRE AGORA PARA A LISTA VIP DO MEU ROBÔ DE GOLS</h2>
            <p class="text-gray-200 max-w-lg mx-auto mb-8">
              Seja o primeiro a ter acesso ao grupo exclusivo e ainda concorra a 10 PIX de R$100
            </p>
            <button class="cta-button px-8 py-4 text-white font-bold rounded-full text-lg shadow-lg" id="openModalBtn">
              JUNTE-SE AO GRUPO AGORA!
            </button>
          </div>
        </div>

      </section>
    </main>

    <!-- Footer sem ícones de redes sociais -->
    <footer id="siteFooter" class="text-white py-8 px-4 sm:px-6 lg:px-8 hidden">
      <div class="max-w-7xl mx-auto text-center">
        <p>© 2025 Mansão Green. Todos os direitos reservados.</p>
      </div>
    </footer>
  </div>

  <!-- Modal -->
  <div id="modal" class="modal">
    <div class="modal-content">
      <!-- Logo dentro do modal -->
      <div class="modal-logo">
        <img decoding="async" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E" alt="Logo Modal" data-lazy-src="LOGO-BRUNO-BRANCA (1).webp"><noscript><img decoding="async" src="LOGO-BRUNO-BRANCA (1).webp" alt="Logo Modal"></noscript>
      </div>
      
      <form
      id="form"
      action="https://docs.google.com/forms/u/0/d/e/1FAIpQLSdhZRdBAa83z26fgWyYSe-D65jghFT9BJDxHVygJnM0usp0IA/formResponse"
      method="POST"
      target="hidden_iframe">
      <h2 class="text-2xl font-bold mb-4">Preencha suas informações</h2>

        <input   type="text" name="entry.683230366" id="nome" placeholder="Nome completo" required />
        <!-- Campo telefone com a máscara (DDD) 99999-9999 -->
        <input type="tel" name="entry.576123876" id="telefone" placeholder="(DDD) 99999-9999" maxlength="15" oninput="mascaraTelefone(event)" required />
        <button type="submit" id="submitBtn" disabled>Enviar</button>
      </form>

      <iframe
      name="hidden_iframe"
      id="hidden_iframe"
      style="display: none"
    ></iframe>

      <button id="closeModalBtn" class="mt-4 bg-red-500 text-white p-2 rounded">Fechar</button>
      
      <!-- Botão "Lista de Espera" -->
      <div id="waitlistBtnContainer" class="mt-4 hidden">
        <a href="https://wa.me/5511999999999?text=Quero%20entrar%20na%20lista%20de%20espera%20para%20o%20robô%20de%20gols" target="_blank">
          <button class="p-2 bg-green-500 text-white rounded w-full">LISTA DE ESPERA</button>
        </a>
      </div>
    </div>
  </div>

  <script>
    AOS.init({ duration: 800, easing: 'ease-in-out', once: true });
    feather.replace();

    document.addEventListener('DOMContentLoaded', function () {
      const video = document.getElementById('introVideo');
      const progressBar = document.getElementById('progressBar');
      const postContent = document.getElementById('postContent');
      const footer = document.getElementById('siteFooter');
      const modal = document.getElementById('modal');
      const openModalBtn = document.getElementById('openModalBtn');
      const closeModalBtn = document.getElementById('closeModalBtn');
      const form = document.getElementById('form');
      const submitBtn = document.getElementById('submitBtn');
      const waitlistBtnContainer = document.getElementById('waitlistBtnContainer');

      document
        .getElementById("form")
        .addEventListener("submit", function () {
          setTimeout(() => {
        waitlistBtnContainer.classList.remove('hidden');
        form.style.display = 'none';  // Oculta o formulário
        closeModalBtn.style.display = 'none';  // Oculta o botão Fechar
          }, 500);
        });

      const revealAll = () => {
        postContent.classList.remove('hidden');
        footer.classList.remove('hidden');
        document.body.classList.remove('lock-scroll');
      };

      video.addEventListener('ended', revealAll);
      video.addEventListener('timeupdate', () => {
        if (video.duration && video.currentTime) {
          const progress = (video.currentTime / video.duration) * 100;
          if (progress >= 70) {
            revealAll();
          }
          progressBar.style.width = progress + '%';
        }
      });

      openModalBtn.addEventListener('click', () => {
        modal.style.display = 'flex';
      });

      closeModalBtn.addEventListener('click', () => {
        modal.style.display = 'none';
      });

      // Habilitar botão Enviar somente quando os campos estiverem preenchidos
      const checkFormValidity = () => {
        if (document.getElementById('nome').value && document.getElementById('telefone').value) {
          submitBtn.disabled = false;
        } else {
          submitBtn.disabled = true;
        }
      };

      // Verificar se os campos foram preenchidos a cada interação
      document.getElementById('nome').addEventListener('input', checkFormValidity);
      document.getElementById('telefone').addEventListener('input', checkFormValidity);

      
    });

    // Função para aplicar a máscara no campo de telefone
    function mascaraTelefone(event) {
      let valor = event.target.value;
      valor = valor.replace(/\D/g, ''); // Remove todos os caracteres não numéricos
      if (valor.length <= 2) {
        valor = '(' + valor;
      } else if (valor.length <= 6) {
        valor = '(' + valor.slice(0, 2) + ') ' + valor.slice(2);
      } else {
        valor = '(' + valor.slice(0, 2) + ') ' + valor.slice(2, 7) + '-' + valor.slice(7, 11);
      }
      event.target.value = valor;
    }

    // Adicionando um evento de clique para garantir que o áudio seja habilitado em navegadores com restrição
    document.addEventListener('click', function() {
      const video = document.getElementById('introVideo');
      if (video.paused) {
        video.play();  // Inicia o vídeo ao clicar na página
      }
    });
  </script>

      

</body>
</html>