/* Upsell da Facial Class, plano Ouro (página depois da compra) — estilo da página
   Computador: a partir de 801px (coluna de 960px). Celular: até 800px (coluna de 360px).
   Medidas copiadas da página antiga. */

:root {
  --branco: #fff;
  --claro: #f0f0f0;
  --cinza: #e5e5e5;
  --roxo-linha: #ac3cff;
  --roxo-escuro: #4f1a92;
  --roxo-barra: #6d1ac0;
  --roxo-texto: #32134c;
  --azul: #6b99e6;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: #8922f0;
  color: var(--branco);
  font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h2, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
h2 { font-family: 'Poppins', Arial, Helvetica, sans-serif; font-weight: 500; }
p, h2 { overflow-wrap: break-word; }
b { font-weight: 700; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.pagina { overflow-x: clip; }
section, footer { position: relative; }
.container { position: relative; width: 960px; margin: 0 auto; }

/* ---------- 1. Abertura (vídeo e oferta) ---------- */
.topo {
  padding: 40px 0 269.3px;
  background: linear-gradient(to bottom, #191022 0%, #1b1026 10%, #221132 20%, #2d1347 30%, #3d1664 40%, #511989 50%, #651cae 60%, #751fcb 70%, #8021e0 80%, #8722ec 90%, #8922f0 100%);
}
.topo-cabecalho { display: flex; align-items: center; }
.topo-logo { flex: none; width: 140px; height: 27px; }
.topo-linha { flex: none; width: 779px; height: 0; margin: 0 0 0 41px; border: 0; border-bottom: 1px solid var(--roxo-linha); }
.topo-titulo {
  width: 462px; margin: 31px auto 0;
  font-size: 32px; line-height: 1.2; text-align: center; color: var(--claro);
}

/* Barra de progresso */
.progresso { position: relative; width: 577px; height: 34px; margin: 29.2px 0 0 191.5px; }
.progresso > span { position: absolute; display: block; }
.progresso-trilho { inset: 0; border-radius: 100px; background: var(--roxo-barra); opacity: .7; }
.progresso-barra {
  left: 5px; top: 4px; width: 500px; height: 26px; border-radius: 100px;
  background: var(--azul) url(/assets/up-po-facialclass/textura-gradiente.webp) 11.7073% 17.9512% / cover no-repeat;
}
.progresso-valor {
  left: 413.6px; top: 4.4px; width: 81px;
  font-size: 18px; line-height: 1.4; text-align: center; color: var(--roxo-texto);
}

/* Texto à esquerda e vídeo à direita */
.apresentacao {
  display: grid; grid-template-columns: 334px 606px; column-gap: 19.5px; align-items: start;
  margin-top: 60.1px;
}
.apresentacao-texto { margin-top: 31.5px; font-size: 22px; line-height: 1.4; opacity: .9; }
.video { position: relative; z-index: 2; border-radius: 15px; overflow: hidden; }
.video iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-computador { width: 606px; height: 341px; }
.video-celular { display: none; }

/* Widget da Hotmart: caixa do mesmo tamanho da página antiga.
   Invisível (e sem clique) até 100 s depois de abrir; então aparece em 1 s, como lá. */
.funil-hotmart {
  position: relative; z-index: 1;
  width: 742px; height: 580px; margin: 60.1px auto 0;
  opacity: 0; pointer-events: none;
  animation: aparecer 1s forwards 100s;
}
@keyframes aparecer { to { opacity: 1; pointer-events: auto; } }

/* ---------- 2. Rodapé ---------- */
.rodape {
  padding: 49.3px 0 68.5px;
  text-align: center; color: var(--cinza);
  background: linear-gradient(to bottom, #8922f0 0%, #8a23f0 10%, #8c27f1 20%, #902df3 30%, #9636f6 40%, #9a3df8 50%, #9e43f9 60%, #a44cfc 70%, #a852fe 80%, #aa56ff 90%, #ab57ff 100%);
}
.criador {
  display: flex; align-items: flex-end;
  width: 960px; height: 430px; padding: 55.7px 0 0 63px;
  border-radius: 20px; text-align: left; color: var(--roxo-escuro);
  background: url(/assets/up-po-facialclass/textura-gradiente.webp) 2.9268% 5.4634% / cover no-repeat;
}
.criador-coluna { align-self: flex-start; width: 417px; }
.criador-rotulo { width: 133px; font-size: 12px; line-height: 1.4; letter-spacing: 5px; }
.criador-logo { width: 302px; height: 41px; margin-top: 14px; }
.criador-dados { margin-top: 51.1px; font-size: 14px; line-height: 1.4; }

/* Redes sociais: no fim da caixa, à direita; crescem e clareiam ao passar o mouse, como antes */
.redes { display: flex; align-items: center; gap: 37px; margin: 0 0 55.6px 170.3px; }
.rede { display: block; transition: transform .3s ease-in-out, filter .3s ease-in-out; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.rede:hover { transform: scale(1.15); filter: brightness(1.6); }
.rede img { width: 47px; height: 47px; }
/* o ícone do YouTube é desenhado maior que a caixa e cortado por ela, como na página antiga */
.rede-youtube span { display: block; width: 56px; height: 39px; overflow: hidden; }
.rede-youtube img { width: 59px; height: 59px; }

.aviso-titulo { width: 400px; margin: 80.2px auto 0; font-size: 16px; line-height: 1.4; }
.aviso-texto { width: 882px; margin: 19.9px auto 0; font-size: 14px; line-height: 1.4; }
.equipe { width: 882px; margin: 39px auto 0; font-size: 14px; line-height: 1.4; }
.rodape-linha {
  width: 882px; height: 0; margin: 19.6px auto 0;
  border: 0; border-bottom: 1px solid var(--roxo-escuro); opacity: .3;
}
.rodape-termos { width: 619px; margin: 19.5px auto 0; font-size: 12px; line-height: 1.4; }

/* Telas de computador estreitas (801 a 999px): a página, desenhada para 980px, é reduzida por inteiro */
@media (min-width: 801px) and (max-width: 849px) { .pagina { zoom: .8; } }
@media (min-width: 850px) and (max-width: 899px) { .pagina { zoom: .85; } }
@media (min-width: 900px) and (max-width: 949px) { .pagina { zoom: .9; } }
@media (min-width: 950px) and (max-width: 999px) { .pagina { zoom: .95; } }

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

  .topo { padding: 18.9px 0 83px; }
  .topo-logo { margin-left: -0.7px; height: 27.2px; }
  .topo-linha { width: 206px; max-width: calc(100% - 154px); margin-left: 14px; }
  .topo-titulo { width: 360px; max-width: 100%; margin-top: 24.5px; font-size: 24px; }

  .progresso { width: 321px; max-width: calc(100% - 20px); height: 32px; margin: 29.9px auto 0; }
  .progresso-barra { left: 4px; top: 4px; width: 261px; max-width: calc(100% - 8px); height: 24px; }
  .progresso-valor { left: 207.7px; top: 5.5px; width: 43px; font-size: 15px; }

  .apresentacao { display: flex; flex-direction: column; margin-top: 30px; }
  .apresentacao-texto { margin-top: 0; font-size: 15px; line-height: 1.3; text-align: center; }
  .video-computador { display: none; }
  .video-celular { display: block; width: 247px; height: 439px; margin: 29.9px auto 0; }

  /* na página antiga o widget começa 15 px antes do fim do vídeo (o vídeo fica por cima) */
  .funil-hotmart { width: 360px; max-width: 100%; height: 746px; margin-top: -15.1px; }

  .rodape { padding: 0 0 38.3px; }
  .criador {
    display: block; width: 340px; max-width: calc(100% - 20px); height: 540px; margin: 0 auto;
    padding: 42.3px 0 0 31px;
  }
  .criador-coluna { width: 278px; max-width: 100%; }
  .criador-logo { width: 278px; height: 38px; margin-top: 9.9px; }
  .criador-dados { margin-top: 39.3px; }
  .redes { gap: 37.3px; margin: 39.3px 0 0; }
  .rede img { width: 35.2px; height: 35.2px; }
  .rede-youtube span { width: 41.9px; height: 29.2px; }
  .rede-youtube img { width: 44px; height: 44px; }

  .aviso-titulo { width: 360px; max-width: 100%; margin-top: 46.3px; }
  .aviso-texto { width: 340px; max-width: calc(100% - 20px); margin-top: 19.8px; }
  .equipe { width: 360px; max-width: 100%; margin-top: 40.3px; }
  .rodape-linha { width: 340px; max-width: calc(100% - 20px); margin-top: 24.6px; }
  .rodape-termos { width: 340px; max-width: calc(100% - 20px); margin-top: 24.6px; }
}
