/* Copernia · design system (tokens repris du Design System Copernia) pour les pages propres à Copernia :
   page d'attente, écran TV, modération, confidentialité. Le jeu de Pia garde son propre style. */
@font-face { font-family: "Manrope"; src: url("/copernia/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --green: #136f63; --green-hover: #0f5b51; --on-green: #ffffff;
  --gold: #eab464; --gold-hover: #d9a455; --gold-text: #8a5a17;
  --charcoal: #2b2d2d; --slate: #304f49; --cream: #fbf0e1; --green-tint: #cfe0de;
  --background: #ffffff; --surface-muted: #f7f7f7; --ink: #2b2d2d; --ink-muted: #6b7280; --border: #e5e7eb;
  --destructive: #dc2626; --ring: var(--green);
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --space-2: 8px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-md: 8px; --radius-pill: 9999px;
}
* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--background); font-size: 18px; line-height: 1.5; }
a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.cop-green { background: var(--green); color: var(--on-green); }
.cop-green a { color: var(--on-green); }
.cop-green :focus-visible { outline-color: var(--on-green); }
.cop-eyebrow { display: block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.cop-gold { color: var(--gold); }
.cop-stat { font-size: 48px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.cop-btn { font: inherit; font-size: 14px; line-height: 20px; font-weight: 700; border: 0; border-radius: 0; padding: 12px 20px; cursor: pointer; min-height: 48px; }
.cop-btn-green { background: var(--green); color: var(--on-green); }
.cop-btn-green:hover { background: var(--green-hover); }
.cop-btn-gold { background: var(--gold); color: var(--charcoal); }
.cop-btn-gold:hover { background: var(--gold-hover); }
.cop-btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border); font-weight: 600; letter-spacing: .35px; text-transform: uppercase; }
.cop-input { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); min-height: 48px; background: #fff; color: var(--ink); }

/* ---------- Page d'attente ---------- */
.wait { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: clamp(20px, 5vw, 64px); max-width: 1120px; margin: 0 auto; }
.wait-logo { height: clamp(28px, 4vw, 40px); width: auto; display: block; }
.wait-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 8vh, 96px) 0; max-width: 820px; }
.wait-title { font-size: clamp(32px, 5.2vw, 56px); line-height: 1.1; font-weight: 700; letter-spacing: -1px; margin-top: 16px; }
.wait-lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; margin-top: 20px; max-width: 46ch; }
.wait-en { font-size: 15px; margin-top: 10px; opacity: .85; }
.wait-count { display: flex; gap: 0; margin-top: 40px; }
.wait-count > div { display: flex; flex-direction: column; gap: 8px; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.2); }
.wait-count > div:first-child { padding-left: 0; border-left: 0; }
.wait-unit { font-size: 15px; opacity: .85; }
.wait-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.wait-form { display: flex; flex-direction: column; gap: 8px; }
.wait-row { display: flex; gap: 8px; }
.wait-row input { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-md); background: rgba(255,255,255,.08); color: #fff; min-height: 48px; width: min(260px, 60vw); }
.wait-row input::placeholder { color: rgba(255,255,255,.75); }
.wait-err { font-size: 15px; font-weight: 700; color: #fff; background: var(--destructive); padding: 4px 10px; align-self: flex-start; }
.wait-legal { font-size: 14px; opacity: .85; }
@media (max-width: 560px) { .wait-count > div { padding: 0 16px; } .cop-stat { font-size: 40px; } }

/* ---------- Pages de texte (confidentialité) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.doc header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.doc header img { height: 30px; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; font-weight: 700; margin-top: 32px; }
.doc h2 { font-size: 20px; line-height: 30px; font-weight: 700; margin-top: 32px; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; margin-top: 10px; }
.doc ul { padding-left: 20px; }
.doc .muted { color: var(--ink-muted); font-size: 14px; }
