/* ═══════════════════════════════════════════════════════════════════
   COMPONENTS.CSS — Composants réutilisables : boutons, cartes, badges
   ═══════════════════════════════════════════════════════════════════ */

/* ─── BOUTONS ───────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 14px 30px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #3a5332;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
}

.btn-outline:hover {
  background: rgba(255,255,255,.08);
}

.btn-dark {
  background: var(--gris-xl);
  color: #fff;
}

.btn-dark:hover {
  background: var(--noir);
  transform: translateY(-1px);
}

/* ─── CARTES ────────────────────────────────────────────────────── */

.card {
  background: var(--blanc);
  border: 1px solid var(--gris-s);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: var(--transition);
}

.card:hover {
  background: var(--gris-xs);
}

/* ─── BADGES ET TAGS ────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blanc);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-l);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ─── ICÔNES ────────────────────────────────────────────────────── */

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle svg {
  color: var(--accent);
}

/* ─── PLACEHOLDERS PHOTO ────────────────────────────────────────── */

.photo-placeholder {
  background: var(--gris-s);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.photo-placeholder::before {
  content: '';
  display: block;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gris-m);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='18' viewBox='0 0 24 22' fill='none' stroke='%23c8c4bc' stroke-width='1.5'%3E%3Crect x='1' y='5' width='22' height='15' rx='2'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M8 5l2-4h4l2 4'/%3E%3C/svg%3E") center/20px no-repeat;
}

.photo-label {
  font-size: 0.72rem;
  color: var(--gris-m);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
