/* Facial Class | Conheça a plataforma (facial-class-por-dentro)
   Medidas copiadas da página publicada: computador com conteúdo de 960px,
   celular (até 800px) com conteúdo de 360px. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: #050505;
  color: #f4f4f4;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; }
b { font-weight: 700; }
img { display: block; max-width: none; }
picture { display: contents; }

.conteudo { position: relative; width: 960px; margin: 0 auto; }

.texto-gradiente {
  display: inline-block;
  background: linear-gradient(45deg, #9453ff, #d5a7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #d5a7ff;
}

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  border-radius: 100px;
  background: #00d97b;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease;
}
.botao:hover, .botao:active { background: #009555; color: #fff; }

/* ---------- Topo ---------- */
.topo {
  height: 690px;
  overflow: hidden;
  background: #1c1328 url(/assets/facial-class-por-dentro/fundo-roxo.jpg) 50% 50% / cover no-repeat;
}
.topo .conteudo { height: 100%; }
.topo__mosaico { position: absolute; left: -355px; top: 0; width: 923px; height: 690px; }
.topo__brilho { position: absolute; left: 673.5px; top: 34.5px; width: 573px; height: 573px; z-index: 3; pointer-events: none; }
.topo__texto { position: absolute; left: 480px; top: 155.7px; width: 409px; z-index: 2; }
.topo__logo { width: 150px; height: 29px; }
.topo__titulo { margin-top: 78.3px; font-size: 38px; line-height: 45.6px; color: #d5a7ff; }
.topo__descricao { margin-top: 42.2px; width: 400px; color: #f4f4f4; }

/* ---------- Números ---------- */
.numeros {
  height: 800px;
  overflow: hidden;
  background: #1d1d1d url(/assets/facial-class-por-dentro/fundo-numeros.jpg) 50% 50% / cover no-repeat;
}
.numeros__grade {
  display: grid;
  grid-template-columns: 350px 350px;
  column-gap: 30px;
  row-gap: 30.3px;
  padding: 171.1px 0 0 115px;
  align-items: start;
}
.numero { position: relative; height: 214px; padding: 31.6px 0 0 49.5px; }
.numero::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #434343;
  border-radius: 20px;
}
.numero > * { position: relative; }
.numero__icone { width: 32px; height: 32px; }
.numero__valor { margin-top: 10px; font-size: 46px; line-height: 1.4; color: #d5a7ff; }
.numero__legenda { max-width: 251px; color: #f4f4f4; }
.numero__legenda--curta { max-width: 146px; }
.numeros__texto { margin-top: 6.2px; color: #f4f4f4; }

/* ---------- Módulos ---------- */
.modulos { background: linear-gradient(0deg, #ffffff, #f1f1f1); overflow: hidden; }
.modulos__topo { position: relative; height: 591px; padding: 163px 0 0 115px; }
.modulos__foto { position: absolute; left: 367.8px; top: 17.8px; width: 635px; height: 558px; z-index: 2; pointer-events: none; }
.modulos__titulo { position: relative; width: 332px; font-size: 38px; line-height: 1.2; color: #242424; }
.modulos__descricao { position: relative; margin-top: 49.9px; width: 365px; color: #747474; }

.modulo {
  position: relative;
  width: 730px;
  height: var(--altura, 607px);
  margin-left: 115px;
}
.modulo__titulo {
  position: absolute;
  top: 0;
  left: 1px;
  width: var(--titulo-largura, 288px);
  font-size: 32px;
  line-height: 1.2;
  color: #59378d;
}
.modulo--b .modulo__titulo { left: auto; right: 1.5px; text-align: right; }
.modulo__caixa {
  position: absolute;
  left: 388.5px;
  top: 66px;
  width: 340px;
  height: 432px;
  z-index: 2;
}
.modulo--b .modulo__caixa { left: 1px; top: 65.4px; }
.modulo__caixa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: #f0f3f5 url(/assets/facial-class-por-dentro/fundo-caixa-modulo.jpg) 50% 50% / cover no-repeat;
}
.modulo__capa {
  position: absolute;
  left: 41.5px;
  top: -66px;
  width: 137px;
  height: 200px;
  border-radius: 15px;
  object-fit: cover;
  background: #f0f3f5;
}
.modulo__texto {
  position: absolute;
  left: 41.5px;
  top: var(--texto-topo, 167.5px);
  width: var(--texto-largura, 264px);
  color: #fff;
}
.modulo__foto {
  position: absolute;
  left: 1px;
  top: 125px;
  width: 429px;
  height: 302px;
  border-radius: 15px;
  object-fit: cover;
  background: #f0f3f5;
  z-index: 1;
}
.modulo--b .modulo__foto { left: 300.5px; top: 123.8px; }
.modulo__botao { position: absolute; left: 423.5px; top: 468px; width: 270px; z-index: 3; }
.modulo--b .modulo__botao { left: 36px; top: 467.6px; }

/* último módulo (Materiais de Apoio): caixa mais baixa, sem botão */
.modulo--ultimo { height: 676px; }
.modulo--ultimo .modulo__caixa { left: 389px; top: 65.5px; height: 361px; }
.modulo--ultimo .modulo__foto { left: -.5px; top: 124.5px; }

/* ---------- Isso é só o começo ---------- */
.comeco {
  height: 690px;
  overflow: hidden;
  background: #1c1328 url(/assets/facial-class-por-dentro/fundo-roxo.jpg) 50% 50% / cover no-repeat;
}
.comeco .conteudo { height: 100%; }
.comeco__texto { position: relative; z-index: 4; padding-top: 184.9px; width: 446px; }
.comeco__titulo { width: 409px; font-size: 38px; line-height: 1.2; color: #d5a7ff; }
.comeco__descricao { margin-top: 39.9px; color: #f4f4f4; }
.comeco__botao { margin-top: 40px; width: 350px; }
.comeco__anel { position: absolute; left: 634.5px; top: 54.5px; width: 372.5px; height: 372.5px; z-index: 1; }
.comeco__app { position: absolute; left: 512.6px; top: 125.9px; width: 216px; height: 383px; z-index: 2; }
.comeco__professores { position: absolute; left: 482.7px; top: 87px; width: 639px; height: 603px; z-index: 3; }

/* a página antiga dobrava o celular do app em pé (gira no eixo X preso embaixo).
   É o único "fold" desta página: o nome é o mesmo do módulo comum, então esta versão vale só aqui. */
@keyframes animacao-fold-center {
  0% { transform: rotateX(100deg); transform-origin: bottom; opacity: 0; }
  100% { transform: rotateX(0deg); transform-origin: bottom; opacity: var(--animacao-opacidade, 1); }
}

/* ---------- Rodapé ---------- */
.rodape { background: #050505; color: #a8a8a8; text-align: center; height: 723px; }
.rodape .conteudo { padding-top: 77.4px; }
.rodape__criado { font-size: 12px; line-height: 1.4; letter-spacing: 5px; }
.rodape__logo { width: 244.5px; height: 33px; margin: 5px auto 0; }
.rodape__empresa { width: 882px; margin: 25px auto 0; font-size: 14px; line-height: 19.6px; }
.rodape .claro { color: #fff; }
.rodape__empresa p:last-child .claro { color: #fffcf3; }
.rodape__aviso-titulo { width: 400px; margin: 30px auto 0; font-size: 16px; line-height: 1.4; font-weight: 700; }
.rodape__aviso { width: 882px; margin: 9.9px auto 0; font-size: 14px; line-height: 19.6px; }
.rodape__equipe { width: 882px; margin: 39px auto 0; font-size: 14px; line-height: 1.4; }
.rodape__linha { width: 882px; margin: 14.7px auto 0; border: 0; border-bottom: 1px solid #a3bac6; opacity: .3; }
.rodape__termos { width: 619px; margin: 24.5px auto 0; font-size: 12px; line-height: 16.8px; }
.rodape__termos a { color: inherit; text-decoration: underline; }

/* ---------- Celular ---------- */
@media (max-width: 800px) {
  .conteudo { width: 360px; max-width: 100%; }

  .topo { height: 686.9px; }
  .topo__mosaico { left: -30px; top: 302.9px; width: 420px; height: 384px; }
  .topo__brilho { display: none; }
  .topo__texto { position: relative; left: 0; top: 0; width: auto; padding-top: 40px; }
  .topo__titulo { margin-top: 50px; width: 326px; font-size: 32px; line-height: 38.4px; }
  .topo__descricao { margin-top: 35.2px; width: auto; }

  .numeros { height: 1247.5px; }
  .numeros__grade { grid-template-columns: 1fr; row-gap: 40px; padding: 122px 0 0; }
  .numeros__texto { order: -1; margin: 0 0 9.8px; }
  .numero { height: 220.1px; padding: 31.9px 0 0 50.4px; }
  .numero__icone { width: 32.9px; height: 32.9px; }
  .numero__valor { margin-top: 10.3px; font-size: 47.31px; }
  .numero__legenda { font-size: 16.456px; max-width: 258.2px; }
  .numero__legenda--curta { max-width: 150.2px; }

  .modulos { padding-bottom: 141px; }
  .modulos__topo { height: 718px; padding: 140.4px 0 0; }
  .modulos__foto { left: -30px; top: 292.7px; width: 420px; height: 425px; }
  .modulos__titulo { width: 256px; font-size: 28px; line-height: 33.6px; }
  .modulos__descricao { margin-top: 40.3px; width: auto; }

  .modulo,
  .modulo--ultimo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    height: auto;
    margin: 0;
  }
  .modulo { margin-bottom: var(--celular-depois, 0px); }
  .modulo + .modulo { margin-top: 60.5px; }
  .modulo__titulo,
  .modulo--b .modulo__titulo {
    position: relative;
    left: auto;
    right: auto;
    width: var(--titulo-largura-celular, 288px);
    max-width: 100%;
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
  }
  .modulo__caixa,
  .modulo--b .modulo__caixa,
  .modulo--ultimo .modulo__caixa {
    position: relative;
    left: auto;
    top: auto;
    width: 340px;
    max-width: 100%;
    height: auto;
    min-height: 432px;
    margin-top: var(--celular-caixa, 95.5px);
    padding: var(--texto-topo, 167.5px) 0 0;
  }
  .modulo--ultimo .modulo__caixa { min-height: 361px; }
  .modulo__capa { left: 50%; top: -65px; margin-left: -68.5px; }
  .modulo__texto {
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .modulo--texto-esquerda .modulo__texto { text-align: left; }
  .modulo__foto,
  .modulo--b .modulo__foto,
  .modulo--ultimo .modulo__foto {
    position: relative;
    left: auto;
    top: auto;
    width: 340px;
    max-width: 100%;
    height: 270px;
    margin-top: var(--celular-foto, -40px);
  }
  .modulo--ultimo .modulo__foto { margin-top: -36.2px; }
  .modulo__botao,
  .modulo--b .modulo__botao {
    position: relative;
    left: auto;
    top: auto;
    margin-top: -30px;
  }

  .comeco { height: 1007.9px; }
  .comeco__texto { width: auto; padding-top: 139px; }
  .comeco__titulo { width: auto; font-size: 28px; }
  .comeco__descricao { margin-top: 35.4px; }
  .comeco__botao { margin-top: 52px; width: 100%; }
  .comeco__anel { left: 84.4px; top: 528.7px; width: 273.8px; height: 273.8px; }
  .comeco__app { left: -5.3px; top: 580.9px; width: 158.8px; height: 281.5px; }
  .comeco__professores { left: -30.5px; top: 553px; width: 420px; height: 443.3px; }

  .rodape { height: 1025.6px; }
  .rodape .conteudo { padding-top: 65.4px; }
  .rodape__criado { width: 150px; margin: 0 auto; }
  .rodape__logo { margin-top: 10px; }
  .rodape__empresa { width: 320px; max-width: 100%; margin-top: 30px; line-height: 1.4; }
  .rodape__aviso-titulo { width: 165px; margin-top: 10.7px; }
  .rodape__aviso { width: 320px; max-width: 100%; margin-top: 22.1px; line-height: 1.4; }
  .rodape__equipe { width: 320px; max-width: 100%; margin-top: 39.8px; }
  .rodape__linha { width: 320px; max-width: 100%; margin-top: 30px; }
  .rodape__termos { width: 320px; max-width: 100%; margin-top: 40.2px; line-height: 1.4; }
}
