/* ═══════════════════════════════════════════════════════
   inst-pages.css
   Guardar em: assets/css/inst-pages.css
   Contém todos os estilos exclusivos das páginas
   sobre.html · mensagem.html · documentos.html · imprensa.html
═══════════════════════════════════════════════════════ */

/* ── Page hero ── */
.page-hero {
  background: linear-gradient(135deg, #0d1117 0%, #1a2540 60%, #0057ff 100%);
  padding: 6rem 2rem 4.5rem;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(0, 87, 255, 0.28) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.page-hero .ctr {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 1rem;
}
.page-hero h1 em {
  font-style: normal;
  color: #4df0c5;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 520px;
  margin-top: 0.85rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}
.breadcrumb a {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb .mdi {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumb span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb-current {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
}

/* Item activo no dropdown */
.inst-item-active {
  background: var(--brand-light) !important;
}
.inst-item-active .inst-item-icon {
  background: var(--brand) !important;
  color: #fff !important;
}
.inst-item-active .inst-item-label {
  color: var(--brand) !important;
}

/* ═══ MVV ═══ */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.mvv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
}
.mvv-card:hover {
  box-shadow: 0 16px 40px rgba(0, 87, 255, 0.1);
  transform: translateY(-4px);
}
.mvv-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand);
  margin-bottom: 1rem;
}
.mvv-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.mvv-card p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.75;
}
.mvv-card ul {
  padding-left: 1rem;
  margin-top: 0.5rem;
}
.mvv-card li {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 0.25rem;
}
.mvv-card li::marker {
  color: var(--brand);
}

/* ═══ ORGANOGRAMA ═══ */
.org-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.org-level-cols {
  gap: 2rem;
}
.org-level-wrap {
  gap: 1rem;
}

.org-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.org-v-line {
  width: 2px;
  height: 36px;
  background: var(--border);
}
.org-h-line {
  width: 55%;
  height: 2px;
  background: var(--border);
}
.org-h-wide {
  width: 75%;
}
.org-v-short {
  width: 2px;
  height: 22px;
  background: var(--border);
  margin: 0 auto;
}
.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  text-align: center;
  min-width: 150px;
  max-width: 185px;
  box-shadow: 0 4px 16px rgba(0, 87, 255, 0.05);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.org-card:hover {
  box-shadow: 0 12px 32px rgba(0, 87, 255, 0.12);
  transform: translateY(-3px);
}
.org-ceo {
  border-color: var(--brand);
  border-width: 2px;
}
.org-card-sm {
  min-width: 130px;
  max-width: 150px;
  padding: 0.85rem 1rem;
}

.org-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 1.1rem;
  color: var(--brand);
}
.org-avatar-lg {
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
  background: var(--brand);
  color: #fff;
}
.org-avatar-sm {
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
}
.org-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.org-role {
  font-size: 0.7rem;
  color: var(--brand);
  font-weight: 600;
  margin-top: 2px;
}
.org-dept {
  font-size: 0.68rem;
  color: var(--slate);
  margin-top: 2px;
}

/* ═══ MENSAGEM ═══ */
.msg-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.msg-author {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
  position: sticky;
  top: 100px;
  box-shadow: 0 8px 32px rgba(0, 87, 255, 0.07);
}
.msg-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2.2rem;
  color: #fff;
}
.msg-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.msg-role {
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 600;
  margin-top: 3px;
}
.msg-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-top: 0.75rem;
}
.msg-contacts {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}
.msg-contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--slate);
}
.msg-contact-row i {
  color: var(--brand);
  font-size: 1rem;
  flex-shrink: 0;
}

.msg-body blockquote {
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  border-left: 3px solid var(--brand);
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
}
.msg-body p {
  font-size: 0.93rem;
  color: var(--slate);
  line-height: 1.9;
  margin-bottom: 1.1rem;
}

.msg-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  background: var(--mist);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.75rem 0;
}
.msg-pillar {
  text-align: center;
}
.msg-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.25rem;
  color: var(--brand);
}
.msg-pillar-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.msg-pillar-sub {
  font-size: 0.68rem;
  color: var(--slate);
  margin-top: 2px;
}

