A Pen by Adriel Santos on CodePen.
Created
October 20, 2025 01:23
-
-
Save adrielcruz9966-a11y/77effddb4c53d06300642586497e9ce6 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>Método Pilates em Casa | Descubra Sua Jornada Personalizada</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| </head> | |
| <body> | |
| <div class="water-background"></div> | |
| <div class="container"> | |
| <!-- CAPA PERSUASIVA --> | |
| <div class="cover-container" id="cover"> | |
| <div class="cover-badge">MÉTODO EXCLUSIVO</div> | |
| <h1 class="cover-title">Descubra o Pilates Que Se Adapta ao Seu Corpo e Rotina</h1> | |
| <p class="cover-subtitle">Em menos de 3 minutos, identifique seus bloqueios e receba um plano personalizado para transformar sua relação com o movimento</p> | |
| <div class="benefits-list"> | |
| <div class="benefit-item"> | |
| <i class="fas fa-check-circle"></i> | |
| <span>Plano 100% personalizado para suas necessidades</span> | |
| </div> | |
| <div class="benefit-item"> | |
| <i class="fas fa-check-circle"></i> | |
| <span>Exercícios que cabem na sua rotina</span> | |
| </div> | |
| <div class="benefit-item"> | |
| <i class="fas fa-check-circle"></i> | |
| <span>Resultados visíveis em 30 dias</span> | |
| </div> | |
| <div class="benefit-item"> | |
| <i class="fas fa-check-circle"></i> | |
| <span>Suporte individual durante toda a jornada</span> | |
| </div> | |
| </div> | |
| <!-- CARROSSEL DE DEPOIMENTOS --> | |
| <div class="testimonials-carousel" id="testimonialsCarousel"> | |
| <div class="testimonial-slide active"> | |
| <div class="testimonial-stars"> | |
| <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i> | |
| </div> | |
| <p class="testimonial-text">"Finalmente encontrei um método que respeita minhas limitações e me traz resultados reais!"</p> | |
| <p class="testimonial-author">- Maria S., 42 anos</p> | |
| </div> | |
| <div class="testimonial-slide"> | |
| <div class="testimonial-stars"> | |
| <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i> | |
| </div> | |
| <p class="testimonial-text">"Em 30 dias perdi 5cm de barriga e ganhei muita disposição!"</p> | |
| <p class="testimonial-author">- Ana P., 38 anos</p> | |
| </div> | |
| <div class="testimonial-slide"> | |
| <div class="testimonial-stars"> | |
| <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i> | |
| </div> | |
| <p class="testimonial-text">"Nunca imaginei que conseguiria fazer exercícios em casa e gostar!"</p> | |
| <p class="testimonial-author">- Carla R., 45 anos</p> | |
| </div> | |
| <div class="testimonial-slide"> | |
| <div class="testimonial-stars"> | |
| <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i> | |
| </div> | |
| <p class="testimonial-text">"As dores nas costas sumiram completamente!"</p> | |
| <p class="testimonial-author">- Joana M., 50 anos</p> | |
| </div> | |
| <div class="testimonial-slide"> | |
| <div class="testimonial-stars"> | |
| <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i> | |
| </div> | |
| <p class="testimonial-text">"Me sinto mais jovem e disposta depois de começar o método!"</p> | |
| <p class="testimonial-author">- Tânia L., 55 anos</p> | |
| </div> | |
| <div class="testimonial-slide"> | |
| <div class="testimonial-stars"> | |
| <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i> | |
| </div> | |
| <p class="testimonial-text">"O suporte é excepcional, nunca me senti sozinha nessa jornada!"</p> | |
| <p class="testimonial-author">- Fernanda C., 41 anos</p> | |
| </div> | |
| <div class="testimonial-slide"> | |
| <div class="testimonial-stars"> | |
| <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i> | |
| </div> | |
| <p class="testimonial-text">"Resultados que eu não obtive em anos de academia!"</p> | |
| <p class="testimonial-author">- Roberta A., 47 anos</p> | |
| </div> | |
| </div> | |
| <button class="start-button" id="start-button"> | |
| <i class="fas fa-play-circle"></i> DESCUBRIR MEU MÉTODO IDEAL | |
| </button> | |
| <p class="cover-note">100% gratuito • Leva apenas 2 minutos</p> | |
| </div> | |
| <!-- QUIZ DE AUTODESCOBERTA --> | |
| <div class="quiz-container" id="quiz"> | |
| <div class="quiz-header"> | |
| <div class="quiz-badge">PERSONALIZADO PARA VOCÊ</div> | |
| <h1>Vamos Identificar Seus Bloqueios e Potencial</h1> | |
| <p>Responda honestamente para receber recomendações precisas</p> | |
| </div> | |
| <div class="progress-container"> | |
| <div class="progress-text" id="progress-text">0% completo</div> | |
| <div class="progress-bar"> | |
| <div class="progress" id="progress"></div> | |
| </div> | |
| </div> | |
| <div class="quiz-body"> | |
| <!-- Pergunta 1 --> | |
| <div class="question-container active" id="question1"> | |
| <div class="question-number">Pergunta 1 de 5</div> | |
| <h2 class="question-text">O que mais te impede de ter uma prática consistente de exercícios atualmente?</h2> | |
| <div class="options-container"> | |
| <div class="option" data-value="falta-tempo"> | |
| <span class="option-icon">⏰</span> | |
| Falta de tempo - minha rotina é muito corrida | |
| </div> | |
| <div class="option" data-value="falta-motivacao"> | |
| <span class="option-icon">😔</span> | |
| Falta de motivação - começo e paro facilmente | |
| </div> | |
| <div class="option" data-value="dores-limitações"> | |
| <span class="option-icon">😣</span> | |
| Dores ou limitações físicas que me impedem | |
| </div> | |
| <div class="option" data-value="nao-sei-comecar"> | |
| <span class="option-icon">❓</span> | |
| Não sei por onde começar ou o que é eficaz | |
| </div> | |
| </div> | |
| <div class="navigation-buttons"> | |
| <button class="btn btn-prev" disabled><i class="fas fa-arrow-left"></i> Voltar</button> | |
| <button class="btn btn-next">Continuar <i class="fas fa-arrow-right"></i></button> | |
| </div> | |
| </div> | |
| <!-- Pergunta 2 --> | |
| <div class="question-container" id="question2"> | |
| <div class="question-number">Pergunta 2 de 5</div> | |
| <h2 class="question-text">Como você descreveria sua energia no dia a dia?</h2> | |
| <div class="options-container"> | |
| <div class="option" data-value="energia-baixa"> | |
| <span class="option-icon">😴</span> | |
| Baixa - frequentemente me sinto cansado(a) | |
| </div> | |
| <div class="option" data-value="energia-variavel"> | |
| <span class="option-icon">🔄</span> | |
| Variável - tenho altos e baixos constantes | |
| </div> | |
| <div class="option" data-value="energia-media"> | |
| <span class="option-icon">😊</span> | |
| Moderada - consigo fazer minhas atividades | |
| </div> | |
| <div class="option" data-value="energia-alta"> | |
| <span class="option-icon">⚡</span> | |
| Alta - geralmente tenho disposição para tudo | |
| </div> | |
| </div> | |
| <div class="navigation-buttons"> | |
| <button class="btn btn-prev"><i class="fas fa-arrow-left"></i> Voltar</button> | |
| <button class="btn btn-next">Continuar <i class="fas fa-arrow-right"></i></button> | |
| </div> | |
| </div> | |
| <!-- Pergunta 3 --> | |
| <div class="question-container" id="question3"> | |
| <div class="question-number">Pergunta 3 de 5</div> | |
| <h2 class="question-text">Qual é sua maior preocupação com sua saúde física no momento?</h2> | |
| <div class="options-container"> | |
| <div class="option" data-value="dores-costas"> | |
| <span class="option-icon">💆♀️</span> | |
| Dores nas costas ou problemas posturais | |
| </div> | |
| <div class="option" data-value="flexibilidade"> | |
| <span class="option-icon">🧘♀️</span> | |
| Falta de flexibilidade e mobilidade | |
| </div> | |
| <div class="option" data-value="força-resistencia"> | |
| <span class="option-icon">💪</span> | |
| Falta de força e resistência física | |
| </div> | |
| <div class="option" data-value="estresse-ansiedade"> | |
| <span class="option-icon">🧠</span> | |
| Estresse e dificuldade para relaxar | |
| </div> | |
| </div> | |
| <div class="navigation-buttons"> | |
| <button class="btn btn-prev"><i class="fas fa-arrow-left"></i> Voltar</button> | |
| <button class="btn btn-next">Continuar <i class="fas fa-arrow-right"></i></button> | |
| </div> | |
| </div> | |
| <!-- Pergunta 4 --> | |
| <div class="question-container" id="question4"> | |
| <div class="question-number">Pergunta 4 de 5</div> | |
| <h2 class="question-text">O que seria mais motivador para você manter uma prática regular?</h2> | |
| <div class="options-container"> | |
| <div class="option" data-value="resultados-rapidos"> | |
| <span class="option-icon">🚀</span> | |
| Ver resultados rápidos e mensuráveis | |
| </div> | |
| <div class="option" data-value="alivio-dores"> | |
| <span class="option-icon">🌟</span> | |
| Alívio imediato de dores e desconfortos | |
| </div> | |
| <div class="option" data-value="comunidade-suporte"> | |
| <span class="option-icon">👥</span> | |
| Ter uma comunidade de apoio e suporte | |
| </div> | |
| <div class="option" data-value="flexibilidade-horarios"> | |
| <span class="option-icon">📅</span> | |
| Poder praticar no meu próprio ritmo e horário | |
| </div> | |
| </div> | |
| <div class="navigation-buttons"> | |
| <button class="btn btn-prev"><i class="fas fa-arrow-left"></i> Voltar</button> | |
| <button class="btn btn-next">Continuar <i class="fas fa-arrow-right"></i></button> | |
| </div> | |
| </div> | |
| <!-- Pergunta 5 --> | |
| <div class="question-container" id="question5"> | |
| <div class="question-number">Pergunta 5 de 5</div> | |
| <h2 class="question-text">Quanto tempo você pode dedicar realisticamente por semana para se exercitar?</h2> | |
| <div class="options-container"> | |
| <div class="option" data-value="15-20-min"> | |
| <span class="option-icon">⏱️</span> | |
| 15-20 minutos - preciso de algo super prático | |
| </div> | |
| <div class="option" data-value="30-min"> | |
| <span class="option-icon">🕒</span> | |
| 30 minutos - consigo encaixar na rotina | |
| </div> | |
| <div class="option" data-value="45-min"> | |
| <span class="option-icon">🕓</span> | |
| 45 minutos - posso me dedicar um pouco mais | |
| </div> | |
| <div class="option" data-value="60-min"> | |
| <span class="option-icon">🕔</span> | |
| 60+ minutos - quero mergulhar de cabeça | |
| </div> | |
| </div> | |
| <div class="navigation-buttons"> | |
| <button class="btn btn-prev"><i class="fas fa-arrow-left"></i> Voltar</button> | |
| <button class="btn btn-submit">Ver Minha Análise <i class="fas fa-arrow-right"></i></button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- CONCLUSÃO PERSONALIZADA --> | |
| <div class="conclusion-container" id="conclusion"> | |
| <div class="conclusion-header"> | |
| <div class="conclusion-icon">🎯</div> | |
| <h2 class="conclusion-title">Análise Completa: Seu Perfil Único</h2> | |
| <p class="conclusion-subtitle">Com base nas suas respostas, identificamos seus principais desafios e oportunidades</p> | |
| </div> | |
| <!-- RECOMENDAÇÃO DO ESPECIALISTA --> | |
| <div class="expert-recommendation"> | |
| <h3 class="expert-title"><i class="fas fa-user-md"></i> ESPECIALISTA RECOMENDA</h3> | |
| <p class="expert-text">"Com base na minha experiência de 12 anos com Pilates Clínico, recomendo este perfil personalizado para você. Seus objetivos e limitações se alinham perfeitamente com nossa metodologia comprovada."</p> | |
| <p class="expert-signature">- Dra. Camila Silva, Fisioterapeuta e Especialista em Pilates</p> | |
| </div> | |
| <div class="answers-summary"> | |
| <h3 class="answers-title"><i class="fas fa-clipboard-list"></i> Resumo das Suas Respostas</h3> | |
| <ul class="answers-list" id="answers-list"> | |
| <!-- As respostas serão inseridas aqui via JavaScript --> | |
| </ul> | |
| </div> | |
| <div class="loading-container" id="loading"> | |
| <div class="loading-spinner"></div> | |
| <p class="loading-text">Analisando suas respostas e criando sua solução personalizada...</p> | |
| </div> | |
| <div class="opportunity-container" id="opportunity"> | |
| <div class="opportunity-badge">OPORTUNIDADE EXCLUSIVA</div> | |
| <div class="offer-box"> | |
| <div class="offer-header"> | |
| <h3 class="offer-title">Método Pilates Adaptativo</h3> | |
| <div class="offer-badge">SOLUÇÃO PERSONALIZADA</div> | |
| </div> | |
| <!-- CONTADOR REGRESSIVO --> | |
| <div class="countdown-timer"> | |
| <div class="countdown-title">OFERTA EXPIRA EM:</div> | |
| <div class="countdown-numbers"> | |
| <div class="countdown-item"> | |
| <div class="countdown-value" id="countdown-hours">01</div> | |
| <div class="countdown-label">Horas</div> | |
| </div> | |
| <div class="countdown-item"> | |
| <div class="countdown-value" id="countdown-minutes">00</div> | |
| <div class="countdown-label">Minutos</div> | |
| </div> | |
| <div class="countdown-item"> | |
| <div class="countdown-value" id="countdown-seconds">00</div> | |
| <div class="countdown-label">Segundos</div> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="offer-description">A solução perfeita para seus objetivos específicos</p> | |
| <ul class="bonus-list"> | |
| <li><strong>Plano personalizado de 30 dias</strong> - Baseado no seu perfil exclusivo</li> | |
| <li><strong>Sequências adaptativas</strong> - Que evoluem com seu progresso</li> | |
| <li><strong>Aulas curtas e objetivas</strong> - Para encaixar na sua rotina</li> | |
| <li><strong>Foco nas suas áreas prioritárias</strong> - Para resultados mais rápidos</li> | |
| <li><strong>Suporte individual</strong> - Tire dúvidas diretamente com especialistas</li> | |
| <li><strong>Comunidade exclusiva</strong> - Troque experiências com pessoas como você</li> | |
| <li><strong>Acesso vitalício</strong> - Volte sempre que precisar</li> | |
| </ul> | |
| <button class="cta-button" id="final-cta"> | |
| <i class="fas fa-bolt"></i> GARANTIR MEU ACESSO AGORA! | |
| </button> | |
| <div class="warning-note"> | |
| Por ser muito eficaz esse produto, pessoas grandes querem tirar essa oportunidade do ar.<br> | |
| Acesso a seguir | |
| </div> | |
| <div class="guarantee-badge"> | |
| <span class="guarantee-icon">🔒</span> | |
| <div> | |
| <strong>Garantia de 7 Dias</strong> - Resultados ou devolvemos seu investimento | |
| </div> | |
| </div> | |
| <div class="payment-security"> | |
| <img src="https://img.icons8.com/color/48/000000/ssl-lock.png" width="20"> | |
| <span>Pagamento 100% seguro</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |
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
| document.addEventListener('DOMContentLoaded', function() { | |
| // Elementos do DOM | |
| const cover = document.getElementById('cover'); | |
| const quiz = document.getElementById('quiz'); | |
| const conclusion = document.getElementById('conclusion'); | |
| const startButton = document.getElementById('start-button'); | |
| const progressBar = document.getElementById('progress'); | |
| const progressText = document.getElementById('progress-text'); | |
| const questionContainers = document.querySelectorAll('.question-container'); | |
| const options = document.querySelectorAll('.option'); | |
| const nextButtons = document.querySelectorAll('.btn-next'); | |
| const prevButtons = document.querySelectorAll('.btn-prev'); | |
| const submitButton = document.querySelector('.btn-submit'); | |
| const answersList = document.getElementById('answers-list'); | |
| const loading = document.getElementById('loading'); | |
| const opportunity = document.getElementById('opportunity'); | |
| const finalCta = document.getElementById('final-cta'); | |
| const testimonialsCarousel = document.getElementById('testimonialsCarousel'); | |
| const countdownHours = document.getElementById('countdown-hours'); | |
| const countdownMinutes = document.getElementById('countdown-minutes'); | |
| const countdownSeconds = document.getElementById('countdown-seconds'); | |
| // Variáveis de controle | |
| let currentQuestion = 1; | |
| const totalQuestions = 5; | |
| const answers = {}; | |
| // CARROSSEL DE DEPOIMENTOS | |
| let currentTestimonial = 0; | |
| const testimonialSlides = testimonialsCarousel.querySelectorAll('.testimonial-slide'); | |
| function rotateTestimonials() { | |
| // Remove a classe active do slide atual | |
| testimonialSlides[currentTestimonial].classList.remove('active'); | |
| // Avança para o próximo slide | |
| currentTestimonial = (currentTestimonial + 1) % testimonialSlides.length; | |
| // Adiciona a classe active ao próximo slide | |
| testimonialSlides[currentTestimonial].classList.add('active'); | |
| } | |
| // Inicia o carrossel a cada 3 segundos | |
| setInterval(rotateTestimonials, 3000); | |
| // CONTADOR REGRESSIVO | |
| let countdownTime = 60 * 60; // 1 hora em segundos | |
| function updateCountdown() { | |
| const hours = Math.floor(countdownTime / 3600); | |
| const minutes = Math.floor((countdownTime % 3600) / 60); | |
| const seconds = countdownTime % 60; | |
| countdownHours.textContent = hours.toString().padStart(2, '0'); | |
| countdownMinutes.textContent = minutes.toString().padStart(2, '0'); | |
| countdownSeconds.textContent = seconds.toString().padStart(2, '0'); | |
| if (countdownTime > 0) { | |
| countdownTime--; | |
| setTimeout(updateCountdown, 1000); | |
| } | |
| } | |
| // Mapeamento das respostas para texto amigável | |
| const answerLabels = { | |
| // Pergunta 1 | |
| 'falta-tempo': 'Falta de tempo - rotina muito corrida', | |
| 'falta-motivacao': 'Falta de motivação - dificuldade em manter consistência', | |
| 'dores-limitações': 'Dores ou limitações físicas', | |
| 'nao-sei-comecar': 'Não sei por onde começar ou o que é eficaz', | |
| // Pergunta 2 | |
| 'energia-baixa': 'Energia baixa - frequentemente se sente cansado(a)', | |
| 'energia-variavel': 'Energia variável - altos e baixos constantes', | |
| 'energia-media': 'Energia moderada - consegue fazer atividades normais', | |
| 'energia-alta': 'Energia alta - geralmente tem disposição', | |
| // Pergunta 3 | |
| 'dores-costas': 'Dores nas costas ou problemas posturais', | |
| 'flexibilidade': 'Falta de flexibilidade e mobilidade', | |
| 'força-resistencia': 'Falta de força e resistência física', | |
| 'estresse-ansiedade': 'Estresse e dificuldade para relaxar', | |
| // Pergunta 4 | |
| 'resultados-rapidos': 'Ver resultados rápidos e mensuráveis', | |
| 'alivio-dores': 'Alívio imediato de dores e desconfortos', | |
| 'comunidade-suporte': 'Ter uma comunidade de apoio e suporte', | |
| 'flexibilidade-horarios': 'Poder praticar no próprio ritmo e horário', | |
| // Pergunta 5 | |
| '15-20-min': '15-20 minutos por semana', | |
| '30-min': '30 minutos por semana', | |
| '45-min': '45 minutos por semana', | |
| '60-min': '60+ minutos por semana' | |
| }; | |
| // Perguntas para exibir no resumo | |
| const questions = [ | |
| "O que mais te impede de ter uma prática consistente de exercícios?", | |
| "Como você descreveria sua energia no dia a dia?", | |
| "Qual é sua maior preocupação com sua saúde física?", | |
| "O que seria mais motivador para você manter uma prática regular?", | |
| "Quanto tempo pode dedicar por semana para se exercitar?" | |
| ]; | |
| // Iniciar quiz | |
| startButton.addEventListener('click', function() { | |
| cover.style.display = 'none'; | |
| quiz.style.display = 'block'; | |
| window.scrollTo({ top: 0, behavior: 'smooth' }); | |
| }); | |
| // Atualizar barra de progresso | |
| function updateProgress() { | |
| const progress = ((currentQuestion - 1) / totalQuestions) * 100; | |
| progressBar.style.width = `${progress}%`; | |
| progressText.textContent = `${Math.round(progress)}% completo`; | |
| } | |
| // Mostrar pergunta atual | |
| function showQuestion(questionNum) { | |
| questionContainers.forEach(container => { | |
| container.classList.remove('active'); | |
| }); | |
| document.getElementById(`question${questionNum}`).classList.add('active'); | |
| currentQuestion = questionNum; | |
| updateProgress(); | |
| // Scroll suave para o topo da pergunta | |
| window.scrollTo({ top: 0, behavior: 'smooth' }); | |
| } | |
| // Selecionar opção | |
| function setupOptionSelection() { | |
| options.forEach(option => { | |
| option.addEventListener('click', function() { | |
| // Remover seleção de outras opções na mesma pergunta | |
| const parentContainer = this.closest('.question-container'); | |
| const optionsInContainer = parentContainer.querySelectorAll('.option'); | |
| optionsInContainer.forEach(opt => { | |
| opt.classList.remove('selected'); | |
| }); | |
| // Selecionar opção atual | |
| this.classList.add('selected'); | |
| // Salvar resposta | |
| const questionId = parentContainer.id.replace('question', ''); | |
| answers[questionId] = this.getAttribute('data-value'); | |
| }); | |
| }); | |
| } | |
| // Configurar navegação entre perguntas | |
| function setupNavigation() { | |
| nextButtons.forEach(button => { | |
| button.addEventListener('click', function() { | |
| const currentContainer = this.closest('.question-container'); | |
| const currentQuestionId = currentContainer.id.replace('question', ''); | |
| // Verificar se uma opção foi selecionada | |
| if (!answers[currentQuestionId]) { | |
| alert('Por favor, selecione uma opção antes de continuar.'); | |
| return; | |
| } | |
| // Ir para próxima pergunta | |
| showQuestion(parseInt(currentQuestionId) + 1); | |
| }); | |
| }); | |
| prevButtons.forEach(button => { | |
| button.addEventListener('click', function() { | |
| if (!button.disabled) { | |
| const currentContainer = this.closest('.question-container'); | |
| const currentQuestionId = currentContainer.id.replace('question', ''); | |
| showQuestion(parseInt(currentQuestionId) - 1); | |
| } | |
| }); | |
| }); | |
| } | |
| // Configurar envio do quiz | |
| function setupQuizSubmission() { | |
| submitButton.addEventListener('click', function() { | |
| // Verificar se todas as perguntas foram respondidas | |
| if (Object.keys(answers).length < totalQuestions) { | |
| alert('Por favor, responda todas as perguntas antes de ver sua análise.'); | |
| return; | |
| } | |
| // Ir para a conclusão | |
| quiz.style.display = 'none'; | |
| conclusion.style.display = 'block'; | |
| window.scrollTo({ top: 0, behavior: 'smooth' }); | |
| // Mostrar resumo das respostas | |
| displayAnswersSummary(); | |
| // Iniciar sequência de carregamento e oportunidade | |
| setTimeout(showLoading, 1500); | |
| }); | |
| } | |
| // Exibir resumo das respostas | |
| function displayAnswersSummary() { | |
| answersList.innerHTML = ''; | |
| for (let i = 1; i <= totalQuestions; i++) { | |
| const answerKey = answers[i.toString()]; | |
| const listItem = document.createElement('li'); | |
| listItem.innerHTML = `<strong>${questions[i-1]}</strong><br>${answerLabels[answerKey]}`; | |
| answersList.appendChild(listItem); | |
| } | |
| } | |
| // Mostrar tela de carregamento | |
| function showLoading() { | |
| loading.style.display = 'block'; | |
| // Simular tempo de processamento | |
| setTimeout(showOpportunity, 3000); | |
| } | |
| // Mostrar oportunidade | |
| function showOpportunity() { | |
| loading.style.display = 'none'; | |
| opportunity.style.display = 'block'; | |
| // Iniciar contador regressivo | |
| updateCountdown(); | |
| // Scroll para a oportunidade | |
| setTimeout(() => { | |
| opportunity.scrollIntoView({ behavior: 'smooth', block: 'start' }); | |
| }, 500); | |
| } | |
| // Configurar call-to-action final | |
| function setupFinalCTA() { | |
| finalCta.addEventListener('click', function() { | |
| // Código HTML da página de última chance | |
| const lastChanceHTML = `<!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>`; | |
| // Criar uma nova janela com o código HTML | |
| const newWindow = window.open('', '_blank'); | |
| newWindow.document.write(lastChanceHTML); | |
| newWindow.document.close(); | |
| }); | |
| } | |
| // Inicializar quiz | |
| function initQuiz() { | |
| updateProgress(); | |
| setupOptionSelection(); | |
| setupNavigation(); | |
| setupQuizSubmission(); | |
| setupFinalCTA(); | |
| } | |
| // Inicializar | |
| initQuiz(); | |
| }); |
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
| :root { | |
| --primary: #1a5276; | |
| --primary-dark: #154360; | |
| --primary-light: #3498db; | |
| --secondary: #2ecc71; | |
| --secondary-dark: #27ae60; | |
| --accent: #9b59b6; | |
| --light: #f8f9fa; | |
| --dark: #2c3e50; | |
| --text: #34495e; | |
| --gray-light: #ecf0f1; | |
| --success: #27ae60; | |
| --shadow: 0 8px 24px rgba(0,0,0,0.1); | |
| --shadow-hover: 0 12px 28px rgba(0,0,0,0.15); | |
| --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); | |
| --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%); | |
| --water-gradient: linear-gradient(135deg, #1a5276 0%, #3498db 50%, #2ecc71 100%); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Montserrat', 'Segoe UI', sans-serif; | |
| -webkit-tap-highlight-color: transparent; | |
| } | |
| body { | |
| background: linear-gradient(135deg, #e3f2fd 0%, #f0f4f8 100%); | |
| color: var(--text); | |
| line-height: 1.7; | |
| min-height: 100vh; | |
| padding: 15px; | |
| font-weight: 400; | |
| overflow-x: hidden; | |
| } | |
| .water-background { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| opacity: 0.05; | |
| background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 C20,40 40,60 60,40 S80,20 100,40 L100,100 L0,100 Z" fill="%231a5276"/></svg>'); | |
| background-size: cover; | |
| animation: wave 20s infinite linear; | |
| } | |
| @keyframes wave { | |
| 0% { transform: translateX(0) translateY(0); } | |
| 50% { transform: translateX(-5px) translateY(5px); } | |
| 100% { transform: translateX(0) translateY(0); } | |
| } | |
| .container { | |
| max-width: 100%; | |
| margin: 20px auto; | |
| background: white; | |
| border-radius: 20px; | |
| box-shadow: var(--shadow); | |
| overflow: hidden; | |
| position: relative; | |
| transition: all 0.4s ease; | |
| } | |
| /* ===== CAPA ===== */ | |
| .cover-container { | |
| padding: 40px 25px; | |
| text-align: center; | |
| background: var(--water-gradient); | |
| color: white; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .cover-container::before { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 C20,40 40,60 60,40 S80,20 100,40 L100,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>'); | |
| background-size: cover; | |
| animation: wave 15s infinite linear; | |
| } | |
| .cover-badge { | |
| display: inline-block; | |
| background: rgba(255,255,255,0.2); | |
| color: white; | |
| padding: 8px 16px; | |
| border-radius: 20px; | |
| font-size: 14px; | |
| font-weight: 600; | |
| margin-bottom: 20px; | |
| backdrop-filter: blur(10px); | |
| } | |
| .cover-title { | |
| font-size: 28px; | |
| margin-bottom: 15px; | |
| font-weight: 800; | |
| position: relative; | |
| text-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| line-height: 1.3; | |
| } | |
| .cover-subtitle { | |
| font-size: 18px; | |
| opacity: 0.9; | |
| margin-bottom: 25px; | |
| position: relative; | |
| line-height: 1.4; | |
| } | |
| .benefits-list { | |
| text-align: left; | |
| max-width: 500px; | |
| margin: 0 auto 30px; | |
| position: relative; | |
| } | |
| .benefit-item { | |
| display: flex; | |
| align-items: center; | |
| margin-bottom: 15px; | |
| font-size: 16px; | |
| } | |
| .benefit-item i { | |
| margin-right: 12px; | |
| color: var(--secondary); | |
| font-size: 20px; | |
| } | |
| /* CARROSSEL DE DEPOIMENTOS */ | |
| .testimonials-carousel { | |
| position: relative; | |
| height: 130px; | |
| overflow: hidden; | |
| margin: 25px auto; | |
| max-width: 500px; | |
| background: rgba(255,255,255,0.15); | |
| border-radius: 15px; | |
| padding: 15px; | |
| backdrop-filter: blur(10px); | |
| } | |
| .testimonial-slide { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| opacity: 0; | |
| transition: opacity 1s ease-in-out; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| padding: 10px; | |
| } | |
| .testimonial-slide.active { | |
| opacity: 1; | |
| } | |
| .testimonial-stars { | |
| color: #FFD700; | |
| font-size: 16px; | |
| margin-bottom: 8px; | |
| } | |
| .testimonial-text { | |
| font-size: 14px; | |
| margin-bottom: 8px; | |
| font-style: italic; | |
| } | |
| .testimonial-author { | |
| font-size: 13px; | |
| opacity: 0.9; | |
| } | |
| .start-button { | |
| background: var(--gradient-secondary); | |
| color: white; | |
| border: none; | |
| border-radius: 12px; | |
| padding: 18px 35px; | |
| font-size: 18px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| box-shadow: 0 6px 15px rgba(46, 204, 113, 0.4); | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 10px; | |
| position: relative; | |
| overflow: hidden; | |
| margin-top: 10px; | |
| } | |
| .start-button:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 10px 20px rgba(46, 204, 113, 0.5); | |
| } | |
| .cover-note { | |
| margin-top: 15px; | |
| font-size: 14px; | |
| opacity: 0.8; | |
| } | |
| /* ===== QUIZ ===== */ | |
| .quiz-container { | |
| display: none; | |
| } | |
| .quiz-header { | |
| background: var(--water-gradient); | |
| color: white; | |
| padding: 30px 20px; | |
| text-align: center; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .quiz-header::before { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 C20,40 40,60 60,40 S80,20 100,40 L100,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>'); | |
| background-size: cover; | |
| animation: wave 15s infinite linear; | |
| } | |
| .quiz-badge { | |
| position: absolute; | |
| top: 15px; | |
| right: 15px; | |
| background: rgba(255,255,255,0.2); | |
| color: white; | |
| padding: 6px 12px; | |
| border-radius: 15px; | |
| font-size: 12px; | |
| font-weight: 600; | |
| backdrop-filter: blur(10px); | |
| z-index: 1; | |
| } | |
| .quiz-header h1 { | |
| font-size: 24px; | |
| margin-bottom: 12px; | |
| font-weight: 800; | |
| position: relative; | |
| text-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| z-index: 1; | |
| line-height: 1.3; | |
| } | |
| .quiz-header p { | |
| font-size: 16px; | |
| opacity: 0.9; | |
| font-weight: 400; | |
| max-width: 100%; | |
| margin: 0 auto; | |
| position: relative; | |
| z-index: 1; | |
| line-height: 1.4; | |
| } | |
| .progress-container { | |
| padding: 0 20px; | |
| background-color: white; | |
| position: relative; | |
| } | |
| .progress-bar { | |
| height: 8px; | |
| background-color: var(--gray-light); | |
| width: 100%; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| margin: 15px 0 8px; | |
| } | |
| .progress { | |
| height: 100%; | |
| background: var(--water-gradient); | |
| width: 0%; | |
| transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); | |
| border-radius: 10px; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .progress::after { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| bottom: 0; | |
| right: 0; | |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| animation: shimmer 2s infinite; | |
| } | |
| @keyframes shimmer { | |
| 0% { transform: translateX(-100%); } | |
| 100% { transform: translateX(100%); } | |
| } | |
| .progress-text { | |
| text-align: right; | |
| font-size: 13px; | |
| color: var(--text); | |
| margin-bottom: 8px; | |
| font-weight: 500; | |
| } | |
| .quiz-body { | |
| padding: 25px 20px; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .question-container { | |
| display: none; | |
| animation: slideIn 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); | |
| } | |
| .question-container.active { | |
| display: block; | |
| } | |
| @keyframes slideIn { | |
| from { | |
| opacity: 0; | |
| transform: translateX(30px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateX(0); | |
| } | |
| } | |
| .question-number { | |
| color: var(--primary); | |
| font-weight: 700; | |
| margin-bottom: 8px; | |
| font-size: 13px; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| .question-text { | |
| font-size: 20px; | |
| font-weight: 700; | |
| margin-bottom: 25px; | |
| color: var(--dark); | |
| line-height: 1.3; | |
| } | |
| .options-container { | |
| display: grid; | |
| grid-template-columns: 1fr; | |
| gap: 12px; | |
| margin-bottom: 30px; | |
| } | |
| .option { | |
| padding: 18px 20px; | |
| border: 2px solid var(--gray-light); | |
| border-radius: 12px; | |
| cursor: pointer; | |
| transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1); | |
| font-weight: 500; | |
| display: flex; | |
| align-items: center; | |
| position: relative; | |
| overflow: hidden; | |
| min-height: 70px; | |
| } | |
| .option::before { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(26, 82, 118, 0.05), transparent); | |
| transition: left 0.5s; | |
| } | |
| .option:active, .option:hover { | |
| border-color: var(--primary); | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 10px rgba(0,0,0,0.08); | |
| } | |
| .option.selected { | |
| border-color: var(--primary); | |
| background-color: rgba(26, 82, 118, 0.03); | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 10px rgba(0,0,0,0.05); | |
| } | |
| .option-icon { | |
| margin-right: 15px; | |
| font-size: 20px; | |
| color: var(--primary); | |
| min-width: 30px; | |
| text-align: center; | |
| flex-shrink: 0; | |
| } | |
| .navigation-buttons { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .btn { | |
| padding: 14px 20px; | |
| border: none; | |
| border-radius: 10px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| font-size: 15px; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| position: relative; | |
| overflow: hidden; | |
| flex: 1; | |
| min-height: 50px; | |
| } | |
| .btn-prev { | |
| background-color: var(--gray-light); | |
| color: var(--text); | |
| } | |
| .btn-prev:active { | |
| background-color: #d1d9e6; | |
| } | |
| .btn-next, .btn-submit { | |
| background: var(--gradient); | |
| color: white; | |
| box-shadow: 0 4px 10px rgba(26, 82, 118, 0.3); | |
| } | |
| .btn-next:active, .btn-submit:active { | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 12px rgba(26, 82, 118, 0.4); | |
| } | |
| .btn-submit { | |
| background: var(--gradient-secondary); | |
| box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3); | |
| } | |
| /* ===== CONCLUSÃO ===== */ | |
| .conclusion-container { | |
| display: none; | |
| padding: 25px 20px; | |
| animation: fadeInUp 0.8s ease; | |
| } | |
| .conclusion-header { | |
| text-align: center; | |
| margin-bottom: 30px; | |
| padding-bottom: 20px; | |
| border-bottom: 1px solid var(--gray-light); | |
| position: relative; | |
| } | |
| .conclusion-header::after { | |
| content: ""; | |
| position: absolute; | |
| bottom: -1px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 80px; | |
| height: 3px; | |
| background: var(--gradient-secondary); | |
| border-radius: 3px; | |
| } | |
| .conclusion-icon { | |
| font-size: 60px; | |
| color: var(--primary); | |
| margin-bottom: 15px; | |
| } | |
| .conclusion-title { | |
| font-size: 24px; | |
| color: var(--primary); | |
| margin-bottom: 12px; | |
| font-weight: 800; | |
| line-height: 1.3; | |
| } | |
| .conclusion-subtitle { | |
| font-size: 16px; | |
| color: var(--text); | |
| max-width: 100%; | |
| margin: 0 auto; | |
| line-height: 1.4; | |
| } | |
| .expert-recommendation { | |
| background: linear-gradient(135deg, #e1f5fe, #b3e5fc); | |
| border-radius: 14px; | |
| padding: 20px; | |
| margin: 20px 0; | |
| border-left: 5px solid var(--primary); | |
| text-align: center; | |
| } | |
| .expert-title { | |
| font-size: 18px; | |
| font-weight: 700; | |
| margin-bottom: 10px; | |
| color: var(--primary-dark); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| } | |
| .expert-text { | |
| font-size: 16px; | |
| color: var(--dark); | |
| line-height: 1.5; | |
| } | |
| .expert-signature { | |
| margin-top: 10px; | |
| font-weight: 600; | |
| } | |
| .answers-summary { | |
| background-color: #f8f9fa; | |
| border-radius: 14px; | |
| padding: 20px; | |
| margin: 25px 0; | |
| box-shadow: 0 5px 12px rgba(0,0,0,0.05); | |
| border-left: 5px solid var(--primary); | |
| } | |
| .answers-title { | |
| font-size: 18px; | |
| font-weight: 700; | |
| margin-bottom: 15px; | |
| color: var(--dark); | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .answers-title i { | |
| color: var(--primary); | |
| } | |
| .answers-list { | |
| list-style-type: none; | |
| } | |
| .answers-list li { | |
| margin-bottom: 12px; | |
| padding-left: 28px; | |
| position: relative; | |
| font-size: 14px; | |
| line-height: 1.4; | |
| } | |
| .answers-list li:before { | |
| content: "•"; | |
| position: absolute; | |
| left: 10px; | |
| color: var(--primary); | |
| font-weight: bold; | |
| font-size: 18px; | |
| } | |
| .loading-container { | |
| text-align: center; | |
| padding: 30px 20px; | |
| margin: 25px 0; | |
| background: #f8f9fa; | |
| border-radius: 14px; | |
| display: none; | |
| } | |
| .loading-spinner { | |
| width: 50px; | |
| height: 50px; | |
| border: 5px solid #f3f3f3; | |
| border-top: 5px solid var(--primary); | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| margin: 0 auto 20px; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| .loading-text { | |
| font-size: 18px; | |
| font-weight: 600; | |
| color: var(--primary); | |
| } | |
| .opportunity-container { | |
| display: none; | |
| margin: 25px 0; | |
| animation: fadeInUp 0.8s ease; | |
| } | |
| .opportunity-badge { | |
| display: inline-block; | |
| background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); | |
| color: white; | |
| padding: 8px 18px; | |
| border-radius: 15px; | |
| font-size: 14px; | |
| font-weight: 600; | |
| margin: 12px 0; | |
| animation: pulse 2s infinite; | |
| text-align: center; | |
| width: 100%; | |
| } | |
| @keyframes pulse { | |
| 0% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| 100% { transform: scale(1); } | |
| } | |
| .offer-box { | |
| background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); | |
| border-radius: 16px; | |
| padding: 25px; | |
| border: 1px solid rgba(46, 204, 113, 0.3); | |
| box-shadow: 0 8px 20px rgba(0,0,0,0.08); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .offer-box::before { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| right: 0; | |
| width: 120px; | |
| height: 120px; | |
| background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, transparent 70%); | |
| border-radius: 0 0 0 100%; | |
| } | |
| .offer-header { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| margin-bottom: 15px; | |
| } | |
| .offer-title { | |
| font-size: 20px; | |
| font-weight: 700; | |
| color: var(--dark); | |
| } | |
| .offer-badge { | |
| background: var(--gradient-secondary); | |
| color: white; | |
| padding: 6px 14px; | |
| border-radius: 15px; | |
| font-size: 13px; | |
| font-weight: 600; | |
| align-self: flex-start; | |
| } | |
| /* CONTADOR REGRESSIVO */ | |
| .countdown-timer { | |
| background: rgba(231, 76, 60, 0.1); | |
| border-radius: 12px; | |
| padding: 15px; | |
| text-align: center; | |
| margin: 20px 0; | |
| border: 1px dashed #e74c3c; | |
| } | |
| .countdown-title { | |
| font-size: 16px; | |
| font-weight: 600; | |
| color: #e74c3c; | |
| margin-bottom: 10px; | |
| } | |
| .countdown-numbers { | |
| display: flex; | |
| justify-content: center; | |
| gap: 10px; | |
| } | |
| .countdown-item { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .countdown-value { | |
| font-size: 24px; | |
| font-weight: 800; | |
| color: #e74c3c; | |
| background: white; | |
| padding: 8px 12px; | |
| border-radius: 8px; | |
| min-width: 50px; | |
| box-shadow: 0 3px 6px rgba(0,0,0,0.1); | |
| } | |
| .countdown-label { | |
| font-size: 12px; | |
| color: var(--text); | |
| margin-top: 5px; | |
| } | |
| .offer-description { | |
| text-align: center; | |
| margin: 15px 0; | |
| font-weight: 600; | |
| } | |
| .bonus-list { | |
| margin: 20px 0; | |
| } | |
| .bonus-list li { | |
| margin-bottom: 12px; | |
| padding-left: 30px; | |
| position: relative; | |
| font-size: 14px; | |
| line-height: 1.4; | |
| } | |
| .bonus-list li:before { | |
| content: "🎁"; | |
| position: absolute; | |
| left: 0; | |
| font-size: 18px; | |
| } | |
| .cta-button { | |
| background: var(--gradient-secondary); | |
| color: white; | |
| border: none; | |
| border-radius: 10px; | |
| padding: 18px 20px; | |
| font-size: 18px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| width: 100%; | |
| box-shadow: 0 6px 12px rgba(46, 204, 113, 0.4); | |
| margin: 15px 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 10px; | |
| position: relative; | |
| overflow: hidden; | |
| min-height: 60px; | |
| } | |
| .cta-button:active { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 15px rgba(46, 204, 113, 0.5); | |
| } | |
| .warning-note { | |
| text-align: center; | |
| font-size: 14px; | |
| color: #e74c3c; | |
| margin-top: 10px; | |
| font-weight: 600; | |
| line-height: 1.4; | |
| padding: 10px; | |
| background: rgba(231, 76, 60, 0.05); | |
| border-radius: 8px; | |
| border: 1px dashed #e74c3c; | |
| } | |
| .guarantee-badge { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background-color: white; | |
| border-radius: 10px; | |
| padding: 12px 18px; | |
| margin: 15px 0; | |
| box-shadow: 0 3px 8px rgba(0,0,0,0.05); | |
| border: 1px solid var(--gray-light); | |
| gap: 8px; | |
| text-align: center; | |
| } | |
| .guarantee-icon { | |
| font-size: 22px; | |
| color: var(--primary); | |
| flex-shrink: 0; | |
| } | |
| .payment-security { | |
| text-align: center; | |
| margin-top: 15px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 6px; | |
| } | |
| .payment-security img { | |
| vertical-align: middle; | |
| } | |
| .payment-security span { | |
| font-size: 13px; | |
| color: var(--text); | |
| } | |
| @keyframes fadeInUp { | |
| from { opacity: 0; transform: translateY(15px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Ajustes para telas muito pequenas */ | |
| @media (max-width: 360px) { | |
| body { | |
| padding: 10px; | |
| } | |
| .container { | |
| margin: 10px auto; | |
| border-radius: 15px; | |
| } | |
| .cover-container { | |
| padding: 30px 20px; | |
| } | |
| .cover-title { | |
| font-size: 24px; | |
| } | |
| .quiz-header { | |
| padding: 25px 15px; | |
| } | |
| .quiz-header h1 { | |
| font-size: 22px; | |
| } | |
| .quiz-body { | |
| padding: 20px 15px; | |
| } | |
| .question-text { | |
| font-size: 18px; | |
| } | |
| .option { | |
| padding: 15px 18px; | |
| min-height: 65px; | |
| } | |
| .btn { | |
| padding: 12px 15px; | |
| font-size: 14px; | |
| } | |
| .conclusion-container { | |
| padding: 20px 15px; | |
| } | |
| .conclusion-title { | |
| font-size: 22px; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment