/* ===================================================
   Déclaration de la police personnalisée
   =================================================== */
   @font-face {
    font-family: 'HelveticaNeueLTStd-LtCn';
    src: url('font/HelveticaNeueLTStd-LtCn.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
  }
  
  /* ===================================================
     Variables & Paramètres globaux
     =================================================== */
  :root {
    /* Couleurs */
    --primary-color:      #00C2CB;
    --hover-color:        #008A90;
    --background:         #fff;
    --background-light:   #f9f9f9;
    --body-bg:            #f5f5f5;
    --text-color:         #333;
    --subtext-color:      #555;
    --border-color:       #e0e0e0;
  
    /* Typographie */
    --font-family: 'HelveticaNeueLTStd-LtCn', sans-serif;  
    --heading-size:       1.8rem;
    --subheading-size:    1.5rem;
    --body-font-size:     1rem;
  
    /* Espacements */
    --container-padding:  1.25rem; 
    --section-gap:        1.25rem;       
    --button-padding:     0.625rem 1.25rem; 
  }

  
  /* ===================================================
     Styles Globaux
     =================================================== */
  * {
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    margin: 0;
    padding: 0;
    background-color: var(--body-bg);
    color: var(--text-color);
  }
  
  /* ===================================================
     Conteneur Principal
     =================================================== */
  #simulateur-container {
    max-width: 75rem; 
    margin: 1.875rem auto; 
    padding: var(--container-padding);
    background: var(--background);
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    text-align: center;
    color: var(--primary-color);
    font-size: var(--heading-size);
    margin-bottom: 1.25rem;
  }
  
  p {
    text-align: center;
    font-size: var(--body-font-size);
    margin-bottom: 1.875rem;
    color: var(--subtext-color);
  }
  
  /* ===================================================
     Layout des Sections : Formulaire & Résultats
     =================================================== */
  #simulateur-wrapper {
    display: flex;
    gap: var(--section-gap);
    flex-wrap: wrap;
  }
  
  #formulaire,
  #resultats {
    flex: 1;
    background-color: var(--background-light);
    border: 0.063rem solid var(--border-color);
    border-radius: 0.625rem;
    padding: var(--container-padding);
  }
  
  #resultats {
    position: relative;
    padding-top: 3.75rem; 
  }
  
  /* ===================================================
     Titres et Sous-titres
     =================================================== */
  #formulaire h3,
  #resultats h3 {
    font-size: var(--subheading-size);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
  }
  
  #resultats h3 {
    position: absolute;
    top: 1.25rem; 
    left: 1.25rem; 
    background: var(--background-light);
    padding: 0 0.625rem;
  }
  
  #formulaire h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.3125rem;
  }
  
  /* ===================================================
     Formulaire & Champs
     =================================================== */
     form label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: bold;
      color: var(--subtext-color);
    }
    
    form input {
      width: 2.5rem; 
      padding: 0.375rem;
      margin-bottom: 0.625rem;
      border: 0.063rem solid #ddd;
      border-radius: 0.313rem;
    }
    .ligne {
      display: grid;
      grid-template-columns: 1fr auto auto; /* Trois colonnes : label, input, unité */
      align-items: center;
      gap: 0.625rem;
      margin-bottom: 0.625rem;
      width: 100%;
    }
    
    .ligne label {
      text-align: left;
      font-weight: bold;
      color: var(--subtext-color);
      white-space: normal; 
    }
    
    .ligne input[type="number"], 
    .ligne select {
      width: 70px; 
      min-width: 60px; 
      max-width: 90px; 
      padding: 0.3rem 0.5rem; 
      font-size: 1rem; 
      border: 0.063rem solid #ccc;
      border-radius: 0.313rem;
      background: var(--background);
      color: var(--text-color);
      text-align: right;
      transition: border-color 0.3s ease-in-out;
    }
    
    .ligne span.unite {
      text-align: left;
      color: var(--subtext-color);
      min-width: 40px; 
    }
    
    .ligne input:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0.3125rem rgba(0, 194, 203, 0.3);
    }
    
    .ligne select {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      cursor: pointer;
    }
    
    .ligne input:focus,
    .ligne select:focus {
      border-bottom: 0.063rem solid var(--primary-color);
    }
    
    .ligne input::placeholder {
      font-weight: 300;
      color: #bbb;
      font-size: 0.9rem;
    }

    


    .section-title {
      font-size: 1.1em;
      color: var(--primary-color);
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 0.5rem;
      margin-bottom: 1rem;
    }
    

    
    .frais-label {
      font-weight: 500;
      color: var(--text-color);
      cursor: pointer;
      transition: color 0.2s ease;
    }
    
    .frais-label:hover {
      color: var(--primary-color);
    }
    
    .ligne label .description {
      display: block;
      grid-column: 1 / -1;
      font-size: 0.8em;
      font-style: italic;
      color: #999; /* ou var(--subtext-color) si tu veux */
      margin-top: 0.1rem;
      padding-left: 0.4em;
      border-left: 1.9px solid var(--primary-color);
    }
    
    
    .toggle-arrow {
      color: var(--primary-color);
      font-size: 0.9em;
      margin-right: 0.5em;
      transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .toggle-arrow.active {
      transform: rotate(90deg);
    }
    
    .autres-frais-label {
      display: block;
      font-size: 1em;
      font-weight: 500;
      color: var(--text-color);
      margin: 1.2rem 0 0.8rem;
    }
    
    .autres-frais-container {
      margin-left: 1.8rem;
      border-left: 1px solid #eee;
      padding-left: 1.2rem;
    }
    
    /* Ajustements des inputs */
    .ligne input[type="number"] {
      width: 80px;
      padding: 0.4rem 0.6rem;
      font-size: 0.95em;
      border: 1px solid #e0e0e0;
      background: #f9f9f9;
    }
    
    .ligne input[type="number"]:focus {
      background: #fff;
      border-color: var(--primary-color);
    }





    .titre-frais {
      font-size: 0.9em; 
    }
    
    

    
  
  /* ===================================================
     Slider
     =================================================== */
  input[type="range"] {
    width: 100%;
    height: 0.125rem; 
    border-radius: 0.188rem; 
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--primary-color) 0%, #ddd 0%);
    position: relative;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;  
    height: 1.25rem;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    border: 0.125rem solid #fff; 
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.2);
    position: relative;
    top: 50%;
    z-index: 2;
  }
  
  input[type="range"]::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    border: 0.125rem solid #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.2);
    position: relative;
    top: 50%;
  }
  
  input[type="range"]:hover {
    opacity: 1;
  }
  
  input[type="range"]::-webkit-slider-thumb:hover,
  input[type="range"]::-moz-range-thumb:hover {
    background: var(--hover-color);
  }
  
  /* ===================================================
     Boutons Unifiés
     =================================================== */
  button {
    background-color: var(--primary-color);
    color: #fff;
    padding: var(--button-padding);
    border: none;
    border-radius: 0.313rem;
    cursor: pointer;
    font-size: var(--body-font-size);
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: var(--hover-color);
  }
  
  /* Conteneur des boutons */
  .boutons {
    display: flex;
    justify-content: flex-end;
    gap: 0.625rem;
  }
  

  
  /* ===================================================
     Checkbox & Dropdown
     =================================================== */
  #checkbox-container {
    font-family: var(--font-family);
    font-size: 0.7em;
    color: #878d92;
  }
  
  #checkbox-container label {
    display: flex;
    align-items: center;
    margin-bottom: 0.05rem;
    background-color: var(--background);
  }
  
  #checkbox-container label:hover {
    background-color: #e9ecef;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
  }
  
  #checkbox-container input[type="checkbox"] {
    accent-color: #6c757d;
  }
  

  /* ===================================================
     Bloc Résultats : Labels & Valeurs
     =================================================== */
  #resultats .ligne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3125rem;
    margin-bottom: 0.625rem;
  }
  
  #resultats .ligne label {
    flex: 2;
    font-weight: bold;
    color: var(--subtext-color);
    text-align: left;
  }
  
  #resultats .ligne span {
    flex: 1;
    font-size: var(--body-font-size);
    text-align: right;
    font-weight: bold;
    color: var(--text-color);
    margin-left: 0.3125rem;
  }

  #ligne-total-percu {
    background-color: #ECFCEC;    
    border: 2px solid #2ecc71;   
    border-radius: 5px;           
    padding: 10px;               
    margin-top: 10px;             
    font-size: 1.2em;
    font-weight: bold;            
    color: #27ae60;               
  }
  

  
  /* ===================================================
     Graphique & Labels Associés
     =================================================== */
  .resultats-grid {
    display: flex;
    align-items: center;
    gap: 1.875rem;
    justify-content: flex-start;
    margin-top: 1.25rem;
  }
  
  #pie-chart {
    width: 18.75rem !important;  
    height: 18.75rem !important; 
    flex-shrink: 0;
  }
  
  #chart-labels {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .chart-label {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-left: 0.188rem solid var(--primary-color);
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
  }
  
  .percentage {
    font-weight: 600;
    font-size: 0.875rem;
    color: #2c3e50;
  }
  
  .label {
    font-size: 0.75rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.031rem;
  }
  
  .amount {
    font-size: 0.75rem;
    color: #95a5a6;
    display: block;
    margin-top: 0.25rem;
  }
  
  /* Couleurs spécifiques pour les chart-labels */
  .chart-label:nth-child(1) { border-left-color: var(--primary-color); }
  .chart-label:nth-child(2) { border-left-color: #4CAF50; }
  .chart-label:nth-child(3) { border-left-color: #ff4069; }
  .chart-label:nth-child(4) { border-left-color: #FFCE56; }
  
  /* ===================================================
     Responsive
     =================================================== */
  @media (max-width: 48rem) {
    .resultats-grid {
      flex-direction: column;
      align-items: center;
    }
    
    #pie-chart {
      width: 15.625rem !important;  
      height: 15.625rem !important;
      margin: 0 auto;
    }
  
    #chart-labels {
      align-items: center;
      width: 100%;
    }
  }










/*–– Modal overlay ––*/
.modal {
  position: fixed; inset: 0;
  display: flex; justify-content: center; align-items: center;
  background: rgba(0,0,0,0.6); padding: 1rem; z-index: 9999;
  align-items: flex-start; /* Au lieu de center */
  padding-top: 5vh;        /* Pour un peu d'espace en haut */
}

/*–– Container ––*/
.modal-content {
  margin: auto;
  position: relative;
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  animation: fadeIn 0.3s ease-in-out;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  width: auto;          
  max-width: 600px;       
  padding: 1.5rem;  
  max-height: 90vh;       /* Limite la hauteur à 90% de la fenêtre */
  overflow-y: auto;       /* Ajoute un scroll si nécessaire */     
  margin-top: 3rem; 
}

/*–– Close button ––*/
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: transparent; border: none; font-size: 1.5rem; color: #888;
  cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: #333; }

/*–– Header ––*/
.modal-content h2 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem; line-height: 1.2;
  color: var(--primary-color);
}
.modal-subtitle {
  font-size: 1rem; color: #555; margin-bottom: 1.5rem;
}

