/* =====================================================================
   Cultura Galla — Design System
   Tipografia: Poppins (títulos) + Inter (texto) · Marca: índigo → violeta
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
  /* Marca */
  --brand-1: #4f46e5;
  --brand-2: #7c3aed;
  --brand-700: #4338ca;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --grad: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);

  /* Neutros (slate) */
  --ink: #0f172a;       /* títulos / texto forte */
  --text: #334155;      /* corpo */
  --muted: #64748b;
  --faint: #94a3b8;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e8ebf2;
  --border-strong: #d7dce6;

  /* Semânticos */
  --success: #15803d; --success-bg: #dcfce7; --success-bd: #bbf7d0;
  --warning: #a16207; --warning-bg: #fef9c3; --warning-bd: #fde68a;
  --danger: #dc2626;  --danger-bg: #fef2f2;  --danger-bd: #fecaca;
  --info: #0369a1;    --info-bg: #e0f2fe;

  /* Compat (nomes antigos) */
  --erro-bg: var(--danger-bg);
  --erro-border: var(--danger-bd);
  --erro-ink: #b91c1c;

  /* Raios */
  --r-sm: 9px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;
  --radius: 16px;

  /* Elevação */
  --sh-1: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --sh-2: 0 6px 16px -4px rgba(15, 23, 42, .08), 0 2px 6px -2px rgba(15, 23, 42, .05);
  --sh-3: 0 16px 36px -12px rgba(15, 23, 42, .16);
  --sh-brand: 0 14px 28px -12px rgba(79, 70, 229, .55);
  --shadow: var(--sh-3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a { color: var(--brand-1); }
::selection { background: var(--brand-100); color: var(--brand-700); }

/* Acessibilidade: foco visível */
:focus-visible {
  outline: 2px solid var(--brand-1);
  outline-offset: 2px;
  border-radius: 6px;
}
button, a, input, select, textarea, summary { outline: none; }

/* Logo (SVG + wordmark) */
.logo-mark { width: 22px; height: 22px; flex-shrink: 0; }
.topbar-logo, .brand-logo, .form-logo-mobile { display: inline-flex; align-items: center; gap: 9px; }

/* =================== Login =================== */
.login-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(1100px 500px at 100% -10%, #ede9fe 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, #e0e7ff 0%, transparent 55%),
    linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
}

.login-wrapper {
  width: 100%;
  max-width: 1000px;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--surface);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(49, 46, 129, .5);
  border: 1px solid rgba(255, 255, 255, .6);
}

.brand-panel {
  position: relative;
  padding: 52px;
  color: #fff;
  background: linear-gradient(155deg, #4f46e5 0%, #6d28d9 55%, #7c3aed 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.brand-content { position: relative; z-index: 2; }
.brand-logo { font-family: 'Poppins'; font-size: 22px; font-weight: 700; margin-bottom: 32px; }
.brand-panel h1 { color: #fff; font-size: 33px; line-height: 1.2; font-weight: 700; margin-bottom: 16px; }
.brand-panel p { font-size: 15px; opacity: .9; line-height: 1.65; max-width: 330px; }
.brand-glow {
  position: absolute;
  width: 420px; height: 420px;
  top: -130px; right: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 70%);
  border-radius: 50%;
}
.brand-panel::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  bottom: -120px; left: -80px;
  background: radial-gradient(circle, rgba(167, 139, 250, .4), transparent 70%);
  border-radius: 50%;
}

.form-panel { display: flex; align-items: center; justify-content: center; padding: 52px; }
.form-card { width: 100%; max-width: 372px; }
.form-logo-mobile { display: none; color: var(--brand-1); font-family: 'Poppins'; font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.brand-logo-img { display: block; width: 260px; max-width: 100%; height: auto; border-radius: 14px; }
.form-logo-img { display: block; width: 180px; max-width: 100%; height: auto; border-radius: 12px; }
.topbar-logo span, .sidebar-logo span { font-size: 14px; line-height: 1.2; }
.form-header h2 { font-size: 27px; font-weight: 700; margin-bottom: 6px; }
.form-header p { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

/* =================== Campos =================== */
.campo { margin-bottom: 18px; }
.campo label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface-2);
  transition: border-color .15s, box-shadow .15s, background .15s;
  font-family: inherit;
}
.campo textarea { resize: vertical; }
.campo select { cursor: pointer; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--faint); }
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  border-color: var(--brand-1);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .14);
}

/* Senha com olho */
.campo-senha { position: relative; }
.campo-senha input { padding-right: 46px; }
.btn-olho {
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  border: none; background: transparent;
  cursor: pointer; font-size: 18px; line-height: 1;
  padding: 6px 8px; border-radius: 8px; opacity: .65;
  transition: opacity .15s, background .15s;
}
.btn-olho:hover { opacity: 1; background: var(--brand-50); }

.campo-extra { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; font-size: 13px; }
.lembrar { display: flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; }
.esqueci { color: var(--brand-1); text-decoration: none; font-weight: 600; }
.esqueci:hover { text-decoration: underline; }

/* =================== Botões =================== */
.btn-entrar,
.btn-primario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--grad);
  font-family: inherit;
  white-space: nowrap;
  box-shadow: var(--sh-brand);
  transition: transform .14s, box-shadow .2s, filter .2s;
}
.btn-entrar { width: 100%; padding: 14px; font-size: 15px; }
.btn-primario { padding: 11px 18px; font-size: 14px; text-decoration: none; }
.btn-entrar:hover,
.btn-primario:hover { transform: translateY(-1px); box-shadow: 0 18px 30px -12px rgba(79, 70, 229, .6); filter: saturate(1.05); }
.btn-entrar:active,
.btn-primario:active { transform: translateY(0); }
.btn-bloco { width: 100%; margin-top: 8px; }

.btn-voltar { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; transition: color .15s; }
.btn-voltar:hover { color: var(--brand-1); }

.form-footer { margin-top: 28px; text-align: center; }
.form-footer p { font-size: 12px; color: var(--faint); }

/* Confirmação "email enviado" */
.confirma-box { text-align: center; padding: 10px 0 6px; }
.confirma-ico { font-size: 46px; margin-bottom: 10px; }
.confirma-box h2 { font-size: 22px; margin-bottom: 10px; }
.confirma-box p { color: var(--text); margin-bottom: 8px; line-height: 1.6; }
.confirma-box .muted { color: var(--muted); font-size: 14px; }

