/* ============================================================
   CENTRO DE CONHECIMENTO DA GESTAÇÃO — glossario.css
   Design: moderno, minimalista, mobile-first
   ============================================================ */

/* ── VARIÁVEIS ─────────────────────────────────────────────── */
:root {
  --glos-purple:  #6B2D8B;
  --glos-purple2: #7c3aed;
  --glos-pink:    #db2777;
  --glos-text:    #1f2937;
  --glos-muted:   #6b7280;
  --glos-border:  #e5e7eb;
  --glos-bg:      #f9fafb;
  --glos-white:   #ffffff;
  --glos-radius:  14px;
  --glos-shadow:  0 2px 12px rgba(0,0,0,.07);
  --glos-font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── RESET BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--glos-font);
  color: var(--glos-text);
  background: var(--glos-bg);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ── NAVBAR ────────────────────────────────────────────────── */
.glos-navbar {
  background: #fff;
  border-bottom: 1px solid var(--glos-border);
  position: sticky;
  top: 0;
  z-index: 500;
  padding: 0;
}
.glos-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}
.glos-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: .95rem;
  color: var(--glos-text);
  white-space: nowrap;
}
.glos-brand-icon { font-size: 1.4rem; }
.glos-nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.glos-nav-links a {
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  color: var(--glos-muted);
  transition: all .15s;
}
.glos-nav-links a:hover { background: var(--glos-bg); color: var(--glos-purple); }
.glos-navbar-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--glos-text);
  cursor: pointer;
  padding: 4px 8px;
}
.glos-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 0 16px;
  gap: 2px;
  border-top: 1px solid var(--glos-border);
}
.glos-mobile-menu.open { display: flex; }
.glos-mobile-menu a {
  padding: 10px 8px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--glos-text);
  border-radius: 8px;
}
.glos-mobile-menu a:hover { background: var(--glos-bg); color: var(--glos-purple); }

/* ── BREADCRUMB ────────────────────────────────────────────── */
.glos-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--glos-border);
  padding: 10px 0;
}
.glos-bc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .8rem;
  color: var(--glos-muted);
}
.glos-bc-list li + li::before { content: '/'; margin-right: 4px; opacity: .4; }
.glos-bc-list a { color: var(--glos-purple); text-decoration: none; }
.glos-bc-list a:hover { text-decoration: underline; }

/* ── HERO ──────────────────────────────────────────────────── */
.glos-hero {
  background: linear-gradient(135deg, #4c1d95 0%, #6B2D8B 50%, #db2777 100%);
  padding: 60px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.glos-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.glos-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.glos-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}
.glos-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 12px;
}
.glos-hero-subtitle {
  font-size: 1rem;
  opacity: .88;
  max-width: 520px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.glos-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.glos-stat-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--glos-radius);
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.glos-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.glos-stat-label { font-size: .75rem; opacity: .8; }

/* ── BUSCA ─────────────────────────────────────────────────── */
.glos-search-wrap { position: relative; }
.glos-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  overflow: hidden;
}
.glos-search-box--sm { box-shadow: none; border: 1.5px solid var(--glos-border); }
.glos-search-icon {
  position: absolute;
  left: 16px;
  color: var(--glos-muted);
  font-size: .95rem;
  pointer-events: none;
}
.glos-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 14px 14px 44px;
  font-size: .95rem;
  font-family: var(--glos-font);
  color: var(--glos-text);
  background: transparent;
}
.glos-search-btn {
  background: var(--glos-purple);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  transition: opacity .15s;
}
.glos-search-btn:hover { opacity: .9; }
.glos-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--glos-border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  overflow: hidden;
  z-index: 300;
  display: none;
}
.glos-search-results.visible { display: block; }
.glos-search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  text-decoration: none;
  color: var(--glos-text);
  border-bottom: 1px solid #f3f4f6;
  transition: background .1s;
}
.glos-search-result-item:last-child { border-bottom: none; }
.glos-search-result-item:hover { background: var(--glos-bg); }
.glos-search-result-nome { font-weight: 700; font-size: .9rem; flex: 1; }
.glos-search-result-resumo { font-size: .78rem; color: var(--glos-muted); display: block; }
.glos-search-result-cat { font-size: .72rem; font-weight: 700; white-space: nowrap; }
.glos-search-empty { padding: 20px; text-align: center; color: var(--glos-muted); font-size: .88rem; }
.glos-search-hints {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: .78rem;
  opacity: .8;
}
.glos-hint-tag {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: 100px;
  padding: 3px 10px;
  text-decoration: none;
  font-size: .75rem;
  transition: background .15s;
}
.glos-hint-tag:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ── SEÇÕES ────────────────────────────────────────────────── */
.glos-section { padding: 60px 0; }
.glos-section-alt { background: #fff; }
.glos-section-header { margin-bottom: 32px; }
.glos-section-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--glos-text);
  margin: 0 0 6px;
}
.glos-section-sub { color: var(--glos-muted); font-size: .9rem; margin: 0; }

