/* ==========================================
   QUIZ FUNIL — STYLES.CSS
   Rafaela Insta — Frontend
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ---- RESET & BASE ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #f3f4f6;
  font-family: 'Nunito', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

/* ---- FUNNEL WRAPPER ---- */
.funnel-wrap {
  max-width: 400px;
  width: 100%;
  background: #fff;
  font-family: 'Nunito', sans-serif;
  min-height: 100vh;
  padding-bottom: 32px;
  position: relative;
}

/* ---- PROGRESS BAR ---- */
.progress-track { width: 100%; height: 6px; background: #e5e7eb; }
.progress-fill {
  height: 100%;
  background: #111;
  border-radius: 0 3px 3px 0;
  transition: width 0.4s ease;
}

/* ---- NAVIGATION ---- */
.top-nav { display: flex; align-items: center; padding: 12px 16px 4px; }
.back-btn {
  font-size: 22px; cursor: pointer; color: #111;
  background: none; border: none; line-height: 1; padding: 0;
}

/* ---- STEPS ---- */
.step { display: none; }
.step.active { display: block; }

/* ---- LAYOUT ---- */
.content { padding: 10px 20px 0; text-align: center; }

/* ---- TYPOGRAPHY ---- */
.title { font-size: 22px; font-weight: 900; color: #111; line-height: 1.3; margin-bottom: 8px; }
.title .blue   { color: #2563eb; }
.title .red    { color: #dc2626; }
.title .purple { color: #6b21a8; }
.title .green  { color: #16a34a; }

.subtitle { font-size: 14px; font-weight: 700; color: #374151; text-align: center; line-height: 1.5; margin-bottom: 8px; }
.subtitle .blue   { color: #2563eb; }
.subtitle .orange { color: #ea580c; }
.subtitle .green  { color: #16a34a; }

.helper { font-size: 12px; color: #6b7280; text-align: center; margin-bottom: 18px; font-style: italic; }
.caption { font-size: 12px; color: #6b7280; text-align: center; margin: 20px 0; font-style: italic; }
.caption-italic { font-size: 12px; font-weight: 800; color: #374151; text-align: center; font-style: italic; margin: 0 0 10px; }
.caps { font-size: 12px; font-weight: 900; color: #374151; letter-spacing: 1px; margin-bottom: 12px; }
.cta-question { font-size: 16px; font-weight: 700; color: #111; text-align: center; margin: 0 0 16px; line-height: 1.4; }
.body-text { font-size: 13px; font-weight: 600; color: #374151; line-height: 1.6; margin-bottom: 10px; }
.body-text .orange { color: #ea580c; font-weight: 800; }

/* ---- OPTIONS ---- */
.option {
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 14px 16px;
  margin-bottom: 10px; cursor: pointer; transition: all 0.15s;
  background: #fff; text-align: left;
}
.option:hover { border-color: #9ca3af; }
.option.selected { background: #111; border-color: #111; }
.option.selected .opt-label        { color: #fff; font-weight: 800; }
.option.selected .opt-label .green { color: #4ade80; }
.option.selected .opt-label .red   { color: #f87171; }
.option.selected .chevron          { color: #fff; }

.opt-left   { display: flex; align-items: center; gap: 12px; }
.opt-emoji  { font-size: 22px; width: 30px; text-align: center; }
.opt-label  { font-size: 15px; font-weight: 700; color: #111; line-height: 1.3; }
.opt-label .green { color: #16a34a; }
.opt-label .red   { color: #dc2626; }
.chevron    { font-size: 18px; color: #9ca3af; font-weight: 700; }

/* ---- BUTTONS ---- */
@keyframes pulse-green {
  0%,100% { background-color: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%     { background-color: #16a34a; box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.btn-green {
  display: block; width: 100%; background-color: #22c55e; color: #fff;
  font-size: 15px; font-weight: 800; padding: 16px; border-radius: 12px;
  border: none; cursor: pointer; text-align: center;
  font-family: 'Nunito', sans-serif;
  animation: pulse-green 1.8s ease-in-out infinite;
  margin-bottom: 10px;
}
.btn-red {
  display: block; width: 100%; background-color: #dc2626; color: #fff;
  font-size: 13px; font-weight: 800; padding: 12px; border-radius: 10px;
  border: none; cursor: pointer; text-align: center;
  font-family: 'Nunito', sans-serif;
}
.btn-red:hover { background-color: #b91c1c; }

/* ---- IMAGES ---- */
.img-full { width: 100%; border-radius: 14px; display: block; margin-bottom: 18px; }
.hero-img { width: 100%; overflow: hidden; margin-bottom: 0; }
.hero-img img { width: 100%; display: block; }

/* ---- STEP 1: ATENÇÃO ---- */
.atencao-title { font-size: 30px; font-weight: 900; color: #111; letter-spacing: 1px; margin: 14px 0 10px; }
.atencao-sub   { font-size: 15px; font-weight: 700; color: #111; line-height: 1.55; margin: 0 0 16px; text-align: center; }

/* ---- STEP 1: VIDEO ---- */
.video-wrap {
  position: relative; width: 100%; border-radius: 14px;
  overflow: hidden; aspect-ratio: 9/14; cursor: pointer; background: #222;
}
.video-bg {
  width: 100%; height: 100%;
  background: linear-gradient(160deg,#f472b6 0%,#a855f7 40%,#6366f1 70%,#312e81 100%);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.mute-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: #f0187a; border-radius: 18px; padding: 16px 24px 18px;
  text-align: center; width: 74%; box-shadow: 0 4px 24px rgba(240,24,122,0.4);
}
.mo-top    { color: white; font-weight: 800; font-size: 18px; margin: 0 0 10px; font-family: 'Nunito', sans-serif; }
.mo-bottom { color: white; font-weight: 700; font-size: 15px; margin: 10px 0 0; font-family: 'Nunito', sans-serif; }

.sound-anim { display: flex; align-items: center; justify-content: center; height: 44px; }
.speaker-icon { width: 28px; height: 28px; fill: white; flex-shrink: 0; }
.wave { width: 5px; border-radius: 3px; background: white; transform-origin: bottom center; }
@keyframes wave1 { 0%,100%{height:6px}  50%{height:18px} }
@keyframes wave2 { 0%,100%{height:10px} 50%{height:26px} }
@keyframes wave3 { 0%,100%{height:6px}  50%{height:20px} }
.wave1 { animation: wave1 0.9s ease-in-out infinite; }
.wave2 { animation: wave2 0.9s ease-in-out infinite; animation-delay: 0.15s; }
.wave3 { animation: wave3 0.9s ease-in-out infinite; animation-delay: 0.3s; }

.progress-bar-video { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,0.3); }
.progress-fill-video { height: 100%; width: 15%; background: white; border-radius: 2px; }

/* ---- STEP 5 ---- */
.divider-text { font-size: 16px; font-weight: 900; color: #111; text-align: center; margin-bottom: 8px; }
.sub-divider  { font-size: 13px; font-weight: 600; color: #374151; text-align: center; line-height: 1.5; margin-bottom: 18px; }
.sub-divider .green { color: #16a34a; }

/* ---- STEP 6 ---- */
.compare-row { display: flex; gap: 10px; margin-bottom: 14px; }
.compare-card {
  flex: 1; border: 1.5px solid #e5e7eb; border-radius: 14px;
  overflow: hidden; padding: 14px 10px; text-align: center;
}
.donut-wrap { position: relative; width: 70px; height: 70px; margin: 0 auto 8px; }
.donut-wrap svg { width: 70px; height: 70px; transform: rotate(-90deg); }
.donut-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 16px; font-weight: 900; color: #111;
}
.compare-card-label { font-size: 11px; font-weight: 700; color: #374151; line-height: 1.4; }
.compare-card-label .red   { color: #dc2626; }
.compare-card-label .green { color: #16a34a; }
.stats-img { width: 100%; border-radius: 14px; display: block; margin-bottom: 10px; }
.stats-img:last-of-type { margin-bottom: 24px; }

/* ---- STEP 7 ---- */
.bio { font-size: 13px; font-weight: 600; color: #374151; text-align: center; line-height: 1.6; margin-bottom: 6px; }
.bio .purple { color: #6b21a8; font-weight: 800; }
.bio .bold   { font-weight: 900; color: #111; }
.conquistas-text { font-size: 13px; color: #374151; text-align: center; line-height: 1.6; margin-bottom: 20px; }
.conquistas-text .bold { font-weight: 900; color: #111; }
.achievement { margin-bottom: 22px; }
.achievement-title   { font-size: 16px; font-weight: 900; color: #111; text-align: center; line-height: 1.4; margin-bottom: 4px; }
.achievement-caption { font-size: 11px; color: #9ca3af; text-align: center; font-style: italic; margin-bottom: 10px; }
.achievement img     { width: 100%; border-radius: 14px; display: block; }
.highlight-block     { padding: 12px 4px; margin-bottom: 24px; text-align: center; }
.hl-title { font-size: 15px; font-weight: 900; color: #2563eb; line-height: 1.4; margin-bottom: 10px; }
.hl-text  { font-size: 13px; color: #374151; line-height: 1.6; text-align: center; }
.hl-text .bold { font-weight: 900; color: #111; }

/* ---- STEP 8 ---- */
.services-card { border: 1.5px solid #e5e7eb; border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.services-card img { width: 100%; display: block; }

/* ---- STEP 11 ---- */
.badge-red {
  display: inline-block; background: #dc2626; color: white;
  font-size: 13px; font-weight: 900; padding: 6px 18px;
  border-radius: 6px; margin-bottom: 14px;
}
.text-block { font-size: 13px; font-weight: 600; color: #374151; line-height: 1.6; margin-bottom: 10px; text-align: center; }
.text-block .green { color: #16a34a; font-weight: 800; }

/* ---- STEP 12 ---- */
.badge-off { display: inline-block; background: #111; color: white; font-size: 13px; font-weight: 900; padding: 5px 14px; border-radius: 6px; margin-bottom: 12px; }
.badge-off span { color: #22c55e; }
.urgency { font-size: 14px; font-weight: 900; color: #ea580c; margin-bottom: 6px; }
.arrep   { font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 6px; }
.arrep .orange { color: #ea580c; font-weight: 800; }
.unica   { font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 14px; }
.unica .green  { color: #16a34a; font-weight: 800; }
.video-caption { font-size: 11px; color: #6b7280; text-align: center; margin-bottom: 12px; font-style: italic; }
.cta-text { font-size: 12px; font-weight: 700; color: #374151; text-align: center; margin-bottom: 12px; line-height: 1.5; }
.cta-text .green { color: #16a34a; font-weight: 900; }