/* =================== Topbar =================== */
.dashboard-page { min-height: 100dvh; background: var(--bg); }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-logo { font-family: 'Poppins'; font-weight: 700; font-size: 18px; color: var(--brand-1); text-decoration: none; }
.btn-sair {
  padding: 9px 18px; font-size: 14px; font-weight: 600;
  color: var(--brand-1); background: var(--brand-50);
  border: none; border-radius: var(--r-sm); cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.btn-sair:hover { background: var(--brand-100); }

.topbar-nav { display: flex; align-items: center; gap: 4px; }
.topbar-nav > a, .nav-drop > summary {
  text-decoration: none; color: var(--muted);
  font-size: 14px; font-weight: 600;
  padding: 8px 13px; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  cursor: pointer; white-space: nowrap;
}
.topbar-nav > a:hover, .nav-drop > summary:hover { color: var(--brand-1); background: var(--brand-50); }
.topbar-nav > a.ativo, .nav-drop > summary.ativo { color: var(--brand-1); background: var(--brand-50); }
.topbar-nav form { margin-left: 8px; }

/* Botão hambúrguer (mobile) */
.nav-toggle {
  display: none; border: none; background: transparent; cursor: pointer;
  color: var(--ink); padding: 6px; border-radius: var(--r-sm);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Dropdown "Administração" */
.nav-drop { position: relative; }
.nav-drop > summary { display: inline-flex; align-items: center; gap: 5px; list-style: none; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop .chev { width: 15px; height: 15px; transition: transform .2s; }
.nav-drop[open] > summary { color: var(--brand-1); background: var(--brand-50); }
.nav-drop[open] .chev { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 196px; display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--sh-3);
  padding: 7px; z-index: 60;
}
.nav-menu a {
  text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500;
  padding: 9px 12px; border-radius: var(--r-sm); transition: background .12s, color .12s;
}
.nav-menu a:hover { background: var(--surface-2); color: var(--brand-1); }
.nav-menu a.ativo { background: var(--brand-50); color: var(--brand-1); font-weight: 600; }

/* =================== Sidebar (admin) =================== */
.sidebar {
  position: fixed; top: 0; left: 0; z-index: 50;
  width: 248px; height: 100dvh;
  background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 18px 14px;
  overflow-y: auto;
  transition: transform .25s ease;
}
.sidebar-logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Poppins'; font-weight: 700; font-size: 18px;
  color: var(--brand-1); text-decoration: none;
  padding: 6px 10px 18px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.sidebar-conta { flex: none; } /* link "Minha conta" no rodapé, logo acima do "Sair" — não estica */
.sidebar-group {
  font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--faint); padding: 16px 12px 6px;
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-md);
  text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 500;
  transition: background .14s, color .14s;
}
.sidebar-nav a svg { width: 20px; height: 20px; color: var(--faint); transition: color .14s; flex-shrink: 0; }
.sidebar-nav a:hover { background: var(--surface-2); color: var(--ink); }
.sidebar-nav a:hover svg { color: var(--muted); }
.sidebar-nav a.ativo { background: var(--brand-50); color: var(--brand-1); font-weight: 600; }
.sidebar-nav a.ativo svg { color: var(--brand-1); }

.sidebar-sair { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 12px; }
.sidebar-sair button {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: none; background: transparent; cursor: pointer;
  border-radius: var(--r-md); color: var(--muted); font-size: 14.5px; font-weight: 600; font-family: inherit;
  transition: background .14s, color .14s;
}
.sidebar-sair button svg { width: 20px; height: 20px; }
.sidebar-sair button:hover { background: var(--danger-bg); color: var(--danger); }

/* Top bar do admin (só no mobile) */
.adm-topbar { display: none; }
.sidebar-scrim { display: none; }

/* Cabeçalho da sidebar: logo + botão de recolher */
.sidebar-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.sidebar-head .sidebar-logo { flex: 1; min-width: 0; overflow: hidden; }

/* Botões de recolher (na sidebar) e abrir (flutuante) — visíveis só no desktop */
.sidebar-fechar, .sidebar-abrir {
  display: none; align-items: center; justify-content: center;
  border: none; background: transparent; cursor: pointer;
  color: var(--muted); border-radius: var(--r-sm); padding: 6px;
  transition: background .14s, color .14s;
}
.sidebar-fechar { margin-top: 4px; }
.sidebar-fechar:hover { background: var(--surface-2); color: var(--ink); }
.sidebar-fechar svg, .sidebar-abrir svg { width: 20px; height: 20px; display: block; }
.sidebar-abrir {
  position: fixed; top: 14px; left: 14px; z-index: 60;
  width: 40px; height: 40px;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  box-shadow: var(--sh-3);
}
.sidebar-abrir:hover { background: var(--surface-2); }

/* Empurra o conteúdo para o lado da sidebar */
.com-sidebar { padding-left: 248px; }
.com-sidebar .painel { padding-top: 30px; }

/* Desktop: permite recolher a sidebar e libera a largura do conteúdo */
@media (min-width: 961px) {
  .sidebar-fechar { display: inline-flex; }
  html.sidebar-fechada .sidebar { transform: translateX(-100%); }
  html.sidebar-fechada .com-sidebar { padding-left: 0; }
  html.sidebar-fechada .sidebar-abrir { display: inline-flex; }
}

@media (max-width: 960px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: var(--sh-3);
  }
  .sidebar.aberto { transform: translateX(0); }
  .com-sidebar { padding-left: 0; }
  .adm-topbar {
    position: sticky; top: 0; z-index: 40;
    display: flex; align-items: center; gap: 12px; justify-content: space-between;
    padding: 12px 18px; background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border);
  }
  .adm-topbar .topbar-logo { font-family: 'Poppins'; font-weight: 700; color: var(--brand-1); }
  .adm-topbar .sidebar-toggle { border: none; background: transparent; cursor: pointer; color: var(--ink); padding: 4px; }
  .adm-topbar .sidebar-toggle svg { width: 24px; height: 24px; }
  .sidebar-scrim.visivel { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 45; }
}

/* =================== Conteúdo / página =================== */
.dashboard-content { padding: 40px 32px; display: flex; justify-content: center; }
.page-box {
  width: 100%; max-width: 960px;
  background: var(--surface);
  padding: 30px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  border: 1px solid var(--border);
}
.page-box-form { max-width: 640px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-head h1 { font-size: 25px; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-weight: 400; font-size: 12px; }

/* Atalhos no dashboard */
.atalhos { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }
.atalho {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; min-width: 240px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  text-decoration: none; color: var(--ink); background: var(--surface);
  transition: border-color .15s, box-shadow .15s, transform .14s;
}
.atalho:hover { border-color: var(--brand-1); box-shadow: var(--sh-2); transform: translateY(-2px); }
.atalho-ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px; color: var(--brand-1);
  background: var(--brand-50);
}
.atalho-ico svg { width: 24px; height: 24px; }
.atalho-txt { display: flex; flex-direction: column; }
.atalho-txt strong { font-weight: 600; }
.atalho-txt small { color: var(--muted); font-size: 13px; }

