space002 / index.html
maralvic's picture
alterar a página para ser uma página de boas vindas para quem se inscreveu para o ttt. usar a imagem que está na pasta, cafe01.png
ba1543a verified
Raw
History Blame Contribute Delete
36 kB
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TTT - Transação Tributária Total | Prof. Marcelo Vicente</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Poppins', sans-serif;
scroll-behavior: smooth;
overflow-x: hidden;
}
.profmarcelovicente-bg {
background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
}
.profmarcelovicente-btn {
background: linear-gradient(135deg, #00CC88 0%, #00AA6E 100%);
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 204, 136, 0.3);
}
.profmarcelovicente-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0, 204, 136, 0.4);
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(0, 204, 136, 0.7); }
70% { box-shadow: 0 0 0 15px rgba(0, 204, 136, 0); }
100% { box-shadow: 0 0 0 0 rgba(0, 204, 136, 0); }
}
.countdown-box {
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 15px;
min-width: 70px;
text-align: center;
margin: 0 5px;
}
.video-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 1000;
justify-content: center;
align-items: center;
}
.video-container {
width: 90%;
max-width: 800px;
background: #000;
padding: 20px;
border-radius: 10px;
position: relative;
}
.close-modal {
position: absolute;
top: -30px;
right: 0;
color: white;
font-size: 24px;
cursor: pointer;
}
.benefit-item {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.benefit-icon {
background: #00CC88;
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
flex-shrink: 0;
}
.urgency-bar {
background: #e53e3e;
color: white;
padding: 10px;
text-align: center;
font-weight: 500;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 100;
}
.event-badge {
background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
color: #1a365d;
font-weight: bold;
font-size: 1.25rem;
padding: 12px 24px;
}
.highlight-card {
background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
color: #1a365d;
border-radius: 10px;
padding: 25px;
margin: 20px 0;
position: relative;
overflow: hidden;
grid-column: 1 / -1;
}
.exclusive-badge {
position: absolute;
top: 20px;
right: -35px;
background: #000;
color: #FFD700;
padding: 8px 45px;
transform: rotate(45deg);
font-weight: bold;
font-size: 16px;
z-index: 10;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
margin: 20px 0;
}
.stat-box {
background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
border-radius: 10px;
padding: 15px;
text-align: center;
color: #1a365d;
}
.scenario-card {
background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
border-radius: 10px;
padding: 20px;
margin-bottom: 15px;
color: #1a365d;
}
.rocket-float {
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.form-container {
background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
border-radius: 15px;
padding: 30px;
}
.profile-circle {
width: 50px;
height: 50px;
border-radius: 50%;
overflow: hidden;
border: 2px solid white;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.profile-circle img {
width: 100%;
height: 100%;
object-fit: cover;
}
.interest-counter {
background: white;
border-radius: 10px;
padding: 15px;
display: flex;
align-items: center;
margin-top: 20px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
width: fit-content;
}
.progress-bar {
height: 10px;
background: #e5e7eb;
border-radius: 5px;
overflow: hidden;
margin: 15px 0;
position: relative;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #00CC88, #00AA6E);
border-radius: 5px;
width: 0;
transition: width 2s ease-in-out;
position: relative;
}
.progress-fill::after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-image: linear-gradient(
-45deg,
rgba(255, 255, 255, 0.2) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, 0.2) 50%,
rgba(255, 255, 255, 0.2) 75%,
transparent 75%,
transparent
);
z-index: 1;
background-size: 20px 20px;
animation: move 2s linear infinite;
overflow: hidden;
}
@keyframes move {
0% {
background-position: 0 0;
}
100% {
background-position: 20px 20px;
}
}
.cta-background {
position: relative;
overflow: hidden;
}
.cta-background::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 40%;
height: 100%;
background-image: url('https://marcelovicente.prof/img/pmv/image_(8).png');
background-size: cover;
background-position: left center;
opacity: 0.1;
z-index: 1;
}
.limited-spots-module {
background: rgba(255, 255, 255, 0.15);
border-radius: 12px;
padding: 15px;
margin: 20px 0;
text-align: center;
position: relative;
overflow: hidden;
}
.percentage-display {
font-size: 24px;
font-weight: bold;
color: white;
margin: 10px 0;
transition: all 1s ease;
}
.punctuality-note {
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.2);
border-radius: 8px;
padding: 10px;
margin-top: 15px;
}
.event-section-bg {
background-image: url('https://marcelovicente.prof/img/image_03.jpg');
background-size: cover;
background-position: center;
position: relative;
}
.event-section-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(26, 54, 93, 0.85);
}
.why-section-bg {
background-image: url('https://marcelovicente.prof/img/image_05.jpg');
background-size: cover;
background-position: center;
position: relative;
}
.why-section-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 215, 0, 0.85);
}
.instagram-profile {
display: flex;
align-items: center;
justify-content: center;
margin-top: 20px;
}
.twinkling-text {
animation: twinkle 2s infinite;
}
@keyframes twinkle {
0% { opacity: 1; }
50% { opacity: 0.7; }
100% { opacity: 1; }
}
.same-line {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 10px;
}
.profile-container {
position: relative;
display: inline-block;
}
.instagram-badge {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 5px 10px;
border-radius: 20px;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
}
@media (max-width: 768px) {
.countdown-box {
padding: 10px;
min-width: 60px;
font-size: 0.9rem;
}
.hide-mobile-icons {
display: none !important;
}
.stats-grid {
grid-template-columns: 1fr;
}
.event-badge {
font-size: 1.1rem;
padding: 10px 20px;
}
.exclusive-badge {
font-size: 14px;
padding: 6px 35px;
right: -30px;
}
.cta-background::before {
width: 100%;
opacity: 0.05;
}
.punctuality-note {
flex-direction: column;
text-align: center;
}
.same-line {
flex-direction: column;
gap: 5px;
}
}
</style>
</head>
<body class="bg-gray-50">
<!-- Barra de urgência fixa -->
<div class="urgency-bar">
<i class="fas fa-exclamation-circle mr-2"></i> Evento exclusivo acontecerá em: <span id="countdown" class="font-bold"></span>
</div>
<!-- Header -->
<header class="profmarcelovicente-bg text-white shadow-lg sticky top-10 z-50">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="text-2xl font-bold"><span class="text-white">TTT - Transação Tributária Total</span></div>
<div class="flex space-x-6">
<a href="https://instagram.com/profmarcelovicente" target="_blank" class="text-white hover:text-white/80 transition text-xl">
<i class="fab fa-instagram"></i>
</a>
<a href="https://youtube.com/@profmarcelovicente" target="_blank" class="text-white hover:text-white/80 transition text-xl">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
</header>
<!-- Confirmation Hero Section -->
<section class="relative overflow-hidden bg-gradient-to-r from-blue-900 to-purple-900">
<div class="container mx-auto px-4 py-16 md:py-24 relative z-20">
<div class="max-w-3xl mx-auto text-center">
<img src="cafe01.png" alt="Confirmação de Inscrição" class="mx-auto mb-8 max-w-full h-auto rounded-lg shadow-xl">
<h1 class="text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-4 leading-tight">Inscrição Confirmada!</h1>
<p class="text-xl md:text-2xl text-white/90 mb-8">Seja bem-vindo(a) ao <span class="font-bold text-green-300">TTT - Transação Tributária Total</span></p>
<div class="bg-white/10 rounded-xl p-8 mb-8">
<h2 class="text-2xl font-bold text-white mb-4">O que fazer agora?</h2>
<ul class="text-left text-white space-y-4">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-400 mt-1 mr-3"></i>
<span>Você receberá um e-mail com os detalhes de acesso à live</span>
</li>
<li class="flex items-start">
<i class="fas fa-bell text-yellow-400 mt-1 mr-3"></i>
<span>Adicione o evento ao seu calendário: Terça, 30/09 às 19:47</span>
</li>
<li class="flex items-start">
<i class="fas fa-users text-blue-400 mt-1 mr-3"></i>
<span>Siga nosso Instagram para conteúdos exclusivos: @profmarcelovicente</span>
</li>
</ul>
</div>
<div class="mt-8">
<a href="https://instagram.com/profmarcelovicente" target="_blank" class="profmarcelovicente-btn text-white font-semibold px-8 py-4 rounded-full text-lg inline-flex items-center justify-center mx-auto">
<i class="fab fa-instagram mr-2"></i> SEGUIR NO INSTAGRAM
</a>
</div>
</div>
</div>
</section>
<!-- Why Participate Section -->
<section class="py-12 bg-gradient-to-r from-blue-900 to-purple-900 text-white cta-background relative">
<div class="absolute inset-0 bg-black/40 z-0"></div>
<div class="container mx-auto px-4 max-w-4xl text-center relative z-10">
<div class="bg-white/10 rounded-xl p-8">
<h2 class="text-3xl font-bold mb-6">Por que você tem que participar?</h2>
<p class="text-xl mb-6">Este é o encontro onde vou compartilhar as estratégias mais rentáveis e importantes que já desenvolvi em anos de atuação com transações tributárias. São conhecimentos que podem transformar completamente sua carreira e resultados financeiros.</p>
<p class="text-xl mb-8">Aproveite esta oportunidade única para acessar informações que demorei anos para consolidar e que podem alavancar sua prática profissional em um curto espaço de tempo.</p>
<!-- Módulo de Vagas Limitadas com Barra de Progresso -->
<div class="limited-spots-module">
<p class="text-white font-semibold text-lg"><i class="fas fa-ticket-alt mr-2"></i>Já temos <span id="spotsPercentage">85%</span> das vagas garantidas</p>
<div class="progress-bar mt-4">
<div class="progress-fill" id="ctaProgressFill"></div>
</div>
<div class="punctuality-note">
<i class="fas fa-clock text-white text-xl mr-2"></i>
<span class="text-white font-medium">Seja pontual! A live começará exatamente às 19:47</span>
</div>
</div>
<button onclick="scrollToForm()" class="profmarcelovicente-btn text-white font-semibold px-8 py-4 rounded-full text-lg inline-flex items-center justify-center mx-auto pulse mt-6">
<i class="fas fa-rocket mr-2 rocket-float"></i> GARANTIR MINHA VAGA NA LIVE TTT!
</button>
</div>
</div>
</section>
<!-- Este é o Evento Section -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4 max-w-6xl">
<div class="flex flex-col md:flex-row items-start">
<div class="md:w-1/4 flex justify-center mb-6 md:mb-0">
<i class="fas fa-rocket text-blue-600 text-6xl md:text-8xl rocket-float"></i>
</div>
<div class="md:w-3/4 md:pl-12">
<h2 class="text-3xl font-bold text-gray-800 mb-6">Este é o Evento!</h2>
<p class="text-gray-700 mb-4 font-bold">Te ensino a transformar negociações complexas em contratos lucrativos que protegem seu cliente e garantem sua remuneração em mais R$ 10k ou R$ 15k por mês.</p>
<p class="text-gray-700 mb-4">A Live TTT - Transação Tributária Total foi cuidadosamente elaborada para proporcionar a você as estratégias mais avançadas e eficazes do mercado tributário atual.</p>
<p class="text-gray-700 mb-4">Com conteúdo exclusivo e focado na prática, você sairá desta imersão com conhecimentos aplicáveis imediatamente em sua carreira, podendo aumentar significativamente seus resultados financeiros.</p>
<p class="text-gray-700">Não perca esta oportunidade única de aprender com um dos maiores especialistas em transações tributárias do Brasil e transformar sua prática profissional.</p>
</div>
</div>
</div>
</section>
<!-- Financial Impact -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4 max-w-6xl text-center">
<h2 class="text-3xl font-bold text-gray-800 mb-6">Aumente a receita do seu escritório de R$ 10.000,00 a R$ 20.000,00 por mês</h2>
<p class="text-xl text-gray-600 mb-8">Vou te ensinar a abrir portas para novos clientes e aumentar significativamente seus ganhos. Clientes que buscam negociações tributárias têm diversas outras necessidades jurídicas, tornando você seu parceiro estratégico.</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
<div class="bg-gray-50 p-6 rounded-lg">
<i class="fas fa-chart-line text-4xl mb-4 text-green-500"></i>
<h3 class="font-bold text-xl mb-2">Aumento de Receita</h3>
<p class="text-gray-700">Serviços de alto valor agregado com remuneração premium</p>
</div>
<div class="bg-gray-50 p-6 rounded-lg">
<i class="fas fa-users text-4xl mb-4 text-green-500"></i>
<h3 class="font-bold text-xl mb-2">Clientes de Alto Padrão</h3>
<p class="text-gray-700">Atraia empresas com necessidades jurídicas complexas</p>
</div>
<div class="bg-gray-50 p-6 rounded-lg">
<i class="fas fa-crown text-4xl mb-4 text-green-500"></i>
<h3 class="font-bold text-xl mb-2">Diferencial Competitivo</h3>
<p class="text-gray-700">Posicione-se como referência em Direito Tributário Negocial</p>
</div>
</div>
<button onclick="scrollToForm()" class="profmarcelovicente-btn text-white font-semibold px-8 py-4 rounded-full text-lg inline-flex items-center justify-center mx-auto pulse">
<i class="fas fa-rocket mr-2 rocket-float"></i> QUERO ME TORNAR ESPECIALISTA
</button>
</div>
</section>
<!-- Confirmation Section -->
<section id="confirmacao" class="py-16 bg-gray-50">
<div class="container mx-auto px-4 max-w-3xl text-center">
<div class="bg-white shadow-lg rounded-xl p-8 md:p-12">
<img src="cafe01.png" alt="Confirmação" class="mx-auto mb-8 max-w-full h-auto rounded-lg">
<h2 class="text-3xl font-bold text-gray-800 mb-6">Excelente! Agora sim você faz parte do Grupo Exclusivo do Método TTT!</h2>
<p class="text-2xl text-green-600 font-semibold mb-8">Boas vindas!</p>
</div>
</div>
</section>
<!-- Footer -->
<footer class="profmarcelovicente-bg text-white py-12">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center mb-8">
<div class="mb-6 md:mb-0">
<h3 class="text-2xl font-bold mb-2">TTT - Transação Tributária Total</h3>
<p class="text-white/80">Com Prof. Marcelo Vicente | Tributarista</p>
</div>
<div class="flex space-x-6">
<a href="https://instagram.com/profmarcelovicente" target="_blank" class="text-white hover:text-white/80 transition text-xl">
<i class="fab fa-instagram"></i>
</a>
<a href="https://youtube.com/@profmarcelovicente" target="_blank" class="text-white hover:text-white/80 transition text-xl">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
<div class="border-t border-white/20 pt-8 text-center">
<p class="text-white/70">© 2025 ECOJURIS - Educação Corporativa e Jurídica SS Ltda. Todos os direitos reservados.</p>
</div>
</div>
</footer>
<!-- Floating Button -->
<button onclick="scrollToForm()" class="fixed bottom-6 right-6 bg-green-500 text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg hover:bg-green-600 transition-all z-50 pulse">
<i class="fas fa-rocket text-xl rocket-float"></i>
</button>
<!-- Video Modal -->
<div id="videoModal" class="video-modal">
<div class="video-container">
<span class="close-modal" onclick="closeVideoModal()">&times;</span>
<h3 class="text-white text-xl font-bold mb-4 text-center">📹 Mensagem Especial do Prof. Marcelo Vicente</h3>
<p class="text-white text-center mb-4">Informações exclusivas sobre a Live TTT</p>
<div class="aspect-w-16 aspect-h-9">
<iframe id="videoPlayer" src="https://player.vimeo.com/video/example" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
</div>
<div class="text-center mt-4">
<p class="text-white mb-2"><i class="fas fa-exclamation-circle mr-2"></i>Assista até o final para descobrir como se inscrever</p>
<button onclick="scrollToForm()" class="profmarcelovicente-btn text-white font-semibold px-6 py-3 rounded-full">
<i class="fas fa-rocket mr-2"></i> TOQUE AQUI PARA SE INSCREVER
</button>
</div>
</div>
</div>
<script>
// Configuração do countdown
function updateCountdown() {
const eventDate = new Date('September 30, 2025 19:47:00');
const now = new Date();
const diff = eventDate - now;
if (diff <= 0) {
document.getElementById('countdown').textContent = 'O evento está acontecendo AGORA!!!';
return;
}
const days = Math.floor(diff / (1000 * 60 * 60 * 24));
const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((diff % (1000 * 60)) / 1000);
document.getElementById('countdown').textContent = `${days}d ${hours}h ${minutes}m ${seconds}s`;
}
setInterval(updateCountdown, 1000);
updateCountdown();
// Contador de pessoas interessadas
let baseCount = 881;
let currentCount = baseCount;
// Lista diversificada de fotos (homens, mulheres, diversas etnias, advogados)
const profileImages = [
"https://randomuser.me/api/portraits/men/32.jpg", // Homem branco
"https://randomuser.me/api/portraits/women/44.jpg", // Mulher branca
"https://randomuser.me/api/portraits/men/22.jpg", // Homem branco
"https://randomuser.me/api/portraits/women/68.jpg", // Mulher branca
"https://randomuser.me/api/portraits/men/57.jpg", // Homem branco
"https://randomuser.me/api/portraits/men/75.jpg", // Homem mais velho
"https://randomuser.me/api/portraits/women/75.jpg", // Mulher mais velha
"https://randomuser.me/api/portraits/men/15.jpg", // Homem jovem
"https://randomuser.me/api/portraits/women/15.jpg", // Mulher jovem
"https://randomuser.me/api/portraits/men/8.jpg", // Homem asiático
"https://randomuser.me/api/portraits/women/8.jpg", // Mulher asiática
"https://randomuser.me/api/portraits/men/5.jpg", // Homem negro
"https://randomuser.me/api/portraits/women/5.jpg", // Mulher negra
"https://randomuser.me/api/portraits/men/30.jpg", // Homem de terno (exemplo)
"https://randomuser.me/api/portraits/men/41.jpg", // Homem de terno (exemplo)
"https://randomuser.me/api/portraits/men/67.jpg", // Homem de terno (exemplo)
"https://marcelovicente.prof/img/image_03.jpg", // Foto do professor
"https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=150&h=150&fit=crop&crop=face", // Advogado 1
"https://images.unsplash.com/photo-1560250097-0b93528c311a?w=150&h=150&fit=crop&crop=face", // Advogado 2
"https://images.unsplash.com/photo-1557862921-37829c790f19?w=150&h=150&fit=crop&crop=face", // Advogado 3
"https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=150&h=150&fit=crop&crop=face", // Advogada 1
"https://images.unsplash.com/photo-1544725176-7c40e5a71c5e?w=150&h=150&fit=crop&crop=face", // Advogado 4
"https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=150&h=150&fit=crop&crop=face", // Advogado 5
"https://images.unsplash.com/photo-1519345182560-3f2917c472ef?w=150&h=150&fit=crop&crop=face", // Advogado 6
"https://images.unsplash.com/photo-1489424731084-a5d8b219a5bb?w=150&h=150&fit=crop&crop=face", // Advogada 2
"https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=150&h=150&fit=crop&crop=face", // Advogada 3
"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=150&h=150&fit=crop&crop=face", // Advogado 7
"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=150&h=150&fit=crop&crop=face", // Advogado 8
"https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=150&h=150&fit=crop&crop=face", // Advogado 9
"https://images.unsplash.com/photo-1517841905240-472988babdf9?w=150&h=150&fit=crop&crop=face", // Advogada 4
"https://images.unsplash.com/photo-1516726817505-f5ed825624d8?w=150&h=150&fit=crop&crop=face", // Advogada 5
"https://images.unsplash.com/photo-1519058082700-08a0b56da9b4?w=150&h=150&fit=crop&crop=face", // Advogado 10
"https://images.unsplash.com/photo-1519764622345-23439dd774f7?w=150&h=150&fit=crop&crop=face", // Advogada 6
"https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?w=150&h=150&fit=crop&crop=face", // Advogada 7
"https://images.unsplash.com/photo-1517423738875-5ce310acd3da?w=150&h=150&fit=crop&crop=face", // Advogada 8
"https://images.unsplash.com/photo-1525134479668-1bee5c7c6845?w=150&h=150&fit=crop&crop=face", // Advogada 9
"https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=150&h=150&fit=crop&crop=face", // Advogado 11
];
// Para evitar repetição de fotos no mesmo momento
let lastUsedImages = [];
function updateInterestCounter() {
// Aumentar/reduzir valores gradativamente
const variation = Math.floor(Math.random() * 5) + 1; // 1-5
const isIncreasing = Math.random() > 0.5;
if (isIncreasing) {
currentCount += variation;
} else {
currentCount = Math.max(800, currentCount - variation); // Não deixar cair abaixo de 800
}
document.getElementById('interestedCounter').textContent = currentCount;
// Selecionar 3 fotos aleatórias sem repetir
const availableImages = [...profileImages];
const selectedImages = [];
for (let i = 0; i < 3; i++) {
// Remover as últimas imagens usadas para evitar repetição
const filteredImages = availableImages.filter(img => !lastUsedImages.includes(img));
if (filteredImages.length === 0) {
// Se não houver imagens disponíveis, resetar
lastUsedImages = [];
break;
}
const randomIndex = Math.floor(Math.random() * filteredImages.length);
selectedImages.push(filteredImages[randomIndex]);
// Remover a imagem selecionada das disponíveis
const indexToRemove = availableImages.indexOf(filteredImages[randomIndex]);
if (indexToRemove > -1) {
availableImages.splice(indexToRemove, 1);
}
}
// Atualizar as imagens
document.getElementById('profile1').src = selectedImages[0];
document.getElementById('profile2').src = selectedImages[1];
document.getElementById('profile3').src = selectedImages[2];
// Atualizar o histórico de imagens usadas
lastUsedImages = selectedImages;
// Agendar próxima atualização entre 2 e 5 segundos
setTimeout(updateInterestCounter, 2000 + Math.random() * 3000);
}
// Iniciar o contador
updateInterestCounter();
// Animação da barra de progresso e porcentagem alternada
function animateProgressBar() {
const progressFill = document.getElementById('progressFill');
const formProgressFill = document.getElementById('formProgressFill');
const ctaProgressFill = document.getElementById('ctaProgressFill');
const spotsPercentage = document.getElementById('spotsPercentage');
const formSpotsPercentage = document.getElementById('formSpotsPercentage');
progressFill.style.width = '85%';
formProgressFill.style.width = '85%';
ctaProgressFill.style.width = '85%';
// Alternar entre 79% e 85% a cada 3 segundos
let show85 = true;
setInterval(() => {
if (show85) {
spotsPercentage.textContent = '85%';
formSpotsPercentage.textContent = '85%';
progressFill.style.width = '85%';
formProgressFill.style.width = '85%';
ctaProgressFill.style.width = '85%';
} else {
spotsPercentage.textContent = '79%';
formSpotsPercentage.textContent = '79%';
progressFill.style.width = '79%';
formProgressFill.style.width = '79%';
ctaProgressFill.style.width = '79%';
}
show85 = !show85;
}, 3000);
}
// Funções para o modal de vídeo
let videoShown = false;
function openVideoModal() {
document.getElementById('videoModal').style.display = 'flex';
document.body.style.overflow = 'hidden';
}
function closeVideoModal() {
document.getElementById('videoModal').style.display = 'none';
document.body.style.overflow = 'auto';
// Pausar o vídeo ao fechar o modal
const iframe = document.getElementById('videoPlayer');
iframe.src = iframe.src; // Recarregar o iframe para parar o vídeo
}
function scrollToForm() {
document.getElementById('inscricao').scrollIntoView({ behavior: 'smooth' });
closeVideoModal();
}
// Fechar modal clicando fora do conteúdo
window.onclick = function(event) {
const modal = document.getElementById('videoModal');
if (event.target === modal) {
closeVideoModal();
}
}
// Abrir modal ao rolar até a metade da página (apenas uma vez)
window.addEventListener('scroll', function() {
if (!videoShown && window.scrollY > document.body.scrollHeight / 2) {
openVideoModal();
videoShown = true;
}
});
// Form submission
document.getElementById('registrationForm').addEventListener('submit', function(e) {
e.preventDefault();
// Aqui você normalmente enviaria os dados para seu backend
alert('Inscrição realizada com sucesso! Em breve você receberá o link de acesso por e-mail.');
this.reset();
});
// Iniciar animações quando a página carregar
window.addEventListener('load', function() {
animateProgressBar();
});
// Otimização de carregamento - carregar elementos críticos primeiro
document.addEventListener('DOMContentLoaded', function() {
// Carregar imagens com lazy loading
const images = document.querySelectorAll('img');
images.forEach(img => {
if (!img.hasAttribute('loading')) {
img.setAttribute('loading', 'lazy');
}
});
});
</script>
</body>
</html>