    * {
      margin: 0; padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #0f172a;
      color: #f1f5f9;
      line-height: 1.6;
    }

    header {
      background: #1e293b;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 10;
    }

    header h1 {
      font-size: 1.5rem;
    }

    nav a {
      color: #f1f5f9;
      margin-left: 1rem;
      text-decoration: none;
    }

    nav a:hover {
      color: #38bdf8;
    }

    section {
      padding: 3rem 2rem;
    }

    .hero {
      text-align: center;
      margin-top: 2rem;
    }

    .hero h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .projects {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }

  .card {
  background: #1e293b;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* Garante altura uniforme */
}

.card p {
  flex-grow: 1; /* Faz o parágrafo ocupar o espaço disponível */
}

.card a.botao,
.card button {
  margin-top: auto; /* Empurra o botão para o fundo */
}

    .card:hover {
      transform: scale(1.03);
    }

    .card h3 {
      margin-bottom: 0.5rem;
      color: #38bdf8;
    }

    .about, .contact {
      max-width: 700px;
      margin: 0 auto;
      text-align: center;
    }

    footer {
      text-align: center;
      padding: 2rem;
      background: #0f172a;
      font-size: 0.9rem;
    }

    html {
      scroll-behavior: smooth;
    }


.botao {
  background: #38bdf8;
  border: none;
  color: #0f172a;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px; /* altura fixa opcional para consistência */
}
.botao:hover,
button:hover {
  background: #0ea5e9;
}
