/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navegação */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #0d6efd;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

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

nav a:hover,
nav a.active {
  color: #0d6efd;
}

nav a.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #0d6efd;
  position: absolute;
  bottom: -4px;
  left: 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  background-color: #0d6efd;
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.btn {
  background-color: #20c997;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #198754;
}

/* Sobre */
.about {
  padding: 5rem 0;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
}

/* Serviços */
.services {
  background-color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Contato */
.contact {
  padding: 5rem 0;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact p {
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: #fff;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
  border-top: 1px solid #eee;
}

/* Responsivo */
@media (max-width: 768px) {
  .nav ul {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .about h2,
  .services h2,
  .contact h2 {
    font-size: 2rem;
  }
}
