/* ========== BASE ========== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

/* ========== NAVBAR ========== */
.navbar {
  background: #111;
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 40px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #FFA500;
}

/* Botão menu mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to right, #000, #111);
}
.hero-logo {
  height: 120px;
  max-width: 90%;
}
.hero-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 1rem auto;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #FFA500;
  color: #000;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}
.btn:hover {
  background: #ffb733;
}

/* Sections */
section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
  background: #111;
  border-radius: 15px;
  padding: 2rem;
  margin-top: 3rem;
}

section h2 {
  color: #FFA500;
  margin-bottom: 1rem;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.feature {
  background: #111;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #222;
  transition: transform 0.3s;
}
.feature:hover {
  transform: translateY(-5px);
}
.feature i {
  color: #FFA500;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}
.feature h3 {
  color: #FFA500;
  margin-bottom: 0.5rem;
}

/* Call to Action */
.cta {
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 1px solid #222;
  color: #aaa;
}

/* Exemplo de Código */
#exemplo pre {
  background: #000;
  padding: 1rem;
  border-radius: 10px;
  overflow-x: auto;
  border: 1px solid #222;
}
#exemplo code {
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
}




/* Tema Prism.js - Tucano */
code[class*="language-"],
pre[class*="language-"] {
  color: #fff;
  background: #000;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  text-shadow: none;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  line-height: 1.5;
  tab-size: 4;
  hyphens: none;
}

/* Container do bloco de código */
pre[class*="language-"] {
  padding: 1rem;
  margin: 1em 0;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid #222;
}

/* Tokens de sintaxe */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #777;
  font-style: italic;
}

.token.punctuation {
  color: #ccc;
}

.token.selector,
.token.tag,
.token.keyword {
  color: #FFA500; /* Laranja Tucano */
}

.token.property,
.token.boolean,
.token.number {
  color: #FFB84D; /* Laranja mais claro */
}

.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #4DD9FF; /* Azul vibrante */
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #fff;
}

.token.atrule,
.token.attr-value,
.token.function {
  color: #FFD966; /* Amarelo dourado */
}

.token.regex,
.token.important,
.token.variable {
  color: #FF4D4D; /* Vermelho de destaque */
}

.token.deleted {
  color: #f66;
}

/* Destaque da linha ativa */
pre[data-line] {
  position: relative;
}
pre[class*="language-"] > code[data-line] {
  position: relative;
  z-index: 1;
}
.line-highlight {
  background: rgba(255, 165, 0, 0.1);
  box-shadow: inset 5px 0 0 #FFA500;
}


/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  /* Navbar mobile */
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #111;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    display: none;
    width: 200px;
  }
  .nav-links.open {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 2rem 1rem;
  }
  .hero-logo {
    height: 90px;
  }
  .hero-subtitle {
    font-size: 1rem;
  }

  /* Features */
  .features {
    grid-template-columns: 1fr;
  }

  section {
    border-radius: 0px;
  }

  /* Code font size */
  #exemplo code {
    font-size: 0.85rem;
    margin: 0px;
  }
  #exemplo pre {
    padding: 0.5rem;
  }
  
}
