/* ===== Base ===== */
body { -webkit-font-smoothing: antialiased; }
::selection { background: #bfe0fd; color: #0f2f6b; }

/* ===== Navbar ===== */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(15, 47, 107, 0.08);
}
.nav-link { position: relative; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  height: 2px; width: 0; background: #2370e0; transition: width .25s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: #2370e0; }

/* ===== Cards ===== */
.card {
  background: #fff; border-radius: 1.5rem; padding: 1.75rem;
  border: 1px solid #dbeefe;
  box-shadow: 0 10px 30px rgba(35, 112, 224, 0.06);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(35, 112, 224, 0.14); }
.icon-box {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 1rem; background: #dbeefe; color: #2370e0; margin-bottom: 1.1rem;
}
.card-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.15rem; color: #0f2f6b; }
.card-text { margin-top: .5rem; color: #475569; font-size: .95rem; line-height: 1.6; }

/* ===== Vídeo ===== */
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 1.75rem; overflow: hidden; background: #0f2f6b;
  box-shadow: 0 30px 60px rgba(15, 47, 107, 0.2);
  border: 6px solid #fff;
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== Segurança ===== */
.safety-item {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #eff7ff; border-radius: 1rem; padding: 1rem 1.1rem;
  font-size: .95rem; color: #1e3a5f; line-height: 1.5;
}
.safety-item span {
  display: grid; place-items: center; flex-shrink: 0;
  width: 1.7rem; height: 1.7rem; border-radius: 9999px;
  background: #2370e0; color: #fff; font-size: .8rem; font-weight: 600;
}

/* ===== Equipe ===== */
.team-photo {
  position: relative; width: 100%; max-width: 24rem; margin-inline: auto;
  aspect-ratio: 2 / 3; /* foto vertical das 4 alunas */
  border-radius: 1.75rem; overflow: hidden; background: #dbeefe;
  box-shadow: 0 25px 50px rgba(15, 47, 107, 0.18);
  border: 6px solid #fff; outline: 1px solid #dbeefe;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid #dbeefe; border-radius: 1.25rem; padding: 1rem 1.25rem;
  box-shadow: 0 8px 22px rgba(35, 112, 224, 0.06);
  transition: transform .25s, box-shadow .25s;
}
.member:hover { transform: translateX(6px); box-shadow: 0 14px 30px rgba(35, 112, 224, 0.13); }
.member .avatar {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.75rem; height: 2.75rem; border-radius: 9999px;
  background: linear-gradient(135deg, #5eadf7, #1c5bc7); color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 600;
}
.member h3 { font-family: 'Poppins', sans-serif; font-weight: 600; color: #0f2f6b; }

.info-card {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem;
  background: linear-gradient(135deg, #1c5bc7, #0f2f6b);
  border-radius: 1.25rem; padding: 1.1rem 1.25rem; color: #fff;
  box-shadow: 0 16px 36px rgba(15, 47, 107, 0.22);
}
.info-item { display: flex; flex-direction: column; gap: .15rem; }
.info-label { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #bfe0fd; }
.info-value { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; }
@media (max-width: 480px) {
  .info-card { grid-template-columns: 1fr; gap: .6rem; }
  .info-item { flex-direction: row; justify-content: space-between; align-items: baseline; }
}

/* ===== Animação de entrada ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}