/* ── CATEGORIAS ────────────────────────────────────────────── */
.glos-cat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--cat-fundo, #f5eefb);
  border-radius: var(--glos-radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all .2s;
  height: 100%;
}
.glos-cat-card:hover {
  border-color: var(--cat-cor, var(--glos-purple));
  transform: translateY(-2px);
  box-shadow: var(--glos-shadow);
}
.glos-cat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cat-cor, var(--glos-purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.glos-cat-nome { font-weight: 700; font-size: .88rem; color: var(--glos-text); display: block; }
.glos-cat-total { font-size: .75rem; color: var(--glos-muted); }

/* ── ÍNDICE A–Z ────────────────────────────────────────────── */
.glos-az-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.glos-az-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid var(--glos-border);
  color: var(--glos-text);
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  position: relative;
}
.glos-az-btn:hover:not(.disabled) {
  background: var(--glos-purple);
  color: #fff;
  border-color: var(--glos-purple);
  transform: translateY(-2px);
}
.glos-az-btn.active {
  background: var(--glos-purple);
  color: #fff;
  border-color: var(--glos-purple);
}
.glos-az-btn.disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}
.glos-az-count {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--glos-pink);
  color: #fff;
  font-size: .55rem;
  font-weight: 800;
  border-radius: 100px;
  padding: 1px 4px;
  line-height: 1.4;
}
.glos-az-nav { background: #fff; border-bottom: 1px solid var(--glos-border); padding: 12px 0; }
.glos-az-grid--compact .glos-az-btn { width: 36px; height: 36px; font-size: .82rem; }

/* ── CARDS DE TERMOS ───────────────────────────────────────── */
.glos-termo-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  border-radius: var(--glos-radius);
  border: 1.5px solid var(--glos-border);
  text-decoration: none;
  color: var(--glos-text);
  height: 100%;
  transition: all .2s;
}
.glos-termo-card:hover {
  border-color: var(--glos-purple);
  box-shadow: 0 6px 24px rgba(107,45,139,.12);
  transform: translateY(-3px);
  color: var(--glos-text);
}
.glos-termo-card--destaque {
  background: linear-gradient(135deg, #fdf4ff, #fff);
  border-color: #e9d5ff;
}
.glos-termo-card--sm { padding: 14px; }
.glos-termo-cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.glos-termo-nome {
  font-size: 1rem;
  font-weight: 800;
  color: var(--glos-text);
  margin: 0 0 8px;
  line-height: 1.3;
}
.glos-termo-resumo {
  font-size: .85rem;
  color: var(--glos-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 12px;
}
.glos-termo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  color: var(--glos-muted);
  margin-top: auto;
}
.glos-termo-link { color: var(--glos-purple); font-weight: 700; }
.glos-termo-views { color: var(--glos-muted); }

/* ── LISTA ─────────────────────────────────────────────────── */
.glos-list { display: flex; flex-direction: column; gap: 2px; }
.glos-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--glos-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--glos-text);
  transition: all .15s;
}
.glos-list-item:hover { background: #f5eefb; border-color: #e9d5ff; color: var(--glos-text); }
.glos-list-num {
  font-size: .75rem;
  font-weight: 900;
  color: var(--glos-muted);
  min-width: 24px;
  text-align: right;
}
.glos-list-info { flex: 1; min-width: 0; }
.glos-list-nome { font-weight: 700; font-size: .9rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glos-list-cat  { font-size: .75rem; font-weight: 600; display: block; }
.glos-list-resumo { font-size: .78rem; color: var(--glos-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.glos-list-views { font-size: .75rem; color: var(--glos-muted); white-space: nowrap; }
.glos-list-data { font-size: .72rem; color: var(--glos-muted); white-space: nowrap; }

/* ── FILTROS ───────────────────────────────────────────────── */
.glos-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.glos-filter-btn {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--glos-border);
  background: #fff;
  font-size: .8rem;
  font-weight: 700;
  color: var(--glos-muted);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--glos-font);
}
.glos-filter-btn:hover,
.glos-filter-btn.active {
  background: var(--btn-cor, var(--glos-purple));
  color: #fff;
  border-color: var(--btn-cor, var(--glos-purple));
}

/* ── EMPTY STATE ───────────────────────────────────────────── */
.glos-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--glos-muted);
}
.glos-empty-icon { font-size: 3.5rem; margin-bottom: 16px; display: block; }
.glos-empty h2 { font-size: 1.2rem; font-weight: 700; color: var(--glos-text); }

