@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');
:root{color-scheme:light;--ink:#514944;--muted:#6a605b;--page:#fffaf6;--header:#fffbf8;--surface:#fff;--soft:#f9e8db;--line:#eed2bd;--point:#e1826e;--rail:#eed2bd;--action:#e1826e;--action-ink:#eed2bd;--brand:#76162a;--brand-small:#000000;--shadow:0 16px 48px #5149440c;--glow:#eed2bd}
:root[data-theme=noir]{color-scheme:dark;--ink:#f4f4f4;--muted:#b9b9bd;--page:#0d0d0e;--header:#101011;--surface:#171618;--soft:#24191f;--line:#43242e;--point:#9f2947;--rail:#3d202b;--action:#861d35;--action-ink:#f4f4f4;--brand:#76162a;--brand-small:#ffffff;--shadow:0 16px 48px #0003;--glow:#2c111b}
*{box-sizing:border-box}[hidden]{display:none!important}
body{margin:0;background:radial-gradient(ellipse at 96% 8%,var(--glow),transparent 45%),var(--page);color:var(--ink);font:400 20px/1.55 'Source Serif 4',Georgia,serif}
button,input,select,textarea,summary{font:inherit;color:inherit}button,summary{cursor:pointer}button:disabled{cursor:default;opacity:.55}
a{color:inherit}button:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--point);outline-offset:4px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px clamp(20px,5vw,80px);min-height:84px;background:var(--header);border-bottom:1px solid var(--line)}
.brand{display:grid;width:max-content;text-align:center;text-decoration:none;flex-shrink:0}.brand strong{font:bold 31px/1 Georgia,serif;letter-spacing:-.04em;color:var(--brand)}.brand small{font:11px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.23em;margin-top:5px;color:var(--brand-small)}
.home-brand{display:none;align-items:baseline;gap:14px;text-decoration:none;color:var(--brand);white-space:nowrap}.home-brand strong{font:bold 30px/1 Georgia,serif;letter-spacing:-.025em}.home-brand em{font:bold italic 27px/1 Georgia,serif;color:var(--brand-small)}
.header-left,.header-right{display:flex;align-items:center;gap:24px}.header-label{font-size:16px;letter-spacing:.18em;font-weight:600;border-left:1px solid var(--line);padding-left:24px}
.theme{display:flex;align-items:center;gap:9px}.theme>button[data-mode]{background:none;border:0;padding:6px 0;color:var(--muted);font-size:18px}.theme>button[aria-pressed=true]{color:var(--ink);font-weight:600}
#theme-switch{position:relative;border:1px solid var(--line);width:46px;height:26px;border-radius:20px;background:var(--soft);padding:3px;flex-shrink:0}#theme-switch span{display:block;width:18px;height:18px;border-radius:50%;background:var(--surface);box-shadow:0 1px 4px #0002;transform:translateX(18px);transition:transform .18s ease}
:root[data-theme=noir] #theme-switch{background:var(--action)}:root[data-theme=noir] #theme-switch span{background:#f4f4f4;transform:translateX(0)}
.info-button{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;border:1px solid var(--ink);background:none;font-style:italic;font-weight:600;padding:0;font-size:19px}
main{width:min(calc(100% - 80px),960px);margin:38px auto 28px}h1{font-size:38px;font-weight:600;line-height:1.2;letter-spacing:-.025em;margin:10px 0 25px}h2{font-size:27px;font-weight:600;line-height:1.4;margin:20px 0 24px}
.eyebrow{font-size:22px;line-height:1.45;font-weight:600;letter-spacing:.04em;color:var(--muted)}.intro{font-size:22px;line-height:1.6;color:var(--muted);margin:14px 0 28px;max-width:62ch}
#self-screen{max-width:740px;margin-inline:auto}.card{padding:32px 36px;background:linear-gradient(135deg,var(--surface) 66%,var(--soft));border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
#skills{display:block;margin-bottom:24px}fieldset{border:0;padding:0;margin:0 0 25px;min-width:0}legend{font-size:21px;font-weight:600;padding:0;display:flex;align-items:center;gap:12px}legend svg{width:22px;height:22px;fill:none;stroke:var(--point);stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.scale{position:relative;height:44px;margin-top:7px}.track{position:absolute;inset:17px calc(100% / 12);height:9px;background:var(--rail);border:0;border-radius:12px;pointer-events:none}.points{position:absolute;inset:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));place-items:center;pointer-events:none}.points i{height:9px;width:9px;background:var(--point);border-radius:50%}
input[type=range]{position:absolute;inset:0 calc(100% / 12 - 11px);appearance:none;width:calc(100% * 5 / 6 + 22px);height:44px;margin:0;background:transparent;cursor:grab}input[type=range]:active{cursor:grabbing}input[type=range]::-webkit-slider-thumb{appearance:none;box-sizing:border-box;width:22px;height:22px;border-radius:50%;background:var(--point);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--point)}input[type=range]::-moz-range-thumb{box-sizing:border-box;width:22px;height:22px;border-radius:50%;background:var(--point);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--point)}
.labels{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.labels button{font-size:18px;line-height:1.3;background:none;border:0;padding:5px 0;min-height:36px;color:var(--muted)}.labels button[aria-pressed=true]{color:var(--ink);font-weight:600}
.continue{min-height:54px;padding:14px 26px;border:1px solid var(--action);border-radius:9px;background:var(--action);color:var(--action-ink);font-size:19px;font-weight:600;box-shadow:0 5px 13px #00000014}#self-screen .continue{width:100%}
#feedback{font-size:22px;color:var(--muted);text-align:center;margin-bottom:0}#feedback:empty{display:none}
.section-copy,.speech-note,.speech-tips,.reading-passage{font-size:22px;line-height:1.6}.reading-passage{white-space:pre-wrap;max-width:65ch;margin-block:24px}.quiz-copy{white-space:pre-wrap;line-height:1.5}.quiz-options{display:grid;gap:12px;margin:24px 0}
.quiz-options label,.quiz-options textarea,.quiz-options select{padding:16px 20px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:21px;line-height:1.5}.quiz-options label{display:flex;align-items:center;gap:14px}.quiz-options label:has(input[type=radio]:checked){background:var(--soft);border-color:var(--point)}.quiz-options input[type=radio],.quiz-options input[type=checkbox]{width:19px;height:19px;accent-color:var(--point);flex-shrink:0}.quiz-options textarea{width:100%;resize:vertical}
.quiz-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;margin-top:28px}.quiz-actions .secondary{min-height:54px;padding:13px 23px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font-size:19px;font-weight:500}
.card:has(.section-copy){min-height:300px;display:flex;flex-direction:column;justify-content:center}.section-subtitle{font-size:24px}.speech-note{padding:15px 18px;border:1px solid var(--line);background:var(--surface);border-radius:10px}.speech-prompt{font-size:29px;font-weight:500;line-height:1.45;max-width:68ch}.speech-time{font-size:22px;color:var(--muted);font-variant-numeric:tabular-nums}.speech-tips{padding-left:25px}.speech-actions{justify-content:space-between}.speech-actions button{flex:1 1 160px}
audio{display:block;width:100%;margin-top:18px}.choice-menu{border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:21px}.choice-menu summary{padding:15px 20px}.choice-list{display:grid}.choice-list .secondary{background:var(--surface);color:var(--ink);border:0;border-top:1px solid var(--line);padding:13px 20px;text-align:left;font-size:21px}.choice-list .secondary:hover{background:var(--soft)}
.contact-form label{flex-direction:column;align-items:stretch;font-size:22px}.contact-form .consent{flex-direction:row;align-items:flex-start;font-size:22px}.contact-form input:not([type=checkbox]),.contact-form select{width:100%;padding:12px 14px;min-height:50px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px;font-size:22px}.contact-form input::placeholder{color:var(--muted);opacity:1}.contact-form small{font-size:22px;line-height:1.5;color:var(--muted)}
footer{text-align:center;font-size:20px;color:var(--muted);padding:14px 20px 30px;line-height:1.6}footer strong{font-weight:600}
.info-dialog{max-width:520px;width:calc(100% - 36px);background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow)}.info-dialog::backdrop{background:#0009}.info-dialog h2{margin-top:0}.info-dialog p{font-size:22px}.info-dialog .continue{float:right}
/* Homepage: composição editorial dos mockups aprovados. */
body.is-home{background:var(--page)}.is-home .site-header{position:relative;z-index:2;background:transparent;border:0;padding:28px 6%;min-height:98px}.is-home .brand{display:none}.is-home .home-brand{display:flex}.is-home main{width:100%;max-width:none;margin:0}.is-home footer{display:none}.is-home .header-left{gap:26px}.is-home .header-label{padding-left:26px;border-color:var(--ink);font-size:14px}.is-home .header-right{gap:22px}
.home-screen{position:relative;isolation:isolate;min-height:calc(100svh - 98px);overflow:hidden}.home-screen::before{content:'';position:absolute;z-index:-2;inset:0;background:radial-gradient(ellipse at 95% 10%,#eed2bd66,transparent 60%),var(--page)}.home-texture{position:absolute;right:0;bottom:0;top:0;width:48%;z-index:-1;background:url('/brand/home-blanc-texture.webp') right center/100% 100% no-repeat;mask-image:linear-gradient(90deg,transparent,#000 24%);pointer-events:none}
.home-content{position:relative;width:min(100%,1480px);margin:0 auto;padding:26px 6% 64px}.hero-rule{height:1px;width:130px;background:var(--point);margin:4px 0 24px}.home-screen h1{font-size:clamp(48px,5.2vw,82px);line-height:1.04;letter-spacing:-.035em;font-weight:600;max-width:900px;margin:0 0 26px}.home-screen h1 span{display:block}.home-screen h1 em{display:block;font-style:italic;color:var(--point);font-weight:600}.hero-subtitle{font-style:italic;font-size:clamp(22px,2.1vw,29px);line-height:1.42;max-width:740px;margin:0 0 30px;color:var(--ink)}
.home-start{display:flex;align-items:center;justify-content:center;gap:34px;max-width:560px;width:100%;min-height:64px;border-radius:40px;padding:11px 32px;font-size:clamp(23px,2.5vw,32px);font-style:italic;line-height:1.2;font-weight:500}.home-start .arrow{font-style:normal;font-size:35px}.home-free{display:flex;align-items:center;gap:16px;max-width:560px;justify-content:center;font-size:18px;letter-spacing:.06em;margin:20px 0 36px}.home-free::before,.home-free::after{content:'';height:1px;width:55px;background:var(--point);flex-shrink:1}.home-metrics{display:flex;align-items:center;gap:0;max-width:800px}.home-metric{display:flex;align-items:center;gap:17px;padding:0 28px;border-right:1px solid var(--line);min-height:64px}.home-metric:first-child{padding-left:0}.home-metric:last-child{border:0}.home-metric svg{width:42px;height:42px;fill:none;stroke:var(--point);stroke-width:1.4;flex-shrink:0}.home-metric strong{display:block;font-size:28px;font-style:italic;font-weight:500;line-height:1.1}.home-metric small{display:block;font-size:18px;letter-spacing:.1em;line-height:1.4;margin-top:6px}
:root[data-theme=noir] .home-screen::before{background:radial-gradient(ellipse at 100% 45%,#3d1021,transparent 65%),var(--page)}:root[data-theme=noir] .home-texture{background-image:linear-gradient(#76162a,#76162a),url('/brand/home-noir-texture.webp');background-blend-mode:multiply}:root[data-theme=noir] .home-screen h1 em{color:var(--ink)}:root[data-theme=noir] .hero-rule{background:var(--point)}:root[data-theme=noir] .home-start{background:transparent;color:var(--ink);border-color:#9f2947;box-shadow:none}
@media(min-width:1600px){.home-content{padding-top:38px}.home-screen h1{font-size:86px}.hero-subtitle{font-size:29px}.home-free{margin-bottom:48px}}
@media(max-width:1100px){.home-brand strong{font-size:25px}.home-brand em{font-size:23px}.is-home .header-left{gap:18px}.is-home .header-label{font-size:11px;padding-left:18px}.is-home .header-right{gap:14px}.home-screen h1{max-width:690px}.home-metric{padding-inline:20px}}
@media(max-width:760px){.site-header{padding:15px 20px;gap:12px;flex-wrap:wrap}.header-left{gap:16px}.header-label{font-size:14px;padding-left:16px}.header-right{gap:14px}.theme>button[data-mode]{font-size:16px}main{width:calc(100% - 32px);margin-top:28px}h1{font-size:31px}h2{font-size:24px}.card{padding:25px 20px}.section-copy,.speech-note,.speech-tips,.reading-passage,.intro{font-size:21px}.speech-prompt{font-size:26px}.quiz-options label,.quiz-options textarea,.quiz-options select,.choice-menu,.choice-list .secondary{font-size:20px}.quiz-options label{padding:14px}.quiz-actions{margin-top:24px}.continue,.quiz-actions .secondary{font-size:18px}.is-home .site-header{padding:20px 6%;gap:17px;min-height:96px}.home-brand strong{font-size:24px}.home-brand em{font-size:22px}.is-home .header-left{width:100%;justify-content:space-between}.is-home .header-right{width:100%;justify-content:flex-end}.home-content{padding:24px 6% 42px}.home-screen h1{font-size:clamp(42px,7.7vw,58px);max-width:650px;line-height:1.08}.home-texture{width:72%;opacity:.48;mask-image:linear-gradient(90deg,transparent,#000 55%)}.hero-subtitle{font-size:23px;max-width:550px}.home-start{max-width:430px;font-size:25px;min-height:60px}.home-free{max-width:430px;font-size:16px;gap:12px}.home-metrics{max-width:600px;gap:0;flex-wrap:wrap}.home-metric{padding:0 17px;gap:12px}.home-metric svg{width:31px;height:31px}.home-metric strong{font-size:23px}.home-metric small{font-size:16px}}
@media(max-width:480px){.site-header .header-label{display:block;font-size:14px;letter-spacing:.1em}.header-left{width:100%;justify-content:space-between}.header-right{width:100%;justify-content:flex-end}.is-home .header-label{display:block;font-size:10px;padding-left:10px}.site-header{padding:15px 16px}.brand strong{font-size:28px}.brand small{font-size:10px}.header-right{gap:10px}.theme{gap:7px}.theme>button[data-mode]{font-size:16px}.info-button{width:25px;height:25px;font-size:17px}#theme-switch{width:40px;height:24px;padding:2px}#theme-switch span{transform:translateX(15px)}.card{padding-inline:16px}.labels{width:calc(100% + 24px);margin-inline:-12px}.labels button{display:flex;align-items:center;justify-content:center;white-space:nowrap;min-width:0;font-size:14.5px;min-height:42px;letter-spacing:-.025em}legend{font-size:20px}h1{font-size:29px}.home-brand{gap:9px}.home-brand strong{font-size:22px}.home-brand em{font-size:19px}.is-home .header-left{gap:10px}.is-home .header-label{letter-spacing:.08em}.home-screen h1{font-size:40px}.hero-subtitle{font-size:21px}.hero-rule{margin-bottom:22px;width:85px}.home-start{font-size:24px;gap:20px;padding-inline:22px}.home-free{letter-spacing:.05em;font-size:16px}.home-metric{gap:8px;padding:0 11px;min-height:50px}.home-metric strong{font-size:21px}.home-metric small{font-size:16px;letter-spacing:.04em}.home-metric svg{width:25px;height:25px}}
@media(prefers-reduced-motion:reduce){#theme-switch span{transition:none}}

/* Autoavaliação: preservar a paleta da versão publicada, com lista em coluna. */
body:has(#self-screen:not([hidden])){--ink:#252424;--muted:#626060;--page:#f7f1e8;--header:#fffaf3;--surface:#f9e6dc;--soft:#f9e6dc;--line:#e9d4cb;--point:#514d4c;--rail:#e7c9ba;--action:#e7c9ba;--action-ink:#252424;--brand:#76162a;--brand-small:#000000;background:var(--page)}
:root[data-theme=noir] body:has(#self-screen:not([hidden])){--ink:#f5f3f2;--muted:#c8c3c1;--page:#0d0d0d;--header:#101010;--surface:#151515;--soft:#151515;--line:#432027;--point:#eae6e5;--rail:#76162a;--action:#76162a;--action-ink:#fff;--brand:#76162a;--brand-small:#ffffff}
body:has(#self-screen:not([hidden])) .card{background:var(--surface)}
body:has(#self-screen:not([hidden])) input[type=range]::-webkit-slider-thumb{background:#fffaf3;border-color:#383636;box-shadow:none}
body:has(#self-screen:not([hidden])) input[type=range]::-moz-range-thumb{background:#fffaf3;border-color:#383636;box-shadow:none}
:root[data-theme=noir] body:has(#self-screen:not([hidden])) input[type=range]::-webkit-slider-thumb{background:#76162a;border-color:#eae6e5}
:root[data-theme=noir] body:has(#self-screen:not([hidden])) input[type=range]::-moz-range-thumb{background:#76162a;border-color:#eae6e5}

body:has(#self-screen:not([hidden])) #continue{border:0}
body:has(#self-screen:not([hidden])) #theme-switch span{background:var(--header)}
body:has(#self-screen:not([hidden])) .track{border:1px solid #dec0b2}
:root[data-theme=noir] body:has(#self-screen:not([hidden])) .track{border-color:#76162a}

:root[data-theme=noir] body:has(#self-screen:not([hidden])) #theme-switch span{background:#f5f3f2}

/* Textos auxiliares legíveis em todas as etapas e nos dois temas. */
@media(max-width:760px){
.eyebrow,#feedback,.speech-time,.contact-form label,.contact-form .consent,.contact-form small,.contact-form input:not([type=checkbox]),.contact-form select,.info-dialog p{font-size:20px;line-height:1.5}
footer{font-size:18px}
}
@media(max-width:360px){.labels button{font-size:13px;letter-spacing:-.035em}}
