/* diventi-cornet.be — une page, centrée, sobre */

body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }

.stage {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px 24px 32px;
}

.kicker {
  margin: 0 0 1.4em; font-size: .78rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink-faint);
}
.kicker:empty { display: none; }

.family-name {
  font-size: clamp(2.8rem, 10.5vw, 8.5rem);
  font-weight: var(--display-weight);
  line-height: .95; letter-spacing: -0.035em;
  max-width: 14ch;
}
.family-name .sep { color: var(--accent); font-weight: 300; padding: 0 .02em; }
.family-name em { font-style: italic; font-weight: 400; color: var(--accent); }

.tagline { margin: 1.4em 0 0; color: var(--ink-soft); font-size: 1.05rem; max-width: 46ch; }
.tagline:empty { display: none; }

.ornament {
  display: block; width: 56px; height: 1px; margin: clamp(36px, 7vh, 64px) 0;
  background: var(--accent); position: relative;
}
.ornament::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  background: var(--bg); border: 1px solid var(--accent); transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Jetons des membres ---------- */
.tokens {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 44px);
  max-width: 900px;
}
.token {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-decoration: none; color: inherit; width: 120px;
}
.token-face {
  position: relative; width: 104px; height: 104px; border-radius: 50%;
  padding: 4px; background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.token-face, .token-face .inner { display: block; }
.token-face .inner { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--bg-alt); }
.token-face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .35s, transform .5s; }
.token-face .placeholder { background: var(--bg-alt); color: var(--ink-soft); }
.token-face .placeholder span { font-size: 1.9rem !important; letter-spacing: .02em; }

/* Petite pastille : ✉ pour un email, ↗ pour un site */
.token-kind {
  position: absolute; right: 2px; bottom: 2px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); color: var(--ink-soft);
  box-shadow: 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .3s;
}
.token-kind svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.token-name { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.token-role { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--ink-faint); margin-top: 3px; letter-spacing: .02em; }

a.token:hover .token-face, a.token:focus-visible .token-face {
  transform: translateY(-6px); box-shadow: 0 0 0 2px var(--accent), 0 18px 36px -18px var(--accent);
}
a.token:hover img, a.token:focus-visible img { filter: none; transform: scale(1.06); }
a.token:hover .token-kind, a.token:focus-visible .token-kind { background: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
a.token:focus-visible { outline: none; }

/* Apparition en cascade */
.stage > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.stage > .family-name { animation-delay: .05s; }
.stage > .tagline { animation-delay: .15s; }
.stage > .ornament { animation-delay: .25s; }
.tokens li { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.35s + var(--i) * .08s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.foot { text-align: center; padding: 0 24px 28px; font-size: .82rem; color: var(--ink-faint); position: relative; z-index: 1; }
.foot a { color: var(--ink-soft); text-underline-offset: 3px; }
.foot:empty { display: none; }

@media (max-width: 480px) {
  .token { width: 96px; }
  .token-face { width: 84px; height: 84px; }
  .token-kind { width: 24px; height: 24px; }
  .token-name { font-size: .95rem; }
}
