<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap" rel="stylesheet">


<style>

  body {

    margin: 0;

  }


  .zap-hero {

    position: relative;

    background-color: #0d0d0d;

    padding: 80px 20px;

    text-align: center;

    font-family: 'Sora', sans-serif;

    color: white;

    border-radius: 16px;

    overflow: hidden;

  }


  .zap-button-glow {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background-color: #ceff1a;

    color: #000;

    padding: 14px 28px;

    border-radius: 999px;

    font-weight: 600;

    font-size: 16px;

    text-decoration: none;

    box-shadow: 0 0 20px #ceff1a80, 0 0 40px #ceff1a40;

    transition: all 0.3s ease;

    z-index: 1;

  }


  .zap-button-glow:hover {

    box-shadow: 0 0 30px #ceff1acc, 0 0 60px #ceff1a99;

    transform: scale(1.03);

  }


  .coin {

    position: absolute;

    width: 24px;

    height: 24px;

    background: url('https://escoladoimovel.com/wp-content/uploads/2025/04/money.png') no-repeat center center;

    background-size: contain;

    opacity: 0.15;

    animation: fall linear infinite;

    z-index: 0;

  }


  @keyframes fall {

    0% {

      transform: translateY(-100px) rotate(0deg);

      opacity: 0;

    }

    10% {

      opacity: 0.7;

    }

    100% {

      transform: translateY(600px) rotate(360deg);

      opacity: 0;

    }

  }

</style>


<div class="zap-hero">

  <!-- Moedas caindo -->

  <div class="coin" style="left: 10%; animation-duration: 6s; animation-delay: 0s;"></div>

  <div class="coin" style="left: 30%; animation-duration: 7s; animation-delay: 1s;"></div>

  <div class="coin" style="left: 60%; animation-duration: 5.5s; animation-delay: 0.5s;"></div>

  <div class="coin" style="left: 80%; animation-duration: 6.5s; animation-delay: 1.5s;"></div>

  <div class="coin" style="left: 50%; animation-duration: 8s; animation-delay: 2s;"></div>


  <!-- Conteúdo principal -->

  <div style="color: #ceff1a; font-weight: 600; font-size: 14px; letter-spacing: 1px; margin-bottom: 12px; position: relative; z-index: 1;">

    ZAP FINANCEIRO

  </div>

  <h1 style="font-size: 36px; font-weight: 700; line-height: 1.3; margin: 0 0 24px; position: relative; z-index: 1;">

    Destrave suas finanças<br>com inteligência e praticidade

  </h1>

  <a href="#conhecer" class="zap-button-glow">

    Começar agora <span style="font-size: 18px;">→</span>

  </a>

</div>

<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap" rel="stylesheet">


<style>

  .zap-benefits {

    position: relative;

    background-color: #0d0d0d;

    padding: 60px 20px 100px;

    font-family: 'Sora', sans-serif;

    color: white;

    text-align: center;

    overflow: hidden;

  }


  .zap-benefits canvas {

    position: absolute;

    top: 0; left: 0;

    width: 100%;

    height: 100%;

    z-index: 0;

    pointer-events: none;

    opacity: 0.08;

  }


  .zap-benefits * {

    position: relative;

    z-index: 1;

  }


  .mini-title {

    color: #ceff1a;

    font-size: 14px;

    letter-spacing: 1px;

    font-weight: 600;

    margin-bottom: 12px;

  }


  .zap-benefits h2 {

    font-size: 24px;

    font-weight: 700;

    margin-bottom: 40px;

  }


  .benefits-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    max-width: 700px;

    margin: 0 auto;

  }


  @media (max-width: 600px) {

    .benefits-grid {

      grid-template-columns: 1fr;

    }

  }


  .benefit-card {

    background-color: #131313;

    border-radius: 16px;

    padding: 24px;

    border: 1px solid #2c2c2c;

    opacity: 0;

    transform: translateY(40px);

    transition: all 0.6s ease;

  }


  .benefit-card.revealed {

    opacity: 1;

    transform: translateY(0);

  }


  .benefit-emoji {

    font-size: 28px;

    margin-bottom: 12px;

    display: block;

    animation: pulseEmoji 3s ease-in-out infinite;

  }


  @keyframes pulseEmoji {

    0%, 100% { transform: scale(1); }

    50% { transform: scale(1.08); }

  }


  .benefit-title {

    font-size: 18px;

    font-weight: 600;

    margin-bottom: 8px;

  }


  .benefit-text {

    font-size: 14px;

    color: #ccc;

  }


  .cta-button {

    margin-top: 60px;

    background-color: #ceff1a;

    color: #000;

    padding: 14px 32px;

    border-radius: 999px;

    text-decoration: none;

    font-weight: 600;

    font-size: 16px;

    display: inline-block;

    box-shadow: 0 0 20px #ceff1a80, 0 0 40px #ceff1a40;

    transition: all 0.3s ease;

  }


  .cta-button:hover {

    box-shadow: 0 0 30px #ceff1acc, 0 0 60px #ceff1a99;

    transform: scale(1.03);

  }


  .mini-note {

    color: #888;

    font-size: 13px;

    margin-top: 18px;

  }

</style>


<div class="zap-benefits">

  <canvas id="particles"></canvas>


  <div class="mini-title">Tecnologia usada por quem realmente entende de dinheiro</div>


  <h2>Organize sua vida financeira<br>do seu jeito, com tecnologia de verdade</h2>


  <div class="benefits-grid">

    <div class="benefit-card"><span class="benefit-emoji">💡</span>

      <div class="benefit-title">Clareza financeira</div>

      <div class="benefit-text">Descubra pra onde seu dinheiro vai sem precisar anotar nada.</div>

    </div>

    <div class="benefit-card"><span class="benefit-emoji">🤖</span>

      <div class="benefit-title">Tudo com IA no WhatsApp</div>

      <div class="benefit-text">Sua organização acontece com inteligência artificial, direto nas conversas.</div>

    </div>

    <div class="benefit-card"><span class="benefit-emoji">✅</span>

      <div class="benefit-title">Dívidas sob controle</div>

      <div class="benefit-text">Acompanhe suas parcelas, vencimentos e saldos automaticamente.</div>

    </div>

    <div class="benefit-card"><span class="benefit-emoji">🧠</span>

      <div class="benefit-title">Gaste com consciência</div>

      <div class="benefit-text">Entenda seus hábitos e melhore seus gastos sem abrir mão do que você curte.</div>

    </div>

  </div>


  <a href="#proxima" class="cta-button">Continuar →</a>

  <div class="mini-note">Mais de 1.000 pessoas já estão usando o Zap Financeiro todos os dias.</div>

</div>


<script>

  // Reveal animation on scroll

  const cards = document.querySelectorAll('.benefit-card');

  const observer = new IntersectionObserver(entries => {

    entries.forEach(entry => {

      if (entry.isIntersecting) {

        entry.target.classList.add('revealed');

        observer.unobserve(entry.target);

      }

    });

  }, { threshold: 0.1 });


  cards.forEach(card => observer.observe(card));


  // Canvas particle background

  const canvas = document.getElementById('particles');

  const ctx = canvas.getContext('2d');

  let particles = [];


  function resizeCanvas() {

    canvas.width = canvas.offsetWidth;

    canvas.height = canvas.offsetHeight;

  }


  function initParticles(count = 40) {

    particles = [];

    for (let i = 0; i < count; i++) {

      particles.push({

        x: Math.random() * canvas.width,

        y: Math.random() * canvas.height,

        r: Math.random() * 2 + 1,

        dx: (Math.random() - 0.5) * 0.3,

        dy: (Math.random() - 0.5) * 0.3

      });

    }

  }


  function animateParticles() {

    ctx.clearRect(0, 0, canvas.width, canvas.height);

    ctx.fillStyle = "#ceff1a";

    particles.forEach(p => {

      ctx.beginPath();

      ctx.arc(p.x, p.y, p.r, 0, Math.PI * 2);

      ctx.fill();

      p.x += p.dx;

      p.y += p.dy;

      if (p.x < 0 || p.x > canvas.width) p.dx *= -1;

      if (p.y < 0 || p.y > canvas.height) p.dy *= -1;

    });

    requestAnimationFrame(animateParticles);

  }


  window.addEventListener('load', () => {

    resizeCanvas();

    initParticles();

    animateParticles();

  });


  window.addEventListener('resize', () => {

    resizeCanvas();

    initParticles();

  });

