/* style.css */

/* 1️⃣ Variables CSS */
:root {
  --primary-color: #0066cc;
  --secondary-color: #ffcc00;
  --dark-color: #004a99;
  --light-gray: #f9f9f9;
  --text-color: #333;
}

/* 2️⃣ Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  color: var(--text-color);
  background: var(--light-gray);
  line-height: 1.5;
}


/* 4️⃣ Section Recherche */
.search-section {
  background: var(--primary-color);
  color: #fff;
  padding: 2rem;
  text-align: center;
}
.search-section h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}
.search-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.search-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.search-form .field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-form input,
.search-form select {
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  min-width: 200px;
}
.search-form button {
  padding: 0.75rem 1.5rem;
  background: var(--secondary-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.search-form button:hover {
  opacity: 0.9;
}

/* 5️⃣ Grille de Véhicules (cards) */
.vehicles-section {
  padding: 2rem;
  background: #fff;
}
.vehicles-section h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}
.grid-vehicles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.card-vehicle {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-vehicle:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.card-vehicle img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.card-vehicle .info {
  padding: 0.75rem;
}
.card-vehicle h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.card-vehicle p {
  font-weight: bold;
  color: var(--primary-color);
}

/* 🎨 Nouvelle palette plus vive et compacte */
:root{
  --footer-bg: #0f1115;           /* anthracite */
  --footer-bg-2:#0b0d11;          /* léger dégradé */
  --footer-text:#e6e7eb;
  --footer-muted:#b1b4bb;
  --accent:#ff9f1c;               /* orange vif */
  --accent-2:#ffd166;             /* orange clair */
  --ring: rgba(255,159,28,.35);
  --container: 1180px;
}

/* FOOTER COMPACT */



