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

:root {
  --topo-inicio: #ad5bff;
  --topo-fim: #5d04b6;
  --texto-claro: #f3f3f3;
  --verde: #00c924;
  --verde-claro: #14ff3f;
  --texto-botao: #1f1f1f;
  --rodape: #050505;
  --rodape-texto: #a8a8a8;
  --rodape-linha: #a3bac6;
  --creme: #fffcf3;
}

*,
*::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,
p {
  margin: 0;
}

b {
  font-weight: 700;
}

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

/* ---------- 1. Topo: marca, AÇÃO NECESSÁRIA e botão ---------- */

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

.topo__conteudo {
  position: relative;
  width: min(980px, 100% - 32px);
  min-height: 520.67px;
  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: 471px;
  height: 490px;
  opacity: .7;
  --animacao-opacidade: .7;
}

.topo__foto {
  z-index: 1;
  left: 118.09px;
  top: 13.68px;
  width: 977px;
  height: 507px;
}

.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: 1.2;
  font-weight: 500;
  color: #fff;
}

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

/* botão verde com o ícone do WhatsApp por cima, à esquerda (como no original) */
.topo__botao {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 316px;
  max-width: 100%;
  height: 59px;
  margin: 24.14px 0 0 30px;
  border-radius: 100px;
  background: var(--verde);
  color: var(--texto-botao);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .25s ease-out, color .25s ease-out;
}

.topo__botao img {
  position: absolute;
  left: 14px;
  top: 3px;
  width: 53px;
  height: 53px;
}

.topo__botao:hover,
.topo__botao:active,
.topo__botao:focus-visible {
  background: var(--verde-claro);
  color: #fff;
}

.topo__botao:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---------- 2. 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: 1.4;
}

/* no original o rodapé fica 10px à esquerda do centro (conteúdo centrado em 480 de 980px) */
.rodape__conteudo {
  width: min(980px, 100%);
  margin: 0 auto;
  padding-right: 20px;
}

.rodape__criado {
  max-width: 619px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.4;
  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: 1.4;
}

.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) {
  .botao-flutuante {
    animation: none;
    transition: none;
  }
}

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

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

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

  .topo__circulos {
    left: -23.45px;
    top: 165.98px;
    width: 407px;
    height: 488px;
  }

  .topo__foto {
    z-index: 3;
    left: -30.5px;
    top: 166.01px;
    width: 420px;
    height: 511px;
  }

  .topo__texto {
    z-index: auto;
  }

  /* 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;
  }

  .topo__mensagem,
  .topo__botao {
    position: relative;
    z-index: 4;
  }

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

  .topo__botao {
    width: 100%;
    height: 56px;
    margin: 24.85px 0 0;
  }

  .topo__botao img {
    left: 34px;
    top: .34px;
    width: 56px;
    height: 56px;
  }

  /* no celular a faixa preta do rodapé é bem mais alta que o conteúdo, como no original */
  .rodape {
    min-height: 1405.64px;
    padding: 65.39px 35px 66.07px;
  }

  .rodape__conteudo {
    width: auto;
    padding-right: 0;
  }

  .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;
  }
}