</script>

<!-- ZAP FINANCEIRO - DEMO INTERATIVO COM IA (GROQ - LLAMA 3) -->

<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap" rel="stylesheet">


<style>

  .zap-chat-container {

    background-color: #0d0d0d;

    font-family: 'Sora', sans-serif;

    color: white;

    padding: 60px 20px 40px;

    max-width: 480px;

    margin: 0 auto;

    border-radius: 16px;

    position: relative;

  }


  .zap-chat-title {

    font-size: 24px;

    font-weight: 700;

    text-align: center;

    margin-bottom: 12px;

  }


  .zap-chat-sub {

    font-size: 14px;

    text-align: center;

    color: #ccc;

    margin-bottom: 30px;

  }


  .zap-highlight {

    color: #ceff1a;

    font-weight: 600;

  }


  .zap-chat-example {

    font-size: 13px;

    color: #888;

    text-align: center;

    margin-top: -20px;

    margin-bottom: 20px;

    animation: fadeIn 0.8s ease-in-out;

  }


  .zap-hint {

    font-size: 11px;

    color: #666;

    text-align: center;

    margin-top: 6px;

  }


  .zap-chat-window {

    background-color: #131313;

    border-radius: 12px;

    padding: 16px;

    min-height: 200px;

    max-height: none;

    overflow-y: auto;

    display: flex;

    flex-direction: column;

    gap: 12px;

    font-size: 14px;

  }


  .zap-bubble {

    max-width: 80%;

    padding: 10px 14px;

    border-radius: 16px;

    line-height: 1.4;

    display: inline-block;

    clear: both;

    animation: fadeIn 0.4s ease-in-out;

    white-space: pre-wrap;

  }


  .user {

    background-color: #2ca67a;

    color: white;

    align-self: flex-end;

    border-bottom-right-radius: 0;

  }


  .bot {

    background-color: #1e1e1e;

    color: white;

    align-self: flex-start;

    border-bottom-left-radius: 0;

  }


  .typing {

    background-color: #1e1e1e;

    color: white;

    align-self: flex-start;

    border-radius: 16px;

    padding: 10px 14px;

    display: inline-flex;

    gap: 4px;

  }


  .dot {

    width: 6px;

    height: 6px;

    background-color: #999;

    border-radius: 50%;

    animation: blink 1.4s infinite;

  }


  .dot:nth-child(2) {

    animation-delay: 0.2s;

  }


  .dot:nth-child(3) {

    animation-delay: 0.4s;

  }


  .zap-input-area {

    width: 100%;

    padding: 20px 0 0;

    display: flex;

    gap: 10px;

    justify-content: center;

    flex-direction: column;

    align-items: center;

  }


  .zap-input-box {

    width: 100%;

    display: flex;

    gap: 10px;

  }


  .zap-input {

    flex: 1;

    padding: 12px 16px;

    border-radius: 999px;

    border: none;

    font-size: 14px;

    outline: none;

    font-family: 'Sora', sans-serif;

  }


  .zap-send {

    background-color: #ceff1a;

    border: none;

    border-radius: 50%;

    width: 46px;

    height: 46px;

    cursor: pointer;

    font-size: 20px;

    color: black;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: transform 0.2s ease;

  }


  .zap-send:hover {

    background-color: #ceff1a;

    transform: scale(1.05) translateX(2px);

  }


  .zap-continue {

    margin-top: 24px;

    text-align: center;

    display: none;

    animation: pulse 1.6s ease-in-out infinite;

  }


  .zap-continue button {

    background-color: #ceff1a;

    color: black;

    padding: 12px 24px;

    border-radius: 999px;

    font-weight: bold;

    border: none;

    cursor: pointer;

  }


  @keyframes fadeIn {

    from { opacity: 0; transform: translateY(10px); }

    to { opacity: 1; transform: translateY(0); }

  }


  @keyframes blink {

    0% { opacity: 0.3; }

    50% { opacity: 1; }

    100% { opacity: 0.3; }

  }


  @keyframes pulse {

    0% { transform: scale(1); }

    50% { transform: scale(1.05); }

    100% { transform: scale(1); }

  }

</style>


<div class="zap-chat-container">

  <div class="zap-chat-title">Dê o primeiro comando.</div>

  <div class="zap-chat-sub">

    Teste agora o <span class="zap-highlight">Zap Financeiro</span>, seu novo assistente via WhatsApp. <br>

    Envie um gasto e veja como a <span class="zap-highlight">IA entende tudo em segundos</span>.

  </div>

  <div class="zap-chat-example">

    Exemplo: "ifood 44" ou "uber 18" ou "academia 100"

  </div>


  <div class="zap-chat-window" id="chatWindow">

    <div class="zap-bubble bot">Oi! Sou seu assistente financeiro. Me diga o que comprou e quanto custou.</div>

  </div>


  <div class="zap-input-area" id="inputArea">

    <div class="zap-input-box">

      <input type="text" id="userInput" class="zap-input" placeholder="Ex: mercado 50">

      <button class="zap-send" onclick="sendMessage()">➤</button>

    </div>

    <div class="zap-hint">*Não precisa escrever "reais" ou usar vírgulas*</div>

  </div>


  <div class="zap-continue" id="continueBtn">

    <button onclick="alert('Seguindo para próxima etapa...')">Continuar</button>

  </div>

</div>


<script>

  const chatWindow = document.getElementById("chatWindow");

  const userInput = document.getElementById("userInput");

  const inputArea = document.getElementById("inputArea");

  const continueBtn = document.getElementById("continueBtn");


  userInput.addEventListener("keydown", (e) => {

    if (e.key === "Enter") sendMessage();

  });


  async function sendMessage() {

    const msg = userInput.value.trim();

    if (!msg) return;


    appendMessage("user", msg);

    userInput.value = "";


    const typing = document.createElement("div");

    typing.className = "typing";

    typing.innerHTML = `<span class="dot"></span><span class="dot"></span><span class="dot"></span>`;

    chatWindow.appendChild(typing);

    chatWindow.scrollTop = chatWindow.scrollHeight;


    const response = await fetch("https://api.groq.com/openai/v1/chat/completions", {

      method: "POST",

      headers: {

        "Authorization": "Bearer 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",

        "Content-Type": "application/json"

      },

      body: JSON.stringify({

        model: "llama3-70b-8192",

        messages: [

          {

            role: "system",

            content: `Você é um assistente financeiro. Sua função é interpretar mensagens curtas com informações de gastos enviadas por um usuário.\n\nRegras:\n- Se a mensagem tiver apenas um número ou informações vagas, peça educadamente para o usuário fornecer mais detalhes. Exemplo: “Por favor, me diga o que foi esse gasto e o valor. Ex: ‘Uber 20’ ou ‘Gastei 30 no ifood’.”\n- Se a mensagem for clara (ex: “gastei 20 no Uber”, “ifood 40”), identifique:\n  - Título do gasto (ex: Uber, ifood)\n  - Valor (ex: R$20,00)\n  - Categoria com base no título (ex: Transporte, Alimentação)\n- Em seguida, gere uma resposta com a seguinte estrutura:\n📌 Gasto adicionado\n\n{TÍTULO} (Categoria: {CATEGORIA})\n💸 R$ {VALOR}\n\n🟡 Lembrete: Você está quase chegando no seu limite definido de R$ 30 por mês com {CATEGORIA}.\n\n- Não inclua a data.\n- Sempre use esse formato.\n- Nunca altere os emojis ou estrutura.\n- Fale sempre em português, seja objetivo e amigável.`

          },

          { role: "user", content: msg }

        ]

      })

    });


    const data = await response.json();

    typing.remove();


    const reply = data.choices[0].message.content;


    if (reply.includes("📌")) {

      appendMessage("bot", reply);

      inputArea.style.display = "none";

      setTimeout(() => continueBtn.style.display = "block", 1500);

    } else {

      appendMessage("bot", "❌ Não entendi. Me diga o que comprou e quanto custou. Ex: ifood 20");

    }

  }


  function appendMessage(sender, text) {

    const bubble = document.createElement("div");

    bubble.className = `zap-bubble ${sender}`;

    bubble.textContent = text;

    chatWindow.appendChild(bubble);

    chatWindow.scrollTop = chatWindow.scrollHeight;

  }

</script>

<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap" rel="stylesheet">


