/* Projeto Pilates 21D: identidade visual */
:root {
  --g-950: #0b2b20;
  --g-900: #0f3d2e;
  --g-800: #155440;
  --g-700: #1d6b50;
  --g-600: #24845f;
  --g-500: #2f9e6f;
  --g-400: #56b98b;
  --g-300: #8fd4b2;
  --g-200: #c4ead6;
  --g-100: #e4f5ec;
  --g-50: #f2faf5;
  --blush: #f6d9cc;
  --blush-ink: #b4664a;
  --sand: #f3e7cf;

  --ink: #14241d;
  --ink-2: #3e5148;
  --muted: #6b7d74;
  --line: #dce9e1;
  --bg: #f3f8f4;
  --card: #ffffff;

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 61, 46, .05), 0 3px 10px rgba(15, 61, 46, .06);
  --shadow-md: 0 8px 28px rgba(15, 61, 46, .11);
  --shadow-lg: 0 20px 50px rgba(15, 61, 46, .20);

  --font-display: 'Fraunces', Georgia, serif;
  --font-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --gutter: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 115% -10%, rgba(143, 212, 178, .38), transparent 60%),
    radial-gradient(700px 420px at -25% 8%, rgba(246, 217, 204, .45), transparent 60%);
  background-repeat: no-repeat;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
h1, h2 { margin: 0; }
h1:focus, h2:focus { outline: none; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--g-400); outline-offset: 3px; }

.ico { width: 22px; height: 22px; flex: none; }

/* ---------- Estrutura ---------- */
.app {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: calc(10px + env(safe-area-inset-top)) var(--gutter) 10px;
  background: rgba(243, 248, 244, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.topbar-row {
  display: grid;
  grid-template-columns: 44px 1fr 56px;
  align-items: center;
  min-height: 40px;
}
.brand {
  grid-column: 2;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--g-800);
  white-space: nowrap;
}
.brand b { color: var(--g-500); font-weight: 800; }
body[data-index="0"] .brand { visibility: hidden; }
.icon-btn {
  grid-column: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--g-800);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s var(--ease);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:active { transform: scale(.92); }
.step-count {
  grid-column: 3;
  justify-self: end;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.progress {
  height: 6px;
  margin-top: 10px;
  border-radius: 6px;
  background: var(--g-100);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--g-400), var(--g-600));
  transition: width .6s var(--ease);
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-100%);
  animation: shine 2.4s ease-in-out infinite;
}

.stage {
  flex: 1;
  display: grid;
  overflow-x: clip;
}
.screen {
  grid-area: 1 / 1;
  min-width: 0;
  padding: 14px var(--gutter) 8px;
}
.screen.in-fwd { animation: inFwd .48s var(--ease) both; }
.screen.in-back { animation: inBack .48s var(--ease) both; }
.screen.out-fwd { animation: outFwd .3s ease both; pointer-events: none; }
.screen.out-back { animation: outBack .3s ease both; pointer-events: none; }

.foot {
  padding: 18px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.link-btn {
  border: 0;
  background: none;
  padding: 4px 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--g-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Tipografia das perguntas ---------- */
.brand-logo {
  display: block;
  width: min(230px, 68vw);
  height: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}
.brand-logo-start { margin-top: -12px; margin-bottom: 4px; }
.brand-logo-compact { width: min(180px, 54vw); margin-bottom: 6px; }
.q-head { margin: 6px 0 18px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--g-100);
  color: var(--g-800);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .16em;
}
.eyebrow .ico { width: 15px; height: 15px; }
.q-title, .moti h1, .proc h1, .r-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(25px, 6.6vw, 31px);
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--g-950);
}
.q-sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.lead { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.muted { color: var(--muted); font-size: 14.5px; }
.fine { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 10px; }
.center { text-align: center; }
.kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g-600);
  margin-bottom: 6px;
}

