:root{color-scheme:light;--navy:#0b1730;--blue:#175cd3;--blue2:#eff6ff;--text:#17243c;--muted:#65748b;--border:#dce5f1;--bg:#f5f8fd;--white:#fff}*{box-sizing:border-box}body{margin:0;font:16px/1.6 system-ui,-apple-system,'Segoe UI',sans-serif;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.container{max-width:1180px;margin:auto;padding:0 22px}.site-header{background:#fff;border-bottom:1px solid var(--border)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;color:var(--navy)}.brand img{width:55px;height:55px;object-fit:contain}.site-link{font-size:.9rem;color:var(--blue);font-weight:650}.hero{background:linear-gradient(120deg,#0b1730,#103b85 65%,#175cd3);color:white;padding:66px 0 72px}.eyebrow{font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:#b8d7ff;font-size:.76rem}.hero h1{font-size:clamp(2rem,4.5vw,3.7rem);line-height:1.12;max-width:800px;margin:12px 0}.hero p{max-width:700px;color:#dbeafe;font-size:1.08rem}.chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.chip{border:1px solid #6d9bd7;border-radius:30px;padding:6px 13px;font-size:.86rem}.main{padding:34px 0 70px}.panel{background:#fff;border:1px solid var(--border);border-radius:18px;padding:23px;margin-bottom:26px;box-shadow:0 8px 30px #0b173009}.progress-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.progress-top h2{margin:0;font-size:1.12rem}.progress-track{background:#e5edf8;border-radius:20px;height:12px;overflow:hidden;margin:14px 0 8px}.progress-fill{height:100%;width:0;background:linear-gradient(90deg,#175cd3,#23a7d9);transition:width .25s}.muted{color:var(--muted)}.small{font-size:.87rem}.filters{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.filters input,.filters select{background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px 14px;min-height:46px;color:var(--text)}.filters input{flex:1;min-width:230px}.filters select{min-width:180px}.section-title{font-size:1.4rem;margin:28px 0 14px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.module{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 6px 24px #0b173007}.module:hover{border-color:#a6c4f1}.module-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.number{display:grid;place-items:center;background:var(--blue2);color:var(--blue);border-radius:10px;width:42px;height:42px;font-weight:800}.level{font-size:.73rem;font-weight:750;color:#2456a2;background:#edf4ff;padding:4px 9px;border-radius:20px}.module h3{font-size:1.13rem;line-height:1.35;margin:0}.module p{margin:0;color:var(--muted);font-size:.91rem}.module details{border-top:1px solid var(--border);padding-top:10px}.module summary{cursor:pointer;font-weight:700;color:var(--blue)}.module details p{padding-top:8px}.task{font-size:.88rem;background:#f2f7ff;border-radius:10px;padding:10px}.complete{display:flex;align-items:center;gap:9px;font-weight:650;font-size:.88rem;margin-top:auto;padding-top:4px}.complete input{width:19px;height:19px;accent-color:var(--blue)}.module.is-done{border-color:#79b6a0}.module.is-done .number{background:#e6f6ee;color:#16744c}.footer{background:var(--navy);color:#dbeafe;padding:26px 0;text-align:center;font-size:.88rem}.empty{padding:25px;text-align:center;color:var(--muted)}.note{font-size:.83rem;color:var(--muted)}@media(max-width:900px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.module-grid{grid-template-columns:1fr}.hero{padding:48px 0}.header-inner{align-items:flex-start}.site-link{font-size:.8rem}.filters input,.filters select{width:100%}}

/* Cabeçalho integrado ao hero, no padrão da trilha Excel */
.hero{background:linear-gradient(112deg,#102543 0%,#123c7d 55%,#1964d4 100%);padding:0 0 82px}
.hero-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0 42px}
.hero-header .brand{display:block;flex-shrink:0}
.hero-header .brand img{display:block;width:min(310px,55vw);height:auto;max-height:95px;object-fit:contain;object-position:left center}
.hero-actions{display:flex;align-items:center;gap:8px}
.hero-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid #ffffff45;border-radius:12px;background:#ffffff12;color:#fff;font-size:.9rem;font-weight:500;white-space:nowrap}
.hero-action:hover,.hero-action:focus-visible{background:#ffffff28;color:#fff}
.theme-toggle{width:40px;padding:0;font-size:1.25rem;cursor:pointer}
.hero-content{display:flex;align-items:center;justify-content:space-between;gap:40px}
.hero-copy{max-width:720px}
.hero h1{max-width:710px;font-size:clamp(2.4rem,4.5vw,4rem);line-height:1.08;margin:10px 0 14px}
.hero p{margin:0;color:#dbeafe}
.hero-highlight{min-width:185px;padding:24px 22px;border:1px solid #ffffff40;border-radius:20px;background:#ffffff13;text-align:center;display:flex;flex-direction:column;align-items:center}
.hero-highlight strong{font-size:2.8rem;line-height:1.1}
.hero-highlight span{font-size:.77rem}
.hero .chips{margin-top:26px}
/* Tema escuro opcional, aplicado ao conteúdo sem afetar a identidade do hero */
body.dark-theme{--bg:#0e1729;--white:#18243a;--text:#edf3ff;--muted:#b6c4db;--border:#34435c;--blue2:#203d68;background:var(--bg)}
body.dark-theme .panel,body.dark-theme .module,body.dark-theme .filters input,body.dark-theme .filters select{background:var(--white);color:var(--text)}
body.dark-theme .task{background:#23344e}
body.dark-theme .progress-track{background:#34435c}
body.dark-theme .level{background:#203d68;color:#cfe3ff}
body.dark-theme .module summary{color:#8bbcff}
@media(max-width:700px){.hero{padding-bottom:52px}.hero-header{padding:20px 0 36px}.hero-header .brand img{width:min(235px,52vw)}.hero-content{display:block}.hero-highlight{display:none}.hero h1{font-size:clamp(2.1rem,8vw,3.4rem)}.hero-action{padding:8px 10px;font-size:.78rem}}
@media(max-width:380px){.hero-header .brand img{width:160px}.hero-actions{gap:5px}}

/* Listagem em formato de trilha semanal, seguindo o modelo visual da trilha Excel */
.main{padding-top:0;position:relative;margin-top:-34px;z-index:1}
.stats{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:12px;margin-bottom:25px}
.stat{background:var(--white);border:1px solid var(--border);border-radius:17px;padding:17px 19px;box-shadow:0 10px 28px #1025430c;min-height:90px}
.stat small{display:block;color:var(--muted);font-size:.74rem;font-weight:650}.stat strong{display:block;font-size:1.24rem;line-height:1.3;margin:4px 0;color:var(--text)}
.stat:nth-child(2) strong{font-size:1rem}.stat .progress-track{height:8px;margin:9px 0 0;background:#dce7e2}.stat .progress-fill{background:#2563eb}
.notice{background:#e9f7ee;border:1px solid #cde8d6;border-radius:11px;padding:12px 15px;font-size:.88rem;margin:0 0 15px;color:#284c3b}
.filters{margin:0 0 24px;padding:8px;border:1px solid var(--border);border-radius:13px;display:flex;align-items:center;gap:10px}
.filters input{min-width:0;flex:1;border-radius:9px}.filter-buttons{display:flex;gap:7px}.filter-button{background:var(--white);color:var(--text);border:1px solid var(--border);border-radius:9px;padding:10px 12px;min-height:44px;font-size:.85rem}.filter-button.active{background:#17243c;color:#fff;border-color:#17243c}
.level-section{margin-bottom:32px}.level-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 3px 14px}.level-identity{display:flex;align-items:center;gap:12px}.level-number{background:#1e5ac8;color:#fff;border-radius:12px;padding:11px 12px;font-weight:800}.level-head h2{font-size:1.4rem;line-height:1.3;margin:0}.level-head p{font-size:.8rem;color:var(--muted);margin:1px 0 0}.level-progress{text-align:right;min-width:155px}.level-progress small{display:block;color:var(--muted);font-size:.73rem}.level-progress strong{font-size:.8rem}.level-track{height:7px;border-radius:12px;background:#dce7e2;margin-top:8px;overflow:hidden}.level-track span{display:block;height:100%;background:#2563eb}
.week{background:var(--white);border:1px solid var(--border);border-radius:18px;margin:12px 0;overflow:hidden;box-shadow:0 8px 22px #10254306}.week-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 19px;border-bottom:1px solid var(--border)}.week-eyebrow{font-size:.69rem;font-weight:800;color:#2563eb;letter-spacing:.06em}.week-head h3{font-size:1.02rem;margin:5px 0 0}.week-count{font-size:.75rem;color:var(--muted);white-space:nowrap}
.lesson-list{padding:0 14px}.lesson{display:flex;align-items:flex-start;gap:16px;padding:17px 7px;border-bottom:1px solid var(--border)}.lesson:last-child{border-bottom:0}.lesson-check{padding-top:3px}.lesson-check input{width:24px;height:24px;accent-color:#2563eb;cursor:pointer}.lesson-main{flex:1;min-width:0}.lesson-title{font-weight:750;font-size:.96rem}.lesson p{color:var(--muted);font-size:.84rem;margin:3px 0}.lesson-meta{font-size:.72rem;color:#637998;margin:3px 0 8px}.lesson details{background:var(--bg);border:1px solid var(--border);border-radius:9px;padding:7px 11px}.lesson summary{font-size:.78rem;font-weight:700;color:#49648b;cursor:pointer}.lesson .task{margin-top:9px;font-size:.82rem;padding:10px;border-radius:8px;background:var(--white)}.duration{white-space:nowrap;background:#e7f6ee;color:#14844c;font-size:.64rem;font-weight:800;border-radius:30px;padding:3px 7px}.lesson.is-done .lesson-title{color:var(--muted)}
body.dark-theme .stat,body.dark-theme .week,body.dark-theme .filter-button{background:var(--white);color:var(--text)}body.dark-theme .notice{background:#1d3a34;color:#d5f6e3;border-color:#365f50}body.dark-theme .filter-button.active{background:#3b82f6;color:#fff}body.dark-theme .duration{background:#234b3a;color:#9be4b9}body.dark-theme .level-track,body.dark-theme .stat .progress-track{background:#34435c}
@media(max-width:900px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:13px}.stat strong{font-size:1rem}.filters{flex-direction:column;align-items:stretch}.filter-buttons{justify-content:space-between}.filter-button{flex:1}.level-head{align-items:flex-start}.level-progress{min-width:100px}.level-head h2{font-size:1.08rem}.lesson{gap:9px}.duration{font-size:.58rem}.week-head{padding:14px}.lesson-list{padding:0 8px}}

/* Subtrilhas com checkboxes individuais, seguindo o modelo Excel */
.lesson .subitems{display:flex;flex-direction:column;gap:9px;padding:10px 3px 5px}
.lesson .subitem{display:flex;align-items:flex-start;gap:10px;font-size:.82rem;color:var(--muted);cursor:pointer;line-height:1.5}
.lesson .subitem input{width:17px;height:17px;flex:0 0 17px;margin:2px 0 0;accent-color:#2563eb;cursor:pointer}
.lesson .subitem input:checked+span{text-decoration:line-through;opacity:.65}
.lesson .subitem:focus-within{outline:2px solid #93c5fd;outline-offset:3px;border-radius:4px}
body.dark-theme .lesson .subitem{color:var(--muted)}