.msg-sig {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.msg-sig-intro {
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.msg-sig-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.msg-sig-role {
  font-size: 0.8rem;
  color: var(--brand);
}

/* ═══ DOCUMENTOS ═══ */
.doc-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.doc-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 1rem;
}
.doc-search i {
  color: var(--slate);
}
.doc-search input {
  border: none;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
  width: 200px;
}
.doc-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.doc-fbtn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}
.doc-fbtn.active,
.doc-fbtn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.1rem;
}
.doc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.doc-card:hover {
  box-shadow: 0 12px 32px rgba(0, 87, 255, 0.1);
  transform: translateY(-3px);
}
.doc-top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.doc-ico {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.doc-ico-pdf {
  background: #fef2f2;
  color: #dc2626;
}
.doc-ico-docx {
  background: #eff6ff;
  color: #2563eb;
}
.doc-ico-xls {
  background: #f0fdf4;
  color: #16a34a;
}
.doc-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.doc-desc {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.6;
  margin-top: 0.25rem;
}
.doc-meta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}
.doc-meta span {
  font-size: 0.7rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.doc-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  background: var(--brand-light);
  color: var(--brand);
}
.doc-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
}
.doc-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.doc-btn-pri {
  background: var(--brand);
  color: #fff;
  border: none;
}
.doc-btn-pri:hover {
  background: var(--brand-dark);
}
.doc-btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand-light);
}
.doc-btn-ghost:hover {
  background: var(--brand-light);
}

/* ═══ IMPRENSA ═══ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.news-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.news-fbtn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}
.news-fbtn.active,
.news-fbtn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.news-featured {
  background: linear-gradient(135deg, #0d1117, #1a2540);
  border-radius: 14px;
  padding: 2.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}
.news-featured::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(0, 87, 255, 0.25);
  pointer-events: none;
}
.news-feat-cat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4df0c5;
  margin-bottom: 0.75rem;
}
.news-feat-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.news-feat-excerpt {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.news-feat-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.news-feat-meta span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.news-feat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.news-feat-btn:hover {
  background: var(--brand-dark);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  gap: 1rem;
  cursor: pointer;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.08);
  transform: translateY(-2px);
}
.news-card-img {
  width: 84px;
  height: 68px;
  border-radius: 8px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.7rem;
  color: var(--brand);
}
.news-card-body {
  flex: 1;
}
.news-card-cat {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.35rem;
}
.news-card-title {
  font-size: 0.845rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.news-card-meta {
  font-size: 0.7rem;
  color: var(--slate);
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.news-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Sidebar */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 100px;
}
.sb-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem;
}
.sb-box h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sb-rec {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.sb-rec-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--brand);
  opacity: 0.22;
  flex-shrink: 0;
  line-height: 1;
}
.sb-rec-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.sb-rec-date {
  font-size: 0.68rem;
  color: var(--slate);
  margin-top: 2px;
}
.sb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sb-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  background: var(--mist);
  color: var(--slate);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.sb-tag:hover {
  background: var(--brand-light);
  color: var(--brand);
  border-color: var(--brand-light);
}
.sb-newsletter {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: none;
}
.sb-newsletter h4 {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.sb-newsletter p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}
.sb-newsletter input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
  outline: none;
}
.sb-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.sb-newsletter button {
  width: 100%;
  background: #fff;
  color: var(--brand);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.2s;
}
.sb-newsletter button:hover {
  background: var(--brand-light);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .msg-grid {
    grid-template-columns: 1fr;
  }
  .msg-author {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    text-align: left;
    align-items: center;
  }
  .msg-avatar {
    margin: 0;
  }
  .msg-contacts {
    grid-column: 1/-1;
  }
  .msg-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-sidebar {
    position: static;
  }
  .org-h-line {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 5rem 1.5rem 3.5rem;
  }
  .org-level-cols {
    gap: 1rem;
  }
  .org-card {
    min-width: 125px;
  }
  .org-h-line {
    width: 90%;
  }
  .msg-author {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .msg-avatar {
    margin: 0 auto;
  }
  .msg-contacts {
    text-align: left;
  }
  .msg-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