<style>

  body {

    background-color: #0d0d0d;

    font-family: 'Sora', sans-serif;

    color: white;

    margin: 0;

    padding: 0;

  }


  .zap-section {

    max-width: 100%;

    margin: 0 auto;

    padding: 48px 16px;

    text-align: center;

  }


  .zap-section h3,

  .zap-section p,

  .zap-cards,

  .zap-call,

  .zap-button,

  .zap-chat-window,

  .zap-end-msg,

  .zap-end-btn {

    opacity: 1;

    transform: none;

    transition: all 0.6s ease;

  }


  .reveal {

    opacity: 0;

    transform: translateY(20px);

  }


  .visible {

    opacity: 1 !important;

    transform: translateY(0) !important;

  }


  .zap-section h3 {

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 12px;

    line-height: 1.3;

  }


  .zap-section p {

    font-size: 14px;

    color: #ccc;

    line-height: 1.5;

    margin-bottom: 36px;

  }


  .zap-cards {

    display: flex;

    flex-direction: column;

    gap: 16px;

    margin-bottom: 40px;

  }


  .zap-card {

    background-color: #131313;

    border-radius: 16px;

    padding: 20px;

    border: 1px solid #1e1e1e;

    text-align: left;

  }


  .zap-card strong {

    font-size: 14px;

    display: block;

    margin-bottom: 6px;

  }


  .zap-card span {

    font-size: 13px;

    color: #aaa;

  }


  .zap-call {

    font-size: 13px;

    color: #ceff1a;

    font-weight: 600;

    margin-bottom: 14px;

  }


  .zap-button {

    background-color: #ceff1a;

    color: black;

    font-weight: 700;

    padding: 14px 30px;

    border-radius: 999px;

    font-size: 15px;

    border: none;

    cursor: pointer;

    animation: pulse 1.8s ease-in-out infinite;

    transition: all 0.3s ease;

  }


  .zap-button:hover {

    background-color: #dfff4a;

    box-shadow: 0 0 12px #ceff1a70;

    transform: translateX(2px);

  }


  @keyframes pulse {

    0% { transform: scale(1); }

    50% { transform: scale(1.05); }

    100% { transform: scale(1); }

  }


  .zap-chat-window {

    padding: 0;

    display: none;

    flex-direction: column;

    gap: 12px;

    margin-top: 40px;

    font-size: 14px;

    align-items: flex-start;

  }


  .zap-bubble {

    max-width: 85%;

    padding: 12px 16px;

    border-radius: 20px;

    display: inline-block;

    white-space: pre-wrap;

    line-height: 1.4;

    animation: fadeIn 0.4s ease-in-out;

    margin-bottom: 6px;

  }


  .user {

    background-color: #1e4b38;

    color: white;

    align-self: flex-end;

    border-bottom-right-radius: 0;

    margin-left: auto;

  }


  .bot {

    background-color: #222;

    color: white;

    align-self: flex-start;

    border-bottom-left-radius: 0;

    margin-right: auto;

    text-align: left;

  }


  .typing {

    background-color: #333;

    color: white;

    border-radius: 12px;

    padding: 8px 12px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    width: fit-content;

  }


  .dot {

    width: 6px;

    height: 6px;

    background-color: #aaa;

    border-radius: 50%;

    animation: blink 1.4s infinite;

  }


  .dot:nth-child(2) { animation-delay: 0.2s; }

  .dot:nth-child(3) { animation-delay: 0.4s; }


  @keyframes blink {

    0%, 100% { opacity: 0.3; }

    50% { opacity: 1; }

  }


  @keyframes fadeIn {

    from { opacity: 0; transform: translateY(6px); }

    to { opacity: 1; transform: translateY(0); }

  }


  .zap-end-msg {

    margin-top: 40px;

    color: #ccc;

    font-size: 14px;

    line-height: 1.5;

    max-width: 90%;

    margin-left: auto;

    margin-right: auto;

    display: none;

  }


  .zap-end-msg strong {

    color: #ceff1a;

    font-weight: 600;

  }


  .zap-end-btn {

    background-color: #ceff1a;

    color: black;

    font-weight: 700;

    padding: 14px 30px;

    border-radius: 999px;

    font-size: 15px;

    border: none;

    cursor: pointer;

    display: none;

    margin: 24px auto 0;

    animation: pulse 1.6s ease-in-out infinite;

    transition: all 0.3s ease;

  }


  .zap-end-btn:hover {

    background-color: #dfff4a;

    box-shadow: 0 0 12px #ceff1a70;

    transform: translateX(2px);

  }


  @media (min-width: 600px) {

    .zap-section h3 { font-size: 26px; }

    .zap-section p { font-size: 16px; }

    .zap-card strong { font-size: 16px; }

    .zap-card span { font-size: 14px; }

    .zap-call { font-size: 15px; }

    .zap-button, .zap-end-btn { font-size: 15px; }

  }

</style>


<div class="zap-section">

  <h3 class="reveal">Você fala. A IA entende. E te mostra tudo em segundos.</h3>

  <p class="reveal">

    Aqui, você não precisa preencher nada. Basta perguntar e ver seus dados organizados na hora.

  </p>


  <div class="zap-cards">

    <div class="zap-card reveal">

      <strong>📊 Quanto eu gastei nos últimos dias?</strong>

      <span>Descubra seus gastos recentes direto no chat, sem planilhas ou aplicativos.</span>

    </div>

    <div class="zap-card reveal">

      <strong>🛒 Em que estou gastando mais?</strong>

      <span>A IA mostra as categorias onde você mais investe sua grana.</span>

    </div>

  </div>


  <div class="zap-call reveal">Teste na prática agora mesmo:</div>

  <button class="zap-button reveal" id="startBtn">➤ quanto eu gastei nos últimos dias?</button>


  <div class="zap-chat-window" id="chatWindow"></div>


  <div class="zap-end-msg" id="endMsg">🧠 Você nunca mais vai se perguntar <strong>"onde que eu gastei tanto esse mês?"</strong>, sem ter a resposta.</div>

  <button class="zap-end-btn" id="endBtn">Continuar →</button>

</div>


<script>

  const elements = document.querySelectorAll('.reveal');

  const chatWindow = document.getElementById('chatWindow');

  const startBtn = document.getElementById('startBtn');

  const endMsg = document.getElementById('endMsg');

  const endBtn = document.getElementById('endBtn');


  if ('IntersectionObserver' in window) {

    const observer = new IntersectionObserver((entries) => {

      entries.forEach((entry) => {

        if (entry.isIntersecting) {

          entry.target.classList.add('visible');

          observer.unobserve(entry.target);

        }

      });

    }, { threshold: 0.1 });

    elements.forEach((el) => observer.observe(el));

  } else {

    elements.forEach((el) => el.classList.add('visible'));

  }


  function getPeriodoSeteDias() {

    const hoje = new Date();

    const inicio = new Date();

    inicio.setDate(hoje.getDate() - 6);

    const format = (d) => d.toLocaleDateString('pt-BR', { day: '2-digit', month: '2-digit' });

    return `${format(inicio)} à ${format(hoje)}`;

  }


  function appendMessage(role, content) {

    const bubble = document.createElement('div');

    bubble.className = `zap-bubble ${role}`;

    bubble.textContent = content;

    chatWindow.appendChild(bubble);

    bubble.scrollIntoView({ behavior: 'smooth' });

  }


  function showTyping() {

    const typing = document.createElement('div');

    typing.className = 'typing';

    typing.id = 'typing';

    typing.innerHTML = '<span class="dot"></span><span class="dot"></span><span class="dot"></span>';

    chatWindow.appendChild(typing);

    typing.scrollIntoView({ behavior: 'smooth' });

  }


  function removeTyping() {

    const typing = document.getElementById('typing');

    if (typing) typing.remove();

  }


  startBtn.addEventListener('click', () => {

    startBtn.style.display = 'none';

    chatWindow.style.display = 'flex';


    appendMessage('user', 'quanto eu gastei nos últimos dias?');


    setTimeout(() => showTyping(), 800);


    setTimeout(() => {

      removeTyping();

      const periodo = getPeriodoSeteDias();

      appendMessage('bot',

        `📌 Gastos dos últimos 7 dias\n🗓️ ${periodo}\n💰 Total: R$ 632,00\n\n🍔 Alimentação: R$ 220,00\n🚗 Transporte: R$ 150,00\n🏠 Casa: R$ 120,00\n💳 Outros: R$ 142,00`

      );

    }, 2200);


    setTimeout(() => showTyping(), 3400);


    setTimeout(() => {

      removeTyping();

      appendMessage('bot',

        `🧠 Análise da semana:\nVocê gastou um total de R$ 632,00 nos últimos 7 dias.\n\nA maior parte foi com alimentação, seguida de transporte.\nSeu gasto aumentou 18% comparado à semana passada.`

      );

    }, 4800);


    setTimeout(() => {

      endMsg.style.display = 'block';

      endBtn.style.display = 'inline-block';

      endMsg.scrollIntoView({ behavior: 'smooth' });

    }, 8000);

  });

