/*html,
body {
  background-color: #000000;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.conteudo {
  flex: 1;
}

main {
  flex: 1;
}

.cabecalho-logo {
  background-color: #000;
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid #333;
}

.logo-topo {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255, 0, 0, 0.4));
}

h1 {
  text-align: center;
  color: white;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.container-cards2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.card2 {
  text-decoration: none;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  flex: 1 1 45%;
  max-width: 600px;
  min-height: 350px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  color: #f2f2f2;
}

.card2:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

.card2 img {
  width: 100%;
  height: 450px; 
  object-fit: cover;
  border-bottom: 1px solid #333;
}

.card2 h2 {
  text-align: center;
  padding: 15px 0;
  margin: 0;
  font-size: 20px;
}

.card {
  text-decoration: none;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  color: #f2f2f2;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #333;
}

.card .info {
  padding: 10px;
  text-align: center;
}

.card .info h3 {
  margin: 10px 0 5px;
  font-size: 23px;
  font-weight: 600;
  color: #ffffff;
}

.card .info p {
  font-size: 16px;
  margin: 0;
  color: #00ffcc;
  font-weight: 500;
}

.carrossel img {
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
  display: block;
}

.carro-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.carrossel-wrapper {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.carrossel-veiculo {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  display: none;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.slide.ativo {
  display: block;
}

.controle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.anterior {
  left: 10px;
}

.proximo {
  right: 10px;
}

.descricao {
  margin-top: 20px;
}

.botao-voltar {
  display: inline-block;
  margin: 20px;
  padding: 10px 20px;
  background-color: red;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.botao-voltar:hover {
  background-color: white;
  color: red;
}

.footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid #444;
}

.footer p {
  margin: 0 0 10px;
  font-size: 14px;
}

.footer .social {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer .social a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer .social a:hover {
  color: white;
}

.footer .fa-instagram {
  color: #e1306c;
}

.footer .fa-whatsapp {
  color: #25d366;
}

.detalhes-veiculo {
  background-color: #fff;
  padding: 25px 30px;
  margin: 30px auto;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.detalhes-veiculo h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #000;
  border-bottom: 2px solid #00ffcc;
  padding-bottom: 10px;
}

.detalhes-veiculo ul {
  list-style: none;
  padding: 0;
}

.detalhes-veiculo li {
  font-size: 18px;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.detalhes-veiculo strong::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00cc99;
  font-weight: bold;
}
.footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-family: "Segoe UI", sans-serif;
  border-top: 1px solid #333;
}

.footer-description p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-description strong {
  color: #00ffcc;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  margin: 0 10px;
  color: #ccc;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #00ffcc;
}



img {
  max-width: 100%;
  height: auto;
}


@media (max-width: 768px) {
  .carrossel-wrapper {
    height: auto;
  }

  .slide {
    height: auto;
    max-height: 300px; 
  }

  .carro-container {
    padding: 10px;
    margin: 10px;
  }

  .card {
    width: 45%; 
    margin-bottom: 15px;
  }

  .card img {
    height: 120px; 
  }
}

@media (max-width: 480px) {
  .slide {
    max-height: 250px;
  }

  .card {
    width: 90%;
  }

  .detalhes-veiculo {
    padding: 15px;
    margin: 15px;
  }
}
*/

html,
body {
  background-color: #000000;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.conteudo {
  flex: 1;
}

main {
  flex: 1;
}

.cabecalho-logo {
  background-color: #000;
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid #333;
}

.logo-topo {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255, 0, 0, 0.4));
  display: inline-block;
}

h1 {
  text-align: center;
  color: white;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.container-cards2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.card2 {
  text-decoration: none;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  flex: 1 1 45%;
  max-width: 600px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  color: #f2f2f2;
}

.card2:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

.card2 img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-bottom: 1px solid #333;
}

.card2 h2 {
  text-align: center;
  padding: 15px 0;
  margin: 0;
  font-size: 20px;
}

.card {
  text-decoration: none;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  color: #f2f2f2;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #333;
}

.card .info {
  padding: 10px;
  text-align: center;
}

.card .info h3 {
  margin: 10px 0 5px;
  font-size: 23px;
  font-weight: 600;
  color: #ffffff;
}

.card .info p {
  font-size: 16px;
  margin: 0;
  color: #00ffcc;
  font-weight: 500;
}

.carrossel img {
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
  display: block;
}

.carro-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.carrossel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.carrossel-veiculo {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  display: none;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.slide.ativo {
  display: block;
}

.controle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
}

.anterior {
  left: 10px;
}

.proximo {
  right: 10px;
}

.descricao {
  margin-top: 20px;
}

.botao-voltar {
  display: inline-block;
  margin: 20px;
  padding: 10px 20px;
  background-color: red;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.botao-voltar:hover {
  background-color: white;
  color: red;
}

.footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid #444;
  font-family: "Segoe UI", sans-serif;
}

.footer p {
  margin: 0 0 10px;
  font-size: 14px;
}

.footer .social {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer .social a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer .social a:hover {
  color: white;
}

.footer .fa-instagram {
  color: #e1306c;
}

.footer .fa-whatsapp {
  color: #25d366;
}

.detalhes-veiculo {
  background-color: #fff;
  padding: 25px 30px;
  margin: 30px auto;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.detalhes-veiculo h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #000;
  border-bottom: 2px solid #00ffcc;
  padding-bottom: 10px;
}

.detalhes-veiculo ul {
  list-style: none;
  padding: 0;
}

.detalhes-veiculo li {
  font-size: 18px;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.detalhes-veiculo strong::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00cc99;
  font-weight: bold;
}

/* Imagens responsivas */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsivo para tablets e celulares */
@media (max-width: 768px) {
  .carrossel-wrapper {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .slide {
    max-height: 300px;
    object-fit: contain;
  }

  .carro-container {
    padding: 10px;
    margin: 10px;
  }

  .card {
    width: 100%;
    margin-bottom: 15px;
  }

  .card img {
    height: 140px;
    object-fit: cover;
  }

  .card .info h3 {
    font-size: 20px;
  }

  .card .info p {
    font-size: 14px;
  }

  .card2 {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .card img,
  .card2 img {
    height: 220px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }

  .card {
    width: 100%;
  }

  .card2 {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
  }

  .detalhes-veiculo {
    padding: 15px;
    margin: 15px;
  }

  .card .info h3,
  .card2 h2 {
    font-size: 18px;
  }

  .card .info p,
  .detalhes-veiculo li {
    font-size: 14px;
  }

  .logo-topo {
    width: 150px;
  }

  .controle {
    font-size: 24px;
    width: 30px;
    height: 30px;
  }

  h1 {
    font-size: 22px;
  }
}
