/* public\assets\css\components.css */
/* ============================
   Composants réutilisables
   ============================ */

/* Badges / étiquettes génériques */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  background: var(--light-gray);
  color: var(--dark);
  gap: 0.35rem;
}

.chip--gold {
  background: rgba(255, 215, 0, 0.12);
  border-color: var(--gold);
  color: var(--dark);
}

.chip--red {
  background: rgba(220, 20, 60, 0.12);
  border-color: var(--red);
  color: var(--red);
}

.chip__icon {
  font-size: 1rem;
}

/* Cartes “encadré” pour mises en avant de texte */
.highlight-card {
  border-radius: 10px;
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(220, 20, 60, 0.03));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.highlight-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.highlight-card__subtitle {
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 0.75rem;
  color: var(--gray);
}

/* Listes avec icône personnalisée */
.icon-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.icon-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray);
}

.icon-list__icon {
  margin-top: 0.1rem;
  color: var(--gold);
}

/* Petits séparateurs visuels */
.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.08), transparent);
  margin: 1.5rem 0;
}

.divider--gold {
  background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.8), transparent);
}

/* Cartouche “bandeau” (par ex. annonce, promo, info) */
.banner {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.banner--info {
  background: rgba(0, 0, 128, 0.05);
  color: var(--blue-mary);
  border: 1px solid rgba(0, 0, 128, 0.2);
}

.banner--warning {
  background: rgba(255, 215, 0, 0.08);
  color: var(--dark);
  border: 1px solid rgba(255, 215, 0, 0.6);
}

.banner__text {
  flex: 1;
}

.banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Petites pastilles de statut (ex: “Bientôt”, “Nouveau”) */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border-light);
  background: var(--light-gray);
  color: var(--gray);
}

.pill--accent {
  border-color: var(--red);
  background: rgba(220, 20, 60, 0.08);
  color: var(--red);
}

.pill--soft-gold {
  border-color: rgba(255, 215, 0, 0.7);
  background: rgba(255, 215, 0, 0.1);
  color: var(--dark);
}

/* Petits encadrés de meta-infos (lieu, dates, etc.) */
.meta-box {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px dashed var(--border-light);
  font-size: 0.8rem;
  color: var(--gray);
}

.meta-box__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
