/* ============================================================
   FORJA · área de membros do thalesgomes.com
   Frontend (fase 1). Chrome próprio: sidebar + topbar + dashboard.
   Tema dark, accent azul TG. Outfit (display) + DM Sans (corpo).
   Namespace .fj-  ·  autossuficiente no subdomínio forja.
   ============================================================ */

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/outfit-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/outfit-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url(../fonts/dmsans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url(../fonts/dmsans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --fj-bg: #0a0a0b;
    --fj-panel: #0f0f11;
    --fj-panel-2: #141417;
    --fj-elev: #1a1a1e;
    --fj-line: rgba(255, 255, 255, .08);
    --fj-line-soft: rgba(255, 255, 255, .05);
    --fj-text: #f3f3f5;
    --fj-soft: #b7b7be;
    --fj-muted: #83838c;
    --fj-accent: #1f9ce0;
    --fj-accent-2: #1283c4;
    --fj-accent-deep: #0a5a8a;
    --fj-accent-soft: rgba(31, 156, 224, .14);
    --fj-good: #45e0a1;

    --fj-font-display: 'Outfit', sans-serif;
    --fj-font-body: 'DM Sans', sans-serif;

    --fj-side: 316px;
    --fj-radius: 16px;
    --fj-t: .28s cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--fj-font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--fj-soft);
    background: var(--fj-bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--fj-font-display); color: var(--fj-text); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }

::selection { background: var(--fj-accent-soft); color: #fff; }

/* ------------------------------------------------------------
   Layout base: shell = sidebar fixa + main
   ------------------------------------------------------------ */
.fj-shell { display: flex; min-height: 100vh; }

.fj-main {
    flex: 1;
    min-width: 0;
    margin-left: var(--fj-side);
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(120% 60% at 85% -10%, rgba(31, 156, 224, .08), transparent 60%),
        var(--fj-bg);
}

.fj-content {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 26px clamp(18px, 3vw, 40px) 72px;
}

/* ------------------------------------------------------------
   Sidebar
   ------------------------------------------------------------ */
.fj-side {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--fj-side);
    background: var(--fj-panel);
    border-right: 1px solid var(--fj-line);
    display: flex;
    flex-direction: column;
    padding: 22px 16px 18px;
    z-index: 60;
    transition: transform var(--fj-t);
}

.fj-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px 18px;
    font-family: var(--fj-font-display);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -.02em;
    color: #fff;
}
.fj-brand img { width: 30px; height: 30px; }
.fj-brand em { color: var(--fj-accent); font-style: normal; }

.fj-me {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    margin-bottom: 14px;
    background: var(--fj-panel-2);
    border: 1px solid var(--fj-line-soft);
    border-radius: 14px;
}
.fj-avatar {
    flex: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--fj-font-display);
    font-weight: 600;
    color: #fff;
    background: linear-gradient(140deg, var(--fj-accent), var(--fj-accent-deep));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.fj-me-info { min-width: 0; }
.fj-me-name { color: var(--fj-text); font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fj-me-role { color: var(--fj-muted); font-size: 12px; }

.fj-nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.fj-nav::-webkit-scrollbar { width: 0; }
.fj-nav-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--fj-muted);
    padding: 16px 10px 6px;
    font-weight: 600;
}
.fj-nav-label:first-child { padding-top: 4px; }

.fj-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 11px;
    color: var(--fj-soft);
    font-size: 14px;
    font-weight: 500;
    transition: background var(--fj-t), color var(--fj-t);
}
.fj-nav-item svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.fj-nav-item:hover { background: rgba(255, 255, 255, .04); color: var(--fj-text); }
.fj-nav-item.is-active { background: var(--fj-accent-soft); color: #eaf6ff; }
.fj-nav-item.is-active svg { opacity: 1; color: var(--fj-accent); }
.fj-nav-item.is-active::before {
    content: '';
    position: absolute;
    left: -16px; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 20px;
    border-radius: 0 3px 3px 0;
    background: var(--fj-accent);
}
.fj-nav-ext { margin-left: auto; opacity: .4; }
.fj-nav-ext svg { width: 13px; height: 13px; }

.fj-side-foot {
    padding-top: 14px;
    margin-top: 8px;
    border-top: 1px solid var(--fj-line-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fj-side-foot-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--fj-muted);
    padding: 0 10px;
}
.fj-side-foot-links a:hover { color: var(--fj-soft); }
.fj-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 500;
    color: var(--fj-soft);
    transition: background var(--fj-t), color var(--fj-t);
}
.fj-logout svg { width: 18px; height: 18px; }
.fj-logout:hover { background: rgba(224, 80, 80, .1); color: #ff8f8f; }

/* ------------------------------------------------------------
   Topbar (busca + usuário)
   ------------------------------------------------------------ */
.fj-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 64px;
    padding: 0 clamp(18px, 3vw, 40px);
    background: rgba(10, 10, 11, .72);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--fj-line-soft);
}
.fj-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.fj-burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--fj-text); transition: var(--fj-t); }
.fj-topbar-logo { display: none; align-items: center; gap: 8px; font-family: var(--fj-font-display); font-weight: 600; color: #fff; }
.fj-topbar-logo img { width: 24px; height: 24px; }

.fj-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 440px;
    padding: 0 14px;
    height: 40px;
    background: var(--fj-panel-2);
    border: 1px solid var(--fj-line);
    border-radius: 11px;
    color: var(--fj-muted);
    transition: border-color var(--fj-t);
}
.fj-search:focus-within { border-color: rgba(31, 156, 224, .5); }
.fj-search svg { width: 17px; height: 17px; flex: none; }
.fj-search input { width: 100%; background: none; border: none; outline: none; color: var(--fj-text); font-size: 14px; }
.fj-search input::placeholder { color: var(--fj-muted); }

