/* Obrigado da lista de espera dos Cursos Presenciais da Facial Academy
   (lp.facialacademy.com.br/ty-lista-de-espera-cursos-presenciais).
   Medidas, cores, degradês e espaçamentos copiados da página antiga (computador: conteúdo de 960px;
   celular: troca de layout em 800px, conteúdo de 360px). Rodapé igual ao das outras páginas de obrigado da Facial. */

:root {
  --topo-inicio: #ad5bff;
  --topo-fim: #5d04b6;
  --topo-cor: rgb(102, 21, 200);
  --texto-claro: #f3f3f3;
  --rodape: rgb(5, 5, 5);
  --rodape-texto: rgb(168, 168, 168);
  --rodape-linha: rgb(163, 186, 198);
  --creme: rgb(255, 252, 243);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
}

h1,
p {
  margin: 0;
}

b {
  font-weight: 700;
}

/* título com degradê (como na página antiga) */
.texto-degrade {
  display: inline-block;
  background-image: linear-gradient(45deg, #c87aff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 1. Topo: marca e agradecimento ---------- */

.topo {
  position: relative;
  overflow: hidden;
  min-height: 500.25px;
  background-color: var(--topo-cor);
  background-image: radial-gradient(circle at bottom right, var(--topo-inicio) 0%, var(--topo-fim) 100%);
}

.topo__conteudo {
  position: relative;
  width: min(960px, 100% - 32px);
  min-height: 500.25px;
  margin: 0 auto;
  padding-top: 39.72px;
  text-align: center;
}

/* círculos decorativos atrás do texto */
.topo__circulos {
  position: absolute;
  z-index: 0;
  left: 459.99px;
  top: .25px;
  display: block;
  width: 500px;
  height: 500px;
  opacity: .7;
  pointer-events: none;
}

.topo__circulos img {
  width: 100%;
  height: 100%;
}

.topo__texto {
  position: relative;
  z-index: 1;
}

.topo__logo {
  display: block;
  width: 244px;
  height: 60px;
  margin: 0 auto;
}

.topo__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
}

.topo__titulo {
  max-width: 402px;
  margin: 38.38px auto 0;
  font-size: 36px;
  line-height: 43.2px;
  font-weight: 500;
  color: #fff;
}

.topo__mensagem {
  max-width: 451px;
  margin: 30.02px auto 0;
  font-size: 18px;
  line-height: 25.2px;
  color: var(--texto-claro);
}

/* ---------- 3. Rodapé ---------- */

.rodape {
  position: relative;
  padding: 77.38px 16px 77.24px;
  background: var(--rodape);
  color: var(--rodape-texto);
  text-align: center;
  font-size: 14px;
  line-height: 19.6px;
}

.rodape__criado {
  max-width: 619px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 16.8px;
  letter-spacing: 5px;
}

.rodape__logo {
  width: 244.5px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 244.5 / 33;
  margin: 5.04px auto 0;
}

.rodape__dados,
.rodape__legal,
.rodape__equipe {
  max-width: 882px;
  margin-left: auto;
  margin-right: auto;
}

.rodape__dados {
  margin-top: 25.03px;
}

.branco {
  color: #fff;
}

.creme {
  color: var(--creme);
}

.rodape__aviso {
  max-width: 400px;
  margin: 29.97px auto 0;
  font-size: 16px;
  line-height: 1.4;
}

.rodape__legal {
  margin-top: 9.95px;
}

.rodape__equipe {
  margin-top: 38.97px;
}

.rodape__linha {
  max-width: 882px;
  height: 0;
  margin: 19.63px auto 0;
  border: 0;
  border-top: 1px solid var(--rodape-linha);
  opacity: .3;
}

.rodape__termos {
  max-width: 619px;
  margin: 19.5px auto 0;
  font-size: 12px;
  line-height: 16.8px;
}

.rodape__termos a {
  color: inherit;
  text-decoration: none;
}

.rodape__termos a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------- Celular (a página antiga trocava de layout em 800px) ---------- */

@media (max-width: 800px) {
  .topo,
  .topo__conteudo {
    min-height: 529.69px;
  }

  .topo__conteudo {
    width: min(360px, 100%);
  }

  .topo__circulos {
    left: -29.97px;
    top: 99.69px;
    width: 420px;
    height: 363px;
  }

  .topo__titulo {
    max-width: 319px;
    margin-top: 30px;
    font-size: 32px;
    line-height: 38.4px;
  }

  .topo__mensagem {
    max-width: 319px;
    margin-top: 39.96px;
    line-height: 21.6px;
  }

  .rodape {
    padding: 65.39px 35px 66.07px;
  }

  .rodape__criado {
    max-width: 150px;
  }

  .rodape__logo {
    margin-top: 9.99px;
  }

  .rodape__dados,
  .rodape__legal,
  .rodape__equipe,
  .rodape__linha,
  .rodape__termos {
    max-width: 320px;
  }

  .rodape__dados {
    margin-top: 30px;
  }

  .rodape__aviso {
    max-width: 165px;
    margin-top: 10.75px;
  }

  .rodape__legal {
    margin-top: 22.1px;
  }

  .rodape__equipe {
    margin-top: 39.72px;
  }

  .rodape__linha {
    margin-top: 35px;
  }

  .rodape__termos {
    margin-top: 35.21px;
  }
}
