/* ════════════════════════════════════════════
   GATILLOS DE LA MENTE GORDA – Quiz Styles
   Optimized for Cloudflare Pages
   ════════════════════════════════════════════ */

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

:root {
  --purple:       #6B21A8;
  --purple-light: #9333EA;
  --purple-soft:  #EDE9FE;
  --purple-mid:   #7C3AED;
  --green:        #16A34A;
  --green-light:  #DCFCE7;
  --red:          #DC2626;
  --red-light:    #FEE2E2;
  --yellow-light: #FEFCE8;
  --yellow-border:#CA8A04;
  --text-dark:    #1E1B4B;
  --text-mid:     #4B5563;
  --text-light:   #9CA3AF;
  --white:        #FFFFFF;
  --bg:           #F9FAFB;
  --border:       #E5E7EB;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow-sm:    0 2px 8px rgba(107,33,168,.10);
  --shadow-md:    0 4px 24px rgba(107,33,168,.15);
  --transition:   .22s cubic-bezier(.4,0,.2,1);
  --max-w:        480px;
  --font-head:    'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-dark);
  min-height: 100dvh;
  overscroll-behavior: none;
}

/* ── Header ── */
.quiz-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 12px;
}
.logo-small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: .08em;
  text-transform: lowercase;
}
.logo-big {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.05;
}
.logo-big em {
  font-style: normal;
  color: var(--purple);
}
.logo-institute {
  font-size: 9px;
  color: var(--text-light);
  letter-spacing: .06em;
  margin-top: 2px;
}

.progress-wrap {
  height: 5px;
  background: #E9D5FF;
  border-radius: 99px;
  overflow: hidden;
  margin: 0 -20px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 99px;
  width: 0%;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

/* ── Main Layout ── */
.quiz-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 20px 60px;
}

/* ── Steps ── */
.step {
  display: none;
  animation: fadeSlideIn .35s ease forwards;
}
.step.active { display: block; }

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

/* ── Typography ── */
.step-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.step-label {
  font-size: 14px;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 22px;
}
.step-label strong { color: var(--text-dark); }

.sub-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 20px 0 16px;
}

.accent { color: var(--purple); }
.accent-green { color: var(--green); }

/* ── Placeholder images ── */
.placeholder-img {
  background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  border: 2px dashed #C4B5FD;
}
.placeholder-img span { font-size: 24px; }
.placeholder-img small { color: var(--text-mid); font-weight: 400; }

.hero-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 24px;
}
.body-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
}
.testimonial-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  margin: 20px 0;
}