/*–– Row helper ––*/
.row { display: flex; gap: 0.5rem; }
.half { flex: 1 1 calc(50% - 0.5rem); }

/*–– Form groups ––*/
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label {
  display: block; margin-bottom: 0.3rem;
  font-weight: 600; color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%; padding: 0.5rem 0.75rem;  /* moins de padding vertical */
  border: 1px solid #ccc; border-radius: 8px;
  font-size: 0.9 rem;     /* taille légèrement plus petite */
  line-height: 1.2;         /* moins de hauteur de ligne */
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 191, 255, 0.2);
}
.form-group textarea { resize: vertical; }

/*–– Checkbox group ––*/

.checkbox-group label {
  display: flex; align-items: right; font-size: 0.9rem; color: #333;
}
.checkbox-group input[type="checkbox"] {
  margin-right: 0.5rem; width: auto;
}

/*–– Error messages ––*/
.error-message { display: none; color: #d9534f; font-size: 0.85rem; }

/*–– Form messages ––*/
#form-messages {
  margin-bottom: 1rem; padding: 0.75rem; border-radius: 6px;
  font-size: 0.95rem; display: none;
}
#form-messages.error { background: #f8d7da; color: #721c24; }
#form-messages.success { background: #d4edda; color: #155724; }

/*–– Button ––*/

