/* Page des tarifs : complète site.css, ne le remplace pas */

.chaine {
  list-style: none;
  counter-reset: piece;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 2rem 0 1.5rem;
}
.chaine li { counter-increment: piece; }
.chaine a {
  display: block;
  height: 100%;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--trait);
  border-left: 4px solid var(--jaune);
  border-radius: 0.25rem;
  text-decoration: none;
  color: var(--texte);
  background: var(--fond);
}
.chaine a:hover { border-left-color: var(--rouge); }
.chaine a::before {
  content: counter(piece);
  font-family: "Abel", sans-serif;
  color: var(--texte-doux);
  font-size: 0.9rem;
}
.chaine b {
  display: block;
  font-family: "Abel", sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: #000;
}
.chaine span { font-size: 0.95rem; color: var(--texte-doux); }

.brique {
  border-top: 1px solid var(--trait);
  padding: 2.25rem 0 1.5rem;
  scroll-margin-top: 5rem;
}
.brique h3 { font-size: 1.6rem; margin-top: 0.2rem; }
.brique > p { max-width: 46rem; }
.brique .etiquette { margin: 0; color: var(--rouge); }
.brique .deux { gap: 1rem 2.5rem; }

.limite {
  background: var(--fond-doux);
  border-left: 4px solid var(--gris);
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}
.limite b { font-family: "Abel", sans-serif; font-weight: 400; }
.besoin { font-family: "Abel", sans-serif; }

.carte { scroll-margin-top: 5rem; }
.carte .coches { font-size: 0.95rem; margin-bottom: 0; }
.carte .coches a { color: inherit; }

.a-valider, .a-fixer {
  display: inline-block;
  font-family: "Abel", sans-serif;
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 0 0.4rem;
  border-radius: 0.2rem;
  background: var(--jaune);
  color: #000;
  white-space: nowrap;
}

.pannes td { vertical-align: top; }
.pannes td:first-child { font-weight: 400; color: #000; min-width: 12rem; }
@media (max-width: 40rem) { .pannes { min-width: 34rem; } }

/* Forfaits à prix fixe */
.forfait { border-top-color: var(--rouge); scroll-margin-top: 5rem; }
.forfait .situation { font-family: "Abel", sans-serif; font-size: 1.15rem; color: var(--rouge); margin: 0 0 0.4rem; }
.forfait .note { margin-top: auto; padding-top: 0.75rem; }
.grille:has(.forfait) { grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 1rem; }
.forfait { padding: 1.25rem; }