/* ── Alert box ── */
.alert-box {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: #991B1B;
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.5;
}
.alert-box strong { color: #7F1D1D; }

/* ── Buttons ── */
.btn-primary {
  display: block;
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: .03em;
  box-shadow: 0 4px 20px rgba(107,33,168,.35);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-top: 16px;
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(107,33,168,.45); }
.btn-primary:active { transform: scale(.97); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-cta {
  display: block;
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: .04em;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 24px rgba(22,163,74,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  margin: 14px 0;
}
.btn-cta:hover  { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(22,163,74,.5); }
.btn-cta:active { transform: scale(.97); }

/* Pulse animation for CTAs */
.pulse-btn {
  animation: pulseCta 2s ease-in-out infinite;
}
@keyframes pulseCta {
  0%,100% { box-shadow: 0 4px 20px rgba(107,33,168,.35); }
  50%      { box-shadow: 0 4px 32px rgba(107,33,168,.6), 0 0 0 8px rgba(107,33,168,.1); }
}
.btn-cta.pulse-btn {
  animation: pulseGreen 2s ease-in-out infinite;
}
@keyframes pulseGreen {
  0%,100% { box-shadow: 0 4px 24px rgba(22,163,74,.4); }
  50%      { box-shadow: 0 4px 36px rgba(22,163,74,.7), 0 0 0 8px rgba(22,163,74,.12); }
}

/* Ripple effect */
.ripple { position: relative; overflow: hidden; }
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transform: scale(0);
  animation: rippleAnim .5s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── Option list ── */
.option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opt-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.opt-btn:hover {
  border-color: var(--purple-light);
  background: var(--purple-soft);
  transform: translateY(-1px);
}
.opt-btn.selected {
  border-color: var(--purple);
  background: var(--purple-soft);
}

.opt-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}
.opt-emoji { font-size: 22px; flex-shrink: 0; }
.opt-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ── Body type grid ── */
.body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.body-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.body-card:hover  { border-color: var(--purple-light); transform: translateY(-2px); }
.body-card.selected { border-color: var(--purple); }

.body-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

/* ── Checkbox list ── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.check-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  box-shadow: var(--shadow-sm);
}
.check-opt:hover { border-color: var(--purple-light); background: var(--purple-soft); }
.check-opt.checked { border-color: var(--purple); background: var(--purple-soft); }

.check-emoji { font-size: 22px; flex-shrink: 0; }
.check-text  { font-size: 15px; font-weight: 500; flex: 1; }

.check-opt input[type="checkbox"] { display: none; }

.custom-check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}
.check-opt.checked .custom-check {
  background: var(--purple);
  border-color: var(--purple);
}
.check-opt.checked .custom-check::after {
  content: '✓';
  color: white;
  font-size: 13px;
  font-weight: 700;
}

/* ── Video placeholder ── */
.video-placeholder {
  background: linear-gradient(135deg, #1E1B4B 0%, #2D1B69 100%);
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  text-align: center;
}
.play-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  box-shadow: 0 4px 20px rgba(107,33,168,.5);
  transition: transform var(--transition);
}
.video-placeholder:hover .play-btn { transform: scale(1.1); }

/* ── Unit toggle ── */
.unit-toggle {
  display: flex;
  background: #F3F4F6;
  border-radius: 99px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 20px;
  gap: 4px;
}
.unit-btn {
  padding: 8px 22px;
  border-radius: 99px;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
}
.unit-btn.active {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(107,33,168,.3);
}

/* ── Slider display ── */
.slider-display {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  line-height: 1;
  margin-bottom: 16px;
}
.unit-label {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-mid);
}

/* ── Ruler slider ── */
.ruler-wrap { margin-bottom: 4px; }

.ruler-track {
  position: relative;
  height: 80px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.ruler-ticks {
  display: flex;
  position: absolute;
  top: 0;
  height: 50px;
  transition: transform .05s linear;
  gap: 0;
}
.ruler-tick {
  width: 18px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ruler-tick .tick-line {
  width: 1.5px;
  background: #D1D5DB;
  border-radius: 2px;
}
.ruler-tick.major .tick-line  { background: #6B7280; }
.ruler-tick .tick-num {
  font-size: 11px;
  color: var(--text-light);
  white-space: nowrap;
}

.ruler-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 68px;
  background: var(--purple);
  border-radius: 2px;
  top: 0;
  pointer-events: none;
}
.ruler-indicator::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--purple);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.ruler-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
  margin-bottom: 20px;
}

/* ── Text input ── */
.input-group { margin-bottom: 16px; }
.input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.text-input {
  width: 100%;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.text-input:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(147,51,234,.15);
}
.text-input::placeholder { color: var(--text-light); }

/* ── Loading ── */
.loading-section { text-align: center; margin-bottom: 24px; }
.loading-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 18px;
}
.loading-text strong { color: var(--text-dark); }

.loading-bar-wrap {
  height: 10px;
  background: #E9D5FF;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}
.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 99px;
  width: 0%;
  transition: width .3s ease;
}
.loading-pct {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
}

/* ── Testimonial card ── */
.testimonial-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ── IMC card ── */
.imc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.imc-label { font-size: 12px; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing:.05em; }
.imc-value {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 6px 0 14px;
}

.imc-bar-wrap { margin-bottom: 12px; }
.imc-bar {
  height: 12px;
  background: linear-gradient(90deg, #60A5FA 0%, #4ADE80 30%, #FACC15 60%, #F87171 100%);
  border-radius: 99px;
  position: relative;
  margin-bottom: 6px;
}
.imc-fill { display: none; }
.imc-cursor {
  position: absolute;
  top: -4px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 3px solid var(--purple);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: left .6s ease;
}

.imc-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-light);
  font-weight: 600;
}
.imc-zone {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow-border);
  background: var(--yellow-light);
  border-radius: 99px;
  padding: 4px 14px;
  display: inline-block;
  margin-top: 6px;
}

