/* ============================================================
   TurboFit360 — Premium Design System
   Mobile-first | Branco + Rosa/Magenta | Feminino & Moderno
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  --pink:          #E91E8C;
  --pink-dark:     #C2156E;
  --pink-mid:      #EE5FAA;
  --pink-light:    #FCE4F3;
  --pink-xlight:   #FFF5FB;
  --pink-glow:     rgba(233, 30, 140, 0.14);

  --text:          #1A1A2E;
  --text-2:        #4A4A6A;
  --text-3:        #9090B0;

  --bg:            #FFFFFF;
  --bg-subtle:     #FAFAFA;
  --border:        #EEECf8;
  --border-mid:    #DDD8F0;

  --radius-sm:     10px;
  --radius:        16px;
  --radius-lg:     24px;
  --radius-pill:   50px;

  --shadow-xs:     0 1px 4px rgba(0,0,0,0.05);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.06);
  --shadow:        0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.12);

  --header-h:      56px;
  --progress-h:    4px;
  --top-offset:    calc(var(--header-h) + var(--progress-h));
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
               'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

img { display: block; max-width: 100%; }

/* ============================================================
   LAYOUT SHELL
   ============================================================ */

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

/* ============================================================
   FIXED HEADER
   ============================================================ */

#quiz-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 6px;
  border-radius: 8px;
  transition: color 0.2s;
  visibility: hidden;
  min-width: 72px;
}

.btn-back.visible { visibility: visible; }
.btn-back:hover   { color: var(--pink); }

.header-logo {
  flex: 1;
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
  line-height: 1;
}

.header-logo span { color: var(--pink); }

.header-spacer { min-width: 72px; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */

#progress-wrap {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  height: var(--progress-h);
  background: var(--border);
}

#progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink-mid), var(--pink));
  border-radius: 0 2px 2px 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 2%;
}

/* ============================================================
   QUIZ CONTAINER
   ============================================================ */

#quiz-container {
  padding-top: var(--top-offset);
  min-height: 100vh;
}

/* ============================================================
   STEP TRANSITIONS
   ============================================================ */

