/* Área de membros da Hosana — vermelho com fundo branco.
   Estrutura do Subido; estilo e movimentos da "Minha Área" (membro.hosananeuropsi.com.br): cards que sobem no hover,
   zoom na capa, cadeado com desfoque, entrada em cascata, botão em degradê com brilho, Montserrat + Inter. */
:root {
  --verm: #950100; --verm-esc: #5E0101; --verm-claro: #FBEDEC; --verm-linha: rgba(149, 1, 0, .22);
  --grad: linear-gradient(135deg, #B00402, #950100 45%, #5E0101);
  --tinta: #1E1914; --texto: #2E2724; --mudo: #7A6E66; --mudo-2: #A39890;
  --fundo: #F7F4F2; --branco: #FFFFFF; --linha: #ECE5E0; --linha-2: #DDD3CC;
  --ouro: #C8A15A; --verde: #1F8A4C; --verde-claro: #E7F4EC;
  --sombra: 0 1px 2px rgba(30, 25, 20, .04), 0 8px 24px -12px rgba(30, 25, 20, .12);
  --sombra-alta: 0 18px 40px -18px rgba(94, 1, 1, .35);
  --f-display: "Montserrat", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --topo: 64px; --lado: 248px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--fundo); color: var(--texto); font-family: var(--f-body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 20px; height: 20px; flex: none; }
h1, h2, h3 { font-family: var(--f-display); color: var(--tinta); letter-spacing: -.02em; line-height: 1.15; }

/* ===== TOPO ===== */
.topo { position: fixed; inset: 0 0 auto 0; height: var(--topo); z-index: 50; display: flex; align-items: center; gap: 16px;
  padding: 0 22px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.marca { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; margin-right: auto; }
.marca b { font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; color: var(--tinta); letter-spacing: -.01em; }
.marca span { font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: var(--verm); font-weight: 600; }
.atalhos { display: flex; gap: 10px; }
.atalhos a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tinta); color: #fff;
  transition: background .3s, transform .3s var(--ease); }
.atalhos a:hover { background: var(--verm); transform: translateY(-2px); }
.atalhos svg { width: 18px; height: 18px; }
.abre-menu { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; }
.perfil { position: relative; }
.perfil summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 6px; border-radius: 12px; }
.perfil summary::-webkit-details-marker { display: none; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: .82rem; flex: none; }
.ola { display: flex; flex-direction: column; font-size: .74rem; color: var(--mudo); line-height: 1.15; }
.ola b { color: var(--tinta); font-size: .86rem; }
.perfil-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: #fff; border: 1px solid var(--linha);
  border-radius: 14px; box-shadow: var(--sombra-alta); padding: 8px; animation: cai .25s var(--ease); }