.fj-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.fj-icon-btn {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 11px;
    color: var(--fj-soft);
    border: 1px solid var(--fj-line);
    background: var(--fj-panel-2);
    transition: var(--fj-t);
}
.fj-icon-btn svg { width: 18px; height: 18px; }
.fj-icon-btn:hover { color: var(--fj-text); border-color: rgba(255,255,255,.16); }
.fj-topbar-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--fj-font-display);
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(140deg, var(--fj-accent), var(--fj-accent-deep));
    box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset;
}

/* ------------------------------------------------------------
   Hero em destaque (carrossel fade + degradê na base)
   ------------------------------------------------------------ */
.fj-hero {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: clamp(340px, 42vw, 470px);
    margin-top: 8px;
    border: 1px solid var(--fj-line);
    background: var(--fj-panel);
}
.fj-hero-track { position: absolute; inset: 0; }

.fj-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition: opacity .6s ease, transform 1.2s ease, visibility .6s;
}
.fj-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }

.fj-slide-bg { position: absolute; inset: 0; z-index: 0; }
/* degradê escuro subindo da base pra fundir com o carrossel abaixo (ref. Mentorfy) */
.fj-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--fj-bg) 2%, rgba(10, 10, 11, .82) 22%, rgba(10, 10, 11, .35) 52%, rgba(10, 10, 11, .55) 100%),
        linear-gradient(105deg, rgba(10, 10, 11, .9) 12%, rgba(10, 10, 11, .25) 55%, transparent 78%);
}
.fj-slide-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .5) .5px, transparent .5px);
    background-size: 22px 22px;
    mix-blend-mode: overlay;
}

.fj-slide-body {
    position: relative;
    z-index: 1;
    max-width: 580px;
    padding: clamp(22px, 4vw, 46px);
    /* respiro extra embaixo pra os botões não colarem nos dots (barra na base) */
    padding-bottom: clamp(46px, 7vw, 58px);
}
.fj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #eaf6ff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(6px);
    margin-bottom: 16px;
}
.fj-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--fj-accent); box-shadow: 0 0 8px var(--fj-accent); }
.fj-slide-title { font-size: clamp(30px, 4.4vw, 54px); color: #fff; margin-bottom: 12px; }
.fj-slide-title em { font-style: normal; font-weight: 200; }
.fj-slide-title b { font-weight: 600; color: var(--fj-accent); }
.fj-slide-text { color: rgba(255, 255, 255, .82); font-size: clamp(14px, 1.4vw, 16px); max-width: 440px; margin-bottom: 22px; }
.fj-slide-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* botões */
.fj-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 100px;
    font-family: var(--fj-font-display);
    font-weight: 600;
    font-size: 14px;
    color: #07141d;
    background: #fff;
    border: 1px solid #fff;
    transition: transform var(--fj-t), box-shadow var(--fj-t), background var(--fj-t);
}
.fj-btn svg { width: 16px; height: 16px; }
.fj-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.fj-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
}
.fj-btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.fj-btn-accent { color: #fff; background: linear-gradient(140deg, var(--fj-accent), var(--fj-accent-2)); border-color: transparent; }

.fj-hero-dots {
    position: absolute;
    left: clamp(22px, 4vw, 46px);
    bottom: clamp(18px, 3vw, 30px);
    z-index: 2;
    display: flex;
    gap: 8px;
}
.fj-dot { width: 26px; height: 4px; border-radius: 100px; background: rgba(255, 255, 255, .28); transition: var(--fj-t); }
.fj-dot.is-active { width: 40px; background: var(--fj-accent); }

.fj-hero-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    background: rgba(10, 10, 11, .5);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(6px);
    transition: var(--fj-t);
}
.fj-hero-arrow svg { width: 20px; height: 20px; }
.fj-hero-arrow:hover { background: var(--fj-accent); border-color: transparent; }

