* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: Georgia, serif;
}

.header-inner-content {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.navbar {
  background-color: #2c2c2c;
  padding: 1rem;
  position: sticky;
  top: 0;
  box-shadow: 10px 0px 10px #2c2c2c;
  z-index: 99;
}

.navbar > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  color: #df0026;
}

.logo span {
  color: #fff;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-icon-container {
  display: flex;
  align-items: center;
}

.nav-icon-container img {
  width: 30px;
  cursor: pointer;
}

nav ul li {
  color: #fff;
  margin-right: 1.5rem;
  cursor: pointer;
}

.login-main {
  text-decoration: none;
  color: #fff;
}

nav ul li:hover {
  transform: translateY(-5px);
  transition: all 0.2s;
  font-weight: bold;
}

.menu-button {
  display: none;
}

header {
  background-image: radial-gradient(#fff, #c7c7c7);
}

.header-bottom-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.header-bottom-side-left {
  flex-basis: 50%;
}

.header-bottom-side-left h2 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
}

.header-bottom-side-left p {
  line-height: 1.5rem;
  margin-bottom: 1.5rem;
}

.header-bottom-side-left button {
  background-color: #df0026;
  border: none;
  cursor: pointer;
  padding: 0.8rem 3.8rem;
  border-radius: 9999px;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s;
}

.header-bottom-side-left button:hover {
  background-color: #83110c;
}






@media (max-width: 800px) {
  .logo {
      font-size: 1.2rem;
  }

  .menu-button {
      display: block;
  }

  .header-bottom-side {
      flex-direction: column;
      text-align: center;
      padding-top: 4rem;
  }

  nav {
      position: absolute;
      background-color: #2c2c2c;
      width: 100%;
      top: 46px;
      display: none;
  }

  .show-menu nav {
      display: block;
  }

  nav ul {
      flex-direction: column;
  }

  nav ul li {
      text-align: center;
      padding: 0.8rem;
  }
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 1300px;
  margin: auto;
}

/* Navbar */
.navbar {
  background-color: #2c2c2c;
  padding: 1rem;
  position: sticky;
  top: 0;
  box-shadow: 10px 0px 10px #2c2c2c;
  z-index: 99;
}

.navbar > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #df0026;
  font-size: 1.5rem;
}

.logo-link{
  text-decoration: none;
}

