/**
 * Page layout — erreurs (403, 404, 500…)
 * Structure seulement. Boutons / alertes = composants Aubui.
 *
 * .aub-error
 * .aub-error__inner
 * .aub-error__code
 * .aub-error__icon
 * .aub-error__title
 * .aub-error__message
 * .aub-error__actions
 */

.aub-error {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--aub-space-6) var(--aub-space-4);
  background: var(--aub-bg);
  color: var(--aub-fg);
  text-align: center;
}

.aub-error__inner {
  width: 100%;
  max-width: 28rem;
}

.aub-error__code {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--aub-fg-muted);
  opacity: 0.35;
  margin: 0 0 var(--aub-space-3);
  user-select: none;
}

.aub-error__icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: var(--aub-space-4);
  opacity: 0.9;
}

.aub-error__title {
  font-size: var(--aub-text-xl, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 var(--aub-space-3);
}

.aub-error__message {
  color: var(--aub-fg-muted);
  font-size: var(--aub-text-sm);
  line-height: 1.55;
  margin: 0 0 var(--aub-space-6);
}

.aub-error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aub-space-3);
  justify-content: center;
}

/* Variante compacte (embed dans un layout existant) */
.aub-error--embed {
  min-height: auto;
  padding: var(--aub-space-8) var(--aub-space-4);
}