/* tons de fundo por slide/módulo/capa (custom property herda pros filhos) */
.fj-tone-start  { --fj-cover: linear-gradient(135deg, #0a5a8a 0%, #0c1420 62%, #0a0a0b 100%); }
.fj-tone-sites  { --fj-cover: linear-gradient(135deg, #0e6f92 0%, #0a1622 60%, #0a0a0b 100%); }
.fj-tone-skills { --fj-cover: linear-gradient(135deg, #5b2fb0 0%, #170f28 60%, #0a0a0b 100%); }
.fj-tone-vibe   { --fj-cover: linear-gradient(135deg, #0e7a63 0%, #0a1a18 60%, #0a0a0b 100%); }
.fj-tone-war    { --fj-cover: linear-gradient(135deg, #234a7a 0%, #171a2a 45%, #0a0a0b 100%); }
.fj-slide-bg, .fj-mod-cover, .fj-resume-thumb, .fj-player-poster, .fj-course-hero-bg {
    background: var(--fj-cover, linear-gradient(135deg, #1b2735, #0a0a0b));
}

/* ------------------------------------------------------------
   Faixa "continue de onde parou"
   ------------------------------------------------------------ */
.fj-resume {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    padding: 14px;
    background: var(--fj-panel);
    border: 1px solid var(--fj-line);
    border-radius: var(--fj-radius);
}
.fj-resume-thumb {
    flex: none;
    width: 132px;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.fj-resume-thumb svg { width: 34px; height: 34px; color: #fff; opacity: .95; position: relative; z-index: 1; }
.fj-resume-info { min-width: 0; flex: 1; }
.fj-resume-kicker { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--fj-accent); }
.fj-resume-title { color: var(--fj-text); font-size: 17px; font-weight: 600; margin: 3px 0 10px; font-family: var(--fj-font-display); }
.fj-progress { height: 6px; border-radius: 100px; background: rgba(255, 255, 255, .08); overflow: hidden; max-width: 420px; }
.fj-progress i { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--fj-accent-deep), var(--fj-accent)); }
.fj-resume-meta { font-size: 12.5px; color: var(--fj-muted); margin-top: 7px; }
.fj-resume-cta { flex: none; }

/* ------------------------------------------------------------
   Linha de conteúdo (título + setas + carrossel)
   ------------------------------------------------------------ */
.fj-row { margin-top: 38px; }
.fj-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fj-row-title { font-size: clamp(20px, 2.4vw, 26px); color: var(--fj-text); }
.fj-row-title span { color: var(--fj-muted); font-weight: 300; }
.fj-row-arrows { display: flex; gap: 8px; }
.fj-arrow {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--fj-soft);
    background: var(--fj-panel-2);
    border: 1px solid var(--fj-line);
    transition: var(--fj-t);
}
.fj-arrow svg { width: 18px; height: 18px; }
.fj-arrow:hover { color: #fff; border-color: rgba(255, 255, 255, .2); background: var(--fj-elev); }
.fj-arrow:disabled { opacity: .3; cursor: default; }

.fj-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 2px;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.fj-carousel::-webkit-scrollbar { height: 0; }

/* ------------------------------------------------------------
   Card de módulo (capa poster + corpo)
   ------------------------------------------------------------ */
.fj-mod {
    flex: 0 0 auto;
    width: 268px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: transform var(--fj-t);
}
.fj-mod:hover { transform: translateY(-5px); }

.fj-mod-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--fj-line);
    transition: border-color var(--fj-t), box-shadow var(--fj-t);
}
.fj-mod:hover .fj-mod-cover { border-color: rgba(31, 156, 224, .55); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(31, 156, 224, .2); }
.fj-mod-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 80% 15%, rgba(255, 255, 255, .16), transparent 55%);
    mix-blend-mode: soft-light;
}
.fj-mod-num {
    position: absolute;
    right: 12px; bottom: 6px;
    font-family: var(--fj-font-display);
    font-weight: 700;
    font-size: 64px;
    line-height: 1;
    color: rgba(255, 255, 255, .1);
    letter-spacing: -.04em;
}
.fj-mod-tag {
    position: absolute;
    top: 11px; left: 11px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: #eaf6ff;
    background: rgba(10, 10, 11, .55);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(4px);
}
.fj-mod-lock {
    position: absolute;
    top: 10px; right: 10px;
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 8px;
    color: #fff;
    background: rgba(10, 10, 11, .55);
    border: 1px solid rgba(255, 255, 255, .16);
}
.fj-mod-lock svg { width: 14px; height: 14px; }
.fj-mod-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0, 0, 0, .4); }
.fj-mod-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--fj-accent-deep), var(--fj-accent)); }

.fj-mod.is-locked .fj-mod-cover { filter: saturate(.5) brightness(.7); }
.fj-mod.is-locked:hover .fj-mod-cover { border-color: rgba(255, 255, 255, .14); box-shadow: none; }

.fj-mod-body { padding: 12px 2px 0; }
.fj-mod-title { font-size: 15px; color: var(--fj-text); font-weight: 600; line-height: 1.25; }
.fj-mod-desc {
    font-size: 13px;
    color: var(--fj-muted);
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fj-mod-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fj-soft);
}
.fj-mod-meta svg { width: 15px; height: 15px; margin-left: auto; color: var(--fj-accent); transition: transform var(--fj-t); }
.fj-mod:hover .fj-mod-meta svg { transform: translateX(3px); }
.fj-mod.is-locked .fj-mod-meta { color: var(--fj-muted); }
.fj-mod.is-locked .fj-mod-meta svg { color: var(--fj-muted); }

/* ------------------------------------------------------------
   Responsivo
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    /* main ocupa tudo; a sidebar mantém largura real e sai da tela (off-canvas) */
    .fj-main { margin-left: 0; }
    .fj-side {
        width: min(88vw, 360px);
        transform: translateX(-100%);
        box-shadow: 0 0 60px rgba(0, 0, 0, .6);
    }
    .fj-side.is-open { transform: translateX(0); }
    .fj-burger { display: flex; }
    .fj-topbar-logo { display: flex; }
    .fj-search { display: none; }
    .fj-scrim {
        position: fixed;
        inset: 0;
        z-index: 55;
        background: rgba(0, 0, 0, .55);
        backdrop-filter: blur(2px);
        opacity: 0;
        pointer-events: none;   /* invisível não bloqueia toque */
        transition: opacity var(--fj-t);
    }
    .fj-scrim.is-open { opacity: 1; pointer-events: auto; }
}

