/* Pós-Graduação FAEDI — vitrine e páginas internas. */
.pos-page {
  color: var(--color-text);
  background: #f7faf8;
}

.pos-page .pos-main,
.pos-page .pos-course-main {
  min-width: 0;
}

.pos-hero,
.pos-course-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(31, 216, 151, 0.3), transparent 27%),
    linear-gradient(125deg, #052f27 0%, #075c43 52%, #0aa66c 100%);
}

.pos-hero::after,
.pos-course-hero::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -14rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.pos-hero-grid,
.pos-course-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.pos-eyebrow,
.pos-kicker,
.pos-area {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pos-eyebrow {
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.pos-kicker,
.pos-area {
  padding: 0.42rem 0.72rem;
  color: #066445;
  background: #e7f7f0;
}

.pos-hero h1,
.pos-course-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.65rem, 5.8vw, 5rem);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.pos-course-hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.35rem);
}

.pos-hero-copy > p,
.pos-course-hero-copy > p {
  max-width: 720px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.pos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.pos-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.pos-button:hover {
  transform: translateY(-2px);
}

.pos-button--light {
  color: #075c3f;
  background: #fff;
  box-shadow: 0 14px 28px rgba(4, 31, 24, 0.18);
}

.pos-button--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.pos-button--outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.pos-button--primary {
  color: #fff;
  background: #075c3f;
}

.pos-hero-panel,
.pos-course-fact {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(2, 54, 40, 0.64);
  box-shadow: 0 24px 60px rgba(3, 31, 24, 0.22);
  backdrop-filter: blur(10px);
}

.pos-hero-icon,
.pos-course-fact-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.85rem;
}

.pos-hero-panel strong,
.pos-course-fact strong {
  display: block;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.pos-hero-panel p,
.pos-course-fact p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.pos-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.pos-hero-tags span {
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 700;
}

.pos-intro,
.pos-course-overview {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #fff;
}

.pos-intro-grid,
.pos-course-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.pos-intro h2,
.pos-course-overview h2,
.pos-section-heading h2,
.pos-detail-card h2,
.pos-course-info-card h2,
.pos-cta h2 {
  margin: 0.8rem 0 0;
  color: #10231d;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.pos-intro h2,
.pos-course-overview h2,
.pos-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.pos-intro-copy p,
.pos-course-overview-copy p {
  margin: 0 0 1rem;
  color: #52625c;
  font-size: 1.08rem;
  line-height: 1.75;
}

.pos-intro-copy p:last-child,
.pos-course-overview-copy p:last-child {
  margin-bottom: 0;
}

.pos-courses,
.pos-other-courses {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: #f1f7f4;
}

.pos-section-heading {
  max-width: 790px;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.pos-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.pos-section-heading--center .pos-kicker {
  margin-right: auto;
  margin-left: auto;
}

.pos-section-heading > p {
  margin: 1rem 0 0;
  color: #586861;
  font-size: 1.06rem;
  line-height: 1.65;
}

.pos-course-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  align-items: stretch;
}

.pos-course-card {
  grid-column: span 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid #dce8e2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(12, 45, 35, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pos-course-media {
  width: calc(100% + 3rem);
  aspect-ratio: 1 / 1;
  margin: -1.5rem -1.5rem 1.25rem;
  overflow: hidden;
  border-radius: 19px 19px 14px 14px;
  background: #edf3f0;
}

.pos-course-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 480ms cubic-bezier(.22, 1, .36, 1);
}

.pos-course-card:nth-last-child(-n + 2) {
  grid-column: span 2;
}

.pos-course-card:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.pos-course-card:last-child {
  grid-column: 4 / span 2;
}

.pos-course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 166, 107, 0.35);
  box-shadow: 0 20px 42px rgba(12, 45, 35, 0.11);
}

.pos-course-card:hover .pos-course-media img {
  transform: scale(1.025);
}

.pos-course-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.pos-course-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #075c3f, #0eac70);
  box-shadow: 0 12px 24px rgba(8, 135, 87, 0.18);
  font-size: 1.45rem;
}

.pos-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  color: #4e625a;
  background: #f0f5f2;
  font-size: 0.82rem;
  font-weight: 700;
}

.pos-course-card .pos-area {
  margin: 0;
  font-size: 0.7rem;
}

.pos-course-card h3 {
  margin: 0;
  color: #0d3e2e;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.pos-course-card > p {
  margin: 0.85rem 0 1.25rem;
  color: #596a63;
  line-height: 1.6;
}

.pos-course-card > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: #075c3f;
  font-weight: 800;
  text-decoration: none;
}

.pos-course-card > a i {
  transition: transform 180ms ease;
}

.pos-course-card > a:hover i {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .pos-course-media img {
    transition: none;
  }
}

.pos-difference {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #fff;
}

