.governanca-page {
  background:
    radial-gradient(circle at top left, rgba(35, 120, 208, 0.12), transparent 32%),
    linear-gradient(180deg, #f5f8fc 0%, #edf3fa 100%);
}

.governanca-shell {
  position: relative;
  overflow: hidden;
}

.governanca-shell::before,
.governanca-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
}

.governanca-shell::before {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -120px;
  background: rgba(30, 129, 229, 0.14);
}

.governanca-shell::after {
  width: 300px;
  height: 300px;
  bottom: 40px;
  left: -90px;
  background: rgba(3, 28, 72, 0.08);
}

.governanca-shell > .container {
  position: relative;
  z-index: 1;
}

.governanca-intro {
  max-width: 940px;
}

.governanca-intro-card {
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(5, 42, 92, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(10, 36, 78, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.governanca-intro-card > *:last-child {
  margin-bottom: 0;
}

.governanca-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.governanca-anchor-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 63, 129, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #12396d;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(5, 31, 70, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.governanca-anchor-pill:hover {
  color: #0f5fba;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(5, 31, 70, 0.1);
}

.governanca-sections {
  display: grid;
  gap: 2.2rem;
}

.governanca-section {
  scroll-margin-top: 140px;
  padding: 1.7rem;
  border: 1px solid rgba(4, 35, 76, 0.09);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(0, 21, 57, 0.96), rgba(0, 59, 162, 0.88));
  box-shadow: 0 18px 46px rgba(7, 32, 73, 0.08);

  color: #fff !important;
}

.governanca-section + .governanca-section {
  margin-top: 0;
}

.governanca-section-head {
  margin-bottom: 1.7rem;
}

.governanca-section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: #0d82db;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.governanca-section-title {
  margin: 0;
  color: #fcfeff;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
}

.governanca-section-description {
  margin: 0.7rem 0 0;
  color: #dbecff;
  font-size: 1rem;
}

.governanca-card {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: row;
  align-items: start; /* vertical */
  gap: 1.15rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(9, 52, 108, 0.09);
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #baddff 100%);
  box-shadow: 0 12px 30px rgba(8, 34, 74, 0.06);
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.governanca-card:hover,
.governanca-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(13, 130, 219, 0.28);
  box-shadow: 0 20px 38px rgba(8, 34, 74, 0.12);
  outline: none;
}

.governanca-card-media {
  flex: 0 0 auto;
}

.governanca-card-body {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.governanca-card-topline {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 130, 219, 0.1);
  color: #0d75c5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.governanca-card-name {
  display: block;
  color: var(--cor-pri-3);
  line-height: 0.95;
  font-weight: 700;
  text-transform: none;
}

.governanca-card-name-first {
  display: block;
  color: var(--cor-pri-3);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 0.95;
  font-weight: 700;
  text-transform: none;
}

.governanca-card-name-rest {
  display: block;
  color: var(--cor-pri-3);
  font-size: clamp(0.98rem, 1.45vw, 1.28rem);
  line-height: 1.05;
  font-weight: 700;
}

.governanca-card-name:empty {
  display: none;
}

.governanca-card-avatar {
  flex: 0 0 auto;
  width: 118px;
  height: 118px;
  min-width: 118px;
  min-height: 118px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(13, 130, 219, 0.12),
    rgba(13, 130, 219, 0.04)
  );
  border: 2px solid rgba(13, 130, 219, 0.12);
  box-shadow: 0 10px 20px rgba(8, 34, 74, 0.08);
}

.governanca-card-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Garantir que a foto 'vaze' um pouco para que o recorte do circulo seja perfeito */
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.governanca-card:hover .governanca-card-avatar-img {
  transform: scale(1.1);
}

.governanca-card-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d82db;
  font-size: 1.35rem;
}

.governanca-card-role {
  color: #506b89;
  font-size: 0.98rem;
  line-height: 1.4;
}

.governanca-card-action {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #0c63b7;
  font-size: 0.9rem;
  font-weight: 700;
}

.governanca-modal-template {
  display: none;
}

.governanca-modal .modal-dialog {
  max-width: 1180px;
  margin: clamp(24px, 5vh, 48px) auto;
}

.governanca-modal .modal-content {
  border: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%);
  box-shadow: 0 28px 60px rgba(4, 23, 55, 0.24);
  height: 75dvh;
  max-height: 75dvh;
  overflow: hidden;
}

.governanca-modal .modal-body {
  padding: 0 1rem 1rem;
  height: 100%;
  overflow: hidden;
}

.governanca-modal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  height: 100%;
}

.governanca-modal-aside,
.governanca-modal-main {
  min-height: 0;
}

.governanca-modal-aside {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #0f2f55 0%, #18477a 100%);
  color: #fff;
  height: 100%;
}