/* ── PAGINAÇÃO ─────────────────────────────────────────────── */
.glos-paginacao .page-link {
  border-radius: 8px !important;
  border: 1.5px solid var(--glos-border);
  color: var(--glos-purple);
  font-weight: 700;
  margin: 0 2px;
}
.glos-paginacao .page-item.active .page-link {
  background: var(--glos-purple);
  border-color: var(--glos-purple);
  color: #fff;
}

/* ── LETRA HERO ────────────────────────────────────────────── */
.glos-letra-hero {
  background: linear-gradient(135deg, #4c1d95, #6B2D8B);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.glos-letra-badge {
  display: inline-block;
  width: 80px; height: 80px;
  background: rgba(255,255,255,.15);
  border-radius: 20px;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 80px;
  text-align: center;
  margin-bottom: 12px;
}
.glos-letra-title { font-size: 1.5rem; font-weight: 900; margin: 0 0 8px; }
.glos-letra-sub { opacity: .8; font-size: .9rem; }

/* ── CATEGORIA HERO ────────────────────────────────────────── */
.glos-cat-hero {
  background: var(--cat-fundo, #f5eefb);
  border-bottom: 3px solid var(--cat-cor, var(--glos-purple));
  padding: 40px 0;
  text-align: center;
}
.glos-cat-hero-icon {
  width: 72px; height: 72px;
  background: var(--cat-cor, var(--glos-purple));
  color: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.glos-cat-hero-title { font-size: 1.6rem; font-weight: 900; color: var(--glos-text); margin: 0 0 8px; }
.glos-cat-hero-desc { color: var(--glos-muted); max-width: 540px; margin: 0 auto 12px; font-size: .9rem; }
.glos-cat-hero-stats { font-size: .82rem; color: var(--glos-muted); }

/* ── ARTIGO / TERMO ────────────────────────────────────────── */
.glos-termo-wrap { padding-top: 32px; padding-bottom: 60px; }
.glos-termo-article { }
.glos-termo-header { margin-bottom: 28px; }
.glos-termo-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.glos-termo-h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--glos-text);
  margin: 0 0 16px;
}
.glos-termo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: var(--glos-muted);
  margin-bottom: 16px;
}
.glos-termo-meta i { color: var(--glos-purple); }