@keyframes slideFromRight {
  from { transform: translateX(52px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes slideFromLeft {
  from { transform: translateX(-52px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

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

[data-dir="forward"] .step-inner {
  animation: slideFromRight 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

[data-dir="back"] .step-inner {
  animation: slideFromLeft 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

[data-dir="init"] .step-inner {
  animation: fadeUp 0.4s ease forwards;
}

/* ============================================================
   HERO IMAGE
   ============================================================ */

.hero-img-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(165deg, #FFF5FB 0%, #FCE4F3 45%, #F4BAD6 100%);
  flex-shrink: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-img-fallback {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
}

.hero-img-wrap.no-img .hero-img         { display: none; }
.hero-img-wrap.no-img .hero-img-fallback{ display: flex; }

.fallback-emoji { font-size: 72px; line-height: 1; }
.fallback-label {
  font-size: 11px;
  color: var(--pink-dark);
  opacity: 0.5;
  font-family: 'SF Mono', 'Fira Code', monospace;
  text-align: center;
  padding: 0 20px;
}

/* ============================================================
   STEP CONTENT AREA
   ============================================================ */

.step-inner { display: flex; flex-direction: column; min-height: calc(100vh - var(--top-offset)); }

.step-content {
  padding: 24px 20px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-inner:not(.has-hero) .step-content {
  padding-top: 32px;
}

/* ============================================================
   QUESTION TYPOGRAPHY
   ============================================================ */

.step-q {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  color: var(--text);
  letter-spacing: -0.4px;
}

.step-subtitle {
  font-size: 15px;
  color: var(--text-2);
  margin-top: 8px;
  line-height: 1.55;
}

/* ============================================================
   OPTION CARDS — Single Select (vertical)
   ============================================================ */

.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.options-list.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.12s, box-shadow 0.18s;
  position: relative;
  box-shadow: var(--shadow-xs);
  -webkit-tap-highlight-color: transparent;
}

.option-card:hover {
  border-color: var(--pink-mid);
  box-shadow: var(--shadow-sm);
}

.option-card:active {
  transform: scale(0.975);
}

.option-card.selected {
  border-color: var(--pink);
  background: var(--pink-xlight);
  box-shadow: 0 0 0 3px var(--pink-glow), var(--shadow-sm);
}

.option-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.option-label {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.option-check-wrap {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, border-color 0.18s;
  color: transparent;
}

.option-card.selected .option-check-wrap {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

/* ---- Grid-2 card variant ---- */
.options-list.grid-2 .option-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 12px 18px;
  gap: 10px;
  min-height: 100px;
  justify-content: center;
}

.options-list.grid-2 .option-icon  { font-size: 32px; }
.options-list.grid-2 .option-label { font-size: 15px; font-weight: 600; }
.options-list.grid-2 .option-check-wrap { display: none; }

/* ============================================================
   MULTI-SELECT OPTION CARDS
   ============================================================ */

.multi-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.12s;
  box-shadow: var(--shadow-xs);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.multi-option-card:active { transform: scale(0.975); }

.multi-option-card.selected {
  border-color: var(--pink);
  background: var(--pink-xlight);
}

.multi-check-wrap {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
  color: transparent;
}

.multi-option-card.selected .multi-check-wrap {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.multi-label {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   INFO SCREEN
   ============================================================ */

.info-content {
  text-align: center;
  align-items: center;
}

.info-headline {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.info-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 340px;
}

.info-subheadline {
  font-size: 17px;
  font-weight: 600;
  color: var(--pink);
  margin-top: -6px;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* ============================================================
   INFO + BULLETS (mecanismo / quebra de crença)
   ============================================================ */

.info-bullets-content {
  align-items: flex-start;
}

.mechanism-badge {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.bullets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 32px;
  width: 100%;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.bullet-icon { font-size: 22px; flex-shrink: 0; }
.bullet-text { font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.35; }

/* ============================================================
   PRIMARY BUTTON
   ============================================================ */

.btn-primary {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  letter-spacing: 0.1px;
  box-shadow: 0 6px 22px rgba(233, 30, 140, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
  margin-top: auto;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 30px rgba(233, 30, 140, 0.42);
}

.btn-primary:active {
  transform: scale(0.975);
  box-shadow: 0 4px 14px rgba(233, 30, 140, 0.3);
}

/* ============================================================
   CONTINUE BUTTON (footer fixed on mobile for long steps)
   ============================================================ */

.footer-cta-wrap {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px 20px;
  background: linear-gradient(to top, rgba(255,255,255,1) 70%, rgba(255,255,255,0));
  z-index: 10;
}

/* ============================================================
   STEP-SPECIFIC: REFORÇO / TELA INFO CENTRAL
   ============================================================ */

.reforco-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 0 12px;
}

.reforco-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.reforco-headline {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.28;
  color: var(--text);
  letter-spacing: -0.3px;
}

.reforco-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 300px;
}

/* ============================================================
   STEP NUMBER HINT
   ============================================================ */

.step-hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ============================================================
   PROVAS SOCIAIS — mini cards dentro de steps info
   ============================================================ */

.social-proof-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 20px;
  margin-bottom: 28px;
  padding-bottom: 4px;
}

.social-proof-strip::-webkit-scrollbar { display: none; }

.sp-card {
  flex-shrink: 0;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 200px;
}

.sp-stars { color: #F59E0B; font-size: 13px; margin-bottom: 6px; }
.sp-text  { font-size: 13px; color: var(--text-2); line-height: 1.5; margin-bottom: 8px; }
.sp-name  { font-size: 12px; font-weight: 700; color: var(--text-3); }

/* ============================================================
   ANIMAÇÕES DE ELEMENTOS INDIVIDUAIS
   ============================================================ */

@keyframes popIn {
  0%   { transform: scale(0.88); opacity: 0; }
  70%  { transform: scale(1.03); }
  100% { transform: scale(1);    opacity: 1; }
}

.pop-in { animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

/* ============================================================
   MULTI-SELECT — variante grid-2
   ============================================================ */

.multi-list.grid-2 .multi-option-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px 16px;
  gap: 8px;
  min-height: 100px;
  justify-content: center;
}

.multi-list.grid-2 .option-icon     { font-size: 28px; }
.multi-list.grid-2 .multi-label     { font-size: 14px; font-weight: 600; }
.multi-list.grid-2 .multi-check-wrap{ display: none; }

/* Badge de seleção no canto superior direito */
.multi-list.grid-2 .multi-option-card.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

/* ============================================================
   BODY TYPE CARDS (step 10)
   ============================================================ */

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

.body-type-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.12s;
  background: var(--bg);
  box-shadow: var(--shadow-xs);
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}

.body-type-card:active { transform: scale(0.975); }

.body-type-card.selected {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-glow), var(--shadow-sm);
}

.body-type-img-wrap {
  width: 100%;
  height: 130px;
  background: linear-gradient(165deg, #FFF5FB, #FCE4F3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.body-type-emoji {
  font-size: 54px;
  line-height: 1;
  /* base layer — emoji shows when image absent or fails */
}

.body-type-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  /* covers emoji when image loads */
}

.body-type-label {
  padding: 10px 8px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.body-type-card.selected .body-type-label { color: var(--pink-dark); }

/* ============================================================
   UTILITÁRIOS
   ============================================================ */

.text-center { text-align: center; }
.text-pink   { color: var(--pink); }
.mt-auto     { margin-top: auto; }
.w-full      { width: 100%; }

/* ============================================================
   SLIDER (steps 16–18)
   ============================================================ */

.slider-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 16px;
}

.slider-big-val {
  font-size: 64px;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
  letter-spacing: -2px;
}

.slider-unit-lbl {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-2);
}

.unit-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.unit-btn {
  padding: 6px 20px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.18s;
}

.unit-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.slider-wrap { margin-bottom: 8px; }

.slider-input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pink);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(233,30,140,0.4);
  border: 3px solid #fff;
}

.slider-input::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(233,30,140,0.4);
}

.slider-minmax {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
}

/* IMC card */
.imc-card {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.imc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.imc-lbl { font-size: 14px; color: var(--text-2); font-weight: 500; }
.imc-val { font-size: 22px; font-weight: 800; color: var(--text); }

.imc-bar-wrap {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.imc-bar-fill { height: 100%; border-radius: 3px; transition: width 0.4s, background 0.4s; }
.imc-cat { font-size: 13px; font-weight: 600; }

/* ============================================================
   NUMBER INPUT (step 19)
   ============================================================ */

.num-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 36px 0;
}

.num-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pink-light);
  color: var(--pink);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: background 0.18s, transform 0.12s;
}

.num-btn:active { transform: scale(0.9); }

.num-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.num-val  { font-size: 60px; font-weight: 800; color: var(--pink); letter-spacing: -2px; line-height: 1; }
.num-unit { font-size: 16px; color: var(--text-2); font-weight: 500; }

/* ============================================================
   CHART COMPARE (step 28)
   ============================================================ */

.chart-wrap { margin: 20px 0; }

.chart-svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: block;
}

.chart-legend {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   LOADING (step 29)
   ============================================================ */

.loading-content {
  align-items: center;
  text-align: center;
  justify-content: center;
}

.loading-bar-outer {
  width: 100%;
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
  margin: 28px 0 12px;
}

.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink-mid), var(--pink));
  border-radius: 5px;
  transition: width 0.15s linear;
}

.loading-pct { font-size: 28px; font-weight: 800; color: var(--pink); margin-bottom: 6px; }
.loading-msg { font-size: 14px; color: var(--text-2); min-height: 20px; margin-bottom: 28px; }

.loading-sp-strip {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.loading-sp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  opacity: 0.4;
  transition: opacity 0.4s, border-color 0.4s;
  font-size: 28px;
}

.loading-sp-card span { font-size: 11px; color: var(--text-2); margin-top: 2px; }
.loading-sp-card.active { opacity: 1; border-color: var(--pink-mid); }

/* ============================================================
   WEIGHT CHART (step 30)
   ============================================================ */

.weight-chart-wrap { margin: 4px 0; }

.wc-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wc-lbl-item { display: flex; flex-direction: column; gap: 2px; }
.wc-lbl-val  { font-size: 20px; font-weight: 800; color: var(--text); }
.wc-lbl-sub  { font-size: 11px; color: var(--text-3); font-weight: 500; }

.weight-svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 8px 0;
}

.weight-disclaimer { font-size: 11px; color: var(--text-3); margin-top: 8px; text-align: center; }

/* ============================================================
   PROFILE RESULT (step 31)
   ============================================================ */

.profile-imc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 16px 0;
}

.profile-imc-num  { font-size: 48px; font-weight: 900; line-height: 1; }
.profile-imc-info { display: flex; flex-direction: column; gap: 3px; }
.profile-imc-lbl  { font-size: 12px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.profile-imc-cat  { font-size: 16px; font-weight: 700; }

.profile-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pc-icon  { font-size: 24px; flex-shrink: 0; }
.pc-title { display: block; font-size: 11px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.pc-val   { display: block; font-size: 15px; font-weight: 700; color: var(--text); }

.profile-blocker {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--pink-xlight);
  border: 1.5px solid var(--pink-light);
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.pb-icon { font-size: 22px; flex-shrink: 0; }
.profile-blocker p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.profile-blocker strong { color: var(--text); }

/* ============================================================
   SCRATCH CARD (step 34)
   ============================================================ */

.scratch-wrap {
  position: relative;
  width: 280px;
  height: 160px;
  margin: 24px auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.scratch-prize {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: #fff;
}

.scratch-pct      { font-size: 48px; font-weight: 900; letter-spacing: -2px; }
.scratch-prize-sub{ font-size: 12px; opacity: 0.85; }

.scratch-canvas {
  position: absolute;
  inset: 0;
  cursor: crosshair;
  touch-action: none;
  border-radius: var(--radius);
}

.scratch-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

.scratch-hand { font-size: 20px; animation: scratchWave 1.2s ease-in-out infinite alternate; }

@keyframes scratchWave {
  from { transform: translateX(-6px) rotate(-10deg); }
  to   { transform: translateX(6px)  rotate(10deg); }
}

.scratch-badge {
  background: var(--pink-light);
  color: var(--pink-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 4px;
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* ============================================================
   VSL PAGE (step 35)
   ============================================================ */

#quiz-container.vsl-mode { padding-top: 0; }

.vsl-page {
  padding-top: calc(var(--header-h) + 44px);
  background: #fff;
  min-height: 100vh;
}

.vsl-timer-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 98;
  height: 44px;
  background: #1A1A2E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.vsl-cd {
  color: var(--pink-mid);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
}

.vsl-top {
  padding: 24px 20px 16px;
  text-align: center;
}

.vsl-headline    { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.25; letter-spacing: -0.3px; margin-bottom: 10px; }
.vsl-sub         { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* Video player */
.vsl-player-outer {
  padding: 0 0 4px;
}

.vsl-player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 60vh;
  background: #0A0A0A;
  overflow: hidden;
}

.vsl-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(160deg, #1A1A2E 0%, #2D1B3D 100%);
}

.vsl-play-btn {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  transition: transform 0.18s;
}
.vsl-play-btn:hover { transform: scale(1.08); }
.vsl-play-hint      { color: rgba(255,255,255,0.7); font-size: 13px; }

.vsl-vbar-wrap { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: rgba(255,255,255,0.2); }
.vsl-vbar      { height: 100%; background: var(--pink); transition: width 0.9s linear; }

/* Lock indicator */
.vsl-lock {
  margin: 12px 20px;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.vsl-lock-inner { display: flex; align-items: center; gap: 12px; font-size: 22px; }
.vsl-lock-txt   { font-size: 13px; color: var(--text-2); font-weight: 500; margin-bottom: 8px; }

.vsl-lock-bar-wrap { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.vsl-lock-bar      { height: 100%; background: var(--pink); border-radius: 3px; transition: width 0.9s linear; }

/* Offer section */
.vsl-offer { padding: 0 0 40px; }

.vsl-cta-block {
  padding: 24px 20px;
  text-align: center;
  background: var(--pink-xlight);
  border-top: 3px solid var(--pink);
}

.vsl-scarcity {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 14px;
  font-weight: 500;
}

.vsl-scarcity strong { color: var(--pink-dark); }

.vsl-cta {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(233,30,140,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  animation: pulseBtn 2.5s ease-in-out infinite;
}

@keyframes pulseBtn {
  0%,100% { box-shadow: 0 6px 20px rgba(233,30,140,0.35); }
  50%      { box-shadow: 0 8px 32px rgba(233,30,140,0.55); }
}

.vsl-guar-hint { font-size: 12px; color: var(--text-3); margin-top: 10px; }

.vsl-sec        { padding: 24px 20px 8px; }
.vsl-sec-title  { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 16px; }

.vsl-benefits { display: flex; flex-direction: column; gap: 12px; }
.vsl-benefit  { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--text); }
.vsl-benefit span:first-child { font-size: 22px; }

/* App mockup */
.vsl-mockup-wrap {
  margin: 8px 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vsl-mockup         { width: 100%; display: block; }
.vsl-mockup-fallback{ flex-direction: column; align-items: center; gap: 8px; padding: 40px; }
.vsl-mockup-fallback p { font-size: 11px; color: var(--text-3); font-family: monospace; }

/* Price card */
.vsl-price-card {
  margin: 16px 20px;
  padding: 24px 20px;
  background: #fff;
  border: 2px solid var(--pink);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.vsl-price-from    { font-size: 14px; color: var(--text-3); margin-bottom: 4px; }
.vsl-price-label   { font-size: 13px; color: var(--text-2); }
.vsl-price-main    { font-size: 52px; font-weight: 900; color: var(--pink); letter-spacing: -2px; line-height: 1.1; }
.vsl-price-info    { font-size: 13px; color: var(--text-2); margin: 6px 0 10px; }
.vsl-price-warning { font-size: 12px; color: var(--pink-dark); font-weight: 600; padding: 8px 12px; background: var(--pink-xlight); border-radius: 8px; margin-bottom: 4px; }

/* Testimonials */
.vsl-tests { display: flex; flex-direction: column; gap: 12px; }
.vsl-test  { padding: 16px; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius); }
.vsl-test-stars { color: #F59E0B; font-size: 13px; margin-bottom: 6px; }
.vsl-test-txt   { font-size: 14px; line-height: 1.6; color: var(--text-2); margin-bottom: 8px; font-style: italic; }
.vsl-test-name  { font-size: 12px; font-weight: 700; color: var(--text-3); }

/* Bonus */
.vsl-bonus-sec { background: var(--pink-xlight); }
.vsl-bonus     { display: flex; flex-direction: column; gap: 12px; }
.vsl-bonus-item{ display: flex; align-items: flex-start; gap: 12px; }
.vb-icon       { font-size: 24px; flex-shrink: 0; }
.vb-title      { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.vb-desc       { display: block; font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* Guarantee */
.vsl-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 20px 8px;
  padding: 20px;
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: var(--radius);
}

.vsl-guar-title { font-size: 16px; font-weight: 800; color: #166534; margin-bottom: 6px; }
.vsl-guar-txt   { font-size: 13px; line-height: 1.6; color: #166534; opacity: 0.85; }

/* FAQ */
.vsl-faq { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  gap: 12px;
}

.faq-a { padding: 0 0 16px; font-size: 14px; color: var(--text-2); line-height: 1.6; }

.vsl-final-cta { border-top: 1px solid var(--border); }

/* ============================================================
   DESKTOP — Centralizado, max-width 480px
   ============================================================ */

@media (min-width: 768px) {
  body { background: #F3F1FA; }

  #quiz-header {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
  }

  #progress-wrap {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
  }

  #quiz-container {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: var(--shadow-lg);
  }

  .step-q       { font-size: 24px; }
  .info-headline{ font-size: 26px; }
  .hero-img-wrap{ height: 300px;   }

  .vsl-timer-bar {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
  }

  .vsl-player { max-height: 55vh; }
}