button[type="submit"] {
  background: var(--primary-color); color: #fff;
  border: none; border-radius: 20px;
  padding: 0.75rem 2rem; font-size: 1rem;
  cursor: pointer; transition: background 0.2s;
  
}
button[type="submit"]:hover { background: #0295c7; }

/*–– Loading ––*/
#loading-spinner { margin-top: 0.75rem; font-weight: bold; color: var(--primary-color); }

/*–– Fade-in animation ––*/
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}



































/* Section générale */
#details-simulation {
  padding: 3rem 1.5rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin: 3rem 0;
}

#details-simulation .modern-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

#details-simulation .modern-header h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
}

#details-simulation .modern-header h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00C2CB 0%, #008A90 100%);
}

#details-simulation .modern-header p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Conteneur des étapes */
.steps-container {
  position: relative;
}



/* Cartes d'étapes */
.step-card {
  position: relative;
  width: 70%;
  margin-bottom: 4rem; /* Espace entre les étapes */
}

.step-card:nth-child(odd) {
  left: -10; /* Alignement à gauche pour les étapes impaires */
}

.step-card:nth-child(even) {
  left: 30%; /* Alignement à droite pour les étapes paires */
}


/* Styles des cartes */
.step-card {
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 194, 203, 0.15);
}

/* En-tête des cartes */
.step-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fdff 0%, #e6f9fb 100%);
  border-bottom: 1px solid #e0f7fa;
}

.step-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #00C2CB, #008A90);
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: #00C2CB;
  margin-right: 1rem;
}

.step-icon {
  font-size: 1.8rem;
  margin-right: 1rem;
  color: #008A90;
}

.step-header h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

/* Contenu des cartes */
.step-content {
  padding: 1.5rem;
}

