/* ======== ESTILO GERAL ======== */
body {
  font-family: Arial, sans-serif;
  background-color: #0a0f1c;
  color: #f1f1f1;
  margin: 0;
  padding: 0;
}

/* ======== CABEÇALHO ======== */
.site-header {
  background-color: #0d1b2a;
  padding: 1rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.navbar {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  color: #00b4d8;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand img {
  border-radius: 8px;
}

/* ======== MENU ======== */
.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a,
.nav-item {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.nav a:hover,
.nav-item:hover {
  color: #00b4d8;
}

/* ======== SUBMENU ======== */
.submenu {
  display: none;
  position: absolute;
  background: #1b263b;
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.has-submenu.open .submenu {
  display: block;
}

/* ======== CONTEÚDO ======== */
.container {
  width: 90%;
  margin: 2rem auto;
}

.section {
  background: #1b263b;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

h1, h2 {
  color: #00b4d8;
}

/* ======== RODAPÉ ======== */
.site-footer {
  text-align: center;
  background: #0d1b2a;
  padding: 1rem;
  color: #a0a0a0;
  font-size: 0.9rem;
  margin-top: 3rem;
}

strong {
  color: #00b4d8;
}

/* ======== MENU MOBILE ======== */
.menu-toggle {
  display: none;
  background: #00b4d8;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1.1rem;
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    background-color: #1b263b;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .submenu {
    position: static;
  }
}
