/* Figtree (self-hosted, latin) */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/figtree-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/figtree-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/figtree-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Paleta GoodKids (versão mais viva): fundo creme, cards brancos e o azul GoodKids como cor de ação.
   Sálvia, mostarda, coral e lavanda são as cores de apoio. As versões "-ink" são as mesmas
   cores escurecidas, para texto sobre fundo claro (as originais têm contraste baixo). */
:root {
  --primary: #1f4f8a;
  --primary-dark: #173d6c;
  --text: #263746;
  --muted: #687784;
  --faint: rgb(104 119 132 / 72%);
  --background: #faf7f1;
  --card: #ffffff;
  --surface: #f3eee4;
  --soft: #e3ecf8;
  --line: #e7e1d6;
  --sage: #4fae68;
  --mustard: #f7a51c;
  --coral: #f4604a;
  --lavender: #9a78e6;
  --success: var(--sage);
  --success-ink: #2d8a47;
  --danger: var(--coral);
  --danger-ink: #d63f28;
  --warning: var(--mustard);
  --star: var(--mustard);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 30px rgb(31 79 138 / 9%);
  --gutter: 24px;
  --frame: 440px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  font-family: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Base */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
}

.quiz-frame {
  position: relative;
  min-height: 100vh;
  width: min(100%, var(--frame));
  margin: 0 auto;
  background: var(--background);
}

.hidden {
  display: none !important;
}

/* Cabeçalho: só a seta de voltar, sem logo (como na referência). */

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  height: 56px;
  align-items: center;
  padding: 0 12px;
  background: rgb(250 247 241 / 92%);
  backdrop-filter: blur(10px);
}

.back-button {
  display: grid;
  visibility: hidden;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* Logo centralizada no cabeçalho, só nas telas com showLogo. */
.header-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: auto;
  height: 36px;
  transform: translate(-50%, -50%);
}

.app-header--logo .header-logo {
  display: block;
}

.back-button.is-visible {
  visibility: visible;
}

.back-button:hover {
  background: var(--surface);
}

/* Tela */

.screen {
  /* Espaço embaixo para o botão fixo não cobrir o conteúdo. */
  padding: 8px var(--gutter) 128px;
}

.screen--flush {
  padding-top: 0;
  padding-bottom: 48px;
}

/* Entrada em cascata: cada bloco sobe 40px e aparece. */
.rise {
  animation: rise 0.4s var(--ease) var(--delay, 0.1s) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise {
    animation: none;
  }
}

.title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.title strong {
  color: var(--primary);
  font-weight: 800;
}

