/* Pages de présentation DartCV (site/build.mjs) : mêmes couleurs et polices que l'application. */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/site/big-shoulders-800.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/site/big-shoulders-800-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;
}

:root {
  --bg: #0d1012;
  --surface: #151a1c;
  --surface-2: #1b2124;
  --line: rgba(233, 236, 228, 0.1);
  --text: #e9ece4;
  --text-2: #a4ada8;
  --acid: #d3f23f;
  --on-acid: #0d1012;
  --display: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  --ui: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--ui); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; border-radius: 6px; }
strong { color: var(--text); font-weight: 650; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: rgba(13, 16, 18, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: 0.01em; text-decoration: none; line-height: 1; }
.logo span { color: var(--acid); }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text-2); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); background: var(--surface-2); }
.nav__lang { border: 1px solid var(--line); }
.top .btn--sm { margin-left: auto; }
@media (min-width: 860px) {
  .top { padding: 14px 32px; }
  .nav { display: flex; }
  .top .btn--sm { margin-left: 8px; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--acid); color: var(--on-acid); font-weight: 750; font-size: 17px; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(211, 242, 63, 0.5); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 10px; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; }
.cta > span { color: var(--text-2); font-size: 14px; }

/* Haut de page */
.hero { display: grid; gap: 32px; padding: 32px 16px 24px; max-width: 1120px; margin: 0 auto; }
.crumbs { font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.crumbs a { color: var(--text-2); }
h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 11vw, 88px); line-height: 0.92; margin: 0 0 16px; letter-spacing: 0.005em; }
.lead { font-size: 19px; color: var(--text-2); margin: 0 0 20px; max-width: 40em; }
@media (min-width: 860px) {
  .hero { padding: 64px 32px 40px; }
  .hero--home { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
}

/* Aperçu de l'écran de match */
.mock { position: relative; display: grid; gap: 10px; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); max-width: 440px; width: 100%; justify-self: center; }
.mock__darts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__darts span { padding: 12px; border-radius: 12px; background: var(--surface-2); font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.mock__darts .is-last { color: var(--acid); }
.mock__card { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: var(--surface-2); }
.mock__who { font-weight: 700; }
.mock__score { font-family: var(--display); font-weight: 800; font-size: 108px; line-height: 0.85; color: var(--acid); }
.mock__co { font-size: 12px; letter-spacing: 0.12em; color: var(--text-2); }
.mock__co b { color: var(--text); letter-spacing: 0.04em; font-size: 15px; }
.mock__burst { position: absolute; right: -6px; top: -14px; padding: 4px 14px; border-radius: 12px; background: var(--acid); color: var(--on-acid); font-family: var(--display); font-weight: 800; font-size: 36px; transform: rotate(4deg); }

/* Contenu */
.content { max-width: 760px; margin: 0 auto; padding: 8px 16px 56px; }
.block { padding: 28px 0; border-top: 1px solid var(--line); }
h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 6vw, 40px); line-height: 1; margin: 0 0 14px; }
.block p { margin: 0 0 12px; color: var(--text-2); }
.list, .steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--text-2); }
.list li { position: relative; padding-left: 22px; }
.list li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 10px; height: 3px; border-radius: 2px; background: var(--acid); }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 60px; border-radius: 14px; background: var(--surface); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--acid); font-family: var(--display); font-weight: 800; font-size: 20px; }
details { border-radius: 12px; background: var(--surface); margin-bottom: 8px; }
summary { cursor: pointer; padding: 14px 16px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 48px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--acid); font-size: 22px; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 !important; padding: 0 16px 16px; }
.cards { display: grid; gap: 10px; }
.card { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: var(--surface); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.15s; }
.card:hover { box-shadow: inset 0 0 0 1px var(--acid); }
.card span { color: var(--text-2); font-size: 15px; line-height: 1.45; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* Pied de page */
.foot { display: grid; gap: 20px; padding: 32px 16px 40px; border-top: 1px solid var(--line); max-width: 1120px; margin: 0 auto; color: var(--text-2); font-size: 15px; }
.foot p { margin: 8px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--text-2); text-decoration: none; padding: 6px 0; }
.foot nav a:hover { color: var(--text); }
@media (min-width: 860px) { .foot { grid-template-columns: 1fr 2fr; padding: 40px 32px 48px; } }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-content: center; gap: 14px; padding: 24px 16px; max-width: 520px; margin: 0 auto; color: var(--text-2); }
.notfound h1 { color: var(--acid); margin: 8px 0 0; }
.notfound p { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
