/* Sala de aula: destaque, filtros leves, fileiras por trilha e capa padrao da marca. Tudo sob .nv. */
.nv .nv-i { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nv-topo { margin-bottom: 22px; }

/* Destaque */
.nv-hero { display: grid; grid-template-columns: 1fr 1.15fr; margin-bottom: 18px; border-radius: 24px; overflow: hidden; border: 1px solid var(--acc-line); background: radial-gradient(90% 120% at 0% 100%, color-mix(in srgb, var(--acc-orange) 20%, transparent), transparent 62%), var(--acc-panel); box-shadow: var(--acc-shadow); }
.nv-hero.forte { border-color: color-mix(in srgb, var(--acc-orange) 55%, var(--acc-line)); }
.nv-hero-texto { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 34px; min-width: 0; }
.nv-sobre { display: inline-flex; gap: 7px; align-items: center; font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--acc-teal); }
.nv-hero h2 { margin: 0; font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; overflow-wrap: anywhere; }
.nv-hero p, .nv-hero small { margin: 0; color: var(--acc-muted); }
.nv-passos { display: flex; gap: 4px; width: 100%; max-width: 340px; margin-top: 8px; }
.nv-passos i { flex: 1; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--acc-text) 12%, transparent); }
.nv-passos i.on { background: var(--acc-orange); }
.nv-passos.continua { border-radius: 6px; background: color-mix(in srgb, var(--acc-text) 12%, transparent); }
.nv-hero .btn { margin-top: 10px; }
.nv-hero-capa { position: relative; display: block; min-height: 290px; }
.nv-hero-capa > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Busca, andamento, salvas e trilhas */
.nv-ferramentas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0 12px; }
.nv-busca { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px; height: 46px; margin: 0; padding: 0 16px; border-radius: 999px; border: 1px solid var(--acc-line); background: var(--acc-panel); color: var(--acc-muted); }
.nv-busca:focus-within { border-color: var(--acc-orange); box-shadow: var(--acc-focus); }
.nv-busca input[type=text] { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 16px; }
.nv-segmentos { display: flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--acc-panel); border: 1px solid var(--acc-line); }
.nv-segmentos a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 15px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--acc-muted); white-space: nowrap; }
.nv-segmentos a:hover { text-decoration: none; color: var(--acc-text); }
.nv-segmentos a[aria-current] { background: color-mix(in srgb, var(--acc-text) 11%, transparent); color: var(--acc-text); font-weight: 600; }
.nv-salvas { display: inline-flex; gap: 7px; align-items: center; justify-content: center; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--acc-line); background: var(--acc-panel); font-weight: 600; font-size: .88rem; }
.nv-salvas:hover { text-decoration: none; border-color: var(--acc-orange); }
.nv-salvas b { display: none; }
.nv-trilhas { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--acc-line); }
.nv-trilhas::-webkit-scrollbar { display: none; }
.nv-trilhas a { display: inline-flex; gap: 7px; align-items: center; flex: none; min-height: 44px; font-size: .9rem; font-weight: 500; color: var(--acc-muted); white-space: nowrap; }
.nv-trilhas a:hover { text-decoration: none; color: var(--acc-text); }
.nv-trilhas a[aria-current] { color: var(--acc-text); font-weight: 700; box-shadow: inset 0 -2px 0 var(--acc-orange); }