.perfil-menu .quem { padding: 10px 12px 12px; border-bottom: 1px solid var(--linha); margin-bottom: 6px; display: flex; flex-direction: column; }
.perfil-menu .quem span { font-size: .78rem; color: var(--mudo); word-break: break-all; }
.perfil-menu a, .perfil-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; font-size: .9rem; text-align: left; }
.perfil-menu a:hover, .perfil-menu button:hover { background: var(--fundo); color: var(--verm); }
@keyframes cai { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ===== MENU LATERAL ===== */
.lado { position: fixed; top: var(--topo); left: 0; bottom: 0; width: var(--lado); z-index: 40; background: #fff;
  border-right: 1px solid var(--linha); display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.lado-topo { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--grad); color: #fff; }
.lado-topo .selo { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.lado-topo small { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.lado-topo b { font-family: var(--f-display); font-size: .98rem; }
.menu { padding: 12px 0; flex: 1; overflow-y: auto; }
.mi { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 22px; text-decoration: none; font-size: .92rem;
  color: var(--texto); transition: color .25s, background .25s; }
.mi:hover { color: var(--verm); background: var(--fundo); }
.mi.on { color: var(--verm); font-weight: 600; background: var(--verm-claro); }
.mi.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--verm); }
.mi.breve { color: var(--mudo-2); cursor: default; }
.mi.breve:hover { background: none; color: var(--mudo-2); }
.mi em { margin-left: auto; font-style: normal; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--linha-2);
  border-radius: 99px; padding: 2px 7px; }
.lado-pe { padding: 16px 22px; border-top: 1px solid var(--linha); color: var(--mudo-2); font-size: .72rem; }
.veu { display: none; }

/* ===== CONTEÚDO ===== */
.conteudo { margin-left: var(--lado); padding: calc(var(--topo) + 26px) clamp(16px, 3vw, 40px) 0; min-height: 100vh; display: flex; flex-direction: column; }
.conteudo > * { width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; }
.rodape { margin-top: auto; padding: 26px 0 30px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--mudo); font-size: .8rem; border-top: 1px solid var(--linha); }
.rodape b { color: var(--tinta); }
.rodape a { color: var(--verm); }
.modo-admin { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 14px; border-radius: 12px; font-size: .82rem;
  background: #FFF8E8; border: 1px solid #F0DDAE; color: #6B4E12; }
.modo-admin a { margin-left: auto; color: var(--verm); font-weight: 600; white-space: nowrap; }

/* faixa de título (o banner escuro do Subido, aqui em vermelho) */
.faixa { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: clamp(24px, 4vw, 38px) clamp(20px, 4vw, 40px); border-radius: 18px; background: var(--grad); color: #fff; margin-bottom: 28px; }
.faixa::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%); pointer-events: none; }
.faixa h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.faixa p { opacity: .88; max-width: 62ch; margin-top: 6px; font-size: .95rem; }
.trilha { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-size: .8rem; color: var(--mudo); }
.trilha a { text-decoration: none; padding: 5px 12px; border: 1px solid var(--linha); border-radius: 99px; background: #fff; transition: border-color .3s, color .3s; }
.trilha a:hover { border-color: var(--verm-linha); color: var(--verm); }

/* cabeçalho de lista (Módulo / Vídeos + filtros) */
.cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cab h2 { font-size: 1.7rem; font-weight: 800; }
.cab .qtd { display: flex; align-items: center; gap: 6px; color: var(--mudo); font-size: .85rem; margin-top: 4px; }
.cab .qtd svg { width: 16px; height: 16px; }
.filtros { display: flex; gap: 6px; background: #fff; border: 1px solid var(--linha); padding: 4px; border-radius: 99px; }
.filtros button, .filtros a { padding: 7px 16px; border-radius: 99px; font-size: .82rem; color: var(--mudo); text-decoration: none; transition: background .3s, color .3s; }
.filtros .on { background: var(--verm); color: #fff; }
.voltar { display: inline-flex; align-items: center; gap: 6px; color: var(--mudo); font-size: .86rem; text-decoration: none; }
.voltar:hover { color: var(--verm); }
.voltar svg { width: 16px; height: 16px; }

/* ===== CARDS DE CURSO ===== */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-bottom: 36px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linha); border-radius: 16px; overflow: hidden;
  text-decoration: none; box-shadow: var(--sombra); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--sombra-alta); border-color: var(--verm-linha); }
.capa { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--grad); display: grid; place-items: center; }
.capa img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease), filter .5s; }
.card:hover .capa img { transform: scale(1.05); }
.capa .mono { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; color: rgba(255, 255, 255, .55); letter-spacing: .08em; }
.card.bloq .capa img { filter: blur(7px) saturate(.8) brightness(.75); transform: scale(1.08); }
.card.bloq .cadeado { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 14px;
  background: rgba(30, 25, 20, .62); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); }
