/* Hemiscope, page d'attente. Tokens repris du design system. */
@font-face { font-family: Manrope; src: url("assets/Manrope-Variable.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --nuit: #0B122A; --glace: #F4F7FF; --surligneur: #E9F86B; --lavande: #C7C7FF; --indigo: #6B5BFF;
  --muted: #C9CEE3;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--nuit); color: var(--glace);
  font: 500 17px/1.55 Manrope, "Helvetica Neue", Arial, sans-serif; }
::selection { background: var(--surligneur); color: var(--nuit); }
h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2.5px solid var(--lavande); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100% - 2 * max(16px, 4vw)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; width: 18px; height: 18px; }

/* Surligneur 100 % CSS, comme sur l'accueil */
.hl { --hl-a: -2deg; color: var(--nuit);
  background:
    linear-gradient(176deg, transparent 18%, rgb(255 255 255 / .16) 24%, transparent 32%),
    linear-gradient(181deg, transparent 70%, rgb(11 18 42 / .05) 76%, transparent 84%),
    linear-gradient(var(--hl-a), transparent 7%, var(--surligneur) 10% 88%, transparent 91%);
  border-radius: .55em .2em .45em .12em / .32em .6em .24em .62em;
  padding: 0 .3em .06em .26em; margin-inline: -.12em -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; white-space: nowrap; }
.hl--2 { --hl-a: 1.6deg; border-radius: .2em .6em .14em .5em / .55em .3em .6em .26em; }

/* Hero plein écran : même composition que l'accueil figé (--u = 1 px à 1440). */
.hero { --u: min(calc(100vw / 1440), 1px); position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh;
  background: url("assets/grain.svg") 0 0 / 200px 200px, var(--nuit); }
.hero__in { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.top { padding-block: 32px; }
.logo { height: 28px; width: auto; }
.hero__txt { align-self: center; max-width: 680px; padding-block: 48px; }
.soon { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: .02em;
  padding: 6px 14px 6px 12px; border-radius: 999px; background: rgb(199 199 255 / .14); color: var(--lavande); }
.soon__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--surligneur); }
h1 { margin-top: 28px; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.16; font-weight: 800; letter-spacing: -.025em; }
.hero__m { display: none; }
.lede { margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.follow-label { margin-top: 40px; font-size: 15px; font-weight: 800; color: var(--glace); }
.social { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-size: 16px; font-weight: 800; text-decoration: none; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.btn:hover { transform: translateY(-1px); }
.btn--hl { background: var(--surligneur); color: var(--nuit); }
.btn--line { color: var(--glace); box-shadow: inset 0 0 0 2px var(--lavande); }
.btn--line:hover { background: rgb(199 199 255 / .12); }
.credits { margin-top: 6px; font-size: 12px; color: #9AA2C2; }
.credits a { color: inherit; }
.foot { padding-block: 24px 32px; font-size: 14px; color: #B3BAD4; max-width: min(46%, 560px); }

.art { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.art__disc { position: absolute; left: calc(50% + 67 * var(--u)); top: calc(-120 * var(--u)); width: calc(885 * var(--u)); aspect-ratio: 746 / 753;
  background: url("assets/lune.webp") center / contain no-repeat;
  -webkit-mask-image: linear-gradient(transparent 22%, #000 30%); mask-image: linear-gradient(transparent 22%, #000 30%); }
.art__sparks { position: absolute; left: calc(50% + 144 * var(--u)); top: calc(95 * var(--u)); width: calc(130 * var(--u)); max-width: none; }
.art__photo { position: absolute; left: calc(50% - 60 * var(--u)); top: calc(210 * var(--u)); width: calc(1060 * var(--u)); max-width: none; height: auto; }

@media (min-width: 761px) and (min-height: 900px) {
  /* Grand écran : le Palais descend avec la hauteur pour rester ancré en bas. */
  .art__photo { top: auto; bottom: calc(-60 * var(--u)); }
  .art__disc { top: auto; bottom: calc(160 * var(--u)); }
  .art__sparks { top: auto; bottom: calc(710 * var(--u)); }
}
@media (max-width: 1080px) { .lede { max-width: calc(50vw - 40px); } }
@media (max-width: 760px) {
  .hero__in { display: contents; }
  .top, .hero__txt, .foot { width: min(1240px, 100% - 32px); margin-inline: auto; position: relative; z-index: 3; }
  .top { padding-block: 24px 0; }
  .logo { height: 22px; }
  .hero__txt { padding-block: 32px 0; }
  h1 { margin-top: 20px; font-size: clamp(34px, 9.6vw, 44px); line-height: 1.18; }
  .hero__d { display: none; }
  .hero__m { display: inline; }
  .lede { margin-top: 20px; max-width: none; }
  .follow-label { margin-top: 28px; }
  .art { position: relative; inset: auto; height: 92vw; margin-top: 8px; order: 3; }
  .hero { display: flex; flex-direction: column; }
  .art__disc { left: 8%; top: -20vw; bottom: auto; width: 108vw; }
  .art__sparks { left: 17%; top: 6vw; bottom: auto; width: 16vw; }
  .art__photo { left: -8%; top: 27vw; bottom: auto; width: 130vw; }
  .foot { order: 4; max-width: none; }
  .art { height: 108vw; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
