/* === TEAM SECTION === */
.team {
  padding: 80px 6vw;
  color: #fff;
}

.team h3 {
  font-family: 'Cinzel', serif;
  color: #fff;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

/* === GRID === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  justify-content: center;
}

/* === MEMBER CARD === */
.member {
  background: rgba(15, 15, 17, 0.92);
  padding: 36px 26px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.member:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.15);
  background: rgba(18, 18, 20, 0.96);
}

/* === AVATAR === */
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 14px;
  object-fit: cover;
  border: 3px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease;
}

.member:hover .avatar {
  transform: scale(1.05);
}

/* === TEXTS === */
.member h5 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.member p {
  margin: 0;
  color: #cfcfcf;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  max-width: 280px;
  margin-inline: auto;
}

/* ===== FINAL CTA ===== */
.final-cta {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.final-cta:hover {
  border-color: rgba(255, 215, 0, 0.25);
  transform: translateY(-2px);
}

.final-cta h3 {
  color: var(--principalColor);
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.final-cta p {
  color: #ccc;
  font-size: 0.95rem;
  max-width: auto;
  line-height: 1.6;
}

.final-cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Botões refinados */
.btn {
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--principalColor);
  color: #000;
  border: none;
}


.btn-ghost {
  background: transparent;
  color: var(--principalColor);
  border: 1px solid var(--principalColor);
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--principalColor);
  color: #000;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .final-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .final-cta h3 {
    font-size: 1.1rem;
  }

  .final-cta p {
    font-size: 0.9rem;
    max-width: none;

  }

  .final-cta-buttons {
    justify-content: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }
}


/* === RESPONSIVIDADE === */

/* Tablets */
@media (max-width: 1024px) {
  .team {
    padding: 70px 8vw;
  }

  .member {
    padding: 32px 24px;
  }

  .final-cta {
    flex-direction: column;
    text-align: center;
    padding: 42px 8vw;
  }

  .final-cta h3 {
    font-size: 1.3rem;
  }
}

/* Smartphones médios */
@media (max-width: 768px) {
  .team {
    padding: 60px 8vw;
  }

  .team-grid {
    gap: 22px;
  }

  .member {
    padding: 28px 20px;
  }

  .member p {
    font-size: 0.95rem;
  }

  .final-cta {
    padding: 40px 10vw;
    gap: 20px;
  }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
  .team {
    padding: 50px 10vw;
  }

  .team h3 {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }

  .member {
    padding: 26px 18px;
  }

  .member h5 {
    font-size: 1rem;
  }

  .member p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .final-cta {
    padding: 36px 10vw;
  }

  .final-cta h3 {
    font-size: 1.1rem;
  }

  .final-cta p {
    font-size: 0.95rem;
  }
}