/* ---------- Imagens / placeholders ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--g-100), var(--g-50) 55%, #fff);
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  text-align: center;
  color: var(--g-600);
  background-image: repeating-linear-gradient(45deg, rgba(47, 158, 111, .07) 0 10px, transparent 10px 20px);
}
.ph .ico { width: 26px; height: 26px; opacity: .8; }
.ph-text { display: flex; flex-direction: column; gap: 2px; }
.ph-text b { font-size: 12px; font-weight: 700; color: var(--g-800); }
.ph-text small { font-size: 10px; color: var(--muted); word-break: break-all; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-1-1 { aspect-ratio: 1; }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-16-9 { aspect-ratio: 16 / 9; }
.media.thumb { width: 58px; height: 58px; border-radius: 14px; flex: none; }
.media.thumb .ph-text { display: none; }
.media.thumb .ph .ico { width: 22px; height: 22px; }
.emoji-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--g-100);
  font-size: 30px;
  line-height: 1;
}
.q-hero { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); margin: 4px 0 6px; }

/* ---------- Opções ---------- */
.opts { display: flex; flex-direction: column; gap: 10px; }
.opts-photo-grid, .opts-photo-tiles, .opts-number-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.opts-photo-tiles > :last-child:nth-child(odd) { grid-column: span 2; }
.opts-photo-tiles > :last-child:nth-child(odd) .media { aspect-ratio: 2.4 / 1; }

.opt {
  position: relative;
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease), box-shadow .25s, border-color .2s, background-color .2s, color .2s;
}
.opt:active { transform: scale(.975); }
.screen.in-fwd .opt, .screen.in-back .opt { animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 120ms); }
.opt.pop { animation: pop .35s var(--ease) !important; }

.opt-label { font-weight: 650; font-size: 15.5px; line-height: 1.3; color: var(--ink); }

/* foto grande (idade) e tiles (regiões) */
.opt-photo-grid, .opt-photo-tiles {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.opt-photo-grid::after, .opt-photo-tiles::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 2.5px solid transparent;
  pointer-events: none;
  transition: border-color .2s;
}
.opt-photo-grid .opt-label, .opt-photo-tiles .opt-label { padding: 12px 14px 14px; font-weight: 750; }
.opt-photo-grid.is-selected, .opt-photo-tiles.is-selected { box-shadow: 0 0 0 5px rgba(47, 158, 111, .16), var(--shadow-md); }
.opt-photo-grid.is-selected::after, .opt-photo-tiles.is-selected::after { border-color: var(--g-500); }
.opt-photo-grid .opt-mark, .opt-photo-tiles .opt-mark {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .92);
  color: transparent;
  box-shadow: var(--shadow-sm);
  z-index: 3;
  transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.is-selected .opt-mark { transform: scale(1.06); }
