.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{padding:clamp(34px,6vw,100px);display:flex;justify-content:center;flex-direction:column;position:relative;overflow:hidden;background:radial-gradient(circle at 20% 35%,#f7c52926,transparent 54%),linear-gradient(155deg,#171924,#080910)}.login-story:before{content:'Ψ';font-size:620px;line-height:1;position:absolute;right:-160px;bottom:-200px;color:#ffffff05;font-family:Georgia,serif;pointer-events:none}.login-story>*{position:relative}.login-story h1{max-width:600px;margin:60px 0 22px}.login-story p{color:#b8b7be;font-size:17px;max-width:460px}.login-side{padding:30px;display:grid;place-items:center}.login-card{width:min(440px,100%);padding:36px}.login-card h2{margin:10px 0}.login-card .btn{margin-top:6px}.login-card form{margin:28px 0 18px}.login-card input{padding:15px}.login-card label{font-size:14px}.login-help{font-size:12px;color:#a5a9b9;line-height:1.6}
.student-hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:30px;padding:56px 55px;margin-bottom:52px;min-height:365px;position:relative;overflow:hidden;background:radial-gradient(circle at 82% 26%,#f9bb2345,transparent 40%),radial-gradient(circle at 22% 90%,#2b56794a,transparent 70%),linear-gradient(120deg,#22273b,#12151d 70%)}.student-hero::after{content:'Ψ';font-family:Georgia,serif;font-size:380px;color:#ffffff0d;position:absolute;right:8%;bottom:-160px;line-height:1;pointer-events:none}.student-hero>*{z-index:1}.student-hero h1{margin:12px 0 16px;max-width:710px}.student-hero p{font-size:16px;max-width:590px;color:#d0d0da}.hero-illustration{text-align:center;font-size:100px;filter:drop-shadow(0 18px 38px #0009);color:#ffe192}.countdown{padding:14px 19px;background:#0004;border:1px solid #ffffff19;display:inline-block;border-radius:14px;margin:20px 0}.lesson-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.lesson-card{overflow:hidden;transition:transform .2s,box-shadow .2s;cursor:pointer}.lesson-card:hover{transform:translateY(-5px);box-shadow:0 24px 45px #0008}.poster{height:175px;background:linear-gradient(138deg,#292c44,#141824);position:relative;display:grid;place-items:center;overflow:hidden}.poster img{width:100%;height:100%;object-fit:cover;display:block}.poster-placeholder{font-size:50px;color:#f9d36755}.play{position:absolute;bottom:14px;right:14px;width:45px;height:45px;border-radius:50%;background:#f5c22b;color:#19150b;display:grid;place-items:center;box-shadow:0 4px 22px #0008;font-size:17px}.lesson-copy{padding:18px}.lesson-copy h3{margin:12px 0 7px;line-height:1.35}.lesson-copy p{font-size:12px;color:#acb1c0;line-height:1.5;min-height:38px}.lesson-copy .meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#aaaec0;font-size:12px;margin-top:15px}.lesson-copy .progress-track{margin-top:15px}.page-footer{padding:35px 0;border-top:1px solid #ffffff14;margin-top:75px;color:#8d92a2;font-size:12px}.search{max-width:360px}.profile-grid{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center}.profile-grid .avatar{height:90px;width:90px;font-size:34px}.video-head{margin:14px 0}.video-modal{padding:0!important;overflow:hidden!important}.video-modal .playerbar{padding:18px 23px;display:flex;justify-content:space-between;gap:12px;align-items:center}.video-modal video{border-radius:0!important;max-height:68dvh}.video-note{font-size:12px;color:#a4a6b2;padding:0 23px 24px}.tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}.tabs button{border:1px solid #424b5c;background:#191f2f;color:#dadee7;border-radius:11px;padding:10px 17px}.tabs button.active{background:var(--gold);color:#191509}
@media(max-width:1000px){.lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.student-hero{padding:45px 35px}}
@media(max-width:740px){.login{grid-template-columns:1fr}.login-story{min-height:270px;padding:27px}.login-story h1{font-size:31px;margin:38px 0 12px}.login-story p{font-size:14px}.login-side{padding:25px 16px}.login-card{padding:25px}.student-hero{grid-template-columns:1fr;padding:27px;min-height:auto;margin-bottom:35px}.hero-illustration{display:none}.student-hero h1{font-size:32px}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.poster{height:125px}.lesson-copy{padding:13px}.lesson-copy h3{font-size:14px}.lesson-copy p{font-size:11px}.play{width:37px;height:37px}.profile-grid{grid-template-columns:1fr}.search{max-width:100%;width:100%}}
@media(max-width:430px){.lesson-grid{grid-template-columns:1fr}.poster{height:185px}}

/* Paleta neutra da área do aluno. */
.login-story{background:radial-gradient(circle at 20% 35%,#f7c5291c,transparent 54%),linear-gradient(155deg,#1b1b1b,#080808)}
.student-hero{background:radial-gradient(circle at 82% 26%,#f9bb2328,transparent 40%),radial-gradient(circle at 22% 90%,#ffffff0d,transparent 70%),linear-gradient(120deg,#292929,#121212 70%)}
.student-hero::after{content:'';inset:0;right:0;bottom:0;background:linear-gradient(90deg,#222222 0%,#222222a8 29%,transparent 68%),url('/shared/assets/jung-freud-hero.png') right center/cover no-repeat;opacity:.62;font-size:0}
.login-whatsapp{color:var(--gold2);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.lesson-card{border-color:#353535;background:linear-gradient(160deg,#202020,#151515);box-shadow:0 16px 32px #0005}
.lesson-card:hover{border-color:#b28a2c;box-shadow:0 20px 40px #0008}
.lesson-copy .meta:has(span:only-child){justify-content:flex-end}
.video-actions{display:flex;justify-content:flex-end;padding:16px 23px 0}
.lesson-playback-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 23px 0}.lesson-playback-controls label{display:flex;align-items:center;gap:9px;color:#ccc;font-size:13px}.lesson-playback-controls select{width:auto;padding:9px 12px;background:#181818;color:#fff;border:1px solid #555;border-radius:8px}.lesson-playback-controls .is-completed{border-color:#768a54;color:#d8efb5}@media(max-width:620px){.lesson-playback-controls{align-items:stretch}.lesson-playback-controls .btn{width:100%}}
.comments-section{padding:26px 23px 28px;border-top:1px solid var(--stroke);margin-top:8px}
.comments-section .sectionhead{margin-bottom:16px}
.comments-section h3{margin:5px 0 0}
.comments-list{display:flex;flex-direction:column;gap:10px;margin-bottom:18px;max-height:260px;overflow:auto}
.comment{padding:13px 15px;border:1px solid #343434;border-radius:12px;background:#171717}
.comment-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:6px}
.comment p{margin:0;color:#d0d0d0;font-size:13px;white-space:pre-wrap;line-height:1.55}
.comment-reply-button{margin-top:10px;padding:0;border:0;background:none;color:#f6c52f;font-size:11px;font-weight:800;letter-spacing:.04em;cursor:pointer}
.comment-reply{margin:10px 0 0 28px;background:#202020;border-color:#4a4a4a}
.reply-form{display:none;gap:8px;margin-top:12px}
.reply-form.is-open{display:flex;flex-direction:column}
.reply-form textarea{width:100%;min-height:62px}
.reply-actions{display:flex;justify-content:flex-end;gap:10px}
.comment-form{display:flex;gap:10px;align-items:flex-end}
.comment-form textarea{min-height:70px}
@media(max-width:620px){.comment-form{flex-direction:column;align-items:stretch}.video-actions{justify-content:stretch}.video-actions .btn{width:100%}}
.video-modal video{max-height:52dvh}
.comments-section{padding-bottom:34px}
.video-modal video{max-height:42dvh}
.comment-form{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-bottom:20px}
.comment-form textarea{width:100%;min-height:82px}
.comment-form .btn{width:100%}
.comment-author{display:flex;align-items:center;gap:9px;min-width:0}
.comment-author strong{min-width:0;overflow-wrap:anywhere}
.comment-avatar{width:30px;height:30px;min-width:30px;max-width:30px;flex:0 0 30px;aspect-ratio:1;border-radius:50%;object-fit:cover;border:1px solid #6f5b2c;background:#393939;color:#ffe08a;display:grid;place-items:center;font-weight:800;font-size:13px}
.video-modal{height:calc(100dvh - 40px);max-height:none;overflow-x:hidden!important;overflow-y:scroll!important;overscroll-behavior:contain;scrollbar-color:#f6c52f #202020;scrollbar-width:thin}
.video-modal::-webkit-scrollbar{width:10px}
.video-modal::-webkit-scrollbar-track{background:#202020}
.video-modal::-webkit-scrollbar-thumb{background:#f6c52f;border-radius:10px;border:2px solid #202020}
.video-actions{justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.video-modal{border-radius:7px!important}
.video-modal .video-actions{padding:18px 23px 24px}
.comments-jump{margin-left:auto}
.comments-list{scrollbar-color:#f6c52f #202020;scrollbar-width:thin}
.comments-list::-webkit-scrollbar{width:8px}
.comments-list::-webkit-scrollbar-thumb{background:#f6c52f;border-radius:10px}
.video-wrap{position:relative;background:#000;line-height:0}
.video-wrap video{display:block}
.center-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:76px;height:76px;border:0;border-radius:50%;background:linear-gradient(135deg,#ffe37b,#f6bd24);color:#17140a;font-size:26px;line-height:1;box-shadow:0 10px 30px #0009;display:grid;place-items:center;cursor:pointer;transition:transform .18s,opacity .18s}
.center-play:hover{transform:translate(-50%,-50%) scale(1.08)}
.center-play.is-hidden{opacity:0;pointer-events:none}
.category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 34px}.category-card{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid #3d3d3d;border-radius:18px;background:#202020;color:#fff;text-align:left;padding:0;cursor:pointer;font:inherit;transition:transform .2s,box-shadow .2s}.category-cover{position:relative;display:block;width:100%;aspect-ratio:16/9;flex:none;overflow:hidden;background:#151515}.category-cover img{display:block;width:100%;height:100%;object-fit:contain;background:#151515}.category-card:after{display:none}.category-card.active{border-color:var(--gold);box-shadow:0 0 0 2px #f6c52f33}.category-card.locked{cursor:pointer;text-decoration:none;filter:none;opacity:1}.category-card.locked .category-cover img{filter:brightness(.34) saturate(.7)}.category-card.locked .category-cover:after{content:'';position:absolute;inset:0;background:#0008}.category-lock{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:#ffe08a;font-size:42px;text-shadow:0 3px 16px #000;filter:none}.category-placeholder{position:relative;display:grid;place-items:center;width:100%;height:100%;font-size:55px;color:#f6c52f55;background:#151515}.category-overlay{position:static;display:flex;flex-direction:column;gap:6px;min-height:86px;padding:14px 16px 16px;background:#191919}.category-overlay strong{font-size:17px;line-height:1.25}.category-overlay small{color:#cfcfcf;font-size:12px;line-height:1.4}.category-card.locked .category-overlay{background:#292316}.category-card.locked .category-overlay strong{color:#ffe08a}.category-cta{display:block;margin-top:4px;padding:7px 9px;border:1px solid #f6c52f99;border-radius:8px;background:#f6c52f22;color:#ffe08a;font-size:10px;font-weight:850;line-height:1.3;letter-spacing:.03em}.category-detail-head{display:flex;align-items:center;gap:24px;margin-bottom:28px}.category-detail-head h2{margin:4px 0}.category-detail-head p{margin:0}@media(max-width:740px){.category-cards{grid-template-columns:1fr 1fr;gap:14px}.category-card{border-radius:14px}.category-overlay{min-height:100px;padding:12px 13px 14px}.category-overlay strong{font-size:15px}.category-overlay small{font-size:11px}.category-cta{font-size:9px;padding:6px 7px}.category-detail-head{align-items:flex-start;flex-direction:column;gap:14px}}@media(max-width:390px){.category-cards{grid-template-columns:1fr}.category-overlay{min-height:0}.category-overlay strong{font-size:17px}.category-overlay small{font-size:12px}.category-cta{font-size:10px}}
.support-material{margin:0 23px 24px;padding:16px 18px;border:1px solid #806522;border-radius:14px;background:#f6c52f10}.support-material p{margin:6px 0 0;color:#d3d3d3;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.support-material a{color:#ffe08a;text-decoration:underline;text-underline-offset:3px;word-break:break-all}
.topbar>.install-app{order:-1;white-space:nowrap}
.category-card.locked{border-color:#806522;box-shadow:0 0 0 1px #f6c52f33}.category-card.locked:hover{transform:translateY(-3px);border-color:#f6c52f;box-shadow:0 12px 30px #f6c52f22}.category-card.locked:hover .category-cta{background:#f6c52f44}
.category-kind{position:absolute;z-index:2;top:12px;left:12px;padding:6px 9px;border-radius:8px;background:#f6c52fe8;color:#17140a;font-size:9px;font-weight:850;letter-spacing:.06em}
.community-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:20px}.community-heading h2{margin:5px 0}.community-heading p{margin:0}.community-intro{display:flex;flex-direction:column;gap:4px;padding:16px 18px;margin-bottom:16px;background:#f6c52f0d;border-color:#806522}.community-intro span{font-size:13px;color:#b9b9b9}.community-topics{display:flex;flex-direction:column;gap:10px}.community-topic{display:flex;align-items:center;gap:13px;width:100%;padding:15px 17px;border:1px solid #363636;border-radius:13px;background:#191919;color:#fff;text-align:left;transition:border-color .2s,transform .2s,background .2s}.community-topic:hover{transform:translateY(-2px);border-color:#a07b28;background:#211e16}.community-topic-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#f6c52f1c;color:#ffe08a;font-size:17px;flex:none}.community-topic-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.community-topic-copy strong{font-size:15px;overflow-wrap:anywhere}.community-topic-copy small{color:#a9a9a9;font-size:11px}.community-topic-arrow{margin-left:auto;color:#ffe08a;font-size:18px}.community-loading{padding:45px 16px;text-align:center;color:#aaa}.community-thread-head{display:flex;align-items:flex-start;gap:18px;margin-bottom:20px}.community-thread-head h2{margin:5px 0}.community-thread-head p{margin:0}.community-messages{display:flex;flex-direction:column;gap:11px;max-height:58dvh;overflow:auto;padding-right:4px;scrollbar-color:#f6c52f #202020;scrollbar-width:thin}.community-message{padding:15px 17px;border:1px solid #343434;border-radius:13px;background:#191919}.community-message-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.community-author{display:flex;align-items:center;gap:9px;min-width:0}.community-author strong{font-size:13px;overflow-wrap:anywhere}.community-message time{font-size:10px;color:#8f8f8f;white-space:nowrap}.community-message p{margin:0;color:#d3d3d3;line-height:1.6;overflow-wrap:anywhere}.community-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;display:grid;place-items:center;flex:none;background:#393939;border:1px solid #75613e;color:#ffe08a;font-size:13px;font-weight:800}.community-media-link{display:block;margin-top:11px;max-width:520px}.community-media{display:block;max-width:100%;max-height:360px;border-radius:10px;background:#0b0b0b;object-fit:contain}.community-message video{width:min(520px,100%);margin-top:11px}.community-composer{margin-top:14px;padding:14px 16px;background:#171717}.community-composer textarea{min-height:76px;background:#111}.community-compose-row{display:flex;align-items:center;gap:10px;margin-top:10px}.community-compose-row .btn{margin-left:auto}.community-file{display:inline-flex;flex-direction:row;align-items:center;gap:7px;width:auto;padding:8px 10px;border:1px solid #454545;border-radius:9px;background:#222;color:#ddd;font-size:11px;cursor:pointer}.community-file input{display:none}
@media(max-width:620px){.community-head{grid-template-columns:1fr;gap:12px}.community-head>.btn{width:100%}.community-heading{order:-1}.community-thread-head{flex-direction:column;gap:12px}.community-thread-head>.btn{width:100%}.community-message-head{align-items:flex-start;flex-direction:column;gap:7px}.community-message time{font-size:10px}.community-compose-row{align-items:stretch;flex-wrap:wrap}.community-compose-row .btn{width:100%;margin-left:0}.community-file{flex:1}.community-media{max-height:260px}}

@media(max-width:620px){.topbar{height:66px;padding:0 10px;gap:7px;display:grid;grid-template-columns:auto minmax(0,1fr) auto}.topbar>.install-app{grid-column:1;grid-row:1;order:initial;padding:9px 10px;font-size:10px;white-space:nowrap}.topbar>.logo{grid-column:2;grid-row:1;min-width:0;justify-content:center;overflow:hidden}.topbar .logo .brand-image{width:124px;max-width:100%;max-height:52px;object-fit:contain}.topbar .top-actions{grid-column:3;grid-row:1;min-width:0;gap:4px;justify-content:flex-end}.topbar .top-actions .name,.topbar .top-actions #top-avatar,.topbar .top-actions #logout{display:none}.topbar .top-actions #profile-btn{width:45px;min-width:45px;padding:8px 6px;font-size:10px;line-height:1.05;white-space:normal}}
.profile-avatar{display:grid;place-items:center;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.profile-avatar .avatar{width:39px;height:39px}
@media(max-width:620px){.topbar .top-actions #profile-btn{display:none}.topbar .top-actions #top-avatar{display:grid}.topbar .profile-avatar .avatar{width:39px;height:39px;border-width:2px}}
.community-reply-reference{margin:0 0 9px;padding:7px 10px;border-left:2px solid #f6c52f;color:#aaa;font-size:11px;background:#f6c52f0b}.community-reply-reference strong,.community-reply-banner strong{color:#ffe08a}.community-reply-btn{display:block;margin-top:12px;padding:0;border:0;background:transparent;color:#ffe08a;font-size:10px;font-weight:800;letter-spacing:.04em;cursor:pointer}.community-reply-btn:hover{text-decoration:underline}.community-reply-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-2px 0 10px;padding:9px 11px;border-left:2px solid #f6c52f;background:#f6c52f0b;color:#bdbdbd;font-size:12px}
@media(max-width:390px){.topbar{padding:0 8px;gap:5px;grid-template-columns:95px minmax(0,1fr) 44px}.topbar>.install-app{padding:8px 7px;font-size:9px}.topbar .logo .brand-image{width:114px}.topbar .profile-avatar .avatar{width:36px;height:36px}}

/* O cabecalho da trilha ocupa todas as colunas da grade de categorias. */
.category-detail-head{grid-column:1/-1;min-width:0;width:100%;margin-bottom:0}
.category-detail-head>.btn{flex:none}
.category-detail-head>div{flex:1;min-width:0}
@media(max-width:740px){.category-detail-head>div{width:100%}.category-detail-head h2,.category-detail-head p{overflow-wrap:anywhere}}
@media(max-width:620px){.comment-head{flex-direction:column;align-items:flex-start;gap:6px}.comment-author{width:100%}.comment-head>.small{font-size:11px}.comment-reply{margin-left:12px}}

/* Faixa de boas-vindas ocupa a largura da pagina; conteudo segue alinhado com a biblioteca. */
.student-hero{display:block;grid-template-columns:none;gap:0;padding:0;margin:0;min-height:0;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
.student-hero-inner{position:relative;display:flex;align-items:center;min-height:460px;padding-top:64px;padding-bottom:64px}
.student-hero-inner>div{width:100%;max-width:760px;min-width:0}
.student-hero::after{z-index:0;background:linear-gradient(90deg,#171717 0%,#171717a8 30%,#17171700 75%),url('/shared/assets/jung-freud-hero.png') right center/cover no-repeat;opacity:.68}
.student-content{padding-top:48px}
@media(max-width:740px){.student-hero-inner{min-height:0;padding-top:36px;padding-bottom:36px}.student-hero::after{background:linear-gradient(180deg,#0c0c0cbf 0%,#0c0c0c80 48%,#0c0c0c4d 100%),url('/shared/assets/jung-freud-hero-mobile.webp') center 58%/cover no-repeat;opacity:1}.student-hero-inner>div{max-width:100%}.student-content{padding-top:32px}}
