/* Obrigado da aula de Bioestimuladores — lp.facialacademy.com.br/ty-aula-bioestimuladores
   Computador: medidas do original (coluna de 960px). Celular (até 800px): coluna de 360px. */

:root {
  --roxo-fundo: #32134c;
  --trilho: #210d31;
  --barra: #a289d7;
  --pessego: #ffca9b;
  --verde: #25d266;
  --branco: #fff;
  --fonte: "Poppins", sans-serif;
}

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

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

body {
  margin: 0;
  background: #fff;
  font-family: var(--fonte);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h2, p { margin: 0; font-size: inherit; font-weight: inherit; }
b { font-weight: 700; }

/* ---------- Seção única ---------- */
.quase {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 55px 16px 0;
  background: var(--roxo-fundo);
  color: var(--branco);
  text-align: center;
  overflow: hidden;
}

.quase__titulo {
  width: 520px;
  max-width: 100%;
  font-size: 30px;
  line-height: 1.4;
}
.quase__titulo b { color: var(--pessego); }

.quase__sub {
  width: 400px;
  max-width: 100%;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
}

/* Barra de progresso: trilho escuro, barra lilás translúcida e o número na ponta */
.progresso {
  width: 877px;
  max-width: 100%;
  height: 27.39px;
  margin-top: 19.5px;
  border-radius: 100px;
  background: var(--trilho);
}
.progresso__barra {
  position: relative;
  width: 86.82%;
  height: 100%;
  border-radius: 100px;
  background: rgb(162 137 215 / .82);
}
.progresso__valor {
  position: absolute;
  top: -1px;
  right: 0;
  width: 81px;
  color: var(--roxo-fundo);
  font-size: 21px;
  line-height: 1.4;
}

.quase__chamada {
  width: 520px;
  max-width: 100%;
  margin-top: 20.5px;
  font-size: 20px;
  line-height: 1.4;
}
.quase__chamada b { color: var(--verde); }

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 432px;
  max-width: 100%;
  height: 64px;
  margin-top: 50.2px;
  padding: 0 8px;
  border-radius: 100px;
  background: var(--verde);
  box-shadow: 0 1px 3px var(--verde);
  color: var(--branco);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform .25s ease-out, background-color .25s ease-out, color .25s ease-out, opacity .25s ease-out;
}

.quase__nota {
  width: 631px;
  max-width: 100%;
  margin-top: 47.1px;
  font-size: 17px;
  line-height: 27.2px;
}

.quase__foto {
  display: block;
  width: 520px;
  max-width: 100%;
  margin-top: 72.3px;
}
.quase__foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Celular ---------- */
@media (max-width: 800px) {
  .quase { padding: 60px 0 0; }

  .quase__titulo { width: 360px; }

  .quase__sub { width: 360px; margin-top: 11px; }

  .progresso { width: 305px; margin-top: 19px; }
  .progresso__barra { width: 87.21%; }
  .progresso__valor { top: 1.8px; font-size: 17px; }

  .quase__chamada { width: 292px; margin-top: 29.5px; font-size: 18px; line-height: 25.2px; }

  .botao { width: 344px; margin-top: 39px; font-style: italic; }

  .quase__nota { width: 279px; margin-top: 49px; font-size: 16px; line-height: 22.4px; }

  .quase__foto { position: relative; left: -2px; width: 340px; margin-top: 49px; margin-bottom: -1px; }
}
