/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; overflow-x: hidden; }

/* ---------- Base ---------- */
body {
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0f172a; /* fundo escuro */
  color: #e2e8f0;      /* texto claro */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 40px 20px;
}

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: #1e293b;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.navbar .logo a {
  color: #60a5fa;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  transition: color .2s;
}
.navbar .logo a:hover {
  color: #38bdf8;
}

/* Links do menu (desktop) */
.menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #334155;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap; /* evita quebra estranha */
}

.menu a i {
  font-size: 1rem;
}

.menu a:hover {
  background: #475569;
  transform: translateY(-3px);
  color: #38bdf8;
}

/* Botão hamburguer */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  z-index: 10000; /* garante que fique clicável */
  padding: 6px;
  border-radius: 8px;
}
.menu-toggle:hover { color: #38bdf8; }

/* ---------- Responsivo Navbar ---------- */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    right: 0;              /* gruda no canto direito */
    width: 100%;           /* ocupa toda a largura */
    max-width: 220px;      /* mas não passa de 220px */
    padding: 12px;
    border-radius: 12px;
    background: #1e293b;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    z-index: 9990;
  }

  .menu.show {
    display: flex;
  }

  .menu a {
    justify-content: flex-start; /* ícone + texto alinhados à esquerda */
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .menu a i {
    font-size: 0.9rem; /* ícones menores */
  }

  .menu-toggle {
    display: block;
  }
}

/* ---------- Container ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  background: #1e293b;  /* caixa mais clara que o fundo */
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  position: relative;
}

/* ---------- Cabeçalho ---------- */
header { text-align: center; margin-bottom: 28px; }
header h1 {
  font-size: 2.3rem;
  color: #60a5fa; /* azul claro */
}
header h3 {
  color: #94a3b8;
  font-weight: 500;
  font-size: 1rem;
}

/* ---------- Seções ---------- */
.resumo h2, .contatos h2, .estatisticas h2 {
  font-size: 1.1rem;
  color: #38bdf8; /* ciano */
  margin-bottom: 1%;
  margin-top: 1%;
}
.resumo p {
  color: #cbd5e1;
  font-size: 1rem;
  text-align: justify;
}

/* ---------- Contatos ---------- */
.contatos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.contatos-grid a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: #334155;
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s ease, background .3s ease;
}
.contatos-grid a:hover {
  background: #475569;
  transform: translateY(-5px) scale(1.05);
}

/* ---------- Estatísticas ---------- */
.stats-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 20px;
}
.stats-container img {
  height: 200px;
  max-width: 100%;
border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.6);
  object-fit: contain;
  transition: transform .2s ease;
}
.stats-container img:hover { transform: translateY(-6px); }

/* ---------- Responsivo geral ---------- */
@media (max-width: 640px) {
  body { padding: 18px 12px; }
  .container { padding: 20px; border-radius: 8px; }
  header h1 { font-size: 1.7rem; }
  .stats-container img { height: 150px; }
}
