/* Navegação da página Alunos e mini-desafios: mantém paleta institucional */
.page-alunos{scroll-padding-top:155px}.page-alunos section[id]{scroll-margin-top:155px}
.student-section-nav{position:sticky;top:78px;z-index:55;background:rgba(255,255,255,.985);border-bottom:1px solid #dfe9f5;box-shadow:0 5px 15px rgba(12,44,111,.04);backdrop-filter:blur(12px)}
.student-section-nav-inner{min-height:52px;display:flex;align-items:center}
.student-section-links{display:flex;align-items:center;gap:4px;flex-wrap:wrap;width:100%;justify-content:space-between;padding:8px 0}
.student-section-links a{font-weight:730;font-size:12.3px;color:#20436e;padding:8px 10px;border-radius:9px;white-space:nowrap;line-height:1.3;transition:background .18s,color .18s}
.student-section-links a:hover,.student-section-links a:focus-visible,.student-section-links a.is-active{background:#eaf5ff;color:#0a63c4;outline:none}
.student-section-links a.student-back{color:#0b70d3;background:#edf7ff}
.student-section-dropdown{display:none;width:100%}
.student-challenges{background:linear-gradient(160deg,#eef8ff,#fff 58%,#eefbf6)}
.student-challenge-panel{background:#fff;border:1px solid #dce8f4;border-radius:24px;max-width:830px;margin:0 auto;padding:32px;box-shadow:0 15px 44px rgba(13,65,121,.09)}
.student-challenge-panel h3{font-size:clamp(21px,2.3vw,28px);margin:13px 0;color:#0c2c6f}
.student-challenge-panel p{color:#4d6482;line-height:1.65;max-width:670px}
.challenge-symbol{font-size:43px;display:block}
.student-challenge-progress{width:100%;height:9px;background:#e8eff7;border-radius:20px;overflow:hidden;margin-bottom:22px}
.student-challenge-progress span{display:block;background:linear-gradient(90deg,#1976e9,#15b45a);height:100%;width:0;transition:width .3s ease}
.student-challenge-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.student-challenge-answers button{background:#f4f9ff;color:#113d77;border:1px solid #cfdeee;border-radius:12px;padding:15px 12px;min-height:50px;font-weight:750;cursor:pointer;text-align:left;transition:background .15s,border-color .15s}
.student-challenge-answers button:hover:not(:disabled),.student-challenge-answers button:focus-visible:not(:disabled){border-color:#1976e9;background:#eaf4ff}
.student-challenge-answers button:disabled{cursor:default;opacity:1}
.student-challenge-answers button.correct{background:#ddf8e9;border-color:#159b5b;color:#0b693f}
.student-challenge-answers button.wrong{background:#fff0ec;border-color:#dd805e;color:#a04727}
.student-challenge-feedback{min-height:30px;font-weight:650}
.student-challenge-actions{display:flex;flex-wrap:wrap;gap:12px}
.student-challenge-panel [hidden]{display:none!important}
@media(max-width:1120px){.student-section-links a{font-size:11.5px;padding:8px 7px}}
@media(max-width:920px){
 .student-section-nav{top:75px}
 .student-section-links{display:none}
 .student-section-dropdown{display:block;position:relative;padding:8px 0}
 .student-section-dropdown summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;min-height:40px;padding:8px 14px;border-radius:11px;color:#0c2c6f;background:#edf6ff;font-weight:750;font-size:13px}
 .student-section-dropdown summary::-webkit-details-marker{display:none}
 .student-section-dropdown[open] summary span:last-child{transform:rotate(180deg)}
 .student-section-dropdown nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:10px 2px 3px}
 .student-section-dropdown nav a{display:block;border-radius:9px;padding:12px 10px;background:#f6faff;color:#20436e;font-size:13px;font-weight:700;overflow-wrap:break-word}
 .student-section-dropdown nav a:focus-visible,.student-section-dropdown nav a:hover{background:#e1f1ff;color:#0c5bb9}
 .page-alunos section[id]{scroll-margin-top:140px}
}
@media(max-width:500px){.student-section-dropdown nav{grid-template-columns:1fr 1fr}.student-section-dropdown nav a{font-size:12px}.student-challenge-panel{padding:21px 17px}.student-challenge-answers{grid-template-columns:1fr}}
