:root{--cream:#f6eee4;--paper:#fffaf4;--ink:#2f2119;--text:#49362b;--muted:#746258;--olive:#6c7240;--olive-dark:#555c2e;--line:rgba(74,51,37,.17);--serif:"Gilda Display",Georgia,serif;--sans:"Montserrat",system-ui,sans-serif}
[hidden]{display:none!important}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:#2e1a10}body{margin:0;background:var(--cream);color:var(--text);font-family:var(--sans);line-height:1.55;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}.map-wrap{width:min(100% - 36px,760px);margin:auto}.map-topbar{padding:9px 16px;background:#2e1a10;color:var(--cream);font-size:10px;font-weight:600;letter-spacing:.15em;text-align:center;text-transform:uppercase}.map-header{display:flex;align-items:center;justify-content:center;height:76px;border-bottom:1px solid var(--line);background:rgba(246,238,228,.96)}.map-header img{width:260px;height:27px;object-fit:contain}.eyebrow{display:block;color:var(--olive);font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.map-hero{padding:76px 0 70px;text-align:center;background:radial-gradient(circle at 50% 20%,#fffaf4,transparent 65%)}.map-hero h1,.quiz-heading h2,.result-card h2{margin:14px 0 18px;color:var(--ink);font-family:var(--serif);font-weight:400;line-height:1.07}.map-hero h1{font-size:clamp(42px,7vw,64px)}.map-hero p{max-width:580px;margin:0 auto 28px;color:var(--muted);font-size:17px}.map-hero small{display:block;margin-top:13px;color:var(--muted);font-size:11px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:54px;padding:0 26px;border:0;border-radius:100px;background:linear-gradient(135deg,var(--olive),var(--olive-dark));box-shadow:0 12px 26px rgba(80,90,40,.2);color:#fff;font-weight:700;text-decoration:none}.primary-button span{font-size:20px}.map-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-bottom:76px}.map-notes article{padding:25px 22px;border:1px solid var(--line);border-radius:20px;background:var(--paper)}.map-notes strong{color:var(--olive);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.map-notes h2{margin:10px 0 8px;color:var(--ink);font-family:var(--serif);font-size:21px;font-weight:400;line-height:1.2}.map-notes p{margin:0;color:var(--muted);font-size:12px}.quiz-section{display:flex;align-items:center;min-height:100svh;padding:40px 0;background:#ede1d5}.quiz-heading{text-align:center;margin-bottom:30px}.quiz-heading h2{font-size:38px}.quiz-heading p{max-width:570px;margin:auto;color:var(--muted)}.quiz-card,.result-card{max-height:calc(100svh - 80px);overflow:auto;padding:34px;border:1px solid rgba(255,255,255,.8);border-radius:26px;background:var(--paper);box-shadow:0 20px 50px rgba(46,26,16,.1)}body.quiz-active .quiz-heading{display:none}body.quiz-active .quiz-section{padding:18px 0}.progress{display:flex;align-items:center;gap:14px;margin-bottom:28px}.progress-track{height:6px;flex:1;overflow:hidden;border-radius:10px;background:#e5d8ca}.progress-fill{width:11.11%;height:100%;border-radius:10px;background:var(--olive);transition:width .3s}.progress span{color:var(--olive);font-size:11px;font-weight:700;white-space:nowrap}.quiz-step{display:none;margin:0;padding:0;border:0}.quiz-step.active{display:block;animation:step-in .3s ease}@keyframes step-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.quiz-step legend{display:block;width:100%;color:var(--ink);font-family:var(--serif);font-size:28px;line-height:1.2}.quiz-step legend span{display:block;margin-bottom:8px;color:var(--olive);font-family:var(--sans);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.quiz-step>p{margin:8px 0 20px;color:var(--muted);font-size:13px}.text-input{width:100%;min-height:54px;padding:0 17px;border:1.5px solid var(--line);border-radius:14px;outline:0;background:var(--cream);color:var(--ink)}.text-input:focus{border-color:var(--olive);box-shadow:0 0 0 3px rgba(108,114,64,.14)}.option-list{display:grid;gap:9px;margin-top:20px}.radio-option,.check-option{position:relative;display:flex;align-items:center;gap:13px;min-height:56px;padding:13px 17px;border:1.5px solid var(--line);border-radius:14px;background:var(--cream);cursor:pointer}.radio-option{justify-content:space-between}.radio-option input,.check-option input{position:absolute;opacity:0;pointer-events:none}.radio-option>i{width:18px;height:18px;flex:0 0 18px;border:2px solid var(--olive);border-radius:50%}.radio-option:has(input:checked),.check-option:has(input:checked){border-color:var(--olive);background:rgba(108,114,64,.1)}.radio-option input:checked~i:after{content:"";display:block;width:8px;height:8px;margin:3px;border-radius:50%;background:var(--olive)}.check-option>i{display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;border:2px solid var(--olive);border-radius:5px;color:transparent;font-size:12px;font-style:normal}.check-option input:checked+i{background:var(--olive);color:#fff}.option-list span{font-size:14px;font-weight:500}.quiz-nav{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:28px}.back-button{padding:12px 4px;border:0;background:none;color:var(--muted);font-weight:600}.back-button:disabled{visibility:hidden}.next-button{min-height:48px;padding:0 25px;border:0;border-radius:100px;background:var(--olive-dark);color:#fff;font-weight:700}.form-error{min-height:20px;margin:12px 0 -8px;color:#9a4d35;font-size:12px}.result-card{display:none;text-align:left}.result-card.active{display:block}.result-badge{display:inline-flex;padding:7px 13px;border-radius:100px;background:rgba(108,114,64,.13);color:var(--olive-dark);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.result-card h2{font-size:38px}.result-text{color:var(--text);font-size:16px}.result-notice{margin:24px 0;padding:19px;border-left:4px solid var(--olive);border-radius:0 14px 14px 0;background:var(--cream)}.result-notice strong{color:var(--ink)}.result-notice p{margin:5px 0 0;color:var(--muted);font-size:12px}.result-button{margin-top:4px}.restart-button{display:block;margin-top:18px;padding:0;border:0;background:none;color:var(--olive-dark);font-size:12px;font-weight:700;text-decoration:underline}footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px 35px;padding:35px 20px;background:#2e1a10;color:rgba(246,238,228,.72);text-align:center}footer img{width:260px;height:26px;object-fit:contain;filter:brightness(0) invert(1);opacity:.85}footer p{margin:0;font-size:11px}
@media(max-width:680px){.map-header{height:66px}.map-header img{width:220px}.map-hero{padding:56px 0}.map-hero h1{font-size:43px}.map-hero p{font-size:14px}.map-notes{grid-template-columns:1fr;padding-bottom:58px}.quiz-section{padding:58px 0 70px}.quiz-heading{text-align:left}.quiz-heading h2{font-size:34px}.quiz-card,.result-card{padding:26px 19px;border-radius:20px}.quiz-step legend{font-size:25px}.option-list span{font-size:13px}.primary-button{width:100%;padding:0 18px}.result-card h2{font-size:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.quiz-step.active{animation:none}.progress-fill{transition:none}}
.idle-popup{width:min(92vw,760px);max-width:none;padding:0;border:0;border-radius:24px;background:var(--paper);box-shadow:0 30px 90px rgba(35,20,12,.35);overflow:hidden}.idle-popup::backdrop{background:rgba(35,20,12,.74);backdrop-filter:blur(5px)}.idle-popup[open]{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%)}.idle-popup>img{width:100%;height:100%;min-height:390px;object-fit:cover;object-position:62% center}.idle-popup-content{display:flex;flex-direction:column;justify-content:center;padding:38px 34px}.idle-popup-content>span{color:var(--olive);font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.idle-popup-content h2{margin:10px 0 12px;color:var(--ink);font-family:var(--serif);font-size:35px;font-weight:400;line-height:1.08}.idle-popup-content p{margin:0 0 22px;color:var(--muted);font-size:14px}.idle-popup-content .primary-button{width:100%;font-size:12px;text-align:center}.idle-popup-content .primary-button b{font-size:19px}.idle-popup-close{position:absolute;z-index:2;top:12px;right:12px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:rgba(255,250,244,.94);color:var(--ink);font-size:24px;line-height:1;box-shadow:0 5px 16px rgba(35,20,12,.16)}.idle-popup-later{align-self:center;margin-top:13px;padding:4px;border:0;background:none;color:var(--muted);font-size:11px;text-decoration:underline;text-underline-offset:3px}@media(max-width:620px){.idle-popup{width:min(92vw,410px);max-height:92svh;overflow:auto}.idle-popup[open]{display:block}.idle-popup>img{height:210px;min-height:0;object-position:center 54%}.idle-popup-content{padding:27px 22px 24px}.idle-popup-content h2{font-size:29px}.idle-popup-content p{font-size:13px}}

/* Uma etapa completa por tela */
body.quiz-active{overflow:hidden}
body.quiz-active .quiz-section{height:100svh;min-height:0;padding:14px 0;overflow:hidden}
body.quiz-active .quiz-section>.map-wrap{display:flex;align-items:center;height:100%;min-height:0}
body.quiz-active .quiz-card,body.quiz-active .result-card{width:100%;max-height:none;overflow:visible}
@media(max-width:680px){body.quiz-active .quiz-section{padding:9px 0}body.quiz-active .quiz-section>.map-wrap{width:min(100% - 22px,760px)}body.quiz-active .quiz-card,body.quiz-active .result-card{padding:18px 15px;border-radius:17px}body.quiz-active .progress{gap:9px;margin-bottom:14px}body.quiz-active .progress span{font-size:9px}body.quiz-active .quiz-step legend{font-size:22px;line-height:1.12}body.quiz-active .quiz-step legend span{margin-bottom:4px;font-size:8.5px}body.quiz-active .quiz-step>p{margin:5px 0 10px;font-size:11px;line-height:1.35}body.quiz-active .option-list{gap:5px;margin-top:10px}body.quiz-active .radio-option,body.quiz-active .check-option{min-height:42px;padding:8px 12px;border-radius:11px}body.quiz-active .option-list span{font-size:11.5px;line-height:1.25}body.quiz-active .text-input{min-height:46px}body.quiz-active .form-error{min-height:15px;margin:7px 0 -4px;font-size:10px}body.quiz-active .quiz-nav{margin-top:13px}body.quiz-active .next-button{min-height:42px;padding:0 20px;font-size:12px}body.quiz-active .back-button{padding:8px 3px;font-size:12px}body.quiz-active .result-card h2{margin:10px 0 12px;font-size:29px}body.quiz-active .result-text{font-size:13px;line-height:1.42}body.quiz-active .result-notice{margin:14px 0;padding:13px}body.quiz-active .result-button{min-height:46px;font-size:12px}}
@media(max-width:680px) and (max-height:700px){body.quiz-active .quiz-card,body.quiz-active .result-card{padding:13px 14px}body.quiz-active .progress{margin-bottom:9px}body.quiz-active .quiz-step legend{font-size:19px}body.quiz-active .option-list{gap:3px;margin-top:7px}body.quiz-active .radio-option,body.quiz-active .check-option{min-height:36px;padding:6px 10px}body.quiz-active .quiz-nav{margin-top:8px}body.quiz-active .form-error{margin-top:4px}}
/* Hierarquia semântica dos cartões informativos */
.map-notes h3{margin:10px 0 8px;color:var(--ink);font-family:var(--serif);font-size:21px;font-weight:400;line-height:1.2}