/* ── Diagnosis boxes ── */
.diagnosis-box {
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.65;
}
.diagnosis-box h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.diagnosis-box p + p { margin-top: 10px; }

.diagnosis-box.yellow {
  background: var(--yellow-light);
  border: 1px solid #FDE68A;
  color: #713F12;
}
.diagnosis-box.red {
  background: var(--red-light);
  border: 1px solid #FECACA;
  color: #7F1D1D;
}
.diagnosis-box.green {
  background: var(--green-light);
  border: 1px solid #BBF7D0;
  color: #14532D;
}

.symptom-list, .benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.symptom-list li { font-weight: 600; }
.benefit-list li { font-weight: 600; color: #15803D; }

.highlight-text {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #15803D;
  margin: 12px 0 !important;
}

/* ── Result page ── */
.result-title {
  font-size: clamp(20px, 5.5vw, 26px);
  margin-bottom: 12px;
}
.result-sub {
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ── Sales page ── */
.sales-header { text-align: center; margin-bottom: 20px; }
.sales-badge-strip {
  background: var(--green-light);
  border: 1px solid #86EFAC;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: #14532D;
  line-height: 1.5;
}

/* ── Projection ── */
.projection-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.projection-grid {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.proj-col { flex: 1; }
.proj-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 10px;
}
.after-label { color: var(--green); }

.proj-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 100px;
  gap: 8px;
}
.proj-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}
.proj-bar {
  width: 100%;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
  min-height: 12px;
}
.proj-bar span { font-size: 10px; font-weight: 700; color: white; }
.red-bar   { background: linear-gradient(180deg, #EF4444, #B91C1C); }
.green-bar { background: linear-gradient(180deg, #22C55E, #15803D); }
.proj-bar-item > p { font-size: 10px; color: var(--text-mid); text-align: center; }

.proj-divider {
  font-size: 20px;
  color: var(--text-light);
  padding-bottom: 40px;
  flex-shrink: 0;
}

/* ── Social proof ── */
.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  animation: slideInLeft .5s ease;
}
@keyframes slideInLeft {
  from { transform: translateX(-20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.sp-avatar { font-size: 28px; flex-shrink: 0; }

/* ── Price block ── */
.price-block {
  background: var(--white);
  border: 2px solid var(--purple-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}
.price-badge {
  background: var(--purple);
  color: white;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  border-radius: 99px;
  padding: 4px 14px;
  display: inline-block;
  margin-bottom: 12px;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.product-name { font-size: 14px; font-weight: 700; color: var(--text-dark); flex: 1; }
.price-tag { display: flex; align-items: center; gap: 6px; }
.discount-badge {
  background: #FEF08A;
  color: #713F12;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  padding: 2px 6px;
}
.price-new {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
}
.price-new strong { font-size: 26px; font-weight: 800; color: var(--purple); }
.price-freq { font-size: 11px; color: var(--text-light); }
.price-old {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-mid);
  margin: 10px 0 6px;
}

.timer-strip {
  text-align: center;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  background: var(--red-light);
  border-radius: 8px;
  padding: 8px;
  margin-top: 8px;
}
.timer-strip strong { font-size: 16px; font-family: var(--font-head); }

/* ── Bonus cards ── */
.bonus-section { margin-bottom: 20px; }
.bonus-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.bonus-icon { font-size: 28px; flex-shrink: 0; }
.bonus-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.bonus-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  text-decoration: line-through;
  margin: 2px 0 6px;
}
.bonus-desc { font-size: 13px; color: var(--text-mid); line-height: 1.5; }

/* ── Guarantee box ── */
.guarantee-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 2px dashed var(--purple-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
}
.guarantee-seal {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}
.guarantee-seal small { font-size: 9px; font-weight: 600; letter-spacing: .05em; }
.guarantee-box h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.guarantee-box p { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

/* ══════════════════════════════════════════
   NOVOS ELEMENTOS — REESCRITA HTML
══════════════════════════════════════════ */

/* ── Step subtitle ── */
.step-sub {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  text-align: center;
  margin-bottom: 22px;
}
.step-sub strong { color: var(--text-dark); }

/* ── Micro-label de passo ── */
.step-micro-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--purple);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

/* ── Social proof mini (landing) ── */
.social-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-light);
  border: 1px solid #BBF7D0;
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 13px;
  color: #15803D;
  margin-bottom: 16px;
}
.social-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

/* ── Disclaimer pequeno ── */
.step-disclaimer {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* ── Opt-text wrapper ── */
.opt-text {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

/* ── Insight banner ── */
.insight-banner {
  background: linear-gradient(135deg, #FEF9C3, #FEF08A);
  border: 1px solid #FDE047;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: #713F12;
  line-height: 1.55;
  margin-bottom: 20px;
  text-align: center;
}
.insight-banner strong { color: #78350F; }

/* ── Video placeholder melhorado ── */
.video-caption {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  font-style: italic;
  margin: 0;
}
.video-duration {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
  display: block;
}

/* ── Input social proof ── */
.input-social-proof {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 10px 0 16px;
  padding: 0 4px;
}

/* ── Loading headline ── */
.loading-headline {
  font-family: var(--font-head);
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 14px;
}

/* ── Result page ── */
.result-cta-block {
  text-align: center;
  margin-top: 24px;
}
.result-cta-pre {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 12px;
}
.result-testimonial {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 20px 0;
}

/* ── Diagnosis enhancements ── */
.diag-section-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  color: inherit;
}
.diag-warning {
  font-size: 12px;
  font-style: italic;
  margin-top: 12px;
  opacity: .8;
}

/* ── Solution steps ── */
.solution-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}
.sol-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.6);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.sol-num {
  width: 28px;
  height: 28px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.sol-step div { font-size: 14px; line-height: 1.4; }
.sol-step strong { color: #065F46; }

/* ── Sales page enhancements ── */
.sales-confirm-icon {
  font-size: 40px;
  text-align: center;
  margin-bottom: 12px;
}
.sales-title { text-align: center; margin-bottom: 12px; }

.proj-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--text-light);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ── Price hero display ── */
.price-hero {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin: 8px 0 4px;
}
.price-currency {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--purple);
}
.price-amount {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}
.price-cents {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--purple);
}
.price-sub {
  font-size: 12px;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 12px;
}

/* ── Bonus enhancements ── */
.bonus-icon-wrap { font-size: 28px; flex-shrink: 0; line-height: 1; padding-top: 2px; }
.bonus-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.bonus-name { font-size: 14px; font-weight: 700; color: var(--text-dark); flex: 1; }
.bonus-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: line-through;
  white-space: nowrap;
  flex-shrink: 0;
}
.bonus-highlight {
  border-color: var(--purple-light) !important;
  background: var(--purple-soft) !important;
}
.bonus-total {
  background: var(--white);
  border: 2px solid var(--purple-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-mid);
}
.bonus-total s { font-size: 15px; }
.bonus-total-price {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 4px;
}
.bonus-total-price strong { color: var(--purple); font-size: 20px; }

/* ── Guarantee enhancements ── */
.seal-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.seal-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  display: block;
  text-align: center;
}
.guarantee-text h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.guarantee-text p { font-size: 13px; color: var(--text-mid); line-height: 1.55; }
.guarantee-sub {
  font-size: 12px !important;
  font-style: italic;
  margin-top: 8px !important;
}

/* ── Responsive ── */
@media (min-width: 480px) {
  .quiz-main { padding: 32px 24px 80px; }
}

/* ── Scroll snap hint (mobile) ── */
@media (max-width: 480px) {
  .quiz-header { padding: 10px 16px 0; }
  .logo-big { font-size: 24px; }
  .quiz-main { padding: 22px 16px 60px; }
}

/* ── Accessibility: prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