.title--center {
  text-align: center;
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.eyebrow {
  margin: 0 0 30px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.disclaimer {
  margin: 24px 0 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.disclaimer a {
  color: var(--muted);
}

/* Cartões com imagem (quem é você, idade, gênero). */

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  transition:
    border-color 0.18s,
    transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.18s;
}

.tile:hover,
.tile:focus-visible {
  box-shadow: var(--shadow);
  outline: none;
}

.tile:active {
  transform: scale(0.98);
}

.tile.is-active {
  border-color: var(--primary);
}

.tile__media {
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #ebe2fc, #f7f1e6);
}

.tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.tile__label {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--card);
  padding: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.tile.is-active .tile__label {
  background: var(--primary);
  color: #ffffff;
}

/* Opções em lista. */

.options {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s,
    transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.option:active {
  transform: scale(0.98);
}

.option.is-active {
  border-color: var(--primary);
  background: rgb(31 79 138 / 5%);
}

.option__emoji {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

.option__label {
  flex: 1;
}

/* Opções em cards de 2 colunas: emoji 3D em cima e texto centralizado embaixo. */
.options--grid {
  grid-template-columns: 1fr 1fr;
}

.option--card {
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 150px;
  padding: 20px 12px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.option--card .option__label {
  flex: 0 0 auto;
}

.option--card .option__emoji {
  display: grid;
  place-items: center;
  font-size: 44px;
}

.option--card .option__emoji img {
  display: block;
  width: 56px;
  height: 56px;
}

.option--wide {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 18px 12px;
}

.check {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 7px;
  color: transparent;
  transition:
    background 0.18s,
    border-color 0.18s;
}

.option.is-active .check {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

/* Botão principal fixo no rodapé, como na referência. */

.cta-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 20;
  width: min(100%, var(--frame));
  padding: 24px var(--gutter) 32px;
  background: linear-gradient(180deg, rgb(250 247 241 / 0%), var(--background) 36%);
  transform: translateX(-50%);
}

/* O "rise" usa transform: no rodapé fixo ele só aparece, sem subir. */
.cta-bar.rise {
  animation-name: fade;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.primary {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  box-shadow: 0 8px 20px rgb(31 79 138 / 24%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition:
    opacity 0.18s,
    transform 0.15s;
}

.primary:active {
  transform: scale(0.98);
}

.primary:disabled {
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(30%);
  opacity: 0.4;
}

/* Telas de conteúdo (estudo, birras, empatia, curiosidade). */

.info-image {
  display: flex;
  justify-content: center;
  margin: 0 0 20px;
}

.info-image img {
  display: block;
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: var(--radius);
}

/* Imagem de ponta a ponta: sobe por baixo do cabeçalho e encosta nas bordas da tela. */
.info-image--hero {
  position: relative;
  margin: -64px calc(var(--gutter) * -1) 15px;
}

.info-image--hero img {
  width: 100%;
  max-height: none;
  border-radius: 0;
}

/* Degradê para a cor do fundo na base: a arte some na tela mesmo que termine cortada. */
.info-image--hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(180deg, rgb(250 247 241 / 0%), var(--background) 92%);
  content: "";
  pointer-events: none;
}

/* Na tela com imagem de ponta a ponta, o cabeçalho fica transparente por cima dela. */
.app-header--over {
  background: transparent;
  backdrop-filter: none;
}

.app-header--over .back-button {
  background: rgb(250 247 241 / 80%);
}

/* Ilustração com fundo transparente no topo da tela (ex.: avaliação). */
.info-image--figure {
  margin: -8px 0 16px;
}

.info-image--figure img {
  max-height: 260px;
  border-radius: 0;
}

.title + .review-card {
  margin-top: 18px;
}

.title + .info-image {
  margin-top: 20px;
}

.info-card {
  display: grid;
  gap: 16px;
  padding-bottom: 28px;
}

.info-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 34px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.info-title__kicker {
  display: block;
  color: var(--primary);
}

.info-text {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
}

.info-text strong {
  color: var(--primary);
  font-weight: 700;
}

.info-text--center {
  margin-top: 16px;
  text-align: center;
}

.info-bullets {
  display: grid;
  gap: 6px;
  margin: -6px 0 0;
  padding: 0;
  list-style: none;
}

.info-bullets li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
}

.info-bullets li::before {
  position: absolute;
  left: 2px;
  content: "·";
  font-weight: 800;
}

.info-bullets strong {
  color: var(--primary);
  font-weight: 700;
}

.info-checks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.info-checks__icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
}

.info-note {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

/* Avaliação real (tela de terapeutas). */

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--star);
  vertical-align: -2px;
}

.review-card {
  border-radius: var(--radius);
  background: var(--card);
  padding: 18px;
  box-shadow: var(--shadow);
}

.review-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-card__tag {
  border-radius: 999px;
  background: var(--soft);
  padding: 4px 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.review-card__rating {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.review-card__rating b {
  color: var(--text);
}

.review-card__title {
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: 800;
}

.review-card__text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.55;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.review-card__author strong {
  display: block;
  font-size: 14px;
}

.review-card__author small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.avatar--photo {
  display: block;
  object-fit: cover;
  background: var(--soft);
}

/* Citação (superpoder). */

.quote-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  background: var(--soft);
  padding: 28px 22px 22px;
  text-align: center;
}

.quote-card__mark {
  position: absolute;
  top: -18px;
  left: 50%;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  padding-top: 12px;
}

.quote-card blockquote {
  margin: 0;
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.4;
}

.quote-card__author {
  margin: 14px 0 0;
}

.quote-card__author strong {
  display: block;
  color: var(--primary);
  font-size: 16px;
}

.quote-card__author small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

/* Imagem entre a citação e o texto da tela "superpoder". */
.info-image--quote {
  margin: 12px 0 0;
}

.info-image--quote img {
  width: 100%;
  border-radius: 0;
}

.info-image--quote + .info-text--center {
  margin-top: 16px;
}

.rating-line {
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.rating-line b {
  color: var(--text);
}

/* Analisando suas respostas. */

.loader-bars {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.loader-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.loader-row__pct {
  display: grid;
  min-width: 24px;
  place-items: center;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.loader-row.is-done .loader-row__pct {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: #ffffff;
}

.mini-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface);
}

.mini-track span {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: inherit;
  background: var(--primary);
  transition: width 50ms linear;
}

.loader-row.is-done .mini-track span {
  background: var(--success);
}

/* Plano: 3 áreas com a curva do primeiro mês. */

.areas {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.area-card {
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
  box-shadow: var(--shadow);
}

.area-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
}

.area-card__head span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--soft);
  padding: 4px 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.area-chart {
  display: block;
  width: 100%;
  height: 80px;
  margin-top: 12px;
  overflow: visible;
}

.area-chart__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.2s var(--ease) 0.5s forwards;
}

.area-chart__end {
  opacity: 0;
  animation: fade 0.3s ease 1.6s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.area-card__labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}

.area-card__labels .is-from {
  color: var(--danger-ink);
}

.area-card__labels .is-to {
  color: var(--success-ink);
  text-align: right;
}

.area-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- Página de venda (no modelo do CalmBaby) ---------- */

.sales-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 calc(var(--gutter) * -1) 20px;
  border-bottom: 1px solid var(--line);
  background: rgb(250 247 241 / 96%);
  padding: 10px var(--gutter);
  backdrop-filter: blur(10px);
}

.timer {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.timer strong {
  display: block;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.small-cta,
.buy-link {
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.small-cta {
  flex: 0 0 auto;
  padding: 12px 16px;
  font-size: 12px;
}

.section {
  margin-top: 36px;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.subtitle--center {
  text-align: center;
}

/* Agora × Seu objetivo: dois cards com a imagem "flutuando" sobre o quadro de comparação. */
.pw-summary {
  position: relative;
  padding-top: 4px;
}

.pw-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 -8px -40px;
  transform: perspective(900px) rotateX(4deg);
  transform-origin: bottom center;
}

.pw-hero__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 5 / 6;
  box-shadow:
    0 18px 30px -10px rgb(31 79 138 / 30%),
    0 6px 12px rgb(31 79 138 / 10%);
}

.pw-hero__card--now {
  background: linear-gradient(180deg, #ffdcd3, #ffc6b8);
}

.pw-hero__card--goal {
  background: linear-gradient(180deg, #d9f1df, #bfe6c9);
}

.pw-hero__card img,
.pw-hero__card .img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.pw-hero__card .img-placeholder {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pw-hero__tag {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  padding: 6px 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.pw-hero__card--goal .pw-hero__tag {
  background: var(--success-ink);
  color: #ffffff;
}

.pw-hero__arrow {
  position: absolute;
  top: 45%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 6px 14px rgb(31 79 138 / 18%);
  color: var(--success-ink);
}

.pw-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.pw-summary .pw-compare {
  padding-top: 40px;
}

.pw-compare__col {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.pw-compare__col--now {
  background: #fff0d4;
}

.pw-compare__col--goal {
  background: #e1f3e5;
}

.pw-compare__row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.pw-compare__row strong {
  font-size: 15px;
  font-weight: 800;
}

.pw-bars {
  display: flex;
  gap: 4px;
}

.pw-bars span {
  height: 6px;
  flex: 1;
  border-radius: 999px;
  background: rgb(38 55 70 / 10%);
}

/* Bloco da oferta. */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.plan-block {
  scroll-margin-top: 84px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pw-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.pw-title + .subtitle {
  margin-top: 6px;
}

.pw-goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-radius: var(--radius);
  background: var(--soft);
  padding: 14px;
}

.pw-goal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pw-goal__icon {
  display: grid;
  flex: 0 0 auto;
  color: var(--primary);
}

.pw-goal small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.pw-goal strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.pw-plan {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  border: 2px solid var(--primary);
  border-radius: 18px;
  background: var(--card);
  padding: 30px 14px 18px;
  box-shadow: 0 7px 20px rgb(31 79 138 / 12%);
}

.pw-plan__ribbon {
  position: absolute;
  top: -15px;
  right: -2px;
  left: -2px;
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 16px 16px 0 0;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pw-plan__radio {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
}

.pw-plan__info {
  flex: 1;
  min-width: 0;
}

.pw-plan__info strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.pw-plan__info span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.pw-plan__info s {
  margin-right: 4px;
  color: var(--muted);
  font-weight: 500;
}

.pw-plan__price {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-sm);
  background: var(--soft);
  padding: 8px 10px;
  color: var(--primary);
}

.pw-plan__price strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.pw-plan__price small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.pw-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buy-link,
.decline {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
}

.buy-link {
  box-shadow: 0 8px 20px rgb(31 79 138 / 26%);
  font-size: 16px;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .buy-link {
    animation: none;
  }
}

.decline {
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pw-terms {
  margin: 0;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.55;
  text-align: center;
}

.pw-final-cta {
  margin-top: 20px;
}

/* O que você recebe. */
.plan-features {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.plan-features__icon {
  display: grid;
  width: 35px;
  flex: 0 0 auto;
  color: var(--primary);
}

.plan-features li span:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.plan-features strong {
  color: var(--text);
  font-weight: 800;
}

/* Faixa de nomes que percorre a tela (lista duplicada, loop contínuo). */
.ticker {
  overflow: hidden;
  margin: 12px calc(var(--gutter) * -1) 0;
  padding: 4px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: ticker-scroll 40s linear infinite;
}

/* Espaço por item (e não gap) para o -50% casar exatamente com a lista duplicada. */
.ticker__track li {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-right: 26px;
}

.ticker__name {
  font-size: 13px;
  font-weight: 700;
}

.ticker__time {
  color: var(--muted);
  font-size: 11px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Depoimentos. */
.pw-stars {
  margin: 0 0 6px;
  color: var(--star);
  font-size: 22px;
  letter-spacing: 3px;
  text-align: center;
}

.reviews {
  display: grid;
  gap: 12px;
}

.review {
  margin: 0;
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
  box-shadow: var(--shadow);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-head strong {
  display: block;
  font-size: 14px;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.review-stars {
  color: var(--star);
  font-size: 12px;
  letter-spacing: 1px;
}

.review-meta small {
  color: var(--muted);
  font-size: 11px;
}

.review p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.review .avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

.avatar--initials {
  background: var(--soft);
  color: var(--primary);
  font-size: 13px;
}

/* Garantia. */
.guarantee-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 28px 22px 30px;
  text-align: center;
}

.guarantee-card__icon {
  display: grid;
  width: 49px;
  color: var(--success-ink);
}

.section h2.guarantee-card__title {
  margin: 14px 0 0;
  font-size: 20px;
}

.guarantee-card__text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* Perguntas frequentes. */
.faq-item {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 14px 16px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.pw-footer {
  margin: 36px 0 0;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}

/* Roleta de desconto. */
.modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  background: rgb(38 55 70 / 60%);
  padding: 20px;
}

.modal-card {
  position: relative;
  width: min(100%, 360px);
  border-radius: 20px;
  background: var(--card);
  padding: 24px;
  text-align: center;
  animation: rise 0.35s var(--ease) both;
}

.modal-card h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.modal-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.modal-card .buy-link {
  margin-top: 20px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}

.wheel-wrap {
  position: relative;
  width: 208px;
  margin: 24px auto 0;
}

.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
}

.wheel {
  position: relative;
  width: 208px;
  height: 208px;
  border: 8px solid var(--card);
  border-radius: 50%;
  outline: 2px solid var(--line);
  background: conic-gradient(
    var(--primary) 0deg 45deg,
    var(--lavender) 45deg 90deg,
    var(--sage) 90deg 135deg,
    var(--mustard) 135deg 180deg,
    var(--primary) 180deg 225deg,
    var(--lavender) 225deg 270deg,
    var(--sage) 270deg 315deg,
    var(--coral) 315deg 360deg
  );
  box-shadow: 0 10px 24px rgb(31 79 138 / 18%);
  transition: transform 4200ms cubic-bezier(0.15, 0.75, 0.2, 1);
}

.wheel-slice {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  transform: rotate(calc(var(--i) * 45deg + 22.5deg));
  pointer-events: none;
}

.wheel-slice span {
  max-width: 56px;
  margin-top: 16px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 4px solid var(--card);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 12px rgb(31 79 138 / 25%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.wheel-center:disabled {
  cursor: default;
}

/* Imagem ainda não criada: caixa com o nome do arquivo esperado. */

.img-placeholder {
  display: grid;
  width: 100%;
  min-height: 160px;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border: 2px dashed rgb(31 79 138 / 25%);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 12px;
  color: var(--primary);
  text-align: center;
  word-break: break-all;
}

.img-placeholder small {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.7;
}

.img-placeholder__emoji {
  font-size: 44px;
  line-height: 1;
}

.tile__media .img-placeholder {
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.tile__media .img-placeholder__emoji {
  font-size: 64px;
}

@media (max-width: 360px) {
  :root {
    --gutter: 16px;
  }

  .title {
    font-size: 23px;
  }

  .info-title {
    font-size: 25px;
    line-height: 31px;
  }
}
