* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 300;
}

body {
  background: #fff;
  color: #020202;
}


/* ********************** */
.whatsapp-fixo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  padding: 9px 12px;
  border-radius: 65%;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fixo img {
  width: 32px;
  height: 32px;
  filter: invert(1); /* deixa o ícone branco */
}

.whatsapp-fixo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}


/* ******************** */

/* Topo */
.top-bar {
  background: #fcdb00;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 10px;
}

.address-line {
  display: flex;
  align-items: center;
  gap: 6px; /* espaço entre ícone e texto */
}

a {
  text-decoration: none;
  color: #000000;
}

.whts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}


header{
  background-color: #000;
}
.logo-ano {
  display: flex;
  gap: 50px;
  align-items: center;
}

.logo-primario {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
  margin-top: 20px;
}

.logo-primario img{
  width: 400px;
}

.logo h1 {
  font-size: 28px;
  font-weight: bold;
}

/* Menu */
.menu {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: 0.3s;
}

.menu a:hover {
  color: #fcdb00;
}

/* ===================== */
/* Botão que abre o menu */
.mobile-menu-button {
  display: none;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  margin: 15px auto;
}

/* Fundo escuro atrás do menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Menu em si */
.mobile-menu {
  text-align: center;
  width: 90%;
  max-width: 320px;
  transform: translateY(-50px);
  opacity: 0;
  transition: all 1.9s ease;
  position: relative;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 25px;
  display: block;
  margin: 30px 0;
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: #ffd700;
}

/* Botão de fechar */
.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Quando ativo */
.mobile-menu-overlay.active {
  display: flex;
}

.mobile-menu-overlay.active .mobile-menu {
  transform: translateY(0);
  opacity: 1;
}

/* Mostrar botão e esconder menu padrão em telas pequenas */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: block;
    background-color: #000000;

  }

  .menu {
    display: none;
  }
}
/* ===================== */
@media screen and (max-width: 768px) {
  .top-bar {
    font-size: 10px;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

}


/* *********************************************** */

.title {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
  background: linear-gradient(
    to bottom,
    rgb(8 42 123 / 35%) 50%,
    rgb(255 255 255 / 0%) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

@media (max-width: 768px) {
  .title {
    font-size: 1.5rem;
  }
}

/* ******************************************************* */

.search-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  padding: 0 10px;
}

.search-box {
  width: 100%;
  padding: 12px 40px 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease;
}

.search-box:focus {
  outline: none;
  border-color: #007bff;
}

.search-icon {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
  pointer-events: none;
}

/* Responsividade para telas pequenas */
@media (max-width: 480px) {
  .search-box {
    font-size: 14px;
    padding: 10px 35px 10px 12px;
  }

  .search-icon {
    right: 20px;
    font-size: 16px;
  }
}








.container {
  width: 1400px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colunas fixas */
  gap: 10px;
  padding: 20px;
}

@media (max-width: 1024px) {
  .container {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
  }
}

@media (max-width: 600px) {
  .container {
    grid-template-columns: 1fr; /* 1 coluna em celulares */
    width: 100%;
    
  }
  .logo-primario img{
    width: 300px;
  }
}



.car-card {
  width: 100%;
  max-width: 450px;
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.car-images {
  padding: 10px;
}

.car-images .main-img {
  width: 100%;
  border-radius: 8px;
}

.car-images .thumbs {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.car-images .thumbs img {
  width: 48%;
  border-radius: 6px;
}

.car-info {
  padding: 16px;
  text-align: left;
}

.car-info .marca {
  font-size: 14px;
  color: #666;
  margin: 0;
  text-transform: uppercase;
}

.car-info .modelo {
  font-size: 22px;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
}

.car-info .versao {
  background: #000;
  color: #fff;
  padding: 4px 8px;
  display: inline-block;
  margin-top: 6px;
  border-radius: 4px;
  font-size: 14px;
  text-transform: uppercase;
}

.car-info .km {
  margin-top: 10px;
  font-size: 14px;
  color: #444;
}

.car-info .preco {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}


.btn-estoque {
  display: flex;
  justify-content: center;
  padding: 14px 24px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-estoque:hover {
  background-color: #333;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* ******************************************************* */

.garantia-h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

/* ******************************************************* */

.garantia {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.garantia .conteudo {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.lado-esquerdo {
  flex: 1;
  min-width: 300px;
}

.lado-direito {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.lado-direito img {
  max-width: 100%;
  height: auto;
}

.logo-ano {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.logo img {
  max-width: 100%;
  height: auto;
}

.anos {
  background-color: #f50101;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

.anos .numero {
  font-size: 36px;
  line-height: 1;
}

.anos .texto {
  font-size: 14px;
}

.destaque {
  color: #f50101;
  font-weight: bold;
}

/* Responsivo */
@media (max-width: 768px) {
  .garantia .conteudo {
    flex-direction: column;
    text-align: center;
  }

  .logo-ano {
    flex-direction: column;
    justify-content: center;
  }

  .lado-esquerdo,
  .lado-direito {
    width: 100%;
  }

  .anos {
    margin-top: 20px;
  }
}

/* *********************************************** */

.formulario-whatsapp {
  background: #fcdc00;
  padding: 40px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}

.formulario-whatsapp h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.formulario-whatsapp h1 strong {
  color: #111;
}

.formulario-whatsapp p {
  font-size: 16px;
  margin-bottom: 30px;
}

.inputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.inputs input {
  padding: 12px;
  border: none;
  border-radius: 6px;
  width: 250px;
  font-size: 16px;
}

.lgpd {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
}

button {
  background-color: #b59e00;
  color: white;
  padding: 4px 4px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #000;
  color: #fff;
}

@media (max-width: 600px) {
  .inputs {
    flex-direction: column;
  }

  .inputs input {
    width: 100%;
  }

  .lgpd {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ****************************************** */

/* Container centralizador */
.container-mapa {
  margin: 0 auto;
}

/* Banner e mapa ocupam 100% da largura do container */
.banner img,
.mapa iframe {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  max-width: 1000px;
  margin: 0 auto;
}

/* Remover espaçamento entre as seções */
.banner,
.mapa {
  margin: 0;
  padding: 0;
}

/* *********************************** */

.rodape {
  background-color: #000;
  padding: 20px 0;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: center;
}

.conteudo-rodape {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 50px;
}

.info-esquerda,
.info-direita {
  flex: 1;
  min-width: 220px;
}

.info-direita a{
  color: white;
}

.logo-centro img {
  max-height: 60px;
  max-width: 180px;
}

.info-esquerda strong {
  font-size: 16px;
  color: #fff;
}

.info-esquerda p,
.info-direita p {
  margin: 5px 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .conteudo-rodape {
    flex-direction: column;
    text-align: center;
  }

  .logo-centro {
    order: -1;
    margin-bottom: 10px;
  }
}
