.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 140px;
  text-align: center;
  background: linear-gradient(180deg, #c5e5f5 0%, #8ac4e8 45%, #5aa4d8 72%, #3d8ac6 100%);
  overflow: hidden;
}

.home > *:not(.city-bg) {
  position: relative;
  z-index: 1;
}

/* texto legível sobre o céu */
.home h1,
.home .subtitle {
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}

/* cidade ao fundo */
.city-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: min(460px, 50vh);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.city-bg svg {
  width: 100%;
  height: 100%;
}

.home h1 {
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 620px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home .subtitle {
  color: var(--muted);
  margin: 16px 0 56px;
  font-size: 1.05rem;
  max-width: 480px;
  line-height: 1.6;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.card {
  background: var(--white);
  padding: 28px 24px;
  width: 240px;
  border-radius: var(--radius);
  text-align: left;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}
