/* Página de obrigado do "Plano de Aplicação" (lp.facialacademy.com.br/obrigado-plano-de-aplicacao).
   Mesmo visual da página antiga como estava no ar: medidas, cores e espaçamentos copiados dela,
   no computador (coluna de 960px no centro) e no celular (coluna de 360px no centro). */

:root {
  --roxo: rgb(100, 67, 137);
  --roxo-escuro: rgb(70, 41, 108);
  --lilas: rgb(222, 191, 255);
  --cartao: rgb(240, 243, 245);
  --cartao-borda: rgb(163, 186, 198);
  --sombra: rgb(35, 18, 58);
  --verde: rgb(110, 221, 123);
  --verde-escuro: #52b15d;
  --preto: rgb(5, 5, 5);
  --rodape: #a8a8a8;
  --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(--preto);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, p { margin: 0; }
h1 { font-weight: 600; }
h2 { font-weight: 400; }
img { display: block; }
b { font-weight: 700; }

.branco { color: #fff; }
.creme { color: var(--creme); }
.so-celular { display: none; }

/* coluna de conteúdo */
.coluna { position: relative; width: 960px; max-width: 100%; margin: 0 auto; text-align: center; }

.topo, .suporte, .app, .rodape { position: relative; }

.logo { width: 389.4px; height: 52.56px; margin: 0 auto; }

/* ---------- 1. Topo: "Obrigado!" e o cartão do e-mail ---------- */

.topo {
  z-index: 2; /* o cartão passa por cima da faixa seguinte */
  height: 765px;
  padding-top: 165.4px;
  background: var(--roxo) url("/assets/obrigado-plano-de-aplicacao/fundo-topo.webp") 52.1951% 0 / cover no-repeat;
}
.topo::before { content: ""; position: absolute; inset: 0; background: var(--roxo); opacity: .43; }

.topo__titulo { width: 520px; max-width: 100%; margin: 65px auto 0; font-size: 46px; line-height: 64.4px; }
.topo__subtitulo { width: 487.8px; max-width: 100%; margin: 44.1px auto 0; color: var(--lilas); font-size: 30px; line-height: 42px; }

.cartao {
  width: 960px;
  max-width: 100%;
  height: 227px;
  margin: 69.5px auto 0;
  padding-top: 47.7px;
  border: 1px solid var(--cartao-borda);
  border-radius: 30px;
  background: var(--cartao);
  filter: drop-shadow(var(--sombra) 0 18px 19px);
}
.cartao h2 { width: 672.9px; max-width: 100%; margin: 0 auto; color: #000; font-size: 26px; line-height: 36.4px; }

/* ---------- 2. Suporte ---------- */

.suporte { z-index: 1; height: 609px; padding-top: 134.8px; background: var(--roxo-escuro); }

.suporte__texto { width: 554px; max-width: 100%; margin: 62.5px auto 0; color: var(--lilas); font-size: 26px; line-height: 36.4px; }

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 648px;
  max-width: 100%;
  height: 67.2px;
  margin: 62.8px auto 0;
  padding: 0 8px;
  border-radius: 100px;
  background: var(--verde);
  color: #000;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .25s ease-out, color .25s ease-out;
}
.botao:hover, .botao:active { background: var(--verde-escuro); color: #000; }

/* ---------- 3. App ---------- */

.app { z-index: 3; height: 1062.8px; padding-top: 517.7px; background: #fff; }

.app .coluna { display: flow-root; } /* a margem da primeira linha não "vaza" para fora da coluna */

/* caixa roxa atrás do conteúdo (na página antiga ficava 23px à esquerda do centro) */
.app .coluna::before {
  content: "";
  position: absolute;
  top: -406.9px;
  left: -23.4px;
  width: 960px;
  height: 881px;
  border-radius: 30px;
  background: var(--roxo-escuro);
}

.app__celular { position: absolute; z-index: 2; top: -585.68px; left: 222.3px; width: 515.1px; height: 619.2px; }

.app__linha { position: relative; width: 750.5px; max-width: 100%; height: 0; margin: 5px auto 0; border: 0; border-top: 1px solid #fff; }

.app__titulo { position: relative; width: 595px; max-width: 100%; margin: 87.2px auto 0; font-size: 36px; line-height: 50.4px; font-weight: 600; }
.app__texto { position: relative; width: 547px; max-width: 100%; margin: 12.4px auto 0; color: var(--lilas); font-size: 20px; line-height: 28px; }
.app__linha--2 { margin-top: 49.4px; }

.lojas { position: relative; display: flex; justify-content: center; gap: 50.2px; margin-top: 45.1px; }
.lojas a { display: block; flex: none; width: 298.5px; height: 65.6px; }
.lojas img { width: 298px; height: 65px; }
.lojas__google img { width: 298.6px; height: 65.6px; }

/* ---------- 4. Rodapé ---------- */

.rodape { height: 723px; padding-top: 77.4px; background: var(--preto); color: var(--rodape); }
.rodape__criado { width: 619px; max-width: 100%; margin: 0 auto; font-size: 12px; line-height: 16.8px; letter-spacing: 5px; }
.rodape__logo { width: 244.5px; height: 33px; margin: 5px auto 0; }
.rodape__dados, .rodape__legal, .rodape__equipe { width: 882px; max-width: 100%; margin: 25px auto 0; font-size: 14px; line-height: 19.6px; }
.rodape__aviso { width: 400px; max-width: 100%; margin: 30px auto 0; font-size: 16px; line-height: 22.4px; }
.rodape__legal { margin-top: 9.9px; }
.rodape__equipe { margin-top: 39px; }
.rodape__linha { width: 882px; max-width: 100%; height: 0; margin: 19.6px auto 0; border: 0; border-top: 1px solid rgba(163, 186, 198, .3); }
.rodape__termos { width: 619px; max-width: 100%; margin: 19.5px auto 0; font-size: 12px; line-height: 16.8px; }
.rodape__termos a { color: inherit; text-decoration: none; }

/* Entre 801px e 1199px a página antiga diminuía a coluna de 960px proporcionalmente (zoom) */
@media (min-width: 801px) and (max-width: 849px) { .pagina { zoom: .6675; } }
@media (min-width: 850px) and (max-width: 899px) { .pagina { zoom: .7083; } }
@media (min-width: 900px) and (max-width: 949px) { .pagina { zoom: .75; } }
@media (min-width: 950px) and (max-width: 999px) { .pagina { zoom: .7917; } }
@media (min-width: 1000px) and (max-width: 1049px) { .pagina { zoom: .8333; } }
@media (min-width: 1050px) and (max-width: 1099px) { .pagina { zoom: .875; } }
@media (min-width: 1100px) and (max-width: 1149px) { .pagina { zoom: .9167; } }
@media (min-width: 1150px) and (max-width: 1199px) { .pagina { zoom: .9583; } }

/* ---------- Celular: coluna de 360px ---------- */
@media (max-width: 800px) {
  .so-celular { display: inline; }
  .so-computador { display: none; }

  .coluna { width: 360px; }
  .logo { width: 244.5px; height: 33px; }

  .topo { height: 506.1px; padding-top: 92px; background-image: url("/assets/obrigado-plano-de-aplicacao/fundo-topo-celular.webp"); background-position: 50.5929% 0; }
  .topo::before { opacity: .65; }
  .topo__titulo { width: 360px; margin-top: 28.6px; font-size: 26px; line-height: 36.4px; }
  .topo__subtitulo { width: 258px; margin: 28.6px 0 0 50px; font-size: 20px; line-height: 28px; }
  .cartao { width: 322px; height: 200px; margin-top: 34.2px; padding-top: 31.8px; filter: drop-shadow(var(--sombra) 0 18px 26px); }
  .cartao h2 { width: 260px; font-size: 16px; line-height: 22.4px; }

  .suporte { height: 460px; padding-top: 104.8px; }
  .suporte__texto { width: 296.7px; margin: 37.8px 0 0 34.75px; font-size: 18px; line-height: 25.2px; }
  .botao { width: 267px; margin-top: 50.1px; font-size: 16px; }

  .app { height: 816.1px; padding-top: 276.6px; }
  .app .coluna::before { top: -89.2px; left: 9.6px; width: 340px; height: 660.2px; }
  .app__celular { top: -314.5px; left: 26.6px; width: 307.4px; height: 369.5px; }
  .app__linha { width: 274.9px; }
  .app__titulo { width: 278px; margin-top: 82.4px; font-size: 25px; line-height: 35px; }
  .app__texto { width: 269px; margin-top: 29.8px; font-size: 18px; line-height: 25.2px; }
  .app__linha--2 { margin-top: 40.8px; }
  .lojas { flex-direction: column; align-items: center; gap: 20.1px; margin-top: 42.8px; }
  .lojas a { width: 274.8px; height: 60.3px; }
  .lojas img { width: 275px; height: 60px; }
  .lojas__google img { width: 274.4px; height: 60.3px; }

  .rodape { height: 1025.6px; padding-top: 65.4px; }
  .rodape__criado { width: 150px; }
  .rodape__logo { margin-top: 10px; }
  .rodape__dados, .rodape__legal, .rodape__equipe { width: 320px; line-height: 19.6px; }
  .rodape__dados { margin-top: 30px; }
  .rodape__aviso { width: 165px; margin-top: 10.7px; }
  .rodape__legal { margin-top: 22.1px; }
  .rodape__equipe { margin-top: 39.8px; }
  .rodape__linha { width: 320px; margin-top: 35px; }
  .rodape__termos { width: 320px; margin-top: 35.2px; }
}

/* telas mais estreitas que 360px: a coluna encolhe junto */
@media (max-width: 359px) {
  .coluna { width: 100%; padding: 0 10px; }
  .topo__subtitulo, .suporte__texto { margin-left: auto; margin-right: auto; }
  .app .coluna::before { left: 6px; right: 6px; width: auto; }
  .app__celular { left: 50%; margin-left: -153.7px; }
  .cartao { height: auto; min-height: 200px; padding-bottom: 20px; }
}