/* Welcome */
.welcome-card {
  width: 100%; max-width: 600px;
  background: var(--surface); padding: 38px;
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
  border: 1px solid var(--border);
}
.welcome-card h1 { font-size: 28px; margin-bottom: 12px; }
.welcome-card p { color: var(--text); margin-bottom: 8px; line-height: 1.6; }
.welcome-card .muted { color: var(--muted); font-size: 14px; }
.badge {
  display: inline-block; margin-top: 18px; padding: 6px 14px;
  background: var(--success-bg); color: var(--success);
  border-radius: 999px; font-size: 13px; font-weight: 600;
}

/* =================== Painel (dashboard) =================== */
.painel { max-width: 1160px; margin: 0 auto; padding: 36px 32px; width: 100%; }
.painel-head h1 { font-size: 27px; }
.painel-head p { margin-top: 4px; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 22px 0 10px; }
.kpi { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-1); }
.kpi-ico { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; color: var(--brand-1); background: var(--brand-50); }
.kpi-ico svg { width: 24px; height: 24px; }
.kpi-info { display: flex; flex-direction: column; }
.kpi-num { font-family: 'Poppins'; font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-lbl { font-size: 13px; color: var(--muted); }

.painel-sub { font-size: 16px; margin: 26px 0 14px; color: var(--ink); }
.sub-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ver-todos { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--brand-1); text-decoration: none; }
.ver-todos svg { width: 15px; height: 15px; transition: transform .15s; }
.ver-todos:hover svg { transform: translateX(3px); }

.acoes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.acao-card { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; text-decoration: none; color: var(--ink); box-shadow: var(--sh-1); transition: transform .16s, box-shadow .18s, border-color .18s; }
.acao-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--border-strong); }
.acao-ico { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; color: var(--brand-1); background: var(--brand-50); }
.acao-ico svg { width: 23px; height: 23px; }
.acao-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.acao-txt strong { font-weight: 600; font-size: 15px; }
.acao-txt small { color: var(--muted); font-size: 13px; }
.acao-seta { width: 18px; height: 18px; color: var(--faint); flex-shrink: 0; transition: transform .16s, color .16s; }
.acao-card:hover .acao-seta { color: var(--brand-1); transform: translateX(3px); }

/* =================== Tabelas =================== */
.tabela-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); }
.tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabela thead { background: var(--surface-2); }
.tabela th {
  text-align: left; padding: 13px 16px;
  color: var(--muted); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
}
.tabela td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.tabela tbody tr:last-child td { border-bottom: none; }
.tabela tbody tr { transition: background .12s; }
.tabela tbody tr:hover { background: var(--surface-2); }
.tabela .vazio { text-align: center; color: var(--muted); padding: 30px; }

