/* Mavvi — Quiz · mesmo sistema visual da home (site/index.html) */
:root {
  --navy: #0B1F3A; --navy-mid: #16325A; --navy-soft: #1E3A5F;
  --sand: #F5EDE3; --sand-deep: #E8D9C8;
  --coral: #C47A5A; --coral-bright: #D4896A;
  --ivory: #FDFAF6; --cream: #FBF7F1;
  --text: #1A2332; --muted: #5C6B7A; --line: rgba(11, 31, 58, 0.10);
  --white: #FFFFFF; --radius: 16px;
  --shadow: 0 20px 50px rgba(11, 31, 58, 0.10);
  --shadow-sm: 0 8px 24px rgba(11, 31, 58, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Satoshi", system-ui, sans-serif; color: var(--text); background: var(--ivory); line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.container.narrow { width: min(720px, calc(100% - 32px)); }

.preview-banner { background: #FFF4D6; color: #6B4E00; font-size: .78rem; font-weight: 600; text-align: center; padding: 6px 12px; border-bottom: 1px solid #F0DFA8; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(253, 250, 246, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { width: 132px; height: auto; }
.btn-header { padding: 9px 16px; background: var(--navy); color: #FDFAF6; border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.btn-header:hover { background: var(--navy-mid); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s, opacity .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(11, 31, 58, .25); }
.btn-primary:hover { background: var(--navy-mid); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid rgba(11, 31, 58, .25); }
.btn-secondary:hover { border-color: var(--navy); background: rgba(11, 31, 58, .04); }
.btn-coral { background: var(--coral); color: var(--white); box-shadow: 0 8px 20px rgba(196, 122, 90, .35); }
.btn-coral:hover { background: var(--coral-bright); }

.quiz-main { flex: 1; padding: 28px 0 56px; }
.section-label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
h1, h2, h3 { font-family: "Satoshi", system-ui, sans-serif; color: var(--navy); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 2.9rem); margin-bottom: 14px; }
h2 { font-size: clamp(1.6rem, 5.4vw, 2.15rem); margin-bottom: 8px; }
h2:focus { outline: none; }
h3 { font-size: 1.5rem; }
.lead { color: var(--muted); font-size: 1.02rem; margin-bottom: 18px; }
.hint { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.micro { font-size: .78rem; color: var(--muted); margin-top: 12px; }
.micro.warn { color: #9A3B1C; }

.card { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 26px 20px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.card.intro::before { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: rgba(196, 122, 90, .12); pointer-events: none; }
.quiz-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.quiz-chip { font-size: .76rem; font-weight: 600; color: var(--navy-soft); background: var(--sand); padding: 6px 12px; border-radius: 999px; }
.notice { font-size: .86rem; color: var(--navy-soft); background: var(--white); border-left: 3px solid var(--coral); padding: 12px 14px; border-radius: 10px; margin-bottom: 22px; }

.progress { margin-bottom: 14px; }
.progress-top { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.progress-track { height: 6px; background: var(--sand-deep); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), var(--coral-bright)); border-radius: 999px; transition: width .35s ease; }

.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 15px 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; font-size: .97rem; font-weight: 500; color: var(--text); min-height: 54px; transition: border-color .15s, background .15s, transform .1s; }
.opt:hover { border-color: rgba(196, 122, 90, .6); }
.opt:active { transform: scale(.99); }
.opt:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(196, 122, 90, .45); outline-offset: 2px; }
.opt-mark { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(11, 31, 58, .3); position: relative; }
.opt.multi .opt-mark { border-radius: 6px; }
.opt.selected { border-color: var(--coral); background: #FCF3EE; }
.opt.selected .opt-mark { border-color: var(--coral); background: var(--coral); }
.opt.selected .opt-mark::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.nav-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.nav-row .btn { flex: 1 1 140px; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 13px 14px; border: 1.5px solid rgba(11, 31, 58, .18); border-radius: 12px; background: var(--white); color: var(--text); font-size: 1rem; }
.field input[aria-invalid], .consent input[aria-invalid] { border-color: #C0392B; outline-color: #C0392B; }
.wa-row { display: flex; gap: 8px; }
.wa-row select { width: auto; flex: 0 0 auto; padding: 13px 8px; border: 1.5px solid rgba(11, 31, 58, .18); border-radius: 12px; background: var(--white); font-size: 1rem; }
.wa-row .ddi-outro { flex: 0 0 76px; width: 76px; }
.wa-row input[name="whatsapp"] { flex: 1; min-width: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--navy-soft); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 6px; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); }
.consent a { color: var(--coral); font-weight: 600; }
.form-error { margin-top: 12px; background: #FDECEA; color: #8E2A1D; border-radius: 10px; padding: 10px 12px; font-size: .88rem; font-weight: 500; }

.paths { display: grid; gap: 14px; margin: 6px 0 14px; }
.path { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.path.main { border: 1.5px solid var(--coral); box-shadow: 0 10px 30px rgba(196, 122, 90, .12); }
.path-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.path-rank { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.path-level { font-size: .74rem; font-weight: 600; color: var(--navy-soft); background: var(--sand); padding: 3px 10px; border-radius: 999px; }
.path h3 { font-size: 1.75rem; margin-bottom: 2px; }
.path-type { font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.path p { font-size: .94rem; margin-bottom: 8px; }
.why { background: var(--cream); border-radius: 12px; padding: 12px 14px; font-size: .86rem; }
.why ul { margin: 6px 0 0 18px; }
.why li { margin-bottom: 3px; }
.note { font-size: .88rem; background: #FFF8EC; border: 1px solid #F1DDB4; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; color: #5A4310; }
.cta-box { background: var(--navy); color: var(--white); border-radius: 18px; padding: 22px 18px; text-align: center; margin: 8px 0 16px; }
.cta-box h3 { color: var(--white); margin-bottom: 8px; }
.cta-box p { color: rgba(255, 255, 255, .75); font-size: .9rem; margin-bottom: 16px; }
.cta-box .btn { width: 100%; max-width: 360px; }
.cta-box .micro { color: rgba(255, 255, 255, .65); }
.cta-box .micro.warn { color: #FFD2C2; }
.disclaimer-inline { font-size: .76rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; line-height: 1.55; }
.payload { margin-top: 18px; background: #0F172A; color: #E2E8F0; border-radius: 12px; padding: 12px 14px; font-size: .78rem; }
.payload summary { cursor: pointer; font-weight: 600; }
.payload .micro { color: #94A3B8; }
.payload pre { white-space: pre-wrap; word-break: break-word; font-size: .72rem; line-height: 1.45; margin-top: 6px; }

.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 28px 0 22px; font-size: .82rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; }
.footer-top img { width: 120px; height: auto; }
.footer a { color: rgba(255, 255, 255, .9); }
.footer-disclaimer { font-size: .76rem; line-height: 1.6; color: rgba(255, 255, 255, .85); border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .74rem; color: rgba(255, 255, 255, .45); }

@media (min-width: 720px) {
  .quiz-main { padding: 48px 0 80px; }
  .card { padding: 40px 44px; }
  .opts.two, .opts { gap: 12px; }
  .path { padding: 22px 24px; }
  .cta-box { padding: 30px; }
  .nav-row .btn { flex: 0 0 auto; min-width: 160px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.sens-warn{margin:14px 0 6px;padding:10px 14px;border-radius:10px;background:rgba(130,131,171,.12);font-size:.88rem;color:#2B2A30}

#wa-cta{background:#C47A5A!important;color:#fff!important;border:0;display:inline-block;padding:16px 28px;border-radius:999px;font-weight:600;text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.25)}
#wa-cta:hover{filter:brightness(1.08)}

/* Mascotes aprovadas 16/10: Madeleine (intro) e Catarina (CTA do resultado) */
.intro-head{display:flex;align-items:center;justify-content:space-between;gap:20px}
.intro-head-text{flex:1 1 auto;min-width:0}
.mascote{flex:0 0 auto;display:block;line-height:0}
.mascote img{display:block;height:auto;max-width:100%}
.mascote-madeleine img{width:88px}
.cta-head{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:8px}
.cta-head h3{margin:0}
.mascote-catarina img{width:72px}
@media (max-width:600px){
  .intro-head{gap:12px}
  .mascote-madeleine img{width:60px}
  .cta-head{gap:12px}
  .mascote-catarina img{width:54px}
}