@media (min-width: 901px) {
    .fj-scrim { display: none; }
}

@media (max-width: 560px) {
    .fj-resume { flex-wrap: wrap; }
    .fj-resume-thumb { width: 100%; aspect-ratio: 16 / 8; }
    .fj-resume-cta { width: 100%; }
    .fj-resume-cta .fj-btn { width: 100%; justify-content: center; }
    .fj-mod { width: 78vw; max-width: 300px; }
    .fj-hero { height: clamp(400px, 96vw, 470px); }
}

@media (prefers-reduced-motion: reduce) {
    .fj-slide { transition: opacity .2s linear; transform: none; }
    * { scroll-behavior: auto !important; }
}

/* ============================================================
   Componentes das telas internas (login, meus cursos, conta)
   ============================================================ */

.fj-thin { font-weight: 200; }

/* item de menu travado ("em breve") */
.fj-nav-item.is-locked { color: var(--fj-muted); cursor: default; }
.fj-nav-item.is-locked:hover { background: none; }
.fj-nav-soon {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--fj-muted);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--fj-line-soft);
    padding: 2px 7px 2px 5px;
    border-radius: 100px;
    text-transform: uppercase;
}
.fj-nav-soon svg { width: 11px; height: 11px; }

/* cabeçalho de página */
.fj-page-head { margin: 6px 0 22px; }
.fj-page-title { font-size: clamp(24px, 3vw, 34px); color: var(--fj-text); }
.fj-page-sub { color: var(--fj-muted); font-size: 14.5px; margin-top: 6px; max-width: 560px; }

/* filtros (chips) */
.fj-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.fj-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fj-soft);
    background: var(--fj-panel-2);
    border: 1px solid var(--fj-line);
    transition: var(--fj-t);
}
.fj-chip span { font-size: 11.5px; color: var(--fj-muted); }
.fj-chip:hover { border-color: rgba(255, 255, 255, .18); color: var(--fj-text); }
.fj-chip.is-active { background: var(--fj-accent-soft); border-color: rgba(31, 156, 224, .5); color: #eaf6ff; }
.fj-chip.is-active span { color: var(--fj-accent); }

/* grade de cursos (reaproveita o card .fj-mod, sem largura fixa) */
.fj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 24px 18px; }
.fj-grid .fj-mod { width: auto; }
.fj-grid .fj-mod[hidden] { display: none; }
.fj-grid-empty { color: var(--fj-muted); padding: 30px 4px; text-align: center; }