.opt-photo-grid.is-selected .opt-mark, .opt-photo-tiles.is-selected .opt-mark { background: var(--g-500); color: #fff; }
.opt-mark .ico { width: 16px; height: 16px; stroke-width: 3; }
@media (hover: hover) {
  .opt-photo-grid:hover, .opt-photo-tiles:hover, .opt-number-grid:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .opt-icon-list:hover, .opt-thumb-list:hover { border-color: var(--g-300); }
}

/* linhas (ícone / miniatura) */
.opt-icon-list, .opt-thumb-list {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.opt-icon-list .opt-label, .opt-thumb-list .opt-label { flex: 1; }
.opt-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--g-100);
  color: var(--g-700);
  transition: background-color .2s, color .2s;
}
.opt-icon-list .opt-mark, .opt-thumb-list .opt-mark {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--g-200);
  display: grid;
  place-items: center;
  color: transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease);
}
.is-multi .opt-mark { border-radius: 8px; }
.opt-icon-list.is-selected, .opt-thumb-list.is-selected { border-color: var(--g-500); background: var(--g-50); }
.opt-icon-list.is-selected .opt-mark, .opt-thumb-list.is-selected .opt-mark { background: var(--g-500); border-color: var(--g-500); color: #fff; }
.opt-icon-list.is-selected .opt-icon { background: var(--g-500); color: #fff; }

/* números (tempo / dias) */
.opt-number-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 150px;
  padding: 18px 16px 16px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.opt-corner { position: absolute; top: 14px; right: 14px; color: var(--g-400); }
.opt-corner .ico { width: 20px; height: 20px; }
.opt-big {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: var(--g-800);
  margin-bottom: 6px;
}
.opt-big small { font-family: var(--font-ui); font-size: 14px; font-weight: 700; margin-left: 4px; color: var(--muted); }
.opt-number-grid .opt-label { font-size: 14px; }
.opt-note { font-size: 12.5px; color: var(--muted); }
.opt-number-grid .opt-mark { display: none; }
.dots { display: flex; gap: 4px; margin-top: 10px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--g-100); transition: background-color .2s; }
.dots i.on { background: var(--g-500); }
.opt-number-grid.is-selected {
  border-color: transparent;
  background: linear-gradient(155deg, var(--g-600), var(--g-800));
  box-shadow: 0 12px 28px rgba(21, 84, 64, .32);
}
.opt-number-grid.is-selected * { color: #fff; }
.opt-number-grid.is-selected .opt-note, .opt-number-grid.is-selected .opt-big small { color: rgba(255, 255, 255, .78); }
.opt-number-grid.is-selected .dots i { background: rgba(255, 255, 255, .25); }
.opt-number-grid.is-selected .dots i.on { background: #fff; }

/* ---------- Botões ---------- */
.cta-wrap {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 18px calc(var(--gutter) * -1) 0;
  padding: 18px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 62%, rgba(243, 248, 244, 0));
}
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  transition: transform .15s var(--ease), box-shadow .2s, opacity .2s, filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  width: 100%;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--g-500), var(--g-800));
  box-shadow: 0 10px 24px rgba(21, 84, 64, .30);
}
.btn-primary .ico { width: 20px; height: 20px; }
.btn-primary:active, .btn-cta:active { transform: scale(.98); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; filter: grayscale(.3); }
.btn-sm { width: auto; min-height: 46px; font-size: 14px; }
.btn-ghost {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--g-100);
  color: var(--g-800);
  font-size: 13px;
}
.btn-cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 66px;
  padding: 12px 22px;
  border-radius: 20px;
  font-size: 15.5px;
  line-height: 1.25;
  color: #fff;
  background: linear-gradient(135deg, #3cb97f, var(--g-700));
  box-shadow: 0 14px 32px rgba(29, 107, 80, .40);
  animation: pulse 2.4s ease-in-out infinite;
}
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35), transparent 70%);
  transform: translateX(-120%);
  animation: shine 3s ease-in-out infinite;
}

/* ---------- Motivacionais ---------- */
.moti { text-align: center; padding-top: 6px; }
.moti-media { border-radius: var(--r-xl); box-shadow: var(--shadow-md); margin-bottom: 24px; }
.screen.in-fwd .moti-media, .screen.in-fwd .mini-cal { animation: zoomIn .7s var(--ease) both; }
.moti p { margin: 12px auto 0; max-width: 36ch; color: var(--ink-2); font-size: 16px; }
.moti .moti-extra {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--blush);
  color: #6d3b29;
  font-size: 14.5px;
  max-width: none;
}
.moti-extra .ico { color: var(--blush-ink); margin-top: 1px; width: 20px; height: 20px; }

