/* ==========================================================================
   SPTECH — Pós-graduação (hub)
   Depende de styles.css e course.css (hero, breadcrumb, facts).
   ========================================================================== */

.c-hero__visual--photo img { aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 46% 24px 24px 24px; }

.cert-badge {
  position: absolute;
  left: -6%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 270px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 40px -16px rgba(20, 28, 47, 0.35), 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.cert-badge strong { display: block; font-family: var(--font-display); font-size: 0.92rem; }
.cert-badge .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
}
.cert-badge .ico svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .cert-badge { left: 0; } }

/* --------------------------------------------------------------------------
   Programas
   -------------------------------------------------------------------------- */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.program {
  --p: var(--pink);
  --p-ink: var(--pink);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
}
.program::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px; top: -60px;
  width: 180px; height: 180px;
  border-radius: 0 0 0 100%;
  background: var(--p);
  opacity: 0.12;
}
.program--green { --p: var(--teal); --p-ink: #00808a; }
.program__tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--p) 12%, #fff);
  color: var(--p-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.program h3 {
  margin: 18px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  letter-spacing: -0.03em;
}
.program h3 span { color: var(--p-ink); }
.program__lead { font-size: 1.05rem; }
.program__list { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.program__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.program__list .check {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 8px;
  background: var(--p-ink);
  color: #fff;
}
.program__list .check svg { width: 15px; height: 15px; }
.program__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.program__facts div { padding: 14px; border-radius: 14px; background: var(--bg-soft); }
.program__facts small { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.program__facts strong { display: block; margin-top: 2px; color: var(--ink); font-family: var(--font-display); font-size: 0.95rem; line-height: 1.3; }
.program__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
.program__note { margin-top: 14px; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 900px) { .programs { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Comparativo
   -------------------------------------------------------------------------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th {
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.compare thead th:nth-child(2) { box-shadow: inset 0 4px 0 var(--pink); }
.compare thead th:nth-child(3) { box-shadow: inset 0 4px 0 var(--teal); }
.compare tbody th {
  width: 22%;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare td { color: var(--ink); }

/* --------------------------------------------------------------------------
   Estrutura da pós de Gestão (3 fases)
   -------------------------------------------------------------------------- */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: phase; }
.phase {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.phase__num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px 14px 14px 2px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
}
.phase h3 { margin: 16px 0 12px; font-family: var(--font-display); font-size: 1.15rem; }
.phase ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.phase li { position: relative; padding-left: 16px; }
.phase li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.phase-band {
  margin-top: 16px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-align: center;
}
.phase-band b { color: var(--yellow); }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Líderes pedagógicos
   -------------------------------------------------------------------------- */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.person { text-align: left; }
.person__photo {
  aspect-ratio: 1;
  border-radius: 22px 22px 22px 4px;
  overflow: hidden;
  background: var(--bg-soft);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.person:hover .person__photo img { transform: scale(1.05); }
.person strong { display: block; margin-top: 12px; color: var(--ink); font-family: var(--font-display); font-size: 0.98rem; line-height: 1.25; }
.person span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.86rem; line-height: 1.35; }
@media (max-width: 520px) { .people { grid-template-columns: 1fr 1fr; } }

.cta--navy { background: var(--navy); }

/* --------------------------------------------------------------------------
   Página da pós de Gestão
   -------------------------------------------------------------------------- */

/* Mosaico de líderes no hero */
.mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 440px;
  width: 100%;
  justify-self: center;
}
.mosaic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--bg-soft); }
.mosaic img:nth-child(1) { border-radius: 100% 0 0 0; }
.mosaic img:nth-child(2) { border-radius: 24px 24px 24px 4px; }
.mosaic img:nth-child(3) { border-radius: 24px 4px 24px 24px; }
.mosaic img:nth-child(4) { border-radius: 0 0 100% 0; }
.mosaic::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -7%; top: -7%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
}
.mosaic::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -7%; bottom: -7%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 0 100% 0 0;
  background: var(--pink);
}
.mosaic .cert-badge { left: auto; right: -8%; bottom: 40%; }
@media (max-width: 960px) { .mosaic { max-width: 360px; margin-top: 16px; } }
@media (max-width: 640px) {
  .mosaic { max-width: 280px; }
  .mosaic .cert-badge { right: -12%; bottom: 36%; }
}

/* Diferenciais */
.perks4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk4 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--pink);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.4;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease);
}
.perk4:hover { transform: translateY(-6px); }
.perk4:nth-child(even) { background: var(--navy); }
.perk4 img { width: 72px; height: 72px; object-fit: contain; }
.perk4 b { color: #fff; }
.perk4::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -40px; bottom: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 960px) { .perks4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .perks4 { grid-template-columns: 1fr; } }

/* Como funciona */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how__card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.how__ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--pink) 12%, #fff);
  color: var(--pink);
}
.how__ico svg { width: 24px; height: 24px; }
.how__card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.how__card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.how__slots { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.how__slots li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.how__slots li span { color: var(--muted); font-weight: 500; }
.how__card p { margin-top: 10px; }

.venue {
  position: relative;
  margin-top: 16px;
  min-height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
}
.venue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.venue__body {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 200px;
  padding: 28px;
  background: linear-gradient(90deg, rgba(20, 28, 47, 0.85), rgba(20, 28, 47, 0.2));
  color: rgba(255, 255, 255, 0.85);
}
.venue strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.4rem; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }

/* Outra pós */
.other-pos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--teal) 8%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--teal) 25%, #fff);
}
.other-pos small { color: #00808a; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.other-pos strong { display: block; margin-top: 4px; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; }
