/* ─── TEAM SECTION ─────────────────────────────────────── */
#team {
  width: 100%;
  padding: 80px 24px;
  padding-bottom: 300px;
  position: relative;
  z-index: 2;
}

/* ─── HEADER ─────────────────────────────────────────────── */
#team .team-section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

#team .team-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

#team .team-section-title {
  font-family: 'WesternBangBang', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

#team .team-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px auto 22px;
}

#team .team-divider .team-line {
  display: block;
  width: 70px;
  height: 1px;
  background: rgba(255,255,255,0.20) !important;
}

#team .team-divider .team-ornament {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.20);
  line-height: 1;
}

#team .team-section-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
}

/* ─── GRID ──────────────────────────────────────────────── */
#team .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  gap: 40px;
}

/* ─── POSTER ─────────────────────────────────────────────── */
#team .poster {
  background-color: #0d0d0d !important;  /* !important — sobrescreve reset do shared.css */
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.18) 3px,
    rgba(0,0,0,0.18) 4px
  ) !important;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px;
  cursor: pointer;
  transition: transform 0.35s ease;
}

#team .poster:hover {
  transform: translateY(-6px) rotate(0.5deg);
}

#team .poster-inner {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 14px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ─── POSTER HEADER ──────────────────────────────────────── */
#team .poster-header {
  text-align: center;
  margin-bottom: 12px;
}

#team .reward {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

#team .wanted-label {
  font-family: 'WesternBangBang', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  display: block;
}

#team .dead-alive {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
}

#team .poster-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.12) !important;
  margin: 10px 0;
}

/* ─── PHOTO ──────────────────────────────────────────────── */
#team .poster-photo {
  position: relative;
  width: 100%;
  padding-top: 125%;
  overflow: hidden;
  flex-shrink: 0;
}

#team .poster-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  transition: filter 0.45s ease, transform 0.45s ease;
  display: block;
}

#team .poster:hover .poster-photo img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* ─── POSTER FOOTER ──────────────────────────────────────── */
#team .poster-footer {
  margin-top: 12px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#team .member-name {
  font-family: 'WesternBangBang', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

#team .member-role {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 10px;
}

#team .member-bio {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.38);
  text-align: center;
  letter-spacing: 0.02em;
}

#team .poster-ornament {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.5em;
  margin-top: 4px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 720px) {
  #team .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}