/* ============================================================
   EQUIPE.CSS — Estilos específicos da página de Equipe
   ============================================================ */

/* Nav active state */
.nav-links a.active {
  color: var(--yellow);
}

/* ============================================================
   STAMP TITLE — Professores
   ============================================================ */
.prof-stamp {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(48px, 6.7vw, 128px);
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 56px;
  text-shadow: 0px 1px 2px rgba(30, 30, 30, 0.2);
}

/* ============================================================
   SEÇÃO 1 — FELIPE (fundo branco)
   ============================================================ */
.equipe-hero {
  background: var(--white);
  padding: 140px 0 100px;
}

.equipe-hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.52fr;
  gap: 80px;
  align-items: start;
}

.prof-name-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 2.2vw, 42px);
  color: var(--dark);
  margin-bottom: 28px;
  line-height: 1.2;
  text-align: left;
}

.equipe-hero-text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 20px);
  color: var(--dark);
  line-height: 1.75;
  margin-bottom: 20px;
}

.equipe-hero-text .btn-yellow {
  margin-top: 24px;
  font-size: clamp(15px, 1.05vw, 20px);
  padding: 22px 44px;
  display: inline-block;
}

.equipe-hero-photo img {
  width: 100%;
  border-radius: 40px;
  object-fit: cover;
  aspect-ratio: 384 / 511;
}

/* ============================================================
   SEÇÃO 2 — GABRIEL & NADJA (fundo escuro)
   ============================================================ */
.equipe-other {
  background: var(--dark);
  padding: 100px 0 120px;
}

.equipe-other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.prof-card-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 255 / 383;
  border-radius: 40px;
  object-fit: cover;
  display: block;
  margin-bottom: 32px;
}

.prof-card-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 2.2vw, 42px);
  color: var(--yellow);
  margin-bottom: 24px;
  line-height: 1.2;
  text-align: left;
}

.prof-card-bio p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 20px);
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .equipe-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Tablet: foto acima do texto */
  .equipe-hero-photo {
    order: -1;
  }

  .equipe-hero-photo img {
    max-width: 380px;
    aspect-ratio: auto;
    max-height: 520px;
  }

  .equipe-other-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ------ Felipe section ------ */
  .equipe-hero {
    padding: 100px 0 64px;
  }

  .prof-stamp {
    font-size: 45px;
    margin-bottom: 28px;
  }

  /* Mobile: foto ANTES do texto (photo → name → bio → btn) */
  .equipe-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .equipe-hero-photo {
    order: 1;
  }

  .equipe-hero-text {
    order: 2;
  }

  .equipe-hero-photo img {
    width: 100%;
    max-width: 280px;
    border-radius: 40px;
    aspect-ratio: 1 / 1;
    display: block;
    margin: 0 auto;
  }

  .prof-name-main {
    font-size: 32px;
    text-align: center;
  }

  .equipe-hero-text p {
    font-size: 16px;
  }

  .equipe-hero-text .btn-yellow {
    width: 100%;
    max-width: 340px;
    text-align: center;
    padding: 18px;
    display: block;
    margin: 24px auto 0;
  }

  /* ------ Gabriel & Nadja ------ */
  .equipe-other {
    padding: 64px 0 80px;
  }

  .equipe-other-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  /* Mobile: nome ANTES da foto (name → photo → bio) */
  .prof-card {
    display: flex;
    flex-direction: column;
  }

  .prof-card-name {
    order: 1;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
  }

  .prof-card-photo {
    order: 2;
    max-width: 280px;
    border-radius: 40px;
    margin: 0 auto 28px;
    aspect-ratio: 1 / 1;
  }

  .prof-card-bio {
    order: 3;
  }

  .prof-card-bio p {
    font-size: 16px;
  }
}