.selo-novo { position: absolute; right: 12px; bottom: 12px; font-family: var(--f-display); font-size: .62rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; background: #fff; color: var(--verm); padding: 5px 11px; border-radius: 99px; }
.selo-rascunho { position: absolute; left: 12px; top: 12px; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: #FFF4D6; color: #7A5A0C; padding: 5px 10px; border-radius: 99px; }
.card-corpo { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.card .meta { display: flex; align-items: center; gap: 6px; color: var(--mudo); font-size: .8rem; }
.card .meta svg { width: 15px; height: 15px; }
.barra { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: .74rem; color: var(--mudo); }
.barra i { flex: 1; height: 6px; border-radius: 99px; background: var(--linha); overflow: hidden; }
.barra i b { display: block; height: 100%; border-radius: 99px; background: var(--grad); transition: width 1.2s var(--ease); }

/* ===== LINHAS (módulos e aulas) ===== */
.linhas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.linha { display: flex; align-items: center; gap: 16px; padding: 10px; padding-right: 20px; background: #fff; border: 1px solid var(--linha); border-radius: 14px;
  text-decoration: none; box-shadow: var(--sombra); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.linha:hover { transform: translateX(4px); border-color: var(--verm-linha); box-shadow: var(--sombra-alta); }
.linha .num { width: 52px; align-self: stretch; min-height: 52px; border-radius: 10px; background: var(--tinta); color: #fff; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: .95rem; flex: none; }
.linha.feita .num { background: var(--grad); }
.linha .mini { width: 140px; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--grad); flex: none; display: grid; place-items: center; }
.linha .mini img { width: 100%; height: 100%; object-fit: cover; }
.linha .mini .mono { font-family: var(--f-display); font-weight: 800; color: rgba(255, 255, 255, .6); }
.linha .tit { flex: 1; font-weight: 600; color: var(--tinta); }
.linha .tit small { display: block; font-weight: 400; color: var(--mudo); font-size: .8rem; }
.linha .lado-dir { display: flex; align-items: center; gap: 14px; color: var(--mudo); font-size: .8rem; white-space: nowrap; }
.linha .lado-dir .barra { width: 150px; margin: 0; }
.linha .estado svg { width: 26px; height: 26px; }
.linha .estado.ok { color: var(--verde); }
.linha .estado.vai { color: var(--tinta); }

/* ===== AULA ===== */
.aula { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; margin-bottom: 36px; }
.aula-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.aula-cab h1 { font-size: 1.35rem; font-weight: 800; }
.navega { display: flex; gap: 6px; flex: none; }
.navega a, .navega span { display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; font-size: .8rem; border-radius: 99px; text-decoration: none;
  border: 1px solid var(--linha); background: #fff; }
.navega a:hover { color: var(--verm); border-color: var(--verm-linha); }
.navega span { opacity: .45; }
.navega svg { width: 14px; height: 14px; }
.player { position: relative; border-radius: 16px; overflow: hidden; background: #0d0a09; aspect-ratio: 16/9; box-shadow: var(--sombra-alta); }
.player video { width: 100%; height: 100%; display: block; background: #000; }
.player .marca-agua { position: absolute; z-index: 2; pointer-events: none; font-size: .72rem; color: rgba(255, 255, 255, .28); white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4); transition: top 1.5s, left 1.5s; user-select: none; }
.player .vazio { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: rgba(255, 255, 255, .75); padding: 20px;
  background: radial-gradient(circle at 50% 40%, rgba(149, 1, 0, .55), transparent 70%), #1a1312; }
.player .vazio svg { width: 54px; height: 54px; margin: 0 auto 10px; opacity: .8; }
.acoes-aula { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .86rem;
  border: 1px solid var(--linha-2); background: #fff; color: var(--texto); text-decoration: none; cursor: pointer; transition: border-color .3s, color .3s, background .3s, transform .2s, box-shadow .3s, filter .3s; }
.bt:hover { border-color: var(--verm-linha); color: var(--verm); }
.bt:active { transform: scale(.97); }
.bt svg { width: 17px; height: 17px; }
.bt.cheio { background: var(--grad); color: #fff; border-color: transparent; }
.bt.cheio:hover { filter: brightness(1.12); box-shadow: 0 12px 26px -12px rgba(149, 1, 0, .9); color: #fff; }
.bt.on { background: var(--verm-claro); color: var(--verm); border-color: var(--verm-linha); }
.bt.feito { background: var(--verde-claro); color: var(--verde); border-color: rgba(31, 138, 76, .3); }
.bt.peq { padding: 7px 12px; font-size: .78rem; border-radius: 8px; }
.bt[disabled] { opacity: .55; pointer-events: none; }
.caixa { background: #fff; border: 1px solid var(--linha); border-radius: 16px; padding: 20px; box-shadow: var(--sombra); }
.caixa h3 { font-size: 1rem; margin-bottom: 8px; }
.descricao { color: var(--texto); white-space: pre-line; font-size: .93rem; }
.lateral { position: sticky; top: calc(var(--topo) + 20px); background: #fff; border: 1px solid var(--linha); border-radius: 16px; box-shadow: var(--sombra); overflow: hidden; }
.abas { display: flex; padding: 6px; gap: 6px; border-bottom: 1px solid var(--linha); }
.abas button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 10px; font-size: .84rem; color: var(--mudo); }
.abas button.on { background: var(--fundo); color: var(--tinta); font-weight: 600; }
.abas svg { width: 16px; height: 16px; }
.lateral-tit { padding: 14px 16px 6px; }
.lateral-tit b { font-family: var(--f-display); font-size: .95rem; display: block; color: var(--tinta); }
.lateral-tit small { color: var(--mudo); font-size: .78rem; }
.lista-aulas { max-height: 58vh; overflow-y: auto; padding: 6px; }
.item-aula { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 10px; text-decoration: none; font-size: .84rem; line-height: 1.35;
  transition: background .25s; }
.item-aula:hover { background: var(--fundo); }
.item-aula.atual { background: var(--verm-claro); }
.item-aula .n { width: 30px; text-align: center; font-family: var(--f-display); font-weight: 800; color: var(--tinta); flex: none; font-size: .8rem; }
.item-aula span { flex: 1; }
.item-aula .ic svg { width: 22px; height: 22px; }
.item-aula .ic.ok { color: var(--verde); }
.downloads { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.downloads a { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--linha); border-radius: 10px; text-decoration: none; font-size: .86rem; }
.downloads a:hover { border-color: var(--verm-linha); color: var(--verm); }
.nada { color: var(--mudo); font-size: .86rem; padding: 18px; text-align: center; }

/* comentários */
.comentarios { margin-top: 22px; }
.novo-com { display: flex; gap: 12px; margin-bottom: 22px; }
.novo-com textarea, .resp textarea { flex: 1; min-height: 46px; max-height: 220px; resize: vertical; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--linha-2); background: var(--fundo); font: inherit; font-size: .9rem; }
.novo-com textarea:focus, .resp textarea:focus, .campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--verm); box-shadow: 0 0 0 3px rgba(149, 1, 0, .1); background: #fff; }
.com { display: flex; gap: 12px; padding: 14px 0; }
.com + .com { border-top: 1px solid var(--linha); }
.com .avatar { width: 40px; height: 40px; font-size: .78rem; }
.com .corpo { flex: 1; min-width: 0; }
.com .quem { display: flex; align-items: baseline; gap: 8px; font-size: .84rem; }
.com .quem b { color: var(--tinta); text-transform: uppercase; letter-spacing: .02em; font-size: .8rem; }
.com .quem .eq { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--verm); color: #fff; padding: 2px 7px; border-radius: 99px; }
.com .quem time { color: var(--mudo-2); font-size: .74rem; }
.com p { margin: 4px 0 6px; font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.com .acoes-com { display: flex; gap: 14px; font-size: .76rem; color: var(--mudo); }
.com .acoes-com button:hover { color: var(--verm); }
.com .filhos { margin-top: 6px; padding-left: 16px; border-left: 2px solid var(--linha); }
.resp { display: flex; gap: 8px; margin-top: 8px; }

/* ===== EDIÇÃO (admin) ===== */
.ed { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; font-size: .78rem; font-weight: 600; text-decoration: none;
  background: #FFF8E8; border: 1px dashed #D9B45A; color: #6B4E12; cursor: pointer; transition: background .3s; }
.ed:hover { background: #FFEFC7; }
.ed svg { width: 15px; height: 15px; }
.card .ed { position: absolute; top: 10px; right: 10px; z-index: 3; }
.linha .ed { flex: none; }
.add { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 140px; border: 2px dashed #D9B45A; border-radius: 16px;
  background: #FFFBF1; color: #6B4E12; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.add:hover { background: #FFF3D6; transform: translateY(-3px); }
.add.fina { min-height: 64px; }

dialog.modal { margin: auto; width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 18px; padding: 0;
  box-shadow: 0 30px 80px -20px rgba(30, 25, 20, .45); }
dialog.modal::backdrop { background: rgba(30, 25, 20, .5); backdrop-filter: blur(2px); }
dialog.modal[open] { animation: cai .3s var(--ease); }
.modal form { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.modal h2 { font-size: 1.2rem; }
.campo { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--tinta); }
.campo input, .campo textarea, .campo select { font: inherit; font-weight: 400; font-size: .92rem; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--linha-2); background: var(--fundo); }
.campo textarea { min-height: 110px; resize: vertical; }
.campo small { font-weight: 400; color: var(--mudo); }
.marcar { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.marcar input { width: 18px; height: 18px; accent-color: var(--verm); }
.modal .botoes { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }
.modal .botoes .perigo { margin-right: auto; color: #A11; border-color: rgba(170, 17, 17, .3); }
/* campo de arquivo: área de "arraste aqui" (o input nativo fica invisível por cima, então clique e teclado continuam funcionando) */
.soltar { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px dashed var(--linha-2); border-radius: 14px;
  background: #fff; cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); font-weight: 400; }
.soltar:hover, .soltar.arrastando { border-color: var(--verm); background: var(--verm-claro); }
.soltar.arrastando { transform: scale(1.01); }
.soltar:focus-within { border-color: var(--verm); box-shadow: 0 0 0 3px rgba(149, 1, 0, .1); }
.soltar input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.soltar .s-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none;
  box-shadow: 0 10px 20px -12px rgba(149, 1, 0, .9); transition: transform .4s var(--ease); }
.soltar:hover .s-ic { transform: translateY(-2px) rotate(-4deg); }
.soltar .s-ic svg { width: 22px; height: 22px; }
.soltar .s-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.soltar .s-txt b { color: var(--tinta); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soltar .s-txt small { color: var(--mudo); font-size: .78rem; }
.soltar .s-previa { width: 112px; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--fundo); flex: none; display: none; }
.soltar .s-previa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soltar.com-previa .s-previa { display: block; }
.soltar.escolhido { border-style: solid; border-color: rgba(31, 138, 76, .45); background: var(--verde-claro); }
.soltar.escolhido .s-ic { background: var(--verde); box-shadow: none; }
.soltar[aria-disabled=true] { opacity: .6; pointer-events: none; }
.envio { border: 1px solid var(--linha); border-radius: 12px; padding: 14px; background: var(--fundo); display: flex; flex-direction: column; gap: 10px; font-size: .84rem; }
.envio .barra i b { width: 0; }
.aviso-video { font-size: .8rem; padding: 10px 12px; border-radius: 10px; background: #FFF8E8; color: #6B4E12; }

.tabela { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--linha); border-radius: 14px; overflow: hidden; font-size: .88rem; }
.tabela th, .tabela td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--linha); vertical-align: middle; }
.tabela th { background: var(--fundo); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mudo); }
.etiqueta { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: .7rem; font-weight: 700; background: var(--fundo); color: var(--mudo); }
.etiqueta.ok { background: var(--verde-claro); color: var(--verde); }
.etiqueta.verm { background: var(--verm-claro); color: var(--verm); }

.aviso { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 100; background: var(--tinta); color: #fff;
  padding: 12px 20px; border-radius: 12px; font-size: .88rem; box-shadow: var(--sombra-alta); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.aviso.ver { opacity: 1; transform: translate(-50%, 0); }
.aviso.erro { background: #A11; }

/* ===== PRIMEIROS PASSOS (abas numeradas, como no Subido) ===== */
.pp { max-width: 900px; margin-bottom: 36px; }
.abas-pp { display: flex; gap: 8px; margin-bottom: 12px; }
.aba-pp { flex: 1; display: grid; place-items: center; height: 54px; border-radius: 12px; background: #fff; border: 1px solid var(--linha);
  text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; color: var(--mudo); transition: background .3s, color .3s, transform .3s var(--ease); }
.aba-pp:hover { transform: translateY(-2px); color: var(--verm); }
.aba-pp.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--sombra-alta); }
.add-pp { flex: 0 0 64px; border: 2px dashed #D9B45A; background: #FFFBF1; color: #6B4E12; cursor: pointer; }
.pp-pe { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: .92rem; }
.pp-pe span { display: inline-flex; align-items: center; gap: 6px; color: var(--mudo); font-size: .82rem; }
.pp-pe svg { width: 16px; height: 16px; }

/* ===== PERGUNTAS FREQUENTES ===== */
.faq-bloco { margin-bottom: 30px; scroll-margin-top: calc(var(--topo) + 20px); }
.perguntas { display: flex; flex-direction: column; gap: 10px; }
.pergunta { background: #fff; border: 1px solid var(--linha); border-radius: 14px; box-shadow: var(--sombra); transition: border-color .3s; }
.pergunta[open] { border-color: var(--verm-linha); }
.pergunta summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--tinta); }
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary span { flex: 1; }
.pergunta summary i { color: var(--verm); transition: transform .35s var(--ease); display: grid; }
.pergunta[open] summary i { transform: rotate(45deg); }
.pergunta .descricao { padding: 0 18px 18px; color: var(--texto); animation: cai .3s var(--ease); }

/* ===== COMUNIDADE ===== */
.espacos { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.chip-esp { padding: 9px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--linha); text-decoration: none; font-size: .86rem; font-weight: 500;
  transition: border-color .3s, color .3s, background .3s; }
.chip-esp:hover { border-color: var(--verm-linha); color: var(--verm); }
.chip-esp.on { background: var(--verm); border-color: var(--verm); color: #fff; }
.mini-ed { padding: 5px 7px; margin-left: -6px; }
.feed { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 36px; }
.compositor summary { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.compositor summary::-webkit-details-marker { display: none; }
.compositor .convite { flex: 1; padding: 13px 16px; border-radius: 99px; background: var(--fundo); border: 1px solid var(--linha); color: var(--mudo); font-size: .9rem; transition: border-color .3s; }
.compositor summary:hover .convite { border-color: var(--verm-linha); }
.compositor[open] summary { margin-bottom: 14px; }
.compositor[open] .convite { display: none; }
.compositor form { display: flex; flex-direction: column; gap: 12px; }
.post { background: #fff; border: 1px solid var(--linha); border-radius: 16px; padding: 18px 20px; box-shadow: var(--sombra); }
.post.fixado { border-color: var(--verm-linha); box-shadow: 0 0 0 3px rgba(149, 1, 0, .06), var(--sombra); }
.post-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post-quem { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.post-quem b { color: var(--tinta); font-size: .92rem; }
.post-quem .eq { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--verm); color: #fff; padding: 2px 7px; border-radius: 99px; }
.post-quem small { width: 100%; color: var(--mudo); font-size: .76rem; }
.post-quem small a { color: var(--verm); text-decoration: none; font-weight: 600; }
.post-acoes-mod { display: flex; gap: 6px; }
.post-tit { font-size: 1.08rem; margin-bottom: 6px; }
.post-tit a { text-decoration: none; }
.post-tit a:hover { color: var(--verm); }
.post-texto { white-space: pre-line; overflow-wrap: anywhere; font-size: .93rem; }
.ver-mais { display: inline-block; margin-top: 4px; color: var(--verm); font-size: .84rem; font-weight: 600; }
.post-img { display: block; margin-top: 12px; border-radius: 12px; overflow: hidden; background: var(--fundo); }
.post-img img { width: 100%; max-height: 520px; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.post-img:hover img { transform: scale(1.02); }
.post-pe { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linha); }
.reagir { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; font-size: .84rem; color: var(--mudo); text-decoration: none;
  transition: background .3s, color .3s, transform .2s; }
.reagir:hover { background: var(--fundo); color: var(--verm); }
.reagir:active { transform: scale(.94); }
.reagir svg { width: 18px; height: 18px; }
.reagir.on { color: var(--verm); }
.reagir.on svg { fill: currentColor; animation: pulsa .4s var(--ease); }
@keyframes pulsa { 50% { transform: scale(1.3); } }

/* ===== ENTRAR ===== */
.entrar { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr 1fr; }
.entrar .arte { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; justify-content: space-between; }
.entrar .arte::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%); }
.entrar .arte .eb { font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; opacity: .85; }
.entrar .arte h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; text-transform: uppercase; line-height: 1.02; margin: 18px 0; }
.entrar .arte p { opacity: .88; max-width: 42ch; }
.entrar .lado-form { display: grid; place-items: center; padding: 32px 20px; background: #fff; }
.entrar form { width: min(380px, 100%); display: flex; flex-direction: column; gap: 16px; }
.entrar form h2 { font-size: 1.5rem; }
.entrar form .sub { color: var(--mudo); font-size: .9rem; margin-top: -8px; }
.entrar .erro { background: var(--verm-claro); color: var(--verm); padding: 10px 14px; border-radius: 10px; font-size: .86rem; }
.entrar .bt { padding: 13px; font-size: .9rem; }

/* entrada em cascata (com rede de proteção no JS para rolagem rápida) */
.rv { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ===== CELULAR ===== */
@media (max-width: 1080px) { .aula { grid-template-columns: 1fr; } .lateral { position: static; } }
@media (max-width: 900px) {
  .abre-menu { display: grid; }
  .lado { transform: translateX(-100%); box-shadow: var(--sombra-alta); }
  body.menu-aberto .lado { transform: none; }
  body.menu-aberto .veu { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(30, 25, 20, .35); }
  .conteudo { margin-left: 0; }
  .ola { display: none; }
  .entrar { grid-template-columns: 1fr; }
  .entrar .arte { min-height: 34vh; }
}
@media (max-width: 640px) {
  .topo { padding: 0 12px; gap: 8px; }
  .atalhos { gap: 6px; }
  .atalhos a { width: 34px; height: 34px; }
  .atalhos a:nth-child(4) { display: none; }
  .marca b { font-size: .92rem; }
  .linha { flex-wrap: wrap; padding-right: 12px; }
  .linha .mini { width: 96px; }
  .linha .lado-dir { width: 100%; justify-content: space-between; }
  .linha .lado-dir .barra { flex: 1; }
  .aula-cab { flex-direction: column; }
  .modo-admin a { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
