.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

.sobre-section {
  margin: 1.875rem auto 6.1875rem auto;
  max-width: 1400px;
  padding: 0 2rem;
  position: relative;
}

.sobre-title {
  color: #102E3B;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.sobre-description {
  color: #000000;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.sobre-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 100%;
  width: 100%;
  height: auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.sobre-card {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  width: 18.625rem;
  height: 29.9375rem;
  border-radius: 0.3125rem;
  padding: 2rem 1.5rem 2rem 1.5rem;
  background-color: #FFFFFF;
  box-shadow: 0 0 0.5rem 0 #102E3B33;
  margin-bottom: 1rem;
}

.sobre-icon {
  width: 7.875rem;
  height: 7.75rem;
  margin-bottom: 2rem;
}

.sobre-card-title {
  color: #C7475D;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.sobre-card-description {
  color: #102E3B;
  font-family: 'Poppins', sans-serif;
  font-style: 'regular';
  font-weight: 400;
  font-size: 1rem;
}

.robo-img {
  position: absolute;
  top: 600px;
  left: -280px;
  width: 20rem;
  height: 20rem;
  z-index: 10;
}

/* Telas muito grandes (acima de 1800px) */
@media (min-width: 1800px) {
  .sobre-section {
    max-width: 1600px;
  }
  
  .robo-img {
    top: 580px;
    left: -250px;
    width: 24rem;
    height: 24rem;
    z-index: 10;
  }
}

/* Telas grandes (1600px - 1799px) */
@media (min-width: 1600px) and (max-width: 1799px) {
  .robo-img {
    top: 590px;
    left: -220px;
    width: 22rem;
    height: 22rem;
    z-index: 10;
  }
}

/* Tela específica do usuário (1400px - 1599px) */
@media (min-width: 1400px) and (max-width: 1599px) {
  .robo-img {
    top: 473px;
    left: -50px;
    width: 21rem;
    height: 21rem;
    z-index: 10;
  }
}

/* Telas médias-grandes (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .sobre-section {
    max-width: 1200px;
  }
  
  .robo-img {
    top: 520px;
    left: -60px;
    width: 18rem;
    height: 18rem;
    z-index: 10;
  }
  
  .sobre-cards {
    gap: 1rem;
  }
  
  .sobre-card {
    width: 16rem;
    height: 28rem;
  }
}

/* Notebooks/tablets (769px - 1199px) */
@media (max-width: 1199px) and (min-width: 769px) {
  .sobre-section {
    margin: 1.875rem auto 6.1875rem auto;
    max-width: 100%;
    padding: 0 1rem;
  }

  .sobre-card {
    width: 15rem;
    height: auto;
    min-height: 26rem;
  }

  .sobre-cards {
    gap: 0.8rem;
  }

  .robo-img {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .sobre-section {
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    width: 100%;
    position: static;
  }

  .sobre-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: auto;
    font-size: 1.5rem;
    margin: 2rem 1.25rem 0.75rem 1.25rem;
  }

  .sobre-description {
    justify-content: center;
    width: 100%;
    height: auto;
    font-size: 1rem;
    margin: 0.75rem 1.25rem 2rem 1.25rem;
    padding: 0 1.25rem;
  }

  .sobre-cards {
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    padding: 0 1.25rem;
    margin-bottom: 3.625rem;
  }
  
  .sobre-card {
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
  }
}