.equipe-page {
  padding-top: 80px;
}

.equipe-section {
  padding: 70px 0;
}

.equipe-section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: #90b4c8;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-header .section-line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #22a5e5, #0d7abf);
  border-radius: 2px;
  margin: 1rem auto 0;
}

.vagas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.vaga-card {
  background: linear-gradient(160deg, #0d1b2a 0%, #0a1628 100%);
  border: 1px solid rgba(34, 165, 229, 0.15);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.vaga-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 165, 229, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.vaga-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 165, 229, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 165, 229, 0.12);
}

.vaga-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.vaga-card-desc {
  color: #90b4c8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.vaga-card-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btn-vaga {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-vaga.primary {
  background: linear-gradient(135deg, #22a5e5, #0d7abf);
  color: #ffffff;
  border: none;
}

.btn-vaga.primary:hover {
  background: linear-gradient(135deg, #2db5ff, #1589d0);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(34, 165, 229, 0.35);
  color: #fff;
}

/* ============ EQUIPE ATUAL ============ */
#staffGroupsGrid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.staff-group-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.staff-group-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.staff-group-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 165, 229, 0.4), transparent);
}

.staff-group-heading-text {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: #ffffff;
  white-space: nowrap;
}

.staff-members-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.member-card {
  width: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
  flex-shrink: 0;
  position: relative;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6),
    0 0 28px rgba(var(--cargo-rgb, 34 165 229) / 0.3);
}

.member-card.cargo-direcao {
  --cargo-rgb: 46 154 254;

}

.member-card.cargo-subdirecao {
  --cargo-rgb: 0 255 255;
}

.member-card.cargo-administrador {
  --cargo-rgb: 255 0 0;
}

.member-card.cargo-moderador {
  --cargo-rgb: 41 138 8;
}

.member-card.cargo-default {
  --cargo-rgb: 34 165 229;
}

/* Skin */
.member-skin-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 10px;
  overflow: hidden;
}

.member-skin {
  width: 95%;
  height: auto;
  image-rendering: pixelated;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
}

.member-info {
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 86%;
  pointer-events: none;
}

.member-badge {
  display: block;
  width: 100%;
  padding: 9px 26px 9px 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  box-shadow: 2px 3px 16px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.badge-direcao {
  background: linear-gradient(90deg, #1a7bd4, #2E9AFE);
  color: #ffffff;
}

.badge-subdirecao {
  background: linear-gradient(90deg, #00cccc, #00FFFF);
  color: #ffffff;
}

.badge-administrador {
  background: linear-gradient(90deg, #cc0000, #FF0000);
  color: #ffffff;
}

.badge-moderador {
  background: linear-gradient(90deg, #1d6606, #298A08);
  color: #ffffff;
}

.badge-default {
  background: linear-gradient(90deg, #0d7abf, #22a5e5);
  color: #e0f2fe;
}

/* ============ SKELETON ============ */
.sk-member-card {
  width: 140px;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1b2a;
  border: 1px solid rgba(34, 165, 229, 0.08);
  flex-shrink: 0;
}

.sk-member-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(90deg, #0d1b2a 25%, #152335 50%, #0d1b2a 75%);
  background-size: 200% 100%;
  animation: skShimmer 1.4s infinite;
}

.sk-member-foot {
  padding: 9px 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(34, 165, 229, 0.08);
}

.sk-member-name {
  height: 12px;
  width: 80px;
  border-radius: 4px;
  background: linear-gradient(90deg, #152335 25%, #1c3048 50%, #152335 75%);
  background-size: 200% 100%;
  animation: skShimmer 1.4s infinite;
}

.sk-member-badge {
  height: 10px;
  width: 50px;
  border-radius: 50px;
  background: linear-gradient(90deg, #152335 25%, #1c3048 50%, #152335 75%);
  background-size: 200% 100%;
  animation: skShimmer 1.4s infinite;
}

.sk-group-title {
  height: 28px;
  width: 120px;
  border-radius: 6px;
  background: linear-gradient(90deg, #152335 25%, #1c3048 50%, #152335 75%);
  background-size: 200% 100%;
  animation: skShimmer 1.4s infinite;
  margin-bottom: 4px;
}

@keyframes skShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .vagas-grid {
    grid-template-columns: 1fr;
  }

  .member-card {
    width: 130px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }
}