/* ty-preenchimento-canula-agulha — página de obrigado da isca de preenchimento labial (cânula x agulha)
   Medidas copiadas da página original (computador: coluna de 960px; celular até 800px: coluna de 360px). */

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

html, body { margin: 0; padding: 0; }

body {
  background: #fff;
  color: rgba(0, 0, 0, .87);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

h2, p { margin: 0; font-weight: 400; }
b { font-weight: 700; }
img { display: block; max-width: 100%; }

:root {
  --roxo-fundo: rgb(50, 19, 76);
  --verde: rgb(37, 210, 102);
  --pessego: rgb(255, 202, 155);
}

/* ---------- Seção ---------- */
.obrigado {
  background-color: var(--roxo-fundo);
  height: 898.594px;
  overflow: hidden;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
}

.coluna {
  width: min(960px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.obrigado__titulo {
  width: min(520px, 100% - 32px);
  margin-top: 55px;
  font-size: 30px;
  line-height: 42px;
}
.obrigado__titulo b { color: var(--pessego); }

.obrigado__subtitulo {
  width: min(400px, 100% - 32px);
  margin-top: 10px;
  font-size: 13px;
  line-height: 18.2px;
}

/* barra de progresso: trilho escuro, barra lilás (82% de opacidade) e o número no fim da barra */
.progresso {
  position: relative;
  width: min(877px, 100% - 32px);
  height: 27.4062px;
  margin-top: 19.495px;
  border-radius: 100px;
  background-color: rgb(33, 13, 49);
  --preenchido: 86.8185%;
}
.progresso__barra {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--preenchido);
  border-radius: 100px;
  background-color: rgb(162, 137, 215);
  opacity: .82;
}
.progresso__valor {
  position: absolute;
  top: -1px;
  left: calc(var(--preenchido) - 81px);
  width: 81px;
  font-size: 21px;
  line-height: 29.4px;
  color: var(--roxo-fundo);
}

.obrigado__chamada {
  width: min(520px, 100% - 32px);
  margin-top: 20.477px;
  font-size: 20px;
  line-height: 28px;
}
.obrigado__chamada b { color: var(--verde); }

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(432px, 100% - 32px);
  height: 64px;
  margin-top: 50.219px;
  padding: 0 8px;
  border-radius: 100px;
  background-color: var(--verde);
  box-shadow: var(--verde) 0 1px 3px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.obrigado__texto {
  width: min(631px, 100% - 32px);
  margin-top: 47.094px;
  font-size: 17px;
  line-height: 27.2px;
}

.obrigado__foto {
  display: block;
  width: 519.989px;
  max-width: 100%;
  height: 390px;
  margin-top: 72.303px;
}
.obrigado__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Celular (até 800px): coluna de 360px ---------- */
@media (max-width: 800px) {
  .obrigado { height: 779.766px; }

  .coluna { width: min(360px, 100%); }

  .obrigado__titulo { width: 100%; margin-top: 60px; }

  .obrigado__subtitulo { width: 100%; margin-top: 11px; }

  .progresso {
    width: min(305px, 100% - 54px);
    height: 27.3906px;
    margin-top: 18.987px;
    --preenchido: 87.2131%;
  }
  .progresso__valor {
    top: 1.797px;
    left: calc(var(--preenchido) - 82px);
    font-size: 17px;
    line-height: 23.8px;
  }

  .obrigado__chamada {
    width: min(292px, 100% - 32px);
    margin-top: 29.524px;
    font-size: 18px;
    line-height: 25.2px;
  }

  .botao {
    width: min(344px, 100% - 16px);
    margin-top: 38.979px;
    font-style: italic;
  }

  .obrigado__texto {
    width: min(279px, 100% - 32px);
    margin-top: 49.045px;
    font-size: 16px;
    line-height: 22.4px;
  }

  .obrigado__foto {
    align-self: flex-start;
    width: 340px;
    max-width: calc(100% - 16px);
    height: 255px;
    margin-top: 49.04px;
    margin-left: 8px;
  }
}
