/* ===== Vision Pro 6.0 (22/11/2026): topo novo com a turma 5.0 e a seção "Turma 5.0" ===== */

/* topo: foto colorida da turma, escurecida embaixo pro texto */
.hero__foto { transform: none; }
.hero__foto img { object-position: 50% 80%; }
.hero::before { background: linear-gradient(180deg, rgba(15,15,15,.55) 0%, rgba(15,15,15,.15) 30%, rgba(15,15,15,.6) 62%, var(--carvao) 100%); }
.hero h1 em { color: var(--laranja); font-style: normal; }
@media (max-width: 759px) { .hero__foto img { object-position: 50% 12%; } }

/* seção da turma 5.0 */
.t50 { background: var(--carvao); overflow: hidden; }
.t50__topo { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.t50__topo h2 { font-family: var(--titulo); text-transform: uppercase; font-size: clamp(38px, 5vw, 76px); line-height: .95; letter-spacing: -.01em; }
.t50__topo h2 em { color: var(--laranja); font-style: normal; }
.t50__topo .lead { color: var(--off-2, #cfcac4); max-width: 560px; }

.t50__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.t50__card { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: #1a1817; isolation: isolate; }
.t50__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.9); }
.t50__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,0) 38%, rgba(15,15,15,.55) 62%, rgba(15,15,15,.94) 100%); z-index: 1; }
.t50__card figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2vw, 28px); display: grid; gap: 4px; }
.t50__card blockquote { margin: 0 0 12px; font: 500 clamp(17px, 1.35vw, 21px)/1.32 var(--texto); color: var(--off); text-wrap: balance; }
.t50__card b { font: 700 13px/1 var(--texto); letter-spacing: .22em; text-transform: uppercase; color: var(--off); }
.t50__card span { font: 500 12px/1.2 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--laranja); }
.t50__card:hover img { transform: scale(1.04); filter: saturate(1); }
.t50__btn { margin-top: clamp(32px, 4vw, 52px); }

@media (max-width: 959px) { .t50__grade { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) {
  .t50__grade { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .t50__grade::-webkit-scrollbar { display: none; }
  .t50__card { flex: 0 0 78%; scroll-snap-align: center; }
  .t50__btn { width: 100%; justify-content: center; }
}

/* edições: agora são 5 + a próxima */
.edicoes { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .edicoes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px) { .edicoes { grid-template-columns: 1fr 1fr; } }

/* topo 6.0 (pedido do Alek): aluno de um lado, título do outro */
@media (min-width: 900px) {
  .hero__foto { overflow: hidden; }
  .hero__foto img { width: 150%; max-width: none; height: 100%; object-fit: cover; object-position: 0% 40%; }
  .hero::before { background: linear-gradient(90deg, rgba(15,15,15,.94) 0%, rgba(15,15,15,.82) 30%, rgba(15,15,15,.25) 58%, rgba(15,15,15,0) 75%), linear-gradient(180deg, rgba(15,15,15,.5) 0%, rgba(15,15,15,0) 22%, rgba(15,15,15,0) 70%, var(--carvao) 100%); }
  .hero__conteudo { align-items: flex-start; text-align: left; max-width: var(--max); }
  .hero__conteudo > * { max-width: min(620px, 48vw); margin-left: 0; margin-right: 0; }
  .hero h1 { font-size: clamp(40px, 4.6vw, 76px); line-height: .95; text-align: left; }
  .hero__sub { margin-left: 0; text-align: left; }
  .hero__acoes { justify-content: flex-start; }
  .hero .numeros { justify-content: flex-start; }
}

/* celular: foto em cima (rosto livre), texto embaixo */
@media (max-width: 899px) {
  .hero { justify-content: flex-end; }
  .hero__foto { inset: 0 0 auto 0; height: 58svh; transform: none; }
  .hero__foto img { object-position: 50% 28%; }
  .hero::before { background: linear-gradient(180deg, rgba(15,15,15,.45) 0%, rgba(15,15,15,0) 14%, rgba(15,15,15,0) 34%, rgba(15,15,15,.85) 52%, var(--carvao) 60%); }
  .hero__conteudo { padding-top: 46svh; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 46px); }
}

/* topo com a foto em pé (olho aberto): no computador ela fica na direita */
@media (min-width: 900px) {
  .hero__foto img { width: 56%; margin-left: 44%; height: 100%; object-fit: cover; object-position: 50% 32%; }
  .hero::before { background: linear-gradient(90deg, var(--carvao) 0%, var(--carvao) 40%, rgba(15,15,15,.55) 50%, rgba(15,15,15,0) 64%), linear-gradient(180deg, rgba(15,15,15,.45) 0%, rgba(15,15,15,0) 20%, rgba(15,15,15,0) 72%, var(--carvao) 100%); }
}
@media (max-width: 899px) { .hero__foto img { object-position: 50% 30%; } }
@media (min-width: 900px) {
  .hero__foto img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); filter: brightness(1.25) !important; object-position: 50% 40%; }
  .hero__foto::after { opacity: .35; }
}
@media (max-width: 899px) { .hero__foto img { filter: brightness(1.2) !important; } }
@media (max-width: 899px) { .hero__foto img { transform: scale(1.3); transform-origin: 52% 42%; } }
