/* CursoTech - Interface visual inicial */
:root {
    --bg: #101326;
    --panel: #171b32;
    --panel-2: #1d2240;
    --line: rgba(180, 190, 230, .10);
    --text: #f5f6ff;
    --muted: #9299b5;
    --purple: #6654f5;
    --cyan: #20d9d7;
    --sidebar-width: 258px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, Arial, sans-serif; font-size: 14px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.app-shell { min-height: 100vh; }
.sidebar { width: var(--sidebar-width); position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; padding: 28px 18px 18px; background: #14182d; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 12px 42px; }
.brand-mark { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; border-radius: 11px; background: linear-gradient(140deg,#1ee4d7,#6252ef 72%); transform: rotate(-8deg); box-shadow: 0 7px 22px #5148d455; }
.brand-mark span { display: block; width: 4px; border-radius: 5px; background: #101326; }
.brand-mark span:nth-child(1) { height: 12px; }.brand-mark span:nth-child(2) { height: 19px; }.brand-mark span:nth-child(3) { height: 9px; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.8px; }.brand-name span { color: #37d8d5; }
.sidebar-label { padding: 0 13px 13px; color: #6f7798; font-size: 10px; font-weight: 700; letter-spacing: 1.45px; }
.second-label { margin-top: 30px; }
.main-nav { display: grid; gap: 6px; }
.nav-link { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 13px; border-radius: 10px; color: #a2a8c0; font-weight: 500; transition: .2s ease; }
.nav-link:hover { background: #202642; color: #fff; }.nav-link.active { background: linear-gradient(100deg,rgba(101,83,245,.25),rgba(32,217,215,.08)); color: #fff; box-shadow: inset 3px 0 #6d5bff; }
.nav-icon { width: 20px; text-align: center; font-size: 20px; color: #8790b1; }.nav-link.active .nav-icon { color: #48d9df; }
.sidebar-promo { position: relative; overflow: hidden; margin: auto 4px 22px; padding: 19px 16px 17px; border: 1px solid rgba(119,108,255,.25); border-radius: 15px; background: linear-gradient(145deg,#25214d,#1a2845); }
.promo-orb { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: #6554f5; filter: blur(55px); opacity: .35; right: -25px; top: -35px; }
.promo-icon { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 14px; border-radius: 9px; color: #11152c; background: var(--cyan); font-size: 19px; }
.sidebar-promo strong { position: relative; font-size: 12px; }.sidebar-promo p { position: relative; margin: 8px 0 14px; color: #a7aec8; font-size: 11px; line-height: 1.6; }.sidebar-promo a { position: relative; color: #52dfdc; font-size: 11px; font-weight: 700; }.sidebar-promo a span { margin-left: 5px; }
.sidebar-footer { display: flex; align-items: center; gap: 10px; padding: 14px 8px 2px; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; font-size: 11px; color: #11152b; background: linear-gradient(135deg,#29e1d7,#7a65ff); }
.profile-mini { display: grid; gap: 4px; min-width: 0; }.profile-mini strong { font-size: 11px; }.profile-mini span { color: #7f87a5; font-size: 10px; }.more-icon { margin-left: auto; color: #858ca8; letter-spacing: 2px; }
.main-content { max-width: 1720px; min-height: 100vh; margin-left: var(--sidebar-width); padding: 0 42px; }
.topbar { height: 83px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: #838ba9; font-size: 12px; }.breadcrumb i { color: #505875; font-style: normal; }.breadcrumb strong { color: #f4f5ff; font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 23px; }.search-box { display: flex; align-items: center; gap: 9px; width: 250px; height: 39px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #191e36; color: #8991ad; }.search-box>span { font-size: 22px; }.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; color: #fff; background: transparent; font-size: 11px; }.search-box input::placeholder { color: #7f87a4; }.search-box kbd { white-space: nowrap; padding: 3px 5px; border: 1px solid #343a58; border-radius: 4px; color: #727b9a; font-size: 9px; }
.icon-button { position: relative; width: 34px; height: 34px; border: 0; border-radius: 9px; color: #aeb5ce; background: transparent; font-size: 19px; }.notification-button b { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.top-profile { display: flex; align-items: center; gap: 10px; }.top-profile>div:last-child { display: grid; gap: 4px; }.top-profile strong { font-size: 11px; }.top-profile span { color: #8189a7; font-size: 10px; }
.mobile-menu { display: none; }
.welcome-row { display: flex; justify-content: space-between; align-items: end; padding: 37px 0 26px; }.eyebrow,.section-kicker { display: flex; align-items: center; gap: 8px; color: #7f88a8; font-size: 9px; font-weight: 700; letter-spacing: 1.55px; }.eyebrow-line { width: 18px; height: 2px; border-radius: 3px; background: var(--cyan); }
.welcome-row h1 { margin: 12px 0 7px; font-size: clamp(25px,3vw,34px); letter-spacing: -1.4px; }.welcome-row h1>span:first-child { color: #7c6cff; }.wave { display: inline-block; color: #38d9d7; font-size: 23px; }.welcome-row p { margin: 0; color: #8d95b1; font-size: 12px; }.welcome-date { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; color: #828ba9; font-size: 9px; font-weight: 700; letter-spacing: 1px; }.date-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px #20d9d7; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(170px,.85fr) minmax(170px,.85fr); gap: 16px; }
.featured-card { position: relative; overflow: hidden; min-height: 270px; padding: 22px 25px; border: 1px solid rgba(137,126,255,.3); border-radius: 17px; background: radial-gradient(ellipse at 83% 12%,rgba(33,215,215,.22),transparent 24%),linear-gradient(115deg,#263b83 0%,#4c40b5 54%,#6c4de1 100%); }
.featured-card:after { content:""; position:absolute; width:330px; height:330px; right:-95px; bottom:-245px; border:1px solid #ffffff22; border-radius:50%; box-shadow:0 0 0 32px #ffffff08,0 0 0 65px #ffffff06; }
.featured-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }.tag-light { padding: 6px 9px; border: 1px solid #ffffff33; border-radius: 5px; color: #d7dcff; font-size: 8px; font-weight: 700; letter-spacing: 1px; }.featured-number { color: #e2e2ff; font-size: 10px; }.featured-number i { color: #b3b5ed; font-style: normal; }
.featured-copy { position: relative; z-index: 3; max-width: 58%; margin-top: 26px; }.featured-kicker { color: #c4c9ff; font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }.featured-copy h2 { margin: 10px 0 9px; font-size: clamp(23px,2.3vw,30px); line-height: 1.12; letter-spacing: -1.1px; }.featured-copy h2 span { color: #5ff0e5; }.featured-copy p { max-width: 320px; margin: 0 0 16px; color: #d2d4fa; font-size: 10px; line-height: 1.6; }.primary-button { display: inline-flex; align-items: center; gap: 18px; padding: 10px 13px; border-radius: 7px; color: #151832; background: #36e0d9; font-size: 10px; font-weight: 800; box-shadow: 0 7px 20px #20d9d744; }.primary-button span { font-size: 15px; }
.featured-art { position: absolute; top: 35px; right: 20px; width: 40%; height: 205px; }.art-ring { position: absolute; border: 1px solid #ffffff2a; border-radius: 50%; transform: rotate(-25deg); }.ring-one { width: 210px; height: 150px; right: -2px; top: 18px; }.ring-two { width: 175px; height: 115px; right: 15px; top: 35px; }.code-window { position: absolute; top: 54px; right: 1px; width: 205px; padding: 10px 12px 13px; border: 1px solid #ffffff35; border-radius: 9px; background: #161b39d9; box-shadow: 0 16px 35px #10132666; transform: rotate(5deg); }.code-head { display:flex; align-items:center; gap:4px; padding-bottom:8px; border-bottom:1px solid #ffffff19; }.code-head i { width:5px; height:5px; border-radius:50%; background:#ff7e9d; }.code-head i:nth-child(2){background:#ffd36b}.code-head i:nth-child(3){background:#47dfc2}.code-head span { margin-left:6px; color:#8d97bb; font-size:7px; }.code-lines { display:grid; gap:7px; padding-top:10px; color:#dfe4ff; font:9px Consolas,monospace; }.code-lines b { color:#56d9e4; font-weight:500; }.code-lines em { color:#bd9cff; font-style:normal; }.code-lines strong { color:#a7e6a5; font-weight:400; }.indent { padding-left:12px; }.floating-badge { position:absolute; display:grid; place-items:center; border:1px solid #ffffff3d; border-radius:9px; background:#ffffff20; color:#fff; backdrop-filter:blur(8px); }.badge-code { right:0; top:14px; width:39px; height:35px; font-size:15px; }.badge-star { left:0; bottom:5px; width:28px; height:28px; color:#61eee4; }
.featured-bottom { position:absolute; bottom:13px; left:25px; z-index:3; display:flex; gap:5px; }.featured-bottom span { width:13px; height:3px; border-radius:5px; background:#ffffff55; }.featured-bottom span:first-child { width:25px; background:#4ce8df; }
.stat-card { position: relative; overflow: hidden; min-height: 270px; padding: 20px 18px; border: 1px solid var(--line); border-radius: 17px; }.stat-purple { background: linear-gradient(145deg,#29234f,#201d3c); }.stat-cyan { background: linear-gradient(145deg,#173f50,#1c2d46); }.stat-top { display:flex; align-items:center; justify-content:space-between; }.stat-icon { display:grid; place-items:center; width:31px; height:31px; border-radius:9px; color:#b7aaff; background:#7865f52b; font-size:17px; }.stat-cyan .stat-icon { color:#48e5dc; background:#20d9d722; }.stat-caption { color:#a5a4cb; font-size:8px; font-weight:700; letter-spacing:1px; }.stat-value { position:relative; z-index:1; margin-top:31px; font-size:39px; font-weight:800; letter-spacing:-2px; }.stat-value span { margin-left:3px; color:#4de0d9; font-size:19px; }.stat-card h3 { position:relative; z-index:1; margin:3px 0 8px; font-size:12px; }.stat-card p { position:relative; z-index:1; max-width:155px; margin:0; color:#999fbd; font-size:9px; line-height:1.6; }.stat-decoration { position:absolute; right:-8px; bottom:-31px; color:#ffffff08; font-size:112px; font-weight:800; }
.section-block { padding-top: 38px; }.section-heading { display:flex; align-items:end; justify-content:space-between; margin-bottom:17px; }.section-heading h2 { margin:7px 0 5px; font-size:20px; letter-spacing:-.6px; }.section-heading p { margin:0; color:#8d95b1; font-size:10px; }.text-link { padding-bottom:3px; color:#53deda; font-size:10px; font-weight:700; }.text-link span { margin-left:7px; font-size:15px; }
.course-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }.course-card { overflow:hidden; border:1px solid var(--line); border-radius:13px; background:#181d34; transition:transform .2s,border-color .2s; }.course-card:hover { transform:translateY(-3px); border-color:#6554f566; }.course-cover { position:relative; overflow:hidden; height:119px; padding:12px; }.cover-blue { background:linear-gradient(135deg,#245e9e,#263b83 65%,#392d84); }.cover-violet { background:linear-gradient(135deg,#4e3ba5,#7b43b7); }.cover-teal { background:linear-gradient(135deg,#147b83,#23506f); }.cover-orange { background:linear-gradient(135deg,#a65343,#6b3b65); }.course-category { position:relative; z-index:2; color:#e4e8ff; font-size:8px; font-weight:700; letter-spacing:1px; }.course-level { position:absolute; bottom:11px; left:12px; z-index:2; padding:5px 7px; border:1px solid #ffffff35; border-radius:4px; color:#e7eaff; background:#11152c33; font-size:7px; font-weight:700; letter-spacing:.6px; }.cover-graphic { position:absolute; right:22px; top:24px; display:grid; place-items:center; width:80px; height:70px; border:1px solid #ffffff55; border-radius:15px; color:#fff; background:#ffffff12; transform:rotate(-9deg); box-shadow:0 10px 24px #11152c35; }.cover-graphic>span { font:700 27px Consolas,monospace; text-shadow:0 0 20px #fff8; }.cover-graphic i,.cover-graphic b { position:absolute; width:13px; height:13px; border:2px solid #63e8e0; border-radius:4px; }.cover-graphic i { top:-7px; right:8px; }.cover-graphic b { bottom:-6px; left:9px; border-color:#c5a4ff; }.graphic-code { transform:rotate(8deg); }.graphic-database { border-radius:50%; transform:rotate(-4deg); }.graphic-database>span { font-size:31px; }.graphic-network { transform:rotate(5deg); }
.course-body { padding:13px 13px 12px; }.course-meta { display:flex; gap:6px; color:#50d9d6; font-size:7px; font-weight:700; letter-spacing:.6px; }.course-meta span:nth-child(2) { color:#606987; }.course-body h3 { min-height:34px; margin:9px 0 5px; font-size:11px; line-height:1.5; }.course-body p { min-height:30px; margin:0; color:#929ab5; font-size:9px; line-height:1.55; }.course-footer { display:flex; align-items:center; justify-content:space-between; gap:5px; margin-top:12px; padding-top:10px; border-top:1px solid var(--line); color:#8d95b1; font-size:8px; }.instructor { display:flex; align-items:center; gap:6px; }.instructor i { display:grid; place-items:center; width:20px; height:20px; border-radius:50%; color:#101326; background:linear-gradient(135deg,#32e1d6,#8170ff); font-size:7px; font-style:normal; font-weight:800; }.course-time { white-space:nowrap; }
.lower-grid { display:grid; grid-template-columns:1.6fr 1fr; gap:15px; padding-top:27px; }.progress-panel,.quote-panel { min-height:165px; padding:18px 20px; border:1px solid var(--line); border-radius:14px; background:#181d34; }.compact-heading { align-items:center; margin-bottom:8px; }.compact-heading h2 { margin-bottom:0; font-size:16px; }.soft-pill { padding:6px 8px; border:1px solid var(--line); border-radius:5px; color:#8992af; font-size:7px; font-weight:700; letter-spacing:.7px; }.progress-empty { display:flex; align-items:center; gap:20px; padding:6px 12px 0; }.progress-illustration { position:relative; display:grid; place-items:center; width:88px; height:88px; flex:0 0 auto; }.progress-circle { display:grid; place-items:center; width:70px; height:70px; border:5px solid #343858; border-right-color:#6654f5; border-top-color:#20d9d7; border-radius:50%; transform:rotate(-35deg); }.progress-circle span { color:#e9eaff; font-size:14px; font-weight:800; transform:rotate(35deg); }.mini-spark { position:absolute; color:#4ce0d9; }.spark-a { top:2px; right:4px; }.spark-b { bottom:6px; left:2px; color:#9584ff; }.progress-empty strong { font-size:11px; }.progress-empty p { max-width:330px; margin:7px 0 0; color:#929ab5; font-size:9px; line-height:1.6; }
.quote-panel { position:relative; overflow:hidden; padding:21px 23px; background:linear-gradient(120deg,#25204c,#1d2945); }.quote-mark { color:#5be1db; font:700 42px Georgia,serif; line-height:.8; }.quote-panel p { position:relative; z-index:1; max-width:340px; margin:9px 0 13px; font-size:13px; font-weight:600; line-height:1.55; }.quote-panel>span { color:#55dcd7; font-size:8px; font-weight:700; letter-spacing:1px; }.quote-decoration { position:absolute; right:20px; bottom:-27px; color:#ffffff0a; font-size:130px; }
.footer { display:flex; justify-content:space-between; gap:15px; margin-top:28px; padding:17px 0 22px; border-top:1px solid var(--line); color:#737c9b; font-size:9px; }.footer strong { color:#b9bfd5; }
.mobile-overlay { display:none; }
@media (max-width: 1180px) { .main-content { padding:0 27px; }.dashboard-grid { grid-template-columns:minmax(0,1.7fr) minmax(150px,.8fr) minmax(150px,.8fr); }.featured-art { right:5px; transform:scale(.85); transform-origin:right center; }.course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.course-cover { height:135px; } }
@media (max-width: 850px) { :root { --sidebar-width: 235px; }.sidebar { transform:translateX(-100%); transition:transform .25s ease; box-shadow:20px 0 50px #0005; }.sidebar.open { transform:translateX(0); }.mobile-overlay.show { display:block; position:fixed; inset:0; z-index:15; background:#050713a8; }.main-content { margin-left:0; padding:0 24px; }.mobile-menu { display:grid; place-items:center; width:35px; height:35px; margin-right:12px; border:1px solid var(--line); border-radius:8px; color:#fff; background:#1b2038; }.topbar { justify-content:flex-start; }.breadcrumb { margin-right:auto; }.topbar-actions { gap:10px; }.search-box { width:190px; }.dashboard-grid { grid-template-columns:1fr 1fr; }.featured-card { grid-column:1/-1; }.featured-art { right:35px; transform:scale(1); }.stat-card { min-height:205px; }.stat-value { margin-top:20px; }.lower-grid { grid-template-columns:1fr; } }
@media (max-width: 560px) { .main-content { padding:0 16px; }.topbar { height:68px; }.breadcrumb { font-size:10px; }.topbar-actions { gap:5px; }.search-box { width:38px; padding:0 9px; border:0; background:transparent; }.search-box input,.search-box kbd { display:none; }.search-box>span { font-size:24px; }.top-profile>div:last-child { display:none; }.top-profile .avatar { width:32px; height:32px; }.welcome-row { padding:29px 0 21px; }.welcome-row h1 { font-size:27px; }.welcome-date { display:none; }.dashboard-grid { grid-template-columns:1fr 1fr; gap:10px; }.featured-card { min-height:310px; padding:18px; }.featured-copy { max-width:100%; margin-top:29px; }.featured-copy h2 { font-size:27px; }.featured-copy p { max-width:235px; }.featured-art { top:115px; right:-2px; opacity:.33; transform:scale(.8); }.featured-copy { z-index:4; }.stat-card { min-height:180px; padding:15px 13px; }.stat-value { margin-top:20px; font-size:33px; }.stat-card h3 { font-size:10px; }.stat-card p { font-size:8px; }.section-block { padding-top:30px; }.section-heading h2 { font-size:18px; }.section-heading p { max-width:230px; line-height:1.5; }.course-grid { grid-template-columns:1fr; gap:12px; }.course-cover { height:145px; }.course-body h3,.course-body p { min-height:0; }.course-body h3 { font-size:12px; }.course-body p { font-size:10px; }.lower-grid { padding-top:22px; }.progress-panel,.quote-panel { padding:16px; }.progress-empty { gap:10px; padding:5px 0 0; }.progress-illustration { width:75px; }.progress-circle { width:62px; height:62px; }.footer { flex-direction:column; line-height:1.5; } }


/* Ajuste para telas com pouca altura: evita que o card promocional
   fique espremido/cortado entre a navegação e o rodapé. */
.sidebar {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #343b60 transparent;
}
.sidebar-promo,
.sidebar-footer {
    flex-shrink: 0;
}
@media (max-height: 700px) and (min-width: 851px) {
    .brand { padding-bottom: 25px; }
    .second-label { margin-top: 18px; }
    .sidebar-promo { display: none; }
    .sidebar-footer { margin-top: auto; }
}
