@media (max-width: 480px) {
    .chatbot-container {
        width: 95%;
        right: 2.5%;
        bottom: 2.5%;
        max-height: 90vh;
    }

    .chatbot-fab{
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    .chatbot-tooltip{
        bottom: 73px;
    }
    .chatbot-fab img {
        width: 28px;
        height: 28px;
    }

    .chatbot-header {
        padding: 15px 20px;
    }

    .chatbot-avatar-header {
        width: 45px;
        height: 45px;
    }

    .chatbot-header h3 {
        font-size: 1.05em;
    }

    .chatbot-message-avatar {
        width: 40px;
        height: 40px;
    }

    .chatbot-message-content {
        max-width: calc(100% - 55px);
    }

    .chatbot-options button,
    .chatbot-back-btn {
        padding: 12px;
        font-size: 0.95em;
    }
}

/* === RESPONSIVO SOBRE === */
@media (max-width: 700px) {

  h2 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }

  p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  a {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}



@media screen and (max-width: 605px) {
  .div-a ul {
    flex-direction: column;
    align-items: flex-start !important;
    padding-bottom: 10px;
  }
}

@media (max-width: 900px) {
  .apt-sobre {
    flex-direction: column;
    align-items: center;
  }
  #sobre{
  margin-top: 160px !important;

  }
  #inicio {
    justify-content: space-around;
    flex-direction: column-reverse !important;
  }

  .foto-sobre img {
    width: 100%;
    max-width: 100%;
  }

  .cards-destaque {
    flex-direction: column;
  }
}

@media screen and (max-width: 580px) {
  #inicio{
    flex-direction: column !important;
  }
  .a-txt-x{
    display: none !important;
  }
  .none{
    display: block !important;
  }
  .nav-bar{
    padding-bottom: 10px !important;
  }
  .logo-nav{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  svg{
    display: none !important;
  }
  .wpp-nav, .meio{
    display: none !important;
  }
  nav ul li img{
    width: 50%;
  }
}


@media screen and (max-width: 400px) {
  .cards-container{
    nav-down: m;
  }
}

@media screen and (max-width: 780px) {
  
  #inicio {
    flex-direction: column-reverse;
  }
}

/* responsividade adicional */
@media (max-width: 480px) {
  .price {
    font-size: 1rem;
  }
  .icons {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 400px) {
  .sidebar-details{
    display: none !important;
  }
  .sidebar-details.open{
    display: block !important;
  }
}

@media screen and (max-width: 380px) {
    #imgPerfil{
        width: 70%;
    }
    .foto-sobre{
        display: flex;
        justify-content: center !important;
    }
    .cards-container{
        grid-template-columns: repeat(auto-fit, minmax(180px, 4fr));
    }
}

@media (max-width: 450px){
h4 {
  font-size: clamp(1rem, 2.5vw, 1.5rem) !important;
}

}

@media (max-width: 375px) {
  .cards-destaque .h4-c, .p-c{
    font-size: 0.85rem !important;
  }
  .infos-lista strong, li, a{
    font-size: 0.85rem !important;

  }
}
