@media (max-width: 57.5rem){
    .btn-mobile{
        display: flex;
        padding: .5rem 2rem;
        font-size: 1.2rem;
        border: none;
        background-color: transparent;
        color: aliceblue;
        cursor: pointer;
    }

    .nav-links{
        display: none; 
        position: absolute;
        width: 50%;
        top: 50px;
        right: 0;
        background-color: black;
    }

    .nav-links li a{
        display: flex;
        justify-content: space-around;
        flex-direction: column;
    }

    .icons{
        display: none;
    }

    #nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .topo{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }

    .perfil img{
        display: block;
        margin: 0 auto;        
    }

    .txt-perfil{
       padding: 3%;
       text-align: left;
    }

    .txt-perfil h1{
        text-align: left;
        margin-top: 30px;
    }

    .grid-fotos{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 3%;
}

.grid-container{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  padding: 4%;
  margin: 10px auto;
}

.card:hover{
  pointer-events: none;
}

}

@media (min-width: 18rem) and (max-width: 50rem){

    .btn-contato button{
      display: flex;
      align-items: center;
      justify-content: center;
      width: 300px;
      color: black;
      font-weight: 500;
    }


    .grid-fotos{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 4%;
        margin: 50px auto;
    }

    .grid-fotos img{
        width: 20rem;
    }

    .escritorio h2, .quem-somos h3, .missao h3{
        text-align: center;
        justify-content: center;
    }

    .escritorio p, .quem-somos p, .missao p {
        text-align: center;
        
    }

 /* missão visão e valores */

   .img-missao, .img-visao, .img-valores {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    padding: 2rem 1rem;
  }

  .img-missao img, .img-visao img, .img-valores img {
    width: 100%;
    max-width: 400px; 
    margin: 0 0 1rem 0; 
    pointer-events: none;
  }

  .img-missao h2, .img-visao h2, .img-valores h2,
  .img-missao p, .img-visao p, .img-valores p {
    margin: 0;
    max-width: 100%;
  }  

  /* Área de Atuação - Grid */

.grid-container{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  padding: 4%;
  margin: 10px auto;
  justify-content: center;
}

.card:hover{
  pointer-events: none;
}

.card p{
  white-space: nowrap;
}

/* footer */
.footer-container {
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    padding: 30px 15px;
  }
  
  .footer-info, .footer-links, .footer-social {
    margin: 0; 
    margin-bottom: 20px; 
    width: 100%;
    text-align: left;
  }
  
  .footer-info h3, .footer-links h4 {
    margin-bottom: 10px;
  }
  
  .footer-links ul {
    padding: 0; 
    list-style: none; 
  }
  
  .footer-links li {
    margin-bottom: 5px;
  }

  .footer-social {
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    }

  .footer-social a {
    margin: auto; 
    font-size: 2rem; 
    }

  /* Ajustes para o texto de copyright */
  .footer-bottom {
    text-align: center;
    font-size: 1rem;
    }
}

    

