  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }



  .container1 {
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px;
  }

  .page-header {
      text-align: center;
      padding: 60px 20px;
      background: linear-gradient(135deg, #17a2b8 0%, #764ba2 100%);
      color: #fff;
      border-radius: 20px;
      margin-bottom: 40px;
  }

  .page-header h1 {
      font-size: 3rem;
      margin-bottom: 15px;
  }

  .page-header p {
      font-size: 1.2rem;
      opacity: 0.9;
  }

  .search-layout {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 30px;
  }

  /* Panneau de filtres */
  .filters-panel {
      background: #fff;
      padding: 30px;
      border-radius: 20px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
      height: fit-content;
      position: sticky;
      top: 20px;
  }

  .filters-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
      padding-bottom: 15px;
      border-bottom: 2px solid #e9ecef;
  }

  .filters-header h2 {
      font-size: 1.5rem;
      color: #333;
  }

  .reset-btn1 {
      background: none;
      border: none;
      color: #e74c3c;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.9rem;
  }

  .reset-btn1:hover {
      text-decoration: underline;
  }

  .filter-group {
      margin-bottom: 30px;
  }

  .filter-group h3 {
      font-size: 1.1rem;
      margin-bottom: 15px;
      color: #333;
  }

  .filter-group select,
  .filter-group input[type="text"] {
      width: 100%;
      padding: 12px 15px;
      border: 2px solid #e9ecef;
      border-radius: 10px;
      font-size: 1rem;
      transition: all 0.3s;
  }

  .filter-group select:focus,
  .filter-group input:focus {
      outline: none;
      border-color: #e74c3c;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }

  /* Slider de prix */
  .price-slider {
      margin: 20px 0;
  }

  .price-inputs {
      display: flex;
      gap: 10px;
      margin-top: 15px;
  }

  .price-inputs input {
      flex: 1;
      padding: 10px;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      text-align: center;
  }

  .range-slider {
      width: 100%;
      height: 6px;
      background: #e9ecef;
      border-radius: 3px;
      position: relative;
      margin: 20px 0;
  }

  .range-slider-fill {
      height: 100%;
      background: linear-gradient(135deg, #17a2b8 0%, #764ba2 100%);
      border-radius: 3px;
      position: absolute;
  }

  input[type="range"] {
      width: 100%;
      -webkit-appearance: none;
      background: transparent;
      position: relative;
      z-index: 2;
  }

  input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 20px;
      height: 20px;
      background: #fff;
      border: 3px solid #e74c3c;
      border-radius: 50%;
      cursor: pointer;
  }

  input[type="range"]::-moz-range-thumb {
      width: 20px;
      height: 20px;
      background: #fff;
      border: 3px solid #e74c3c;
      border-radius: 50%;
      cursor: pointer;
  }

  /* Checkboxes personnalisées */
  .checkbox-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
  }

  .checkbox-item {
      display: flex;
      align-items: center;
      cursor: pointer;
  }

  .checkbox-item input[type="checkbox"] {
      width: 20px;
      height: 20px;
      margin-right: 12px;
      cursor: pointer;
      accent-color: #e74c3c;
  }

  .checkbox-item label {
      cursor: pointer;
      user-select: none;
  }

  /* Résultats */
  .results-section {
      background: #fff;
      padding: 30px;
      border-radius: 20px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }

  .results-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
      flex-wrap: wrap;
      gap: 15px;
  }

  .results-count {
      font-size: 1.2rem;
      color: #666;
  }

  .results-count strong {
      color: #e74c3c;
      font-size: 1.5rem;
  }

  .sort-dropdown {
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .sort-dropdown select {
      padding: 10px 20px;
      border: 2px solid #e9ecef;
      border-radius: 10px;
      font-size: 1rem;
      cursor: pointer;
  }

  .view-toggle {
      display: flex;
      gap: 10px;
  }

  .view-btn1 {
      width: 40px;
      height: 40px;
      border: 2px solid #e9ecef;
      background: #fff;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
  }

  .view-btn1.active,
  .view-btn1:hover {
      border-color: #e74c3c;
      background: #e74c3c;
      color: #fff;
  }

  /* Grille de véhicules */
  .vehicles-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 25px;
  }

  .vehicles-grid.list-view {
      grid-template-columns: 1fr;
  }

  .vehicle-card {
      background: #fff;
      border: 2px solid #e9ecef;
      border-radius: 15px;
      overflow: hidden;
      transition: all 0.3s;
      cursor: pointer;
  }

  .vehicle-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
      border-color: #e74c3c;
  }

  .vehicle-image {
      position: relative;
      height: 220px;
      overflow: hidden;
  }

  .vehicle-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s;
  }

  .vehicle-card:hover .vehicle-image img {
      transform: scale(1.1);
  }

  .vehicle-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      background: linear-gradient(135deg, #e74c3c, #764ba2);
      color: #fff;
      padding: 6px 15px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
  }

  .favorite-btn1 {
      position: absolute;
      top: 15px;
      left: 15px;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.9);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      transition: all 0.3s;
  }

  .favorite-btn1:hover,
  .favorite-btn1.active {
      background: #ff4757;
      color: #fff;
  }

  .vehicle-info {
      padding: 20px;
  }

  .vehicle-title {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #333;
  }

  .vehicle-subtitle {
      font-size: 0.95rem;
      color: #666;
      margin-bottom: 15px;
  }

  .vehicle-specs {
      display: flex;
      gap: 15px;
      margin: 15px 0;
      flex-wrap: wrap;
  }

  .spec-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.9rem;
      color: #666;
  }

  .vehicle-price {
      font-size: 1.8rem;
      font-weight: 800;
      background: linear-gradient(135deg, #17a2b8 0%, #764ba2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin: 15px 0;
  }

  .vehicle-actions {
      display: flex;
      gap: 10px;
      margin-top: 15px;
  }

  .btn1 {
      flex: 1;
      padding: 12px;
      border: none;
      border-radius: 10px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      text-align: center;
  }

  .btn1-primary {
      background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
      color: #fff;
  }
.btn1-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.3);
}
  .btn1-outline {
      background: #fff;
      color: #e74c3c;
      border: 2px solid #e74c3c;
  }

  .btn1:hover {
      transform: translateY(-2px);
  }

  /* Vue liste */
  .list-view .vehicle-card {
      display: grid;
      grid-template-columns: 350px 1fr;
  }

  .list-view .vehicle-image {
      height: 100%;
  }

  .list-view .vehicle-info {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
  }

  /* Message vide */
  .no-results {
      text-align: center;
      padding: 60px 20px;
      color: #666;
  }

  .no-results h3 {
      font-size: 1.8rem;
      margin-bottom: 15px;
  }

  .no-results p {
      font-size: 1.1rem;
  }

  /* Tags de filtres actifs */
  .active-filters {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 20px;
  }

  .filter-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 15px;
      background: #e74c3c;
      color: #fff;
      border-radius: 50px;
      font-size: 0.9rem;
  }

  .filter-tag-close {
      cursor: pointer;
      font-weight: bold;
  }

  /* Responsive */
  @media (max-width: 968px) {
      .search-layout {
          grid-template-columns: 1fr;
      }

      .filters-panel {
          position: static;
      }

      .list-view .vehicle-card {
          grid-template-columns: 1fr;
      }

      .results-header {
          flex-direction: column;
          align-items: flex-start;
      }

      .page-header h1 {
          font-size: 2rem;
      }
  }

  /* Animation de chargement */
  .loading {
      text-align: center;
      padding: 40px;
      font-size: 1.2rem;
      color: #666;
  }

  .spinner {
      width: 50px;
      height: 50px;
      border: 4px solid #e9ecef;
      border-top: 4px solid #e74c3c;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto 20px;
  }

  @keyframes spin {
      0% {
          transform: rotate(0deg);
      }

      100% {
          transform: rotate(360deg);
      }
  }
  /* Layout principal */
  .vehicle-detail {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      background: #fff;
      padding: 40px;
      border-radius: 20px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
      margin-bottom: 40px;
  }

  /* Galerie d'images */
  .gallery-section {
      position: sticky;
      top: 20px;
      height: fit-content;
  }

  .main-image {
      width: 100%;
      height: 500px;
      border-radius: 15px;
      overflow: hidden;
      position: relative;
      margin-bottom: 20px;
      cursor: zoom-in;
  }

  .main-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s;
  }

  .main-image:hover img {
      transform: scale(1.05);
  }

  .thumbnails {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
  }

  .thumbnail {
      height: 100px;
      border-radius: 10px;
      overflow: hidden;
      cursor: pointer;
      border: 3px solid transparent;
      transition: all 0.3s;
  }

  .thumbnail.active {
      border-color: #667eea;
  }

  .thumbnail img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .thumbnail:hover {
      transform: scale(1.05);
  }

  /* Informations véhicule */
  .vehicle-info h1 {
      font-size: 2.5rem;
      margin-bottom: 10px;
      color: #333;
  }

  .vehicle-subtitle {
      font-size: 1.2rem;
      color: #666;
      margin-bottom: 20px;
  }

  .price-tag {
      font-size: 3rem;
      font-weight: 800;
      background: linear-gradient(135deg, #e74c3c 0%, #764ba2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin: 20px 0;
  }

  .status-badge {
      display: inline-block;
      padding: 8px 20px;
      background: #28a745;
      color: #fff;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 30px;
  }

  /* Spécifications principales */
  .key-specs {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      margin: 30px 0;
  }

  .spec-box {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 12px;
      text-align: center;
      transition: all 0.3s;
  }

  .spec-box:hover {
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
      transform: translateY(-3px);
  }

  .spec-box .icon {
      font-size: 2rem;
      margin-bottom: 10px;
  }

  .spec-box .label {
      font-size: 0.85rem;
      color: #666;
      margin-bottom: 5px;
  }

  .spec-box .value {
      font-size: 1.3rem;
      font-weight: 700;
      color: #333;
  }

  /* Boutons d'action */
  .action-buttons {
      display: flex;
      gap: 15px;
      margin: 30px 0;
  }

  .btn1 {
      flex: 1;
      padding: 15px 30px;
      border: none;
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      text-align: center;
  }



  .btn1-outline {
      background: #fff;
      color: #667eea;
      border: 2px solid #667eea;
  }

  .btn1-outline:hover {
      background: #667eea;
      color: #fff;
  }

  /* Onglets */
  .tabs {
      display: flex;
      gap: 20px;
      margin: 40px 0 20px;
      border-bottom: 2px solid #e9ecef;
  }

  .tab {
      padding: 15px 30px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      font-weight: 600;
      color: #666;
      position: relative;
      transition: all 0.3s;
  }

  .tab.active {
      color: #667eea;
  }

  .tab.active::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(135deg, #e74c3c 0%, #764ba2 100%);
  }

  .tab-content {
      display: none;
      padding: 30px 0;
      animation: fadeIn 0.5s;
  }

  .tab-content.active {
      display: block;
  }

  @keyframes fadeIn {
      from {
          opacity: 0;
          transform: translateY(10px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* Spécifications détaillées */
  .specs-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
  }

  .spec-row {
      display: flex;
      justify-content: space-between;
      padding: 15px;
      background: #f8f9fa;
      border-radius: 10px;
  }

  .spec-row .label {
      font-weight: 600;
      color: #666;
  }

  .spec-row .value {
      color: #333;
  }

  /* Calculateur de financement */
  .calculator {
      background: linear-gradient(135deg, #e74c3c 0%, #764ba2 100%);
      padding: 40px;
      border-radius: 20px;
      color: #fff;
  }

  .calculator h3 {
      margin-bottom: 30px;
      font-size: 1.8rem;
  }

  .calc-input {
      margin-bottom: 20px;
  }

  .calc-input label {
      display: block;
      margin-bottom: 10px;
      font-weight: 600;
  }

  .calc-input input,
  .calc-input select {
      width: 100%;
      padding: 12px;
      border: none;
      border-radius: 10px;
      font-size: 1rem;
  }

  .calc-result {
      background: rgba(255, 255, 255, 0.2);
      padding: 25px;
      border-radius: 15px;
      margin-top: 30px;
      text-align: center;
  }

  .calc-result .monthly {
      font-size: 3rem;
      font-weight: 800;
      margin: 10px 0;
  }

  /* Véhicules similaires */
  .similar-vehicles {
      margin-top: 60px;
  }

  .similar-vehicles h2 {
      font-size: 2rem;
      margin-bottom: 30px;
  }

  .similar-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
  }

  .similar-card {
      background: #fff;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
      transition: all 0.3s;
      cursor: pointer;
  }

  .similar-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  }

  .similar-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
  }

  .similar-card-info {
      padding: 20px;
  }

  .similar-card h4 {
      font-size: 1.2rem;
      margin-bottom: 10px;
  }

  .similar-card .price {
      font-size: 1.5rem;
      font-weight: 700;
      color: #667eea;
  }

  /* Formulaire de contact */
  .contact-form {
      background: #fff;
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }

  .form-group {
      margin-bottom: 20px;
  }

  .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #333;
  }

  .form-group input,
  .form-group textarea {
      width: 100%;
      padding: 12px 15px;
      border: 2px solid #e9ecef;
      border-radius: 10px;
      font-size: 1rem;
      transition: all 0.3s;
  }

  .form-group input:focus,
  .form-group textarea:focus {
      outline: none;
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }

  .form-group textarea {
      resize: vertical;
      min-height: 120px;
  }

  /* Responsive */
  @media (max-width: 968px) {
      .vehicle-detail {
          grid-template-columns: 1fr;
      }

      .gallery-section {
          position: static;
      }

      .specs-grid {
          grid-template-columns: 1fr;
      }

      .key-specs {
          grid-template-columns: 1fr;
      }

      .tabs {
          overflow-x: auto;
          white-space: nowrap;
      }
  }


   /* Section principale */
   .types-section {
       background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
       padding: 80px 0;
       position: relative;
       overflow: hidden;
   }

   .types-section::before {
       content: '';
       position: absolute;
       top: -50%;
       right: -10%;
       width: 500px;
       height: 500px;
       background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
       border-radius: 50%;
   }

   .types-section::after {
       content: '';
       position: absolute;
       bottom: -50%;
       left: -10%;
       width: 500px;
       height: 500px;
       background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
       border-radius: 50%;
   }

   /* Titre de section */
   .section-title {
       font-size: 3rem;
       font-weight: 800;
       text-align: center;
       margin-bottom: 20px;
       background: linear-gradient(135deg, #17a2b8 0%, #764ba2 100%);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
       position: relative;
       z-index: 1;
   }

   .section-subtitle {
       text-align: center;
       font-size: 1.2rem;
       color: #6c757d;
       margin-bottom: 60px;
       position: relative;
       z-index: 1;
   }

   /* Grille de cards */
   .types-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
       gap: 30px;
       padding: 20px;
       position: relative;
       z-index: 1;
   }

   /* Card moderne avec effet 3D */
   .type-card {
       position: relative;
       height: 320px;
       border-radius: 20px;
       overflow: hidden;
       cursor: pointer;
       transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
       box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
       background: #fff;
   }

   .type-card:hover {
       transform: translateY(-15px) scale(1.02);
       box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
   }

   /* Image de fond avec overlay gradient */
   .card-image-wrapper {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       overflow: hidden;
   }

   .card-image {
       width: 100%;
       height: 100%;
       object-fit: cover;
       transition: transform 0.6s ease;
       filter: brightness(0.85);
   }

   .type-card:hover .card-image {
       transform: scale(1.15);
       filter: brightness(0.7);
   }

   /* Overlay gradient */
   .card-overlay {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: linear-gradient(135deg,
               rgba(102, 126, 234, 0.8) 0%,
               rgba(118, 75, 162, 0.8) 100%);
       opacity: 0.7;
       transition: opacity 0.4s ease;
   }

   .type-card:hover .card-overlay {
       opacity: 0.9;
   }

   /* Contenu de la card */
   .card-content {
       position: absolute;
       bottom: 0;
       left: 0;
       right: 0;
       padding: 30px;
       color: #fff;
       z-index: 2;
       transform: translateY(0);
       transition: all 0.4s ease;
   }

   /* Icône du type */
   .type-icon {
       width: 80px;
       height: 80px;
       margin-bottom: 20px;
       filter: brightness(0) invert(1);
       transition: all 0.4s ease;
       opacity: 0.9;
   }

   .type-card:hover .type-icon {
       transform: scale(1.1) translateY(-5px);
       opacity: 1;
   }

   /* Titre du type */
   .type-title {
       font-size: 1.8rem;
       font-weight: 700;
       margin-bottom: 10px;
       text-transform: uppercase;
       letter-spacing: 1px;
       text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
   }

   /* Description */
   .type-description {
       font-size: 0.95rem;
       opacity: 0;
       transform: translateY(20px);
       transition: all 0.4s ease;
       margin-bottom: 15px;
       line-height: 1.6;
   }

   .type-card:hover .type-description {
       opacity: 1;
       transform: translateY(0);
   }

   /* Badge de comptage */
   .type-badge {
       position: absolute;
       top: 20px;
       right: 20px;
       background: rgba(255, 255, 255, 0.95);
       color: #17a2b8;
       padding: 8px 16px;
       border-radius: 50px;
       font-weight: 700;
       font-size: 0.9rem;
       box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
       z-index: 3;
       transition: all 0.3s ease;
   }

   .type-card:hover .type-badge {
       transform: scale(1.1);
       background: #fff;
   }

   /* Bouton découvrir */
   .discover-btn {
       display: inline-flex;
       align-items: center;
       gap: 8px;
       padding: 12px 24px;
       background: rgba(255, 255, 255, 0.2);
       backdrop-filter: blur(10px);
       border: 2px solid rgba(255, 255, 255, 0.8);
       border-radius: 50px;
       color: #fff;
       font-weight: 600;
       text-decoration: none;
       transition: all 0.3s ease;
       opacity: 0;
       transform: translateY(20px);
   }

   .type-card:hover .discover-btn {
       opacity: 1;
       transform: translateY(0);
   }

   .discover-btn:hover {
       background: rgba(255, 255, 255, 0.9);
       color: #17a2b8;
       transform: translateY(-2px);
   }

   /* Animation de pulse pour attirer l'attention */
   @keyframes pulse {

       0%,
       100% {
           transform: scale(1);
       }

       50% {
           transform: scale(1.05);
       }
   }

   .type-card:hover .type-icon {
       animation: pulse 2s infinite;
   }

   /* Effet de brillance au survol */
   .shine-effect {
       position: absolute;
       top: -50%;
       left: -50%;
       width: 200%;
       height: 200%;
       background: linear-gradient(45deg,
               transparent 30%,
               rgba(255, 255, 255, 0.3) 50%,
               transparent 70%);
       transform: rotate(45deg);
       transition: all 0.6s ease;
       opacity: 0;
   }

   .type-card:hover .shine-effect {
       left: 100%;
       opacity: 1;
   }

   /* Responsive */
   @media (max-width: 768px) {
       .section-title {
           font-size: 2rem;
       }

       .types-grid {
           grid-template-columns: 1fr;
           gap: 20px;
       }

       .type-card {
           height: 280px;
       }

       .type-title {
           font-size: 1.5rem;
       }
   }

   /* Styles pour différents types (couleurs personnalisées) */
   .type-card[data-type="suv"] .card-overlay {
       background: linear-gradient(135deg, rgba(231, 76, 60, 0.8) 0%, rgba(192, 57, 43, 0.8) 100%);
   }

   .type-card[data-type="sedan"] .card-overlay {
       background: linear-gradient(135deg, rgba(52, 152, 219, 0.8) 0%, rgba(41, 128, 185, 0.8) 100%);
   }

   .type-card[data-type="ev"] .card-overlay {
       background: linear-gradient(135deg, rgba(46, 204, 113, 0.8) 0%, rgba(39, 174, 96, 0.8) 100%);
   }

   .type-card[data-type="truck"] .card-overlay {
       background: linear-gradient(135deg, rgba(243, 156, 18, 0.8) 0%, rgba(211, 84, 0, 0.8) 100%);
   }

   .type-card[data-type="hybrid"] .card-overlay {
       background: linear-gradient(135deg, rgba(155, 89, 182, 0.8) 0%, rgba(142, 68, 173, 0.8) 100%);
   }

   /* Animation d'entrée */
   .type-card {
       animation: fadeInUp 0.6s ease forwards;
       opacity: 0;
   }

   .type-card:nth-child(1) {
       animation-delay: 0.1s;
   }

   .type-card:nth-child(2) {
       animation-delay: 0.2s;
   }

   .type-card:nth-child(3) {
       animation-delay: 0.3s;
   }

   .type-card:nth-child(4) {
       animation-delay: 0.4s;
   }

   .type-card:nth-child(5) {
       animation-delay: 0.5s;
   }

   .type-card:nth-child(6) {
       animation-delay: 0.6s;
   }

   @keyframes fadeInUp {
       from {
           opacity: 0;
           transform: translateY(30px);
       }

       to {
           opacity: 1;
           transform: translateY(0);
       }
   }
   

   /* Modern Carousel Styles */
   .modern-carousel-container {
       position: relative;
       margin-bottom: 60px;
       overflow: hidden;
   }

   .modern-carousel {
       height: 650px;
       position: relative;
   }

   .modern-carousel-item {
       height: 650px;
       position: relative;
       overflow: hidden;
   }

   .modern-carousel-item::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background: linear-gradient(135deg,
               rgba(37, 99, 235, 0.7) 0%,
               rgba(30, 64, 175, 0.5) 50%,
               rgba(0, 0, 0, 0.4) 100%);
       z-index: 1;
   }

   .modern-carousel-img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       transition: transform 8s ease;
   }

   .modern-carousel-item.active .modern-carousel-img {
       animation: zoomInOut 8s ease-in-out;
   }

   @keyframes zoomInOut {
       0% {
           transform: scale(1);
       }

       50% {
           transform: scale(1.1);
       }

       100% {
           transform: scale(1);
       }
   }

   .modern-carousel-caption {
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       z-index: 2;
       text-align: center;
       width: 90%;
       max-width: 1000px;
       padding: 40px;
   }

   .carousel-content {
       background: rgba(255, 255, 255, 0.1);
       backdrop-filter: blur(10px);
       border-radius: 20px;
       padding: 50px 40px;
       border: 1px solid rgba(255, 255, 255, 0.2);
       box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
       animation: slideUp 0.8s ease;
   }

   @keyframes slideUp {
       from {
           opacity: 0;
           transform: translateY(50px);
       }

       to {
           opacity: 1;
           transform: translateY(0);
       }
   }

   .carousel-brand {
       font-size: 24px;
       font-weight: 600;
       color: white;
       text-transform: uppercase;
       letter-spacing: 2px;
       margin-bottom: 15px;
       display: inline-flex;
       align-items: center;
       gap: 15px;
       animation: fadeIn 1s ease 0.2s both;
   }

   .carousel-year-badge {
       background: linear-gradient(135deg, #10b981 0%, #059669 100%);
       color: white;
       padding: 8px 20px;
       border-radius: 50px;
       font-size: 18px;
       font-weight: 700;
       box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
       display: inline-block;
   }

   .carousel-model {
       font-size: 72px;
       font-weight: 800;
       color: white;
       margin: 20px 0;
       text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
       line-height: 1.2;
       animation: fadeIn 1s ease 0.4s both;
   }

   .carousel-price {
       font-size: 56px;
       font-weight: 700;
       color: #fbbf24;
       text-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
       margin: 25px 0;
       animation: fadeIn 1s ease 0.6s both;
   }

   @keyframes fadeIn {
       from {
           opacity: 0;
           transform: translateY(20px);
       }

       to {
           opacity: 1;
           transform: translateY(0);
       }
   }

   .carousel-detail-btn {
       background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
       color: white;
       padding: 18px 50px;
       font-size: 18px;
       font-weight: 600;
       border-radius: 50px;
       text-decoration: none;
       display: inline-block;
       margin-top: 20px;
       box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
       transition: all 0.3s ease;
       border: 2px solid transparent;
       animation: fadeIn 1s ease 0.8s both;
   }

   .carousel-detail-btn:hover {
       transform: translateY(-3px);
       box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
       color: white;
       text-decoration: none;
       border-color: rgba(255, 255, 255, 0.3);
   }

   .carousel-detail-btn:active {
       transform: translateY(-1px);
   }

   /* Modern Navigation Controls */
   .modern-carousel-control {
       position: absolute;
       top: 50%;
       transform: translateY(-50%);
       z-index: 3;
       width: 60px;
       height: 60px;
       background: rgba(255, 255, 255, 0.15);
       backdrop-filter: blur(10px);
       border: 2px solid rgba(255, 255, 255, 0.3);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       cursor: pointer;
       transition: all 0.3s ease;
       text-decoration: none;
   }

   .modern-carousel-control:hover {
       background: rgba(255, 255, 255, 0.25);
       border-color: rgba(255, 255, 255, 0.5);
       transform: translateY(-50%) scale(1.1);
   }

   .modern-carousel-control-prev {
       left: 30px;
   }

   .modern-carousel-control-next {
       right: 30px;
   }

   .modern-carousel-control i {
       color: white;
       font-size: 24px;
   }

   /* Custom Indicators */
   .modern-carousel-indicators {
       position: absolute;
       bottom: 30px;
       left: 50%;
       transform: translateX(-50%);
       z-index: 3;
       display: flex;
       gap: 12px;
   }

   .modern-indicator {
       width: 12px;
       height: 12px;
       background: rgba(255, 255, 255, 0.4);
       border: 2px solid white;
       border-radius: 50%;
       cursor: pointer;
       transition: all 0.3s ease;
   }

   .modern-indicator.active {
       width: 40px;
       border-radius: 10px;
       background: white;
   }

   /* Responsive Design */
   @media (max-width: 992px) {
       .modern-carousel {
           height: 550px;
       }

       .modern-carousel-item {
           height: 550px;
       }

       .carousel-model {
           font-size: 52px;
       }

       .carousel-price {
           font-size: 42px;
       }

       .carousel-brand {
           font-size: 20px;
       }

       .carousel-content {
           padding: 40px 30px;
       }
   }

   @media (max-width: 768px) {
       .modern-carousel {
           height: 500px;
       }

       .modern-carousel-item {
           height: 500px;
       }

       .carousel-model {
           font-size: 38px;
       }

       .carousel-price {
           font-size: 32px;
       }

       .carousel-brand {
           font-size: 16px;
       }

       .carousel-year-badge {
           font-size: 14px;
           padding: 6px 15px;
       }

       .carousel-detail-btn {
           padding: 14px 35px;
           font-size: 16px;
       }

       .carousel-content {
           padding: 30px 20px;
       }

       .modern-carousel-control {
           width: 45px;
           height: 45px;
       }

       .modern-carousel-control i {
           font-size: 18px;
       }

       .modern-carousel-control-prev {
           left: 15px;
       }

       .modern-carousel-control-next {
           right: 15px;
       }
   }

   @media (max-width: 576px) {
       .carousel-model {
           font-size: 28px;
       }

       .carousel-price {
           font-size: 24px;
       }

       .carousel-brand {
           font-size: 14px;
           flex-direction: column;
           gap: 8px;
       }
   }

   /* Loading Animation */
   .carousel-loading {
       position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       z-index: 10;
   }

   .spinner {
       width: 50px;
       height: 50px;
       border: 4px solid rgba(255, 255, 255, 0.3);
       border-top: 4px solid white;
       border-radius: 50%;
       animation: spin 1s linear infinite;
   }

   @keyframes spin {
       0% {
           transform: rotate(0deg);
       }

       100% {
           transform: rotate(360deg);
       }
   }

   
    
         /* Section des marques */
         .brands-section {
             background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
             padding: 100px 0;
             position: relative;
             overflow: hidden;
         }
    
         .brands-section::before {
             content: '';
             position: absolute;
             top: 0;
             left: 0;
             right: 0;
             height: 1px;
             background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
         }
    
         /* En-tête de section */
         .brands-header {
             text-align: center;
             margin-bottom: 60px;
             position: relative;
             z-index: 1;
         }
    
         .brands-subtitle {
             font-size: 1rem;
             font-weight: 700;
             text-transform: uppercase;
             letter-spacing: 3px;
             color: #17a2b8;
             margin-bottom: 15px;
             position: relative;
             display: inline-block;
         }
    
         .brands-subtitle::before,
         .brands-subtitle::after {
             content: '';
             position: absolute;
             top: 50%;
             width: 40px;
             height: 2px;
             background: linear-gradient(90deg, transparent, #17a2b8);
         }
    
         .brands-subtitle::before {
             right: 100%;
             margin-right: 15px;
         }
    
         .brands-subtitle::after {
             left: 100%;
             margin-left: 15px;
             background: linear-gradient(90deg, #17a2b8, transparent);
         }
    
         .brands-title {
             font-size: 3.5rem;
             font-weight: 800;
             background: linear-gradient(135deg, #333 0%, #17a2b8 100%);
             -webkit-background-clip: text;
             -webkit-text-fill-color: transparent;
             background-clip: text;
             margin-bottom: 20px;
         }
    
         .brands-description {
             font-size: 1.1rem;
             color: #6c757d;
             max-width: 600px;
             margin: 0 auto;
         }
    
         /* Conteneur du carrousel */
         .brands-carousel-container {
             position: relative;
             padding: 40px 0;
             margin: 0 auto;
             max-width: 100%;
         }
    
         /* Wrapper du carrousel avec effet de fade sur les bords */
         .carousel-wrapper {
             position: relative;
             overflow: hidden;
             padding: 20px 0;
         }
    
         .carousel-wrapper::before,
         .carousel-wrapper::after {
             content: '';
             position: absolute;
             top: 0;
             bottom: 0;
             width: 150px;
             z-index: 10;
             pointer-events: none;
         }
    
         .carousel-wrapper::before {
             left: 0;
             background: linear-gradient(90deg, #f8f9fa 0%, transparent 100%);
         }
    
         .carousel-wrapper::after {
             right: 0;
             background: linear-gradient(90deg, transparent 0%, #f8f9fa 100%);
         }
    
         /* Piste du carrousel */
         .brands-track {
             display: flex;
             gap: 40px;
             animation: scroll 40s linear infinite;
             width: fit-content;
         }
    
         .brands-track:hover {
             animation-play-state: paused;
         }
    
         @keyframes scroll {
             0% {
                 transform: translateX(0);
             }
    
             100% {
                 transform: translateX(-50%);
             }
         }
    
         /* Card de marque */
         .brand-card {
             flex-shrink: 0;
             width: 200px;
             height: 160px;
             background: #fff;
             border-radius: 20px;
             display: flex;
             flex-direction: column;
             align-items: center;
             justify-content: center;
             padding: 30px;
             box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
             transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
             cursor: pointer;
             position: relative;
             overflow: hidden;
             text-decoration: none;
             border: 2px solid transparent;
         }
    
         /* Effet de fond animé */
         .brand-card::before {
             content: '';
             position: absolute;
             top: 50%;
             left: 50%;
             width: 0;
             height: 0;
             border-radius: 50%;
             background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
             transition: all 0.5s ease;
             transform: translate(-50%, -50%);
         }
    
         .brand-card:hover::before {
             width: 300px;
             height: 300px;
         }
    
         .brand-card:hover {
             transform: translateY(-15px) scale(1.05);
             box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
             border-color: #17a2b8;
         }
    
         /* Logo de la marque */
         .brand-logo {
             max-width: 120px;
             max-height: 70px;
             width: auto;
             height: auto;
             object-fit: contain;
             transition: all 0.4s ease;
             filter: grayscale(100%) brightness(0.4);
             position: relative;
             z-index: 1;
         }
    
         .brand-card:hover .brand-logo {
             filter: grayscale(0%) brightness(1);
             transform: scale(1.1);
         }
    
         /* Nom de la marque */
         .brand-name {
             margin-top: 15px;
             font-size: 0.9rem;
             font-weight: 700;
             color: #333;
             text-transform: uppercase;
             letter-spacing: 1px;
             opacity: 0;
             transform: translateY(10px);
             transition: all 0.3s ease;
             position: relative;
             z-index: 1;
         }
    
         .brand-card:hover .brand-name {
             opacity: 1;
             transform: translateY(0);
         }
    
         /* Badge de comptage (nombre de véhicules) */
         .brand-badge {
             position: absolute;
             top: 10px;
             right: 10px;
             background: linear-gradient(135deg, #17a2b8, #764ba2);
             color: #fff;
             padding: 4px 10px;
             border-radius: 50px;
             font-size: 0.75rem;
             font-weight: 700;
             opacity: 0;
             transform: scale(0.8);
             transition: all 0.3s ease;
             z-index: 2;
         }
    
         .brand-card:hover .brand-badge {
             opacity: 1;
             transform: scale(1);
         }
    
         /* Effet de brillance */
         .brand-shine {
             position: absolute;
             top: -50%;
             left: -50%;
             width: 200%;
             height: 200%;
             background: linear-gradient(45deg,
                     transparent 30%,
                     rgba(255, 255, 255, 0.5) 50%,
                     transparent 70%);
             transform: rotate(45deg);
             transition: all 0.6s ease;
             opacity: 0;
         }
    
         .brand-card:hover .brand-shine {
             left: 100%;
             opacity: 1;
         }
    
         /* Boutons de navigation */
         .carousel-controls {
             display: flex;
             justify-content: center;
             gap: 20px;
             margin-top: 40px;
         }
    
         .carousel-btn {
             width: 50px;
             height: 50px;
             border-radius: 50%;
             background: #fff;
             border: 2px solid #e9ecef;
             display: flex;
             align-items: center;
             justify-content: center;
             cursor: pointer;
             transition: all 0.3s ease;
             box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
         }
    
         .carousel-btn:hover {
             background: linear-gradient(135deg, #17a2b8, #764ba2);
             border-color: #17a2b8;
             color: #fff;
             transform: scale(1.1);
         }
    
         .carousel-btn:active {
             transform: scale(0.95);
         }
    
         /* Indicateur de scroll */
         .scroll-indicator {
             text-align: center;
             margin-top: 30px;
             font-size: 0.9rem;
             color: #6c757d;
             display: flex;
             align-items: center;
             justify-content: center;
             gap: 10px;
         }
    
         .scroll-indicator svg {
             animation: bounce 2s infinite;
         }
    
         @keyframes bounce {
    
             0%,
             100% {
                 transform: translateX(0);
             }
    
             50% {
                 transform: translateX(10px);
             }
         }
    
         /* Stats des marques */
         .brands-stats {
             display: flex;
             justify-content: center;
             gap: 60px;
             margin-top: 60px;
             padding: 40px;
             background: #fff;
             border-radius: 20px;
             box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
             max-width: 800px;
             margin-left: auto;
             margin-right: auto;
         }
    
         .stat-item {
             text-align: center;
         }
    
         .stat-number {
             font-size: 3rem;
             font-weight: 800;
             background: linear-gradient(135deg, #17a2b8, #764ba2);
             -webkit-background-clip: text;
             -webkit-text-fill-color: transparent;
             background-clip: text;
             margin-bottom: 10px;
             display: block;
         }
    
         .stat-label {
             font-size: 1rem;
             color: #6c757d;
             text-transform: uppercase;
             letter-spacing: 1px;
             font-weight: 600;
         }
    
         /* Responsive */
         @media (max-width: 768px) {
             .brands-title {
                 font-size: 2.5rem;
             }
    
             .brand-card {
                 width: 160px;
                 height: 140px;
                 padding: 20px;
             }
    
             .brand-logo {
                 max-width: 100px;
                 max-height: 60px;
             }
    
             .carousel-wrapper::before,
             .carousel-wrapper::after {
                 width: 50px;
             }
    
             .brands-stats {
                 flex-direction: column;
                 gap: 30px;
             }
    
             .stat-number {
                 font-size: 2rem;
             }
         }
    
         /* Animation d'entrée */
         .brand-card {
             animation: fadeInScale 0.6s ease forwards;
             opacity: 0;
         }
    
         @keyframes fadeInScale {
             from {
                 opacity: 0;
                 transform: scale(0.8);
             }
    
             to {
                 opacity: 1;
                 transform: scale(1);
             }
         }
    
      

