/* Reset leve */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f7;
  color: #222;
  line-height: 1.6;
}

/* Topbar */

.topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e2e2;
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav-links a {
  margin-left: 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #444;
}

.nav-links a:hover {
  color: #111;
}

/* Layout principal */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

/* Hero */

.hero {
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 0.95rem;
  color: #444;
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    color 0.12s ease, border-color 0.12s ease;
}

.btn.primary {
  background: #111827;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

.btn.ghost {
  background: #ffffff;
  color: #111827;
  border-color: #d4d4d8;
}

.btn.ghost:hover {
  background: #f4f4f5;
}

/* Seções */

.section {
  margin-top: 2.5rem;
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

/* Projetos */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.project-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  border: 1px solid #e4e4e7;
}

.project-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.project-card p {
  font-size: 0.9rem;
  color: #505050;
  margin-bottom: 0.6rem;
}

.project-card a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #2563eb;
}

.project-card a:hover {
  text-decoration: underline;
}

/* Contato */

.contact-list {
  list-style: none;
  margin-top: 0.8rem;
}

.contact-list li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-list a {
  color: #2563eb;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Rodapé */

.footer {
  border-top: 1px solid #e4e4e7;
  padding: 1rem 1.5rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Responsividade */

@media (max-width: 768px) {
  .hero {
    padding: 1.8rem 1.3rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    padding-inline: 1rem;
  }
}
