.about {
  background: var(--bg-dark);
  color: #fff;
  padding-bottom: 3rem;
}

.about .container .title {
  padding-block: 6rem;
}

.about .container .title h1 {
  font-weight: 400;
  font-size: 1.3rem !important;
  line-height: 1.4;
}

.about-items {
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 1.5rem;
}

.about-items .about-item {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  transition: transform 0.3s ease;
  padding: 2rem;
}

.about-items .about-item:hover {
  transform: translateY(-20px);
}

.about-items .about-item h2 {
  font-size: 1.2rem;
}

.about-items .about-item:nth-child(1) {
  background: linear-gradient(#0000005e, #0000005e), url(../image/mobile.jpg);
  background-size: cover;
}

.about-items .about-item:nth-child(2) {
  background: linear-gradient(#0000005e, #0000005e), url(../image/digital.jpg);
  background-size: cover;
}

.about-items .about-item:nth-child(3) {
  background: linear-gradient(#0000005e, #0000005e), url(../image/parking.jpg);
  background-size: cover;
}

.about-items .about-item p {
  margin-block: 1rem;
  font-size: 0.85rem;
}

.about-items .about-item a {
  width: 35%;
  height: 4vh;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #fff;
  border-radius: 50px;

  font-size: 0.75rem;
  color: #fff;
  text-decoration: none;
}

/* SERVICES */
.services {
  background: url(../image/mapa.png);
  background-position: center;

  padding-block: 4rem;
  padding-bottom: 8rem;
}

.services .container .title {
  text-align: center;

  color: #fff;
}

.services .container .title::after {
  content: '';
  display: block;
  height: 2px;
  width: 50px;
  background: var(--bg-primary);
  margin: 1rem auto;
}

.services .container .service-items {
  display: grid;
  grid-template-columns: repeat(1fr);

  text-align: center;
}

.services .container .service-items .service-item {
  height: 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.services .container .service-items .service-item span {
  font-size: 5rem;
  color: var(--bg-primary);
}

.services .container .service-items .service-item h3 {
  color: #fff;
  font-weight: 200;
}

/* CUSTOMERS */
.customers {
  background: url(../image/smart_parking.png);
  background-size: cover;
  padding-bottom: 6rem;
  padding-top: 2rem;
}

.customers .container .title {
  text-align: center;

  color: #fff;
  padding-block: 2rem !important;
}

.customers .container .title h2 {
  font-size: 1.3rem;
}

.customers .container .title::after {
  content: '';
  display: block;
  height: 2px;
  width: 50px;
  background: var(--bg-primary);
  margin: 1rem auto;
}

.customers .container .customers-items {
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 1rem !important;
}

.customers .container .customers-items .banner-customer {
  height: 45vh;
  background-position: center;
  background-size: cover;
  border-radius: 0.5rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.customers .container .customers-items .banner-customer .legend {
  opacity: 0;
  transform: translateY(20px); /* Começa deslocado para baixo */
  visibility: hidden;
  padding: 1.5rem;
  background: #00000091;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  text-align: center;
  font-size: 0.85rem;

  margin-bottom: 0.03rem;
  height: 60% !important;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
}

.customers .container .customers-items .banner-customer .customer-footer {
  background: #00000091;
  padding: 1.5rem;

  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;

  color: #fff;
}

.customers .container .customers-items .banner-customer:hover .legend {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* NEWS */
.news {
  padding-block: 6rem;
}

.news .container {
  display: grid;
  grid-template-columns: 1fr;
}

.news .container .title {
  margin-bottom: 2rem;
}

.news .container .title h2 {
  font-size: 3rem;
  text-transform: uppercase;
  line-height: 0.6;

  color: var(--bg-primary);
}

.news .container .title h2 span {
  color: var(--bg-dark);
  font-size: 2rem;
}

.news .container .title a {
  width: 33%;
  height: 4vh;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--bg-dark);
  background-color: var(--bg-dark);
  border-radius: 50px;

  color: var(--bg-light);
  text-transform: uppercase;

  font-size: 0.75rem;
  text-decoration: none;

  margin-top: 1.5rem;
}

.news .container .news-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.news .container .news-items .new-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news .container .news-items .new-item h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #053d78;
}

.news .container .news-items .new-item a {
  text-transform: uppercase;
  display: flex;
  gap: 1.5rem;
  color: var(--bg-primary);
  text-decoration: none;
  margin-top: 0.5rem;
  font-weight: bold;
}

/* VERSÃO DESKTOP */
@media (width> 1024px) {
  .about .container .title h1 {
    font-size: 3.5rem !important;
    line-height: 1;
  }

  .about-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-items .about-item h2 {
    font-size: 1.3rem;
  }

  .about-items .about-item p {
    font-size: 0.8rem !important;
  }

  /* SERVICES */
  .services {
    background-size: 100%;
    background-position: top;
  }

  .services .container .service-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .services .container .service-items .service-item h3 {
    font-size: 1rem;
  }

  .services .container .service-items .service-item span {
    font-size: 4rem;
  }

  /* COSTUMERS */
  .customers {
    background-repeat: no-repeat;
  }

  /* NEWS */
  .news .container {
    width: 95% !important;
    margin: 0 auto;
    grid-template-columns: 20% 80%;
  }

  .news .container .title {
    padding-top: 0.5rem;
  }
  .news .container .title a {
    height: 6vh;
    width: 43%;
  }

  .news .container .news-items {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 884px) AND (min-width: 800px) {
  .about-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .services .container .service-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .customers .container .customers-items .banner-customer {
    height: 30vh;
  }
}
