/* Obrigado | Protocolo Fases das Intercorrências (página de obrigado da compra).
   Medidas, cores e espaçamentos copiados da página antiga como estava no ar
   (computador em 1440 px, celular em 390 px; a página antiga trocava de layout em 800 px). */

:root {
  --fundo-claro: #f6f6f6;
  --grafite: #242424;
  --vermelho: #e85758;
  --cinza: #706f6e;
  --cinza-passo: #606060;
  --linha: #a3bac6;
  --rodape-fundo: #050505;
  --rodape-texto: #a8a8a8;
  --creme: #fffcf3;
  --verde: #25d366;
  --verde-claro: #2df076;
  --verde-escuro: #0f602d;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--rodape-fundo);
  color: var(--grafite);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
p, h1, ol { margin: 0; }
b { font-weight: 700; }

.escuro { color: var(--grafite); }
.branco { color: #fff; }
.creme { color: var(--creme); }

/* ---------- 1. Topo: marca, nome do protocolo, "OBRIGADO!" e os dois passos ---------- */
.topo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40.3px 16px 79.9px;
  background: var(--fundo-claro);
  text-align: center;
}

.marca-logo { display: block; width: 183px; }
.marca-logo img { width: 100%; height: 44.6px; }

/* linha fina acima e abaixo do nome do protocolo */
.topo-linha {
  width: 240px;
  max-width: 100%;
  height: 0;
  margin: 27.9px 0 0;
  border: 0;
  border-top: 1px solid var(--linha);
}

.topo-linha-2 { margin-top: 14px; }

.produto-chamada {
  max-width: 474px;
  margin-top: 21.1px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 3px;
}

.produto-nome {
  max-width: 474px;
  margin-top: 1.6px;
  font-size: 44px;
  line-height: 52.8px;
  font-weight: 500;
  color: var(--vermelho);
}

.titulo {
  max-width: 520px;
  margin-top: 24.9px;
  font-size: 36px;
  line-height: 50.4px;
  font-weight: 500;
}

.mensagem {
  max-width: 494.5px;
  margin-top: 10px;
  font-size: 18px;
  line-height: 25.2px;
  color: var(--cinza);
}

/* caixas brancas dos passos 1 e 2 */
.passos {
  width: 805px;
  max-width: 100%;
  margin-top: 60.2px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.passo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 147px;
  padding: 0 16px 16px 33.5px;
}

.passo + .passo { margin-top: 9.9px; }

.passo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 20px;
  background: #fff;
}

/* quadrado vermelho com o número do passo */
.passo-numero {
  position: relative;
  flex: none;
  display: flex;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin-top: 28.5px;
  padding-top: 7.6px;
  font-size: 56px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--vermelho);
}

.passo-numero::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--vermelho);
  border-radius: 10px;
}

.passo-numero > span { display: block; }

.passo-texto {
  flex: 0 1 606px;
  margin: 35.1px 0 0 29px;
  font-size: 16px;
  line-height: 1.2;
  color: var(--cinza-passo);
}

.passo-texto b { color: var(--grafite); }

.passo-app .passo-texto { flex-basis: 334px; margin-top: 36.9px; }

/* botões das lojas (as imagens são brancas; a página antiga escurecia com o filtro invert 0,7) */
.lojas {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 14.9px;
  margin: 17.4px 0 0 36.9px;
}

.loja { display: block; width: 223px; }
.loja img { width: 100%; height: 48.9px; filter: invert(.7); }
a.loja:not([href]) { cursor: pointer; }

/* ---------- 2. Caixa branca com o botão do suporte ---------- */
.suporte {
  position: relative;
  padding: 71.8px 16px 99.1px;
  background: var(--grafite);
}

/* a caixa termina no meio do botão (margem negativa), como no original */
.suporte-caixa {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 805px;
  margin: 0 auto;
  padding: 39px 16px 0;
  text-align: center;
}

.suporte-caixa::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 20px;
  background: #fff;
}

.suporte-texto {
  width: 100%;
  max-width: 575px;
  font-size: 16px;
  line-height: 19.2px;
  color: var(--cinza);
}

.botao-suporte {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 270px;
  max-width: 100%;
  height: 54px;
  margin: 34.3px 0 -27px;
  padding: 0 8px;
  border-radius: 100px;
  background: var(--verde);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .25s ease-out, color .25s ease-out;
}