.governanca-modal-photo-wrap {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 5;
  width: min(320px, 100%);
  margin: 0 auto;
}

.governanca-modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: rgba(255, 255, 255, 0.02);
}

.governanca-modal-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.88);
}

.governanca-modal-group {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.governanca-modal-name {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.05;
  font-weight: 800;
  text-transform: none;
}

.governanca-modal-role {
  margin: 0.6rem 0 0;
  color: rgba(236, 244, 255, 0.9);
  font-size: 1rem;
  line-height: 1.65;
}

.governanca-meta-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.governanca-meta-item {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.governanca-meta-item dt {
  margin: 0 0 0.35rem;
  color: rgba(188, 219, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.governanca-meta-item dd {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

.governanca-modal-main {
  display: flex;
  flex-direction: column;
  padding: 1rem 0.3rem 1rem 0.1rem;
  min-height: 0;
  height: 100%;
}

.governanca-modal-main-head {
  padding: 0.5rem 0 0.8rem;
}

.governanca-modal-main-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #0d82db;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.governanca-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.governanca-modal-bio {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(8, 46, 96, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  color: #425f7f;
  font-size: 1.08rem;
  line-height: 1.95;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow-y: auto;
}

.governanca-modal-bio > *:last-child {
  margin-bottom: 0;
}

.governanca-modal-bio h2,
.governanca-modal-bio h3,
.governanca-modal-bio h4 {
  color: #17385f;
}

.governanca-modal-bio p {
  font-size: 1.08rem;
  line-height: 1.95;
}

.governanca-modal-bio::-webkit-scrollbar {
  width: 10px;
}

.governanca-modal-bio::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(12, 99, 183, 0.3);
}

@media (max-width: 991px) {
  .governanca-modal .modal-dialog {
    margin: 50px auto;
  }

  .governanca-modal .modal-content {
    height: auto;
    max-height: calc(100dvh - 100px);
    overflow: hidden;
  }

  .governanca-section {
    padding: 1.35rem;
  }

  .governanca-modal-layout {
    grid-template-columns: 1fr;
  }

  .governanca-modal .modal-body {
    padding: 0 0.9rem 0.9rem;
    height: auto;
    overflow-y: auto;
  }

  .governanca-modal-aside {
    padding: 0.95rem;
  }

  .governanca-modal-photo-wrap {
    width: min(220px, 100%);
  }

  .governanca-modal-main {
    padding: 0.2rem 0 0.4rem;
  }

  .governanca-meta-grid {
    grid-template-columns: 1fr;
  }

  .governanca-modal-bio {
    min-height: 0;
    overflow: visible;
  }
}

@media (max-width: 575px) {
  .governanca-anchor-nav {
    gap: 0.65rem;
  }

  .governanca-anchor-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .governanca-card {
    gap: 0.95rem;
    padding: 1rem;
  }

  .governanca-card-avatar {
    width: 96px;
    height: 96px;
    min-width: 96px;
    min-height: 96px;
  }

  .governanca-card-name-first {
    font-size: 1.25rem;
  }

  .governanca-card-name-rest {
    font-size: 0.95rem;
  }

  .governanca-modal .modal-dialog {
    margin: 50px auto;
  }

  .governanca-modal .modal-content {
    height: auto;
    max-height: calc(100dvh - 100px);
    border-radius: 22px;
  }

  .governanca-modal-aside,
  .governanca-modal-bio {
    border-radius: 18px;
  }

  .governanca-modal-layout {
    gap: 0.8rem;
  }

  .governanca-modal-photo-wrap {
    width: min(180px, 100%);
  }

  .governanca-modal-bio {
    padding: 1.1rem 1rem;
    overflow: visible;
  }
}

@media (max-height: 860px) {
  .governanca-modal .modal-dialog {
    margin: 16px auto;
  }

  .governanca-modal .modal-content {
    height: min(75dvh, calc(100dvh - 32px));
    max-height: min(75dvh, calc(100dvh - 32px));
  }

  .governanca-modal-layout {
    /* grid-template-columns: 1fr; */
    gap: 0.9rem;
  }

  .governanca-modal-aside {
    padding: 0.95rem;
  }

  .governanca-modal-photo-wrap {
    max-height: 220px;
  }

  .governanca-modal-main {
    padding: 0.1rem 0 0.4rem;
  }
}

@media (max-width: 991px) and (max-height: 860px) {
  .governanca-modal .modal-content {
    height: auto;
    max-height: calc(100dvh - 100px);
  }
}

.governanca-meta-item--light {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(8, 46, 96, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(7, 32, 73, 0.05);
}

.governanca-meta-item--light dt {
  color: #6c87a6;
}

.governanca-meta-item--light dd {
  color: #183c66;
}