.mini-cal {
  margin: 4px auto 26px;
  padding: 18px;
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-md);
}
.mc-head { display: flex; align-items: center; gap: 8px; justify-content: center; font-weight: 750; color: var(--g-800); margin-bottom: 14px; }
.mc-head .ico { color: var(--g-500); }
.mc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.mc-cell {
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--g-50);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.mc-cell.on { background: var(--g-500); border-color: var(--g-500); color: #fff; animation: fillIn .45s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 300ms); }
.mc-cell .ico { width: 15px; height: 15px; stroke-width: 3; }
.mc-bar { height: 6px; margin-top: 16px; border-radius: 6px; background: var(--g-100); overflow: hidden; }
.mc-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--g-400), var(--g-600)); transform-origin: left; animation: grow 1.9s var(--ease) .3s both; }

/* ---------- Régua ---------- */
.ruler-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 18px;
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.ruler-value { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.ruler-value .num {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 600;
  line-height: 1;
  color: var(--g-900);
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.ruler-value .num.bump { animation: bump .18s ease-out; }
.ruler-value .unit { font-size: 22px; font-weight: 750; color: var(--g-600); }
.ruler-hint { margin-top: 4px; font-size: 13px; color: var(--muted); }
.ruler { position: relative; height: 90px; margin: 18px -20px 4px; }
.ruler-scroll {
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
.ruler-scroll::-webkit-scrollbar { display: none; }
.ruler-scroll.dragging { scroll-snap-type: none; cursor: grabbing; }
.ruler-scroll:focus-visible { outline: none; }
.ruler-scroll:focus-visible ~ .ruler-needle { box-shadow: 0 0 0 4px rgba(86, 185, 139, .45); }
.ruler-track { display: flex; width: max-content; height: 100%; }
.tick { position: relative; flex: 0 0 12px; height: 100%; scroll-snap-align: center; user-select: none; }
.tick::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 20px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--g-200);
}
.tick.mid::before { height: 30px; background: var(--g-300); }
.tick.major::before { height: 42px; width: 2.5px; background: var(--g-500); }
.tick i {
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.ruler-needle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 56px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--g-800);
  pointer-events: none;
  transition: box-shadow .2s;
}
.ruler-needle::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--g-800);
  box-shadow: 0 0 0 4px var(--g-100);
}
.ruler-fade { position: absolute; top: 0; bottom: 0; width: 70px; pointer-events: none; }
.ruler-fade.l { left: 0; background: linear-gradient(90deg, var(--card), rgba(255, 255, 255, 0)); }
.ruler-fade.r { right: 0; background: linear-gradient(-90deg, var(--card), rgba(255, 255, 255, 0)); }
.manual {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--g-50);
  font-size: 13.5px;
  color: var(--ink-2);
}
.manual .ico { width: 16px; height: 16px; color: var(--g-600); }
.manual input {
  width: 70px;
  padding: 6px 8px;
  border: 1.5px solid var(--g-200);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-align: center;
  color: var(--g-900);
}
.manual input:focus { outline: none; border-color: var(--g-500); box-shadow: 0 0 0 3px rgba(47, 158, 111, .18); }
.field-error { margin-top: 8px; font-size: 13px; font-weight: 700; color: #b2452f; }

.text-field input {
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  border: 1.5px solid var(--g-200);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  color: var(--g-950);
}
.text-field input::placeholder { color: var(--muted); font-weight: 500; }
.text-field input:focus { outline: none; border-color: var(--g-500); box-shadow: 0 0 0 4px rgba(47, 158, 111, .16); }

/* Destaque e carrossel de avaliações (processamento) */
.proc-result-highlight {
  margin-top: 22px;
  padding: 18px 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, var(--g-50), #fff);
  border: 1.5px solid var(--g-200);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.proc-result-highlight p { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink-2); }
.proc-result-highlight strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: clamp(34px, 10vw, 48px);
  line-height: 1;
  color: var(--g-700);
}
.reviews {
  width: calc(100% + var(--gutter) * 2);
  margin: 14px calc(var(--gutter) * -1) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 6px 0 10px;
  animation: marquee calc(var(--n) * 6s) linear infinite;
}
.review {
  width: 280px;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.review-top { display: flex; gap: 10px; align-items: center; }
.review-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--g-300), var(--g-600));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.review-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review-top div { display: flex; flex-direction: column; line-height: 1.25; }
.stars { color: #f5b301; font-size: 13px; letter-spacing: 1px; }
.review-top b { font-size: 14.5px; }
.review-top small { font-size: 11.5px; color: var(--muted); }
.review blockquote { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
html.reduce .reviews-track { animation: none; }

.goal-panel { margin-top: 16px; animation: rise .45s var(--ease) both; }
.goal-panel .kicker { margin-bottom: 4px; }

/* ---------- Processamento ---------- */
.proc { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 10px; }
.proc-ring { position: relative; width: 176px; height: 176px; margin: 26px 0 18px; }
.proc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.proc-ring .bg { fill: none; stroke: var(--g-100); stroke-width: 11; }
.proc-ring .fg { fill: none; stroke: url(#procGrad); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.proc-pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--g-900);
  font-variant-numeric: tabular-nums;
}
.proc-msg { min-height: 24px; font-weight: 750; color: var(--g-700); }
.proc-steps { list-style: none; padding: 0; margin: 20px 0 10px; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.proc-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  text-align: left;
  opacity: .5;
  transition: opacity .3s;
}
.st-ico {
  grid-row: span 2;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--g-100);
  color: var(--g-600);
  transition: background-color .3s, color .3s;
}
.st-ico .ico { width: 17px; height: 17px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .35s var(--ease); }
.st-ico .spin { position: absolute; inset: 6px; border-radius: 50%; border: 2.5px solid var(--g-200); border-top-color: var(--g-600); opacity: 0; }
.st-label { font-size: 14.5px; font-weight: 700; }
.bar { height: 6px; border-radius: 6px; background: var(--g-100); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--g-400), var(--g-600)); }
.proc-step.is-active, .proc-step.is-done { opacity: 1; }
.proc-step.is-active .spin { opacity: 1; animation: spin .8s linear infinite; }
.proc-step.is-active .bar i { width: 100%; transition: width var(--dur, 1s) linear; }
.proc-step.is-done .bar i { width: 100%; }
.proc-step.is-done .st-ico { background: var(--g-500); color: #fff; }
.proc-step.is-done .st-ico .ico { opacity: 1; transform: scale(1); }

/* ---------- Resultado ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.r-hero { text-align: center; padding: 8px 0 18px; }
.card {
  margin-bottom: 14px;
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.card h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--g-950); margin-bottom: 6px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.card-top h2 { margin-bottom: 0; }
.demo-badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: #7a5a1f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hl { color: var(--g-500); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--g-100);
  color: var(--g-800);
  font-size: 13px;
  font-weight: 700;
}
.chip .ico { width: 15px; height: 15px; }

/* gráficos */
.chart { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.c-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.c-axis { font-size: 10.5px; font-weight: 700; fill: var(--muted); font-family: var(--font-ui); }
.c-line { fill: none; stroke: var(--g-600); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease) .2s; }
.in .c-line { stroke-dashoffset: 0; }
.c-area { opacity: 0; transition: opacity .9s ease 1s; }
.in .c-area { opacity: 1; }
.c-dot { fill: #fff; stroke: var(--g-600); stroke-width: 3; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .45s var(--ease); transition-delay: calc(var(--i) * .38s + .2s); }
.in .c-dot { transform: scale(1); }
.c-val { font-family: var(--font-display); font-size: 15px; font-weight: 700; fill: var(--g-800); opacity: 0; transition: opacity .4s; transition-delay: calc(var(--i) * .38s + .4s); }
.in .c-val { opacity: 1; }

.c-guide { stroke: var(--g-200); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 0; transition: opacity .5s; transition-delay: calc(var(--i) * .25s + .6s); }
.in .c-guide { opacity: 1; }
.c-pending { fill: #fff; stroke: var(--g-300); stroke-width: 2; stroke-dasharray: 3 3; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .4s var(--ease); transition-delay: calc(var(--i) * .25s + .7s); }
.in .c-pending { transform: scale(1); animation: breathe 2.4s ease-in-out 2s infinite; }
.c-goal { stroke: var(--blush-ink); stroke-width: 2; stroke-dasharray: 7 6; stroke-dashoffset: 300; transition: stroke-dashoffset 1.6s var(--ease) .4s; }
.in .c-goal { stroke-dashoffset: 0; }
.c-goal-label { font-size: 11px; font-weight: 800; fill: var(--blush-ink); font-family: var(--font-ui); opacity: 0; transition: opacity .5s 1.2s; }
.in .c-goal-label { opacity: 1; }
.c-weight-line { stroke: var(--g-600); }
.c-weight-dot { fill: var(--g-400); }
.c-goal-dot { fill: var(--blush-ink); stroke: #fff; stroke-width: 2.5; }
.c-start { fill: var(--g-600); stroke: #fff; stroke-width: 2.5; }
.c-start-halo { fill: var(--g-400); opacity: .25; transform-box: fill-box; transform-origin: center; }
.in .c-start-halo { animation: halo 2s ease-out .4s infinite; }
.c-start-label { font-size: 11px; font-weight: 800; fill: var(--g-800); font-family: var(--font-ui); }
.w-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.w-legend span { display: inline-flex; align-items: center; gap: 6px; }
.w-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lg-start { background: var(--g-600); }
.lg-goal { border-radius: 2px !important; height: 3px !important; width: 16px !important; background: var(--blush-ink); }
.lg-pending { border: 2px dashed var(--g-300); }

.rings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.ring-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--r-lg); background: var(--g-50); text-align: center; }
.ring-wrap { position: relative; width: 96px; height: 96px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--g-100); stroke-width: 7; }
.ring-fg { fill: none; stroke: var(--g-500); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.3s var(--ease) .3s; }
.in .ring-fg { stroke-dashoffset: calc(100 - var(--p)); }
.ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ring-num b { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--g-900); }
.ring-num small { font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 3px; }
.ring-label { font-size: 12.5px; font-weight: 750; color: var(--ink-2); }

.card-safety { display: flex; gap: 14px; align-items: flex-start; background: #fff8f3; border: 1.5px solid var(--blush); box-shadow: none; }
.card-safety h2 { font-size: 18px; }
.card-safety p { font-size: 14px; color: var(--ink-2); }
.safety-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blush); color: var(--blush-ink); }

