@font-face{font-family:Inter;src:url("assets/inter-latin.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("assets/instrument-serif-italic.ttf") format("truetype");font-weight:400;font-style:italic;font-display:swap}
:root{color-scheme:dark;--bg:#101816;--panel:#17241e;--ink:#f3f3e9;--muted:#bfcbc3;--mint:#b1dfbc;--line:#36433c;--dark:#163320;font:100%/1.55 Inter,system-ui,sans-serif;color:var(--ink);background:var(--bg);scroll-behavior:smooth;scrollbar-color:#687d6d var(--bg)}
*{box-sizing:border-box}
body,figure,h1,h2,h3,p,ol{margin:0}
a{color:inherit;text-decoration:none}
summary,label{cursor:pointer}
::selection{background:#b1dfbc;color:#122c1e}
:focus-visible{outline:3px solid #f0c774;outline-offset:4px}
.wrap{width:min(1240px,calc(100% - clamp(40px,9vw,156px)));margin-inline:auto}
section[id],main[id]{scroll-margin-top:24px}
.skip,.sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.skip:focus{inset:12px auto auto 12px;padding:10px 20px;z-index:20;width:auto;height:auto;clip-path:none;background:var(--mint);color:var(--dark)}
.icon{width:21px;height:21px;flex:none}
.top{border-bottom:1px solid var(--line)}
.bar,.desktop,.brand,.actions,.headerlink,.primary,.routes a,.mobile summary,.footer-in{display:flex;align-items:center}
.bar{min-height:75px;gap:clamp(16px,3vw,55px);justify-content:space-between}
.brand{gap:10px;white-space:nowrap;font-size:1.16rem;font-weight:660;letter-spacing:-.045em}
.brand svg{width:34px;height:34px}
.brand b{color:var(--mint);font-weight:680}
.desktop{gap:clamp(14px,2.4vw,39px);color:var(--muted);font-size:.91rem}
.desktop a,.textlink,.headerlink,.routes a,.primary{transition:color .18s ease,background .18s ease}
.desktop a:hover,footer a:hover{color:var(--mint);text-decoration:underline;text-underline-offset:.28em}
.headerlink{border:1px solid #536259;border-radius:5px;min-height:38px;padding:0 14px;font-size:.87rem}
.headerlink:hover,.routes a:hover{background:#203027}
.mobile{display:none}
.hero{border-bottom:1px solid var(--line)}
.hero-in{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:clamp(14px,3vw,48px);padding-block:clamp(40px,5.5vw,89px)}
h1,h2,h3{text-wrap:balance}
h1,h2{letter-spacing:-.045em;font-weight:550;line-height:1.03}
h1{font-size:clamp(3.5rem,5.7vw,5.9rem)}
h1 em,h2 em{font-family:"Instrument Serif",Georgia,serif;color:var(--mint);font-weight:400;letter-spacing:-.025em}
.hero-in>div>p{margin-top:22px;color:var(--muted);font-size:clamp(1rem,1.3vw,1.18rem);max-width:48ch}
.actions{gap:clamp(15px,2vw,27px);flex-wrap:wrap;margin-top:30px}
.primary{background:var(--mint);color:#13291e;border-radius:5px;padding:12px 18px;gap:9px;font-weight:680;font-size:.93rem}
.primary:hover{background:#d2efd8}
.textlink,footer p a,.questions a{color:var(--mint);text-decoration:underline;text-decoration-color:#6f8c77;text-underline-offset:5px;text-decoration-thickness:1px}
.textlink{display:inline-block;font-weight:550;font-size:.95rem}
.textlink:hover,.questions a:hover{color:#f3fbef;text-decoration-color:currentColor}
.cover{min-width:0;position:relative}
.cover img{width:100%;display:block;height:auto}
.cover figcaption{color:var(--muted);font-size:.78rem;margin-top:0;text-align:center}
.paths{border-bottom:1px solid var(--line);background:#14201a}
.routes{display:grid;grid-template-columns:repeat(3,1fr)}
.routes a{padding:24px clamp(12px,2.6vw,42px);gap:17px}
.routes a+a{border-left:1px solid var(--line)}
.routes a:first-child{padding-left:0}
.routes .icon{width:27px;height:27px;color:var(--mint)}
.routes small,.routes b{display:block}
.routes b{font-size:1.06rem;font-weight:620}
.routes small{font-size:.88rem;color:var(--muted);margin-top:2px}
.section,.example{padding-block:clamp(56px,7vw,103px);border-bottom:1px solid var(--line)}
.layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);gap:clamp(40px,7vw,112px);align-items:start}
h2{font-size:clamp(2.5rem,4.0vw,4.1rem)}
.section-title>p{color:var(--muted);max-width:38ch;margin-top:19px}
.section-title .textlink{margin-top:20px}
.family{display:grid;grid-template-columns:32px 1fr;column-gap:16px;padding-block:22px;border-top:1px solid var(--line)}
.family:first-child{padding-top:16px}
.family:last-child{padding-bottom:0}
.family .icon{height:27px;width:27px;margin-top:3px;color:var(--mint)}
.family h3,.sample h3{font-size:1.37rem;line-height:1.25;letter-spacing:-.025em;font-weight:600}
.family span{font-size:.85rem;color:var(--mint)}
.family p{grid-column:2;color:var(--muted);margin-top:9px;max-width:65ch}
.example{background:var(--panel)}
.sample{border:1px solid #4c6253;padding:clamp(18px,2.3vw,33px);border-radius:8px;background:#142019}
.sample-head p,.footnote{font-size:.88rem;color:var(--muted);line-height:1.5}
.sample-head p{margin-top:6px}
fieldset{border:0;margin:22px 0 0;padding:0;min-width:0}
legend{padding:0;margin-bottom:6px;color:var(--muted);font-size:.88rem}
.choices{display:flex;gap:6px;flex-wrap:wrap}
.choices input{position:absolute;opacity:0;width:1px;height:1px}
.choices span{display:inline-block;border:1px solid #52655a;border-radius:4px;padding:7px 10px;font-size:.85rem}
.choices input:checked+span{background:var(--mint);color:var(--dark);border-color:var(--mint);font-weight:600}
.choices label:hover span{border-color:var(--mint)}
.choices input:focus-visible+span{outline:3px solid #f0c774;outline-offset:2px}
.rounds{list-style:none;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;padding:0;margin:24px 0 16px}
.rounds li{background:#213329;border:1px solid #526358;border-radius:3px;text-align:center;padding:6px 0}
.rounds [data-qualifica=true]{background:#b1dfbc;color:#173221;border-color:#c2e8ca}
.rounds .outside{background:transparent;border-style:dashed;color:#b7c3ba;border-color:#506057}
.rounds li small,.rounds li b{display:block;font-variant-numeric:tabular-nums}
.rounds li small{font-size:.75rem}
.rounds li b{font-size:.96rem}
.stat{padding-block:14px;border-block:1px solid #475b4d;font-size:1.02rem;margin-bottom:12px}
.stat{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.stat strong{color:var(--mint);white-space:nowrap;font-size:1.16rem}
.leituras h3{font-size:1.19rem;font-weight:590}
.leituras p{color:var(--muted);margin-top:5px}
.leituras h3:not(:first-child){border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
.tools{width:100%;border-collapse:collapse;text-align:left}
.tools th,.tools td{vertical-align:top}
.tools thead th{padding:0 0 12px;color:var(--muted);font-size:.84rem;font-weight:500}
.tools th:first-child{width:37%;padding-right:18px}
.tools tbody tr{border-top:1px solid var(--line)}
.tools tbody th,.tools tbody td{padding-block:17px}
.tools tbody th{font-weight:550;font-size:1rem}
.tools td strong,.tools td span{display:block}
.tools td strong{color:var(--mint);font-weight:620;font-size:1rem}
.tools td span{color:var(--muted);margin-top:5px}
.faq{background:#121d17}
.questions details{border-top:1px solid var(--line)}
.questions details:last-child{border-bottom:1px solid var(--line)}
summary{list-style:none}
summary::-webkit-details-marker{display:none}
.questions summary{font-weight:560;position:relative;padding:17px 38px 17px 0}
.questions summary:before,.questions summary:after{content:"";position:absolute;width:13px;height:1.5px;top:50%;right:3px;background:var(--mint)}
.questions summary:after{transform:rotate(90deg)}
.questions details[open] summary:after{display:none}
.questions details p{padding:0 30px 19px 0;color:var(--muted)}
.footer-in{padding-block:34px;justify-content:space-between;gap:18px}
footer p{font-size:.89rem;color:var(--muted)}
footer .brand+p{margin-top:9px}
@media(max-width:820px){
 .desktop,.headerlink{display:none}
 .mobile{display:block;position:relative}
 .mobile summary{gap:7px;min-height:42px;font-size:.94rem}
 .mobile nav{z-index:9;position:absolute;right:0;top:100%;min-width:205px;display:grid;border:1px solid #4c5e52;border-radius:5px;background:#18261d;padding:6px}
 .mobile nav a{padding:10px 12px}
 .mobile nav a:hover{background:#23372a}
 .bar{min-height:65px}
 .layout{grid-template-columns:minmax(0,.78fr) minmax(0,1.4fr);gap:28px}
 .hero-in{grid-template-columns:1fr 1fr;gap:12px}
 h1{font-size:clamp(3rem,6.3vw,3.8rem)}
 .rounds{grid-template-columns:repeat(4,minmax(0,1fr))}
 .routes a{padding:18px 14px;gap:9px}
}
@media(max-width:650px){
 .wrap{width:calc(100% - 38px)}
 .hero-in,.layout{grid-template-columns:minmax(0,1fr)}
 .hero-in{padding-block:39px 25px;gap:16px}
 h1{font-size:clamp(3.15rem,10vw,4.4rem)}
 .hero-in>div>p{margin-top:15px}
 .actions{margin-top:22px}
 .cover{width:min(100%,420px);justify-self:center}
 .cover img{max-height:280px;object-fit:contain}
 .routes{grid-template-columns:1fr}
 .routes a,.routes a:first-child{padding:12px 3px;gap:13px}
 .routes a+a{border-left:0;border-top:1px solid var(--line)}
 .routes a span{display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}
 .routes .icon{width:20px;height:20px}
 .routes small{margin:0}
 .section,.example{padding-block:44px}
 .layout{gap:25px}
 h2{font-size:clamp(2.5rem,9vw,3.5rem)}
 .section-title>p{max-width:57ch;margin-top:12px}
 .family{column-gap:10px}
 .tools th:first-child{width:35%;padding-right:13px}
 .footer-in{align-items:flex-start;flex-direction:column}
}
@media(max-width:360px){.wrap{width:calc(100% - 30px)}.actions{gap:14px}.textlink{font-size:.89rem}.primary{padding:10px 12px}.tools tbody th,.tools td span{font-size:.94rem}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{transition:none!important}}
