/* ═══════════════════════════════════════════════════════
   Glossário de Liderança — 200 Termos
   SEO · Referência · Editorial
   ═══════════════════════════════════════════════════════ */

.gl-hero { padding: var(--page-top) 0 clamp(3rem,6vw,4.5rem); background: var(--cream); }
.gl-hero h1 { max-width: 600px; margin-bottom: 1rem; }
.gl-hero h1 em { color: var(--gold); }
.gl-hero-sub { max-width: 580px; font-size: clamp(.95rem,1.4vw,1.08rem); color: var(--muted); line-height: 1.7; margin-bottom: 1.8rem; }

.gl-search-wrap { max-width: 480px; }
.gl-search {
  width: 100%;
  padding: .8rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font: 500 .92rem var(--sans);
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.gl-search:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-bg); }

.gl-letters { padding: .8rem 0; background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 40; }
.gl-letters-nav { display: flex; flex-wrap: wrap; gap: .3rem; }
.gl-letter-link {
  padding: .3rem .6rem;
  border-radius: var(--r);
  font: 700 .72rem var(--sans);
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}
.gl-letter-link:hover { color: var(--gold); background: var(--gold-bg); }

.gl-content { padding: clamp(2rem,4vw,3rem) 0; background: var(--white); }
.gl-count { font: 600 .75rem var(--sans); color: var(--quiet); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.5rem; }

.gl-group { margin-bottom: 2rem; scroll-margin-top: 120px; }
.gl-group-letter {
  font: 800 1.8rem var(--serif);
  color: var(--gold);
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold-bg);
  margin-bottom: 1rem;
}

.gl-term {
  display: block;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line-2);
  text-decoration: none;
  transition: background .2s, padding-left .2s;
  position: relative;
}
.gl-term:last-child { border-bottom: none; }
.gl-term:hover { background: var(--cream); padding-left: 1.4rem; }
.gl-term-name {
  font: 700 1rem var(--sans);
  color: var(--ink);
  margin-bottom: .3rem;
}
.gl-term:hover .gl-term-name { color: var(--gold); }
.gl-term-def {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
}
.gl-term-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  color: var(--quiet);
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.gl-term:hover .gl-term-arrow { opacity: 1; transform: translateY(-50%) translateX(3px); }

.gl-empty {
  text-align: center;
  padding: 3rem 0;
  font-size: .95rem;
  color: var(--quiet);
}

.gl-cta {
  padding: clamp(4rem,8vw,6rem) 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.gl-cta h2 { color: var(--white); margin-bottom: .8rem; }
.gl-cta h2 em { color: var(--gold-soft); }
.gl-cta-sub { font-size: .95rem; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 500px; margin: 0 auto 1.5rem; }
.gl-cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.gl-cta .btn-outline { border-color: rgba(255,255,255,.2); color: var(--white); }
.gl-cta .btn-outline:hover { border-color: var(--white); }

/* ═══ Term page ═══ */
.gt-hero { padding: var(--page-top) 0 clamp(2rem,4vw,3rem); background: var(--cream); }
.gt-bread { font-size: .75rem; color: var(--quiet); margin-bottom: 1rem; }
.gt-bread a { color: var(--muted); text-decoration: none; }
.gt-bread a:hover { color: var(--gold); }
.gt-bread span { margin: 0 .3rem; }
.gt-hero h1 { font-size: clamp(1.6rem,3.5vw,2.4rem); }

.gt-content { padding: clamp(2.5rem,5vw,4rem) 0; background: var(--white); }
.gt-layout { display: grid; grid-template-columns: 1fr 280px; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.gt-main { max-width: 680px; }
.gt-definition { font-size: 1.05rem; line-height: 1.78; color: var(--ink-2); margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }

.gt-articles { margin-bottom: 2rem; }
.gt-articles h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.gt-article-link { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .5rem; text-decoration: none; transition: border-color .2s; }
.gt-article-link:hover { border-color: var(--gold-soft); }
.gt-article-link strong { font: 600 .88rem var(--sans); color: var(--ink); }
.gt-article-link span { font-size: .78rem; font-weight: 600; color: var(--gold); white-space: nowrap; margin-left: 1rem; }

.gt-cta-inline { padding: 1.5rem; background: var(--cream); border-radius: var(--r-lg); border: 1px solid var(--line); }
.gt-cta-inline p { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.gt-cta-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.gt-sidebar { position: sticky; top: 100px; }
.gt-related { margin-bottom: 1.5rem; }
.gt-related h3 { font: 700 .82rem var(--sans); color: var(--quiet); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8rem; }
.gt-related a { display: block; padding: .4rem 0; font-size: .88rem; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s; }
.gt-related a:hover { color: var(--gold); }
.gt-back { margin-top: 1rem; }
.gt-back a { font-size: .82rem; font-weight: 600; color: var(--gold); text-decoration: none; }

.gt-definition h2, .gt-context h2, .gt-articles h2, .gt-tools h2 {
  font-size: 1.15rem;
  margin-bottom: .8rem;
  padding-top: 1.5rem;
}
.gt-definition h2 { padding-top: 0; }
.gt-context { margin-bottom: 1.5rem; }
.gt-context p { font-size: .92rem; color: var(--muted); line-height: 1.7; }

.gt-tools { margin-bottom: 1.5rem; }
.gt-tools-grid { display: flex; flex-direction: column; gap: .5rem; }
.gt-tool {
  display: block;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.gt-tool:hover { border-color: var(--gold-soft); background: var(--cream); }
.gt-tool strong { display: block; font: 700 .88rem var(--sans); color: var(--ink); margin-bottom: .15rem; }
.gt-tool span { font-size: .78rem; color: var(--muted); }

@media (max-width: 900px) { .gt-layout { grid-template-columns: 1fr; } .gt-sidebar { position: static; } }
@media (max-width: 640px) {
  .gl-letters-nav { gap: .2rem; }
  .gl-letter-link { padding: .25rem .45rem; font-size: .65rem; }
  .gl-cta-actions { flex-direction: column; align-items: center; }
  .gt-cta-actions { flex-direction: column; }
}
