/* Obrigado da compra dos Workshops da Facial Academy
   (lp.facialacademy.com.br/obrigado-workshops-facial).
   Mesmo desenho da página antiga: medidas, cores, degradês e espaçamentos copiados dela
   (computador: conteúdo de 960px; celular: troca de layout em 800px, conteúdo de 360px). */

:root {
  --topo-inicio: #ad5bff;
  --topo-fim: #5d04b6;
  --suporte-inicio: #ffeffa;
  --suporte-fim: #ffddf5;
  --texto-claro: #f3f3f3;
  --texto-suporte: #543e69;
  --verde: rgb(0, 201, 36);
  --verde-claro: #00f92d;
  --verde-escuro: #008818;
  --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: var(--rodape);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
}

h1,
h2,
p {
  margin: 0;
}

b {
  font-weight: 700;
}

/* texto com degradê (como os títulos da página antiga) */
.texto-degrade-claro,
.texto-degrade-escuro {
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.texto-degrade-claro {
  background-image: linear-gradient(45deg, #fb87ff, #ffffff);
}

.texto-degrade-escuro {
  background-image: linear-gradient(45deg, #5d04b6, #c286ff);
}

/* ---------- 1. Topo: marca, OBRIGADO! e aviso ---------- */

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

.topo__conteudo {
  position: relative;
  width: min(960px, 100% - 32px);
  min-height: 583px;
  margin: 0 auto;
  padding: 29.72px 0 40px;
}

/* as duas imagens ficam atrás do texto: os círculos embaixo, a foto dos professores por cima deles */
.topo__circulos,
.topo__foto {
  position: absolute;
  display: block;
  pointer-events: none;
}

.topo__circulos {
  z-index: 0;
  left: 552px;
  top: .27px;
  width: 559.996px;
  height: 583px;
  opacity: .7;
  --animacao-opacidade: .7;
}

.topo__foto {
  z-index: 1;
  left: -24.06px;
  top: .22px;
  width: 1126px;
  height: 583px;
}

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

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

.topo__logo {
  display: block;
  width: 244px;
  height: 60px;
  margin-left: 21.08px;
}

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

.topo__titulo {
  width: 524px;
  max-width: 100%;
  margin: 44.98px 0 0 30px;
  font-size: 36px;
  line-height: 43.2px;
  font-weight: 500;
  color: #fff;
}

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

/* caixa de vidro: fundo desfocado, borda em degradê e brilho que se mexe devagar (efeitos da página antiga) */
.aviso {
  position: relative;
  width: 524px;
  max-width: 100%;
  min-height: 164px;
  margin: 47.64px 0 0 -.1px;
  padding: 44.15px 16px 40px 33.1px;
}

.aviso__vidro {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 25px;
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.aviso__vidro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .1) 45%, rgba(0, 0, 0, .25) 100%);
  background-size: 200% 200%;
  animation: reflexo-borda 12s ease-in-out infinite alternate;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2)) drop-shadow(0 0 10px rgba(255, 255, 255, .1));
  pointer-events: none;
}

.aviso__vidro::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05) 45%, transparent 80%);
  mix-blend-mode: screen;
  opacity: .9;
  animation: brilho-vidro 18s ease-in-out infinite alternate;
  pointer-events: none;
}

/* película clara de 10% por cima do vidro (no original é a própria caixa, com opacidade 0,1) */
.aviso::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 25px;
  background: rgb(240, 243, 245);
  opacity: .1;
  pointer-events: none;
}

.aviso__texto {
  position: relative;
  z-index: 2;
  max-width: 458px;
  font-size: 18px;
  line-height: 25.2px;
  color: var(--texto-claro);
}

@keyframes reflexo-borda {
  0% { background-position: 0% 50%; opacity: 1; }
  50% { background-position: 100% 50%; opacity: .9; }
  100% { background-position: 0% 50%; opacity: 1; }
}

@keyframes brilho-vidro {
  0% { background-position: 20% 20%; opacity: .9; }
  50% { background-position: 80% 60%; opacity: .6; }
  100% { background-position: 20% 20%; opacity: .9; }
}

/* ---------- 2. Suporte ---------- */

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

.suporte__conteudo {
  position: relative;
  width: min(960px, 100% - 32px);
  margin: 0 auto;
  padding: 78.23px 0 81.97px;
  text-align: center;
}