.botao-suporte:hover,
.botao-suporte:active,
.botao-suporte:focus-visible { background: var(--verde-claro); color: var(--verde-escuro); }
.botao-suporte:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- 3. Rodapé ---------- */
.rodape {
  position: relative;
  padding: 77.4px 16px 77.2px;
  background: var(--rodape-fundo);
  color: var(--rodape-texto);
  text-align: center;
}

.rodape-criado { width: 619px; max-width: 100%; margin: 0 auto; font-size: 12px; line-height: 16.8px; letter-spacing: 5px; }
.rodape-logo { width: 244.5px; height: 33px; margin: 5px auto 0; }
.rodape-dados,
.rodape-legal,
.rodape-equipe { width: 882px; max-width: 100%; margin: 25px auto 0; font-size: 14px; line-height: 19.6px; }
.rodape-aviso { width: 400px; max-width: 100%; margin: 30px auto 0; font-size: 16px; line-height: 19.2px; }
.rodape-legal { margin-top: 13.1px; }
.rodape-equipe { margin-top: 39px; }

.rodape hr {
  width: 882px;
  max-width: 100%;
  height: 0;
  margin: 19.6px auto 0;
  border: 0;
  border-top: 1px solid var(--linha);
  opacity: .3;
  --animacao-opacidade: .3;
}

.rodape-termos { width: 619px; max-width: 100%; margin: 19.5px auto 0; font-size: 12px; line-height: 16.8px; }
.rodape-termos a { color: inherit; text-decoration: none; }

/* ---------- Celular ---------- */
@media (max-width: 800px) {
  .topo { padding: 20.8px 20px 56.2px; }

  .marca-logo { width: 158px; }
  .marca-logo img { height: 38.5px; }

  .topo-linha { margin-top: 44.6px; }
  .topo-linha-2 { margin-top: 14.4px; }

  .produto-chamada { max-width: 320px; margin-top: 22px; font-size: 16px; line-height: 19.2px; }
  .produto-nome { max-width: 320px; margin-top: 0; font-size: 38px; line-height: 45.6px; }

  .titulo { max-width: 236px; margin-top: 49.9px; }

  .mensagem { max-width: 320px; margin-top: 20px; }

  .passos { width: 320px; margin-top: 28.5px; }

  .passo { flex-wrap: wrap; align-content: flex-start; min-height: 170px; padding: 0 12px 16px 18px; }
  .passo + .passo { margin-top: 20px; }

  .passo-numero { width: 65.5px; height: 65.5px; margin-top: 28.1px; padding-top: 4.4px; font-size: 40.7px; }
  .passo-email .passo-numero > span { margin-left: 5px; } /* o "1º" ficava um pouco à direita do meio do quadrado */

  .passo-texto { flex: 0 1 208px; margin: 27.6px 0 0 10px; }

  .passo-app { min-height: 373px; }
  .passo-app .passo-numero { width: 64.5px; height: 64.5px; margin-top: 29.3px; padding-top: 4.1px; font-size: 40.1px; }
  .passo-app .passo-texto { flex-basis: 214px; margin: 39.2px 0 0 11px; }

  .lojas { flex-basis: 100%; gap: 30px; margin: 30.9px 0 0; }
  .loja { width: 283.5px; max-width: 100%; }
  .loja img { height: 62.2px; }

  .suporte { padding: 64.5px 16px 92.5px; }
  .suporte-caixa { max-width: 320px; padding: 40px 16px 0; }
  .suporte-texto { max-width: 259px; }
  .botao-suporte { margin-top: 22.7px; }

  .rodape { padding: 65.4px 16px 66px; }
  .rodape-criado { width: 150px; }
  .rodape-logo { margin-top: 10px; }
  .rodape-dados { width: 320px; margin-top: 30px; }
  .rodape-aviso { width: 165px; margin-top: 10.7px; }
  .rodape-legal { width: 320px; margin-top: 25.3px; }
  .rodape-equipe { width: 320px; margin-top: 39.8px; }
  .rodape hr { width: 320px; margin-top: 35px; }
  .rodape-termos { width: 320px; margin-top: 35.2px; }
}
