/* Space Maps - Estilos atualizados com fundo espacial */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0f0f23;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.6) 1px, transparent 1px),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.7) 1px, transparent 1px),
    radial-gradient(circle at 80% 90%, rgba(255,255,255,0.5) 1px, transparent 1px),
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.9) 1px, transparent 1px),
    radial-gradient(circle at 30% 60%, rgba(255,255,255,0.4) 1px, transparent 1px),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle at 40% 10%, rgba(255,255,255,0.6) 1px, transparent 1px),
    radial-gradient(circle at 60% 95%, rgba(255,255,255,0.7) 1px, transparent 1px),
    radial-gradient(circle at 15% 45%, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 300px 300px, 250px 250px, 400px 400px, 350px 350px, 280px 280px, 320px 320px, 200px 200px, 450px 450px, 180px 180px, 380px 380px;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: linear-gradient(135deg, #004aad 0%, #003080 100%);
  color: white;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

header img {
  height: 120px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background: white;
  padding: 10px;
}

.header-text h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.2rem;
  margin: 10px 0 0 0;
  opacity: 0.9;
  font-weight: 300;
}

nav {
  background-color: rgba(0, 74, 173, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  max-width: 1200px;
  margin: 0 auto;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 15px 20px;
  display: block;
  transition: all 0.3s ease;
  border-radius: 8px;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

h2 {
  color: #64b5f6;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #64b5f6, #42a5f5);
  margin: 10px auto;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(100, 181, 246, 0.4);
}

h4 {
  color: #64b5f6;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
h4::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #64b5f6, #42a5f5);
  margin: 10px auto;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(100, 181, 246, 0.4);
}
  h5 {
    color: #64b5f6;
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  h5::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    margin: 10px auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(100, 181, 246, 0.4);
}
h6 {
  color: #64b5f6;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
h6::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #64b5f6, #42a5f5);
  margin: 10px auto;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(100, 181, 246, 0.4);
}

/* Estilos para a grade da equipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.team-member {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 74, 173, 0.1);
  border: 2px solid rgba(0, 74, 173, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 74, 173, 0.2);
}

.team-member h3 {
  color: #42a5f5;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.role {
  color: #666;
  font-style: italic;
  font-weight: 500;
}

/* Estilos para a grade de contatos */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.contact-member {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
  border: 2px solid rgba(255, 193, 7, 0.2);
  transition: all 0.3s ease;
}

.contact-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.contact-member h3 {
  color: #42a5f5;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.email {
  color: #f57c00;
  font-weight: 600;
  font-size: 1.1rem;
  background: rgba(245, 124, 0, 0.1);
  padding: 10px 15px;
  border-radius: 8px;
  margin: 10px 0;
  word-break: break-all;
}

/* Estilos específicos para a página de contato */
.member-avatar {
  font-size: 3rem;
  margin-bottom: 15px;
}

.email-link {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.email-link:hover {
  transform: scale(1.05);
}

.email-link .email {
  cursor: pointer;
  transition: all 0.3s ease;
}

.email-link:hover .email {
  background: rgba(245, 124, 0, 0.2);
  transform: scale(1.02);
}

.intro {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 30px;
  color: #555;
  background: rgba(66, 165, 245, 0.1);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #42a5f5;
}

.contact-info {
  margin-top: 50px;
  padding: 30px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  border-radius: 15px;
  border: 2px solid rgba(66, 165, 245, 0.2);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.info-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(66, 165, 245, 0.2);
}

.info-item h4 {
  color: #42a5f5;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.info-item a {
  color: #f57c00;
  text-decoration: none;
  font-weight: 500;
}

.info-item a:hover {
  text-decoration: underline;
}

/* Link ativo na navegação */
nav ul li a.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Estilos para a grade de artefatos */
.artifacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.artifact-item {
  background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid #004aad;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.artifact-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.15);
}

.artifact-item h3 {
  color: #42a5f5;
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.example {
  background: #f0f7ff;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
  border-left: 3px solid #667eea;
  font-size: 0.95rem;
}

/* Estilos para listas */
.backlog-list, .sprint-list {
  margin-top: 25px;
}

.backlog-list ol {
  counter-reset: item;
  padding-left: 0;
}

.backlog-list ol li {
  display: block;
  margin-bottom: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  border-radius: 12px;
  border-left: 4px solid #42a5f5;
  position: relative;
  counter-increment: item;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.backlog-list ol li::before {
  content: counter(item);
  background: #42a5f5;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(66, 165, 245, 0.4);
}

.sprint-list ul {
  list-style: none;
  padding-left: 0;
}

.sprint-list ul li {
  margin-bottom: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  border-radius: 12px;
  border-left: 4px solid #e74c3c;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sprint-list ul li::before {
  content: '✓';
  background: #e74c3c;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
}

footer {
  background: linear-gradient(135deg, #004aad 0%, #003080 100%);
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

footer a {
  color: #87ceeb;
  text-decoration: none;
  transition: color 0.3s ease;
}

h3 {
  color: #42a5f5;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

h4 {
  color: #42a5f5;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
h5 {
  color: #42a5f5;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .header-text h1 {
    font-size: 2.2rem;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  nav ul li a {
    border-radius: 0;
  }
  
  .team-grid, .artifacts-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  main {
    padding: 20px 15px;
  }
  
  section {
    padding: 20px;
  }
}

/* Animação das estrelas - versão simplificada */
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, white 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, white 1px, transparent 1px),
    radial-gradient(circle at 45% 15%, white 1px, transparent 1px),
    radial-gradient(circle at 65% 85%, white 1px, transparent 1px);
  background-size: 400px 400px;
  animation: twinkle 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}