/* ESTILOS GERAIS */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* CABEÇALHO */
header {
  background: linear-gradient(to bottom, #0f1e3f, #000000);
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  height: 130px;
  width: auto;
  max-width: 100%;
}

.contato {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.contato i {
  margin-right: 8px;
  color: white;
  font-size: 18px;
}

.contato div {
  display: flex;
  align-items: center;
  margin: 4px 0;
}

/* MENU DE NAVEGAÇÃO */
.menu {
  background-color: #000;
  padding: 10px 0;
}

.menu .container {
  flex-wrap: wrap;
}

.menu-lista {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu-lista li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.menu-lista li a:hover {
  color: #FFA500;
}

.menu-pesquisa {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.menu-pesquisa input {
  padding: 8px 12px;
  border-radius: 20px 0 0 20px;
  border: none;
  outline: none;
  font-size: 14px;
  min-width: 180px;
}

.menu-pesquisa button {
  padding: 8px 12px;
  border: none;
  background-color: #FFA500;
  color: white;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
}

.menu-pesquisa button i {
  font-size: 14px;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .logo {
    height: 100px;
  }

  .contato {
    font-size: 14px;
  }

  .menu .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu-pesquisa {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .contato {
    align-items: flex-start;
    text-align: left;
    margin-top: 10px;
  }
}

/* BANNER PROMOCIONAL */
.banner-promo {
  margin-top: 10px;
  margin-bottom: 20px;
}

.banner-promo .banner-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* FILTRO DE BUSCA */
.filtro-busca {
  background-color: #f2f2f2;
  padding: 20px 0;
}

.form-busca {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* garantir que ocupe toda largura do container */
  box-sizing: border-box;
}

.form-busca select,
.form-busca input {
  flex: 1 1 140px; /* mínimo 140px, cresce conforme o espaço */
  min-width: 140px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  min-width: 140px;
  font-size: 14px;
  background-color: white;
  outline: none;
}

.form-busca button {
  flex-shrink: 0; /* não reduz */
  padding: 10px 16px;
  background-color: #FFA500;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s;
  box-sizing: border-box;
  white-space: nowrap;
}

.form-busca button:hover {
  background-color: #cc8400;
}

@media (max-width: 768px) {
  .form-busca {
    flex-direction: column;
    align-items: stretch;
  }

  .form-busca select,
  .form-busca input,
  .form-busca button {
    width: 100%;
  }
}

/* ÚLTIMAS OFERTAS */
.ultimas-ofertas {
  padding: 30px 0;
  width: 100%;
  box-sizing: border-box;
}

.ultimas-ofertas h2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.cards-carros {
  margin-top: 30px; /* Espaçamento acima do botão, se quiser */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.card-carro {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
  cursor: pointer;
}

.card-carro:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
}

.card-carro img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card-carro h3 {
  margin: 12px 0 6px;
  font-size: 18px;
  color: #222;
}

.card-carro p {
  margin: 0 0 12px;
  font-weight: 600;
  color: #FFA500;
  font-size: 16px;
}

.btn-ver-estoque-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.btn-ver-estoque {
  margin-top: 25px; /* Espaçamento acima do botão, se quiser */
  padding: 12px 24px;
  font-size: 16px;
  background-color: #FFA500;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-ver-estoque:hover {
  background-color: #cc8400;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .cards-carros {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-carros {
    grid-template-columns: 1fr;
  }
}





.depoimentos {
  background-color: #f2f2f2;
  padding: 40px 0;
}

.depoimentos h2 {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.swiper {
  width: 100%;
}

.card-depoimento {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.card-depoimento img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.card-depoimento h4 {
  font-size: 18px;
  margin: 10px 0 5px;
}

.card-depoimento p {
  font-size: 14px;
  color: #555;
}





.rodape {
  background-color: #222;
  color: #eee;
  padding: 50px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.rodape-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.rodape-col {
  flex: 1;
  min-width: 250px;
}

/* Títulos com linha laranja alinhados */
.rodape-col h3 {
  display: flex;
  align-items: center;
  font-size: 22px;
  margin-bottom: 15px;
  color: #eee;
  font-weight: 600;
}

.rodape-col h3::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: #f97316; /* laranja */
  border-radius: 2px;
  margin-left: 12px;
}

/* Quem Somos */
.rodape-sobre p {
  text-align: justify;
  color: #ccc;
}

/* Mapa do Site */
.rodape-mapa ul {
  list-style: none;
  padding: 0;
}

.rodape-mapa ul li {
  margin-bottom: 10px;
}

.rodape-mapa ul li a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rodape-mapa ul li a:hover {
  color: #f97316;
}

/* Contato */
.rodape-contato p {
  margin-bottom: 12px;
  color: #ccc;
}

/* Ícones redes sociais */
.redes-sociais a {
  color: #eee;
  font-size: 24px;
  margin-right: 15px;
  transition: color 0.3s ease;
  display: inline-block;
}

.redes-sociais a:hover {
  color: #f97316;
}

.redes-sociais a:last-child {
  margin-right: 0;
}

.rodape-container {
  /* já tem isso */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;

  /* Adicione esta linha para alinhar os itens ao topo */
  align-items: flex-start;
}






