:root {
  --primary: #8e24aa; /* Cor roxa */
  --highlight: #ff00aa;
  --background: #0a0a0a;
  --text: #e0e0e0;
  --card-bg: #1a1a1a;
  --sidebar-bg: #111;
  --menu-hover: #003d3d;
  --accent: #ff7f00;
  --footer-bg: #111;
  --footer-text: #bbb;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: var(--background);
  background-image: url('https://www.transparenttextures.com/patterns/circuits.png');
  background-size: cover;
  margin: 0;
  padding: 0;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: linear-gradient(135deg, #0a192f, #3b0a59, #008b8b);
  color: var(--primary);
  padding: 2rem;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 255, 255, 0.2);
}

header span {
  background: linear-gradient(90deg, var(--primary), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.main-content {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  padding: 2rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.sidebar {
  width: 250px;
  background-color: var(--sidebar-bg);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,255,255,0.1);
  padding: 1rem;
  position: sticky;
  top: 2rem;
}

.sidebar a {
  display: block;
  padding: 0.75rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.sidebar a:hover {
  background-color: var(--menu-hover);
  color: #000;
}

.content {
  flex-grow: 1;
  padding-left: 2rem;
  max-width: 100%;
}

section {
  background-color: var(--card-bg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,255,255,0.04);
}

section h2 {
  color: var(--highlight);
}

/* Estilo para os tópicos da página Missão */
.missao-page h3 {
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.missao-page h3:hover {
  color: var(--highlight);
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.4);
}

a {
  color: #0000EE;
  text-decoration: none;
}

a:hover {
  color: #551A8B;
  text-decoration: underline;
}

.footer {
  background-color: var(--footer-bg);
  padding: 2rem;
  color: var(--footer-text);
}

.footer h5 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer ul li a {
  color: var(--footer-text);
  text-decoration: none;
}

.footer ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-top: 1.5rem;
}

.missao-page .foto-qa {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    padding: 1rem;
  }

  .sidebar {
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .content {
    padding-left: 0;
  }

  .sidebar {
    display: none;
  }

  .sidebar.active {
    display: block;
    margin-top: 1rem;
  }
}

/* Página em construção */
.em-construcao {
  background-color: #332700;
  border: 2px dashed var(--accent);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  color: #fff8e1;
  box-shadow: 0 0 12px rgba(255, 127, 0, 0.2);
  position: relative;
}

.em-construcao h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.em-construcao p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.icone-construcao {
  font-size: 3.5rem;
  color: var(--accent);
  margin: 1rem 0;
}