/* ── COMPARTILHAMENTO ──────────────────────────────────────── */
.glos-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.glos-share-label { font-size: .78rem; font-weight: 700; color: var(--glos-muted); }
.glos-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--glos-font);
  transition: opacity .15s;
}
.glos-share-btn:hover { opacity: .85; }
.glos-share-btn--wa   { background: #25d366; color: #fff; }
.glos-share-btn--fb   { background: #1877f2; color: #fff; }
.glos-share-btn--copy { background: #fff; color: var(--glos-text); border: 1.5px solid var(--glos-border); }
.glos-share-bottom { text-align: center; padding: 28px; background: #f5eefb; border-radius: var(--glos-radius); margin-top: 32px; }
.glos-share-bottom p { font-weight: 700; color: var(--glos-purple); margin-bottom: 12px; }

/* ── DEFINIÇÃO RÁPIDA ──────────────────────────────────────── */
.glos-definicao-rapida {
  background: linear-gradient(135deg, #fdf4ff, #f5eefb);
  border: 2px solid #e9d5ff;
  border-radius: var(--glos-radius);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.glos-dr-label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--glos-purple);
  margin-bottom: 8px;
}
.glos-dr-texto {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--glos-text);
  font-weight: 500;
  margin: 0;
}

/* ── CONTEÚDO ──────────────────────────────────────────────── */
.glos-conteudo {
  line-height: 1.8;
  font-size: .97rem;
  margin-bottom: 28px;
  color: var(--glos-text);
}
.glos-conteudo h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--glos-text);
  margin: 32px 0 12px;
  padding-top: 8px;
  border-top: 2px solid var(--glos-border);
}
.glos-conteudo h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--glos-text);
  margin: 24px 0 8px;
}
.glos-conteudo p { margin: 0 0 16px; }
.glos-conteudo ul, .glos-conteudo ol { padding-left: 20px; margin: 0 0 16px; }
.glos-conteudo li { margin-bottom: 6px; }
.glos-conteudo strong { color: var(--glos-purple); }
.glos-conteudo a { color: var(--glos-purple); text-decoration: underline dotted; }
.glos-conteudo blockquote {
  border-left: 4px solid var(--glos-purple);
  padding: 12px 16px;
  margin: 20px 0;
  background: #f5eefb;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4c1d95;
}