.amanda { padding: 0; overflow: hidden; }
.amanda-photo { position: relative; }
.amanda-photo .media { border-radius: 0; aspect-ratio: 4 / 5; background: var(--g-50); }
.amanda-photo .media img { object-fit: contain; object-position: center; }
.badge-virtual {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 61, 46, .85);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.amanda-body { padding: 20px; }
.amanda-body p { font-size: 15px; color: var(--ink-2); }

/* ---------- Tela final ---------- */
.final { text-align: center; padding-top: 4px; }
.final-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.1;
  color: var(--g-950);
  letter-spacing: -.01em;
}
.premium {
  margin: 24px 0 18px;
  border-radius: var(--r-xl);
  overflow: hidden;
  text-align: left;
  color: #fff;
  background: linear-gradient(160deg, var(--g-700), var(--g-950));
  box-shadow: var(--shadow-lg);
}
.premium-body { position: relative; padding: 20px; }
.premium-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sand);
}
.premium-tag .ico { width: 14px; height: 14px; fill: currentColor; }
.premium-name { margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--g-200); }
.premium-name b { display: block; font-family: var(--font-display); font-size: 34px; letter-spacing: .02em; color: #fff; font-weight: 700; }
.premium-body p { margin-top: 4px; color: rgba(255, 255, 255, .8); }
.premium-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.premium-stats div { padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, .1); text-align: center; }
.premium-stats b { display: block; font-size: 13.5px; line-height: 1.2; }
.premium-stats small { font-size: 10.5px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.benefits { list-style: none; padding: 0; margin: 0; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  font-weight: 650;
  font-size: 15px;
}
.b-ico { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--g-500); color: #fff; }
.b-ico .ico { width: 15px; height: 15px; stroke-width: 3; }
.benefits.reveal li { opacity: 0; transform: translateX(-10px); transition: opacity .45s, transform .45s var(--ease); transition-delay: calc(var(--i) * 90ms + .1s); }
.benefits.in li { opacity: 1; transform: none; }
.restart { display: block; margin: 10px auto 0; }

.price-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--card);
  border: 2px solid var(--g-500);
  box-shadow: var(--shadow-md);
}
.old-price { margin-top: 8px; font-size: 18px; font-weight: 850; color: #c62828; }
.old-price s { text-decoration-thickness: 2.5px; text-decoration-color: #c62828; }
.price { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1.05; color: var(--g-700); }
.price-sub { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

.guarantee {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--r-xl);
  background: var(--g-50);
  border: 1px solid var(--g-200);
  text-align: left;
}
.seal { width: 92px; height: 92px; flex: none; filter: drop-shadow(0 6px 14px rgba(21, 84, 64, .25)); }
.guarantee h2 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--g-950); }
.guarantee p { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }

