/* Página inicial de cursos: layout aprovado (cursos-escolha-mockup) */
:root{--red:#e8000e;--red-2:#c4000c;--bg:#0b0b0b;--raised:#161616;--card:#1e1e1e;--white:#fff;--ink:#f0f0f0;--ink-2:rgba(240,240,240,.72);--ink-3:rgba(240,240,240,.5);--line:rgba(255,255,255,.08);--line-2:rgba(255,255,255,.16);--ok:#4ade80}
.bm-home{background:var(--bg);color:var(--ink);font-family:'Inter',system-ui,sans-serif;font-size:15px;line-height:1.5;overflow-x:hidden}
.bm-home h1,.bm-home h2,.bm-home h3{font-family:'Sora','Inter',sans-serif;color:var(--white);font-weight:600;letter-spacing:-.01em}
.bm-home a{color:inherit;text-decoration:none}
.bm-home .gnav{position:fixed;top:0;left:0;right:0;z-index:50;height:64px;background:rgba(11,11,11,.7);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
.bm-home .gnav__in{max-width:1400px;margin:0 auto;height:100%;padding:0 32px;display:flex;align-items:center;gap:12px}
.bm-home .gnav__logo img{width:40px;height:40px;border-radius:8px;object-fit:contain;display:block}
.bm-home .gnav__links{display:flex;gap:3px;align-items:center;flex:1;justify-content:center;list-style:none;margin:0;padding:0}
.bm-home .gnav__links a{font-size:12.5px;font-weight:500;color:var(--ink-3);padding:6px 14px;border-radius:6px;position:relative}
.bm-home .gnav__links a:hover,.bm-home .gnav__links a.on{color:var(--white)}
.bm-home .gnav__links a.on::after{content:'';position:absolute;bottom:-1px;left:50%;transform:translateX(-50%);width:18px;height:2px;background:var(--red);border-radius:1px}
.bm-home .gnav__sep{font-size:14px;font-weight:300;color:rgba(255,255,255,.28);padding:0 4px}
.bm-home .gnav__avatar{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--line-2);background:var(--raised);display:flex;align-items:center;justify-content:center;color:var(--ink-3)}
.bm-home .escolha{position:relative;overflow:hidden;min-height:70vh;max-height:720px;display:flex;align-items:center}
.bm-home .escolha__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.32;z-index:0}
.bm-home .escolha::before{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,rgba(0,0,0,.45) 100%);pointer-events:none;z-index:0}
.bm-home .escolha::after{content:'';position:absolute;bottom:0;left:0;right:0;height:340px;pointer-events:none;z-index:0;background:linear-gradient(to top,rgba(11,11,11,1) 0%,rgba(11,11,11,.9) 21%,rgba(11,11,11,.58) 45%,rgba(11,11,11,.25) 69%,rgba(11,11,11,0) 100%)}
.bm-home .escolha__in{position:relative;z-index:1;width:100%;max-width:1400px;margin:0 auto;padding:130px 56px 60px}
.bm-home .escolha__selo{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--red)}
.bm-home .escolha h1{font-size:40px;line-height:1.12;margin:12px 0 10px}
.bm-home .escolha p{color:var(--ink-2);font-size:16px;max-width:620px}
.bm-home .niveis{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.bm-home .niveis button{height:40px;padding:0 20px;border-radius:999px;border:1px solid var(--line-2);background:transparent;color:var(--ink-2);font-size:14px;font-weight:500;cursor:pointer}
.bm-home .niveis button:hover{color:var(--white);border-color:var(--white)}
.bm-home .niveis button.on{background:var(--white);color:#111;border-color:var(--white);font-weight:600}
.bm-home .secao{max-width:1400px;margin:0 auto;padding:48px 56px 0}
.bm-home .secao__topo{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:18px;gap:16px}
.bm-home .secao__topo h2{font-size:22px;margin:0}
.bm-home .secao__topo a{font-size:13px;color:var(--ink-3)}
.bm-home .secao__topo a:hover{color:var(--white)}
.bm-home .logos{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}
.bm-home .logo-item{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 8px 12px;border-radius:12px;border:1px solid var(--line);background:var(--raised);transition:border-color .2s,transform .2s}
.bm-home .logo-item:hover{border-color:var(--red);transform:translateY(-2px)}
.bm-home .logo-item__marca{width:36px;height:36px;border-radius:10px;background:var(--card);border:1px solid var(--line-2);display:flex;align-items:center;justify-content:center}
.bm-home .logo-item__marca img{width:22px;height:22px;display:block}
.bm-home .logo-item__marca b{font-family:'Sora',sans-serif;font-size:12px;font-weight:700;color:var(--white)}
.bm-home .logo-item__marca svg{width:16px;height:16px;color:var(--white)}
.bm-home .logo-item span.nome{font-size:11px;color:var(--ink-2);text-align:center;line-height:1.3;min-height:28px;display:flex;align-items:center}
.bm-home .trilho{display:flex;gap:16px;overflow-x:auto;padding:8px 0 22px;scroll-snap-type:x mandatory;scrollbar-width:none}
.bm-home .trilho::-webkit-scrollbar{display:none}
.bm-home .card{flex:0 0 190px;scroll-snap-align:start;position:relative;border-radius:12px;transition:transform .25s ease;cursor:pointer;display:block}
.bm-home .card:hover{transform:scale(1.05);z-index:5}
.bm-home .card.oculta{display:none}
.bm-home .card__capa{aspect-ratio:2/3;border-radius:12px;overflow:hidden;background:var(--card) center/cover no-repeat;position:relative;border:1px solid var(--line)}
.bm-home .card__capa::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85),transparent 50%)}
.bm-home .card__titulo{position:absolute;left:12px;right:12px;bottom:12px;z-index:1;font-size:13px;font-weight:600;color:var(--white);line-height:1.3}
.bm-home .card__nivel{position:absolute;left:10px;top:10px;z-index:1;font-size:11px;font-weight:600;color:#fff;background:rgba(0,0,0,.55);padding:3px 8px;border-radius:999px}
.bm-home .card__gratis{position:absolute;top:10px;right:10px;z-index:1;font-size:11px;font-weight:700;background:var(--ok);color:#052e16;padding:3px 8px;border-radius:999px}
.bm-home .card__info{font-size:12px;color:var(--ink-3);margin-top:8px}
.bm-home .trilhas__grade{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bm-home .trilha{border-radius:14px;border:1px solid var(--line);background:var(--raised);padding:22px;display:flex;flex-direction:column;gap:10px;transition:border-color .2s}
.bm-home .trilha:hover{border-color:var(--red)}
.bm-home .trilha__tag{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ok)}
.bm-home .trilha h3{font-size:17px;line-height:1.3;margin:0}
.bm-home .trilha p{font-size:13px;color:var(--ink-3);margin:0}
.bm-home .trilha__meta{margin-top:auto;padding-top:10px;font-size:12px;color:var(--ink-3)}
.bm-home .rodape{border-top:1px solid var(--line);padding:32px 56px;font-size:13px;color:var(--ink-3);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:56px}
@media (max-width:1200px){.bm-home .logos{grid-template-columns:repeat(4,1fr)}}
@media (max-width:980px){.bm-home .trilhas__grade{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.bm-home .gnav__links{display:none}.bm-home .escolha,.bm-home .secao{padding-left:24px;padding-right:24px}.bm-home .escolha{padding-top:110px}.bm-home .escolha h1{font-size:30px}.bm-home .logos{grid-template-columns:repeat(2,1fr);gap:10px}.bm-home .trilhas__grade{grid-template-columns:1fr}.bm-home .card{flex-basis:150px}.bm-home .card:hover{transform:none}.bm-home .rodape{padding:28px 24px}}
/* Respiro para o zoom do card não ser cortado */
.bm-home .trilho{padding:16px 24px 26px;margin:-16px -24px -26px}
@media (max-width:760px){.bm-home .trilho{padding:16px 24px 26px;margin:-16px -24px -26px}}
/* Somente ícones dos programas */
.bm-home .logo-item{background:none;border:0;padding:0;gap:0}
.bm-home .logo-item:hover{transform:translateY(-3px);border:0}
.bm-home .logo-item .nome{display:none}
/* Somente ícones, sem texto nem caixas */
.bm-home .logo-item span.nome,.bm-home .logo-item .nome{display:none!important}
.bm-home .logo-item,.bm-home .logo-item__marca{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
/* Ícones maiores */
.bm-home .logo-item__marca{width:96px!important;height:96px!important}
.bm-home .logo-item__marca img{width:96px!important;height:96px!important;border-radius:20px}
.bm-home .logo-item__marca svg{width:44px!important;height:44px!important}
.bm-home .logos{grid-template-columns:repeat(7,1fr);align-items:center}
@media (max-width:1200px){.bm-home .logos{grid-template-columns:repeat(4,1fr)}}
@media (max-width:760px){.bm-home .logo-item__marca{width:72px!important;height:72px!important}.bm-home .logo-item__marca img{width:72px!important;height:72px!important}}
/* Carrossel com setas */
.bm-home .bm-carrossel{position:relative}
.bm-home .bm-seta{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.2);color:#fff;font-size:26px;line-height:1;cursor:pointer;z-index:6;display:flex;align-items:center;justify-content:center}
.bm-home .bm-seta:hover{border-color:#e8000e}
.bm-home .bm-seta--esq{left:-16px}
.bm-home .bm-seta--dir{right:-16px}
.bm-home .bm-sec .trilho{padding-left:0}
@media (max-width:760px){.bm-home .bm-seta{display:none}}
/* Duas linhas de menu no topo */
.bm-home .bm-menu-cats{display:flex;flex-wrap:wrap;gap:8px 28px;justify-content:center;padding:18px 32px 14px;background:#0b0b0b;border-bottom:1px solid rgba(255,255,255,.08)}
.bm-home .bm-menu-cats a{font-size:15px;font-weight:600;color:rgba(240,240,240,.72)}
.bm-home .bm-menu-cats a:hover{color:#fff}
.bm-home .bm-menu-prog{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:14px 32px 18px;background:#0b0b0b}
.bm-home .bm-menu-prog a span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:30px;padding:0 8px;border:1px solid #fff;border-radius:6px;color:#fff;font-family:'Sora',sans-serif;font-size:11px;font-weight:600;letter-spacing:.02em}
.bm-home .bm-menu-prog a:hover span{background:#fff;color:#000}
/* Menus: fundo transparente e à esquerda */
.bm-home .bm-menu-cats,.bm-home .bm-menu-prog{background:transparent!important;justify-content:flex-start!important;padding-left:56px!important;padding-right:56px!important;border-bottom:0!important}
.bm-home .bm-menu-cats{padding-top:18px}
.bm-home .bm-menu-prog a img{height:28px;width:auto;display:block;filter:brightness(0) invert(1)}
.bm-home .bm-menu-prog a{display:inline-flex;align-items:center}
@media (max-width:760px){.bm-home .bm-menu-cats,.bm-home .bm-menu-prog{padding-left:20px!important;padding-right:20px!important}}
/* Ícones de programas: todos do mesmo tamanho */
.bm-home .bm-menu-prog a{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;box-sizing:border-box}
.bm-home .bm-menu-prog a img{width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;object-fit:contain;filter:brightness(0) invert(1)}
.bm-home .bm-menu-prog a span{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;box-sizing:border-box;border:1px solid #fff;border-radius:8px;font-size:12px}
/* Menus dentro do topo, sobre o filtro */
.bm-home .escolha .bm-menu-cats,.bm-home .escolha .bm-menu-prog{background:transparent!important;padding-left:0!important;padding-right:0!important;border:0!important;justify-content:flex-start!important}
.bm-home .escolha .bm-menu-cats{margin-top:26px;padding-top:0!important;gap:8px 26px}
.bm-home .escolha .bm-menu-prog{padding-top:12px!important;padding-bottom:0!important}
/* Ajuste de tamanho por ícone */
.bm-home .bm-menu-prog a img.bm-ico-higgsfield{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;transform:none}
/* Sem filtro no topo; capas maiores */
.bm-home .card{flex:0 0 280px!important}
.bm-home .card__capa{aspect-ratio:2/3!important}
.bm-home .trilho{gap:20px}
@media (max-width:760px){.bm-home .card{flex-basis:200px!important}}
.bm-home .escolha::before{display:none}
.bm-home .escolha .niveis{display:none}
.bm-home section.bm-sec + section.bm-sec, .bm-home section.bm-sec + section.bm-sec ~ section.bm-sec{display:none}

.bm-home .card__capa{aspect-ratio:3/4 !important}
