
  /* Modal */
.modal {
  display: none; 
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center; 
  align-items: center;
}
.modal-content {
  background: #1e293b;
  color: #f1f5f9;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: fadeIn 0.3s ease-in-out;
}
.modal-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #38bdf8;
}
.modal-content h3 {
  margin-bottom: 0.5rem;
}
.close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

  .social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  .social-links a {
    font-size: 1.5rem;
    color: #38bdf8;
    transition: color 0.3s ease;
  }
  .social-links a:hover {
    color: #f1f5f9;
  }


  /* Container em grid */
  .container-perfil {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }

  /* Card de cada integrante */
  .perfil {
    background: #1e293b;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    color: #f1f5f9;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }

  .perfil img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #38bdf8;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .perfil h3 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
  }

  .perfil p {
    font-size: 0.9rem;
    color: #94a3b8;
  }

  /* Hover efeito */
  .perfil:hover {
    transform: translateY(-8px);
    background: #0f172a;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }

  .perfil:hover img {
    transform: scale(1.1);
    border-color: #38bff86f;
  }
  /* Container em grid */
.container-perfil {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* sempre 3 colunas */
  gap: 2rem;
  margin-top: 2rem;
}

/* Responsivo - em telas menores */
@media (max-width: 900px) {
  .container-perfil {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
  }
}

@media (max-width: 600px) {
  .container-perfil {
    grid-template-columns: 1fr; /* 1 coluna */
  }
}

