A Pen by Adriel Santos on CodePen.
Created
October 19, 2025 15:27
-
-
Save adrielcruz9966-a11y/feaa9613cd55e1d6dedf95f8371b896a to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Pilates em Casa - Última Chance</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Montserrat', 'Arial', sans-serif; | |
| } | |
| body { | |
| background: linear-gradient(135deg, #6B238E, #8A2BE2, #4B0082); | |
| color: #FFFFFF; | |
| line-height: 1.5; | |
| min-height: 100vh; | |
| padding: 10px; | |
| } | |
| .container { | |
| max-width: 100%; | |
| margin: 0 auto; | |
| background: white; | |
| border-radius: 15px; | |
| overflow: hidden; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); | |
| } | |
| .header { | |
| background: linear-gradient(135deg, #6B238E, #8A2BE2); | |
| color: white; | |
| padding: 25px 20px; | |
| text-align: center; | |
| } | |
| .header h1 { | |
| font-size: 1.6rem; | |
| margin-bottom: 15px; | |
| font-weight: 700; | |
| line-height: 1.3; | |
| } | |
| .header p { | |
| font-size: 1.1rem; | |
| opacity: 0.95; | |
| margin-bottom: 15px; | |
| line-height: 1.4; | |
| } | |
| .urgent-badge { | |
| background: linear-gradient(135deg, #FF6B6B, #FF1493); | |
| color: white; | |
| padding: 10px 15px; | |
| border-radius: 20px; | |
| font-size: 0.9rem; | |
| font-weight: 700; | |
| display: inline-block; | |
| margin-top: 15px; | |
| animation: pulse-badge 2s infinite; | |
| border: 2px solid white; | |
| } | |
| .content { | |
| padding: 20px; | |
| } | |
| .video-wrapper { | |
| position: relative; | |
| width: 100%; | |
| margin-bottom: 20px; | |
| } | |
| .video-container { | |
| position: relative; | |
| width: 100%; | |
| height: 0; | |
| padding-bottom: 75%; /* Vídeo maior */ | |
| border-radius: 12px; | |
| overflow: hidden; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | |
| border: 3px solid #8A2BE2; | |
| } | |
| iframe { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| border: none; | |
| } | |
| .loading { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| font-size: 1rem; | |
| color: #8A2BE2; | |
| font-weight: bold; | |
| background: rgba(255, 255, 255, 0.9); | |
| padding: 10px 15px; | |
| border-radius: 8px; | |
| } | |
| /* Quadrado WhatsApp */ | |
| .whatsapp-square { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| width: 300px; | |
| height: 380px; | |
| background: linear-gradient(135deg, #25D366, #6B238E); | |
| border-radius: 15px; | |
| display: none; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| padding: 25px; | |
| text-align: center; | |
| box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9); | |
| border: 4px solid white; | |
| animation: pulse 2s infinite; | |
| z-index: 100; | |
| } | |
| .square-icon { | |
| width: 60px; | |
| height: 60px; | |
| margin-bottom: 15px; | |
| animation: bounce 2s infinite; | |
| filter: brightness(0) invert(1); | |
| } | |
| .square-title { | |
| font-size: 1.4rem; | |
| font-weight: 800; | |
| margin-bottom: 15px; | |
| line-height: 1.3; | |
| color: white; | |
| } | |
| .square-subtitle { | |
| font-size: 1rem; | |
| margin-bottom: 20px; | |
| line-height: 1.3; | |
| color: white; | |
| opacity: 0.95; | |
| } | |
| .name-input { | |
| width: 100%; | |
| padding: 12px 15px; | |
| border: 2px solid white; | |
| border-radius: 25px; | |
| font-size: 1rem; | |
| margin-bottom: 15px; | |
| text-align: center; | |
| background: rgba(255, 255, 255, 0.9); | |
| color: #6B238E; | |
| } | |
| .name-input:focus { | |
| outline: none; | |
| border-color: #25D366; | |
| box-shadow: 0 0 10px rgba(37, 211, 102, 0.5); | |
| } | |
| .square-btn { | |
| background: white; | |
| color: #6B238E; | |
| font-size: 1.1rem; | |
| font-weight: 800; | |
| padding: 12px 25px; | |
| border-radius: 25px; | |
| text-decoration: none; | |
| box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); | |
| display: block; | |
| width: 100%; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| .overlay { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(107, 35, 142, 0.9); | |
| display: none; | |
| border-radius: 12px; | |
| z-index: 50; | |
| } | |
| .benefits { | |
| background: linear-gradient(135deg, #F3E8FF, #E6D4FF); | |
| padding: 20px; | |
| border-radius: 12px; | |
| margin: 20px 0; | |
| border-left: 5px solid #8A2BE2; | |
| } | |
| .benefits h3 { | |
| color: #6B238E; | |
| margin-bottom: 15px; | |
| font-size: 1.2rem; | |
| font-weight: 700; | |
| text-align: center; | |
| } | |
| .benefit-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| padding: 8px 0; | |
| font-size: 0.9rem; | |
| color: #5D4037; | |
| } | |
| .benefit-icon { | |
| font-size: 1.2rem; | |
| color: #6B238E; | |
| flex-shrink: 0; | |
| } | |
| .warning-alert { | |
| background: linear-gradient(135deg, #FF6B6B, #FF1493); | |
| color: white; | |
| padding: 15px; | |
| border-radius: 10px; | |
| margin: 15px 0; | |
| text-align: center; | |
| font-weight: 700; | |
| font-size: 1rem; | |
| border: 2px dashed white; | |
| animation: pulse-alert 2s infinite; | |
| } | |
| .vacancies-counter { | |
| background: linear-gradient(135deg, #8A2BE2, #6B238E); | |
| color: white; | |
| padding: 12px; | |
| border-radius: 10px; | |
| margin: 15px 0; | |
| text-align: center; | |
| font-weight: 700; | |
| font-size: 1.1rem; | |
| border: 2px solid white; | |
| } | |
| .footer { | |
| background: linear-gradient(135deg, #4B0082, #6B238E); | |
| color: white; | |
| text-align: center; | |
| padding: 20px; | |
| font-size: 0.8rem; | |
| border-top: 3px solid #8A2BE2; | |
| } | |
| @keyframes pulse { | |
| 0% { | |
| box-shadow: 0 0 0 0 rgba(107, 35, 142, 0.7); | |
| } | |
| 70% { | |
| box-shadow: 0 0 0 20px rgba(107, 35, 142, 0); | |
| } | |
| 100% { | |
| box-shadow: 0 0 0 0 rgba(107, 35, 142, 0); | |
| } | |
| } | |
| @keyframes bounce { | |
| 0%, 20%, 50%, 80%, 100% { | |
| transform: translateY(0); | |
| } | |
| 40% { | |
| transform: translateY(-8px); | |
| } | |
| 60% { | |
| transform: translateY(-4px); | |
| } | |
| } | |
| @keyframes pulse-badge { | |
| 0%, 100% { | |
| transform: scale(1); | |
| } | |
| 50% { | |
| transform: scale(1.05); | |
| } | |
| } | |
| @keyframes pulse-alert { | |
| 0%, 100% { | |
| box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); | |
| } | |
| 70% { | |
| box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); | |
| } | |
| 100% { | |
| box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); | |
| } | |
| } | |
| </style> | |
| <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap" rel="stylesheet"> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div class="header"> | |
| <h1>Cansada de se olhar no espelho e não gostar do que vê?</h1> | |
| <p>Emagreça e tonifique seu corpo com Pilates em casa</p> | |
| <div class="urgent-badge"> | |
| 🚨 QUEREM TIRAR ESTE VÍDEO DO AR! | |
| </div> | |
| </div> | |
| <div class="content"> | |
| <div class="vacancies-counter"> | |
| 🏃♀️ CORRA! RESTAM APENAS 8 VAGAS! | |
| </div> | |
| <div class="video-wrapper"> | |
| <div class="video-container"> | |
| <div class="loading">Carregando...</div> | |
| <iframe | |
| id="video" | |
| src="https://www.youtube.com/embed/WDEG6QFKQlo?autoplay=1&mute=0&enablejsapi=1&controls=0&modestbranding=1&rel=0&showinfo=0&iv_load_policy=3" | |
| allow="autoplay; encrypted-media" | |
| allowfullscreen> | |
| </iframe> | |
| <div class="overlay" id="overlay"></div> | |
| </div> | |
| <div class="whatsapp-square" id="whatsappSquare"> | |
| <svg class="square-icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
| <path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893c0-3.18-1.24-6.169-3.495-8.418" fill="currentColor"/> | |
| </svg> | |
| <div class="square-title">CONTINUAR PELO WHATSAPP</div> | |
| <div class="square-subtitle">QUEREM TIRAR ESTE VÍDEO DO AR!<br>Garanta seu acesso antes que seja tarde</div> | |
| <input type="text" class="name-input" id="userName" placeholder="Qual é o seu nome?" maxlength="30"> | |
| <button class="square-btn" id="whatsappButton">CLIQUE AQUI</button> | |
| </div> | |
| </div> | |
| <div class="warning-alert"> | |
| ⚠️ ESTE VÍDEO SERÁ REMOVIDO EM BREVE! | |
| </div> | |
| <div class="benefits"> | |
| <h3>✨ VOCÊ VAI CONQUISTAR:</h3> | |
| <div class="benefit-item"> | |
| <div class="benefit-icon">💪</div> | |
| <div>Corpo tonificado em casa</div> | |
| </div> | |
| <div class="benefit-item"> | |
| <div class="benefit-icon">⚖️</div> | |
| <div>Perda de peso saudável</div> | |
| </div> | |
| <div class="benefit-item"> | |
| <div class="benefit-icon">😊</div> | |
| <div>Autoestima renovada</div> | |
| </div> | |
| <div class="benefit-item"> | |
| <div class="benefit-icon">🧘♀️</div> | |
| <div>Alívio de dores nas costas</div> | |
| </div> | |
| <div class="benefit-item"> | |
| <div class="benefit-icon">🌟</div> | |
| <div>Para iniciantes - sem experiência</div> | |
| </div> | |
| </div> | |
| <div class="vacancies-counter"> | |
| ⏰ ULTIMAS 8 VAGAS DISPONÍVEIS! | |
| </div> | |
| <div class="warning-alert"> | |
| 🚨 APROVEITE AGORA! Vídeo pode ser removido hoje | |
| </div> | |
| </div> | |
| <div class="footer"> | |
| <p>© 2024 Pilates em Casa. Resultados variam por pessoa.</p> | |
| </div> | |
| </div> | |
| <script> | |
| let player; | |
| let redirectTriggered = false; | |
| const tag = document.createElement('script'); | |
| tag.src = "https://www.youtube.com/iframe_api"; | |
| const firstScriptTag = document.getElementsByTagName('script')[0]; | |
| firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); | |
| function onYouTubeIframeAPIReady() { | |
| player = new YT.Player('video', { | |
| events: { | |
| 'onReady': onPlayerReady, | |
| 'onStateChange': onPlayerStateChange | |
| } | |
| }); | |
| } | |
| function onPlayerReady(event) { | |
| document.querySelector('.loading').style.display = 'none'; | |
| } | |
| function onPlayerStateChange(event) { | |
| if (event.data === YT.PlayerState.PLAYING && !redirectTriggered) { | |
| setTimeout(() => { | |
| if (player && player.pauseVideo) { | |
| player.pauseVideo(); | |
| redirectTriggered = true; | |
| const overlay = document.getElementById('overlay'); | |
| const whatsappSquare = document.getElementById('whatsappSquare'); | |
| overlay.style.display = 'block'; | |
| whatsappSquare.style.display = 'flex'; | |
| } | |
| }, 23000); // 23 segundos | |
| } | |
| } | |
| // Configurar o botão do WhatsApp | |
| document.getElementById('whatsappButton').addEventListener('click', function() { | |
| const userName = document.getElementById('userName').value.trim(); | |
| const message = userName ? | |
| `Olá! Meu nome é ${userName} e quero saber mais sobre essa grande oportunidade do Pilates em Casa!` : | |
| 'Olá! Quero saber mais sobre essa grande oportunidade do Pilates em Casa!'; | |
| const encodedMessage = encodeURIComponent(message); | |
| const whatsappUrl = `https://wa.me/5519998495489?text=${encodedMessage}`; | |
| window.open(whatsappUrl, '_blank'); | |
| }); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment