/* ═══════════════════════════════════════════════════════════════
   WIN — professores em destaque
   1) .pstrip  → faixa de retratos (home e A WIN), leva a /professores
   2) página /professores → grade com 6 cards e âncora por professor
   Carregado depois de win-brand.css.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1) FAIXA DE RETRATOS ───────────────────────────────────── */
.pstrip {
  background: var(--win-azul-profundo);
  color: var(--win-off-white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.pstrip::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 420px at 88% 0%, rgba(111, 143, 168, 0.18), transparent 62%);
}
.pstrip .container { position: relative; z-index: 1; }

.pstrip-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 44px;
}
.pstrip-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.08;
  color: #fff; margin: 0 0 14px; letter-spacing: -0.03em;
}
.pstrip-sub {
  font-size: 17px; line-height: 1.6; color: rgba(245, 247, 250, 0.74);
  max-width: 54ch; margin: 0;
}
.pstrip-head .btn { flex-shrink: 0; white-space: nowrap; }

.pstrip-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px;
}
.pstrip-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--r-lg, 10px);
  background: var(--win-quase-preto);
  text-decoration: none; color: #fff;
}
.pstrip-tile img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  transition: transform 500ms cubic-bezier(0.2, 0, 0, 1);
}
.pstrip-tile::after {
  content: ''; position: absolute; inset: 45% 0 0 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 21, 34, 0) 0%, rgba(7, 21, 34, 0.88) 100%);
}
.pstrip-name {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
}
.pstrip-name::before {
  content: ''; display: block; width: 18px; height: 2px; margin-bottom: 8px;
  background: var(--win-vermelho); border-radius: 2px;
  transition: width 250ms cubic-bezier(0.2, 0, 0, 1);
}
.pstrip-tile:hover img, .pstrip-tile:focus-visible img { transform: scale(1.04); }
.pstrip-tile:hover .pstrip-name::before,
.pstrip-tile:focus-visible .pstrip-name::before { width: 34px; }

/* tablet: 3 por linha */
@media (max-width: 960px) {
  .pstrip { padding: 80px 0; }
  .pstrip-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .pstrip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* celular: faixa que rola de lado, com o próximo rosto aparecendo */
@media (max-width: 560px) {
  .pstrip { padding: 64px 0; }
  .pstrip-sub { font-size: 16px; }
  .pstrip-row {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px; padding: 0 20px 6px; scroll-padding-inline: 20px; scrollbar-width: none;
  }
  .pstrip-row::-webkit-scrollbar { display: none; }
  .pstrip-row li { flex: 0 0 44%; scroll-snap-align: start; }
  .pstrip-head .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .pstrip-row { margin: 0 -16px; padding: 0 16px 6px; scroll-padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pstrip-tile img, .pstrip-name::before { transition: none; }
}

/* ── 2) PÁGINA /professores ─────────────────────────────────── */
.teachers--page { padding-top: 72px !important; }
.teachers--page .teachers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
}
.teachers--page .teachers-grid .teacher-card:last-child { grid-column: auto !important; }
.teachers--page .teacher-card { scroll-margin-top: 96px; }
/* quem chega por /professores#nome vê o card marcado */
.teachers--page .teacher-card:target {
  box-shadow: 0 0 0 2px var(--win-vermelho), 0 24px 48px -28px rgba(11, 31, 51, 0.45) !important;
}
@media (max-width: 1024px) {
  .teachers--page .teachers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .teachers--page { padding-top: 48px !important; }
  .teachers--page .teachers-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