.suporte__circulos {
  position: absolute;
  z-index: 0;
  left: 75.02px;
  top: -.5px;
  display: block;
  width: 810px;
  height: 393px;
  opacity: .7;
  --animacao-opacidade: .7;
  pointer-events: none;
}

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

.suporte__titulo,
.suporte__texto,
.suporte__botao {
  position: relative;
  z-index: 1;
}

.suporte__titulo {
  max-width: 543px;
  margin: 0 auto;
  font-size: 28px;
  line-height: 33.6px;
  font-weight: 500;
  color: #6615c8;
}

.suporte__texto {
  max-width: 516px;
  margin: 43.59px auto 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--texto-suporte);
}

.suporte__botao {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 371px;
  max-width: 100%;
  height: 56px;
  margin: 43.58px auto 0;
  padding: 0 8px;
  border-radius: 100px;
  background: var(--verde);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .25s ease-out, color .25s ease-out;
}

.suporte__botao:hover,
.suporte__botao:active,
.suporte__botao:focus-visible {
  background: var(--verde-claro);
  color: var(--verde-escuro);
}

.suporte__botao:focus-visible {
  outline: 2px solid var(--topo-fim);
  outline-offset: 3px;
}

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

.rodape {
  position: relative;
  padding: 77.38px 16px 77.23px;
  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.92px auto 0;
  font-size: 16px;
  line-height: 1.4;
}

.rodape__legal {
  margin-top: 9.94px;
}

.rodape__equipe {
  margin-top: 38.95px;
}

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

.rodape__termos {
  max-width: 619px;
  margin: 19.17px 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;
}

/* ---------- Botão flutuante do WhatsApp ---------- */

.botao-flutuante {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 900000;
  display: none;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  background: #00c800;
  cursor: pointer;
  transition: background-color 1s;
  animation: pulso-whatsapp 3s infinite;
}

.botao-flutuante.visivel {
  display: block;
}

.botao-flutuante:hover {
  background: #009600;
}

.botao-flutuante svg {
  display: block;
  width: 48px;
  height: 48px;
  fill: #fff;
  transform: scale(.6) translate(20%, 20%);
}

@keyframes pulso-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 0, 1); }
  70% { box-shadow: 0 0 0 20px rgba(0, 200, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .aviso__vidro::before,
  .aviso__vidro::after,
  .botao-flutuante {
    animation: none;
    transition: none;
  }
}

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

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

  .topo__conteudo {
    width: min(360px, 100% - 16px);
    min-height: 824.28px;
    padding: 20.42px 0 0;
    text-align: center;
  }

  .topo__circulos {
    left: -10.75px;
    top: 325.58px;
    width: 407px;
    height: 488px;
  }

  .topo__foto {
    left: -30.5px;
    top: 314.29px;
    width: 420px;
    height: 511px;
  }

  /* fica 10px à esquerda do centro, como no original */
  .topo__logo {
    width: 187px;
    height: 46px;
    margin: 0 0 0 calc(50% - 103.5px);
  }

  .topo__titulo {
    width: auto;
    margin: 32.99px 0 0;
    font-size: 28px;
    line-height: 33.6px;
  }

  .topo__mensagem {
    max-width: none;
    margin: 25.18px 0 0;
  }

  .aviso {
    width: auto;
    min-height: 206px;
    margin: 24.79px 0 0 -1.5px;
    padding: 35.46px 8px 35px;
  }

  .aviso__texto {
    max-width: 307px;
    margin: 0 auto;
  }

  .suporte {
    min-height: 390.14px;
  }

  .suporte__conteudo {
    width: min(360px, 100% - 16px);
    padding: 66.54px 0 65.74px;
  }

  .suporte__circulos {
    left: -22.5px;
    top: 0;
    width: 405px;
    height: 390px;
  }

  .suporte__titulo {
    max-width: none;
    font-size: 24px;
    line-height: 1.2;
  }

  .suporte__texto {
    max-width: 256px;
    margin-top: 35.34px;
  }

  .suporte__botao {
    width: 100%;
    margin-top: 35.32px;
  }

  .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: 11.06px;
  }

  .rodape__legal {
    margin-top: 22.09px;
  }

  .rodape__equipe {
    margin-top: 39.65px;
  }

  .rodape__linha {
    margin-top: 34.5px;
  }

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