/* ---- conta ---- */
.fj-acct { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.fj-acct-profile { grid-column: 1 / -1; }

.fj-card {
    background: var(--fj-panel);
    border: 1px solid var(--fj-line);
    border-radius: var(--fj-radius);
    padding: 22px;
}
.fj-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.fj-card-head h2 { font-size: 18px; color: var(--fj-text); }
.fj-card-hint { font-size: 12.5px; color: var(--fj-muted); }
.fj-card-text { color: var(--fj-soft); font-size: 14px; margin-bottom: 16px; }
.fj-card-danger { border-color: rgba(224, 80, 80, .22); }

.fj-avatar-lg { width: 62px; height: 62px; font-size: 24px; }
.fj-profile-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.fj-profile-name { font-family: var(--fj-font-display); font-weight: 600; font-size: 18px; color: var(--fj-text); }
.fj-profile-mail { color: var(--fj-muted); font-size: 13.5px; margin-bottom: 8px; }
.fj-btn-mini {
    display: inline-flex; align-items: center;
    height: 30px; padding: 0 12px;
    border-radius: 8px;
    font-size: 12.5px; font-weight: 600;
    color: var(--fj-soft);
    background: var(--fj-panel-2);
    border: 1px solid var(--fj-line);
    transition: var(--fj-t);
}
.fj-btn-mini:hover { color: var(--fj-text); border-color: rgba(255, 255, 255, .2); }

.fj-form { display: block; }
.fj-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.fj-field label { font-size: 13px; font-weight: 600; color: var(--fj-soft); }
.fj-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fj-input {
    height: 46px;
    padding: 0 14px;
    background: var(--fj-panel-2);
    border: 1px solid var(--fj-line);
    border-radius: 11px;
    color: var(--fj-text);
    font-size: 14px;
    font-family: var(--fj-font-body);
    transition: border-color var(--fj-t), box-shadow var(--fj-t);
    width: 100%;
}
.fj-input::placeholder { color: var(--fj-muted); }
.fj-input:focus { outline: none; border-color: rgba(31, 156, 224, .55); box-shadow: 0 0 0 3px var(--fj-accent-soft); }
.fj-card-actions { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }

/* botões auxiliares */
.fj-btn-line { background: transparent; color: var(--fj-text); border: 1px solid var(--fj-line); }
.fj-btn-line:hover { border-color: rgba(31, 156, 224, .5); background: var(--fj-accent-soft); }
.fj-btn-danger { background: rgba(224, 80, 80, .12); color: #ff9a9a; border: 1px solid rgba(224, 80, 80, .3); }
.fj-btn-danger:hover { background: rgba(224, 80, 80, .2); }
.fj-btn-block { width: 100%; justify-content: center; }

/* lista de acessos */
.fj-access { display: flex; flex-direction: column; }
.fj-access-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--fj-line-soft); }
.fj-access-row:first-child { border-top: none; }
.fj-access-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .04); }
.fj-access-info { flex: 1; min-width: 0; }
.fj-access-title { color: var(--fj-text); font-size: 14px; font-weight: 600; }
.fj-access-meta { color: var(--fj-muted); font-size: 12.5px; }
.fj-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px; border-radius: 100px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
}
.fj-badge svg { width: 13px; height: 13px; }
.fj-badge-active { color: #7ff0c2; background: rgba(69, 224, 161, .12); border: 1px solid rgba(69, 224, 161, .28); }
.fj-badge-locked { color: var(--fj-soft); background: var(--fj-panel-2); border: 1px solid var(--fj-line); transition: var(--fj-t); }
.fj-badge-locked:hover { color: #eaf6ff; border-color: rgba(31, 156, 224, .5); }

/* ============================================================
   Login (pré-autenticação)
   ============================================================ */
.fj-auth-body {
    min-height: 100vh;
    background:
        radial-gradient(90% 70% at 80% 10%, rgba(31, 156, 224, .1), transparent 60%),
        var(--fj-bg);
}
.fj-auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }

.fj-auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(32px, 5vw, 64px);
    background:
        radial-gradient(120% 80% at 15% 100%, rgba(31, 156, 224, .28), transparent 55%),
        linear-gradient(155deg, #0e2f47 0%, #0b1622 45%, #0a0a0b 100%);
    border-right: 1px solid var(--fj-line);
    overflow: hidden;
}
.fj-auth-brand::before {
    content: '';
    position: absolute; inset: 0;
    opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .4) .5px, transparent .5px);
    background-size: 24px 24px;
    mix-blend-mode: overlay;
}
.fj-auth-brand > * { position: relative; z-index: 1; }
.fj-auth-brand .fj-brand { padding: 0; font-size: 22px; }
.fj-auth-brand .fj-brand img { width: 34px; height: 34px; }
.fj-auth-h1 { font-size: clamp(30px, 3.6vw, 46px); color: #fff; }
.fj-auth-lead { color: rgba(255, 255, 255, .78); font-size: 16px; margin: 16px 0 26px; max-width: 400px; }
.fj-auth-list { display: flex; flex-direction: column; gap: 12px; }
.fj-auth-list li { display: flex; align-items: center; gap: 11px; color: rgba(255, 255, 255, .9); font-size: 15px; }
.fj-auth-check {
    flex: none; width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 12px; color: #fff;
    background: linear-gradient(140deg, var(--fj-accent), var(--fj-accent-deep));
}
.fj-auth-brandfoot { font-family: var(--fj-font-display); font-weight: 600; color: rgba(255, 255, 255, .5); letter-spacing: -.01em; }
.fj-auth-brandfoot span { color: var(--fj-accent); }

.fj-auth-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 40px);
}
.fj-auth-card { width: 100%; max-width: 400px; }
.fj-auth-logo-m { display: none; padding: 0; margin-bottom: 22px; justify-content: center; font-size: 22px; }
.fj-auth-logo-m img { width: 30px; height: 30px; }
.fj-auth-title { font-size: 26px; color: var(--fj-text); }
.fj-auth-subtitle { color: var(--fj-muted); font-size: 14px; margin: 6px 0 26px; }

