/* Services */
.services {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 0;
  }
  
  .service-card {
    display: block;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    background-color: #fff;
  }
  
  .service-card:hover {
    transform: scale(1.05);
  }
  
  .service-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
  }
  
  .service-card h3 {
    padding: 15px;
    text-align: center;
    font-size: 18px;
  }

 #contatoimg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

#contatoimg img {
  width: 800px;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

  .services {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 0;
}
  
.service-card {
    display: block;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    /* Transição mais suave para o card */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
  
.service-card:hover {
    /* Efeito de "levantar" o card */
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
  
.service-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}
  
.service-card h3 {
    padding: 15px;
    text-align: center;
    font-size: 18px;
}

#contatoimg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

#contatoimg img {
    width: 800px;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .services {
        gap: 25px;
        padding: 20px 0;
    }
    .service-card {
        width: 85%;
    }
    #contatoimg img {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 85%;
        gap: 20px;
    }
}


  @media (max-width: 768px) {
    .services {
      justify-content: center;
      gap: 25px;
      padding: 20px 0;
      align-items: center;
    }
  
    .service-card {
      width: 85%;
    }
  
    #contatoimg {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

#contatoimg img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* opcional, depende do resultado visual que deseja */
}
  }

  @media (max-width: 480px) {
    .service-card {
      width: 85%;
      gap: 20px;
    }

    .service-card img {
      width: 100%;
      height: 265px;
      object-fit: cover;
    }
  }
  