body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #020617, #0f172a);
  color: #f1f5f9;
  line-height: 1.7;
}

/* CONTAINER */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 20px;
}

/* TOPO */
.topo {
  background: rgba(2, 6, 23, 0.9);
  padding: 20px;
  border-bottom: 1px solid #334155;
  text-align: center;
  backdrop-filter: blur(6px);
}

.topo a {
  color: #4ade80;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.topo a:hover {
  opacity: 0.8;
}

/* TÍTULOS */
h1 {
  font-size: 34px;
  margin-bottom: 15px;
  text-align: center;
}

h2 {
  margin-top: 40px;
  font-size: 22px;
  color: #4ade80;
  border-left: 4px solid #4ade80;
  padding-left: 10px;
}

p {
  color: #cbd5e1;
  margin-top: 10px;
}

/* LISTAS */
ul {
  margin-top: 10px;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

/* CAIXA */
.box {
  background: rgba(30, 41, 59, 0.85);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #334155;
  margin-top: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* FÓRMULA */
.formula {
  background: #020617;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-top: 15px;
  font-weight: bold;
  color: #38bdf8;
  border: 1px solid #1e293b;
}

/* BOTÃO */
.botao {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 12px 22px;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #022c22;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: 0.3s;
}

.botao:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(74, 222, 128, 0.3);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid #334155;
  color: #64748b;
  margin-top: 50px;
}

/* RESPONSIVO */
@media (max-width: 600px) {
  .container {
    padding: 30px 15px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }
}
.topo {
  position: sticky;
  top: 0;
  background: rgba(2, 6, 23, 0.85);
  padding: 15px 20px;
  border-bottom: 1px solid #334155;
  backdrop-filter: blur(8px);
  z-index: 1000;
  text-align: left;
}

.topo a {
  display: inline-block;
  color: #4ade80;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
}

.topo a:hover {
  transform: translateX(-3px);
  opacity: 0.8;
}