.fj-input-pass { position: relative; }
.fj-input-pass .fj-input { padding-right: 46px; }
.fj-pass-toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; display: grid; place-items: center;
    color: var(--fj-muted); border-radius: 8px; transition: var(--fj-t);
}
.fj-pass-toggle svg { width: 19px; height: 19px; }
.fj-pass-toggle:hover { color: var(--fj-soft); }
.fj-pass-toggle.is-on { color: var(--fj-accent); }

.fj-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; }
.fj-checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fj-soft); cursor: pointer; }
.fj-checkbox input { width: 16px; height: 16px; accent-color: var(--fj-accent); }
.fj-auth-link { font-size: 13.5px; color: var(--fj-accent); font-weight: 600; }
.fj-auth-link:hover { text-decoration: underline; }

.fj-auth-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; color: var(--fj-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.fj-auth-divider::before, .fj-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--fj-line); }
.fj-auth-hint { font-size: 13.5px; color: var(--fj-muted); line-height: 1.55; }
.fj-auth-hint b { color: var(--fj-soft); }
.fj-auth-back { font-size: 13.5px; color: var(--fj-muted); }
.fj-auth-back:hover { color: var(--fj-soft); }

/* responsivo telas internas */
@media (max-width: 880px) {
    .fj-auth { grid-template-columns: 1fr; }
    .fj-auth-brand { display: none; }
    .fj-auth-logo-m { display: inline-flex; }
    .fj-auth-main { min-height: 100vh; }
}
@media (max-width: 720px) {
    .fj-acct { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .fj-field-row { grid-template-columns: 1fr; }
    .fj-card-actions .fj-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Curso + player de aula (mobile-first)
   ============================================================ */

/* breadcrumb */
.fj-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--fj-muted); margin: 2px 0 18px; }
.fj-crumb a { color: var(--fj-soft); }
.fj-crumb a:hover { color: var(--fj-accent); }
.fj-crumb-here { color: var(--fj-muted); }

/* capa do curso */
.fj-course-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 260px;
    border: 1px solid var(--fj-line);
}
.fj-course-hero-bg { position: absolute; inset: 0; }
.fj-course-hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 11, .96) 6%, rgba(10, 10, 11, .55) 45%, rgba(10, 10, 11, .5) 100%),
        linear-gradient(105deg, rgba(10, 10, 11, .82) 10%, transparent 70%);
}
.fj-course-hero-body { position: relative; z-index: 1; padding: clamp(20px, 4vw, 40px); max-width: 640px; }
.fj-course-title { font-size: clamp(26px, 4vw, 44px); color: #fff; margin: 12px 0 10px; }
.fj-course-desc { color: rgba(255, 255, 255, .82); font-size: clamp(14px, 1.5vw, 16px); }
.fj-course-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: rgba(255, 255, 255, .82); font-size: 13.5px; font-weight: 600; }
.fj-meta-dot { color: rgba(255, 255, 255, .4); }
.fj-course-progress { margin-top: 14px; max-width: 340px; }
.fj-course-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.fj-course-teacher { color: rgba(255, 255, 255, .7); font-size: 13.5px; }

/* currículo (details nativo) */
.fj-syllabus { margin-top: 34px; }
.fj-syllabus-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.fj-syllabus-sum { color: var(--fj-muted); font-size: 13px; }

