/* Estilo geral */
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* Cabeçalho */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #008cff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #008cff;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 6rem;
  background: linear-gradient(120deg, #f7faff 0%, #ffffff 100%);
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 280px;
  padding-right: 2rem;
}

.hero-text h1 {
  font-size: 2.4rem;
  color: #111;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #555;
}

.btn {
  display: inline-block;
  background-color: #008cff;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0070cc;
}

/* Imagem principal */
.hero-image img {
  max-width: 420px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Seção destaque */
.why {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #f9fafc;
}

.why h2 {
  color: #111;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.why p {
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

/* Rodapé */
.footer {
  background-color: #f1f3f6;
  text-align: center;
  padding: 1.2rem;
  font-size: 0.95rem;
  color: #444;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
}
/* Página de comandos */
.page-content {
  padding: 3rem 6rem;
  text-align: center;
}

.page-content h1 {
  color: #111;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page-content p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
}

.commands-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.command-box {
  background-color: #f7f9fc;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.command-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.command-box h3 {
  color: #008cff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.command-box p {
  color: #444;
  font-size: 0.95rem;
}
/* Página de sistemas RP */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.system-box {
  background-color: #f7f9fc;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.system-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.system-box h3 {
  color: #008cff;
  margin-bottom: 0.6rem;
}

.system-box p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn-small {
  display: inline-block;
  background-color: #008cff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-small:hover {
  background-color: #006edc;
}
/* ===== Tutoriais (lista + modal) ===== */
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.tutorial-card {
  background-color: #f7f9fc;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tutorial-card h3 {
  color: #008cff;
  margin: 0;
  font-size: 1.05rem;
}

.tutorial-card p {
  color: #444;
  font-size: 0.95rem;
  margin: 0;
}

.open-tutorial {
  margin-top: auto;
  align-self: flex-start;
  cursor: pointer;
}

/* Modal */
.modal {
  display: none; /* ativado por JS */
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.modal[aria-hidden="false"] {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 34, 0.45);
  backdrop-filter: blur(2px);
}

.modal-window {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, 96%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #555;
}

.modal-body h2 {
  margin-top: 0;
  color: #111;
}

.modal-body p {
  color: #444;
}

/* Código formatado */
pre {
  background: #0f1724;
  color: #e6eef8;
  padding: 0.9rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Botões dentro do modal */
.copy-btn {
  display: inline-block;
  margin-top: 0.6rem;
  background-color: #008cff;
  color: #fff;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* Responsividade */
@media (max-width: 640px) {
  .modal-window {
    padding: 0.8rem;
  }

  pre {
    font-size: 0.85rem;
  }
}
/* ===== Página de Contato ===== */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background-color: #f8faff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-form label {
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.social-section {
  text-align: center;
  margin-top: 3rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-card {
  display: inline-block;
  text-decoration: none;
  padding: 0.9rem 1.3rem;
  border-radius: 10px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, opacity 0.2s;
}

.social-card:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.discord { background-color: #5865F2; }
.youtube { background-color: #FF0000; }
.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.email { background-color: #008cff; }

@media (max-width: 640px) {
  .contact-form { padding: 1rem; }
  .social-links { flex-direction: column; align-items: center; }
  .social-card { width: 80%; }
}