/* Fileiras e cursos */
.nv-fileira { margin-top: 30px; }
.nv-cab { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.nv-cab h2 { margin: 0; font-size: 1.18rem; font-weight: 700; }
.nv-cab span { font-size: .82rem; color: var(--acc-muted); }
.nv-trilho, .nv-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
.nv-grade { margin-top: 24px; }
.nv-grade > .cartao { grid-column: 1 / -1; }
@media (max-width: 960px) { .nv-trilho, .nv-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nv-curso { position: relative; min-width: 0; scroll-snap-align: start; }
.nv-link { display: flex; flex-direction: column; gap: 7px; color: inherit; }
.nv-link:hover { text-decoration: none; }
.nv-capa { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--acc-line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.nv-capa > .nv-arte, .nv-capa > .cv { display: block; width: 100%; height: 100%; object-fit: cover; }
.nv-capa > .cv { display: flex; }
.nv-link:hover .nv-capa { transform: translateY(-4px); box-shadow: var(--acc-shadow-up); }
.nv-selos { position: absolute; top: 10px; right: 10px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.nv-selos .curso-novo { position: static; width: auto; transform: none; padding: 3px 10px; border-radius: 999px; background: var(--acc-teal); color: #04201c; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nv-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0, 0, 0, .55); }
.nv-barra i { display: block; height: 100%; background: #ff7a1a; }
.nv-nome { margin-top: 3px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.nv-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; color: var(--acc-muted); }
.nv-estado { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.nv .nv-estado .nv-i { width: 14px; height: 14px; }
.nv-estado.feito { color: var(--acc-teal); font-weight: 600; }
.nv-curso .curso-menu { position: static; }
.nv-curso .curso-menu > summary { position: absolute; left: 10px; bottom: auto; top: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(10, 10, 12, .72); color: #fff; z-index: 5; }
.nv-curso .curso-menu .menu-lista { left: 10px; right: auto; top: 52px; min-width: 240px; z-index: 20; }
.nv-curso .curso-menu[open] { z-index: 20; }
.nv-curso:has(.curso-menu) .cv-logo { display: none; }  /* o botao ⋯ do admin usa o canto da logo */
.nv-curso[draggable="true"] { cursor: grab; }
.nv-curso.arrastando { opacity: .45; transform: scale(.98); cursor: grabbing; }

/* Capa padrao da marca: sempre escura, como as artes do Camp, nos dois temas */
.cv { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px; color: #f5f5f7; overflow: hidden; container-type: inline-size; background: radial-gradient(85% 90% at 85% 115%, rgba(255, 122, 26, .62), transparent 62%), radial-gradient(60% 70% at 0% 0%, rgba(39, 211, 192, .13), transparent 70%), linear-gradient(150deg, #1a1a1d, #0b0b0d 70%); }
.cv::after { content: ""; position: absolute; right: -12%; top: -30%; width: 34%; height: 170%; transform: rotate(28deg); background: linear-gradient(90deg, transparent, rgba(255, 122, 26, .16), transparent); border-right: 1px solid rgba(255, 150, 60, .4); }
.cv-logo { position: absolute; top: 13px; left: 15px; width: 30px; height: auto; }
.cv .cv-icone { position: absolute; right: 7%; top: 16%; width: 27%; height: auto; aspect-ratio: 1; stroke: rgba(255, 255, 255, .17); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.cv-trilha { position: relative; z-index: 1; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #27d3c0; }
.cv-titulo { position: relative; z-index: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; max-width: 86%; font-family: "Archivo Black", Inter, sans-serif; text-transform: uppercase; line-height: 1.08; font-size: 1.1rem; font-size: clamp(.95rem, 7.4cqw, 2rem); }

@media (max-width: 720px) {
  body:has(.nv) .pagina { animation: none; }  /* assim o menu do admin pode ficar preso na parte de baixo da tela */
  .nv-topo { margin-bottom: 16px; }
  .nv-hero { grid-template-columns: 1fr; }
  .nv-hero-capa { order: -1; min-height: 0; aspect-ratio: 16 / 8; }
  .nv-hero-texto { padding: 18px 18px 20px; gap: 8px; }
  .nv-hero h2 { font-size: 1.3rem; }
  .nv-hero .btn { width: 100%; margin-top: 6px; justify-content: center; }
  .nv-ferramentas { margin: 18px 0 6px; gap: 8px; }
  .nv-busca { flex-basis: 100%; }
  .nv-segmentos { flex: 1; min-width: 0; justify-content: space-between; }
  .nv-segmentos a { flex: 1; min-height: 40px; padding: 0 6px; font-size: .78rem; }
  .nv-salvas { position: relative; width: 50px; height: 50px; padding: 0; }
  .nv-salvas-txt { display: none; }
  .nv .nv-salvas .nv-i { width: 20px; height: 20px; }
  .nv-salvas b { display: grid; place-items: center; position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px; background: var(--acc-orange); color: var(--acc-on-orange); font-size: .68rem; }
  .nv-fileira { margin-top: 24px; }
  .nv-trilho { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%; gap: 12px; margin: 0 -16px; padding: 2px 16px 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 16px; overscroll-behavior-x: contain; }
  .nv-trilho::-webkit-scrollbar { display: none; }
  .nv-trilho > .nv-curso:only-child { grid-column: 1; }
  .nv-grade { grid-template-columns: 1fr; gap: 22px; }
  .nv-curso .curso-menu > summary { width: 40px; height: 40px; }
  .nv-curso .curso-menu .menu-lista { position: fixed; left: 10px; right: 10px; top: auto; bottom: calc(78px + env(safe-area-inset-bottom)); max-height: 60vh; overflow-y: auto; z-index: 60; }
}
@media (max-width: 720px) {
  .nv-hero + .nv-hero .nv-hero-capa { display: none; }  /* dois destaques seguidos: o segundo fica compacto */
  .nv-curso .curso-menu .menu-lista { background: var(--acc-panel-2); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--acc-line); }
}

/* ---------- Criar e editar curso ---------- */
.fc .ci{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fc [hidden]{display:none!important}
.fc{max-width:1080px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.fc h1,.fc h2{padding:0;font-family:Inter,sans-serif;text-transform:none;letter-spacing:-.01em}
.fc h1::after,.fc h2::after{content:none}
.fc-cab h1{margin:8px 0 0}
.fc-cab p{margin:6px 0 0;color:var(--acc-muted)}
.fc-voltar{display:inline-flex;align-items:center;gap:6px;min-height:36px;color:var(--acc-muted);font-size:.86rem;font-weight:600}
.fc-falhou{margin:0;padding:12px 16px;border-radius:14px;border:1px solid color-mix(in srgb,var(--acc-red) 55%,var(--acc-line));background:color-mix(in srgb,var(--acc-red) 12%,var(--acc-panel))}
.fc-falhou a{margin-right:6px;color:var(--acc-text);text-decoration:underline}
.fc-grade{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}
.fc-form{display:flex;flex-direction:column;gap:14px;min-width:0;margin:0}
.fc-cartao{padding:20px 22px;border-radius:22px;background:var(--acc-panel);border:1px solid var(--acc-line);scroll-margin-top:90px}
.fc-cartao h2{margin:0 0 14px;font-size:1.08rem}
.fc h2 small,.fc label small.fc-opc,.fc-campo>label small,.fc-extra>label small{margin-left:6px;color:var(--acc-muted);font-size:.76rem;font-weight:600}
.fc-campo{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;border:0;scroll-margin-top:90px}
.fc-campo+.fc-campo{margin-top:16px}
.fc-campo>label,.fc-campo>legend,.fc-extra>label,.fc-pessoas-topo .fc-rotulo{margin:0;padding:0;font-weight:700;font-size:.9rem}
.fc-campo>legend{margin-bottom:8px}
.fc .fc-campo input[type=text],.fc .fc-campo textarea,.fc .fc-extra input[type=number],.fc .fc-extra input[type=text],.fc .fc-extra input[type=search],.fc .fc-extra select{width:100%;margin:0;font-size:16px}
.fc-campo textarea{min-height:90px;line-height:1.6;resize:vertical}
.fc-apoio{display:flex;justify-content:space-between;gap:12px;color:var(--acc-muted);font-size:.78rem;line-height:1.5}
.fc-apoio a{color:var(--acc-teal);text-decoration:underline}
.fc-conta{flex:none;margin-left:auto;color:var(--acc-muted);font-size:.78rem;font-variant-numeric:tabular-nums}
.fc-nota{margin:10px 0 0;color:var(--acc-muted);font-size:.82rem;line-height:1.5}
.fc-etiquetas{display:flex;flex-wrap:wrap;gap:8px}
.fc-etiqueta{position:relative;margin:0;cursor:pointer}
.fc .fc-etiqueta input{position:absolute;opacity:0;width:1px;height:1px}
.fc-etiqueta span{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--acc-line);background:var(--acc-panel-2);font-size:.86rem;font-weight:600}
.fc-etiqueta input:checked+span{border-color:var(--acc-orange);background:color-mix(in srgb,var(--acc-orange) 18%,var(--acc-panel));color:var(--acc-text)}
.fc-etiqueta input:checked+span::before{content:"✓";margin-right:6px;color:var(--acc-orange);font-weight:800}
.fc-etiqueta input:focus-visible+span,.fc-soltar:focus-within{outline:2px solid var(--acc-orange);outline-offset:2px}
.fc-chave{display:flex;align-items:center;gap:14px;margin:0;padding:12px 14px;border-radius:16px;border:1px solid var(--acc-line);cursor:pointer;line-height:1.4}
.fc-campo+.fc-chave{margin-top:16px}
.fc .fc-chave input{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:46px;height:27px;margin:0;padding:0;border:0;border-radius:999px;background:color-mix(in srgb,var(--acc-text) 20%,transparent);cursor:pointer;transition:background .2s}
.fc .fc-chave input::after{content:"";position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:#fff;transition:transform .2s}
.fc .fc-chave input:checked{background:var(--acc-orange)}
.fc .fc-chave input:checked::after{transform:translateX(19px)}
.fc-chave span{display:flex;flex-direction:column}
.fc-chave small,.fc-modo small,.fc-pessoa small,.fc-soltar small{color:var(--acc-muted);font-size:.8rem;font-weight:400}
.fc-soltar{display:flex;align-items:center;gap:14px;position:relative;margin:0;padding:18px;border-radius:16px;border:1px dashed color-mix(in srgb,var(--acc-orange) 50%,var(--acc-line));background:var(--acc-panel-2);cursor:pointer;line-height:1.45}
.fc-soltar>.ci{width:30px;height:30px;color:var(--acc-orange)}
.fc-soltar>span{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
.fc .fc-soltar input[type=file]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.fc-marca{display:flex;align-items:center;gap:10px;min-height:40px;margin:8px 0 0;font-size:.86rem}
.fc .fc-marca input,.fc .fc-pessoa input{width:18px;height:18px;flex:none;margin:0;accent-color:var(--acc-orange)}
.fc-modos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fc-modo{display:flex;align-items:flex-start;gap:12px;margin:0;padding:12px 14px;border-radius:16px;border:1px solid var(--acc-line);cursor:pointer;line-height:1.4}
.fc-modo:first-child{grid-column:1/-1}
.fc-modo:has(input:checked){border-color:var(--acc-orange);background:color-mix(in srgb,var(--acc-orange) 11%,transparent)}
.fc .fc-modo input{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:var(--acc-orange)}
.fc-modo span{display:flex;flex-direction:column;gap:2px}
.fc-modo strong{font-size:.92rem}
.fc-extra{display:flex;flex-direction:column;gap:6px;margin-top:14px;scroll-margin-top:90px}
.fc-aviso{margin:0 0 6px;padding:10px 14px;border-radius:12px;border:1px solid color-mix(in srgb,var(--acc-orange) 50%,var(--acc-line));background:color-mix(in srgb,var(--acc-orange) 10%,transparent);font-size:.84rem;line-height:1.5}
.fc-preco{display:flex;align-items:center;gap:10px;max-width:220px;font-weight:700}
.fc-pessoas-topo{display:flex;justify-content:space-between;gap:10px}
.fc .fc-extra input[type=search]{min-height:42px;padding:0 16px;border-radius:999px;border:1px solid var(--acc-line);background:var(--acc-panel-2);color:var(--acc-text);font:inherit;font-size:16px}
.fc-pessoas{display:flex;flex-direction:column;gap:4px;max-height:280px;overflow-y:auto;padding:6px;border-radius:14px;border:1px solid var(--acc-line)}
.fc-pessoa{display:flex;flex:none;align-items:center;gap:12px;margin:0;padding:7px 10px;border-radius:12px;cursor:pointer;line-height:1.35}
.fc-pessoa:hover{background:color-mix(in srgb,var(--acc-text) 6%,transparent)}
.fc-pessoa:has(input:checked){background:color-mix(in srgb,var(--acc-orange) 13%,transparent)}
.fc-pessoa .avatar,.fc-pessoa .avatar .foto{width:34px;height:34px;font-size:.7rem}
.fc-pessoa>span:last-child{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
.fc-pessoa strong{font-size:.88rem}
.fc-pessoas .fc-nota{margin:0;padding:12px;text-align:center}
.fc-acoes{position:sticky;bottom:12px;z-index:5;display:flex;justify-content:flex-end;gap:10px;padding:12px;border-radius:18px;border:1px solid var(--acc-line);background:var(--acc-panel);box-shadow:0 12px 30px rgba(0,0,0,.28)}
.fc-acoes .btn{min-width:130px;justify-content:center}
.fc-previa{position:sticky;top:96px;min-width:0}
.fc .fc-rotulo{display:block;margin:0 0 8px;color:var(--acc-muted);font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.fc .fc-pessoas-topo .fc-rotulo{margin:0;color:var(--acc-text);font-size:.9rem;letter-spacing:0;text-transform:none}
.fc-cartaz{display:flex;flex-direction:column;gap:6px;pointer-events:none}
.fc-desenho{display:contents}
.fc-quem{margin:12px 0 0;padding:12px 14px;border-radius:14px;border:1px solid var(--acc-line);background:var(--acc-panel);font-size:.86rem;line-height:1.5}
@media(max-width:960px){
 .fc-grade{grid-template-columns:minmax(0,1fr)}
 .fc-previa{position:static;max-width:420px;width:100%}
}
@media(max-width:720px){
 .fc{gap:10px}
 .fc-form{gap:10px}
 .fc-cartao{padding:16px}
 .fc-modos{grid-template-columns:minmax(0,1fr)}
 .fc-acoes{bottom:calc(70px + env(safe-area-inset-bottom));padding:10px}
 .fc-acoes .btn{flex:1;min-width:0}
}
