﻿.about-psm {
  position: relative;
  padding: 72px 0 84px;
  background:
    radial-gradient(circle at 12% 15%, rgba(56, 166, 221, 0.08), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
}

.about-psm::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(31, 157, 214, 0.08);
}

.about-psm__main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: stretch;
}

.about-psm__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #075fae;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.about-psm__title {
  margin-bottom: 24px;
  color: var(--color-primary);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.about-psm__title span {
  color: #168fd0;
}

.about-psm__text {
  max-width: 650px;
  color: #30445e;
  font-size: 0.91rem;
  line-height: 1.65;
}

.about-psm__text p + p {
  margin-top: 14px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.about-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 168px;
  padding: 22px;
  border: 1px solid #dceaf5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 7px 18px rgba(8, 74, 126, 0.06);
  cursor: pointer;
  outline: none;
  overflow: visible;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.about-pillar::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: calc(100% - 28px);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(207, 249, 255, 0.18) 0%, #d7fbff 18%, #9aefff 50%, #d7fbff 82%, rgba(207, 249, 255, 0.18) 100%);
  box-shadow:
    0 0 10px rgba(125, 233, 255, 0.7),
    0 0 22px rgba(74, 194, 255, 0.34),
    0 10px 24px rgba(41, 141, 210, 0.18);
  transform: translateX(-50%);
  pointer-events: none;
}

.about-pillar::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  transition: transform 0.35s ease;
}

.about-pillar__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #075fae;
  background: #e8f5fc;
  box-shadow: 0 6px 14px rgba(7, 95, 174, 0.12);
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.about-pillar__icon svg {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease;
}

