/* Obrigado dos Workshops da Corporal Academy (lp.corporalacademy.com.br/obrigado-workshops-corporal).
   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). */

:root {
  --topo-inicio: #87185c;
  --topo-fim: #d7515b;
  --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(168, 47, 56);
  --rodape-linha: rgb(237, 114, 126);
  --creme: rgb(255, 243, 214);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  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;
}

/* 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, #ffb8b8, #ffffff);
}

.texto-degrade-escuro {
  background-image: linear-gradient(45deg, #87185c, #d7515b);
}

/* ---------- 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);
  margin: 0 auto;
  padding-top: 49.7125px;
}

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

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

.topo__foto {
  z-index: 1;
  left: -273.677px;
  top: .2969px;
  width: 1366px;
  height: 583px;
}

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

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

.topo__logo {
  width: 290.33px;
  height: 33.75px;
}

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

.topo__mensagem {
  max-width: 506px;
  margin-top: 44.854px;
  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;
  display: flex;
  align-items: center;
  width: 551px;
  max-width: 100%;
  min-height: 182px;
  margin: 44.858px 0 0 1.008px;
  padding: 16px 0 16px 45.992px;
}

.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, .6) 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: 459px;
  font-size: 18px;
  line-height: 1.4;
  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: 85.469px 0 85.5px;
  text-align: center;
}

.suporte__circulos {
  position: absolute;
  z-index: 0;
  left: 75px;
  top: 0;
  display: block;
  width: 810px;
  height: 393px;
  opacity: .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: 544px;
  margin: 0 auto;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  color: #6615c8;
}

.suporte__texto {
  max-width: 770px;
  margin: 29.927px 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: 46.504px 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-inicio);
  outline-offset: 3px;
}

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

.rodape {
  position: relative;
  padding: 90.58px 16px 100.329px;
  background: var(--rodape);
  color: var(--creme);
  text-align: center;
}

.rodape__criado {
  font-size: 12px;
  line-height: 16.8px;
  letter-spacing: 5px;
}

.rodape__logo {
  width: 340.277px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 340.277 / 39.5561;
  margin: 11.995px auto 0;
}

.rodape__legal {
  max-width: 721px;
  margin: 104.918px auto 0;
  font-size: 14px;
  line-height: 25.2px;
}

.rodape__legal p {
  white-space: pre-wrap;
}

/* no original há uma linha em branco entre um parágrafo e outro */
.rodape__legal p + p {
  margin-top: 25.2px;
}

.rodape__empresa {
  color: #fff;
}

.rodape__linha {
  max-width: 721px;
  height: 0;
  margin: 25.022px auto 0;
  border: 0;
  border-top: 1px solid var(--rodape-linha);
}

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

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

.botao-flutuante {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 900000;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  background: #00c800;
  cursor: pointer;
  opacity: 0;
  transform: scale(.7) translateY(8px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease, background-color .3s;
  animation: pulso-whatsapp 3s infinite;
}

.botao-flutuante.visivel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

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

  .topo__conteudo {
    width: min(360px, 100%);
    min-height: 871.125px;
    padding-top: 28.4062px;
    text-align: center;
  }

  .topo__circulos {
    left: calc(50% - 210px);
    top: 431.13px;
    width: 420px;
    height: 443px;
  }

  .topo__foto {
    left: calc(50% - 209.656px);
    top: 436.094px;
    width: 420px;
    height: 435px;
  }

  .topo__logo {
    width: 248.713px;
    height: 28.9126px;
    margin: 0 auto;
  }

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

  .topo__mensagem {
    max-width: 321px;
    margin: 19.882px auto 0;
  }

  .aviso {
    justify-content: center;
    width: auto;
    min-height: 209px;
    margin: 29.515px 0 0;
    padding: 16px 0;
  }

  .aviso__texto {
    max-width: 305px;
    line-height: 25.2px;
  }

  .suporte {
    min-height: 417px;
  }

  .suporte__conteudo {
    width: min(360px, 100%);
    padding: 73.3441px 0 72.9px;
  }

  .suporte__circulos {
    left: calc(50% - 210.5px);
    width: 417px;
    height: 417px;
  }

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

  .suporte__texto {
    max-width: 291px;
    margin-top: 36.836px;
  }

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

  .rodape {
    padding: 79.99px 20px 79.64px;
  }

  .rodape__criado {
    line-height: 1.4;
  }

  .rodape__logo {
    width: 279.969px;
    margin-top: 9.957px;
  }

  .rodape__legal {
    max-width: 306px;
    margin-top: 40.033px;
    line-height: 1.4;
  }

  .rodape__legal p + p {
    margin-top: 19.6px;
  }

  .rodape__linha {
    max-width: 320px;
    margin-top: 34.48px;
  }

  .rodape__termos {
    max-width: 320px;
    margin-top: 35.21px;
    line-height: 1.4;
  }
}
