/* ============================= */
/* EQUIPE.CSS - PÁGINA DA EQUIPE */
/* ============================= */

/* ====== HERO - BANNER DA EQUIPE ====== */
.hero {
  min-height: 300px; /* altura menor que a home */
  max-height: 400px; /* limita a altura máxima */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero .hero-content h1 {
  font-size: 2.5rem;
}

.hero .hero-content p {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* ====== SEÇÃO EQUIPE ====== */
.team-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.team-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #fdc400;
}

.team-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

.team-role {
  display: block;
  font-size: 0.95rem;
  color: #fdc400;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* ====== BOTÃO SUBIR AO TOPO ====== */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #fdc400;
  color: #111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
  opacity: 0;
  pointer-events: none;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: #fbd03d;
  transform: translateY(-3px);
}

/* ====== RESPONSIVO ====== */
@media(max-width: 1024px) {
  .team-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 768px) {
  .team-cards {
    grid-template-columns: 1fr;
  }

  .hero .hero-content h1 {
    font-size: 2rem;
  }

  .hero .hero-content p {
    font-size: 1rem;
  }
}


/* ====== RESPONSIVO ====== */
@media(max-width: 1024px) {
  .hero {
    min-height: 250px;
  }
  .hero .hero-content h1 {
    font-size: 2rem;
  }
  .hero .hero-content p {
    font-size: 0.95rem;
  }
}

@media(max-width: 768px) {
  .hero {
    min-height: 200px;
  }
  .hero .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero .hero-content p {
    font-size: 0.9rem;
  }
}