</script>

<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap" rel="stylesheet">


<style>

  body {

    background-color: #0d0d0d;

    font-family: 'Sora', sans-serif;

    color: white;

    margin: 0;

    padding: 0;

  }


  .zap-section {

    max-width: 100%;

    margin: 0 auto;

    padding: 48px 16px 64px; /* ← respiro no fim da página */

    text-align: center;

  }


  .zap-section h3,

  .zap-section p,

  .zap-call,

  .zap-end-msg,

  .zap-end-btn,

  .zap-chat-window {

    opacity: 0;

    transform: translateY(20px);

    transition: all 0.6s ease;

  }


  .visible {

    opacity: 1 !important;

    transform: translateY(0) !important;

  }


  .zap-section h3 {

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 12px;

    line-height: 1.3;

  }


  .zap-section p {

    font-size: 14px;

    color: #ccc;

    line-height: 1.5;

    margin-bottom: 36px;

  }


  .zap-call {

    font-size: 13px;

    color: #ceff1a;

    font-weight: 600;

    margin-bottom: 24px;

  }


  .zap-chat-window {

    display: flex;

    flex-direction: column;

    gap: 12px;

    font-size: 14px;

    align-items: flex-start;

    max-width: 90%;

    margin: 0 auto 32px;

    min-height: 120px;

  }


  .zap-bubble {

    max-width: 85%;

    padding: 12px 16px;

    border-radius: 20px;

    display: inline-block;

    white-space: pre-wrap;

    line-height: 1.4;

    text-align: left;

    animation: fadeIn 0.4s ease-in-out;

  }


  @keyframes fadeIn {

    from { opacity: 0; transform: translateY(6px); }

    to { opacity: 1; transform: translateY(0); }

  }


  .user {

    background-color: #1e4b38;

    color: white;

    align-self: flex-end;

    border-bottom-right-radius: 0;

  }


  .bot {

    background-color: #222;

    color: white;

    align-self: flex-start;

    border-bottom-left-radius: 0;

  }


  .typing {

    background-color: #333;

    color: white;

    border-radius: 12px;

    padding: 8px 12px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    width: fit-content;

  }


  .dot {

    width: 6px;

    height: 6px;

    background-color: #aaa;

    border-radius: 50%;

    animation: blink 1.4s infinite;

  }


  .dot:nth-child(2) { animation-delay: 0.2s; }

  .dot:nth-child(3) { animation-delay: 0.4s; }


  @keyframes blink {

    0%, 100% { opacity: 0.3; }

    50% { opacity: 1; }

  }


  .zap-end-msg {

    color: #ccc;

    font-size: 14px;

    line-height: 1.5;

    max-width: 90%;

    margin: 0 auto 20px;

    display: none;

  }


  .zap-end-btn {

    background-color: #ceff1a;

    color: black;

    font-weight: 700;

    padding: 14px 30px;

    border-radius: 999px;

    font-size: 15px;

    border: none;

    cursor: pointer;

    animation: pulse 1.6s ease-in-out infinite;

    transition: all 0.3s ease;

    display: none;

    margin-bottom: 64px; /* ← evita corte no mobile */

  }


  .zap-end-btn:hover {

    background-color: #dfff4a;

    box-shadow: 0 0 12px #ceff1a70;

    transform: translateX(2px);

  }


  @keyframes pulse {

    0% { transform: scale(1); }

    50% { transform: scale(1.05); }

    100% { transform: scale(1); }

  }

</style>


<div class="zap-section">

  <h3 class="reveal">Crie lembretes e controle seus gastos direto no chat.</h3>

  <p class="reveal">O Zap Financeiro entende suas mensagens e transforma em alertas, relatórios e limites automáticos. Zero planilhas.</p>


  <div class="zap-call reveal">Veja como funciona na prática:</div>


  <div class="zap-chat-window reveal" id="chatWindow"></div>


  <!-- Etapa 2: lembrete enviado -->

  <div id="extraBlock" style="display: none;">

    <h3 class="reveal" style="margin-top: 32px;">Seja lembrado com antecedência.</h3>

    <div class="zap-chat-window reveal" id="lembreteExtra"></div>


    <div class="zap-end-msg reveal" id="endMsg">

      🧠 Você nunca mais vai esquecer uma conta importante ou passar do limite sem saber.

    </div>


    <button class="zap-end-btn reveal" id="endBtn">Continuar →</button>

  </div>

</div>


<script>

  const elements = document.querySelectorAll('.reveal');

  const chatWindow = document.getElementById('chatWindow');

  const lembreteExtra = document.getElementById('lembreteExtra');

  const extraBlock = document.getElementById('extraBlock');

  const endMsg = document.getElementById('endMsg');

  const endBtn = document.getElementById('endBtn');


  // animações de entrada

  if ('IntersectionObserver' in window) {

    const observer = new IntersectionObserver((entries) => {

      entries.forEach((entry) => {

        if (entry.isIntersecting) {

          entry.target.classList.add('visible');

          observer.unobserve(entry.target);

        }

      });

    }, { threshold: 0.1 });

    elements.forEach((el) => observer.observe(el));

  } else {

    elements.forEach((el) => el.classList.add('visible'));

  }


  function showTyping(target) {

    const typing = document.createElement('div');

    typing.className = 'typing';

    typing.id = 'typing';

    typing.innerHTML = '<span class="dot"></span><span class="dot"></span><span class="dot"></span>';

    target.appendChild(typing);

    typing.scrollIntoView({ behavior: 'smooth' });

  }


  function removeTyping(target) {

    const typing = target.querySelector('#typing');

    if (typing) typing.remove();

  }


  function addMessage(target, role, content, delay = 1000) {

    return new Promise(resolve => {

      setTimeout(() => {

        removeTyping(target);

        const bubble = document.createElement('div');

        bubble.className = `zap-bubble ${role}`;

        bubble.innerHTML = content;

        target.appendChild(bubble);

        bubble.scrollIntoView({ behavior: 'smooth' });

        resolve();

      }, delay);

    });

  }


  async function runChatSimulation() {

    await addMessage(chatWindow, 'user', 'boleto do carro todo dia 12, R$ 2400', 1200);

    showTyping(chatWindow);

    await addMessage(chatWindow, 'bot', '✅ Lembrete adicionado<br>🔔 Boleto do carro<br>📅 Data: 12<br>🔁 Frequência: Mensal', 2200);


    // mostra o próximo bloco

    extraBlock.style.display = 'block';

    await new Promise(resolve => setTimeout(resolve, 800));


    await addMessage(lembreteExtra, 'bot', '💡 Lembrete: Boleto Carro', 1600);

    await addMessage(lembreteExtra, 'user', 'paguei já', 1400);

    showTyping(lembreteExtra);

    await addMessage(lembreteExtra, 'bot', '✅ Te lembro de novo mês que vem!', 2400);


    setTimeout(() => {

      endMsg.style.display = 'block';

      endBtn.style.display = 'inline-block';


      const yOffset = -40;

      const y = endMsg.getBoundingClientRect().top + window.pageYOffset + yOffset;

      window.scrollTo({ top: y, behavior: 'smooth' });

    }, 1200);

  }


  const triggerChat = new IntersectionObserver((entries) => {

    entries.forEach(entry => {

      if (entry.isIntersecting) {

        runChatSimulation();

        triggerChat.unobserve(entry.target);

      }

    });

  }, { threshold: 0.3 });


  triggerChat.observe(chatWindow);

</script>

<!-- FONTE -->

<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap" rel="stylesheet">


<!-- ESTILO GERAL -->

