/* ============================================
   8. BOUTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8125rem;
}

.btn-primary {
  background-color: var(--gray-800);
  color: white;
}

.btn-primary:hover {
  background-color: var(--gray-900);
}

.btn-secondary {
  background-color: white;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
}

.btn-gold {
  background-color: var(--primary-gold);
  color: white;
}

.btn-gold:hover {
  background-color: var(--primary-gold-dark);
}

.btn-danger {
  color: var(--red-500);
  background-color: transparent;
}

.btn-danger:hover {
  background-color: var(--red-100);
}

/* Focus visible — accessibilité */
.btn:focus-visible,
.sidebar-link:focus-visible,
.tab:focus-visible,
.tool-card:focus-visible,
.project-card:focus-visible,
.property-row:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-icon-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 6px;
  color: var(--gray-400);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.btn-icon-edit:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

