/* ============================
   hero
   ============================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-header-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__pins {
  display: none;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding-block: 56px 40px;
}

.hero__title {
  font-size: 28px;
  font-weight: 400;
  color: var(--color-white);
  max-width: 22ch;
}

.hero__title strong {
  display: block;
  font-weight: 700;
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-white);
  max-width: 40ch;
}

.hero__search {
  width: 100%;
  max-width: 620px;
}

@media (min-width: 768px) {
  .hero__pins {
    display: block;
    position: absolute;
    top: 13.6%;
    left: 9.3%;
    width: 88.1%;
    height: 53.1%;
  }

  .hero__pin {
    position: absolute;
    width: 3.5%;
    height: 21.6%;
  }

  .hero__content {
    padding-block: 90px 60px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 18px;
  }
}

@media (min-width: 1440px) {
  .hero__content {
    padding-block: 135px 70px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__subtitle {
    font-size: 20px;
  }
}

/* ============================
   como-funciona
   ============================ */
.how-it-works {
  background: var(--color-bg-muted);
  padding-block: 56px;
}

.how-it-works__header {
  margin-bottom: 32px;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .how-it-works__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .how-it-works__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
  }
}

/* ============================
   stats
   ============================ */
.stats {
  padding-block: 56px;
}

.stats__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.stats__illustration {
  width: 100%;
  height: auto;
  max-width: 280px;
  aspect-ratio: 1 / 1;
}

.stats__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.stats__headline {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__number {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-cta);
}

.stat__number span {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.stat__label {
  font-size: 15px;
  color: var(--color-text-secondary);
}

@media (min-width: 1024px) {
  .stats__inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
    text-align: left;
  }

  .stats__illustration {
    max-width: 380px;
    flex-shrink: 0;
  }

  .stats__content {
    text-align: left;
  }

  .stats__headline {
    font-size: 28px;
  }

  .stat__number {
    font-size: 32px;
  }
}

/* ============================
   gestor-cidade
   ============================ */
.city-manager {
  background: var(--color-bg-muted);
  padding-block: 56px;
}

.city-manager__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.city-manager__heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.city-manager__lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

.city-manager__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: 32px;
}

.city-manager__collage img {
  width: 100%;
  height: auto;
  aspect-ratio: 485 / 487;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .city-manager__inner {
    display: grid;
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 60px;
  }

  .city-manager__heading {
    font-size: 28px;
  }

  .city-manager__collage {
    width: 100%;
  }
}