<style>

  body {

    background-color: #0d0d0d;

    font-family: 'Sora', sans-serif;

    color: white;

    margin: 0;

    padding: 0;

  }


  .zap-section {

    max-width: 100%;

    margin: 0 auto;

    padding: 48px 16px 64px;

    text-align: center;

  }


  .zap-section h3,

  .zap-section p,

  .zap-call,

  .zap-chat-window,

  .motivational-text {

    opacity: 0;

    transform: translateY(20px);

    transition: all 0.6s ease;

  }


  .visible {

    opacity: 1 !important;

    transform: translateY(0) !important;

  }


  .zap-section h3 {

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 12px;

    line-height: 1.3;

  }


  .zap-section p {

    font-size: 14px;

    color: #ccc;

    line-height: 1.5;

    margin-bottom: 36px;

  }


  .zap-call {

    font-size: 13px;

    color: #ceff1a;

    font-weight: 600;

    margin-bottom: 24px;

  }


  .zap-chat-window {

    display: flex;

    flex-direction: column;

    gap: 12px;

    font-size: 14px;

    align-items: flex-start;

    max-width: 90%;

    margin: 0 auto 32px;

    min-height: 120px;

  }


  .zap-bubble {

    max-width: 85%;

    padding: 12px 16px;

    border-radius: 20px;

    display: inline-block;

    white-space: pre-wrap;

    line-height: 1.4;

    text-align: left;

    animation: fadeIn 0.4s ease-in-out;

  }


  @keyframes fadeIn {

    from { opacity: 0; transform: translateY(6px); }

    to { opacity: 1; transform: translateY(0); }

  }


  .user {

    background-color: #1e4b38;

    color: white;

    align-self: flex-end;

    border-bottom-right-radius: 0;

  }


  .bot {

    background-color: #222;

    color: white;

    align-self: flex-start;

    border-bottom-left-radius: 0;

  }


  .typing {

    background-color: #333;

    color: white;

    border-radius: 12px;

    padding: 8px 12px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    width: fit-content;

  }


  .dot {

    width: 6px;

    height: 6px;

    background-color: #aaa;

    border-radius: 50%;

    animation: blink 1.4s infinite;

  }


  .dot:nth-child(2) { animation-delay: 0.2s; }

  .dot:nth-child(3) { animation-delay: 0.4s; }


  @keyframes blink {

    0%, 100% { opacity: 0.3; }

    50% { opacity: 1; }

  }


  .motivational-text {

    font-size: 15px;

    color: #ccc;

    margin: 40px auto 36px;

    max-width: 90%;

    line-height: 1.7;

    text-align: center;

    display: none;

  }


  .motivational-text strong {

    color: #ceff1a;

    font-weight: 600;

    display: block;

    margin-top: 8px;

  }


  /* MAIS RECURSOS */

  .zap-resources {

    padding: 48px 20px 72px;

    text-align: center;

    display: none;

  }


  .zap-resources h3 {

    font-size: 20px;

    font-weight: 700;

    margin-bottom: 12px;

  }


  .zap-resources p {

    font-size: 14px;

    color: #ccc;

    line-height: 1.5;

    margin-bottom: 36px;

  }


  .zap-feature-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 20px;

    max-width: 720px;

    margin: 0 auto 36px;

  }


  @media (min-width: 600px) {

    .zap-feature-grid {

      grid-template-columns: 1fr 1fr;

    }

  }


  .zap-feature-card {

    background-color: #131313;

    border: 1px solid #2c2c2c;

    border-radius: 16px;

    padding: 20px;

    text-align: left;

    opacity: 0;

    transform: translateY(30px);

    transition: all 0.8s ease;

  }


  .zap-feature-card.visible {

    opacity: 1 !important;

    transform: translateY(0) !important;

  }


  .zap-feature-title {

    font-size: 15px;

    font-weight: 600;

    margin-bottom: 8px;

    color: white;

  }


  .zap-feature-text {

    font-size: 13px;

    color: #ccc;

    line-height: 1.4;

  }


  .zap-resources .reveal {

    opacity: 0;

    transform: translateY(20px);

    transition: all 0.6s ease;

  }


  .zap-resources .reveal.visible {

    opacity: 1 !important;

    transform: translateY(0) !important;

  }


  .zap-continue-btn {

    background-color: #ceff1a;

    color: black;

    font-weight: 700;

    padding: 14px 30px;

    border-radius: 999px;

    font-size: 15px;

    border: none;

    cursor: pointer;

    display: block;

    margin: 24px auto 0;

    opacity: 0;

    transform: translateY(20px);

    transition: all 0.6s ease;

  }


  .zap-continue-btn.visible {

    opacity: 1;

    transform: translateY(0);

  }


  .zap-continue-btn:hover {

    background-color: #dfff4a;

    box-shadow: 0 0 12px #ceff1a70;

    transform: scale(1.02);

  }

</style>


<!-- CONTEÚDO -->

<div class="zap-section">

  <h3 class="reveal">Planeje metas com inteligência.</h3>

  <p class="reveal">Diga o que você quer conquistar e até quando. O Zap se encarrega de fazer os cálculos, criar o plano e te lembrar quanto guardar.</p>

  <div class="zap-call reveal">Veja como fica fácil transformar um objetivo em realidade:</div>


  <div class="zap-chat-window reveal" id="goalChat1"></div>

  <div class="motivational-text reveal" id="motivationText">

    Ela acompanha, calcula e comemora cada passo com você.  

    <strong>Você só precisa sonhar. O resto é com a gente.</strong>

  </div>

  <div class="zap-chat-window reveal" id="goalChat2" style="display: none;"></div>

</div>


<!-- SEÇÃO "MAIS RECURSOS" -->

<div class="zap-resources" id="resourcesSection">

  <h3 class="reveal">Muito mais do que registrar gastos.</h3>

  <p class="reveal">O Zap entende seus hábitos, te dá ideias e ainda desafia você a manter o foco com inteligência.</p>


  <div class="zap-feature-grid">

    <div class="zap-feature-card"> 

      <div class="zap-feature-title">✅ Organização automática</div>

      <div class="zap-feature-text">Seus gastos são classificados na hora. Sem planilha, sem esforço.</div>

    </div>

    <div class="zap-feature-card">

      <div class="zap-feature-title">💡 Dicas da IA em tempo real</div>

      <div class="zap-feature-text">“Você gastou mais com delivery este mês.” A IA te avisa quando precisa.</div>

    </div>

    <div class="zap-feature-card">

      <div class="zap-feature-title">📈 Análise de compras</div>

      <div class="zap-feature-text">Diga o que pretende comprar. O Zap diz se vale parcelar, esperar ou pagar à vista.</div>

    </div>

  </div>


  <p class="reveal">E ainda vem mais por aí…</p>

  <button class="zap-continue-btn">Continuar →</button>

</div>


<!-- SCRIPT -->