.step-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .steps-container::before {
    left: 2rem; /* Déplace la ligne centrale à gauche sur mobile */
  }

  .step-card {
    width: calc(100% - 4rem); /* Prend presque toute la largeur */
    left: auto !important; /* Réinitialise le positionnement */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important; /* Supprime les marges négatives */
  }

  .step-card:nth-child(odd),
  .step-card:nth-child(even) {
    margin-bottom: 2rem; /* Espace entre les étapes sur mobile */
    margin-left: auto;
    margin-right: auto;
  }
}










  
/* Barème visuel */
.bareme-container {
  padding: 1.5rem;
  background: var(--background-light);
  border: 0.063rem solid var(--border-color);
  border-radius: 0.625rem;
  margin-bottom: 1.5rem;
}

.bareme-container p {
  text-align: left;
  font-size: 0.9rem;
  color: var(--subtext-color);
}

.bareme-line {
  position: relative;
  width: 80%;
  height: 8px;
  background: linear-gradient(to right, #ff4069 33%, #FFCE56 66%, #4CAF50 100%);
  margin: 20px auto;
  border-radius: 4px;
}

.tick {
  position: absolute;
  bottom: -20px;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: bold;
  color: var(--text-color);
}

.range {
  position: absolute;
  top: -25px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}
.tjm-label {
  position: absolute;
  right: -35px;
  top: -10px;
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-color);
}






/* conteneur général */
.voitures-flotte-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}


.voitures-flotte-container h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #1a1a1a;
  position: relative;
  padding-bottom: 15px;
}

.voitures-flotte-container h1:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00C2CB 0%, #008A90 100%);
}
.voitures-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px 0;
}

.voiture-card {
  width: 400px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}


.voiture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Galerie */
.voiture-galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 250px;
  overflow: hidden;
}

.voiture-galerie img {
  width: 100%;
  height: 80%;
  object-fit: cover;
}

.voiture-galerie:has(img:only-child) {
  grid-template-columns: 1fr;
}

/* Titre avec hauteur fixe */
.voiture-card > h2 {
  font-size: 1.4rem;
  margin: 4px 15px 5px;
  color: #2d3436;
  font-weight: 600;
  min-height: 3.6em;
  line-height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Contenu central de la carte */
.voiture-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0 15px 15px;
}

/* Liste des détails */
.voiture-details {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  display: grid;
  gap: 10px;
}

.voiture-details li {
  display: flex;
  justify-content: space-between;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.95rem;
}

.voiture-details li strong {
  color: #2d3436;
}

.voiture-details li span {
  color: #00C2CB;
  font-weight: 600;
}

/* Bouton caractéristiques */
.caracteristiques-link {
  margin-bottom: 10px;
}

.btn-caracteristiques {
  display: inline-block;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0073aa;
  text-decoration: underline;
}
.btn-caracteristiques:hover {
  text-decoration: none;
  color: #005177;
}

/* Bouton sélection */
.select-vehicule-btn {
  display: inline-block;
  padding: 14px 25px;
  background: linear-gradient(135deg, #00C2CB 0%, #008A90 100%);
  color: white !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
}

.select-vehicule-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px #008A90;
}

/* Badge disponibilité */
.dispo-badge-mini {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  color: #fff;
  white-space: nowrap;
  margin-bottom: 10px;
  margin-right: 10px;
}

.dispo-badge-mini.dispo {
  background-color: #a7d8f0;
  color: #004e6e;
}

.dispo-badge-mini.non-dispo {
  background-color: #d3d3d3;
  color: #555;
}









/* Conteneur spécial pour le titre */
.ligne.selected-vehicule {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* Label “Voiture sélectionnée” */
.selected-vehicule-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #0073aa;            /* votre couleur principale */
  letter-spacing: 0.05em;
  margin: 0;
}

/* Nom du véhicule */
.vehicule-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;               /* un gris sombre pour le contraste */
  background: rgba(0, 115, 170, 0.1); /* léger fond ton sur ton */
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin: 0;
}




.note-plm {
  background-color: #fffbea;
  border-left: 4px solid #f0c419;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #333;
}
.plm-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0073aa;
}


.vehicule-links {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

/* Style “pill” */
.vehicule-links a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0073aa;                /* couleur principale */
  background: transparent;
  border: 1px solid #0073aa;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}

/* Remplissage progressif au survol */
.vehicule-links a:hover {
  background-color: rgba(0, 115, 170, 0.1);
  box-shadow: inset 0 0 0 1px #0073aa;
  color: #005d8c;
}

/* Focus pour l’accessibilité */
.vehicule-links a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.3);
}





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

  .voiture-galerie {
    grid-template-columns: 1fr;
  }

  .voiture-galerie img {
    height: 220px;
  }
}
















