/* style.css */

/* Reset e fonte */
body {
  font-size: 16px;
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Logo */
.logo {
  width: 208px;
  height: auto;
}

.navbar-gradient {
  background: linear-gradient(135deg, #082a86 0%, #99c9fb 100%) !important;
}

.navbar-gradient .nav-link {
  color: white !important;
}

.navbar-gradient .nav-link:hover {
  color: #f8f9fa !important;
}

/* === CAROUSEL PRINCIPAL === */
.carousel-item img {
  height: 330px;
  object-fit: cover;
  width: 100%;
}

/* === WRAPPER (fundo com padding) === */
.search-section-wrapper {
  background-color: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 40px 0; /* espaço interno acima e abaixo */
}

/* === CONTEÚDO (sem margem lateral, colado à borda da tela) === */
.search-section {
  margin: 0 auto; /* centraliza o conteúdo */
  padding: 0 15px; /* padding interno para o conteúdo não grudar */
}

/* Campo de busca alinhado à esquerda */
.search-box {
  display: flex;
  border: 2px solid #2073e0;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.search-box input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: 'Arial', sans-serif;
}

.search-box input::placeholder {
  color: #aaa;
  font-style: italic;
}

.search-box button {
  background-color: #2073e0;
  color: white;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button:hover {
  background-color: #0e71f1;
}

.search-section optgroup {
    font-weight: bold;
    color: #007bff;
}

.search-section option {
    padding: 2px 10px;
}

.search-section select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    font-size: 0.875rem;
}
/* Espaçamento entre o filtro */
.search-section-wrapper .flex-fill {
    padding-left: 20px;
}

/* === BOTÃO "VER TODO ESTOQUE" === */
.btn-estoque {
  background-color: transparent;
  border: 2px solid #e02020;
  color: #201f1f;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-estoque:hover {
  background-color: #e63030;
  color: white;
}

/* === WHATSAPP FIXO === */
.whatsapp-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.whatsapp-badge i {
  color: white;
  font-size: 24px;
}

/* === CONTAINER DE MARCAS === */
.brand-container {
  max-width: 1306px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
   background: linear-gradient(135deg, #082a86 0%, #99c9fb 100%);
  /* background-image: url('../images/fundomarca.png'); */
  background-size: cover;        /* Cobertura total em desktop */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  padding: 40px 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.137); /* overlay leve */
}

/* Logotipo em formato retangular */
.brand-logo {
  width: 127px;
  height: 65px;
  object-fit: contain;
  background-color: #ffffff;
  border: 1px solid #6d7d8d;
  padding: 8px;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Efeito hover */
.brand-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-color: #0e71f1;
}

/* Espaçamento entre colunas */
.brand-container .col {
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* === SEÇÃO DE CARROS === */
.car-section {
  background-color: #f5f7fa; /* Fundo azulado suave */
  border-radius: 12px;
  padding: 40px 0;
}

/* === CARDS DE CARROS === */
.card {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Posição da etiqueta */
.position-absolute.top-0.start-0 {
  top: -1px;
  left: 0px;
  font-size: 12px;
  font-weight: 500;
}

/* Ícones dos dados */
.fas {
  margin-right: 8px; /* Espaço entre ícone e texto */
  font-size: 14px;
}

/* Botão de detalhes */
.btn-financiamento {
  background-color: #b80d00;
  border-color: #424446;
  color: #fbfbfb;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-financiamento:hover {
  background-color: #f1170f;
  border-color: #424446;
  color: #fbfbfb;
  transform: scale(1.02);
}

/* Botão no banner */
.banner-container {
  max-width: 836px;
  height: 213px;
  margin: 0 auto;
  border-radius: 12px; /* Borda arredondada */
  overflow: hidden; /* Essencial para cortar o conteúdo excedente */
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.position-absolute{
  top: 114px;
  left: 20px;
}
.btn-vendacarro {
  color: #fbfbfb;
  background-color: #b80d00;
  border-color: #fbfbfb;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-vendacarro:hover {
  color: #fbfbfb;
  background-color: #f1170f;
  border-color: #424446;
  transform: scale(1.05);
}



/* === GRADIENTE NO CONTAINER === */
.contact-section {
  background: linear-gradient(135deg, #082a86 0%, #99c9fb 100%);
  padding: 40px 0;
  margin: 0;
  overflow-x: hidden;
}

/* === FORMULÁRIO DE CONTATO === */
.contact-form {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 20px; /* reduzido de 30px */
}

.form-label {
  font-weight: 600;
  margin-bottom: 5px;
}

.form-control {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  color: #495057;
  border-radius: 6px;
}

.form-control::placeholder {
  color: #adb5bd;
}

.form-control:focus {
  border-color: #26509d;
  box-shadow: 0 0 0 3px rgba(38, 80, 157, 0.2);
}

.btn-primary {
  background-color: #26509d;
  border-color: #26509d;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
}

.btn-primary:hover {
  background-color: #1d4280;
  border-color: #1d4280;
}

/* === REDES SOCIAIS === */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 24px;
}

.social-link {
  transition: none; /* Remova todas as transições */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  outline: none; /* Remove o contorno azul */
  cursor: pointer; /* Garante que o cursor seja uma mão */
}

/* Instagram - Gradiente oficial */
.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

/* Facebook - Cor oficial */
.facebook {
  background-color: #1877f2;
  color: white;
}

.ribbon-vendido {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #d9534f;
    color: white;
    padding: 8px 40px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 2;
    text-align: center;
    min-width: 100px;
}

/* Responsividade */
@media (max-width: 768px) {
  .carousel-item img {
    height: 400px;
  }
  .contact-section {
    padding: 20px 0;
  }
  .contact-form {
    padding: 15px;
  }
  .contact-form h3 {
    font-size: 1.2rem;
  }
  .card-img-top {
    height: 180px;
  }
  .car-section {
    margin: 0 10px;
    padding: 30px 0;
  }
  .brand-logo {
    width: 120px;
    height: 60px;
  }
  .position-relative {
    max-width: 100% !important;
  }
  .position-absolute {
    top: 138px;
    left: 0px;
}
  h2 {
    font-size: 1.5rem !important;
  }
  p {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 576px) {
  .carousel-item img {
    height: auto;
  }
  /* Filtro em coluna */
  .search-section-wrapper .d-flex {
    flex-direction: column !important;
  }

  .search-section-wrapper .flex-fill {
    width: 100% !important;
  }

  /* Campo de busca */
  .search-box {
    border-radius: 30px;
    max-width: 100%;
  }

  .search-box input {
    padding: 12px 16px;
    font-size: 15px;
  }

  .search-box button {
    padding: 12px 20px;
  }
}

/* === ESTILO DO BLOCO DE BUSCA === */
.search-section-wrapper {
  background-color: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 40px 0;
}

.search-section {
  margin: 0 auto;
  padding: 0 15px;
}

/* === CAMPO DE BUSCA === */
.search-box {
  display: flex;
  border: 2px solid #2073e0;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.search-box input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: 'Arial', sans-serif;
}

.search-box input::placeholder {
  color: #aaa;
  font-style: italic;
}

.search-box button {
  background-color: #2073e0;
  color: white;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button:hover {
  background-color: #0e71f1;
}

/* === ESTILO DO SELECT DE FILTRO === */
.search-section select {
  border-radius: 8px;
  border: 1px solid #ced4da;
  font-size: 0.875rem;
  height: 38px;
}

.search-section optgroup {
  font-weight: bold;
  color: #007bff;
}

.search-section option {
  padding: 2px 10px;
}
  .brand-logo {
    width: 90px;
    height: 50px;
  }
  .brand-container {
    background-size: contain;
    background-position: center;
    padding: 30px 0;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  }
   .social-icons {
    gap: 20px;
  }
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
