/* Upsell Corporal Class (renovação Black) — estilo da página
   Computador: a partir de 801px. Celular: até 800px.
   Medidas copiadas da página antiga (coluna de 960px no computador e 360px no celular). */

:root {
  --topo: rgb(216, 82, 93);
  --rodape: rgb(168, 47, 56);
  --creme: rgb(255, 243, 214);
  --linha: rgb(237, 114, 126);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--rodape);
  color: #fff;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, p { margin: 0; padding: 0; }
h1, h2 { font-weight: 500; }
b { font-weight: 700; }
/* como na página antiga, os espaços do texto contam na hora de centralizar */
h1, h2, p { white-space: pre-wrap; overflow-wrap: break-word; }
img { display: block; max-width: none; }

section, footer { position: relative; overflow-x: clip; }
.container { position: relative; width: 960px; max-width: calc(100% - 40px); margin: 0 auto; }

/* ---------- 1. Abertura com o vídeo e a oferta ---------- */
.topo {
  padding: 38px 0 124.1px;
  background: var(--topo) url(/assets/upsell-renov-corporal-class-black/fundo-topo.jpg) 50% 50% / cover no-repeat;
  text-align: center;
}
.topo-logo { width: 212px; height: 30px; margin: 0 auto; }
.topo-titulo { width: 467px; max-width: 100%; margin: 36.8px auto 0; font-size: 26px; line-height: 31.2px; }
.topo-texto { width: 675px; max-width: 100%; margin: 36.6px auto 0; font-size: 23px; line-height: 1.2; }

/* Caixa do vídeo do mesmo tamanho da página antiga, com cantos arredondados */
.video { margin: 44.5px auto 0; border-radius: 20px; overflow: hidden; }
.video-computador { width: 713px; max-width: 100%; aspect-ratio: 713 / 402; }
.video-celular { display: none; width: 290px; max-width: 100%; aspect-ratio: 290 / 472; }

/* Widget da Hotmart: caixa do mesmo tamanho da página antiga (o que passar dela fica cortado, como lá).
   Fica invisível e sem clique até 76 s depois de a página abrir e então aparece em 1 s (igual à página antiga). */
.funil-hotmart {
  width: 960px; max-width: 100%; height: 618px; margin: 43.8px auto 0;
  border-radius: 20px; overflow: hidden;
  opacity: 0; pointer-events: none;
  animation: funil-aparecer 1s forwards 76s;
}
@keyframes funil-aparecer {
  to { opacity: 1; pointer-events: auto; }
}

/* ---------- 2. Rodapé ---------- */
.rodape { padding: 110.3px 0 110.6px; background: var(--rodape); text-align: center; }
.rodape-criado { font-size: 12px; line-height: 1.4; letter-spacing: 5px; color: var(--creme); }
.rodape-logo { width: 340.3px; height: 39.5px; margin: 12px auto 0; }
.rodape-dados { width: 721px; max-width: 100%; margin: 74.9px auto 0; font-size: 14px; line-height: 1.8; }
.rodape-dados .creme { color: var(--creme); }
.rodape-linha { width: 721px; max-width: 100%; margin: 25px auto 0; border: 0; border-top: 1px solid var(--linha); }
.rodape-termos { width: 619px; max-width: 100%; margin: 25px auto 0; font-size: 12px; line-height: 1.4; color: var(--creme); }

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

  .topo { padding: 40px 0 86px; }
  .topo-titulo { width: 360px; margin-top: 30.5px; font-size: 22px; line-height: 26.4px; }
  .topo-texto { width: 360px; margin-top: 30.5px; font-size: 17px; line-height: 1.2; }
  .video { margin-top: 34.2px; }
  .video-computador { display: none; }
  .video-celular { display: block; }
  .funil-hotmart { width: 360px; height: 788px; margin-top: 36.6px; }

  .rodape { padding: 80px 0 79.6px; }
  .rodape-criado { width: 150px; margin: 0 auto; }
  .rodape-logo { width: 280px; height: 32.5px; margin-top: 10px; }
  .rodape-dados { width: 306px; margin-top: 40px; line-height: 1.4; }
  .rodape-linha { width: 320px; margin-top: 34.5px; }
  .rodape-termos { width: 320px; margin-top: 35.2px; }
}