.tag { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.tag-admin { background: #ede9fe; color: #6d28d9; }
.tag-aluno { background: var(--info-bg); color: var(--info); }

/* Ações em tabela */
.col-acoes { width: 1%; white-space: nowrap; }
.acoes { display: flex; align-items: center; gap: 8px; }
.acoes form { margin: 0; }
.btn-acao {
  display: inline-block; padding: 7px 13px; font-size: 13px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); background: var(--surface); color: var(--brand-1);
  cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s;
}
.btn-acao:hover { background: var(--brand-50); border-color: var(--brand-1); }
.btn-acao-perigo { color: var(--danger); }
.btn-acao-perigo:hover { background: var(--danger-bg); border-color: var(--danger-bd); }
.voce { font-size: 12px; color: var(--muted); font-style: italic; }
.link-curso { color: var(--brand-1); text-decoration: none; font-weight: 600; }
.link-curso:hover { text-decoration: underline; }

/* =================== Alertas (fallback) =================== */
.alert-erro {
  display: flex; align-items: center; gap: 8px;
  background: var(--danger-bg); border: 1px solid var(--danger-bd);
  color: var(--erro-ink); padding: 12px 14px; border-radius: var(--r-md);
  font-size: 14px; margin-bottom: 20px;
}
.alert-sucesso {
  background: var(--success-bg); border: 1px solid var(--success-bd);
  color: var(--success); padding: 12px 14px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; margin-bottom: 18px;
}

/* =================== Form helpers =================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bloco-senha { margin: 6px 0 18px; padding: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); }
.bloco-titulo { font-size: 14px; font-weight: 600; margin-bottom: 12px; }

/* =================== Cards de curso =================== */
.cards-cursos { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 18px; margin-top: 8px; }
.card-curso {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface);
  transition: box-shadow .18s, transform .16s, border-color .18s;
}
.card-curso:hover { box-shadow: var(--sh-3); transform: translateY(-3px); border-color: var(--border-strong); }
.card-capa {
  position: relative; height: 134px;
  background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #6366f1;
}
.card-status { position: absolute; top: 10px; right: 10px; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; box-shadow: var(--sh-1); }
.card-status.pub { background: var(--success-bg); color: var(--success); }
.card-status.rasc { background: var(--warning-bg); color: var(--warning); }
.card-corpo { padding: 16px 18px 18px; }
.card-corpo h3 { font-size: 16px; margin-bottom: 6px; }
.card-meta { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.card-preco { font-size: 15px; font-weight: 700; color: var(--brand-1); margin-bottom: 14px; }
.card-acoes { display: flex; gap: 8px; align-items: center; }
.card-link { text-decoration: none; color: inherit; display: block; }

/* =================== Hub do aluno (Meus cursos) =================== */
.hub-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.hub-stat { font-size: 14px; color: var(--muted); }
.hub-stat strong { color: var(--ink); font-weight: 700; font-family: 'Poppins'; }

.estado-vazio { text-align: center; padding: 48px 20px; color: var(--muted); }
.estado-vazio svg { width: 54px; height: 54px; color: var(--faint); margin-bottom: 12px; }
.estado-vazio h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.estado-vazio p { font-size: 14px; max-width: 360px; margin: 0 auto; }

.cursos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(282px, 1fr)); gap: 18px; }
.curso-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--sh-1);
  transition: transform .16s, box-shadow .18s, border-color .18s;
}
.curso-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--border-strong); }
.curso-capa {
  position: relative; height: 152px;
  background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.curso-capa .ph { width: 46px; height: 46px; color: #818cf8; }
.curso-status {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700; background: #fff; box-shadow: var(--sh-1);
}
.status-done { color: var(--success); }
.status-prog { color: var(--brand-1); }
.status-new { color: var(--muted); }
.curso-corpo { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.curso-corpo h3 { font-size: 16px; line-height: 1.35; }
.curso-prog { display: flex; align-items: center; gap: 11px; }
.curso-prog .barra-progresso { flex: 1; margin: 0; }
.curso-pct { font-size: 13px; font-weight: 700; color: var(--brand-1); font-variant-numeric: tabular-nums; min-width: 36px; text-align: right; }
.curso-rodape { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 2px; }
.curso-aulas { font-size: 13px; color: var(--muted); }
.curso-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--brand-1); }
.curso-cta svg { width: 15px; height: 15px; transition: transform .16s; }
.curso-card:hover .curso-cta svg { transform: translateX(3px); }
.prog-cell { display: flex; align-items: center; gap: 10px; }
.curso-card-static:hover { transform: none; box-shadow: var(--sh-1); border-color: var(--border); }
.trilha-capa { background: linear-gradient(135deg, #ddd6fe, #e0e7ff) !important; }
.trilha-capa .ph { color: #7c3aed; }

/* =================== Gestão do curso =================== */
.secao-titulo { font-size: 18px; margin: 28px 0 14px; }
.form-inline { display: flex; gap: 10px; margin-bottom: 20px; }
.form-inline input { flex: 1; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface-2); font-family: inherit; font-size: 14px; transition: border-color .15s, background .15s; }
.form-inline input:focus { outline: none; border-color: var(--brand-1); background: var(--surface); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }

.modulo { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; margin-bottom: 16px; background: var(--surface); }
.modulo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.modulo-head h3 { font-size: 16px; }

.lista-aulas { list-style: none; margin: 0 0 12px; }
.lista-aulas li { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 6px; font-size: 14px; background: var(--surface-2); }
.aula-info { display: flex; align-items: center; gap: 9px; }
.aula-vazia { color: var(--muted); font-style: italic; border-style: dashed !important; background: transparent !important; }
.btn-link-perigo { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 13px; font-family: inherit; font-weight: 600; }
.btn-link-perigo:hover { text-decoration: underline; }

.add-aula summary, .add-questao summary { cursor: pointer; color: var(--brand-1); font-weight: 600; font-size: 14px; padding: 8px 0; list-style: none; }
.add-aula summary::-webkit-details-marker, .add-questao summary::-webkit-details-marker { display: none; }
.add-questao summary { font-size: 15px; }
.add-questao { margin-top: 18px; }
.form-aula, .form-questao { margin-top: 12px; padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); }
.form-aula .campo, .form-questao .campo { margin-bottom: 14px; }
.select-tipo { width: 100%; padding: 12px 15px; font-size: 15px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); font-family: inherit; cursor: pointer; }
.select-tipo:focus { outline: none; border-color: var(--brand-1); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }

/* =================== Métricas (relatórios) =================== */
.filtros-relatorio { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 20px; }
.filtros-relatorio .campo { margin: 0; }
.filtros-relatorio input[type="date"] { padding: 11px 13px; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); font-family: inherit; font-size: 14px; }
.metricas { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 8px; }
.metrica { padding: 22px; border: 1px solid var(--border); border-radius: var(--r-lg); text-align: center; background: linear-gradient(140deg, #eef2ff, #faf5ff); }
.metrica-num { display: block; font-family: 'Poppins'; font-size: 34px; font-weight: 700; color: var(--brand-1); font-variant-numeric: tabular-nums; }
.metrica-lbl { font-size: 13px; color: var(--muted); }

/* =================== Materiais =================== */
.form-material { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; padding: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); }
.form-material input[type="text"] { flex: 1; min-width: 180px; padding: 11px 13px; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); font-family: inherit; font-size: 14px; }
.form-material input[type="file"] { font-size: 13px; }
.lista-materiais { list-style: none; }
.lista-materiais li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 6px; font-size: 14px; background: var(--surface-2); }
.lista-materiais small { font-weight: 400; }
.side-materiais { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.side-materiais h3 { font-size: 14px; margin-bottom: 10px; }
.side-materiais ul { list-style: none; }
.side-materiais li { margin-bottom: 6px; }
.side-materiais a { color: var(--brand-1); text-decoration: none; font-size: 14px; }
.side-materiais a:hover { text-decoration: underline; }

/* =================== Chips =================== */
.chips-cat { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-cat { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1.5px solid var(--border-strong); border-radius: 999px; cursor: pointer; font-size: 14px; background: var(--surface-2); transition: border-color .15s, background .15s; }
.chip-cat input { cursor: pointer; }
.chip-cat:hover { border-color: var(--brand-1); background: var(--brand-50); }
.filtro-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip-filtro { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-strong); text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 600; transition: all .15s; }
.chip-filtro:hover { border-color: var(--brand-1); color: var(--brand-1); }
.chip-filtro.ativo { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--sh-brand); }

.lista-trilha { margin: 8px 0 0; list-style: none; counter-reset: trilha; }
.lista-trilha li { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 8px; font-size: 14px; background: var(--surface-2); }
.lista-trilha li::before { counter-increment: trilha; content: counter(trilha); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-weight: 700; font-size: 12px; }
.lista-trilha li > .trilha-curso-nome { flex: 1; }

/* =================== Avaliação =================== */
.bloco-config { padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 8px; }
.questao { border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; margin-bottom: 14px; background: var(--surface); }
.questao-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.questao-head h3 { font-size: 16px; }
.lista-alts { list-style: none; margin-top: 10px; }
.lista-alts li { padding: 8px 13px; border-radius: var(--r-sm); margin-bottom: 5px; font-size: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.lista-alts li.correta { background: var(--success-bg); color: var(--success); font-weight: 600; border-color: var(--success-bd); }
.bloco-vf { margin-bottom: 14px; }
.vf-opcoes { display: flex; gap: 20px; margin-top: 8px; }
.alt-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.alt-row input[type="text"] { flex: 1; padding: 11px 13px; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-family: inherit; font-size: 14px; }
.alt-row input[type="text"]::placeholder { color: var(--faint); }
.alt-check { width: 20px; height: 20px; cursor: pointer; flex-shrink: 0; accent-color: var(--brand-1); }

/* Prova (aluno) */
.questao-aluno { padding: 20px; border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 14px; background: var(--surface); }
.q-enunciado { font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.q-dica { font-size: 12px; color: var(--brand-1); margin-bottom: 10px; }
.alt-opcao { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm); margin-bottom: 8px; cursor: pointer; font-size: 14px; transition: background .14s, border-color .14s; }
.alt-opcao:hover { background: var(--brand-50); border-color: #c7d2fe; }
.alt-opcao input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--brand-1); }