<script>

  const elements = document.querySelectorAll('.reveal');

  const goalChat1 = document.getElementById('goalChat1');

  const goalChat2 = document.getElementById('goalChat2');

  const motivationText = document.getElementById('motivationText');

  const resourcesSection = document.getElementById('resourcesSection');


  if ('IntersectionObserver' in window) {

    const observer = new IntersectionObserver((entries) => {

      entries.forEach((entry) => {

        if (entry.isIntersecting) {

          entry.target.classList.add('visible');

          observer.unobserve(entry.target);

        }

      });

    }, { threshold: 0.1 });


    elements.forEach((el) => observer.observe(el));

  } else {

    elements.forEach((el) => el.classList.add('visible'));

  }


  function showTyping(target, id = 'typing-goal') {

    const typing = document.createElement('div');

    typing.className = 'typing';

    typing.id = id;

    typing.innerHTML = '<span class="dot"></span><span class="dot"></span><span class="dot"></span>';

    target.appendChild(typing);

    typing.scrollIntoView({ behavior: 'smooth' });

  }


  function removeTyping(target, id = 'typing-goal') {

    const typing = target.querySelector(`#${id}`);

    if (typing) typing.remove();

  }


  function addMessage(target, role, content, delay = 1000, typingId = 'typing-goal') {

    return new Promise(resolve => {

      setTimeout(() => {

        removeTyping(target, typingId);

        const bubble = document.createElement('div');

        bubble.className = `zap-bubble ${role}`;

        bubble.innerHTML = content;

        target.appendChild(bubble);

        bubble.scrollIntoView({ behavior: 'smooth' });

        resolve();

      }, delay);

    });

  }


  async function runGoalSimulation() {

    await addMessage(goalChat1, 'user', 'cria uma meta pra intercâmbio na Irlanda em 6 meses, preciso de 18 mil', 1400);

    showTyping(goalChat1);

    await addMessage(goalChat1, 'bot', '✅ Meta criada: Intercâmbio na Irlanda<br>📆 Prazo: 6 meses<br>💰 Valor: R$ 18.000<br>💡 Você precisa guardar R$ 3.000 por mês', 5600);


    motivationText.style.display = 'block';

    await new Promise(resolve => setTimeout(resolve, 1000));

    goalChat2.style.display = 'flex';


    showTyping(goalChat2, 'typing-goal-2');

    await addMessage(goalChat2, 'bot', '🎯 Parabéns! Esse mês você conseguiu guardar R$ 1.200.', 5800, 'typing-goal-2');

    showTyping(goalChat2, 'typing-goal-3');

    await addMessage(goalChat2, 'bot', 'Faltam R$ 16.800 para sua meta de <strong>Intercâmbio na Irlanda</strong>. Seguimos juntos! 🚀', 3000, 'typing-goal-3');


    setTimeout(() => showResourcesSection(), 2200);

  }


  const triggerGoal = new IntersectionObserver((entries) => {

    entries.forEach(entry => {

      if (entry.isIntersecting) {

        runGoalSimulation();

        triggerGoal.unobserve(entry.target);

      }

    });

  }, { threshold: 0.3 });


  triggerGoal.observe(goalChat1);


  function showResourcesSection() {

    const section = document.getElementById('resourcesSection');

    section.style.display = 'block';

    section.scrollIntoView({ behavior: 'smooth' });


    const cards = document.querySelectorAll('.zap-feature-card');

    cards.forEach((card, i) => {

      setTimeout(() => {

        card.classList.add('visible');

      }, 400 + i * 250);

    });


    document.querySelectorAll('#resourcesSection .reveal').forEach((el, i) => {

      setTimeout(() => {

        el.classList.add('visible');

      }, 600 + i * 200);

    });


    setTimeout(() => {

      document.querySelector('.zap-continue-btn').classList.add('visible');

    }, 1000);

  }

</script>

<!DOCTYPE html>

<html lang="pt-BR">

