/* Noche by Night · jetons partagés (site et espace gérant).
   La nuit genevoise : fond bleu-noir, encre chaude, une seule lumière ambre
   (celle de l'enseigne) pour l'action et ce qui demande attention. */
:root {
  color-scheme: dark;

  --bg: #0B0D12;
  --bg-1: #11141B;
  --bg-2: #181C25;
  --bg-3: #222734;
  --line: rgba(236, 232, 224, 0.10);
  --line-2: rgba(236, 232, 224, 0.20);

  --ink: #F1EEE8;
  --ink-2: #B9BCC5;
  --ink-3: #8D92A0;

  --amber: #F2B451;
  --amber-hi: #F7C878;
  --amber-ink: #1D1406;
  --amber-soft: rgba(242, 180, 81, 0.13);
  --alert: #F29482;

  --font: "Archivo", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;

  --t-display: clamp(2.75rem, 1rem + 4.6vw, 5.25rem);
  --t-h2: clamp(1.875rem, 1.35rem + 1.9vw, 3rem);
  --t-h3: 1.25rem;
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-meta: 0.8125rem;

  --r-s: 8px;
  --r-m: 12px;
  --r-l: 20px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.36, 0.5, 1);

  --pad: clamp(20px, 4.5vw, 56px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img, svg { display: block; }
.num { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.brand { display: inline-flex; align-items: baseline; gap: 0.5em; text-decoration: none; white-space: nowrap; }
.brand-word { font-weight: 800; font-stretch: 125%; letter-spacing: 0.08em; font-size: 1.125rem; }
.brand-sub { font-size: var(--t-meta); color: var(--ink-2); letter-spacing: 0.02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.35em;
  border: 1px solid transparent; border-radius: var(--r-m);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-hi); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { border-color: var(--line-2); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--bg-2); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[aria-disabled="true"] { opacity: .55; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--r-m);
  font-size: var(--t-small); font-weight: 600; max-width: calc(100vw - 32px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  transition: opacity .3s var(--ease), transform .45s var(--spring);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media (forced-colors: active) {
  .btn { border: 1px solid ButtonText; }
}
