<!doctype html>

<html lang="pt-BR">

<head>

  <meta charset="utf-8">

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

  <meta name="robots" content="noindex">

  <title>Redirecionando…</title>

</head>

<body style="font-family:system-ui,sans-serif;display:flex;min-height:100vh;align-items:center;justify-content:center;background:#0b0b0c;color:#fff;margin:0">

  <p id="msg">Redirecionando você…</p>

  <script>

    (function () {

      var DESTINOS = {

        site_concorrencia: 'https://concorrencia.performister.com.br/',

        teste_pagamento: 'https://concorrencia.performister.com.br/'

        // checkup: 'https://checkup.performister.com.br/',

        // playbook: 'https://playbook.performister.com.br/',

      };

      var q = new URLSearchParams(window.location.search);

      var destino = DESTINOS[q.get('servico')];

      if (!destino) { document.getElementById('msg').textContent = 'Pedido não encontrado. Fale com a Performister.'; return; }

      var url = new URL(destino);

      ['lead_id', 'retorno'].forEach(function (k) { if (q.get(k)) url.searchParams.set(k, q.get(k)); });

      window.location.replace(url.toString());

    })();

  </script>

</body>

</html>