<head>

  <meta charset="UTF-8">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Zap Financeiro - Oferta Final: A IA que Organiza Seu Dinheiro</title>

  <link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap" rel="stylesheet">

  <style>

    body, html {

      background-color: #0d0d0d;

      font-family: 'Sora', sans-serif;

      color: white;

      margin: 0;

      padding: 0;

    }

    .zap-final-section {

      padding: 64px 16px;

      max-width: 500px;

      margin: 0 auto;

      text-align: center;

    }

    .reveal {

      opacity: 0;

      transform: translateY(20px);

      transition: all 0.8s ease;

    }

    .visible {

      opacity: 1 !important;

      transform: translateY(0) !important;

    }

    h2 {

      font-size: 22px;

      font-weight: 700;

      margin-bottom: 16px;

      line-height: 1.4;

    }

    .subtitle {

      color: #ceff1a;

      font-size: 16px;

      margin-bottom: 24px;

    }

    p {

      font-size: 14px;

      color: #ccc;

      line-height: 1.6;

      margin-bottom: 28px;

    }

    .zap-chart {

      width: 100%;

      margin: 40px 0;

    }

    .zap-chart svg {

      width: 100%;

      height: auto;

      overflow: visible;

    }

    .chart-path {

      stroke-dasharray: 600;

      stroke-dashoffset: 600;

      animation: drawPath 2.5s ease forwards;

    }

    @keyframes drawPath {

      to {

        stroke-dashoffset: 0;

      }

    }

    .zap-feature-list {

      text-align: left;

      background-color: #111;

      border-radius: 20px;

      padding: 24px;

      margin-top: 48px;

      border: 1px solid #222;

    }

    .zap-feature-list h3 {

      font-size: 16px;

      font-weight: 700;

      margin-bottom: 16px;

      color: white;

    }

    .zap-feature-list ul {

      list-style: none;

      padding: 0;

      margin: 0;

      display: flex;

      flex-direction: column;

      gap: 12px;

    }

    .zap-feature-list li {

      display: flex;

      align-items: center;

      font-size: 14px;

      color: #ccc;

    }

    .zap-feature-list li::before {

      content: "\2714";

      color: #ceff1a;

      margin-right: 12px;

    }

    .zap-guarantee {

      margin-top: 48px;

      font-size: 13px;

      color: #999;

      line-height: 1.6;

    }

    .zap-guarantee p {

      margin-bottom: 8px;

    }

    .zap-price-card {

      background: linear-gradient(145deg, #111111 0%, #1a1a1a 100%);

      border-radius: 20px;

      padding: 32px 24px;

      border: 1px solid #222;

      margin: 48px 0 12px;

      box-shadow: 0 10px 30px rgba(0,0,0,0.5);

    }

    .zap-promo-tag {

      background-color: #ceff1a;

      color: black;

      font-weight: 700;

      font-size: 12px;

      padding: 4px 10px;

      border-radius: 999px;

      display: inline-block;

      margin-bottom: 12px;

    }

    .zap-plan {

      font-size: 16px;

      font-weight: 600;

      margin-bottom: 12px;

    }

    .zap-price-highlight {

      font-size: 22px;

      font-weight: 700;

      color: white;

      display: block;

      margin-bottom: 6px;

    }

    .zap-price-sub {

      font-size: 15px;

      color: #aaa;

      display: block;

      margin-bottom: 4px;

    }

    .zap-price-note {

      font-size: 13px;

      color: #777;

    }

    .zap-button {

      background: linear-gradient(90deg, #ceff1a 0%, #a9ff00 100%);

      color: black;

      font-weight: 700;

      font-size: 15px;

      padding: 14px 24px;

      border-radius: 999px;

      display: inline-block;

      text-decoration: none;

      margin-top: 24px;

      box-shadow: 0 0 14px #ceff1a80;

      transition: 0.3s ease;

      border: none;

    }

    .zap-button:hover {

      box-shadow: 0 0 24px #ceff1a;

      transform: scale(1.03);

    }

    .zap-urgency-text {

      font-size: 13px;

      color: #ccc;

      margin-top: 16px;

      line-height: 1.6;

    }

    .zap-urgency-text strong {

      color: #ceff1a;

    }

    .zap-benefits {

      display: flex;

      flex-direction: column;

      gap: 24px;

      margin: 40px 0;

    }

    .zap-benefit-item {

      background: linear-gradient(145deg, #111111 0%, #181818 100%);

      border-radius: 16px;

      padding: 20px;

      text-align: left;

      position: relative;

      border: 1px solid #222;

    }

    .zap-benefit-icon {

      font-size: 24px;

      margin-bottom: 12px;

      color: #ceff1a;

      animation: float 3s ease-in-out infinite;

    }

    

    @keyframes float {

      0% { transform: translateY(0px); }

      50% { transform: translateY(-10px); }

      100% { transform: translateY(0px); }

    }

    

    .zap-benefit-title {

      font-size: 15px;

      font-weight: 600;

      margin-bottom: 8px;

    }

    .zap-benefit-text {

      font-size: 13px;

      color: #aaa;

      margin: 0;

    }

    .testimonials {

      margin: 48px 0;

    }

    .testimonial-item {

      background: linear-gradient(145deg, #111111 0%, #161616 100%);

      border-radius: 16px;

      padding: 20px;

      text-align: left;

      position: relative;

      border: 1px solid #222;

      margin-bottom: 16px;

    }

    .testimonial-stars {

      color: #ceff1a;

      font-size: 14px;

      margin-bottom: 8px;

    }

    .testimonial-text {

      font-size: 14px;

      font-style: italic;

      color: #ccc;

      margin-bottom: 12px;

    }

    .testimonial-author {

      font-size: 13px;

      font-weight: 600;

    }

    .faq-section {

      margin: 48px 0;

      text-align: left;

    }

    .faq-item {

      margin-bottom: 20px;

    }

    .faq-question {

      font-size: 15px;

      font-weight: 600;

      margin-bottom: 8px;

      color: white;

    }

    .faq-answer {

      font-size: 13px;

      color: #aaa;

      line-height: 1.6;

    }

    .compare-section {

      display: flex;

      margin: 40px 0;

      gap: 20px;

    }

    .compare-col {

      flex: 1;

      padding: 16px;

      border-radius: 16px;

    }

    .compare-title {

      font-size: 15px;

      font-weight: 600;

      margin-bottom: 16px;

    }

    .compare-before {

      background: linear-gradient(145deg, rgba(255, 50, 50, 0.1) 0%, rgba(255, 50, 50, 0.05) 100%);

      border: 1px solid rgba(255, 50, 50, 0.2);

    }

    .compare-after {

      background: linear-gradient(145deg, rgba(206, 255, 26, 0.1) 0%, rgba(206, 255, 26, 0.05) 100%);

      border: 1px solid rgba(206, 255, 26, 0.2);

    }

    .compare-list {

      text-align: left;

      font-size: 13px;

      color: #aaa;

      padding-left: 20px;

    }

    .compare-list li {

      margin-bottom: 8px;

    }

    .pulse {

      animation: pulse 2s infinite;

    }

    @keyframes pulse {

      0% {

        transform: scale(1);

      }

      50% {

        transform: scale(1.05);

      }

      100% {

        transform: scale(1);

      }

    }

    

    /* Estilos para calculadora de economia */

    .savings-calculator {

      background: linear-gradient(145deg, #111111 0%, #1a1a1a 100%);

      border-radius: 20px;

      padding: 24px;

      margin: 40px 0;

      text-align: left;

      border: 1px solid #222;

    }

    

    .savings-calculator h3 {

      text-align: center;

      margin-bottom: 20px;

      font-size: 18px;

    }

    

    .calc-inputs {

      display: flex;

      flex-direction: column;

      gap: 20px;

      margin-bottom: 24px;

    }

    

    .calc-inputs label {

      display: block;

      font-size: 14px;

      margin-bottom: 8px;

      color: #ccc;

    }

    

    .calc-inputs input[type="range"] {

      width: 100%;

      margin: 10px 0;

      -webkit-appearance: none;

      height: 6px;

      background: #333;

      border-radius: 5px;

      outline: none;

    }

    

    .calc-inputs input[type="range"]::-webkit-slider-thumb {

      -webkit-appearance: none;

      appearance: none;

      width: 20px;

      height: 20px;

      border-radius: 50%;

      background: #ceff1a;

      cursor: pointer;

    }

    

    .calc-inputs select {

      width: 100%;

      padding: 10px;

      border-radius: 8px;

      background: #222;

      border: 1px solid #333;

      color: white;

      font-family: 'Sora', sans-serif;

    }

    

    .calc-result {

      text-align: center;

      padding: 16px;

      background: rgba(206, 255, 26, 0.1);

      border-radius: 12px;

      border: 1px solid rgba(206, 255, 26, 0.2);

    }

    

    .economy-number {

      font-size: 28px;

      font-weight: 700;

      color: #ceff1a;

      margin: 8px 0;

      animation: pulse 2s infinite;

    }

    

    .economy-monthly {

      font-size: 14px;

      color: #aaa;

    }

    

    /* Estilos para cronômetro visual */

    .countdown-container {

      margin: 30px 0;

    }

    

    .countdown-title {

      font-size: 14px;

      color: #ccc;

      margin-bottom: 12px;

    }

    

    .countdown-timer {

      display: flex;

      justify-content: center;

      align-items: center;

      gap: 8px;

    }

    

    .countdown-box {

      background: linear-gradient(145deg, #111 0%, #1a1a1a 100%);

      border-radius: 12px;

      padding: 12px 16px;

      width: 60px;

      text-align: center;

      box-shadow: 0 4px 10px rgba(0,0,0,0.3);

      border: 1px solid #222;

    }

    

    .countdown-number {

      font-size: 24px;

      font-weight: 700;

      color: #ceff1a;

    }

    

    .countdown-label {

      font-size: 12px;

      color: #888;

      margin-top: 4px;

    }

    

    .countdown-divider {

      font-size: 24px;

      font-weight: 700;

      color: #444;

    }

    

    /* Estilos para badges de confiança */

    .trust-badges {

      display: flex;

      flex-wrap: wrap;

      justify-content: center;

      gap: 16px;

      margin: 40px 0;

    }

    

    .badge-item {

      background: linear-gradient(145deg, #111 0%, #181818 100%);

      border-radius: 12px;

      padding: 12px;

      width: calc(50% - 8px);

      box-sizing: border-box;

      display: flex;

      flex-direction: column;

      align-items: center;

      justify-content: center;

      border: 1px solid #222;

    }

    

    .badge-icon {

      font-size: 24px;

      margin-bottom: 8px;

      animation: float 4s ease-in-out infinite;

    }

    

    .badge-text {

      font-size: 12px;

      color: #aaa;

      text-align: center;

    }

  </style>

</head>

<body>

  <section class="zap-final-section">

    <h2>PARE DE PERDER DINHEIRO SEM PERCEBER</h2>

    <p class="subtitle">A IA no WhatsApp que já ajudou mais de 3.000 pessoas a economizar até R$700 por mês</p>

    <p>Chega de ver o dinheiro evaporar sem saber para onde foi. O Zap Financeiro analisa seus gastos, prevê despesas futuras e te ajuda a economizar sem esforço — tudo através do WhatsApp que você já usa.</p>


    <div class="zap-chart">

      <svg viewBox="0 0 300 160" xmlns="http://www.w3.org/2000/svg">

        <line x1="30" y1="130" x2="270" y2="130" stroke="#222" stroke-width="1" />

        <line x1="30" y1="100" x2="270" y2="100" stroke="#222" stroke-width="1" />

        <line x1="30" y1="70" x2="270" y2="70" stroke="#222" stroke-width="1" />

        <path d="M30 130 C 60 125, 100 115, 130 100 S 200 60, 270 45" fill="none" stroke="#ceff1a" stroke-width="2.5" stroke-linecap="round" class="chart-path" />

        <circle cx="30" cy="130" r="3.5" fill="#ceff1a" />

        <circle cx="270" cy="45" r="3.5" fill="#ceff1a" />

        <text x="22" y="115" font-size="10" fill="white">Você hoje</text>

        <text x="22" y="148" font-size="11" fill="white" font-weight="600">R$ 50</text>

        <text x="260" y="35" font-size="10" fill="white" text-anchor="end">Daqui 6 meses</text>

        <text x="260" y="23" font-size="11" fill="white" font-weight="600" text-anchor="end">R$ 749</text>

        <text x="30" y="152" font-size="9" fill="#666">Jan</text>

        <text x="70" y="152" font-size="9" fill="#666">Fev</text>

        <text x="110" y="152" font-size="9" fill="#666">Mar</text>

        <text x="150" y="152" font-size="9" fill="#666">Abr</text>

        <text x="190" y="152" font-size="9" fill="#666">Mai</text>

        <text x="230" y="152" font-size="9" fill="#666">Jun</text>

      </svg>

    </div>


    <!-- Calculadora de economia -->

    <div class="savings-calculator reveal">

      <h3>Calcule sua economia com o Zap:</h3>

      <div class="calc-inputs">

        <label>Sua renda mensal:

          <input type="range" id="income-slider" min="1000" max="10000" step="500" value="3000">

          <span id="income-value">R$ 3.000</span>

        </label>

        <label>Nível de desorganização financeira:

          <select id="disorg-level">

            <option value="10">Básico - Esqueço algumas contas</option>

            <option value="15" selected>Médio - Não sei para onde vai o dinheiro</option>

            <option value="25">Alto - Sempre no vermelho</option>

          </select>

        </label>

      </div>

      <div class="calc-result">

        <p>Com o Zap você pode economizar aproximadamente:</p>

        <div class="economy-number" id="economy-result">R$ 450</div>

        <p class="economy-monthly">por mês</p>

      </div>

    </div>


    <!-- Benefícios detalhados -->

    <div class="zap-benefits reveal">

      <div class="zap-benefit-item">

        <div class="zap-benefit-icon">🧠</div>

        <div class="zap-benefit-title">Análise Inteligente de Gastos</div>

        <p class="zap-benefit-text">A IA identifica padrões e vazamentos de dinheiro que você nem percebe, mostrando exatamente onde cortar sem afetar sua qualidade de vida.</p>

      </div>

      

      <div class="zap-benefit-item">

        <div class="zap-benefit-icon">🔔</div>

        <div class="zap-benefit-title">Alertas de Boletos e Contas</div>

        <p class="zap-benefit-text">Nunca mais pague juros ou multas por esquecimento. O Zap te avisa antes dos vencimentos e prioriza os pagamentos mais importantes.</p>

      </div>

      

      <div class="zap-benefit-item">

        <div class="zap-benefit-icon">💰</div>

        <div class="zap-benefit-title">Economia Automática</div>

        <p class="zap-benefit-text">Defina objetivos financeiros e o Zap calcula quanto guardar a cada dia, criando o hábito de economizar sem você nem perceber.</p>

      </div>

    </div>


    <!-- Comparação Antes e Depois -->

    <div class="compare-section reveal">

      <div class="compare-col compare-before">

        <div class="compare-title">SEM O ZAP</div>

        <ul class="compare-list">

          <li>Fim do mês sempre no vermelho</li>

          <li>Surpresas com contas esquecidas</li>

          <li>Nunca sobra para investir</li>

          <li>Estresse constante com dinheiro</li>

          <li>Planilhas complicadas que você nunca usa</li>

        </ul>

      </div>

      <div class="compare-col compare-after">

        <div class="compare-title">COM O ZAP</div>

        <ul class="compare-list">

          <li>Dinheiro sobrando todo mês</li>

          <li>Todas as contas pagas em dia</li>

          <li>Economia automática</li>

          <li>Tranquilidade financeira</li>

          <li>Organização simples pelo WhatsApp</li>

        </ul>

      </div>

    </div>


    <!-- Badges de confiança -->

    <div class="trust-badges reveal">

      <div class="badge-item">

        <div class="badge-icon">🔒</div>

        <div class="badge-text">SSL Secure</div>

      </div>

      <div class="badge-item">

        <div class="badge-icon">⭐</div>

        <div class="badge-text">4.8/5 Rating</div>

      </div>

      <div class="badge-item">

        <div class="badge-icon">👤</div>

        <div class="badge-text">3000+ Usuários</div>

      </div>

      <div class="badge-item">

        <div class="badge-icon">🛡️</div>

        <div class="badge-text">Dados Protegidos</div>

      </div>

    </div>


    <!-- Depoimentos -->

    <div class="testimonials reveal">

      <div class="testimonial-item">

        <div class="testimonial-stars">★★★★★</div>

        <p class="testimonial-text">"Em apenas 2 meses usando o Zap, consegui economizar R$463 que nem sabia que estava gastando. É impressionante como pequenos gastos se acumulam!"</p>

        <p class="testimonial-author">- Mariana S., economizou R$463/mês</p>

      </div>

      

      <div class="testimonial-item">

        <div class="testimonial-stars">★★★★★</div>

        <p class="testimonial-text">"Eu sempre odiava planilhas e nunca conseguia manter o controle. Com o Zap é tudo automático no WhatsApp que já uso todo dia. Finalmente consegui juntar dinheiro!"</p>

        <p class="testimonial-author">- Carlos M., economizou R$712/mês</p>

      </div>

    </div>


    <div class="zap-feature-list reveal">

      <h3>O Zap é pra você se:</h3>

      <ul>

        <li>Chega no fim do mês sem saber pra onde foi a grana</li>

        <li>Esquece boletos importantes e paga multas desnecessárias</li>

        <li>Quer guardar dinheiro mas nunca consegue</li>

        <li>Odeia planilhas e quer praticidade no dia a dia</li>

        <li>Quer ter paz mental com suas finanças</li>

      </ul>

    </div>


    <!-- FAQ -->

    <div class="faq-section reveal">

      <h3>Perguntas Frequentes</h3>

      

      <div class="faq-item">

        <p class="faq-question">Como funciona a conexão com o WhatsApp?</p>

        <p class="faq-answer">É super simples! Após a compra, você recebe um link para adicionar o número do Zap aos seus contatos. A partir daí, é só conversar normalmente.</p>

      </div>

      

      <div class="faq-item">

        <p class="faq-question">O Zap é seguro? E meus dados bancários?</p>

        <p class="faq-answer">Totalmente seguro! Usamos criptografia de ponta a ponta e nunca pedimos senhas bancárias. O Zap apenas analisa informações que você compartilha voluntariamente.</p>

      </div>

      

      <div class="faq-item">

        <p class="faq-question">Preciso ter conhecimento financeiro?</p>

        <p class="faq-answer">Não! O Zap foi criado justamente para quem não entende de finanças. A IA te guia de forma simples e prática, sem jargões complicados.</p>

      </div>

      

      <div class="faq-item">

        <p class="faq-question">Como funciona a garantia de 7 dias?</p>

        <p class="faq-answer">Se em até 7 dias você não estiver satisfeito, basta enviar uma mensagem solicitando o reembolso. Devolvemos 100% do valor sem questionamentos.</p>

      </div>

    </div>


    <div class="zap-guarantee reveal">

      <p>💰 Garantia de 7 dias sem compromisso</p>

      <p>🔒 Pagamento 100% seguro via Kiwify</p>

      <p>👤 Suporte humano 24/7 se precisar</p>

    </div>


    <div class="zap-price-card reveal">

      <span class="zap-promo-tag">50% OFF até hoje</span>

      <p class="zap-plan">Plano Anual</p>

      <span class="zap-price-highlight">12x de R$ 5,70</span>

      <span class="zap-price-sub">ou R$ 57 à vista</span>

      <span class="zap-price-note">(menos que um café por semana)</span>

      <a href="#comprar" class="zap-button pulse">QUERO ECONOMIZAR AGORA →</a>

    </div>

    

    <!-- Cronômetro visual -->

    <div class="countdown-container reveal">

      <div class="countdown-title">Oferta especial termina em:</div>

      <div class="countdown-timer">

        <div class="countdown-box">

          <div class="countdown-number" id="minutes">20</div>

          <div class="countdown-label">min</div>

        </div>

        <div class="countdown-divider">:</div>

        <div class="countdown-box">

          <div class="countdown-number" id="seconds">00</div>

          <div class="countdown-label">seg</div>

        </div>

      </div>

    </div>

  </section>


  <script>

    // Revelar elementos quando entram na viewport

    const zapElements = document.querySelectorAll('.reveal');

    if ('IntersectionObserver' in window) {

      const zapObserver = new IntersectionObserver((entries) => {

        entries.forEach((entry) => {

          if (entry.isIntersecting) {

            entry.target.classList.add('visible');

            zapObserver.unobserve(entry.target);

          }

        });

      }, { threshold: 0.1 });

      zapElements.forEach((el) => zapObserver.observe(el));

    } else {

      zapElements.forEach((el) => el.classList.add('visible'));

    }


    // Cronômetro regressivo melhorado

    const minutesEl = document.getElementById('minutes');

    const secondsEl = document.getElementById('seconds');

    let totalSeconds = 20 * 60;

    

    function updateTimer() {

      const minutes = Math.floor(totalSeconds / 60);

      const seconds = totalSeconds % 60;

      

      minutesEl.textContent = String(minutes).padStart(2, '0');

      secondsEl.textContent = String(seconds).padStart(2, '0');

      

      if (totalSeconds > 0) {

        totalSeconds--;

        setTimeout(updateTimer, 1000);

      } else {

        // Quando o tempo acabar

        document.querySelector('.countdown-container').innerHTML = '<p class="countdown-title" style="color: #ff3232;">Oferta encerrada!</p>';

      }

    }

    

    updateTimer();

    

    // Calculadora de economia

    const incomeSlider = document.getElementById('income-slider');

    const incomeValue = document.getElementById('income-value');

    const disorgLevel = document.getElementById('disorg-level');

    const economyResult = document.getElementById('economy-result');

    

    function updateCalculator() {

      const income = parseInt(incomeSlider.value);

      const disorg = parseInt(disorgLevel.value);

      

      // Cálculo da economia potencial (percentual do salário baseado no nível de desorganização)

      const economyAmount = Math.round((income * disorg / 100));

      

      // Atualiza os valores na tela

      incomeValue.textContent = `R$ ${income.toLocaleString('pt-BR')}`;

      economyResult.textContent = `R$ ${economyAmount.toLocaleString('pt-BR')}`;

    }

    

    // Eventos para atualizar a calculadora

    incomeSlider.addEventListener('input', updateCalculator);

    disorgLevel.addEventListener('change', updateCalculator);

    

    // Inicializa a calculadora

    updateCalculator();

  </script>

</body>

</html>