/* ==========================================
   ANTI-BURRO — QUIZ DE CONVERSÃO & FUNIL EXCLUSIVO
   100% Otimizado para Mobile no Resultado Final (CTA, Métricas, Ego Card & Badges)
   ========================================== */

/* Body Reset */
body.quiz-funnel-page {
  background-color: #FFFFFF;
  color: #050505;
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Minimal Header - Transparent, Centered Logo, Zero Outlines */
.quiz-minimal-header {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 24px 16px 6px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.quiz-header-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Quiz Main Wrapper */
.quiz-funnel-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 660px;
  margin: 4px auto 24px auto;
  padding: 0 14px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quiz Card Container */
.quiz-card-box {
  width: 100%;
  background: #F4F4F5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* Step Container */
.quiz-step {
  display: none;
  opacity: 0;
  width: 100%;
}
.quiz-step.active {
  display: block;
  opacity: 1;
}

/* Intro Screen */
.intro-head-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717A;
  margin-bottom: 10px;
  text-align: center;
}
.intro-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 5.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.28;
  color: #050505;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: -0.02em;
}
.intro-title span.highlight-yellow {
  background: #FFC600;
  padding: 2px 8px;
  border-radius: 6px;
}
.intro-subtitle {
  font-size: 0.96rem;
  color: #333333;
  line-height: 1.55;
  margin-bottom: 24px;
  text-align: center;
}

/* Intro Start Quiz CTA Button */
.intro-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 8px;
}
.btn-start-quiz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  padding: 18px 24px;
  background: #050505;
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 100px;
  border: 2px solid #050505;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-start-quiz:hover,
.btn-start-quiz:active {
  background: #FFC600;
  color: #050505;
  border-color: #FFC600;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 198, 0, 0.35);
}

/* Question Header & Meta Row */
.question-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.step-number-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #050505;
  background: #FFC600;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  white-space: nowrap;
}
.psychology-tag {
  font-size: 0.8rem;
  color: #71717A;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

/* Progress Bar Track */
.progress-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 20px;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: #FFC600;
  border-radius: 100px;
  transition: width 0.4s ease;
}

/* Question Heading */
.question-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.18rem, 4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: #050505;
  margin-bottom: 14px;
}
.stat-banner-pill {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid #FFC600;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: #333333;
  margin-bottom: 18px;
  line-height: 1.45;
}
.stat-banner-pill strong {
  color: #050505;
}

/* Option Cards List */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.option-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.option-item-card:hover,
.option-item-card:active {
  border-color: #FFC600;
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.option-item-card.selected {
  background: rgba(255, 198, 0, 0.1);
  border-color: #FFC600;
  box-shadow: 0 0 0 2px #FFC600;
}
.option-letter-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F4F4F5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #050505;
  flex-shrink: 0;
  transition: all 0.2s;
}
.option-item-card:hover .option-letter-badge,
.option-item-card.selected .option-letter-badge {
  background: #FFC600;
  color: #050505;
  border-color: #FFC600;
}
.option-content-text {
  font-size: 0.92rem;
  color: #050505;
  line-height: 1.42;
  font-weight: 500;
}

/* Feedback Tooltip */
.feedback-tooltip {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1.5px solid #FFC600;
  border-radius: 12px;
  color: #050505;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 500;
}

/* Diagnosis Loader */
.diagnosis-loader-box {
  text-align: center;
  padding: 24px 8px;
}
.loader-circle-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
}
.loader-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.circle-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.08);
  stroke-width: 8;
}
.circle-active {
  fill: none;
  stroke: #FFC600;
  stroke-width: 8;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  stroke-linecap: round;
}
.loader-pct-counter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #050505;
}
.loader-status-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #050505;
  min-height: 30px;
  margin-bottom: 6px;
}
.loader-sub-text {
  font-size: 0.85rem;
  color: #71717A;
}

/* ==========================================
   FINAL RESULT SCREEN — ULTRA POLISHED FOR MOBILE
   ========================================== */
.result-header-box {
  text-align: center;
  margin-bottom: 20px;
}
.result-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 100px;
  background: #FFC600;
  color: #050505;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.25;
  text-align: center;
}
.result-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 4.8vw, 1.95rem);
  font-weight: 700;
  line-height: 1.28;
  color: #050505;
  margin-bottom: 12px;
}
.result-heading span.mark {
  background: #FFC600;
  padding: 2px 8px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}
.result-ego-card {
  font-size: 0.9rem;
  color: #27272A;
  line-height: 1.55;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid #FFC600;
  padding: 14px 16px;
  border-radius: 12px;
  text-align: left;
  margin-bottom: 18px;
}

