/* Nivel 8.9.2 - correcoes da home: areas ativas */
.ca-nivel84.page-index .ca-app-hero-shell {
  padding-top: 96px !important;
  padding-bottom: 26px !important;
  background: #fff !important;
  overflow: visible !important;
}

.ca-nivel84.page-index .ca-app-hero-carousel .carousel-inner {
  overflow: hidden !important;
  border-radius: 10px !important;
}

.ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-slide {
  width: min(1180px, calc(100vw - 32px)) !important;
  aspect-ratio: 50 / 10 !important;
  min-height: 236px !important;
  max-height: 330px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

.ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-bg {
  object-fit: cover !important;
  object-position: center !important;
}

.ca-nivel84.page-index .ca-app-hero-shell .min-vh-hero > [class*="col-"]:first-child {
  width: 56% !important;
  padding-left: clamp(42px, 7vw, 92px) !important;
  padding-right: 24px !important;
}

.ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-copy h1 {
  font-size: clamp(1.75rem, 2.75vw, 2.82rem) !important;
  line-height: 1.06 !important;
  margin: 0 0 8px !important;
  max-width: 620px !important;
}

.ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-copy p {
  font-size: clamp(.98rem, 1.35vw, 1.22rem) !important;
  line-height: 1.35 !important;
  margin: 0 0 14px !important;
  max-width: 560px !important;
}

.ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-actions .btn {
  min-height: 42px !important;
  padding: .6rem 1.24rem !important;
}

.ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-indicators {
  bottom: 9px !important;
}

.ca-home-areas {
  background: #f4f7fb !important;
  padding: 22px 0 32px !important;
}

.ca-home-areas-shell {
  overflow: hidden !important;
  border: 1px solid #e1ebf6 !important;
  border-radius: 22px !important;
  padding: 18px 18px 24px !important;
  background: linear-gradient(180deg, #fff, #f8fbff) !important;
  box-shadow: 0 18px 46px rgba(15, 47, 95, .08) !important;
}

.ca-home-areas-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
}

.ca-home-areas-head span {
  display: inline-flex !important;
  align-items: center !important;
  gap: .4rem !important;
  border-radius: 999px !important;
  padding: .34rem .68rem !important;
  background: #eef6ff !important;
  color: #063b78 !important;
  font-size: .74rem !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.ca-home-areas-head span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff8a00;
}

.ca-home-areas-head h2 {
  margin: 8px 0 0 !important;
  color: #0b2341 !important;
  font-size: clamp(1.35rem, 2.2vw, 2rem) !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

.ca-home-areas-head a {
  flex: 0 0 auto !important;
  border-radius: 999px !important;
  padding: .72rem 1rem !important;
  background: #ff9f38 !important;
  color: #1d1104 !important;
  box-shadow: 0 12px 28px rgba(255, 138, 0, .18) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.ca-home-areas-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.ca-home-area-card {
  position: relative !important;
  display: block !important;
  min-height: 96px !important;
  overflow: hidden !important;
  border: 1px solid #dae6f3 !important;
  border-radius: 16px !important;
  padding: 18px 16px !important;
  background: #fff !important;
  color: #12345d !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(15, 47, 95, .06) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.ca-home-area-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ff9f38, #4fbfa8, #3b82f6);
}

.ca-home-area-card strong,
.ca-home-area-card small {
  position: relative;
  z-index: 1;
  display: block !important;
}

.ca-home-area-card strong {
  padding-right: 52px !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
}

.ca-home-area-card small {
  margin-top: 8px !important;
  color: #607089 !important;
  font-size: .86rem !important;
  line-height: 1.35 !important;
}

.ca-home-area-count {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 1 !important;
  display: inline-grid !important;
  min-width: 36px !important;
  height: 32px !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #edf6ff !important;
  color: #063b78 !important;
  font-size: .82rem !important;
  font-weight: 950 !important;
}

.ca-home-area-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 138, 0, .32) !important;
  box-shadow: 0 18px 42px rgba(15, 47, 95, .12) !important;
  color: #063b78 !important;
}

.ca-home-area-card-empregos,
.ca-home-area-card-veiculos,
.ca-home-area-card-imoveis,
.ca-home-area-card-shopping {
  border-color: rgba(6, 122, 83, .24) !important;
  background: linear-gradient(135deg, #05a657, #087e64) !important;
  color: #fff !important;
}

.ca-home-area-card-empregos::before,
.ca-home-area-card-veiculos::before,
.ca-home-area-card-imoveis::before,
.ca-home-area-card-shopping::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .18)) !important;
}

.ca-home-area-card-empregos small,
.ca-home-area-card-veiculos small,
.ca-home-area-card-imoveis small,
.ca-home-area-card-shopping small {
  color: rgba(255, 255, 255, .88) !important;
}

.ca-home-area-card-empregos .ca-home-area-count,
.ca-home-area-card-veiculos .ca-home-area-count,
.ca-home-area-card-imoveis .ca-home-area-count,
.ca-home-area-card-shopping .ca-home-area-count {
  background: rgba(255, 255, 255, .18) !important;
  color: #fff !important;
}

.ca-home-area-card-precinhos {
  background: linear-gradient(135deg, #fff7ec, #fff) !important;
  border-color: rgba(255, 138, 0, .28) !important;
}

.ca-home-areas-dots {
  position: static !important;
  gap: 8px !important;
  margin: 16px 0 0 !important;
}

.ca-home-areas-dots [data-bs-target] {
  width: 34px !important;
  height: 4px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #b7c6d8 !important;
  opacity: 1 !important;
}

.ca-home-areas-dots .active {
  background: #ff8a00 !important;
}

@media (max-width: 991.98px) {
  .ca-nivel84.page-index .ca-app-hero-shell {
    padding-top: 84px !important;
    padding-bottom: 18px !important;
  }

  .ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-slide {
    width: calc(100vw - 24px) !important;
    aspect-ratio: 16 / 7 !important;
    min-height: 220px !important;
    max-height: none !important;
  }

  .ca-nivel84.page-index .ca-app-hero-shell .min-vh-hero > [class*="col-"]:first-child {
    width: 70% !important;
    padding-left: 24px !important;
  }

  .ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-copy h1 {
    font-size: clamp(1.45rem, 5vw, 2.12rem) !important;
  }

  .ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-copy p {
    font-size: .95rem !important;
  }

  .ca-home-areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575.98px) {
  .ca-nivel84.page-index .ca-app-hero-shell {
    padding-top: 78px !important;
  }

  .ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-slide {
    width: calc(100vw - 20px) !important;
    aspect-ratio: 4 / 5 !important;
    min-height: 330px !important;
  }

  .ca-nivel84.page-index .ca-app-hero-shell .min-vh-hero > [class*="col-"]:first-child {
    width: 100% !important;
    align-items: flex-end !important;
    padding: 0 18px 42px !important;
  }

  .ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-copy h1 {
    font-size: 1.5rem !important;
  }

  .ca-nivel84.page-index .ca-app-hero-shell .ca-hero-v2811-copy p {
    max-width: 92% !important;
    font-size: .86rem !important;
  }

  .ca-home-areas {
    padding: 14px 0 22px !important;
  }

  .ca-home-areas-shell {
    border-radius: 18px !important;
    padding: 14px 14px 20px !important;
  }

  .ca-home-areas-head {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .ca-home-areas-head a {
    width: 100% !important;
    text-align: center !important;
  }

  .ca-home-areas-grid {
    grid-template-columns: 1fr !important;
  }

  .ca-home-area-card {
    min-height: 88px !important;
  }
}
