/* Mimir — landing épurée, menée par le visuel (style cristallin). */

:root {
  --ink: #12233a;
  --muted: #5b6e84;
  --bg: #f7fbff;
  --bg-2: #edf6ff;
  --cyan: #00c8ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -8%, rgba(0, 200, 255, 0.20), transparent 32rem),
    radial-gradient(circle at 14% 16%, rgba(138, 125, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 86% 40%, rgba(0, 200, 255, 0.10), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 54%, var(--bg-2) 100%);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Trame géométrique très discrète, en fond. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(120deg, transparent 0 22%, rgba(79, 151, 224, 0.16) 22.1% 22.3%, transparent 22.4% 100%),
    radial-gradient(circle, rgba(0, 174, 255, 0.20) 0 1.5px, transparent 2px);
  background-size: 360px 360px, 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.12) 72%, transparent 100%);
}

img { max-width: 100%; display: block; }

/* main occupe la hauteur → footer collé en bas même si la page est courte. */
main {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  width: 100%;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 56px 22px;
}

/* <picture> ne doit pas casser le flux flex : l'<img> reste l'élément réel. */
.hero picture { display: contents; }

/* Le visuel porte l'identité (mot-symbole MIMIR + sous-titre déjà gravés). */
.emblem {
  width: clamp(280px, 62vw, 540px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(45, 92, 148, 0.22));
}

.lead {
  max-width: 640px;
  margin: 22px 0 0; /* plus d'air entre l'image et le texte */
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  color: var(--muted);
}

.lead a {
  color: #0094c6;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 200, 255, 0.4);
  transition: color 160ms ease, border-color 160ms ease;
}

.lead a:hover {
  color: var(--ink);
  border-bottom-color: var(--cyan);
}

/* Court texte indexable, discret (SEO sans casser l'épure). */
.about {
  max-width: 560px;
  margin: 4px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #8493a6;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #4d667e;
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed rgba(0, 200, 255, 0.34);
}

.soon-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 200, 255, 0.14), 0 0 16px var(--cyan);
}

footer {
  padding: 28px 22px 44px;
  text-align: center;
  color: #7488a0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.divider {
  width: min(560px, calc(100% - 44px));
  height: 1px;
  margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.36), transparent);
}

/* Titre accessible mais non affiché (le visuel tient lieu de wordmark). */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .hero { padding: 40px 18px; gap: 18px; }
}