/* Metrics Grid - 3 Clean Compact Cards */
.metrics-grid-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.metric-item-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
}
.metric-item-card .val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #050505;
  margin-bottom: 2px;
}
.metric-item-card .lbl {
  font-size: 0.68rem;
  color: #71717A;
  line-height: 1.25;
  font-weight: 500;
}

/* Privilege & App Transformation Card */
.privilege-card-box {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid #FFC600;
  border-radius: 18px;
  padding: 22px 20px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.privilege-tag {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #050505;
  background: #FFC600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.privilege-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #050505;
  margin-bottom: 8px;
  line-height: 1.35;
}
.privilege-desc {
  font-size: 0.88rem;
  color: #333333;
  line-height: 1.5;
  margin-bottom: 16px;
}
.privilege-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.privilege-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F4F4F5;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.84rem;
  color: #27272A;
  line-height: 1.4;
}
.privilege-benefit-item .benefit-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.privilege-benefit-item strong {
  color: #050505;
}

/* Single CTA Conversion Box */
.single-cta-box {
  background: #FFFFFF;
  border: 2px solid #050505;
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.single-cta-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #050505;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #FFC600;
  padding: 4px 12px;
  border-radius: 100px;
}
.single-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #050505;
  margin-bottom: 6px;
  line-height: 1.3;
}
.single-cta-desc {
  font-size: 0.88rem;
  color: #71717A;
  margin-bottom: 18px;
  line-height: 1.45;
}

/* Dual Device Conversion Action Buttons */
.result-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.btn-result-device {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #F4F4F5;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-result-device .device-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background 0.2s;
}
.btn-result-device .device-text-wrap {
  text-align: left;
}
.btn-result-device .device-btn-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #050505;
  line-height: 1.2;
  transition: color 0.2s;
}
.btn-result-device .device-btn-sub {
  font-size: 0.78rem;
  color: #71717A;
  font-weight: 600;
  margin-top: 2px;
  transition: color 0.2s;
}

.btn-result-device:hover,
.btn-result-device:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.btn-result-android:hover {
  background: rgba(61, 220, 132, 0.12);
  border-color: #3DDC84;
}
.btn-result-iphone:hover {
  background: #050505;
  border-color: #050505;
}
.btn-result-iphone:hover .device-btn-title,
.btn-result-iphone:hover .device-btn-sub {
  color: #FFFFFF;
}

/* Minimal Footer */
.quiz-minimal-footer {
  text-align: center;
  padding: 16px 16px 24px 16px;
  font-size: 0.78rem;
  color: #71717A;
}

/* MOBILE MEDIA QUERY SPECIFIC POLISH */
@media (max-width: 640px) {
  .quiz-minimal-header {
    padding: 16px 14px 4px 14px;
  }
  .quiz-header-logo {
    height: 34px;
  }
  .quiz-funnel-wrapper {
    margin: 4px auto 16px auto;
    padding: 0 10px;
  }
  .quiz-card-box {
    padding: 20px 14px;
    border-radius: 16px;
  }
  .question-meta-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .btn-start-quiz {
    padding: 16px 20px;
    font-size: 0.96rem;
  }

  /* Result Screen Mobile Layout Fixes */
  .result-status-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    letter-spacing: 0.02em;
  }
  .result-heading span.mark {
    white-space: normal;
  }
  .result-ego-card {
    font-size: 0.86rem;
    padding: 12px 14px;
  }
  .metrics-grid-box {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .metric-item-card {
    padding: 10px 4px;
  }
  .metric-item-card .val {
    font-size: 1.15rem;
  }
  .metric-item-card .lbl {
    font-size: 0.65rem;
  }
  .single-cta-box {
    padding: 20px 14px;
  }
  .single-cta-title {
    font-size: 1.15rem;
  }
  .single-cta-desc {
    font-size: 0.84rem;
    margin-bottom: 14px;
  }
  .result-cta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .btn-result-device {
    padding: 14px 16px;
  }
}

/* Bridge Confrontation Banner for Question 01 */
.bridge-confront-wrap {
  margin-bottom: 14px;
}
.bridge-confront-pill {
  background: #050505;
  color: #FFC600;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* Fixed Sticky Bottom CTA Bar for Result Screen */
.sticky-result-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 520px;
  z-index: 9999;
  pointer-events: auto;
  animation: stickySlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes stickySlideUp {
  from { transform: translate(-50%, 100%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.btn-sticky-conversion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 22px;
  background: #050505;
  color: #FFC600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 100px;
  border: 2px solid #FFC600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-sticky-conversion:hover,
.btn-sticky-conversion:active {
  background: #FFC600;
  color: #050505;
  border-color: #FFC600;
  transform: scale(1.02);
}
