:root{--gold:#c2a061;--gold-2:#e5cd96;--silver:#dce0e2;--radius:14px}
body{font-family:Arial,Helvetica,sans-serif;transition:none;background-attachment:fixed}
h1,h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em}h1{font-size:clamp(34px,4.3vw,54px)}
.shell{max-width:1200px;padding:30px 36px 22px}.brand{justify-content:flex-start;margin:0 0 32px;gap:16px}.brand img{width:60px;height:60px;box-shadow:none}.brand-name{font-size:18px;letter-spacing:3.2px}.brand small{font-size:14px;letter-spacing:.4px}.eyebrow{font-size:12px;letter-spacing:2.5px}.surface{border-radius:14px;box-shadow:0 18px 65px #0000000f}
body.theme-home{--ink:#f5f4ef;--muted:#c6cace;--line:#687077;--accent:#d8b875;--surface:#202427;--surface-2:#2a2f33;background:url('/assets/legado-office-original.webp') center/cover fixed no-repeat}
body.theme-home .shell{max-width:1440px}body.theme-home .brand{display:flex;justify-content:center;margin-bottom:24px;background:#ffffffed;border:1px solid #d6d8d6;padding:12px 22px;width:fit-content;border-radius:6px;box-shadow:0 8px 30px #10141510}body.theme-home .brand-name{color:#85662d}body.theme-home .brand small{color:#444e55}
body.theme-home .home{max-width:590px;padding:38px 40px 30px;background:radial-gradient(ellipse at 0 0,#565c6145,transparent 60%),repeating-linear-gradient(115deg,#ffffff03 0px,#ffffff03 1px,transparent 1px,transparent 4px),linear-gradient(135deg,rgba(37,42,46,.76),rgba(16,20,22,.72) 55%,rgba(38,43,47,.76));border:1px solid #bba16a;border-radius:12px;box-shadow:0 25px 80px #07080966;overflow:visible}
.home:before{display:none}.home h1{font-size:clamp(37px,4vw,52px);line-height:1.08;color:#f7f5ee;margin-bottom:18px}.home h1 em{font-weight:400;color:#e1c588}.home .intro{font-size:15px;line-height:1.7;color:#c9ced1;margin-bottom:25px;max-width:420px}.home .eyebrow{margin-bottom:20px}.home-foot{border-top:1px solid #ffffff20;padding-top:20px;font-size:12px;color:#bbc3c7}
.choices{gap:12px}.choice{grid-template-columns:42px 1fr 24px;gap:15px;padding:18px 17px;border-radius:7px;transition:transform .2s,border-color .2s,background .2s}.choice.accounting,.choice.finance,.choice.question{background:linear-gradient(120deg,#f9fafb10,#f9fafb04);border:1px solid #ffffff30;color:#fff}.choice:hover{transform:translateY(-2px);border-color:#d4b579;background:linear-gradient(120deg,#e9d4a423,#ffffff08);box-shadow:none}.choice .icon,.choice.accounting .icon,.choice.finance .icon,.choice.question .icon{width:40px;height:40px;border-radius:0;background:transparent;border:0;color:#d8b875}.choice strong{font-family:Georgia,serif;font-size:24px;font-weight:400;letter-spacing:-.3px}.choice small,.choice.accounting small,.choice.finance small,.choice.question small{color:#b9c1c7;font-size:13px}.choice .tag{background:transparent;border:0;border-radius:0;padding:0;font-size:9px;letter-spacing:1.5px;color:#d9be87;font-weight:500;margin-bottom:6px}.choice-number{align-self:start;font-size:12px;color:#a1a9ae;font-family:Georgia,serif}.choice.question strong{font-family:Arial,sans-serif;font-size:15px;font-weight:600}.choice.question{padding-top:14px;padding-bottom:14px}.choice.question small{font-size:12px}
.footer{font-size:12px;padding:20px 20px 12px;max-width:100%;border-top:1px solid var(--line);margin-top:35px}.footer strong{font-size:12px}.footer .founders{font-size:12px}.footer .contacts{font-size:12px}.footer-links{display:flex;justify-content:center;gap:20px;margin-top:9px;font-size:12px}body.theme-home .footer{background:#f8faf9ed;border:1px solid #d9dcd9;border-radius:8px;color:#505a61;width:fit-content;margin:24px auto 0;box-shadow:0 4px 25px #0000000d}body.theme-home .footer strong{color:#82642d}body.theme-home .footer .founders{color:#303a41}
body.theme-accounting{--bg:#101416;--surface:#1a1f23;--surface-2:#22292e;--ink:#f4f5f5;--muted:#b8c1c7;--line:#454d54;--accent:#d9b97c;background:radial-gradient(ellipse at 0 0,#30383e,#131719 65%)}
body.theme-finance{--surface:#ffffffec;--surface-2:#edf0f1;--ink:#273139;--muted:#59656e;--line:#b6c0c7;--accent:#86642a;background:repeating-linear-gradient(0deg,#ffffff40 0px,#ffffff40 1px,#64707808 1px,#64707808 3px),linear-gradient(120deg,#c2cbd1,#f7f9f9 40%,#bfc8cf 75%,#e7ebee)}
.assessment-hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;min-height:245px;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:28px;background:var(--surface);position:relative}.assessment-hero:after{content:'';height:100%;min-height:245px;background:url('/assets/legado-ledger-original.webp') center/cover}.theme-finance .assessment-hero:after{background-image:url('/assets/legado-finance-original.webp')}.intro-head{padding:30px 35px;margin:0;position:relative;z-index:1}.intro-head h1{font-size:36px;line-height:1.15;margin-bottom:16px}.intro-head p{font-size:15px;line-height:1.65;margin-bottom:0;max-width:560px}.topline{margin-bottom:20px}.pill{font-size:12px;border-radius:5px;padding:7px 12px}.chapter-nav{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:12px 0 18px;margin:15px 0 24px;font-size:14px;letter-spacing:.3px;scroll-margin-top:20px}#chapterLabel{font-weight:700;color:var(--accent)}#chapterCount{color:var(--muted)}
.card{padding:30px 34px;border-radius:10px;margin-bottom:24px}.step-title{margin-bottom:15px}.step-number{display:none}.step-title h2{font-family:Georgia,serif;font-size:26px;font-weight:400}.hint{font-size:14px}.grid{gap:20px}.field{font-size:14px}.field input{border-radius:5px;padding:13px 14px}.field em{font-size:12px}.question-set{padding-top:22px;margin-top:25px}.question-set legend{font-size:17px;line-height:1.5;font-weight:600}.q-help{font-size:14px}.answer-options{gap:10px}.option span{border-radius:5px;font-size:14px;min-height:52px;transition:background .15s,border-color .15s}.theme-accounting .option input:checked+span{background:#574626;border-color:#dfc080}.consent-box{border-radius:6px;margin-bottom:0;background:transparent}.check{font-size:14px;line-height:1.65}.privacy{font-size:13px}.btn{border-radius:5px;min-height:50px;font-size:14px;transition:filter .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn:disabled{cursor:wait;opacity:.7;transform:none}.btn-gold{background:linear-gradient(115deg,#e6ce99,#c5a063);color:#211c12;border-color:#c5a063}.wizard-actions{display:flex;gap:12px;justify-content:flex-end}.wizard-actions .btn{min-width:170px}.wizard-hint{text-align:right;font-size:12px;margin-top:12px}.progress-row{font-size:12px}progress{height:4px;margin-bottom:26px}.status{top:15px;border-radius:5px;line-height:1.5}.text-button{font-size:13px}
.result-heading{max-width:800px;margin:32px 0}.result-heading h1{font-size:42px;line-height:1.18}.result-heading p{font-size:15px}.result-card{border-radius:12px}.outcome{background:transparent;border:0;padding-bottom:0;color:var(--ink)}.outcome h2{font:400 24px/1.3 Georgia,serif;color:var(--ink)}.outcome p,body.theme-accounting .outcome p{color:var(--muted);font-size:14px;max-width:770px}.outcome .signal{color:var(--accent);border-color:var(--accent);font-size:18px}.meter-panel{grid-template-columns:180px 1fr;padding:28px 32px}.gauge{width:160px;height:160px}.gauge:after{width:135px;height:135px}.gauge-score{font-size:45px;color:var(--ink)}.gauge small{font-size:12px}.score-copy h3{font:400 26px Georgia,serif}.score-copy .label{font-size:13px}.score-copy p{font-size:14px;max-width:620px}.microstats b{font-size:26px}.microstats small{font-size:12px}.risk-note{border:1px solid #b78d47;background:transparent;color:var(--ink);border-radius:5px}.unknown-note{border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--muted)}.lead-note{font-size:13px;border-radius:5px}.lead-note .btn{display:block;margin-top:14px}.theme-accounting .gauge{--gauge-color:#cdb47e!important}.theme-accounting .theme-title span:last-child{color:#dcc58f}.theme-accounting .mini-meter i{background:#cdb47e}.theme-accounting .theme-item p{color:#c0c7cc}
.dashboard{border:1px solid var(--line);padding:26px 28px;background:var(--surface);border-radius:10px}.dashboard-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.dashboard-heading h2{font-size:27px;margin:0}.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.stat{border-left:1px solid var(--line);padding-left:20px}.stat:first-child{border-left:0;padding-left:0}.stat strong{font:36px Georgia,serif;display:block;color:var(--accent)}.stat span{display:block;font-size:12px;color:var(--muted);margin:9px 0;min-height:34px}.stat-track{height:4px;background:var(--surface-2);border:1px solid var(--line);overflow:hidden}.stat-track i{display:block;height:100%;background:var(--accent)}.dashboard>.hint{margin-top:22px;margin-bottom:0;font-size:12px}.priority-list{gap:15px}.priority{border-radius:8px;padding:24px}.priority .num{font-size:22px}.priority h3{font:400 21px Georgia,serif}.priority p{font-size:14px}.priority small{font-size:12px}.theme-item{border-radius:6px;padding:18px}.theme-title{font-size:14px}.theme-item p{font-size:13px}.contact-card{border-radius:10px;padding:32px}.contact-card h2{font-size:32px;max-width:750px}.btn-green{background:linear-gradient(110deg,#e4cb94,#c3a064);color:#221c12;border-color:#c3a064}.download-box{border-radius:6px}.method{font-size:13px}.result-section h2{font-size:30px}.personal-goal{max-width:800px}.pdf-dialog{border-radius:8px}
@media(min-width:1600px){body.theme-home .home{margin-top:50px}}
@media(max-width:800px){.shell{padding:22px 20px}.assessment-hero{grid-template-columns:1fr;min-height:0}.assessment-hero:after{min-height:150px;height:150px;order:-1;background-position:center 55%}.intro-head{padding:25px}.intro-head h1{font-size:32px}.card{padding:25px 22px}.answer-options{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr 1fr;gap:24px}.stat:nth-child(3){border-left:0;padding-left:0}.dashboard-heading{display:block}.dashboard-heading .pill{display:inline-block;margin-top:12px}.result-heading h1{font-size:34px}.priority-list{grid-template-columns:1fr}.priority{display:grid;grid-template-columns:30px 1fr;gap:12px}}
@media(max-width:520px){body.theme-home{background-position:47% top;background-attachment:scroll}.shell{padding:16px 16px 22px}.brand{gap:10px;margin-bottom:22px}.brand img{width:45px;height:45px}.brand-name{font-size:14px;letter-spacing:2px}.brand small{font-size:12px}body.theme-home .brand{padding:10px 14px;margin:6px auto 20px;gap:10px}body.theme-home .home{padding:30px 22px 24px;border-radius:10px}.home h1{font-size:40px}.home .eyebrow{font-size:10px;letter-spacing:2px}.home .intro{font-size:14px;line-height:1.6}.choice{padding:17px 10px;grid-template-columns:29px 1fr 16px;gap:12px}.choice .icon,.choice.accounting .icon,.choice.finance .icon,.choice.question .icon{width:29px}.choice svg{width:24px}.choice strong{font-size:23px}.choice small,.choice.accounting small,.choice.finance small{font-size:12px}.choice-number{font-size:10px}.home-foot{font-size:11px}.footer{padding:18px 10px}.footer-links{gap:14px}.footer .contacts{max-width:320px}.topline{gap:10px;align-items:flex-start}.topline .pill{max-width:210px;text-align:right;font-size:11px}.assessment-hero:after{height:130px;min-height:130px}.intro-head{padding:23px 21px}.intro-head h1{font-size:29px}.intro-head p{font-size:14px}.chapter-nav{font-size:12px}.card{padding:24px 18px}.step-title h2{font-size:24px}.question-set legend{font-size:16px}.question-set .q-help{font-size:13px}.option span{font-size:13px;padding:12px 8px}.option input:checked+span{padding:11px 7px}.answer-options.risk{grid-template-columns:1fr 1fr 1fr}.wizard-actions .btn{min-width:0;flex:1}.wizard-hint{text-align:center;line-height:1.6}.meter-panel{grid-template-columns:1fr;padding:25px 22px}.outcome{padding:24px 22px 0}.outcome h2{font-size:22px}.gauge{width:155px;height:155px}.gauge:after{width:129px;height:129px}.result-heading h1{font-size:31px}.result-heading h1 br{display:none}.result-heading p{font-size:14px}.dashboard{padding:24px 20px}.dashboard-heading h2{font-size:25px}.dashboard-grid{gap:20px}.stat span{font-size:12px}.contact-card{padding:25px 21px}.contact-card h2{font-size:28px}.theme-grid{grid-template-columns:1fr}.result-section h2{font-size:27px}.privacy{font-size:12px}.pdf-tools{flex-wrap:wrap}.pdf-dialog iframe{height:calc(100% - 120px)}}
@media print{.dashboard,.result-card,.priority,.theme-item{break-inside:avoid}.wizard-actions,.wizard-hint{display:none}body.theme-accounting{--ink:#222;--muted:#555;--surface:#fff;--surface-2:#eee;--accent:#806329;--line:#bbb}.theme-accounting .gauge:after{background:#fff}}

/* Destaques do relatório e termômetro solicitados pela Legado. */
#result{--attention:#9e4b4c;--attention-bg:#fbf1f0}body.theme-accounting #result{--attention:#e2a3a0;--attention-bg:#342729}
#result .needs-attention h2,#result .needs-attention h3,#result .needs-attention small,#result .needs-attention .num,#result .needs-attention .signal,#result .needs-attention .theme-title span:last-child{color:var(--attention)}
#result .risk-note{border-color:var(--attention);background:var(--attention-bg);color:var(--attention)}
#result .priority.needs-attention{border-color:var(--attention)}#result .theme-item.needs-attention .mini-meter i{background:var(--attention)}
#result .meter-panel{grid-template-columns:220px 160px 1fr;gap:28px}.thermometer{padding:20px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2)}.thermo-caption{font-size:10px;letter-spacing:1.5px;font-weight:700}.thermo-body{height:178px;display:flex;gap:20px;margin:18px 0}.thermo-track{position:relative;width:26px;margin:0 7px;border-radius:20px;background:linear-gradient(to top,#52846a 0%,#9dac6a 35%,#caa46c 58%,#b86a64 80%,#9e4b4c 100%);box-shadow:inset 0 0 0 1px #ffffff50}.thermo-marker{position:absolute;left:-7px;width:40px;height:8px;border:2px solid var(--ink);background:var(--surface);border-radius:4px;transform:translateY(50%)}.thermo-labels{display:flex;flex-direction:column;justify-content:space-between;font-size:11px;padding:2px 0;flex:1}.thermo-labels span:first-child{color:var(--attention)}.thermometer strong{display:block;font:19px Georgia,serif;margin-bottom:9px}.thermometer small{display:block;font-size:11px;line-height:1.6;color:var(--muted)}
@media(max-width:1000px){#result .meter-panel{grid-template-columns:200px 1fr}#result .score-copy{grid-column:1/-1}}@media(max-width:520px){#result .meter-panel{grid-template-columns:1fr}.thermometer{width:100%;max-width:290px;margin:auto}#result .score-copy{grid-column:auto}}
