/* KAILLO · Coming soon — langage du site V2 (Plus Jakarta Sans très serré, Inter, pastilles, boutons arrondis)
   sur un beige lumineux (19 nov. 2026, choix de Gary : plus de marron). Aucun orange. Mode sombre automatique. */
:root {
  --bg: #ffffff;            /* fond blanc (choix de Gary, 19 nov. 2026) */
  --ink: #0a0a0a;           /* écriture noire */
  --muted: rgba(10, 10, 10, .58);
  --pill: #f2f2f2; --pill-ink: #0a0a0a; --dot: #0a0a0a;
  --btn: #0a0a0a; --btn-fg: #ffffff; --btn-hover: #2a2a2a;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--ink); font: 400 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.stage { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(48px, 10vh, 96px) 20px 32px; }

/* Coming soon : grande pastille */
.soon { margin-top: clamp(24px, 4vh, 36px); display: inline-flex; align-items: center; gap: 12px; height: clamp(44px, 5.4vw, 54px); padding: 0 clamp(20px, 2.4vw, 26px);
  border-radius: 999px; background: var(--pill); color: var(--pill-ink);
  font: 500 clamp(1.05rem, .9rem + .7vw, 1.35rem)/1 var(--text); letter-spacing: -.01em; }
.soon i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 25%, transparent); animation: pulse 2.6s ease-in-out infinite; }

/* Grand logo */
.logo { margin: 0; line-height: 0; font-size: 0; }
.mark { display: block; width: min(78vw, 560px); aspect-ratio: 600 / 209; background: var(--ink);
  -webkit-mask: url(logo-kaillo.png) center / contain no-repeat; mask: url(logo-kaillo.png) center / contain no-repeat; }

/* Signature */
.line { margin-top: clamp(28px, 5vh, 48px); max-width: min(92vw, 24ch);
  font: 600 clamp(1.9rem, .9rem + 3.6vw, 3.6rem)/1.04 var(--display); letter-spacing: -.045em; word-spacing: .06em; color: var(--ink); }

/* Bouton */
.btn { margin-top: clamp(28px, 4.5vh, 40px); display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--btn); color: var(--btn-fg); font: 500 1rem/1 var(--text); transition: background-color .2s, transform .2s var(--ease); }
.btn .ring { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--btn-fg) 16%, transparent); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { background: var(--btn-hover); } .btn:hover svg { transform: rotate(45deg); } }

/* Pied de page */
.foot { position: relative; display: flex; justify-content: center; gap: 0 24px; flex-wrap: wrap; padding: 0 20px max(18px, env(safe-area-inset-bottom)); font-size: .9rem; color: var(--muted); }
.foot a, .foot span { display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) { .foot a:hover { color: var(--ink); } }

/* Apparition douce */
.rise { animation: rise 1s var(--ease) both; }
.stage .rise:nth-child(2) { animation-delay: .1s; } .stage .rise:nth-child(3) { animation-delay: .22s; } .stage .rise:nth-child(4) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--dot) 10%, transparent); } }
@media (prefers-reduced-motion: reduce) { .rise, .soon i { animation: none !important; } }

/* Page 404 (mêmes éléments, titre à la place du logo) */
.title404 { margin-top: 30px; font: 600 clamp(2.2rem, 1.2rem + 4vw, 3.6rem)/1.02 var(--display); letter-spacing: -.045em; word-spacing: .06em; }
.sub404 { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
