/* Responsive Design */
@media (max-width: 968px) {
  .navbar {
    padding: 0.5 1rem;
  }
  .logo-img {
  max-height: 60px; /* limite da imagem */
}
  .loading-box {
    width: 60%;
  }
  #saudacao {
  font-size: 1.3rem;
  font-weight: 600;
  padding-top: 40px;
}
  .professional-img {
    display: none;
  }
  .categories-title {
    margin-top: -60px;
    margin-bottom: 50px;
    text-align: center;
    line-height: 2.5rem;
  }
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .categories {
    padding: 100px 0 20px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
  }

  .category-card {
    padding: 1rem 0.5rem;
  }

  .category-icon {
    width: 40px;
    height: 40px;
  }

  .category-card span {
    font-size: 0.8rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    margin-top: -40px;
    margin-bottom: -40px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }
   .hero-text h5 {
    font-size: 0.9rem;
   }

    .hero-text p {
    font-size: 0.9rem;
   }

   .search-box input {
    height: 50px;
   }

  .search-box {
    flex-direction: column;
    border-radius: 10px;
  }

  .search-box button {
    border-radius: 4px;
    height: 50px;
    width: 100%;
  }

  .professional-img {
    width: 250px;
    height: 320px;
  }

  .floating-card {
    bottom: -15px;
    right: -20px;
    display: none;
  }

  .professional-card {
    min-width: 180px;
    padding: 0.75rem;
  }

  .footer {
  padding-bottom: 80px;
}

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    width: 100%;
    max-width: 400px;
  }
  .categories-site {
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
}

.imagem-lado img {
  width: 100%;
  max-height: auto;
  margin-bottom: 30px;
}
.cookies-msg .cookies-txt {
    flex-direction: column;
    text-align: center;
    font-size: 0.8rem;
  }

  .cookies-msg .cookies-btn {
    margin-left: 0;
    margin-top: 15px;
  }

  .cookies-msg .cookies-btn button {
    width: 100%;
    max-width: 300px;
  }
   .modal-categoria {
    margin: 100px auto;
    padding: 15px;
    width: 90%;
  }

  .close-modal {
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
  }

  .modal-categoria ul li {
    font-size: 15px;
    padding: 12px 15px;
  }
.install-popup {
    bottom: 0 !important;  /* fixa no rodapé */
    top: auto !important;  /* remove o top */
    right: 0 !important;   /* cola na borda direita */
    width: 100% !important; /* ocupa toda a largura */
    max-width: 100% !important;
    border-radius: 20px 20px 0 0; /* borda arredondada só em cima */
    padding: 20px 16px 30px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1); /* sombra pra cima */
    height: 300px;
  }
}

@media (max-width: 480px) {
    .loading-box {
    width: 94%;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -10px;
  }
  .categories-title{
    font-size: 1.3rem;
    margin-top: -80px;
    line-height: 2rem;
  }
  .categories-p{
    margin-top: -30px;
    font-size: 0.9rem;
  }
  .category-card span {
    margin-top: 20px;
    font-size: 0.9rem;
  }

  .professional-img {
    width: 200px;
    height: 280px;
  }
  .imagem-lado img {
  width: 100%;
  max-height: auto;
  margin-bottom: 60px;
}
  .categories-site {
  clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
}
  .modal-categoria {
    margin: 25% auto;

  }
    .popup {
    width: 100%;
    padding: 10px 15px 17px;
    margin: 10px;
  }
}