.final-sec { margin-top: 30px; text-align: left; }
.final-sec h2 { font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.2; color: var(--g-950); text-align: center; margin-bottom: 14px; }
.review-list { display: flex; flex-direction: column; gap: 10px; }
.review-list .review { width: auto; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.result:only-child, .result:last-child:nth-child(odd) { grid-column: span 2; }
.result:last-child:nth-child(odd) .media { aspect-ratio: 16 / 10; }
.result figcaption { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.result figcaption b { font-size: 15px; }
.result-tag { font-size: 13.5px; font-weight: 800; color: var(--g-600); }

/* ---------- Diálogo e toast ---------- */
.dialog {
  max-width: min(440px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--r-xl);
  padding: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.dialog::backdrop { background: rgba(11, 43, 32, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog h2 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--g-950); }
.dialog ul { padding-left: 18px; margin: 14px 0 20px; color: var(--ink-2); font-size: 14.5px; display: flex; flex-direction: column; gap: 8px; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 50;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--g-950);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animações ---------- */
@keyframes inFwd { from { opacity: 0; transform: translateX(32px); } }
@keyframes inBack { from { opacity: 0; transform: translateX(-32px); } }
@keyframes outFwd { to { opacity: 0; transform: translateX(-32px); } }
@keyframes outBack { to { opacity: 0; transform: translateX(32px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }
@keyframes pop { 40% { transform: scale(.96); } 70% { transform: scale(1.015); } }
@keyframes bump { 50% { transform: scale(1.05); } }
@keyframes fillIn { from { transform: scale(.4); opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { 60%, 100% { transform: translateX(120%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 14px 32px rgba(29, 107, 80, .40), 0 0 0 0 rgba(60, 185, 127, .45); } 50% { box-shadow: 0 14px 32px rgba(29, 107, 80, .40), 0 0 0 12px rgba(60, 185, 127, 0); } }
@keyframes breathe { 50% { transform: scale(1.18); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
@keyframes halo { from { transform: scale(.6); opacity: .45; } to { transform: scale(1.8); opacity: 0; } }

/* Menos movimento: preferência do sistema ou botão no rodapé */
html.reduce *, html.reduce *::before, html.reduce *::after {
  animation-duration: 1ms !important;
  animation-delay: 0ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 1ms !important;
  transition-delay: 0ms !important;
  scroll-behavior: auto !important;
}

@media (min-width: 560px) {
  .app { padding-top: 12px; }
  .screen { padding-top: 22px; }
}
