:root {
  --noir: #0A0908;
  --or: #C8A24C;
  --ivoire: #E9E2D3;
  --fumee: #8C8577;
  --police: "Lato", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background: var(--noir);
  color: var(--ivoire);
  font-family: var(--police);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

/* Le logotype : seul élément fort de la page */
.wordmark {
  font-weight: 800;
  font-size: clamp(2rem, 9.5vw, 8rem);
  letter-spacing: 0.18em;
  margin-right: -0.18em; /* recentre visuellement le texte espacé */
  line-height: 1;
  color: var(--or);
  animation: apparition 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.status {
  margin-top: 2.5rem;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.tagline {
  margin-top: 0.75rem;
  max-width: 32ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fumee);
}

footer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 1.5rem 2rem;
}

footer a {
  color: var(--fumee);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

footer a:hover {
  color: var(--or);
  border-color: var(--or);
}

a:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 4px;
}

/* Animation unique au chargement : les lettres se resserrent */
@keyframes apparition {
  from {
    opacity: 0;
    letter-spacing: 0.4em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.18em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark {
    animation: none;
  }
  footer a {
    transition: none;
  }
}
