@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  overflow-x: hidden;
}

/* HEADER */

header {
  background-color: #0c3045;
  box-shadow: 0px 3px 10px #464646;
  width: 100vw;
  max-width: 100vw;
}

.nav-bar {
  display: flex;
  justify-content: space-evenly;
  padding: 1.5rem 6rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  color: #fff;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-list ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  text-decoration: none;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 400;
}
.elemento:hover {
  color: #f95752; /* Cor do texto ao passar o mouse */
}

.mobile-menu-icon {
  display: none;
}

.mobile-menu {
  display: none;
}

figure.logo {
  width: 5vw;
}

.logo_img {
  width: 100%;
  height: auto;
  border-radius: 100vw;
}

@media screen and (max-width: 730px) {
  .nav-bar {
    padding: 1.5rem 4rem;
  }
  .nav-item {
    display: none;
  }
  .login-button {
    display: none;
  }
  .mobile-menu-icon {
    display: block;
  }
  .mobile-menu-icon button {
    background-color: transparent;
    border: none;
    cursor: pointer;
  }
  .mobile-menu ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 1rem;
  }
  .mobile-menu .nav-item {
    display: block;
    padding-top: 1.2rem;
  }
  .mobile-menu .login-button {
    display: block;
    padding: 1rem 2rem;
  }
  .mobile-menu .login-button button {
    width: 100%;
  }
  .open {
    display: block;
  }

  figure.logo {
    max-width: 5vw;
  }

  .logo_img {
    width: 10vw;
    height: auto;
    border-radius: 100vw;
  }
}

/*BANNER*/
.banner {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Estilos específicos para a versão desktop (largura a partir de 767px) */
@media only screen and (min-width: 767px) {
  .mobile-banner {
    display: none;
  }
}
/* Estilos específicos para a versão móvel (largura menor que 767px) */
@media only screen and (max-width: 766px) {
  .desktop-banner {
    display: none;
  }
}

/*CONTEÚDO SITE*/
main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
/*SERVIÇOS*/
body {
  background-color: #f9f3f0;
}

.servico-text {
  text-align: center;
  margin-bottom: 2rem;
}

.servico-text h1 {
  color: #b00000;
  font-size: 2rem;
  font-weight: bold;
}

/* Responsivo */
@media (max-width: 600px) {
  .servico-text h1 {
    font-size: 1.5rem;
  }
}
/*Cards*/
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background-color: #f9f3f0;
  border: 1px solid #b00000;
  border-radius: 16px;
  width: 300px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.card-title {
  background-color: #b00000;
  color: white;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.card p {
  color: #333;
  font-size: 0.95rem;
}

/* Responsivo */
@media (max-width: 600px) {
  .card {
    width: 80%;
  }
}

.carousel-section {
  margin-top: 4rem;
  text-align: center;
}

.carousel-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
}

.carousel-title span {
  color: #b00000;
  font-weight: bold;
}

.swiper {
  width: 80%;
  padding: 1rem 0 3rem 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.swiper-slide img {
  width: 90%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Ajuste setas e pagination */
.swiper-button-prev,
.swiper-button-next {
  color: #b00000;
}

.swiper-pagination-bullet-active {
  background: #b00000;
}

.swiper-button-prev, .swiper-button-next {
  z-index: 10;
  cursor: pointer;
}

.obras-carousel {
  margin: 4rem 0;
  text-align: center;
}

.obras-carousel h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.obras-carousel .destaque {
  color: #b00000;
  font-weight: bold;
}

/*CLIENTES*/

.slider-container {
  overflow: hidden;
  width: 100%;
  background: #fdf6f3;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  width: max-content; /* Corrige o espaço extra */
  animation: scroll 20s linear infinite;
}

.slider-track img {
  height: 60px;
  margin: 0 40px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Ajustes para telas maiores */
@media (min-width: 1024px) {
  .slider-track img {
    height: 100px; /* Aumenta no desktop */
    margin: 0 50px;
  }
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
  .slider-track img {
    height: 40px;
    margin: 0 20px;
  }
}

/* Animação contínua */
@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
/*
.cliente-img {
  width: 300px;
  height: 100px;
}
*/
.cliente-container:hover .item {
  animation-play-state: paused;
  filter: grayscale(1);
}

.cliente-container .item:hover {
  filter: grayscale(0);
}

.cliente-text h1 {
  background-image: linear-gradient(to right, #0c3045, #0c3045 50%, #000 50%);
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

.cliente-text h1:before {
  content: "";
  background: #b00000;
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}

.cliente-text h1:hover {
  background-position: 0;
}

.cliente-text h1:hover::before {
  width: 100%;
}
.cliente-text {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10vh;
}

/*SOBRE NÓS*/
.sobre-nos {
  padding: 80px 20px;
  background-color: #f9f3f0;
}

.sobre-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.sobre-imagens {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sobre-imagens img {
  width: 100%;
  height: 250px; /* Definindo altura padrão */
  object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sobre-texto {
  flex: 1 1 50%;
}

.sobre-texto h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0c3045;
}

.sobre-texto p {
  font-size: 18px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 15px;
}

/* Responsivo para telas menores */
@media (max-width: 768px) {
  .sobre-container {
    flex-direction: column;
  }

  @media (max-width: 768px) {
    .sobre-imagens {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 10px;
    }

    .sobre-imagens img {
      width: 48%;
      height: 150px; /* Altura menor no mobile */
    }
  }

  .sobre-texto h2 {
    font-size: 26px;
  }

  .sobre-texto p {
    font-size: 16px;
  }
}

/*CONTATO*/
.contato-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.form-left, .form-right {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #333;
  font-size: 14px;
}

button {
  padding: 14px;
  border: none;
  background-color: #0c3045;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background-color: #b00000;
}

.form-right {
  text-align: center;
}

.form-right h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.logo-ns {
  max-width: 200px;
  width: 100%;
  height: auto;
}

/*FOOTER*/
/* FOOTER */
li{
    list-style: none;
}
a{
    text-decoration: none;
}

.container_footer{
    max-width: 1300px;
    margin: 0;
    padding: 20px;
}
footer{
    background-color: #0c3045;
    color: #fff;
    padding: 10px 0 0;
}

.footer-content{
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer-logo img{
    width: 60px;
    padding-bottom: 10px;
    display: block;
    margin: 0 auto;
}

.footer-logo p{
    width: 300px;
    color: #fff;
    margin: 0 auto;
}

.footer-links, .footer-contact{
    margin-top: 20px;
}

.footer-links h3, .footer-contact h3{
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
}

.footer-contact li {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    color: #fff;
    font-weight: 300;
    justify-content: center;
}

.copyright{
    background-color: #f95752;
    padding: 10px;
    text-align: center;
}

@media (min-width: 900px){
    .footer-content{
        justify-content: space-between;
        flex-direction: row;
    }
    footer{
        padding: 20px 0 0;
    }
    .footer-contact li {
        justify-content: start;
    }
    .footer-logo{
        border-right: 1px solid #f7f7f7;
        padding-right: 100px;
    }
}

