/* Socle commun : variables, remise à zéro, typographie et petits éléments
   réutilisés partout (sur-titre, étiquette, bouton, pastille). */

:root {
  --night: #060a16;
  --deep: #0a1124;
  --navy: #111b38;
  --panel: rgba(11, 17, 36, .82);
  --panel-solid: #0c1328;
  --line: rgba(225, 232, 255, .13);
  --line-strong: rgba(225, 232, 255, .32);
  --pearl: #f3eee4;
  --ink: #e7ebf5;
  --muted: #a8b1ca;
  --faint: #6e7898;
  --gold: #d8b46a;
  --gold-hi: #f1dba4;
  --teal: #8fe6df;
  --cyan: #7ad4ff;
  --crystal: #5aa2ff;
  --violet: #a28dff;
  --exotic: #ceae33;
  --exotic-dark: #6b5a1c;

  --font-ui: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-lore: 'Cormorant Garamond', Georgia, serif;
  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --photo-filter: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font-family: var(--font-ui); font-size: 16px; line-height: 1.65; font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(122, 212, 255, .3); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.sprite-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.photo { filter: var(--photo-filter); transition: filter 1.6s ease; }

/* ---------- Petits éléments ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.kicker svg { width: 8px; height: 8px; }

.panel-title {
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

.tag { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

.d-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .55); background: rgba(8, 12, 26, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  transition: background .25s, color .25s, border-color .25s;
}
.d-btn svg { width: 8px; height: 8px; }
.d-btn:hover { background: #fff; color: var(--night); border-color: #fff; }
.d-btn--solid { background: var(--pearl); color: var(--night); border-color: var(--pearl); }
.d-btn--solid:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.d-btn--small { min-height: 38px; padding: 0 16px; font-size: .7rem; }

.lead { margin: 0; font-size: 1.05rem; line-height: 1.75; color: #cdd3e6; }

.facts-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fact { padding: 4px 10px; border: 1px solid var(--line-strong); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.fact.off { color: #d9a9a9; border-color: rgba(220, 150, 150, .4); }
.fact.on { color: var(--teal); border-color: rgba(143, 230, 223, .4); }

/* ---------- Animations partagées ---------- */
@keyframes kenburns { from { transform: scale(1.12) translate(var(--kx, 0), var(--ky, 0)); } to { transform: scale(1); } }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

@media (max-width: 680px) {
  body { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