.pos-difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pos-difference-grid article {
  padding: 1.5rem;
  border: 1px solid #e1eae5;
  border-radius: 18px;
  text-align: center;
}

.pos-difference-grid article > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 16px;
  color: #075c3f;
  background: #e7f7f0;
  font-size: 1.35rem;
}

.pos-difference-grid h3 {
  margin: 0;
  color: #15382c;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
}

.pos-difference-grid p {
  margin: 0.65rem 0 0;
  color: #5a6b64;
  line-height: 1.55;
}

.pos-cta {
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
  background: #fff;
}

.pos-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(125deg, #073f31, #07855a);
  box-shadow: 0 24px 50px rgba(7, 91, 62, 0.2);
}

.pos-cta-card > div {
  max-width: 750px;
}

.pos-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.pos-cta p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Página interna do curso */
.pos-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.pos-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.pos-breadcrumb a:hover {
  color: #fff;
}

.pos-breadcrumb i {
  font-size: 0.65rem;
}

.pos-course-hero-grid {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.pos-course-hero-copy .pos-button {
  margin-top: 1.75rem;
}

.pos-course-fact small {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pos-course-details {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #f1f7f4;
}

.pos-course-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.pos-detail-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid #dce8e2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 45, 35, 0.07);
}

.pos-detail-card--accent {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #073f31, #07855a);
}

.pos-detail-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: #075c3f;
  background: #e7f7f0;
  font-size: 1.4rem;
}

.pos-detail-card--accent .pos-detail-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.pos-detail-card h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.pos-detail-card--accent h2 {
  color: #fff;
}

.pos-detail-card ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.pos-detail-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #50625b;
  line-height: 1.5;
}

.pos-detail-card li i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #075c3f;
  background: #e7f7f0;
  font-size: 0.65rem;
}

.pos-detail-card--accent li {
  color: rgba(255, 255, 255, 0.86);
}

.pos-detail-card--accent li i {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.pos-course-info {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: #fff;
}

.pos-course-info-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid #dce8e2;
  border-radius: 20px;
  background: #f7faf8;
}

.pos-info-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #075c3f;
  background: #e3f4ec;
  font-size: 1.4rem;
}

.pos-course-info-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.pos-course-info-card p {
  margin: 0.45rem 0 0;
  color: #586861;
  line-height: 1.55;
}

.pos-other-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pos-other-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem;
  border: 1px solid #dce8e2;
  border-radius: 16px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pos-other-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 166, 107, 0.35);
  box-shadow: 0 14px 28px rgba(12, 45, 35, 0.09);
}

.pos-other-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: #07855a;
}

.pos-other-card small {
  color: #607069;
}

.pos-other-card h3 {
  margin: 0.2rem 0 0;
  color: #14392c;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
}

.pos-other-card > i {
  color: #07855a;
}

.pos-all-link {
  display: table;
  margin: 2rem auto 0;
  color: #075c3f;
  font-weight: 800;
}

.pos-not-found {
  padding: 6rem 0;
  text-align: center;
}

.pos-not-found .container > i {
  color: #07855a;
  font-size: 3rem;
}

.pos-not-found h1 {
  margin: 1rem 0 0.5rem;
  color: #15382c;
}

.pos-not-found p {
  margin: 0;
  color: #5a6b64;
}

.pos-not-found a {
  display: inline-flex;
  margin-top: 1.2rem;
  padding: 0.75rem 1rem;
  border-radius: 9px;
  color: #fff;
  background: #075c3f;
  font-weight: 800;
}

@media (max-width: 960px) {
  .pos-hero-grid,
  .pos-course-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pos-hero-panel,
  .pos-course-fact {
    max-width: 620px;
  }

  .pos-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pos-course-card,
  .pos-course-card:nth-last-child(-n + 2) {
    grid-column: auto;
  }

  .pos-course-card:last-child {
    grid-column: 1 / -1;
  }

  .pos-other-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pos-course-info-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pos-course-info-card .pos-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .pos-hero-grid,
  .pos-course-hero-grid {
    padding: 3.5rem 0;
  }

  .pos-hero h1,
  .pos-course-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .pos-intro-grid,
  .pos-course-overview-grid,
  .pos-course-details-grid,
  .pos-difference-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pos-course-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pos-course-card:last-child {
    grid-column: auto;
  }

  .pos-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .pos-course-info-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .pos-info-icon {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .pos-hero-actions,
  .pos-hero-actions .pos-button,
  .pos-course-hero-copy .pos-button,
  .pos-cta-card .pos-button {
    width: 100%;
  }

  .pos-hero-panel,
  .pos-course-fact,
  .pos-course-card,
  .pos-detail-card,
  .pos-cta-card {
    border-radius: 16px;
  }

  .pos-breadcrumb {
    padding-top: 1.4rem;
  }
}