.fj-module { border: 1px solid var(--fj-line); border-radius: 14px; background: var(--fj-panel); margin-bottom: 12px; overflow: hidden; }
.fj-module-sum {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.fj-module-sum::-webkit-details-marker { display: none; }
.fj-module-sum:hover { background: rgba(255, 255, 255, .02); }
.fj-module-idx { font-family: var(--fj-font-display); font-weight: 700; font-size: 13px; color: var(--fj-accent); letter-spacing: .02em; }
.fj-module-name { flex: 1; min-width: 0; color: var(--fj-text); font-weight: 600; font-size: 15px; font-family: var(--fj-font-display); }
.fj-module-count { color: var(--fj-muted); font-size: 12.5px; white-space: nowrap; }
.fj-module-chev { color: var(--fj-muted); display: grid; place-items: center; transition: transform var(--fj-t); }
.fj-module-chev svg { width: 18px; height: 18px; }
.fj-module[open] > .fj-module-sum .fj-module-chev { transform: rotate(90deg); }

.fj-lessons { border-top: 1px solid var(--fj-line-soft); padding: 6px; }
.fj-lesson-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--fj-soft);
    transition: background var(--fj-t), color var(--fj-t);
}
.fj-lesson-ico { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--fj-muted); background: var(--fj-panel-2); border: 1px solid var(--fj-line); }
.fj-lesson-ico svg { width: 14px; height: 14px; }
.fj-lesson-name { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fj-lesson-dur { flex: none; color: var(--fj-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
a.fj-lesson-row:hover { background: rgba(255, 255, 255, .04); color: var(--fj-text); }
a.fj-lesson-row:hover .fj-lesson-ico { color: var(--fj-text); border-color: rgba(255, 255, 255, .2); }
.fj-lesson-row.is-done { color: var(--fj-soft); }
.fj-lesson-row.is-done .fj-lesson-ico { color: var(--fj-good); border-color: rgba(69, 224, 161, .35); background: rgba(69, 224, 161, .1); }
.fj-lesson-row.is-locked { color: var(--fj-muted); cursor: default; }
.fj-lesson-row.is-current { background: var(--fj-accent-soft); color: #eaf6ff; box-shadow: inset 3px 0 0 var(--fj-accent); }
.fj-lesson-row.is-current .fj-lesson-ico { color: #fff; background: var(--fj-accent); border-color: transparent; }

/* desbloquear / mentoria */
.fj-unlock, .fj-mentoria-cta { margin-top: 16px; }
.fj-unlock {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 20px; border-radius: 14px;
    background: var(--fj-panel); border: 1px solid rgba(31, 156, 224, .28);
}
.fj-unlock-title { color: var(--fj-text); font-weight: 600; font-family: var(--fj-font-display); font-size: 16px; }
.fj-unlock-text { color: var(--fj-muted); font-size: 13.5px; margin-top: 2px; }
.fj-mentoria-cta { margin-top: 24px; }
.fj-mentoria-cta h2 { font-size: 20px; margin-bottom: 8px; }
.fj-mentoria-cta .fj-btn { margin-top: 6px; }

/* ---- player de aula ---- */
.fj-lesson { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.fj-lesson-main { min-width: 0; }

.fj-player {
    position: relative;
    aspect-ratio: 16 / 9;      /* reserva o espaço: zero CLS */
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--fj-line);
}
.fj-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fj-access-mark {
    display: flex; align-items: center; gap: 8px;
    margin-top: 9px; padding: 8px 11px;
    color: var(--fj-muted); font-size: 11.5px; line-height: 1.35;
    border: 1px solid var(--fj-line-soft); border-radius: 9px;
    background: rgba(255, 255, 255, .018);
}
.fj-access-mark strong { color: var(--fj-soft); font-weight: 600; }
.fj-access-mark-icon { display: grid; place-items: center; width: 15px; height: 15px; color: var(--fj-accent); flex: none; }
.fj-access-mark-icon svg { width: 15px; height: 15px; }
.fj-player-poster { position: absolute; inset: 0; }
.fj-player-poster::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 20%, rgba(255, 255, 255, .14), transparent 55%), rgba(0, 0, 0, .25); }
.fj-player-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    padding: 5px 11px; border-radius: 100px;
    font-size: 12px; font-weight: 600; color: #eaf6ff;
    background: rgba(10, 10, 11, .6); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px);
}
.fj-player-play {
    position: absolute; inset: 0; margin: auto; z-index: 2;
    width: 74px; height: 74px; border-radius: 50%;
    display: grid; place-items: center; color: #07141d;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    transition: transform var(--fj-t), background var(--fj-t);
}
.fj-player-play svg { width: 30px; height: 30px; margin-left: 3px; }
.fj-player-play:hover { transform: scale(1.06); background: #fff; }

.fj-lesson-info { margin-top: 20px; }
.fj-lesson-kicker { color: var(--fj-accent); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fj-lesson-h1 { font-size: clamp(22px, 3vw, 30px); color: var(--fj-text); margin: 5px 0 14px; }
.fj-lesson-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--fj-line-soft); }
.fj-lesson-time { color: var(--fj-muted); font-size: 13.5px; }
.fj-complete {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px; border-radius: 100px;
    font-size: 13.5px; font-weight: 600; color: var(--fj-soft);
    background: var(--fj-panel-2); border: 1px solid var(--fj-line);
    transition: var(--fj-t);
}
.fj-complete-ico { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--fj-muted); }
.fj-complete-ico svg { width: 11px; height: 11px; opacity: 0; transition: opacity var(--fj-t); }
.fj-complete:hover { border-color: rgba(255, 255, 255, .2); color: var(--fj-text); }
.fj-complete.is-on { color: var(--fj-good); background: rgba(69, 224, 161, .1); border-color: rgba(69, 224, 161, .3); }
.fj-complete.is-on .fj-complete-ico { color: var(--fj-good); border-color: var(--fj-good); background: rgba(69, 224, 161, .16); }
.fj-complete.is-on .fj-complete-ico svg { opacity: 1; }

