/* Desafio da Palavra — estilos locais, sem dependências externas. */
:root{--paper:#f6f4ec;--card:#fffefa;--green:#163f36;--green-dark:#10372f;--green-soft:#eaf0e8;--text:#203d34;--muted:#677168;--line:#dce0d4;--gold:#b09352;--gold-light:#edcf87;--red:#963d39;--red-soft:#fcf0eb;--radius:20px;--serif:Georgia,'Times New Roman',serif;--sans:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button,a,input,label{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button,a,input,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b78a2b;outline-offset:4px}h1,h2,p{margin:0}a{color:inherit}svg{display:block;flex-shrink:0}[hidden]{display:none!important}.page-width{width:min(1120px,calc(100% - 64px));margin-inline:auto}.skip-link{position:fixed;top:10px;left:12px;transform:translateY(-160%);z-index:20;padding:10px 18px;color:white;background:var(--green);border-radius:8px}.skip-link:focus{transform:translateY(0)}
.site-header{border-bottom:1px solid var(--line)}.header-inner{min-height:110px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:13px;text-decoration:none;line-height:1.12;min-height:48px}.brand-mark{width:49px;height:49px;border-radius:13px;background:var(--green);color:var(--gold-light);display:grid;place-items:center}.brand-mark svg{width:35px;height:35px}.brand-name{font-family:var(--serif);font-size:22px;font-weight:700;letter-spacing:-.4px}.brand-name span{display:block}.header-note{font-size:12px;color:var(--muted);letter-spacing:.35px;display:flex;align-items:center;gap:10px}.small-star{color:var(--gold);font-size:20px}.text-button{border:0;background:none;padding:10px 0;min-height:44px;color:var(--green);font-size:14px;font-weight:650;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:5px;transition:text-decoration-color .15s}.text-button:hover{text-decoration-color:currentColor}.text-button span{margin-left:7px}.exit-button{color:var(--muted)}
.home-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,470px);gap:64px;align-items:center;padding:72px 0 80px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;line-height:1.5}.hero-copy>.eyebrow{display:flex;gap:9px;align-items:center;color:#657365;margin-bottom:25px}.hero-copy>.eyebrow span{color:var(--gold);font-size:17px}h1{font-family:var(--serif);font-weight:400;line-height:1.13;letter-spacing:-2.8px}.hero-copy h1{font-size:clamp(43px,4.7vw,60px)}.hero-copy h1 em{display:block;color:var(--green);font-weight:400;position:relative;font-size:1.22em;line-height:1.08}.hero-copy h1 em:after{content:'';display:block;width:132px;border-bottom:2px solid var(--gold-light);margin:16px 0 24px}.hero-description{font-size:15px;line-height:1.8;color:var(--muted);max-width:420px}.hero-details{display:flex;flex-wrap:wrap;gap:9px 19px;margin-top:28px;font-size:11px;font-weight:550;color:#5a675f}.hero-details>span{display:flex;align-items:center;gap:6px}.hero-details svg{width:17px;height:17px;color:#758472}.learning-note{display:flex;gap:16px;align-items:center;margin-top:51px}.note-line{height:48px;width:2px;background:#c5cdb8;flex-shrink:0}.learning-note p{font-size:12px;color:var(--muted);line-height:1.8}.learning-note strong{font-weight:600;color:var(--text)}
.setup-card{background:var(--card);border:1px solid #dde1d5;border-radius:var(--radius);padding:31px;box-shadow:0 12px 35px #213e3406}.setup-heading{display:flex;gap:16px;align-items:center;margin-bottom:30px}.chapter-number{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#eeefe5;font-family:var(--serif);font-size:18px;color:#7d805a;flex-shrink:0}.setup-heading .eyebrow{font-size:9px;letter-spacing:1.5px;color:var(--muted);margin-bottom:3px}.setup-heading h2{font-family:var(--serif);font-size:26px;line-height:1.2;font-weight:400;letter-spacing:-.6px}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-size:12px;line-height:1.5;font-weight:650;margin-bottom:13px;padding:0}.difficulty-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.difficulty-option{position:relative;display:block;cursor:pointer}.difficulty-option input,.testament-options input{position:absolute;opacity:0;width:1px;height:1px}.difficulty-content{border:1px solid var(--line);border-radius:11px;display:flex;flex-direction:column;align-items:flex-start;min-height:119px;padding:16px 12px 13px;transition:background .15s,border-color .15s}.difficulty-content strong{font-size:13px;line-height:1.5;margin-top:9px}.difficulty-content small{font-size:9px;white-space:nowrap;color:var(--muted);margin-top:3px;letter-spacing:-.1px}.difficulty-option input:checked+.difficulty-content{border-color:var(--green);background:#edf2e9;box-shadow:inset 0 0 0 .5px var(--green)}.difficulty-option input:focus-visible+.difficulty-content,.testament-options input:focus-visible+span{outline:3px solid #b78a2b;outline-offset:4px}.difficulty-option:hover .difficulty-content{border-color:#8c9b89}.radio-dot{position:absolute;right:10px;top:12px;border:1px solid #bcc5b6;border-radius:50%;width:11px;height:11px}.difficulty-option input:checked~.radio-dot{background:var(--green);border-color:var(--green);box-shadow:inset 0 0 0 2px #edf2e9}.level-icon{display:flex;align-items:flex-end;gap:3px;height:19px;width:24px}.level-icon i{width:5px;background:#d5dccd;border-radius:2px}.level-icon i:nth-child(1){height:8px;background:#608367}.level-icon i:nth-child(2){height:13px}.level-icon i:nth-child(3){height:18px}.level-two i:nth-child(2),.level-three i:nth-child(2),.level-three i:nth-child(3){background:#608367}.testament-fieldset{margin-top:25px}.testament-options{display:grid;grid-template-columns:.95fr 1.18fr 1.12fr;gap:3px;padding:4px;background:#efefe7;border-radius:9px}.testament-options label{min-width:0;cursor:pointer;position:relative}.testament-options label>span{min-height:43px;display:flex;align-items:center;justify-content:center;gap:3px;padding:5px 6px;font-size:9px;font-weight:600;border:1px solid transparent;border-radius:6px;white-space:nowrap;color:#6b7369}.testament-options input:checked+span{background:var(--card);color:var(--green);box-shadow:0 1px 4px #243e3312;border-color:#e3e5da}.short-label{display:none}.button{min-height:49px;border-radius:9px;border:1px solid transparent;font-size:13px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:13px 20px;line-height:1.5;transition:background .15s,transform .15s;white-space:normal}.button-primary{background:var(--green);color:#fffef5}.button-primary:hover:not(:disabled){background:var(--green-dark);transform:translateY(-1px)}.button-primary:active:not(:disabled){transform:translateY(0)}.button-primary:disabled{background:#d9dfd3;color:#73826f}.button-outline{border-color:#bfc9b9;color:var(--green);background:transparent}.button-outline:hover{background:#edf1e7}.button svg{width:18px;height:18px}.start-button{width:100%;justify-content:space-between;margin-top:26px;padding-inline:20px;min-height:52px}.start-button>span{font-size:21px;font-weight:400;line-height:1}.setup-footnote{text-align:center;font-size:9px;color:#6e786d;margin-top:12px}.best-score{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;display:flex;align-items:center;gap:11px}.best-icon{font-size:29px;line-height:1;color:#9a844c}.best-label{font-size:8px;font-weight:700;letter-spacing:1.2px;display:block;color:var(--muted)}.best-score p{font-size:11px;color:#5b6d5d;margin-top:3px}.form-error{font-size:12px;color:var(--red);background:var(--red-soft);padding:12px;border-radius:8px;margin-top:20px}
.site-footer{border-top:1px solid var(--line);padding:24px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:12px 24px;color:#778072;font-size:9px}.site-footer p:first-child{display:flex;gap:9px;align-items:center;color:#5d6e5d;font-size:10px}.site-footer p:first-child span{font-size:15px;color:#a29367}
.quiz-screen{width:min(750px,100%);margin:auto;padding:46px 0 65px}.round-heading,.progress-meta{display:flex;align-items:center;justify-content:space-between;gap:14px}.round-heading .eyebrow{font-size:10px;color:#64705e}.score-pill{font-size:11px;font-weight:650;padding:6px 13px;border:1px solid #d6decd;border-radius:30px;background:#edf1e6}.progress-meta{margin:25px 0 10px;font-size:12px;font-weight:600}.level-badge{font-size:10px;font-weight:500;color:var(--muted)}.progress-track{height:5px;border-radius:10px;background:#dfe4d6;overflow:hidden}.progress-track>span{display:block;height:100%;width:0;background:#7f9468;transition:width .3s ease}.question-card{margin-top:27px;padding:34px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}.category-label{color:#77816b;font-size:9px;margin-bottom:14px}.question-card h1{font-size:30px;line-height:1.3;letter-spacing:-.7px;outline:none}.answer-instruction{color:var(--muted);font-size:11px;margin:15px 0 23px}.answer-options{display:grid;gap:10px}.answer-option{width:100%;min-height:58px;display:flex;align-items:center;gap:15px;text-align:left;background:transparent;border:1px solid #dce1d4;border-radius:10px;padding:11px 15px;color:var(--text);font-size:13px;line-height:1.55;transition:border-color .15s,background .15s}.answer-option:hover:not(:disabled){background:#f0f4e9;border-color:#90a584}.answer-letter{width:29px;height:29px;display:grid;place-items:center;border:1px solid #dbe1d2;border-radius:7px;flex-shrink:0;color:#77836f;font-size:11px}.answer-text{flex:1;overflow-wrap:anywhere}.answer-marker{width:20px;flex-shrink:0;font-size:18px;font-weight:700}.answer-option:disabled{opacity:1;color:var(--text)}.answer-option.is-correct{background:#eaf2e5;border-color:#78956a}.is-correct .answer-letter{background:#416644;border-color:#416644;color:#fff}.is-correct .answer-marker{color:#416644}.answer-option.is-wrong{background:var(--red-soft);border-color:#ca9185}.is-wrong .answer-letter{background:var(--red);border-color:var(--red);color:white}.is-wrong .answer-marker{color:var(--red)}.answer-option.is-muted{color:#7a8175}.answer-feedback{margin-top:24px;border-radius:11px;background:#eef3e8;border-left:3px solid #78956a;padding:18px 20px;font-size:12px;color:#4b604b}.answer-feedback.is-incorrect{background:#f6f2e6;border-color:#b59955;color:#645c42}.feedback-title{font-size:13px;font-weight:700;margin-bottom:7px}.reference{display:flex;gap:8px;align-items:flex-start;font-size:11px;font-weight:650;margin-top:12px}.reference svg{width:17px;height:17px;margin-top:1px}.question-navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:23px}.question-navigation>span{font-size:10px;color:#77806f}.question-navigation .button{min-width:202px}
.result-screen{max-width:850px;margin:auto;padding:55px 0 65px}.result-screen>.eyebrow,.result-screen>h1,.result-subtitle{text-align:center}.result-screen>.eyebrow{color:#778168}.result-screen>.eyebrow span{color:var(--gold);margin-right:7px}.result-screen>h1{font-size:47px;letter-spacing:-1.5px;margin-top:14px;outline:none}.result-subtitle{font-size:13px;color:var(--muted);margin:15px 0 30px}.result-card{padding:35px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}.result-overview{display:flex;align-items:center;justify-content:center;gap:36px}.score-ring{--score:0%;width:172px;height:172px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#779366 var(--score),#e8eadf 0);padding:7px;transform:rotate(-90deg)}.score-ring>div{width:100%;height:100%;border-radius:50%;background:var(--card);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(90deg)}.score-ring strong{font-family:var(--serif);font-size:57px;font-weight:400;line-height:1.2;letter-spacing:-2px}.score-ring strong span{font-size:24px;letter-spacing:-1px;color:#8a927b}.score-ring>div>span{font-size:9px;color:var(--muted);margin-top:5px}.result-summary{max-width:365px}.result-summary>.eyebrow{font-size:9px;color:#778168;letter-spacing:1px}.result-summary h2{font-family:var(--serif);font-size:28px;line-height:1.25;font-weight:400;letter-spacing:-.5px;margin:12px 0}.result-summary>p:not(.eyebrow){font-size:12px;color:var(--muted)}.result-summary .new-best{font-weight:650!important;color:#6b773f!important;margin-top:12px}.new-best span{font-size:18px;margin-right:4px}.result-actions{border-top:1px solid var(--line);padding-top:27px;margin-top:30px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.result-actions .button{font-size:12px}.result-actions .button-primary{justify-content:space-between}.share-status{font-size:11px;color:#526b4f;text-align:center}.share-status:not(:empty){margin-top:14px}.share-fallback{margin-top:18px;font-size:11px}.share-fallback label{display:block;margin-bottom:7px}.share-fallback textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8f9f2;color:var(--text);font-size:12px;resize:vertical}.result-secondary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 3px 0}.result-secondary .text-button{font-size:12px}.review-section{margin-top:35px;border-top:1px solid var(--line);padding-top:30px}.review-section h2{font-family:var(--serif);font-size:28px;line-height:1.3;font-weight:400;letter-spacing:-.5px;outline:none}.review-intro{font-size:12px;color:var(--muted);margin:12px 0 23px}.review-item{border:1px solid var(--line);border-radius:13px;background:var(--card);padding:23px;margin-top:14px}.review-item h3{font-family:var(--serif);font-size:21px;font-weight:400;line-height:1.4;margin:0 0 16px;letter-spacing:-.3px}.review-item p{font-size:12px}.review-item .review-your{color:var(--red);margin-bottom:5px}.review-correct{color:#42673f}.review-explanation{color:var(--muted);margin-top:14px}.review-item .reference{margin-top:11px;color:#627457}.review-index{font-size:9px;color:#7c846f;letter-spacing:1px;display:block;margin-bottom:7px}.noscript-message{padding:25px;border-radius:12px;border:1px solid var(--line);background:white;margin-bottom:30px}dialog{border:1px solid var(--line);border-radius:18px;padding:0;max-width:440px;width:calc(100% - 40px);color:var(--text);background:var(--card);box-shadow:0 25px 80px #102f2b30}dialog::backdrop{background:#102f2b7d;backdrop-filter:blur(3px)}.dialog-content{padding:29px}.dialog-content>.eyebrow{font-size:9px;color:var(--muted)}.dialog-content h2{font-family:var(--serif);font-size:29px;font-weight:400;margin:13px 0}.dialog-content>p:not(.eyebrow){font-size:12px;color:var(--muted)}.dialog-actions{display:flex;flex-direction:column;gap:10px;margin-top:24px}
@media(min-width:1400px){.home-screen{padding-block:85px 95px}.page-width{width:min(1140px,calc(100% - 100px))}.hero-copy h1{font-size:64px}.home-screen{grid-template-columns:minmax(0,1fr) 480px;gap:90px}.setup-card{padding:34px}.difficulty-content small{font-size:10px}}
@media(max-width:1020px){.home-screen{gap:35px;grid-template-columns:minmax(0,1fr) minmax(0,430px)}.hero-copy h1{font-size:47px}.hero-description{font-size:14px}.setup-card{padding:26px}.difficulty-content{padding-inline:10px}.difficulty-content small{font-size:8px}.testament-options label>span{font-size:8px}.hero-details{flex-direction:column;gap:9px}.header-note{font-size:10px}.learning-note{margin-top:33px}}
@media(max-width:820px){.page-width{width:calc(100% - 48px)}.header-inner{min-height:90px}.home-screen{grid-template-columns:1fr;max-width:530px;margin-inline:auto;gap:37px;padding:43px 0 50px}.hero-copy{text-align:center}.hero-copy>.eyebrow{justify-content:center;font-size:9px;margin-bottom:20px}.hero-copy h1{font-size:51px;letter-spacing:-2.3px}.hero-copy h1 em:after{margin-inline:auto;margin-top:13px;margin-bottom:20px;width:110px}.hero-description{margin-inline:auto;font-size:14px}.hero-details{flex-direction:row;justify-content:center;gap:12px 20px;margin-top:22px}.learning-note{display:none}.setup-card{padding:30px}.difficulty-content{padding:16px 14px}.difficulty-content small{font-size:10px}.testament-options label>span{font-size:10px}.site-footer{flex-direction:column;text-align:center;gap:6px;padding-block:21px 25px}.site-footer p{font-size:9px}.quiz-screen{padding-top:32px}.result-screen{padding-top:39px}.result-overview{gap:25px}.result-card{padding:29px}.result-summary h2{font-size:25px}}
@media(max-width:540px){.page-width{width:calc(100% - 36px)}.header-inner{min-height:81px;gap:12px}.brand-mark{width:40px;height:40px;border-radius:11px}.brand-mark svg{width:29px;height:29px}.brand{gap:10px}.brand-name{font-size:18px;letter-spacing:-.3px}.header-note{font-size:0;gap:0}.header-note .small-star{font-size:22px}.exit-button{font-size:10px;white-space:nowrap}.exit-button span{display:none}.home-screen{padding-top:34px;gap:29px}.hero-copy>.eyebrow{font-size:8px;letter-spacing:1.35px;margin-bottom:16px}.hero-copy h1{font-size:42px;letter-spacing:-1.7px}.hero-copy h1 em{font-size:1.27em}.hero-description{font-size:12px;line-height:1.85}.hero-details{font-size:9px;gap:10px 16px;margin-top:20px}.hero-details svg{width:15px;height:15px}.setup-card{padding:24px 20px;border-radius:16px}.setup-heading{gap:12px;margin-bottom:25px}.setup-heading h2{font-size:25px}.setup-heading .eyebrow{font-size:8px}.chapter-number{width:39px;height:39px;font-size:17px}.difficulty-options{gap:7px}.difficulty-content{min-height:117px;padding:14px 10px 12px}.difficulty-content strong{font-size:12px}.difficulty-content small{font-size:8px}.radio-dot{right:8px;top:10px;width:10px;height:10px}.testament-options label>span{font-size:9px;padding-inline:3px}.long-label{display:none}.short-label{display:inline}.testament-options{grid-template-columns:1.2fr 1fr 1fr}.testament-fieldset{margin-top:23px}.setup-footnote{font-size:8px}.best-score{margin-top:21px;padding-top:18px}.best-score p{font-size:10px}.site-footer p:nth-child(2){max-width:275px}.quiz-screen{padding:25px 0 40px}.progress-meta{margin-top:19px;font-size:11px}.question-card{padding:24px 19px;margin-top:22px;border-radius:15px}.question-card h1{font-size:25px;letter-spacing:-.6px}.category-label{font-size:8px;letter-spacing:1.3px}.answer-instruction{font-size:10px;margin-block:13px 19px}.answer-option{padding:11px;gap:10px;min-height:61px;font-size:12px}.answer-letter{width:27px;height:27px;font-size:10px}.answer-marker{width:15px;font-size:16px}.answer-feedback{padding:16px;font-size:11px;margin-top:20px}.feedback-title{font-size:12px}.reference{font-size:10px}.question-navigation{display:flex;flex-direction:column-reverse;align-items:stretch;gap:12px;margin-top:17px}.question-navigation>span{text-align:center;font-size:9px}.question-navigation .button{width:100%;justify-content:space-between}.result-screen{padding-top:32px;padding-bottom:43px}.result-screen>.eyebrow{font-size:8px;letter-spacing:1.3px}.result-screen>h1{font-size:38px;letter-spacing:-1.3px;margin-top:12px}.result-subtitle{font-size:11px;margin:12px 0 25px}.result-card{padding:25px 20px;border-radius:16px}.result-overview{flex-direction:column;gap:21px;text-align:center}.score-ring{width:153px;height:153px}.score-ring strong{font-size:52px}.result-summary h2{font-size:27px;margin:11px 0}.result-summary>.eyebrow{font-size:8px}.result-summary>p:not(.eyebrow){font-size:11px}.result-actions{grid-template-columns:1fr;padding-top:22px;margin-top:24px;gap:10px}.result-actions .button-primary{justify-content:center}.result-secondary{flex-direction:column;gap:2px;margin-top:13px}.result-secondary .text-button{font-size:11px}.review-section{margin-top:24px;padding-top:25px}.review-section h2{font-size:25px}.review-intro{font-size:11px}.review-item{padding:20px 18px}.review-item h3{font-size:21px}.review-item p{font-size:11px}.dialog-content{padding:25px}.dialog-content h2{font-size:27px}}
@media(max-width:359px){.page-width{width:calc(100% - 28px)}.hero-copy h1{font-size:37px}.hero-copy>.eyebrow{font-size:7px;letter-spacing:1.2px}.hero-details{gap:8px;font-size:8px}.hero-description{font-size:11px}.setup-card{padding:22px 15px}.setup-heading h2{font-size:23px}.difficulty-content{padding-inline:8px}.difficulty-content small{font-size:7px}.testament-options label>span{font-size:8px}.setup-footnote{font-size:7px}.exit-button{font-size:9px}.question-card{padding:22px 15px}.question-card h1{font-size:24px}.answer-option{font-size:11px}.brand-name{font-size:17px}}
.hero-copy .title-ending{white-space:nowrap}.hero-copy h1 em{display:inline}.hero-copy h1 em:after{display:none}.hero-copy .title-ending:after{content:'';display:block;width:132px;border-bottom:2px solid var(--gold-light);margin:16px 0 24px}
@media(max-width:820px){.hero-copy .title-ending:after{margin:13px auto 20px;width:110px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