.about-pillar__icon-image {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.about-pillar h3 {
  margin-bottom: 7px;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 0.3s ease, transform 0.3s ease;
}

.about-pillar p {
  color: #4e6076;
  font-size: 0.75rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.about-pillar__text--justify-center {
  width: 100%;
  max-width: 29ch;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-family);
  text-align: justify;
  text-align-last: center;
  text-justify: inter-word;
  font-size: 0.79rem;
  line-height: 1.52;
  letter-spacing: -0.01em;
  word-spacing: -0.04em;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.about-pillar__highlight {
  font-weight: inherit;
  text-decoration-line: underline;
  text-decoration-color: #79d8ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.about-pillar__text--valores {
  max-width: 27.5ch;
  font-size: 0.775rem;
  line-height: 1.48;
  letter-spacing: -0.012em;
  word-spacing: -0.05em;
}

.about-pillar:hover,
.about-pillar:focus-visible,
.about-pillar.is-active {
  border-color: #168fd0;
  background: linear-gradient(145deg, #075fae 0%, #003d7d 100%);
  box-shadow: 0 18px 34px rgba(0, 67, 126, 0.24);
  transform: translateY(-8px);
}

.about-pillar:hover::after,
.about-pillar:focus-visible::after,
.about-pillar.is-active::after {
  transform: scale(1);
}

.about-pillar:hover::before,
.about-pillar:focus-visible::before,
.about-pillar.is-active::before {
  box-shadow:
    0 0 12px rgba(125, 233, 255, 0.88),
    0 0 28px rgba(74, 194, 255, 0.48),
    0 12px 26px rgba(41, 141, 210, 0.24);
}

.about-pillar:hover .about-pillar__icon,
.about-pillar:focus-visible .about-pillar__icon,
.about-pillar.is-active .about-pillar__icon {
  color: #075fae;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 31, 69, 0.2);
  transform: translateY(-3px) scale(1.06);
}

.about-pillar:hover .about-pillar__icon svg,
.about-pillar:focus-visible .about-pillar__icon svg,
.about-pillar.is-active .about-pillar__icon svg {
  transform: rotate(-5deg) scale(1.05);
}

.about-pillar:hover .about-pillar__icon-image,
.about-pillar:focus-visible .about-pillar__icon-image,
.about-pillar.is-active .about-pillar__icon-image {
  transform: rotate(-14deg) scale(1.08);
}

.about-pillar:hover h3,
.about-pillar:focus-visible h3,
.about-pillar.is-active h3 {
  color: #fff;
  transform: translateX(3px);
}

.about-pillar:hover p,
.about-pillar:focus-visible p,
.about-pillar.is-active p {
  color: rgba(255, 255, 255, 0.86);
}

.about-pillars--page {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  gap: 20px;
}

.about-pillars--page .about-pillar {
  width: 100%;
  min-height: 228px;
  padding: 26px 32px;
}

.about-pillars--page .about-pillar__icon {
  width: 62px;
  height: 62px;
}

.about-pillars--page .about-pillar h3 {
  font-size: 1.08rem;
}

.about-pillars--page .about-pillar p {
  font-size: 0.86rem;
}

.about-pillars.is-reveal-ready {
  overflow: visible;
}

.about-pillars.is-reveal-ready .about-pillar {
  opacity: 0;
  transition:
    opacity 1.25s ease,
    transform 1.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.about-pillars.is-reveal-ready .about-pillar:nth-child(odd) {
  transform: translateX(-150px) scale(0.96);
}

.about-pillars.is-reveal-ready .about-pillar:nth-child(even) {
  transform: translateX(150px) scale(0.96);
}

.about-pillars.is-reveal-ready .about-pillar:nth-child(3),
.about-pillars.is-reveal-ready .about-pillar:nth-child(4) {
  transition-delay: 0.18s;
}

.about-pillars.is-reveal-ready.is-visible .about-pillar {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.about-pillars.is-visible .about-pillar:hover,
.about-pillars.is-visible .about-pillar:focus-visible,
.about-pillars.is-visible .about-pillar.is-active {
  transform: translateY(-8px) scale(1.03);
}

.about-psm__image {
  min-height: 510px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent 70%, rgba(0, 76, 135, 0.08)),
    url("../../assets/images/shared/backgrounds/psm-painel-bg.jpg") 63% center / cover no-repeat;
  box-shadow: 0 20px 50px rgba(15, 78, 129, 0.14);
}

.coordinators {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  padding: 18px 14px;
  border: 1px solid #deebf4;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(26, 81, 125, 0.08);
  overflow: hidden;
}

.coordinators__header {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.coordinators__header span {
  color: #075fae;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.coordinators__header p {
  margin-top: 10px;
  max-width: 920px;
  color: #526579;
  font-size: 0.9rem;
  line-height: 1.65;
}

.coordinators__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.coordinator-card {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(79, 195, 255, 0.32);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 10px 26px rgba(26, 81, 125, 0.08),
    0 0 20px rgba(79, 195, 255, 0.2),
    inset 0 0 24px rgba(79, 195, 255, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.coordinator-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 90% 60% at 50% 28%, rgba(79, 195, 255, 0.28) 0%, rgba(79, 195, 255, 0.08) 42%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.coordinator-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 195, 255, 0.55);
  box-shadow:
    0 16px 34px rgba(26, 81, 125, 0.14),
    0 0 32px rgba(79, 195, 255, 0.38),
    inset 0 0 30px rgba(79, 195, 255, 0.12);
}

.coordinator-card__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(170px, 18vw, 220px);
  padding: 0;
  object-fit: contain;
  object-position: center bottom;
  background: #ffffff;
  mix-blend-mode: multiply;
}

.coordinator-card__body {
  position: relative;
  z-index: 1;
  padding: 8px 8px 10px;
}

.coordinator-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 800;
  line-height: 1.15;
}

.coordinator-card strong {
  display: block;
  margin-top: 3px;
  color: #075fae;
  font-size: clamp(0.6rem, 0.75vw, 0.68rem);
  line-height: 1.2;
}

.coordinator-card p {
  color: #596b7e;
  font-size: 0.65rem;
  line-height: 1.45;
}

/* Paginas internas */

.internal-content > .container {
  width: min(calc(100vw - 48px), 1280px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.about-hero .container {
  text-align: left !important;
}

.about-hero h1 {
  max-width: 920px;
  font-size: clamp(2.9rem, 5vw, 4.7rem);
  line-height: 1.03;
}

.about-hero h1 span {
  display: block;
  width: 100%;
  text-align: left;
  text-align-last: left;
}

.about-hero h1 span:last-child {
  text-align-last: left;
}

.about-hero p {
  max-width: 760px;
  font-size: 0.95rem;
  line-height: 1.75;
  text-align: justify !important;
}

.about-hero p u {
  text-decoration-color: #4fc3ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.about-hero .internal-hero__eyebrow,
.about-hero h1 {
  display: block;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

.about-hero p {
  display: block;
  margin-left: 0 !important;
  margin-right: auto !important;
}

@media (max-width: 768px) {
  .coordinators {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .coordinators__grid {
    min-width: 620px;
  }
}

@media (max-width: 900px) {
  .about-pillars--page {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .about-pillars,
  .about-pillars--page {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-pillar,
  .about-pillars--page .about-pillar {
    width: min(100%, 280px);
    margin-inline: auto;
    padding: 30px;
    min-height: 220px;
  }

  .about-pillar::before {
    width: calc(100% - 24px);
    bottom: -5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-pillars.is-reveal-ready .about-pillar,
  .about-pillars.is-reveal-ready .about-pillar:nth-child(odd),
  .about-pillars.is-reveal-ready .about-pillar:nth-child(even) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Modo escuro — sobre */
:root[data-theme="dark"] .internal-page {
  background: #07111f;
}

:root[data-theme="dark"] .internal-hero.about-hero {
  background:
    linear-gradient(110deg, rgba(2, 28, 62, 0.97) 0%, rgba(4, 74, 118, 0.9) 52%, rgba(7, 17, 31, 0.98) 100%),
    url("../../assets/images/shared/backgrounds/psm-painel-bg.jpg") center / cover no-repeat;
}

:root[data-theme="dark"] .internal-hero__eyebrow {
  color: #4fc3ff;
}

:root[data-theme="dark"] .about-hero p u {
  text-decoration-color: #4fc3ff;
}

:root[data-theme="dark"] .internal-content {
  background:
    radial-gradient(circle at 12% 15%, rgba(79, 195, 255, 0.08), transparent 28%),
    #07111f;
}

:root[data-theme="dark"] .about-pillar {
  background: rgba(11, 23, 40, 0.94);
  border-color: rgba(79, 195, 255, 0.24);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(79, 195, 255, 0.1);
}

:root[data-theme="dark"] .about-pillar::before {
  background: linear-gradient(90deg, rgba(79, 195, 255, 0.08) 0%, #4fc3ff 50%, rgba(79, 195, 255, 0.08) 100%);
  box-shadow:
    0 0 12px rgba(79, 195, 255, 0.45),
    0 0 24px rgba(0, 134, 212, 0.22);
}

:root[data-theme="dark"] .about-pillar__icon {
  color: #7bd4ff;
  background: rgba(79, 195, 255, 0.14);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .about-pillar h3 {
  color: #e8f2ff;
}

:root[data-theme="dark"] .about-pillar p {
  color: #a9bdd4;
}

:root[data-theme="dark"] .about-pillar__highlight {
  text-decoration-color: #4fc3ff;
}

:root[data-theme="dark"] .about-pillar:hover,
:root[data-theme="dark"] .about-pillar:focus-visible,
:root[data-theme="dark"] .about-pillar.is-active {
  border-color: #4fc3ff;
  background: linear-gradient(145deg, #075fae 0%, #003d7d 100%);
  box-shadow:
    0 18px 34px rgba(0, 67, 126, 0.35),
    0 0 24px rgba(79, 195, 255, 0.2);
}

:root[data-theme="dark"] .about-pillar:hover .about-pillar__icon,
:root[data-theme="dark"] .about-pillar:focus-visible .about-pillar__icon,
:root[data-theme="dark"] .about-pillar.is-active .about-pillar__icon {
  color: #075fae;
  background: #fff;
}

:root[data-theme="dark"] .coordinators {
  background: rgba(11, 23, 40, 0.92);
  border-color: rgba(79, 195, 255, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .coordinators__header span {
  color: #7bd4ff;
}

:root[data-theme="dark"] .coordinators__header p {
  color: #a9bdd4;
}

:root[data-theme="dark"] .coordinator-card {
  background: rgba(11, 23, 40, 0.96);
  border-color: rgba(79, 195, 255, 0.32);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(79, 195, 255, 0.15),
    inset 0 0 24px rgba(79, 195, 255, 0.06);
}

:root[data-theme="dark"] .coordinator-card::before {
  background: radial-gradient(ellipse 90% 60% at 50% 28%, rgba(79, 195, 255, 0.22) 0%, rgba(79, 195, 255, 0.06) 42%, transparent 72%);
}

:root[data-theme="dark"] .coordinator-card:hover {
  border-color: rgba(79, 195, 255, 0.55);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(79, 195, 255, 0.28),
    inset 0 0 30px rgba(79, 195, 255, 0.1);
}

:root[data-theme="dark"] .coordinator-card__photo {
  background: #ffffff;
  mix-blend-mode: normal;
  filter: brightness(1.06) contrast(1.03);
}

:root[data-theme="dark"] .coordinator-card h3 {
  color: #e8f2ff;
}