/* ── CAIXAS DE INFO ────────────────────────────────────────── */
.glos-info-box {
  border-radius: var(--glos-radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: .92rem;
  line-height: 1.7;
}
.glos-info-titulo {
  font-size: .9rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.glos-info-box p { margin: 0; }
.glos-info-box--blue { background: #eff6ff; border: 1px solid #bfdbfe; }
.glos-info-box--blue .glos-info-titulo { color: #1d4ed8; }
.glos-info-box--green { background: #f0fdf4; border: 1px solid #bbf7d0; }
.glos-info-box--green .glos-info-titulo { color: #16a34a; }
.glos-info-box--red { background: #fef2f2; border: 1px solid #fecaca; }
.glos-info-box--red .glos-info-titulo { color: #dc2626; }

/* ── FAQ ───────────────────────────────────────────────────── */
.glos-faq { margin-bottom: 28px; }
.glos-faq-titulo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--glos-text);
  margin: 0 0 16px;
}
.glos-accordion-item {
  border: 1.5px solid var(--glos-border) !important;
  border-radius: 10px !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.glos-accordion-btn {
  font-weight: 700 !important;
  font-size: .92rem !important;
  color: var(--glos-text) !important;
  background: #fff !important;
  padding: 14px 16px !important;
}
.glos-accordion-btn:not(.collapsed) { color: var(--glos-purple) !important; background: #f5eefb !important; }
.glos-accordion-btn::after { filter: hue-rotate(270deg); }
.glos-accordion-body {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--glos-muted);
  padding: 14px 16px !important;
}

/* ── FONTES ────────────────────────────────────────────────── */
.glos-fontes { margin-bottom: 28px; padding: 20px; background: var(--glos-bg); border-radius: var(--glos-radius); }
.glos-fontes-titulo { font-size: .9rem; font-weight: 800; color: var(--glos-text); margin: 0 0 12px; }
.glos-fontes-list { list-style: none; padding: 0; margin: 0; }
.glos-fontes-list li { font-size: .82rem; color: var(--glos-muted); padding: 4px 0; border-bottom: 1px solid var(--glos-border); }
.glos-fontes-list a { color: var(--glos-purple); }
.glos-fonte-ano { opacity: .7; }

/* ── REVISÃO ───────────────────────────────────────────────── */
.glos-revisao {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: .83rem;
  color: #15803d;
  margin-bottom: 24px;
}
.glos-revisao-icon { font-size: 1.2rem; }

/* ── NAVEGAÇÃO TERMOS ──────────────────────────────────────── */
.glos-nav-term { margin: 28px 0; }
.glos-nav-btn {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--glos-border);
  border-radius: var(--glos-radius);
  text-decoration: none;
  color: var(--glos-text);
  transition: all .15s;
  height: 100%;
}
.glos-nav-btn:hover { border-color: var(--glos-purple); color: var(--glos-text); background: #f5eefb; }
.glos-nav-btn--next { text-align: right; }
.glos-nav-dir { font-size: .72rem; color: var(--glos-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.glos-nav-nome { font-size: .9rem; font-weight: 700; color: var(--glos-purple); }

/* ── SIDEBAR ───────────────────────────────────────────────── */
.glos-sidebar-card {
  background: #fff;
  border: 1px solid var(--glos-border);
  border-radius: var(--glos-radius);
  padding: 20px;
  margin-bottom: 20px;
}
.glos-sidebar-title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--glos-text);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
}
.glos-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.glos-sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .85rem;
  color: var(--glos-text);
  transition: background .1s;
}
.glos-sidebar-links a:hover { background: var(--glos-bg); color: var(--glos-purple); }
.glos-sidebar-link-nome { font-weight: 600; flex: 1; }
.glos-sidebar-link-cat { font-size: .72rem; font-weight: 700; }
.glos-sidebar-rank { font-size: .75rem; font-weight: 800; color: var(--glos-muted); min-width: 20px; }
.glos-sidebar-more {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--glos-purple);
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  border: 1.5px dashed #e9d5ff;
}
.glos-sidebar-more:hover { background: #f5eefb; }
.glos-az-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.glos-az-mini a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--glos-bg);
  border: 1px solid var(--glos-border);
  font-size: .75rem;
  font-weight: 800;
  color: var(--glos-text);
  text-decoration: none;
  transition: all .1s;
}
.glos-az-mini a:hover { background: var(--glos-purple); color: #fff; border-color: var(--glos-purple); }

/* ── LINKAGEM AUTOMÁTICA ───────────────────────────────────── */
.glos-auto-link {
  color: var(--glos-purple);
  text-decoration: underline dotted;
  font-weight: 600;
}
.glos-auto-link:hover { text-decoration: underline; }

/* ── FOOTER ────────────────────────────────────────────────── */
.glos-footer {
  background: #1e1b4b;
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
  margin-top: 60px;
}
.glos-footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.glos-footer-desc { font-size: .85rem; line-height: 1.7; opacity: .7; }
.glos-footer-title { font-weight: 800; font-size: .85rem; color: #fff; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.glos-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.glos-footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .85rem; transition: color .15s; }
.glos-footer-links a:hover { color: #fff; }
.glos-footer-az { display: flex; flex-wrap: wrap; gap: 4px; }
.glos-footer-az a { color: rgba(255,255,255,.5); font-size: .8rem; font-weight: 700; text-decoration: none; }
.glos-footer-az a:hover { color: #fff; }
.glos-footer-disclaimer { font-size: .78rem; line-height: 1.6; opacity: .6; font-style: italic; }
.glos-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  opacity: .5;
  flex-wrap: wrap;
  gap: 8px;
}
.glos-footer-bottom p { margin: 0; }

/* ── RESPONSIVIDADE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .glos-hero { padding: 40px 0; }
  .glos-hero-subtitle { font-size: .9rem; }
  .glos-section { padding: 40px 0; }
  .glos-cat-card { padding: 12px; gap: 8px; }
  .glos-cat-icon { width: 36px; height: 36px; font-size: .85rem; }
  .glos-cat-nome { font-size: .8rem; }
  .glos-termo-h1 { font-size: 1.4rem; }
  .glos-termo-meta { gap: 8px; font-size: .72rem; }
  .glos-share-bar { gap: 6px; }
  .glos-dr-texto { font-size: .95rem; }
  .glos-footer-bottom { flex-direction: column; text-align: center; }
  .glos-az-btn { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .glos-hero { padding: 30px 0; }
  .glos-search-input { font-size: .9rem; padding: 12px 12px 12px 40px; }
  .glos-az-btn { width: 34px; height: 34px; font-size: .8rem; }
  .glos-termo-card { padding: 14px; }
  .glos-definicao-rapida { padding: 14px 16px; }
}

/* ── ANIMAÇÕES ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.glos-termo-article { animation: fadeUp .3s ease; }

/* ── PRINT ─────────────────────────────────────────────────── */
@media print {
  .glos-navbar, .glos-breadcrumb, .glos-share-bar,
  .glos-share-bottom, .glos-nav-term, aside,
  .glos-footer { display: none !important; }
  .glos-termo-wrap .col-lg-8 { width: 100% !important; }
  .glos-conteudo { font-size: 11pt; }
}
