/* Páginas públicas de instrumento (uma por escala) — conteúdo indexável.
   Compartilhado pelas 31 páginas; o player continua noindex. */

#main-nav { background: rgba(27,58,107,0.97) !important; box-shadow: 0 2px 20px rgba(27,58,107,0.3); }

.inst-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  padding: 5rem 0 2.5rem; color: #fff;
}
.inst-hero .back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.55); font-size: 0.82rem; text-decoration: none; margin-bottom: 1.25rem;
}
.inst-hero .back-link:hover { color: #fff; }
.inst-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 0.6rem;
}
.inst-hero h1 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 800; margin-bottom: 0.6rem; }
.inst-hero .lead { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 620px; line-height: 1.65; }

.inst-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.inst-fact {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px; padding: 0.4rem 0.8rem; font-size: 0.8rem; color: rgba(255,255,255,0.85);
}
.inst-fact strong { color: #fff; font-weight: 700; }

.inst-body { padding: 2.5rem 0 4rem; background: var(--light); color: #1e293b; }
.inst-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 1.75rem 2rem; margin-bottom: 1.25rem;
}
.inst-card h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.9rem; padding-bottom: 0.7rem; border-bottom: 1px solid #f1f5f9;
}
.inst-card h3 { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin: 1.3rem 0 0.5rem; }
.inst-card p, .inst-card li { font-size: 0.9rem; color: #374151; line-height: 1.75; }
.inst-card p { margin-bottom: 0.7rem; }

.inst-callout { border-radius: 10px; padding: 0.85rem 1.1rem; margin: 0.9rem 0; font-size: 0.87rem; line-height: 1.65; }
.inst-info  { background: #EFF6FF; border-left: 3px solid var(--accent); color: #1e40af; }
.inst-warn  { background: #FFFBEB; border-left: 3px solid #F59E0B; color: #92400e; }

.inst-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 0.75rem 0; }
.inst-table th {
  background: #f1f5f9; color: #475569; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.55rem 0.75rem; text-align: left;
}
.inst-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.inst-table tr:last-child td { border-bottom: none; }
.inst-table .num { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); }
.table-scroll { overflow-x: auto; }

.sig-chip {
  display: inline-block; padding: 0.12rem 0.55rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap;
}
.sig-dmcs    { background: #dcfce7; color: #15803d; }
.sig-mudanca { background: #DBEAFE; color: var(--navy); }

.inst-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  border-radius: 14px; padding: 1.5rem 1.75rem; margin-bottom: 1.25rem;
}
.inst-cta .cta-text { flex: 1 1 260px; }
.inst-cta h2 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; border: none; padding: 0; }
.inst-cta p { color: rgba(255,255,255,0.7); font-size: 0.86rem; margin: 0; }
.inst-cta .btn-apply {
  background: var(--orange); color: #fff; border: none; border-radius: 10px;
  padding: 0.7rem 1.5rem; font-weight: 700; font-size: 0.92rem; text-decoration: none;
  white-space: nowrap; transition: filter 0.15s;
}
.inst-cta .btn-apply:hover { filter: brightness(1.08); color: #fff; }

.inst-ref { font-size: 0.83rem; color: #374151; line-height: 1.7; margin-bottom: 0.7rem; padding-left: 1.4rem; text-indent: -1.4rem; }
.inst-ref a { color: var(--accent); text-decoration: none; word-break: break-word; }
.inst-ref a:hover { text-decoration: underline; }

.inst-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.75rem; margin-top: 0.5rem; }
.inst-related a {
  display: block; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 0.8rem 1rem; text-decoration: none; transition: border-color 0.15s, background 0.15s;
}
.inst-related a:hover { border-color: var(--navy); background: #EFF6FF; }
.inst-related .r-abbr { font-weight: 700; color: var(--navy); font-size: 0.88rem; }
.inst-related .r-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; margin-top: 0.15rem; }

@media (max-width: 767px) {
  .inst-card { padding: 1.35rem 1.15rem; }
  .inst-hero { padding: 4.5rem 0 2rem; }
}
