/* Composition commune au prototype et à la réponse HTTP 404. */
@font-face {
  font-family: Caladea;
  src: url('assets/home/Caladea-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

.error-page-v89 {
  --error-ink: #2b201d;
  --error-coral: #fb8f61;
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 72px) 24px clamp(48px, 8vw, 96px);
  text-align: center;
  color: var(--error-ink);
}

.error-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .14em;
  min-height: 1.64em;
  margin-bottom: 32px;
  background: #f7f2e9;
  font: 400 clamp(88px, 17vw, 178px)/1 Caladea, Georgia, serif;
  user-select: none;
}

.error-zero {
  position: relative;
  display: block;
  width: .65em;
  aspect-ratio: 1;
  border: 1px solid var(--error-ink);
  border-radius: 50%;
}

.error-zero::before {
  content: '';
  position: absolute;
  inset: 12%;
  border: 1px dashed #a89580;
  border-radius: inherit;
}

.error-zero::after {
  content: '';
  position: absolute;
  left: 56%;
  top: 62%;
  width: .155em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--error-coral);
  box-shadow: 0 2px 3px #2b201d26;
}

.error-page-v89 .error-label {
  margin: 0 0 12px;
  font: 700 .8rem/1.4 Urbanist, Arial, sans-serif;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}

.error-page-v89 h1 {
  margin: 0 auto 14px;
  font: 400 clamp(32px, 4.5vw, 54px)/1.08 Caladea, Georgia, serif;
  text-wrap: balance;
  text-align-last: center;
}

.error-page-v89 .error-description {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.55;
  text-align: center;
  text-wrap: pretty;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.error-page-v89 .error-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--error-ink);
  color: var(--error-ink);
  background: #fff;
  font: 650 16px/1.4 Urbanist, Arial, sans-serif;
  text-decoration: none;
}

.error-page-v89 .error-action-main {
  color: #fff;
  background: var(--error-ink);
}

.error-page-v89 .error-action:is(:hover, :focus-visible) {
  border-color: var(--error-coral);
  color: var(--error-ink);
  background: var(--error-coral);
}

.error-page-v89 .error-action:focus-visible {
  outline: 2px solid var(--error-ink);
  outline-offset: 4px;
}

@media (max-width: 560px) {
  .error-art { margin-bottom: 26px; }
  .error-actions {
    flex-direction: column;
    max-width: 330px;
    margin-inline: auto;
  }
}
