/* Quiz-specific styles */

/* ===== NAV BADGE ===== */
.quiz-nav-badge {
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
}

/* ===== LAYOUT ===== */
.quiz-main {
  min-height: calc(100vh - 73px);
  padding: 40px 0 80px;
}

.quiz-container {
  width: min(660px, 92vw);
  margin-inline: auto;
}

/* ===== PROGRESS BAR ===== */
.quiz-progress-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.quiz-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent2), var(--green));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.quiz-progress-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

/* ===== STEP TRANSITIONS ===== */
.quiz-step { display: none; }

.quiz-step.active {
  display: block;
  animation: stepIn 0.35s ease both;
}

.quiz-step.step-exit {
  display: block;
  pointer-events: none;
  animation: stepOut 0.28s ease both;
}

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

@keyframes stepOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}

/* ===== QUIZ CARD ===== */
.quiz-card {
  background: rgba(17,24,38,.88);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

@media (max-width: 600px) {
  .quiz-card { padding: 24px 20px; }
}

/* ===== INTRO ===== */
.quiz-intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.quiz-icon-big { font-size: 3rem; }

.quiz-headline {
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -.4px;
  font-weight: 900;
}

.quiz-subtext {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 auto;
}

.quiz-intro-bullets {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  margin: 4px auto;
}

.quiz-intro-bullets li {
  font-size: .92rem;
  color: var(--muted);
  padding: 9px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* ===== PERGUNTA ===== */
.quiz-step-label {
  display: block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--accent2);
  margin-bottom: 12px;
}

.quiz-question {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.2px;
  margin-bottom: 8px;
}

.quiz-hint {
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 22px;
}

/* ===== OPÇÕES ===== */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color .15s, background .15s, transform .15s;
}

.quiz-option:hover {
  border-color: rgba(45,212,191,.35);
  background: rgba(45,212,191,.05);
  transform: translateX(3px);
}

.quiz-option.selected {
  border-color: var(--green);
  background: rgba(22,163,74,.1);
}

.quiz-option.selected .opt-icon { transform: scale(1.2); }

.quiz-option.dimmed {
  opacity: 0.35;
  pointer-events: none;
}

.opt-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  transition: transform .2s;
}

/* ===== STEP BADGE ===== */
.quiz-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,107,53,.1);
  border: 1px solid rgba(255,107,53,.2);
  color: #ffd6c6;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

/* ===== VIDEO STEP ===== */
.video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  margin-bottom: 24px;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.03);
  border: 2px dashed rgba(255,255,255,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  padding-left: 4px;
  opacity: .65;
}

.video-placeholder-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}

.video-placeholder-sub {
  font-size: .8rem;
  color: rgba(185,194,211,.45);
}

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

/* ===== SOCIAL STEP ===== */
.social-testimonials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.social-testimonial {
  padding: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 520px) {
  .social-proof-grid { grid-template-columns: repeat(2, 1fr); }
}

.social-proof-placeholder {
  aspect-ratio: 9/16;
  background: rgba(255,255,255,.03);
  border: 2px dashed rgba(255,255,255,.09);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  text-align: center;
  color: rgba(185,194,211,.35);
}

.social-proof-placeholder span { font-size: 1.5rem; }
.social-proof-placeholder p    { font-size: .8rem; font-weight: 600; }
.social-proof-placeholder small { font-size: .7rem; }

.social-proof-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

/* ===== RESULT STEP ===== */
.result-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 52px 40px;
}

.loading-spinner-big {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(255,255,255,.1);
  border-top-color: var(--accent2);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

.result-icon {
  font-size: 3.5rem;
  text-align: center;
  display: block;
  margin: 0 auto 8px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  margin: 0 auto 14px;
}

.qualified-badge {
  background: rgba(22,163,74,.12);
  border: 1px solid rgba(22,163,74,.3);
  color: var(--ok);
}

.result-headline {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  letter-spacing: -.3px;
  margin-bottom: 10px;
}

.result-qualified,
.result-not-qualified {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.result-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  margin: 6px auto;
}

.result-bullet {
  padding: 10px 16px;
  background: rgba(22,163,74,.06);
  border: 1px solid rgba(22,163,74,.2);
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ok);
  text-align: left;
}

.not-qualified-box {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  width: 100%;
  max-width: 440px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.not-qualified-box strong { color: var(--text); }

/* ===== FORM STEP ===== */
.quiz-form-step { display: flex; flex-direction: column; gap: 0; }

.quiz-form-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.quiz-form-trust {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