/* Resultado */
.resultado-ico { font-size: 54px; margin-bottom: 8px; }
.nota-grande { font-family: 'Poppins'; font-size: 58px; font-weight: 700; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.nota-grande.ok { color: var(--success); }
.nota-grande.fail { color: var(--danger); }
.medalha { display: inline-block; padding: 5px 14px; background: var(--warning-bg); color: var(--warning); border-radius: 999px; font-weight: 700; font-size: 14px; }

/* Comparativo pré × final (evolução) */
.comparativo { margin: 24px auto 4px; max-width: 360px; padding: 20px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-lg); }
.comparativo-titulo { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.comparativo-barras { display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.comp-col { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; }
.comp-bar { width: 46px; height: 110px; border-radius: var(--r-sm); background: var(--border); display: flex; align-items: flex-end; overflow: hidden; }
.comp-fill { width: 100%; border-radius: var(--r-sm) var(--r-sm) 0 0; transition: height .5s ease; min-height: 4px; }
.comp-pre { background: var(--faint); }
.comp-fim { background: var(--brand-1); }
.comp-valor { font-family: 'Poppins'; font-size: 20px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.comp-rotulo { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.2; }
.comp-seta { font-size: 22px; color: var(--faint); padding-bottom: 40px; }
.comp-delta { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.comp-delta.ok { color: var(--success); }

/* Desempenho */
.resumo-medalhas { display: flex; align-items: center; gap: 16px; padding: 20px; background: linear-gradient(140deg, #eef2ff, #faf5ff); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 22px; }
.medalha-grande { font-size: 38px; }
.resumo-medalhas div { display: flex; flex-direction: column; }
.resumo-medalhas strong { font-size: 17px; color: var(--ink); }
.resumo-medalhas small { color: var(--muted); }

/* Desempenho — cards por curso */
.curso-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.curso-card { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-titulo { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; }
.cc-titulo:hover { color: var(--brand-1); }
.cc-prog { display: flex; align-items: center; gap: 10px; }
.cc-prog .barra-progresso { margin: 0; }
.cc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cc-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.cc-stat-lbl { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--faint); }
.cc-stat-val { font-size: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.cc-stat-val.vazio { color: var(--faint); font-weight: 600; }
.cc-stat-sub { font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.cc-evo { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cc-evo-pre { color: var(--faint); }
.cc-evo-seta { color: var(--faint); }
.cc-evo-fim { color: var(--brand-1); }
.cc-evo-delta { font-size: 11px; font-weight: 700; color: var(--muted); }
.cc-evo-delta.ok { color: var(--success); }
.cc-acoes { display: flex; gap: 8px; }
.cc-acoes .btn-acao { flex: 1; text-align: center; }

/* =================== Barra de progresso =================== */
.barra-progresso { height: 9px; background: #e6e9f2; border-radius: 999px; overflow: hidden; margin: 8px 0; }
.barra-fill { height: 100%; background: var(--grad); border-radius: 999px; transition: width .4s ease; }

/* =================== Player =================== */
.player-wrap { display: grid; grid-template-columns: 1fr 330px; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 28px 32px; }
.player-main { background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-2); border: 1px solid var(--border); }
.player-topo { border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 20px; }
.player-topo h1 { font-size: 23px; margin: 8px 0; }
.aula-titulo { font-size: 19px; margin-bottom: 16px; }
.video-frame { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--r-md); overflow: hidden; background: #0b1020; margin-bottom: 20px; box-shadow: var(--sh-2); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame video { object-fit: contain; background: #000; }
.aula-conteudo { white-space: pre-wrap; line-height: 1.75; color: var(--text); margin-bottom: 20px; }
.aula-acoes { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Anotações do aluno (dentro do player-main) */
.anotacoes { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.anot-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.anot-head h3 { font-size: 15px; margin: 0; }
.anot-status { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .15s; }
.anot-status.ok { color: var(--success); }
.anot-status.erro { color: var(--danger); }
.anot-dica { font-size: 12.5px; color: var(--muted); margin: 5px 0 12px; }
.anot-texto { width: 100%; min-height: 150px; resize: vertical; padding: 14px 16px; font-family: inherit; font-size: 14.5px; line-height: 1.65; color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--border-strong); border-radius: var(--r-md); transition: border-color .15s, box-shadow .15s, background .15s; }
.anot-texto:focus { outline: none; border-color: var(--brand-1); background: var(--surface); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.anot-texto::placeholder { color: var(--faint); }
.modulo-acoes { display: inline-flex; align-items: center; gap: 10px; }
.drag-handle, .modulo-handle { cursor: grab; color: var(--faint); user-select: none; padding: 0 4px; font-size: 16px; line-height: 1; }
.drag-handle:active, .modulo-handle:active { cursor: grabbing; }
.sortable-ghost { opacity: .4; }
.sortable-chosen { box-shadow: var(--sh-2); }
.modulo-head h3 { margin-right: auto; }
.lista-aulas li .aula-info { margin-right: auto; }
.aviso-box { padding: 16px; background: var(--warning-bg); color: var(--warning); border: 1px solid var(--warning-bd); border-radius: var(--r-md); margin-bottom: 18px; }

.player-side { background: var(--surface); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-2); border: 1px solid var(--border); align-self: start; position: sticky; top: 24px; }
.player-side h3 { font-size: 15px; margin-bottom: 14px; }
/* Menu de conteúdo — trilha (timeline) */
.mod-bloco { margin-bottom: 6px; padding: 4px; border-radius: var(--r-md); transition: background .15s; }
.mod-bloco.mod-atual { background: var(--surface-2); }
.mod-head { display: flex; align-items: center; gap: 11px; padding: 9px 8px; }
.mod-anel { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(var(--brand-1) calc(var(--pct, 0) * 1%), var(--border-strong) 0); display: grid; place-items: center; color: var(--brand-1); }
.mod-anel::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--surface); }
.mod-bloco.mod-atual .mod-anel::before { background: var(--surface-2); }
.mod-anel.completo { background: var(--brand-1); color: #fff; }
.mod-anel.completo::before { display: none; }
.mod-pct { position: relative; font-size: 9px; font-weight: 700; letter-spacing: -.3px; }
.mod-anel svg { position: relative; width: 15px; height: 15px; }
.mod-titulo { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }

.mod-trilha { list-style: none; position: relative; margin: 2px 0 6px 16px; padding: 0; }
.mod-trilha::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; background: var(--border); }
.trilha-item { position: relative; display: flex; align-items: center; gap: 11px; padding: 7px 8px 7px 0; }
.trilha-ponto { position: relative; z-index: 1; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--faint); display: grid; place-items: center; color: #fff; transition: border-color .14s, background .14s, box-shadow .14s; }
.mod-bloco.mod-atual .trilha-ponto { background: var(--surface-2); }
.trilha-item.feito .trilha-ponto { background: var(--brand-1); border-color: var(--brand-1); }
.trilha-item.feito .ponto-check { width: 10px; height: 10px; }
.trilha-item.ativo .trilha-ponto { border-color: var(--brand-1); box-shadow: 0 0 0 4px var(--brand-50); }
.trilha-item.travado .trilha-ponto { border-color: var(--border-strong); }
.trilha-nome { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; color: var(--text); text-decoration: none; transition: color .12s; }
a.trilha-nome:hover { color: var(--ink); }
.trilha-item.feito .trilha-nome { color: var(--muted); }
.trilha-item.ativo .trilha-nome { color: var(--brand-1); font-weight: 600; }
.trilha-travado { color: var(--faint); cursor: not-allowed; }

.quiz-pill { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border: none; border-radius: 999px; background: var(--brand-1); color: #fff; font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; box-shadow: var(--sh-brand); transition: filter .15s, transform .05s; }
.quiz-pill:hover { filter: brightness(1.08); }
.quiz-pill:active { transform: translateY(1px); }
.quiz-pill svg { width: 14px; height: 14px; }
.aula-ico { font-size: 14px; }
.side-avaliacao { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.aval-bloqueada { font-size: 13px; color: var(--muted); background: var(--surface-2); padding: 12px; border-radius: var(--r-sm); text-align: center; }

/* =================== Responsivo =================== */
@media (max-width: 860px) {
  .player-wrap { grid-template-columns: 1fr; }
  .player-side { order: -1; position: static; }
}
@media (max-width: 860px) {
  .topbar { padding: 12px 18px; }
  .nav-toggle { display: inline-flex; }
  .topbar-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-2); padding: 12px 16px;
  }
  .topbar-nav.aberto { display: flex; }
  .topbar-nav > a, .nav-drop > summary { padding: 11px 12px; }
  .nav-drop { position: static; }
  .nav-menu {
    position: static; box-shadow: none; border: none; border-radius: 0;
    padding: 2px 0 2px 12px; min-width: 0; margin-top: 4px;
    border-left: 2px solid var(--border);
  }
  .topbar-nav form { margin: 6px 0 0; }
  .btn-sair { width: 100%; }
  .dashboard-content { padding: 24px 16px; }
  .painel { padding: 24px 16px; }
  .page-box { padding: 22px 18px; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .page-head { flex-direction: column; }
  .form-inline { flex-direction: column; }
  .atalho { min-width: 0; width: 100%; }
}
@media (max-width: 880px) {
  .login-wrapper { grid-template-columns: 1fr; max-width: 460px; min-height: auto; }
  .brand-panel { display: none; }
  .form-logo-mobile { display: inline-flex; }
  .form-panel { padding: 40px 30px; }
}

/* =================== Login — tema sóbrio (sem roxo) =================== */
.login-page {
  background: #eef1f6; /* neutro, sem glows coloridos */
}
.login-wrapper {
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, .35);
  border: 1px solid #e2e8f0;
}
/* Painel da marca: grafite/slate sólido, sem gradiente colorido */
.brand-panel {
  background: linear-gradient(165deg, #273345 0%, #0f172a 100%);
}
.brand-glow,
.brand-panel::after { display: none; } /* remove os brilhos "de IA" */
.brand-panel h1 { color: #fff; }
.brand-panel p { color: #cbd5e1; opacity: 1; }
.brand-logo { color: #fff; }

/* Botão entrar: azul sólido (sem gradiente roxo) */
.btn-entrar {
  background: #2563eb;
  box-shadow: none;
}
.btn-entrar:hover {
  background: #1d4ed8;
  box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .55);
  filter: none;
}

/* Acentos do formulário de login em azul (não índigo/roxo) */
.login-page .campo input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}
.login-page .esqueci { color: #2563eb; }
.login-page .btn-olho:hover { background: #eff4ff; }
.form-logo-mobile { color: #1e293b; }

/* =================== Modo escuro =================== */
[data-theme="dark"] {
  --brand-1: #818cf8;
  --brand-700: #a5b4fc;
  --brand-50: rgba(99, 102, 241, .16);
  --brand-100: rgba(99, 102, 241, .26);

  --ink: #f1f5f9;
  --text: #cbd5e1;
  --muted: #93a1b5;
  --faint: #6b7a90;
  --bg: #0b1220;
  --surface: #151d2e;
  --surface-2: #1b2438;
  --border: #29344c;
  --border-strong: #3a4763;

  --success: #4ade80; --success-bg: rgba(34, 197, 94, .16); --success-bd: rgba(34, 197, 94, .32);
  --warning: #fbbf24; --warning-bg: rgba(245, 158, 11, .16); --warning-bd: rgba(245, 158, 11, .32);
  --danger: #f87171;  --danger-bg: rgba(239, 68, 68, .16);  --danger-bd: rgba(239, 68, 68, .32);
  --info: #38bdf8;    --info-bg: rgba(56, 189, 248, .16);
  --erro-ink: #f87171;

  --sh-1: 0 1px 2px rgba(0, 0, 0, .35);
  --sh-2: 0 6px 16px -4px rgba(0, 0, 0, .5);
  --sh-3: 0 16px 36px -12px rgba(0, 0, 0, .6);
  --shadow: var(--sh-3);
}

/* Ajustes de componentes com cores fixas (claras) no modo escuro */
[data-theme="dark"] .topbar,
[data-theme="dark"] .adm-topbar { background: rgba(21, 29, 46, .85); }
[data-theme="dark"] .card-capa,
[data-theme="dark"] .curso-capa { background-image: linear-gradient(135deg, #1e2940, #2a2350); }
[data-theme="dark"] .trilha-capa { background: linear-gradient(135deg, #2a2350, #1e2940) !important; }
[data-theme="dark"] .metrica,
[data-theme="dark"] .resumo-medalhas { background: linear-gradient(140deg, #1a2336, #221b3a); }
[data-theme="dark"] .curso-status { background: #0b1220; }
[data-theme="dark"] .tag-admin { background: rgba(124, 58, 237, .24); color: #c4b5fd; }
[data-theme="dark"] .login-page { background: #0b1220; }
[data-theme="dark"] .login-wrapper { border-color: #29344c; }
[data-theme="dark"] .form-logo-mobile { color: var(--brand-1); }

/* SweetAlert2 no escuro */
[data-theme="dark"] .swal2-popup { background: var(--surface); color: var(--text); }
[data-theme="dark"] .swal2-title { color: var(--ink); }
[data-theme="dark"] .swal2-html-container { color: var(--text); }

/* Botão de alternar tema (sol/lua) */
.tema-btn {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: none; background: transparent; cursor: pointer;
  border-radius: var(--r-md); color: var(--muted); font-size: 14.5px; font-weight: 600; font-family: inherit;
  transition: background .14s, color .14s;
}
.tema-btn:hover { background: var(--surface-2); color: var(--ink); }
.tema-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.tema-btn .ico-sol, .tema-btn .t-claro { display: none; }
[data-theme="dark"] .tema-btn .ico-sol, [data-theme="dark"] .tema-btn .t-claro { display: inline; }
[data-theme="dark"] .tema-btn .ico-lua, [data-theme="dark"] .tema-btn .t-escuro { display: none; }

/* Toggle flutuante no login */
.tema-flutua {
  position: fixed; top: 18px; right: 18px; z-index: 50;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 50%; cursor: pointer; color: var(--muted); box-shadow: var(--sh-1);
}
.tema-flutua:hover { color: var(--brand-1); }
.tema-flutua svg { width: 20px; height: 20px; }
.tema-flutua .ico-sol { display: none; }
[data-theme="dark"] .tema-flutua .ico-sol { display: block; }
[data-theme="dark"] .tema-flutua .ico-lua { display: none; }

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =================== Quiz por vídeo =================== */
.quiz-barra { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; flex-wrap: wrap; }
/* Botão Quiz flutuando no canto superior direito do vídeo */
.player-video { position: relative; }
.quiz-flutua { position: absolute; top: 14px; right: 14px; z-index: 5; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.btn-quiz {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: none; border-radius: var(--r-md);
  background: var(--brand-1); color: #fff; font-family: inherit; font-size: 14.5px; font-weight: 600;
  cursor: pointer; box-shadow: var(--sh-brand); transition: filter .15s, transform .05s;
}
.btn-quiz:hover { filter: brightness(1.07); }
.btn-quiz:active { transform: translateY(1px); }
.btn-quiz svg { width: 18px; height: 18px; }
.quiz-contagem {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .25); color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.quiz-dica { font-size: 13px; }

/* Modal */
.quiz-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.quiz-modal[hidden] { display: none; }
.quiz-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px); }
.quiz-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px; max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); padding: 28px 26px;
}
.quiz-x {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; display: grid; place-items: center;
  border: none; background: transparent; color: var(--muted);
  font-size: 17px; border-radius: var(--r-sm); cursor: pointer; transition: background .14s, color .14s;
}
.quiz-x:hover { background: var(--surface-2); color: var(--ink); }
.quiz-passo { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--faint); }
.quiz-enunciado { font-size: 18px; line-height: 1.4; color: var(--ink); margin: 8px 0 18px; padding-right: 24px; }

.quiz-alts { display: flex; flex-direction: column; gap: 10px; }
.quiz-alt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left;
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); color: var(--text); font: inherit; font-size: 14.5px; cursor: pointer;
  transition: border-color .14s, background .14s, color .14s;
}
.quiz-alt:hover:not(:disabled) { border-color: var(--brand-1); background: var(--brand-50); color: var(--ink); }
.quiz-alt:disabled { cursor: default; }
.quiz-alt.correta { border-color: var(--success-bd); background: var(--success-bg); color: var(--success); font-weight: 600; }
.quiz-alt.errada { border-color: var(--danger-bd); background: var(--danger-bg); color: var(--danger); font-weight: 600; }
.quiz-alt.inativa { opacity: .55; }
.quiz-marca { font-weight: 800; flex-shrink: 0; }

.quiz-feedback { margin-top: 16px; font-size: 14px; font-weight: 600; }
.quiz-feedback[hidden] { display: none; }
.quiz-feedback.ok { color: var(--success); }
.quiz-feedback.erro { color: var(--danger); }

.quiz-acoes { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }

.quiz-resumo { text-align: center; padding: 10px 0; }
.quiz-resumo-ico { font-size: 44px; line-height: 1; margin-bottom: 8px; }
.quiz-resumo h3 { font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.quiz-resumo-nota { color: var(--muted); margin-bottom: 6px; }
.quiz-resumo .quiz-acoes { justify-content: center; }

/* =================== Minha conta =================== */
.conta-id { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.conta-avatar-form { margin: 0; }
.conta-avatar { position: relative; display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; cursor: pointer; background: var(--surface-2); border: 1px solid var(--border); }
.conta-avatar img { width: 100%; height: 100%; object-fit: cover; }
.conta-avatar .avatar-iniciais { font-size: 30px; font-weight: 700; color: var(--brand-700); background: var(--brand-100); width: 100%; height: 100%; display: grid; place-items: center; }
.conta-avatar-edit { position: absolute; right: 2px; bottom: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 13px; box-shadow: var(--sh-2); }
.conta-nome { font-size: 20px; margin: 0; }
/* Botão de tema dentro da página Minha conta (não full-width como na sidebar) */
.tema-btn-conta { width: auto; border: 1px solid var(--border); border-radius: var(--r-md); }
/* Avatar nos menus (sidebar/topo) */
.menu-avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--brand-100); color: var(--brand-700); font-weight: 700; font-size: 14px; flex: none; }
.menu-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* =================== Trilha (linha do tempo) =================== */
.trilha-linha { position: relative; max-width: 820px; margin: 28px auto 8px; }
/* Linha reta (usada só no mobile — no desktop fica escondida e o SVG em S assume). */
.trilha-track { display: none; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: var(--border); border-radius: 3px; }
.trilha-fill { position: absolute; top: 0; left: 0; width: 100%; background: #16a34a; border-radius: 3px; transition: height .3s ease; }
/* Curva em S (desktop) — trilho cinza + progresso verde ao longo do caminho. */
.trilha-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.trilha-svg-track, .trilha-svg-fill { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.trilha-svg-track { stroke: var(--border); }
.trilha-svg-fill { stroke: #16a34a; stroke-dasharray: 1; transition: stroke-dashoffset .3s ease; }
/* cada passo tem altura FIXA → nós igualmente espaçados; nó e caixa posicionados em relação ao passo */
.trilha-passo { position: relative; height: 112px; }
.trilha-no { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border); color: var(--muted); font-size: 12px; font-weight: 700; }
/* nós acompanham a curva: levemente para os lados (mesmo lado da caixa), dentro do canal central */
.trilha-passo.lado-esq .trilha-no { left: 44%; }
.trilha-passo.lado-dir .trilha-no { left: 56%; }
.trilha-passo.feito .trilha-no { background: #16a34a; border-color: #16a34a; color: #fff; }
.trilha-box { position: absolute; top: 50%; transform: translateY(-50%); width: 42%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--text); box-shadow: var(--sh-2); transition: border-color .14s; display: flex; align-items: center; gap: 12px; }
.trilha-passo.lado-esq .trilha-box { left: 0; }
.trilha-passo.lado-dir .trilha-box { right: 0; }
.trilha-box:hover { border-color: var(--brand-1); }
.trilha-box-txt { flex: 1; min-width: 0; }
.trilha-box-capa { flex-shrink: 0; width: 56px; height: 42px; object-fit: cover; border-radius: 8px; }
.trilha-box-titulo { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; }
.trilha-box-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.trilha-cert { text-align: center; margin: 20px 0 40px; }
@media (max-width: 640px) {
  .trilha-svg { display: none; }               /* mobile volta pra linha reta */
  .trilha-track { display: block; left: 18px; }
  .trilha-no,
  .trilha-passo.lado-esq .trilha-no,
  .trilha-passo.lado-dir .trilha-no { left: 18px; }
  .trilha-passo .trilha-box,
  .trilha-passo.lado-esq .trilha-box,
  .trilha-passo.lado-dir .trilha-box { left: 44px; right: 0; width: auto; }
}
/* Card de trilha clicável (leva para a linha do tempo) */
.curso-card-link { display: block; text-decoration: none; color: inherit; }
/* Lista de usuários para matricular na trilha */
.lista-matricular { list-style: none; margin: 10px 0 0; padding: 0; max-height: 320px; overflow-y: auto; }
.lista-matricular li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 6px; font-size: 14px; background: var(--surface-2); }
.lista-matricular form { margin: 0; }

/* Busca interna */
.busca-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 24px; }
.busca-form input[type="search"] { flex: 1 1 280px; min-width: 0; padding: 11px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font-family: inherit; font-size: 15px; }
.busca-form select { padding: 11px 12px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font-family: inherit; font-size: 14px; }
.busca-form input[type="search"]:focus, .busca-form select:focus { border-color: var(--brand-1); outline: none; }
.busca-bloco { margin-bottom: 30px; }
.busca-titulo { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0 0 14px; }
.busca-conta { font-size: 12px; font-weight: 700; color: var(--brand-1); background: var(--brand-50); border-radius: 999px; padding: 2px 9px; }
.busca-trecho { color: var(--muted); font-size: 13px; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.busca-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.busca-item a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.busca-item a:hover { border-color: var(--brand-1); box-shadow: var(--sh-1); }
.busca-item-tipo { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-1); background: var(--brand-50); border-radius: 999px; padding: 2px 8px; }
.busca-item-titulo { font-weight: 600; }
.busca-item-meta { color: var(--muted); font-size: 13px; }

/* Notificações — badge no sininho da sidebar */
.notif-badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; line-height: 1; color: #fff; background: var(--danger); border-radius: 999px; }
/* Lista de notificações */
.notif-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.notif-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.notif-item.nao-lida { border-color: var(--brand-1); background: var(--brand-50); }
.notif-ico { font-size: 20px; line-height: 1; flex-shrink: 0; }
.notif-corpo { flex: 1; min-width: 0; }
.notif-titulo { font-weight: 600; display: block; }
a.notif-link { color: var(--ink); text-decoration: none; }
a.notif-link:hover { color: var(--brand-1); }
.notif-msg { margin: 3px 0 4px; color: var(--muted); font-size: 14px; }
.notif-data { font-size: 12px; color: var(--muted); }
.notif-lida-btn { flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--success); border-radius: 50%; cursor: pointer; font-weight: 700; }
.notif-lida-btn:hover { background: var(--surface-2); }
/* Preferências de notificação (tabela em /conta) */
.notif-prefs { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.notif-prefs th, .notif-prefs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.notif-prefs th:not(:first-child), .notif-prefs td:not(:first-child) { text-align: center; width: 90px; }
.notif-prefs thead th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.notif-prefs input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand-1); cursor: pointer; }

/* Gamificação — grade de conquistas */
.conquistas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 10px 0 30px; }
.conquista { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 14px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.conquista-emoji { font-size: 34px; line-height: 1; }
.conquista-nome { font-weight: 600; font-size: 14px; }
.conquista-desc { color: var(--muted); font-size: 12px; }
.conquista.bloqueada { opacity: .55; filter: grayscale(1); }
.conquista.bloqueada .conquista-emoji { filter: grayscale(1); }

/* Feedback — widget de estrelas no player */
.feedback-box { margin: 22px 0 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.fb-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.fb-box-head h3 { margin: 0; font-size: 15px; }
.fb-media { font-size: 13px; color: var(--warning); font-weight: 600; }
.estrelas { display: inline-flex; gap: 2px; margin-bottom: 10px; }
.estrela { background: none; border: none; cursor: pointer; font-size: 26px; line-height: 1; padding: 0 2px; color: var(--border-strong); transition: color .12s, transform .12s; }
.estrela.ativa { color: #f59e0b; }
.estrela:hover { transform: scale(1.12); }
.fb-comentario { display: block; width: 100%; min-height: 70px; resize: vertical; padding: 10px 12px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface-2); color: var(--ink); font-family: inherit; font-size: 14px; margin-bottom: 10px; }
.fb-comentario:focus { border-color: var(--brand-1); outline: none; background: var(--surface); }
/* Feedback — painel admin (distribuição + comentários) */
.fb-distrib { display: grid; gap: 6px; max-width: 420px; margin: 6px 0 24px; }
.fb-distrib-linha { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.fb-distrib-lbl { width: 34px; color: var(--muted); }
.fb-distrib-barra { flex: 1; height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.fb-distrib-fill { display: block; height: 100%; background: #f59e0b; }
.fb-distrib-qtd { width: 28px; text-align: right; color: var(--muted); }
.fb-coment-lista { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.fb-coment { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.fb-coment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; }
.fb-coment-estrelas { color: #f59e0b; letter-spacing: 1px; }
.fb-coment-vazias { color: var(--border-strong); }
.fb-coment-autor { font-weight: 600; }
.fb-coment-meta { color: var(--muted); }
.fb-coment-data { margin-left: auto; color: var(--muted); }
.fb-coment-texto { margin: 6px 0 0; font-size: 14px; }
