:root { --yellow:#f1ca18; --yellow-light:#fff0a9; --ink:#17191b; --muted:#62676c; --line:#dfe2de; --paper:#f8f9f5; --white:#fff; --green:#176d48; --green-bg:#e5f6ec; --red:#ae3234; --red-bg:#fff0ed; --radius:20px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-width:320px; background:var(--paper); color:var(--ink); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing:antialiased; }
button, a { -webkit-tap-highlight-color:transparent; }
button { font:inherit; cursor:pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline:3px solid #1479cc; outline-offset:3px; }
.skip-link { position:absolute; left:8px; top:-50px; z-index:20; background:var(--ink); color:white; padding:10px; }
.skip-link:focus { top:8px; }
.shell { width:min(1120px, calc(100% - 48px)); margin:0 auto; }
.site-header { background:var(--yellow); border-bottom:1px solid rgba(0,0,0,.14); }
.header-inner { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display:inline-flex; align-items:center; border:0; padding:0; background:none; color:var(--ink); }
.brand-image { display:block; width:180px; height:58px; background-image:url('./logo.png'); background-repeat:no-repeat; background-position:center; background-size:190px 190px; }
.header-tag { font-size:11px; font-weight:800; letter-spacing:.16em; opacity:.68; white-space:nowrap; }
.header-contact { padding:9px 12px; border-radius:8px; background:var(--ink); color:white; font-size:12px; font-weight:800; text-decoration:none; white-space:nowrap; }
.header-contact:hover { background:#35383a; }
main { min-height:calc(100vh - 160px); }
.loading-state { padding:70px 0; color:var(--muted); }
.hero { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:48px; align-items:center; padding:72px 0 58px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; text-transform:uppercase; font-size:11px; font-weight:850; letter-spacing:.16em; }
.eyebrow::before { content:""; display:inline-block; width:23px; height:3px; border-radius:2px; background:var(--ink); }
h1,h2,h3,p { margin-top:0; }
.hero h1 { font-size:clamp(43px,6vw,76px); line-height:1.02; letter-spacing:-.065em; margin:20px 0 22px; max-width:760px; }
.hero h1 em { font-style:normal; background:linear-gradient(transparent 68%, var(--yellow) 68%); }
.hero p { color:#4f5458; font-size:18px; line-height:1.55; max-width:600px; margin-bottom:25px; }
.hero-cta { display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:14px 21px; border:0; border-radius:10px; background:var(--ink); color:white; text-decoration:none; font-size:14px; font-weight:800; }
.hero-cta:hover { transform:translateY(-1px); }
.hero-panel { padding:18px; border-radius:29px; background:var(--yellow); transform:rotate(3deg); box-shadow:13px 13px 0 #e6e9e1; }
.hero-panel img { display:block; width:100%; border-radius:17px; }
.hero-panel-note { padding:9px 13px 3px; font-size:12px; font-weight:800; text-align:center; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:16px; border-top:1px solid var(--line); padding-top:30px; margin-bottom:20px; }
.section-head h2 { font-size:30px; line-height:1.1; letter-spacing:-.045em; margin:8px 0 0; }
.section-head p { color:var(--muted); font-size:13px; margin:0 0 3px; }
.overall-progress { display:flex; align-items:center; gap:32px; padding:20px 24px; margin:0 0 20px; border-radius:16px; background:#fff5c3; border:1px solid #e9d879; }
.overall-progress > div:first-child { flex:0 0 160px; }
.overall-label { display:block; font-size:14px; font-weight:800; }
.overall-value { display:block; margin-top:3px; font-size:42px; line-height:1; letter-spacing:-.06em; }
.overall-details { flex:1; min-width:0; }
.overall-details p { margin:0 0 9px; font-size:15px; font-weight:700; line-height:1.4; }
.overall-details small { display:block; margin-top:8px; color:#5d5b4b; font-size:13px; line-height:1.35; }
.overall-track { height:8px; overflow:hidden; border-radius:99px; background:#ddcf93; }
.overall-track span { display:block; height:100%; border-radius:99px; background:var(--green); }
.quiz-filters { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 21px; }
.quiz-filters button { display:inline-flex; align-items:center; gap:9px; padding:11px 15px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); font-size:13px; font-weight:800; }
.quiz-filters button[aria-pressed="true"] { background:var(--yellow); border-color:#c7a917; }
.quiz-filters span { font-size:11px; opacity:.65; }
.quizzes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding-bottom:76px; }
.quiz-card { display:flex; flex-direction:column; min-height:202px; padding:24px; border:1px solid var(--line); background:var(--white); border-radius:var(--radius); text-align:left; color:var(--ink); transition:transform .15s, border-color .15s, box-shadow .15s; }
.quiz-card:hover { transform:translateY(-3px); border-color:#bd9f12; box-shadow:0 11px 23px rgba(0,0,0,.06); }
.quiz-card.featured { background:var(--ink); color:var(--white); border-color:var(--ink); }
.quiz-card.completed { padding:23px; background:#d8f3e4; color:#173c29; border:2px solid var(--green); }
.quiz-card.completed:hover { background:#c8ebd8; border-color:#124e34; }
.quiz-card.completed .card-icon { background:var(--green); color:white; }
.quiz-card.completed .card-count { opacity:1; color:#265b3e; }
.quiz-card.completed p { opacity:.85; }
.card-top { display:flex; align-items:center; justify-content:space-between; width:100%; }
.card-icon { display:grid; place-items:center; width:37px; height:37px; background:var(--yellow); border-radius:10px; font-size:16px; color:var(--ink); font-weight:900; }
.card-count { font-size:12px; opacity:.7; font-weight:650; }
.quiz-card h3 { font-size:20px; letter-spacing:-.035em; margin:24px 0 6px; }
.quiz-card p { font-size:13px; line-height:1.45; opacity:.7; margin:0; }
.completed-badge { display:inline-flex; align-items:center; gap:5px; align-self:flex-start; margin-top:16px; padding:7px 11px; border-radius:99px; background:var(--green); color:white; font-size:14px; font-weight:800; }
.card-arrow { margin-top:auto; align-self:flex-end; font-size:22px; line-height:1; }
.quiz-layout { max-width:860px; margin:0 auto; padding:37px 0 80px; }
.back-button { border:0; background:none; padding:9px 0; color:var(--muted); font-size:13px; font-weight:750; }
.back-button:hover { color:var(--ink); }
.quiz-heading { display:flex; justify-content:space-between; align-items:end; gap:18px; padding:27px 0 22px; }
.quiz-heading h1 { font-size:clamp(30px,4.3vw,46px); line-height:1.08; letter-spacing:-.052em; margin:7px 0 5px; }
.quiz-heading p { color:var(--muted); font-size:14px; margin:0; }
.quiz-pill { background:var(--yellow-light); padding:10px 14px; border-radius:9px; white-space:nowrap; font-size:12px; font-weight:850; }
.progress-head { display:flex; justify-content:space-between; gap:10px; margin-bottom:9px; font-size:12px; font-weight:750; color:var(--muted); }
.progress-track { height:8px; border-radius:99px; background:#e6e8e2; overflow:hidden; }
.progress-fill { height:100%; border-radius:99px; background:var(--yellow); transition:width .2s; }
.question-card { padding:clamp(23px,4vw,44px); background:white; border:1px solid var(--line); border-radius:24px; margin:22px 0 16px; box-shadow:0 10px 30px rgba(18,24,21,.035); }
.question-index { display:inline-block; font-size:11px; text-transform:uppercase; letter-spacing:.15em; font-weight:850; color:#7b6711; margin-bottom:18px; }
.question-card h2 { font-size:clamp(21px,2.9vw,29px); letter-spacing:-.027em; line-height:1.32; max-width:750px; margin-bottom:28px; }
.sign-figure { width:180px; margin:0 auto 28px; text-align:center; }
.sign-figure img { display:block; width:180px; height:180px; object-fit:contain; }
.illustration-figure { width:min(100%,520px); margin:0 auto 28px; text-align:center; }
.illustration-figure img { display:block; width:100%; max-height:260px; object-fit:contain; border-radius:9px; }
.sign-figure figcaption,.illustration-figure figcaption { margin-top:6px; color:var(--muted); font-size:12px; }
.options { display:grid; gap:10px; }
.option { display:flex; align-items:flex-start; gap:14px; padding:15px 17px; border:1.5px solid #dce0da; border-radius:12px; cursor:pointer; line-height:1.45; font-size:15px; transition:background .15s,border-color .15s; }
.option:hover { background:#fffbdf; border-color:#d1b322; }
.option.selected { background:#fff7c9; border-color:#ad8e00; box-shadow:inset 0 0 0 1px #ad8e00; }
.option input { position:absolute; opacity:0; width:1px; height:1px; }
.option:focus-within { outline:3px solid #1479cc; outline-offset:2px; }
.option-letter { flex:0 0 28px; display:grid; place-items:center; height:28px; border-radius:7px; background:#edf0e9; font-size:12px; font-weight:850; }
.option.selected .option-letter { background:var(--ink); color:white; }
.option-text { padding-top:3px; }
.quiz-actions { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.button { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:47px; padding:11px 17px; border:1px solid transparent; border-radius:10px; font-weight:800; font-size:14px; text-decoration:none; }
.button.primary { color:var(--ink); background:var(--yellow); }
.button.primary:hover { background:#e2ba08; }
.button.secondary { color:var(--ink); background:white; border-color:var(--line); }
.button.secondary:hover { border-color:#a7ada6; }
.button:disabled { opacity:.45; cursor:not-allowed; }
.quiz-hint { font-size:12px; color:var(--muted); text-align:center; margin:20px 0 0; }
.confirmation { padding:16px 19px; margin-bottom:15px; border:1px solid #dfb95a; background:#fff8d9; border-radius:12px; }
.confirmation strong { display:block; font-size:14px; }
.confirmation p { font-size:13px; margin:4px 0 12px; }
.confirmation button { margin-right:8px; }
.result-intro { padding:45px 0 16px; }
.result-intro h1 { font-size:clamp(34px,5vw,56px); letter-spacing:-.055em; margin:12px 0 8px; }
.result-intro p { color:var(--muted); max-width:570px; }
.result-card { display:grid; grid-template-columns:170px 1fr; gap:35px; align-items:center; padding:32px; border-radius:24px; background:var(--yellow); }
.score-ring { width:155px; height:155px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(var(--ink) var(--angle), rgba(0,0,0,.13) 0); }
.score-ring::before { content:""; grid-area:1/1; width:125px; height:125px; border-radius:50%; background:var(--yellow); }
.score-ring span { grid-area:1/1; z-index:1; font-size:36px; font-weight:900; letter-spacing:-.06em; }
.result-card h2 { font-size:32px; letter-spacing:-.05em; margin:0 0 6px; }
.result-card p { margin-bottom:17px; font-size:14px; }
.result-actions { display:flex; flex-wrap:wrap; gap:9px; }
.result-actions .button.secondary { border-color:rgba(0,0,0,.15); }
.review { padding:30px 0 70px; }
.review-header { display:flex; justify-content:space-between; align-items:end; gap:12px; border-bottom:1px solid var(--line); padding-bottom:14px; margin-bottom:18px; }
.review h2 { font-size:25px; letter-spacing:-.04em; margin:0 0 4px; }
.review-header p { margin:0; font-size:13px; color:var(--muted); }
.text-button { border:0; background:none; color:#735f00; font-weight:800; font-size:13px; text-decoration:underline; text-underline-offset:3px; padding:8px 0; }
.review-list { display:grid; gap:10px; }
.review-item { padding:19px 21px; background:white; border:1px solid var(--line); border-radius:15px; }
.review-item h3 { font-size:15px; line-height:1.4; margin:7px 0 13px; }
.review-sign { display:block; width:88px; height:88px; object-fit:contain; margin:0 0 13px; }
.review-illustration { display:block; max-width:min(100%,320px); max-height:190px; object-fit:contain; margin:0 0 13px; border-radius:8px; }
.review-tag { font-size:11px; font-weight:850; text-transform:uppercase; letter-spacing:.1em; }
.review-tag.wrong { color:var(--red); }
.review-tag.right { color:var(--green); }
.review-item p { font-size:13px; line-height:1.4; margin:5px 0; }
.review-item .correct { color:var(--green); font-weight:700; }
.review-item .incorrect { color:var(--red); }
.empty-review { padding:22px; background:var(--green-bg); color:var(--green); border-radius:14px; font-weight:700; }
.site-footer { border-top:1px solid var(--line); padding:28px 0; }
.contact-panel { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:30px; padding:28px 32px; border-radius:18px; background:#fff5c3; color:var(--ink); }
.contact-panel h2 { margin:8px 0 5px; font-size:clamp(22px,3vw,29px); letter-spacing:-.045em; }
.contact-panel p { margin:0; color:#53544b; font-size:13px; line-height:1.5; }
.contact-links { display:flex; flex-direction:column; align-items:stretch; gap:9px; }
.contact-links a { display:block; padding:12px 15px; border-radius:9px; font-size:13px; font-weight:800; text-align:center; text-decoration:none; overflow-wrap:anywhere; }
.contact-whatsapp { background:var(--ink); color:white; }
.contact-whatsapp:hover { background:#35383a; }
.contact-email { background:white; color:var(--ink); border:1px solid #ded5a3; }
.contact-email:hover { border-color:#8b7919; }
.footer-legal { display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; padding-top:19px; font-size:11px; line-height:1.5; color:#73797a; }
.footer-legal a { color:#454b4d; text-underline-offset:3px; }
.stats-page { max-width:860px; margin:0 auto; padding:36px 0 80px; }
.stats-page .eyebrow { display:flex; margin-top:24px; }
.stats-page h1 { font-size:clamp(34px,6vw,56px); letter-spacing:-.055em; margin:10px 0; }
.stats-page > p { color:var(--muted); line-height:1.55; max-width:650px; }
.stats-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:28px 0 34px; }
.stat-card { padding:21px; border-radius:16px; background:#fff5c3; border:1px solid #e9d879; }
.stat-card span { display:block; font-size:14px; font-weight:750; }
.stat-card strong { display:block; margin-top:10px; font-size:clamp(29px,4vw,42px); line-height:1; }
.stats-page h2 { font-size:22px; margin-bottom:17px; }
.daily-stats { display:grid; gap:12px; margin-bottom:18px; }
.daily-row { display:grid; grid-template-columns:115px minmax(0,1fr) 42px; align-items:center; gap:12px; font-size:14px; }
.daily-row strong { text-align:right; }
.daily-track { height:12px; border-radius:20px; background:#e5e8df; overflow:hidden; }
.daily-track span { display:block; height:100%; background:var(--yellow); border-radius:20px; }
.stats-page small { color:var(--muted); font-size:13px; }
.stats-loading { margin-top:25px; }
@media(max-width:850px) { .quizzes { grid-template-columns:repeat(2,minmax(0,1fr)); } .hero { grid-template-columns:minmax(0,1fr) 225px; gap:24px; } }
@media(max-width:620px) { .overall-progress { align-items:flex-start; flex-direction:column; gap:13px; padding:18px; } .overall-progress > div:first-child { flex-basis:auto; } .overall-value { font-size:38px; } .overall-details { width:100%; } }
@media(max-width:620px) { .shell { width:min(100% - 32px, 500px); } .header-inner { min-height:68px; } .header-tag { display:none; } .hero { grid-template-columns:1fr; padding:45px 0 43px; } .hero h1 { font-size:48px; margin:14px 0; } .hero p { font-size:16px; } .hero-panel { display:none; } .section-head { align-items:start; } .section-head p { display:none; } .quizzes { grid-template-columns:1fr; gap:10px; padding-bottom:54px; } .quiz-card { min-height:150px; padding:20px; } .quiz-card h3 { margin-top:12px; } .quiz-layout { padding-top:22px; } .quiz-heading { align-items:start; flex-direction:column; gap:12px; padding-top:20px; } .quiz-pill { padding:7px 11px; } .question-card { margin-top:17px; } .question-card h2 { margin-bottom:22px; } .sign-figure { width:145px; } .sign-figure img { width:145px; height:145px; } .sign-figure figcaption { margin-top:0; } .option { padding:13px; font-size:14px; } .result-card { grid-template-columns:1fr; gap:17px; padding:23px; } .score-ring { width:118px; height:118px; } .score-ring::before { width:93px; height:93px; } .score-ring span { font-size:28px; } .result-actions .button { width:100%; } .review-header { align-items:start; flex-direction:column; } .contact-panel { grid-template-columns:1fr; padding:22px; gap:18px; } .contact-links a { width:100%; } .site-footer { padding-bottom:26px; } }
@media(max-width:620px) { .stats-grid { grid-template-columns:1fr; gap:9px; } .stat-card { padding:17px; } .stat-card strong { margin-top:5px; } .daily-row { grid-template-columns:74px minmax(0,1fr) 32px; gap:8px; font-size:12px; } }

/* V2 — interface de estudo */
body{background:#f5f5f5}.hero{background:#171717;color:white;padding:44px;border-radius:24px;margin:28px 0;gap:32px}.hero p{color:#e0e0e0}.hero .eyebrow::before{background:var(--yellow)}.hero h1{font-size:clamp(34px,5vw,60px)}.hero h1 em{background:none;color:var(--yellow)}.hero-cta{background:var(--yellow);color:#171717}.hero-panel{transform:none;box-shadow:none}.training-panel{margin:0 0 32px;padding:24px;background:white;border:1px solid var(--line);border-radius:20px}.training-panel h2{margin:12px 0 20px}.training-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.training-card{background:#f5f5f5;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px}.training-card h3,.training-card p{margin:0}.training-card p{font-size:13px;color:var(--muted);flex:1}.training-panel small{display:block;margin-top:14px;color:var(--muted)}.exam-timer{position:sticky;top:8px;z-index:5;background:#171717;color:#fff;padding:12px 18px;border-radius:12px;margin-bottom:14px}.exam-timer strong{color:var(--yellow);font-variant-numeric:tabular-nums}@media(max-width:800px){.training-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:24px;grid-template-columns:1fr}.hero-panel{display:none}}@media(max-width:420px){.training-grid{grid-template-columns:1fr}.training-panel{padding:14px}}

/* Portal do aluno */
.ha-dialog{border:0;padding:0;border-radius:24px;width:min(940px,94vw);max-width:94vw;max-height:90dvh;color:#171717;background:#fff;box-shadow:0 24px 90px #0005;overflow:auto}.ha-dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.ha-shell{display:grid;grid-template-columns: .85fr 1.15fr;min-height:530px}.ha-side{background:#171717;color:white;padding:36px;display:flex;flex-direction:column;gap:20px}.ha-side img{width:180px;max-width:100%;background:#f5cf00;border-radius:10px;padding:10px;margin-bottom:20px}.ha-side h2{font-size:34px;line-height:1.1;margin:0;color:#fff}.ha-side p{color:#ddd;margin:0;line-height:1.6}.ha-kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:#806600}.ha-side .ha-kicker{color:#f5cf00}.ha-benefits{white-space:pre-line;line-height:2.3;font-size:14px;color:#f5cf00;margin-top:auto}.ha-main{position:relative;padding:42px 34px;min-width:0}.ha-main h2{font-size:30px;margin:12px 0 6px;overflow-wrap:anywhere}.ha-main h3{font-size:18px;margin:24px 0 12px}.ha-muted,.ha-foot{color:#666;font-size:13px}.ha-close{position:absolute;right:14px;top:12px;border:0;background:#f2f2f2;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer}.ha-tabs{display:flex;background:#f1f1f1;border-radius:12px;padding:4px;margin:22px 0;gap:4px}.ha-tabs button{flex:1;border:0;background:transparent;border-radius:9px;padding:11px;font:inherit;font-weight:700;cursor:pointer}.ha-tabs .ha-active{background:#171717;color:white}.ha-form{display:grid;gap:12px}.ha-label{display:grid;gap:6px;font-size:13px;font-weight:700}.ha-label input{width:100%;border:1px solid #d3d3d3;border-radius:10px;padding:13px;font:inherit;font-weight:400;background:#fafafa;box-sizing:border-box}.ha-label input:focus{outline:2px solid #d7b400;outline-offset:1px}.ha-primary{display:block;width:100%;border:0;border-radius:10px;background:#f5cf00;color:#171717;font:inherit;font-weight:800;padding:14px;cursor:pointer}.ha-primary:disabled{opacity:.6;cursor:wait}.ha-link{border:0;background:none;color:#333;text-decoration:underline;font:inherit;font-size:13px;cursor:pointer;text-align:left;padding:6px 0}.ha-message{color:#a51b1b;font-size:13px;margin:0}.ha-message:empty{display:none}.ha-foot{margin-top:20px}.ha-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 0}.ha-stats>div{background:#f5f5f5;border-radius:12px;padding:12px 8px}.ha-stats small{font-size:11px;color:#555;display:block}.ha-stats strong{font-size:24px;display:block;margin-top:8px}.ha-history{max-height:250px;overflow:auto;margin-bottom:12px}.ha-result{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #eee;padding:12px 0;font-size:13px}.ha-result small{display:block;color:#666;margin-top:4px}.ha-result b{background:#fff3b0;border-radius:8px;padding:8px;white-space:nowrap}@media(max-width:650px){.ha-shell{grid-template-columns:1fr}.ha-side{padding:20px;gap:8px}.ha-side img{width:120px;margin:0}.ha-side h2{font-size:22px}.ha-side p,.ha-benefits{display:none}.ha-main{padding:30px 20px}.ha-main h2{font-size:25px}.ha-dialog{max-height:94dvh}.ha-stats strong{font-size:20px}}

.ha-consent{display:flex;gap:10px;align-items:flex-start;font-size:14px}.ha-consent input{width:20px!important;height:20px!important;flex:none}.ha-form input{font-size:16px}.ha-form .ha-primary{min-height:52px}
