/* ================================
   Encadrés génériques Auto-Mania
   Fichier : assets/css/autonome-encarts.css
   ================================ */

/* Bloc de base */
.encart {
  border-radius: 10px;
  padding: 1.75rem 1.9rem;
  margin: 2rem 0;
  position: relative;
  background: #ffffff;              /* fond blanc magazine */
  border: 2px solid #000000;        /* bordure noire */
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Variante "historique" / "chiffres" (encart éditorial) */
.encart-historique {
  border-left-width: 6px;           /* filet plus large à gauche */
  border-left-style: solid;
  border-left-color: #000000;
}

/* Titre de l’encadré */
.encart-historique > h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #000000;
}

/* Liste à l’intérieur : compacte, lisible */
.encart-historique ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.encart-historique ul li {
  margin-bottom: .6rem;
  padding-left: 1.2rem;
  position: relative;
}

/* Puce personnalisée façon magazine */
.encart-historique ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #000000;
  font-weight: bold;
}

/* Dernier paragraphe de conclusion dans l’encadré */
.encart-historique > p:last-of-type {
  margin-top: 1.2rem;
  font-style: italic;
}

/* Optionnel : léger ajustement sur petits écrans */
@media (max-width: 600px) {
  .encart {
    padding: 1.4rem 1.3rem;
    margin: 1.5rem 0;
  }

  .encart-historique > h2 {
    font-size: 0.95rem;
  }
}
