/* Quiz: uma coluna, pensado para o celular que vem do anúncio */
.quiz-page { background: var(--paper); min-height: 100vh; }
.quiz-shell { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; padding: 0 18px; }

.quiz-top { display: flex; align-items: center; gap: 14px; padding: 18px 0 10px; }
.quiz-brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.quiz-brand img { height: 44px; width: auto; }
.quiz-brand .v { font-family: var(--display); font-size: 24px; color: var(--gold); line-height: 1; }
.quiz-brand .word { font-family: var(--display); font-size: 15px; letter-spacing: .14em; color: var(--navy); font-weight: 600; }
.quiz-progress { flex: 1; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 99px; transition: width .35s ease; }
.quiz-count { font-size: 12.5px; color: var(--muted); min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }

.quiz-view { flex: 1; display: flex; flex-direction: column; padding: 10px 0 18px; animation: rise .3s ease both; }
@keyframes rise { from { transform: translateY(8px); opacity: .5; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .quiz-view { animation: none; } .quiz-progress span { transition: none; } }

.quiz-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 22px; font-size: 12.5px; color: var(--muted); }
.back { background: none; border: 0; color: var(--navy); font-weight: 700; cursor: pointer; padding: 6px 0; }
.back[hidden] { visibility: hidden; display: inline; }

/* Capa */
.cover { background: var(--navy); color: var(--white); border-radius: 22px; padding: 26px 22px 24px; position: relative; overflow: hidden; }
.cover::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,74,.35), transparent 70%); }
.cover .eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.cover h1 { font-size: 31px; margin: 10px 0 12px; }
.cover p { color: #C9D1E4; margin: 0 0 18px; font-size: 15.5px; }
.campaign-chip { display: flex; gap: 10px; align-items: flex-start; background: rgba(201,162,74,.14); border: 1px solid rgba(201,162,74,.45); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--gold-soft); margin-bottom: 20px; position: relative; z-index: 1; }
.campaign-chip b { color: var(--white); }
.cover .btn { width: 100%; position: relative; z-index: 1; }
.cover-points { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 13px; color: #C9D1E4; position: relative; z-index: 1; }
.cover-points span::before { content: "✓ "; color: var(--gold); }

/* Meg */
.meg { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; font-size: 14.5px; }
.meg .face { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; font-size: 21px; flex: none; }

/* Perguntas */
.q-title { font-size: 25px; margin: 4px 0 6px; color: var(--navy); }
.q-hint { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; min-height: 1.2em; }
.options { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.opt:hover { border-color: #C8BFAE; }
.opt.sel { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.18); }
.opt .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--paper); display: grid; place-items: center; font-size: 19px; flex: none; color: var(--navy); }
.opt .t { display: block; font-weight: 700; font-size: 16px; color: var(--ink); }
.opt .d { display: block; color: var(--muted); font-size: 13.5px; margin-top: 1px; }

/* Formulário */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field input[type="text"], .field input[type="tel"] {
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink);
  padding: 15px 14px; font: 500 16px var(--body);
}
.field input:focus { border-color: var(--gold); outline: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.form-btn { width: 100%; }
.form-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.loading { flex: 1; display: grid; place-content: center; text-align: center; gap: 16px; color: var(--muted); min-height: 380px; }
.spinner { width: 46px; height: 46px; border: 4px solid var(--line); border-top-color: var(--gold); border-radius: 50%; margin: 0 auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Resultado */
.result-tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.result-title { font-size: 26px; color: var(--navy); margin: 6px 0 16px; }
.pick { background: var(--white); border: 1.5px solid var(--gold); border-radius: 18px; overflow: hidden; margin-bottom: 14px; }
.pick-img { height: 170px; }
.pick-body { padding: 16px; }
.pick-name { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); margin: 0; }
.pick-tag { color: var(--muted); font-size: 14px; margin: 2px 0 12px; }
.pick-from { font-size: 14px; color: var(--muted); }
.pick-from s { text-decoration-color: #C0392B; }
.pick-price {font-size: 26px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.pick-inst { font-size: 14px; color: var(--muted); }
.pick-feats { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; font-size: 14px; }
.pick-feats li::before { content: "•  "; color: var(--gold); }
.why { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; font-size: 14.5px; }
.why h3 { font-family: var(--body); font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.why p { margin: 0; color: var(--muted); }
.swap { display: flex; gap: 10px; background: #EEF2FB; border: 1px solid #C9D4EE; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; color: var(--navy); }
.alt { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 18px; }
.alt-img { width: 72px; height: 72px; border-radius: 10px; flex: none; padding: 8px; }
.alt-img svg { width: 44px; }
.alt-img em { display: none; }
.alt .k { font-size: 12px; color: var(--muted); }
.alt .n { font-weight: 800; color: var(--navy); }
.alt .p { font-size: 13.5px; color: var(--muted); }
.result-cta { width: 100%; }
.fine { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.code { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy); }
.restart { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }
