/* Harmoz — page temporaire « bientôt » */

:root {
  --navy: #0B1F3A;
  --texte: #F4F7FA;
  --texte-2: #B8C4D4;
  --io-a: #1565C0;
  --io-b: #2EC4B6;
  --io-c: #3DDC97;
  --degrade-io: linear-gradient(90deg, var(--io-a) 0%, var(--io-b) 55%, var(--io-c) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background-color: var(--navy);
}

/* halo teal très faible en bas à droite (< 8 %), calé sur la fenêtre */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    60rem 40rem at 100% 100%,
    rgba(46, 196, 182, 0.07),
    transparent 70%
  );
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background-color: var(--navy);
  color: var(--texte);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Carte ---------- */

.carte {
  width: 100%;
  max-width: 36rem;
  margin: auto;
  text-align: center;
}

/* ---------- Lockup : le mot fendu ---------- */

.lockup {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.5rem, 10vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.lockup__nom {
  color: var(--texte);
}

.lockup__point {
  color: var(--io-a);
  margin: 0 0.06em;
  font-weight: 600;
  position: relative;
  top: -0.06em;
}

.lockup__io {
  background: var(--degrade-io);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* évite que le dégradé soit rogné par le letter-spacing négatif */
  padding-right: 0.06em;
  margin-right: -0.06em;
}

/* Le nom en navy n'est pas lisible sur fond navy : sur cette page sombre,
   « Harmoz » est posé en clair. Le navy #0B1F3A reste la couleur du mot
   sur fond clair (favicon, OG). */

/* ---------- Textes ---------- */

.baseline {
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  color: var(--texte);
  letter-spacing: 0.005em;
}

.phrase {
  margin: 2rem auto 0;
  max-width: 30rem;
  font-size: clamp(1rem, 3.2vw, 1.125rem);
  color: var(--texte-2);
  text-wrap: balance;
}

.statut {
  margin: 2.25rem 0 0;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--texte-2);
}

/* filet discret sous le bloc, seul autre usage de l'accent */
.statut::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0 auto 1.25rem;
  border-radius: 1px;
  background: var(--degrade-io);
  opacity: 0.85;
}

/* ---------- Pied ---------- */

.pied {
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: var(--texte-2);
  text-align: center;
}

.pied p {
  margin: 0.25rem 0;
}

.pied__sep {
  color: var(--io-b);
  margin: 0 0.35em;
}

.pied a {
  color: var(--texte-2);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--io-b);
}

.pied a:hover {
  color: var(--texte);
}

.pied a:focus-visible {
  outline: 2px solid var(--io-c);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Écrans plus larges ---------- */

@media (min-width: 768px) {
  body {
    padding: 3rem 2rem;
  }
  .baseline {
    margin-top: 1.5rem;
  }
  .phrase {
    margin-top: 2.5rem;
  }
  .statut {
    margin-top: 2.75rem;
  }
  .pied {
    margin-top: 4rem;
  }
}

/* ---------- Mouvement ---------- */

/* Aucune animation par défaut. Ce bloc n'existe que pour garantir
   qu'aucune transition héritée ne joue si prefers-reduced-motion est actif. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