.logo span {
  color: #fff;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

nav ul li {
  color: #fff;
  margin-right: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s, font-weight 0.2s;
}

nav ul li:hover {
  transform: translateY(-5px);
  font-weight: bold;
}

.menu-button {
  display: none;
}

/* Header */
header {
  background: radial-gradient(#fff, #c7c7c7);
  padding: 0;
  text-align: center;
}

.header-bottom-side {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.header-bottom-side-left {
  flex: 1;
  text-align: left;
  padding: 1rem;
}

.header-bottom-side-left h2 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
}

.header-bottom-side-left p {
  line-height: 1.5rem;
  margin-bottom: 1.5rem;
}

.header-bottom-side-left button {
  background-color: #df0026;
  border: none;
  cursor: pointer;
  padding: 0.8rem 3.8rem;
  border-radius: 9999px;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.header-bottom-side-left button:hover {
  background-color: #83110c;
}

.header-bottom-side-right  {
  flex: 1;
  display: inline-flex;
  align-items: end;
  justify-content: right;
}

.header-bottom-side-right img {
  width: 100%;
  max-width: 80%;
}

/* Responsive */
@media (max-width: 800px) {
  .menu-button {
      display: block;
  }

  nav {
      display: none;
      position: absolute;
      width: 100%;
      background-color: #2c2c2c;
      top: 46px;
  }

  .show-menu nav {
      display: block;
  }

  nav ul {
      flex-direction: column;
      text-align: center;
  }

  nav ul li {
      padding: 0.8rem;
  }
}

@media (max-width: 600px) {
  .container-lance {
      width: 90%;
  }
  .c-botao {
      text-align: center;
  }
  .botao-lance {
      width: 100%;
  }
}

.container {
  flex: 1; /* Faz o conteúdo crescer e empurra o footer para baixo */
}

/* Estilização do Footer */
.footer {
  background-color: #2c2c2c;
  padding: 50px 0;
  width: 100%;
  color: white;
  margin-top: auto; /* Mantém o footer no final */
}

/* Alinhamento dos itens na horizontal */
.footer .row {
  display: flex;
  justify-content: space-around; /* Distribui os itens de forma uniforme */
  flex-wrap: wrap; /* Mantém responsivo */
  text-align: left;
}

/* Estilização das colunas */
.footer-col {
  width: 25%;
  padding: 15px;
}

.footer-col h4 {
  font-size: 18px;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 20px;
  font-weight: 500;
  position: relative;
}

/* Ajuste da lista */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a {
  font-size: 16px;
  color: #bbbbbb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}

/* Ajuste para o mapa */
.footer-col iframe {
  max-width: 100%;
  border-radius: 10px;
}

/* Redes sociais */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 20px;
  transition: 0.3s;
}

.social-links a:hover {
  color: #ff0000;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    width: 100%;
    margin-bottom: 20px;
  }
}


/* Responsivo Footer */
@media(max-width: 767px) {
  .footer-col {
      width: 50%;
      margin-bottom: 30px;
  }
}

@media(max-width: 574px) {
  .footer-col {
      width: 100%;
  }
}

.dados .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.dados .dados-item {
  text-align: center;
  margin: 15px;
  color: #000;
}

.dados .dados-item img {
  background-color: #df0026;
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 15px;
  width: 80px;
}

.dados .dados-item p {
  font-size: 18px;
}

.dados .dados-item p strong {
  font-size: 28px;
}


.container-contact {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  padding: 20px 60px 30px 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.container-contact .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container-contact .content .left-side {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
  position: relative;
}

.container-contact .content .right-side {
  width: 75%;
  margin-left: 75px;
}

.content .right-side .topic-text {
  font-size: 23px;
  font-weight: 600;
  color: #df0026;
}

.right-side .input-box {
  height: 50px;
  width: 100%;
  margin: 12px 0;
}

.right-side .input-box input,
.right-side .input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  font-size: 16px;
  background: #e0e0e0;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
  color: white;
}


.right-side .button {
  display: inline-block;
  margin-top: 12px;
}

.right-side .button input[type="button"] {
  color: #fff;
  font-size: 18px;
  padding: 8px 16px;
  border-radius: 6px;
  background: #df0026;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 40px;
}

.button input[type="button"]:hover {
  background: #a1001c;
}

/* Responsividade do Formulário */
@media (max-width: 950px) {
  .container-contact {
      width: 100%;
      padding: 30px 40px;
  }
  .container-contact .content .right-side {
      width: 75%;
      margin-left: 55px;
  }
}

@media (max-width: 820px) {
  .container-contact {
      margin: 40px 0;
      height: 100%;
  }
  .container-contact .content {
      flex-direction: column-reverse;
  }
  .container-contact .content .left-side {
      width: 100%;
      flex-direction: row;
      margin-top: 40px;
      justify-content: center;
      flex-wrap: wrap;
  }
  .container-contact .content .right-side {
      width: 100%;
      margin-left: 0;
  }
}

/* Veiculos em destaque ******** (card-carro) */

.card-carro{
  border: 1px solid red;
  width: 400px;
}

/* Container para alinhar vários cards */
.container-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centraliza os cards */
  gap: 15px; /* Espaço entre os cards */
  padding: 20px;
}

/* Estilização do Card */
.card {
  width: 100%;
  max-width: 400px; /* Limite do tamanho */
  background: white;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  flex-grow: 1; /* Permite ajuste dinâmico */
}

/* Imagem do carro */
.car-image {
  width: 100%;
  border-radius: 10px;
}

/* Tag de financiamento */
.financing {
  position: absolute;
  background: black;
  color: white;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 5px;
  top: 10px;
  left: 10px;
}

/* Botão de favorito */
.favorite {
  position: absolute;
  right: 10px;
  top: 10px;
  background: white;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

/* Informações do card */
.card-content {
  margin-top: 10px;
}

.info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 5px 0;
}

.car-name {
  font-size: 20px;
  font-weight: bold;
}

.status {
  color: green;
  font-weight: bold;
}

.initial-bid {
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0;
}

/* Botão de dar lance */
.bid-button {
  display: block;
  width: 100%;
  background: red;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

.bid-button:hover {
  background: darkred;
}

/* Para ajustar elementos dentro do card */
.card-header {
  position: relative;
}

/* 🔹 Responsividade */
@media (max-width: 768px) {
  .container {
      flex-direction: column;
      align-items: center;
  }

  .car {
      max-width: 90%;
  }
}

@media (max-width: 480px) {
  .car {
      padding: 10px;
  }

  .info {
      flex-direction: column;
      align-items: center;
      gap: 5px;
  }

  .detalhes {
      flex-direction: column;
      align-items: center;
      gap: 5px;
  }

  .botao-lance {
      font-size: 14px;
      padding: 8px;
  }
}

/* css da aba de lance */

/* Container principal */
.container-lance {
  width: 40%;
  margin: 10px 150px ;
  text-align: center;
  position: relative;
}

/* Cabeçalho */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  font-size: 8pt;
  padding: 4px;
}

.logo {
  height: 40px;
}

/* Imagem do carro */
.car-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.car-image img {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
}

/* Botões de navegação */
.prev, .next {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.selo {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: red;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
}

/* Botões de ação */
.actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.btn {
  background: #000;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background: #444;
}

/* Informações do veículo */
.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  text-align: center;
  margin-top: 20px;
}

.info div {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 5px;
}

/* Barra de pontuação */
.score {
  margin-top: 20px;
  text-align: center;
}

.progress-bar {
  width: 100%;
  max-width: 500px;
  height: 8px;
  background: #ddd;
  border-radius: 5px;
  margin: 10px auto;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #28a745;
}

.score-value {
  font-size: 18px;
  font-weight: bold;
}

/* Observações */
.observacoes {
  margin-top: 20px;
  padding: 20px;
  border-top: 2px solid #ddd;
}

.observacoes h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.observacoes p {
  font-size: 14px;
  color: #555;
}

/* Localização */
.localizacao {
  background: #f9f9f9;
  padding: 15px;
  margin-top: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.mapa-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  font-size: 20px;
  color: red;
}

.cidade {
  font-size: 16px;
  font-weight: bold;
}

/* Simulação de frete */
.frete {
  background: #222;
  color: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
}

.frete-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.frete h3 {
  font-size: 18px;
}

.frete p {
  font-size: 14px;
  margin-bottom: 15px;
}

.cep-form label {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}

.cep-form input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.cep-form button {
  width: 100%;
  padding: 10px;
  background: #ccc;
  border: none;
  border-radius: 5px;
  cursor: not-allowed;
  margin-top: 10px;
}

/* Parte direita */

.lance-card {
  width: 100%;
  max-width: 450px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  border: 1px solid #ddd;
}

.lance-status {
  background: #4caf50;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

.lance-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.btn-parcelas {
  background: #e30613;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.btn-parcelas:hover {
  background: #c30410;
}

.lance-valor {
  text-align: center;
  padding: 15px;
}

.lance-valor h2 {
  font-size: 26px;
  margin: 5px 0;
}

.valor-taxas {
  font-size: 14px;
  color: #555;
}

.login-section {
  background: #333;
  text-align: center;
  padding: 10px;
}

.btn-login {
  background: none;
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.lance-tabs {
  display: flex;
}

.tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
  background: #f8f8f8;
  cursor: pointer;
  font-weight: bold;
}

.tab.active {
  background: #fff;
}

.lance-historico {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #030303;
}

.container-lance {
  position: relative; /* Define um contexto para a posição absoluta */
}

.lance-card {
  position: fixed;
  right: 0; /* Encosta na direita */
  top: 50%; 
  transform: translateY(-50%); /* Centraliza verticalmente */
  margin-right: 100PX;
}

.lance-tabs {
    display: flex;
    gap: 10px;
}

.tab {
    background-color: #ddd;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
}

.tab.active {
    background-color: #007bff;
    color: white;
}

.tab-content {
    display: none; /* Oculta todas as abas por padrão */
    margin-top: 10px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.tab-content.ativo {
    display: block; /* Apenas a aba ativa aparece */
}

/* Responsividade */
@media (max-width: 1200px) {
  .container-lance {
    width: 90%;
    margin: 10px auto;
  }

  .lance-card {
    position: static; /* Remove o fixo para telas menores */
    width: 100%;
    max-width: 90%;
    margin: 20px auto;
    display: inline
  }
}

@media (max-width: 768px) {
  .container-lance {
    width: 100%;
    margin: 0;
    padding: 10px;
  }

  .lance-card {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    box-shadow: none; /* Remove a sombra para um visual mais clean */
  }

  .lance-tabs {
    flex-direction: column;
    gap: 5px;
  }

  .tab {
    font-size: 14px;
    padding: 8px;
  }

  .tab-content {
    padding: 10px;
  }

  .car-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .lance-info {
    flex-direction: column;
    gap: 10px;
  }

  .btn-parcelas {
    width: 100%;
    padding: 10px;
  }

  .tab {
    font-size: 12px;
    padding: 6px;
  }

  .tab-content {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }
}


  

.main-sobre, .main-sobre-primeiro{
display: flex;
justify-content: center;
padding: 50px;
background-image: url('/'); /* Caminho da sua imagem */
    background-size: cover; /* Ajusta a imagem para cobrir toda a área do main */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Impede a repetição da imagem */
}

.h-sobre{
  font-size: 56px;
  line-height: 10px;
  font-family: poppinsmedium;
}

.span-sobre{
  color: red;
}

.p-sobre{
  line-height: 20px;
  max-width: 500px;
  font-family: poppinslight;
  font-size: 1em;
}

#img-sobre{
  width: 580px;
  border-radius: 5px;
  padding-left: 50px;
  padding: 20px;
  
}

.form-sobre{
  display: flex;
  flex-direction: column;
  width: 70%;
}

.form-sobre [type="submit"]{
  height: 50px;
  width: 50%;
  background-color:red;
  color: white;
  font-weight: bold;
}
.form-sobre [type="submit"]:hover{
  cursor: pointer;
}

.input-sobre{
  margin-top: 20px;
  height: 20px;
  padding: 15px;
  border-radius: 20px;
  border: none;
  font-size: 15px;
}

/* Responsividade *********/


@media screen and (max-width: 1173px){

  .main-sobre, .main-sobre-primeiro{
      flex-direction: column;
  }

  .main-sobre-primeiro{
    margin-top: 300px;
  }

  .h-sobre{
      font-size: 20px;
      text-align:left;
  }

  .form-sobre{
      margin: 0 auto;
      width: 100%;
  }

  .input-sobre{
      align-self: center;
  }

  #img-sobre{
    width:90%;
    margin-top: 20px;
    
  }

}

/* primeira parte sobre */

* Seção principal com imagem de fundo */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.hero {
    position: relative;
    background: url('https://loopbrasil.com/quem-somos/background.png') no-repeat center ;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    width: 100%;
}

/* Sobreposição escura para melhorar a leitura */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Texto sobre a imagem */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: lighter;
}