.fj-lesson-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.fj-lesson-navbtn {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 12px;
    background: var(--fj-panel); border: 1px solid var(--fj-line);
    color: var(--fj-soft); min-width: 0; transition: var(--fj-t);
}
.fj-lesson-navbtn svg { width: 18px; height: 18px; flex: none; color: var(--fj-muted); }
.fj-lesson-navbtn--next { justify-content: flex-end; text-align: right; }
.fj-lesson-navbtn:hover { border-color: rgba(31, 156, 224, .5); color: var(--fj-text); }
.fj-lesson-navbtn:hover svg { color: var(--fj-accent); }
.fj-lesson-navbtn span span { display: block; min-width: 0; }
.fj-navbtn-label { font-size: 11.5px; color: var(--fj-muted); text-transform: uppercase; letter-spacing: .05em; }
.fj-navbtn-title { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }

.fj-lesson-about, .fj-materials { margin-top: 26px; }
.fj-lesson-about h2, .fj-materials h2 { font-size: 17px; color: var(--fj-text); margin-bottom: 10px; }
.fj-lesson-about p { color: var(--fj-soft); font-size: 14.5px; }
.fj-lesson-about strong { color: var(--fj-text); font-weight: 600; }
.fj-materials ul { display: flex; flex-direction: column; gap: 8px; }
.fj-material {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 12px;
    background: var(--fj-panel); border: 1px solid var(--fj-line);
    color: var(--fj-soft); transition: var(--fj-t);
}
.fj-material svg { width: 18px; height: 18px; color: var(--fj-accent); flex: none; }
.fj-material span { flex: 1; font-size: 14px; font-weight: 500; }
.fj-material em { font-style: normal; font-size: 11.5px; color: var(--fj-muted); text-transform: uppercase; background: var(--fj-panel-2); padding: 3px 8px; border-radius: 6px; }
.fj-material:hover { border-color: rgba(31, 156, 224, .5); color: var(--fj-text); }

/* coluna lateral do currículo */
.fj-lesson-aside { border: 1px solid var(--fj-line); border-radius: 16px; background: var(--fj-panel); overflow: hidden; }
.fj-aside-head { padding: 16px; border-bottom: 1px solid var(--fj-line-soft); }
.fj-aside-course { font-family: var(--fj-font-display); font-weight: 600; color: var(--fj-text); font-size: 15px; }
.fj-aside-prog { color: var(--fj-muted); font-size: 12.5px; margin: 3px 0 9px; }
.fj-aside-scroll { padding: 8px; }
.fj-module--mini { border: none; background: none; margin-bottom: 2px; border-radius: 10px; }
.fj-module--mini .fj-module-sum { padding: 10px 10px; }
.fj-module--mini .fj-lessons { border-top: none; padding: 2px 0 6px; }
.fj-module--mini .fj-lesson-name { white-space: normal; }
.fj-module--mini .fj-lesson-row { min-height: 42px; align-items: flex-start; }
.fj-module--mini .fj-lesson-ico { width: 22px; height: 22px; margin-top: 1px; }

/* duas colunas no desktop, aside grudento */
@media (min-width: 1025px) {
    .fj-lesson { grid-template-columns: minmax(0, 1fr) 340px; }
    .fj-lesson-aside { position: sticky; top: 80px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; }
    .fj-aside-scroll { overflow-y: auto; }
}

@media (max-width: 620px) {
    .fj-lesson-nav { grid-template-columns: 1fr; }
    .fj-navbtn-title { max-width: 70vw; }
    .fj-course-cta .fj-btn { width: 100%; justify-content: center; }
}
