/* ─── KINETIC v2 — Glass + Sport Press ─── */

/* Self-host Bebas Neue (audit 2026-05-28) : gain LCP en evitant le handshake Google Fonts.
   Cible LCP : sport.html h1, federation.html .fed-acro, etc. */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter self-hosted (audit 2026-05-28) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/inter-800.woff2') format('woff2'); }

/* Archivo Narrow self-hosted (audit 2026-05-28) */
@font-face { font-family: 'Archivo Narrow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/archivo-narrow-500.woff2') format('woff2'); }
@font-face { font-family: 'Archivo Narrow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/archivo-narrow-600.woff2') format('woff2'); }
@font-face { font-family: 'Archivo Narrow'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/archivo-narrow-700.woff2') format('woff2'); }

:root {
  /* Palette — violet/orange amplifiés */
  --violet: #6C47FF;
  --violet-dark: #4A28D9;
  --violet-deep: #2E1A7A;
  --violet-light: #EDE9FE;
  --violet-ultralight: #F3F0FF;
  --orange: #FF5A1F;
  --orange-soft: #FFB38A;
  --lime: #D4FF3A;
  --ink: #0E0B1F;
  --ink-soft: #1F1B3B;
  --paper: #F6F3FF;
  --paper-warm: #FFF5EC;
  --gray: #6B6680;
  --gray-light: #7A7588; /* audit 2026-05-28 : etait #9E99B0 (2.51:1), now 4.5:1+ sur paper */
  --border: rgba(14,11,31,.08);
  --white: #FFFFFF;
  --green: #10B981;

  /* Glass */
  --glass-bg: rgba(255,255,255,.55);
  --glass-bg-strong: rgba(255,255,255,.72);
  --glass-bg-dark: rgba(14,11,31,.35);
  --glass-border: rgba(255,255,255,.7);
  --glass-border-dark: rgba(255,255,255,.18);
  --glass-blur: 20px;
  --glass-shadow: 0 8px 32px rgba(46,26,122,.12), inset 0 1px 0 rgba(255,255,255,.8);
  --glass-shadow-lg: 0 24px 60px rgba(46,26,122,.18), inset 0 1px 0 rgba(255,255,255,.9);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background:
    radial-gradient(1200px 800px at 10% -10%, #FFE3D0 0%, transparent 55%),
    radial-gradient(1000px 700px at 95% 10%, #E7DEFF 0%, transparent 55%),
    radial-gradient(900px 900px at 50% 110%, #FFD5F0 0%, transparent 60%),
    linear-gradient(180deg, #FBF8FF 0%, #FFF4EC 100%);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01","cv11";
}

a { color: inherit; text-decoration: none; }

/* Sport-press display font — Bebas Neue + Archivo as condensed grotesk */
.display, .display-font {
  font-family: 'Archivo Narrow', 'Bebas Neue', 'Oswald', 'Impact', sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: .92;
}
.bebas {
  font-family: 'Bebas Neue', 'Archivo Narrow', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
}

/* ─── GLASS SURFACE ─── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 28px;
}
.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--glass-shadow-lg);
  border-radius: 28px;
}
.glass-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--glass-border-dark);
  color: white;
  border-radius: 28px;
}

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 16px 24px 0;
  padding: 10px 10px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(46,26,122,.1);
  border-radius: 100px;
  height: 64px;
}
.nav-logo {
  font-family: 'Bebas Neue', 'Archivo Narrow', Impact, sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,90,31,.18);
}
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  background: rgba(14,11,31,.04);
  padding: 4px;
  border-radius: 100px;
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
}
.nav-link:hover { background: rgba(255,255,255,.7); }
.nav-link.active {
  background: var(--ink);
  color: white;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-search {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .15s;
}
.nav-search:hover { background: white; border-color: var(--violet); }

/* ─── BUTTONS ─── */
.btn {
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  letter-spacing: .01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: white;
}
.btn-primary:hover {
  background: var(--violet);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(108,71,255,.4);
}
.btn-primary:disabled { background: #D1D5DB; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-accent {
  background: var(--orange);
  color: white;
}
.btn-accent:hover { background: #E34A10; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255,90,31,.4); }
.btn-glass {
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(46,26,122,.08);
}
.btn-glass:hover { background: white; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(14,11,31,.15);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.4); }
.btn-white {
  background: white;
  color: var(--ink);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.btn-lg { padding: 18px 32px; font-size: 15px; }

/* ─── CHIPS / PILLS ─── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pill-orange { background: var(--orange); color: white; border-color: transparent; }
.pill-violet { background: var(--violet); color: white; border-color: transparent; }
.pill-dark { background: var(--ink); color: white; border-color: transparent; }
.pill-lime { background: var(--lime); color: var(--ink); border-color: transparent; }

/* ─── BLOBS (decorative background shapes) ─── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .7;
  pointer-events: none;
  z-index: 0;
}
.blob-violet { background: #A68BFF; }
.blob-orange { background: #FFB084; }
.blob-pink { background: #FFA8D8; }
.blob-lime { background: #D4FF3A; }

/* ─── FOOTER ─── */
.footer {
  margin: 80px 24px 24px;
  padding: 48px 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(46,26,122,.1);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.footer-brand .footer-logo {
  font-family: 'Bebas Neue', 'Archivo Narrow', Impact, sans-serif;
  font-size: 36px;
  letter-spacing: .04em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand .footer-logo::before {
  content: '';
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,90,31,.2);
}
.footer-brand p {
  font-size: 13px;
  color: var(--gray);
  max-width: 280px;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: 'Bebas Neue', 'Archivo Narrow', Impact, sans-serif;
  font-size: 16px;
  letter-spacing: .12em;
  margin-bottom: 16px;
  color: var(--ink);
}
.footer-col a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--violet); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray);
  position: relative;
  z-index: 2;
}
.footer::before {
  content: '';
  position: absolute;
  right: -100px; bottom: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  opacity: .15;
  z-index: 1;
}

/* ─── SPORT SILHOUETTE ICONS (reusable) ─── */
.sport-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--ink);
}
.sport-glyph svg { width: 32px; height: 32px; }

/* ─── UTILS ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Selection highlight */
::selection { background: var(--lime); color: var(--ink); }

@media (max-width: 900px) {
  .nav { margin: 12px; padding: 8px 8px 8px 16px; }
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .footer { margin: 48px 12px 12px; padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ========== A11Y UTILITY : visually-hidden ========== */
/* Pour les titres / labels destines aux lecteurs d'ecran uniquement (h1 SEO sans casser le design) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only-focusable:focus,
.sr-only-focusable:focus-within {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