.hero h2 {
    font-size: 2rem;
    font-weight: bold;
}

/* Caixa branca no canto inferior esquerdo */
.about {
    position: absolute;
    bottom: -76px;
    left: 0;
    background: white;
    padding: 0px;
    max-width: 600px;
    border-top-right-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1);

    z-index: 3;
    height: 500px;
}

/* Estilização do texto dentro da caixa */
.text-content {
    max-width: 100%;
}

.highlight {
    color: #E60064;
    font-weight: bold;
    font-size: 1em;
    font-family: Verdana;
}

/* Ícone no canto da caixa */
.icon img {
    width: 150px;
    opacity: 0.7;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }

    .about {
        max-width: 100%;
        padding: 20px;
        border-radius: 10px;
    }

    .icon img {
        width: 40px;
    }
}

/* botão do zap **************/

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;  /* Tamanho do botão */
  height: 60px;
  z-index: 1000; /* Garante que fique sobre outros elementos */
}

.whatsapp-button img {
  width: 100%;
  height: 100%;
  border-radius: 50%; /* Deixa o botão arredondado */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Sombra suave */
  transition: transform 0.3s ease-in-out;
}

.whatsapp-button img:hover {
  transform: scale(1.1); /* Efeito de zoom ao passar o mouse */
}

/* Responsividade para telas menores */
@media screen and (max-width: 600px) {
  .whatsapp-button {
      width: 50px;  /* Reduz um pouco o tamanho */
      height: 50px;
      bottom: 15px; /* Ajusta a posição */
      right: 15px;
  }
}

/* Ajuste para telas muito pequenas (ex: celulares antigos) */
@media screen and (max-width: 400px) {
  .whatsapp-button {
      width: 45px;
      height: 45px;
      bottom: 10px;
      right: 10px;
  }
} 


/* Itens Vistoriaaa *********/


.container-vistoria {
  width: 100%;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
h2 {
  font-size: 24px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
th, td {
  padding: 10px;
  text-align: left;
}
tr:nth-child(even) {
  background-color: #f4f4f4;
}

@media (max-width: 480px) {
  td {
      display: block;
      width: 100%;
      text-align: right;
      padding: 5px 10px;
  }
  td:first-child {
      font-weight: bold;
      text-align: left;
  }
}