/* FlashRace — Main theme stylesheet */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--fr-blue-700); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--fr-blue-500); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--fr-blue-200); }
  50% { opacity: 0.4; box-shadow: 0 0 4px var(--fr-blue-200); }
}
.fade-up { animation: fadeUp 320ms cubic-bezier(0.25,0.46,0.45,0.94) both; }

/* ========== A11Y ========== */
.fr-skip-link {
  position: absolute; top: -100px; left: 0; z-index: 200;
  padding: 12px 18px; background: var(--fr-yellow); color: var(--bg-base);
  font-family: var(--font-ui); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.16em; transition: top var(--t-fast);
}
.fr-skip-link:focus { top: 0; outline: none; }

/* ========== LIVE BANNER (sticky top) ========== */
.fr-live-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 32px; background: rgba(133,220,247,0.08);
  border-bottom: 1px solid rgba(133,220,247,0.25);
  backdrop-filter: blur(20px);
  font-family: var(--font-ui); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--fr-blue-200);
}
.fr-live-banner__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fr-blue-200);
  animation: pulse 1.5s infinite;
}
.fr-live-banner__text strong { color: var(--fr-white); font-weight: 400; }

/* ========== NAV ========== */
.fr-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; height: 58px;
  padding: 0 48px;
  background: transparent;
  transition: background var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med);
}
.fr-nav.is-scrolled {
  background: rgba(5,14,21,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fr-nav--has-banner { top: 32px; }
.fr-live-banner ~ * .fr-hero { padding-top: 32px; } /* offset hero quand banner actif */
body:has(.fr-live-banner) main { padding-top: 0; }
body:has(.fr-live-banner) .fr-hero { padding-top: 32px; }

/* Toggle hamburger */
.fr-nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; margin-left: auto;
}
.fr-nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--fr-white);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.fr-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fr-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fr-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.fr-nav-mobile {
  position: fixed; top: 58px; left: 0; right: 0; z-index: 99;
  background: rgba(5,14,21,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 24px; display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform var(--t-med), opacity var(--t-med);
}
.fr-nav-mobile[aria-hidden="false"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
.fr-nav-mobile__link {
  font-family: var(--font-ui); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--fr-text); padding: 14px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--t-fast);
}
.fr-nav-mobile__link:hover { color: var(--fr-white); }
.fr-nav-mobile .fr-search-form { margin-bottom: 12px; }
.fr-search-form { display: block; }
.fr-search-form input[type="search"] { width: 100%; }
.fr-wordmark {
  display: flex; align-items: center; gap: 9px;
  cursor: pointer; user-select: none; flex-shrink: 0;
}
.fr-wordmark img { height: 24px; width: 24px; object-fit: contain; }
.fr-wordmark .text {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.07em;
  line-height: 1; white-space: nowrap;
}
.fr-wordmark .yellow { color: var(--fr-yellow); }
.fr-wordmark .white { color: var(--fr-white); }

.fr-nav-links { display: flex; margin-left: 40px; flex: 1; }
.fr-nav-link {
  background: none; border: none;
  font-family: var(--font-ui); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--fr-muted);
  padding: 0 16px; height: 58px; position: relative;
  transition: color var(--t-fast);
}
.fr-nav-link:hover { color: rgba(255,255,255,0.7); }
.fr-nav-link.is-active { color: var(--fr-white); }
.fr-nav-link.is-active::after {
  content: ''; position: absolute; bottom: 0; left: 16px; right: 16px;
  height: 1px; background: var(--fr-yellow);
}
.fr-nav-actions { display: flex; gap: 10px; align-items: center; }
.fr-nav-text-btn {
  background: none; border: none;
  font-family: var(--font-ui); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--fr-muted); transition: color var(--t-fast);
}
.fr-nav-text-btn:hover { color: rgba(255,255,255,0.7); }

/* ========== BUTTONS ========== */
.fr-btn {
  font-family: var(--font-ui); font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.14em;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; line-height: 1;
  border: none; cursor: pointer;
  transition: all var(--t-fast);
  padding: 12px 28px; font-size: 12px;
}
.fr-btn:hover { transform: translateY(-1px); }
.fr-btn--sm { font-size: 10px; padding: 8px 18px; letter-spacing: 0.16em; }
.fr-btn--lg { font-size: 13px; padding: 15px 38px; letter-spacing: 0.13em; }
.fr-btn--full { width: 100%; }
.fr-btn--primary { background: var(--fr-yellow); color: var(--bg-base); }
.fr-btn--primary:hover { background: var(--fr-yellow-amber); box-shadow: 0 6px 24px rgba(255,204,0,0.3); }
.fr-btn--secondary {
  background: transparent; color: var(--fr-yellow);
  border: 1px solid rgba(255,204,0,0.4);
}
.fr-btn--secondary:hover { color: var(--fr-white); border-color: var(--fr-yellow); }
.fr-btn--ghost {
  background: transparent; color: var(--fr-muted);
  border: 1px solid rgba(255,255,255,0.08);
}
.fr-btn--ghost:hover { color: var(--fr-white); border-color: rgba(255,255,255,0.2); }
.fr-btn--discord { background: #5865F2; color: #fff; }
.fr-btn--discord:hover { background: #4752c4; box-shadow: 0 6px 20px rgba(88,101,242,0.4); }

/* ========== BADGES ========== */
.fr-badge {
  display: inline-block; font-family: var(--font-ui);
  font-size: 8px; text-transform: uppercase; letter-spacing: 0.18em;
  padding: 3px 9px; border-radius: var(--radius-sm);
  border: 1px solid;
}
.fr-badge--yellow { background: rgba(255,204,0,0.1); border-color: rgba(255,204,0,0.28); color: var(--fr-yellow); }
.fr-badge--blue { background: rgba(54,143,182,0.1); border-color: rgba(54,143,182,0.28); color: var(--fr-blue-200); }
.fr-badge--green { background: rgba(76,175,129,0.1); border-color: rgba(76,175,129,0.28); color: #4CAF81; }
.fr-badge--red { background: rgba(201,9,9,0.12); border-color: rgba(201,9,9,0.35); color: #ff4444; }
.fr-badge--muted { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: var(--fr-muted); }

/* ========== SECTION ========== */
.fr-section { padding: 80px; }
.fr-section-label {
  font-family: var(--font-ui); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--fr-blue-500); margin-bottom: 16px;
}
.fr-section-title {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 36px; letter-spacing: 0.05em;
  color: var(--fr-white); line-height: 1.05;
  margin-bottom: 40px;
}
.fr-section-title .accent { color: var(--fr-yellow); }
.fr-section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}
.fr-rule { height: 1px; background: rgba(255,255,255,0.05); margin: 0 80px; }
.fr-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.fr-col-label {
  font-family: var(--font-ui); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--fr-blue-500); margin-bottom: 16px;
}

/* ========== HERO ========== */
.fr-hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 80px 72px; overflow: hidden;
}
.fr-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.32) saturate(1.1);
}
.fr-hero__fade-bottom {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,14,21,1) 0%, rgba(5,14,21,0.2) 40%, transparent 100%);
}
.fr-hero__fade-left {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(5,14,21,0.5) 0%, transparent 60%);
}
.fr-hero__bolt {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  height: 440px; width: 440px; object-fit: contain;
  opacity: 0.1; pointer-events: none;
}
.fr-hero__content { position: relative; z-index: 2; max-width: 680px; }
.fr-hero__kicker {
  font-family: var(--font-ui); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.35em;
  color: var(--fr-blue-200); margin-bottom: 24px; opacity: 0.8;
}
.fr-hero__wordmark {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 100px; text-transform: uppercase; letter-spacing: 0.04em;
  line-height: 0.92; margin-bottom: 28px; white-space: nowrap;
}
.fr-hero__wordmark .yellow { color: var(--fr-yellow); }
.fr-hero__wordmark .white { color: var(--fr-white); }
.fr-hero__tagline {
  font-family: var(--font-ui); font-size: 20px;
  color: rgba(255,255,255,0.72); letter-spacing: 0.04em;
  line-height: 1.5; margin-bottom: 36px; max-width: 480px;
}
.fr-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fr-hero__live {
  position: absolute; bottom: 72px; right: 80px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
}
.fr-hero__live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fr-blue-200);
  animation: pulse 1.5s infinite;
}
.fr-hero__live-text {
  font-family: var(--font-ui); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--fr-blue-200);
}

/* ========== STANDINGS ========== */
.fr-standings { display: flex; flex-direction: column; }
.fr-standings__row {
  display: grid; grid-template-columns: 36px 1fr auto;
  align-items: center; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--t-fast);
}
.fr-standings__row:hover { background: rgba(255,255,255,0.018); }
.fr-standings__pos {
  font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--fr-muted);
}
.fr-standings__row.is-leader .fr-standings__pos,
.fr-standings__row.is-leader .fr-standings__pts { color: var(--fr-yellow); }
.fr-standings__name {
  font-family: var(--font-ui); font-size: 13px;
  color: var(--fr-white); letter-spacing: 0.05em;
}
.fr-standings__sub {
  font-family: var(--font-ui); font-size: 10px;
  color: var(--fr-muted); letter-spacing: 0.08em; margin-top: 2px;
}
.fr-standings__pts {
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; color: var(--fr-text);
}

/* ========== CALENDAR (races) ========== */
.fr-races { display: flex; flex-direction: column; gap: 8px; }
.fr-race {
  display: grid; grid-template-columns: 28px 1fr auto auto;
  align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 3px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.fr-race:hover { border-color: rgba(255,204,0,0.15); background: rgba(255,204,0,0.02); }
.fr-race.is-live { background: rgba(133,220,247,0.04); border-color: rgba(133,220,247,0.2); }
.fr-race__r {
  font-family: var(--font-ui); font-size: 9px;
  color: var(--fr-muted); letter-spacing: 0.1em;
}
.fr-race__gp {
  font-family: var(--font-ui); font-size: 12px;
  color: var(--fr-white); letter-spacing: 0.04em;
}
.fr-race__circuit {
  font-family: var(--font-ui); font-size: 10px;
  color: var(--fr-muted); margin-top: 1px;
}
.fr-race__date {
  font-family: var(--font-ui); font-size: 10px;
  color: var(--fr-muted); letter-spacing: 0.08em; white-space: nowrap;
}

/* ========== MOTOGP SECTION ========== */
.fr-motogp {
  background: linear-gradient(180deg, var(--fr-blue-900) 0%, #100508 100%);
  padding: 80px 80px 100px;
}
.fr-motogp__kicker {
  font-family: var(--font-ui); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: rgba(201,9,9,0.7); margin-bottom: 14px;
}
.fr-motogp__logo { height: 40px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 20px; opacity: 0.9; }
.fr-motogp__intro {
  font-family: var(--font-ui); font-size: 14px;
  color: var(--fr-text); line-height: 1.7; letter-spacing: 0.03em;
  max-width: 440px;
}
.fr-motogp__divider { height: 1px; background: rgba(201,9,9,0.15); margin-bottom: 40px; }
.fr-motogp__teaser {
  background: rgba(201,9,9,0.05); border: 1px solid rgba(201,9,9,0.12);
  border-radius: 4px; padding: 28px 32px;
}
.fr-motogp__teaser-label {
  font-family: var(--font-mgp-ui); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: rgba(201,9,9,0.6); margin-bottom: 12px;
}
.fr-motogp__teaser-title {
  font-family: var(--font-mgp-display); font-style: oblique; font-weight: 800;
  font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--fr-white); margin-bottom: 4px;
}
.fr-motogp__teaser-sub {
  font-family: var(--font-mgp-ui); font-size: 12px;
  color: var(--fr-muted); margin-bottom: 20px; letter-spacing: 0.04em;
}
.fr-motogp__riders { display: flex; gap: 20px; }
.fr-motogp__rider-pos {
  font-family: var(--font-mgp-display); font-style: oblique;
  font-size: 20px; font-weight: 800; line-height: 1;
}
.fr-motogp__rider-name {
  font-family: var(--font-mgp-ui); font-size: 10px;
  color: var(--fr-muted); margin-top: 4px; letter-spacing: 0.04em;
}

/* ========== FOOTER ========== */
.fr-footer {
  padding: 40px 80px; background: var(--bg-surface);
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.fr-footer__copy {
  font-family: var(--font-ui); font-size: 10px;
  color: var(--fr-muted); letter-spacing: 0.1em;
}
.fr-footer__links { display: flex; gap: 20px; }
.fr-footer__links a {
  font-family: var(--font-ui); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fr-muted); transition: color var(--t-fast);
}
.fr-footer__links a:hover { color: var(--fr-text); }

/* ========== JOIN PAGE ========== */
.fr-join {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 100px 40px 60px; background: var(--bg-base);
}
.fr-join__inner { max-width: 560px; width: 100%; }
.fr-join__title {
  font-family: var(--font-display); font-style: italic; font-size: 40px;
  font-weight: 900; color: var(--fr-white); line-height: 1; margin-bottom: 20px;
}
.fr-join__title .yellow { color: var(--fr-yellow); }
.fr-join__intro {
  font-family: var(--font-ui); font-size: 14px;
  color: var(--fr-muted); line-height: 1.8; letter-spacing: 0.03em;
  margin-bottom: 40px;
}
.fr-step {
  display: flex; gap: 20px; margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fr-step__num {
  font-family: var(--font-display); font-style: italic; font-size: 24px; font-weight: 900;
  color: rgba(255,204,0,0.15); line-height: 1; flex-shrink: 0; width: 36px;
}
.fr-step__title {
  font-family: var(--font-display); font-style: italic; font-size: 16px; font-weight: 900;
  text-transform: uppercase; color: var(--fr-white); margin-bottom: 6px;
}
.fr-step__body {
  font-family: var(--font-ui); font-size: 12px;
  color: var(--fr-muted); line-height: 1.6; letter-spacing: 0.03em;
}

/* ========== LOGIN PAGE ========== */
.fr-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.fr-login__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.2) saturate(1.1);
}
.fr-login__overlay { position: absolute; inset: 0; background: rgba(5,14,21,0.7); }
.fr-login__inner { position: relative; z-index: 1; width: 360px; padding: 0 20px; }
.fr-login__head { text-align: center; margin-bottom: 32px; }
.fr-login__head img { height: 48px; margin: 0 auto 14px; }
.fr-login__brand {
  font-family: var(--font-display); font-style: italic; font-size: 20px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--fr-white);
}
.fr-login__brand .yellow { color: var(--fr-yellow); }
.fr-login__sub {
  font-family: var(--font-ui); font-size: 10px;
  color: var(--fr-muted); margin-top: 8px; letter-spacing: 0.1em; text-transform: uppercase;
}
.fr-login__card {
  background: rgba(9,24,37,0.9); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px; padding: 28px;
  backdrop-filter: blur(20px);
}
.fr-login__text {
  font-family: var(--font-ui); font-size: 12px;
  color: var(--fr-muted); text-align: center; line-height: 1.7;
  letter-spacing: 0.03em; margin-bottom: 22px;
}
.fr-login__notice {
  text-align: center; margin-top: 16px;
  font-family: var(--font-ui); font-size: 9px;
  color: rgba(74,85,104,0.7); letter-spacing: 0.06em; line-height: 1.6;
}

/* ========== KPI cards ========== */
.fr-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.fr-kpi {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 3px; padding: 14px 16px;
}
.fr-kpi__label {
  font-family: var(--font-ui); font-size: 8px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--fr-blue-500); margin-bottom: 8px;
}
.fr-kpi__value {
  font-family: var(--font-display); font-style: italic;
  font-size: 26px; font-weight: 900; line-height: 1;
}
.fr-kpi__value.yellow { color: var(--fr-yellow); }
.fr-kpi__value.cyan { color: var(--fr-blue-200); }
.fr-kpi__value.green { color: #4CAF81; }
.fr-kpi__value.text { color: var(--fr-text); }

/* ========== Empty / error states ========== */
.fr-empty {
  font-family: var(--font-ui); font-size: 12px;
  color: var(--fr-muted); padding: 24px; text-align: center;
  border: 1px dashed rgba(255,255,255,0.05); border-radius: 3px;
}

/* ========== STATS (saison en chiffres) ========== */
.fr-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 24px 0 32px;
}
.fr-stats__cell {
  border-left: 2px solid var(--fr-yellow);
  padding-left: 20px;
}
.fr-stats__num {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 64px; color: var(--fr-yellow); line-height: 1;
}
.fr-stats__num--text {
  font-size: 28px; color: var(--fr-white); line-height: 1.1;
}
.fr-stats__label {
  font-family: var(--font-ui); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--fr-muted); margin-top: 12px;
}
.fr-stats__bar {
  position: relative; height: 4px; background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden; margin-top: 32px;
}
.fr-stats__bar-fill {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--fr-yellow), var(--fr-yellow-amber));
  box-shadow: 0 0 12px var(--fr-yellow-glow);
  transition: width 600ms cubic-bezier(0.25,0.46,0.45,0.94);
}
.fr-stats__bar-label {
  position: absolute; top: 14px; left: 0;
  font-family: var(--font-ui); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--fr-muted);
}

/* ========== TEAMS GRID ========== */
.fr-teams__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.fr-team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 3px; padding: 18px 16px;
  transition: border-color var(--t-fast), transform var(--t-fast);
  display: flex; flex-direction: column; min-height: 180px;
}
.fr-team-card:hover {
  border-color: var(--border-yellow);
  transform: translateY(-2px);
}
.fr-team-card__rank {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 24px; color: var(--fr-yellow); line-height: 1;
}
.fr-team-card__name {
  font-family: var(--font-ui); font-size: 14px; font-weight: 700;
  color: var(--fr-white); letter-spacing: 0.04em;
  text-transform: uppercase; margin: 14px 0 8px;
}
.fr-team-card__blurb {
  font-family: var(--font-ui); font-size: 11px;
  color: var(--fr-muted); line-height: 1.5; flex: 1;
}
.fr-team-card__points {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.fr-team-card__points-num {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 20px; color: var(--fr-white);
}
.fr-team-card__points-label {
  font-family: var(--font-ui); font-size: 9px;
  color: var(--fr-muted); margin-left: 6px; letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ========== NEWSLETTER ========== */
.fr-news {
  background: linear-gradient(180deg, rgba(255,204,0,0.04), transparent);
  border-top: 1px solid var(--border-yellow);
  border-bottom: 1px solid var(--border-yellow);
}
.fr-news__inner { max-width: 640px; margin: 0 auto; }
.fr-news__title {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 36px; color: var(--fr-white); line-height: 1.1; margin-bottom: 14px;
}
.fr-news__intro {
  font-family: var(--font-ui); font-size: 14px;
  color: var(--fr-text); line-height: 1.7;
  letter-spacing: 0.03em; margin-bottom: 24px;
}
.fr-news__form { display: flex; gap: 8px; flex-wrap: wrap; }
.fr-news__input {
  flex: 1 1 280px;
  background: var(--bg-surface); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px; padding: 14px 18px; color: var(--fr-white);
  font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.04em;
  transition: border-color var(--t-fast);
}
.fr-news__input:focus {
  outline: none; border-color: var(--fr-yellow);
  box-shadow: 0 0 0 3px var(--fr-yellow-subtle);
}

/* ========== ABOUT TIMELINE ========== */
.fr-about__intro {
  font-family: var(--font-ui); font-size: 16px;
  color: var(--fr-text); line-height: 1.7; max-width: 640px;
  margin-bottom: 56px; letter-spacing: 0.02em;
}
.fr-timeline {
  position: relative; padding-left: 32px;
}
.fr-timeline::before {
  content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--fr-yellow), transparent);
}
.fr-timeline__step {
  position: relative; display: grid; grid-template-columns: 100px 1fr;
  gap: 32px; padding: 20px 0;
}
.fr-timeline__step::before {
  content: ''; position: absolute; left: -32px; top: 30px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--fr-yellow); box-shadow: var(--glow-yellow-sm);
}
.fr-timeline__year {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 24px; color: var(--fr-yellow); line-height: 1;
}
.fr-timeline__title {
  font-family: var(--font-ui); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fr-white); margin-bottom: 8px;
}
.fr-timeline__body {
  font-family: var(--font-ui); font-size: 13px;
  color: var(--fr-muted); line-height: 1.7;
}

/* ========== WEEKEND WIDGET ========== */
.fr-weekend {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  background: var(--bg-elevated);
  border: 1px solid var(--border-yellow);
  border-radius: 4px; padding: 18px 20px; max-width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: fadeUp 400ms cubic-bezier(0.25,0.46,0.45,0.94) both;
  animation-delay: 800ms;
}
.fr-weekend__label {
  font-family: var(--font-ui); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--fr-yellow); margin-bottom: 6px;
}
.fr-weekend__name {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 18px; color: var(--fr-white); line-height: 1.1; margin-bottom: 4px;
}
.fr-weekend__date {
  font-family: var(--font-ui); font-size: 11px;
  color: var(--fr-muted); letter-spacing: 0.05em;
}

/* ========== COOKIE BANNER ========== */
.fr-cookies {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(5,14,21,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-yellow);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.fr-cookies__text {
  font-family: var(--font-ui); font-size: 12px;
  color: var(--fr-text); line-height: 1.5;
  flex: 1 1 320px;
}
.fr-cookies__text a { color: var(--fr-yellow); text-decoration: underline; }
.fr-cookies__actions { display: flex; gap: 8px; }

/* ========== STALE DATA WARNING (admin) ========== */
.fr-stale {
  background: rgba(255,204,0,0.1);
  border-bottom: 1px solid var(--fr-yellow);
  padding: 8px 24px;
  font-family: var(--font-ui); font-size: 11px;
  color: var(--fr-yellow); letter-spacing: 0.04em;
  text-align: center;
}
.fr-stale a { color: var(--fr-white); text-decoration: underline; }

/* ========== LIVE BANNER CTA ========== */
.fr-live-banner__cta {
  font-family: var(--font-ui); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--fr-white); padding: 4px 10px;
  border: 1px solid var(--fr-blue-200); border-radius: 2px;
  margin-left: 8px;
  transition: background var(--t-fast);
}
.fr-live-banner__cta:hover { background: rgba(133,220,247,0.15); }

/* ========== HERO STREAM EMBED ========== */
.fr-hero__stream {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  width: 480px; aspect-ratio: 16/9;
  border: 1px solid var(--border-yellow); border-radius: 4px;
  overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,0.7);
  z-index: 1;
}
.fr-hero__stream iframe {
  width: 100%; height: 100%; display: block; border: 0;
}

/* ========== FOOTER (multicol) ========== */
.fr-footer {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 80px !important;
  align-items: flex-start !important;
}
.fr-footer__col { display: flex; flex-direction: column; gap: 8px; }
.fr-footer__col--brand { gap: 16px; }
.fr-footer__heading {
  font-family: var(--font-ui); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--fr-yellow); margin-bottom: 8px;
}
.fr-footer__col a {
  font-family: var(--font-ui); font-size: 12px;
  color: var(--fr-text); letter-spacing: 0.04em;
  transition: color var(--t-fast); padding: 2px 0;
}
.fr-footer__col a:hover { color: var(--fr-white); }

/* ========== STARS ========== */
.fr-stars { display: inline-flex; gap: 2px; }
.fr-stars__s {
  font-size: 16px; color: rgba(255,255,255,0.15);
  transition: color var(--t-fast);
}
.fr-stars__s.is-filled { color: var(--fr-yellow); text-shadow: 0 0 8px rgba(255,204,0,0.4); }

/* ========== REVIEWS ========== */
.fr-reviews__agg {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  font-family: var(--font-ui); font-size: 12px; color: var(--fr-text);
  letter-spacing: 0.04em;
}
.fr-reviews__agg-num {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 18px; color: var(--fr-white);
}
.fr-reviews__agg-count { color: var(--fr-muted); font-size: 11px; }
.fr-reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.fr-review {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color var(--t-fast);
}
.fr-review:hover { border-color: var(--border-yellow); }
.fr-review__quote {
  font-family: var(--font-ui); font-size: 13px;
  color: var(--fr-text); line-height: 1.7; flex: 1;
  position: relative; padding-left: 18px;
}
.fr-review__quote::before {
  content: '"'; position: absolute; left: 0; top: -8px;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 32px; color: var(--fr-yellow); line-height: 1;
}
.fr-review__quote p { margin: 0 0 8px; }
.fr-review__quote p:last-child { margin: 0; }
.fr-review__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border-subtle);
}
.fr-review__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: var(--bg-elevated);
}
.fr-review__avatar--initial {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 16px; color: var(--fr-yellow);
  border: 1px solid var(--border-yellow);
}
.fr-review__name {
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  color: var(--fr-white); letter-spacing: 0.04em;
}
.fr-review__role {
  font-family: var(--font-ui); font-size: 10px;
  color: var(--fr-muted); margin-top: 3px; letter-spacing: 0.06em;
}

/* ========== FAQ ========== */
.fr-faq { display: flex; flex-direction: column; gap: 8px; }
.fr-faq__item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 3px; overflow: hidden;
  transition: border-color var(--t-fast);
}
.fr-faq__item[open] { border-color: var(--border-yellow); }
.fr-faq__q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-ui); font-size: 14px;
  color: var(--fr-white); letter-spacing: 0.04em;
  user-select: none;
}
.fr-faq__q::-webkit-details-marker { display: none; }
.fr-faq__q:hover { background: rgba(255,255,255,0.02); }
.fr-faq__icon {
  font-family: var(--font-display); font-style: italic;
  font-size: 22px; color: var(--fr-yellow); line-height: 1;
  margin-left: 16px; transition: transform var(--t-fast);
}
.fr-faq__item[open] .fr-faq__icon { transform: rotate(45deg); }
.fr-faq__a {
  padding: 0 22px 22px;
  font-family: var(--font-ui); font-size: 13px;
  color: var(--fr-text); line-height: 1.7;
}
.fr-faq__a p { margin: 0 0 8px; }

/* ========== BLOG (cards) ========== */
.fr-blog__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.fr-post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px; overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-fast);
  display: flex;
}
.fr-post-card:hover { border-color: var(--border-yellow); transform: translateY(-2px); }
.fr-post-card__link { display: flex; flex-direction: column; width: 100%; }
.fr-post-card__media {
  aspect-ratio: 16/9; overflow: hidden; background: var(--bg-elevated);
}
.fr-post-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-med);
}
.fr-post-card:hover .fr-post-card__media img { transform: scale(1.04); }
.fr-post-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.fr-post-card__meta {
  font-family: var(--font-ui); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--fr-blue-500); margin-bottom: 12px;
}
.fr-post-card__title {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 18px; color: var(--fr-white); line-height: 1.2;
  margin-bottom: 10px; letter-spacing: 0.02em;
}
.fr-post-card__excerpt {
  font-family: var(--font-ui); font-size: 12px;
  color: var(--fr-muted); line-height: 1.6; flex: 1;
}
.fr-post-card__more {
  font-family: var(--font-ui); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--fr-yellow); margin-top: 16px;
}

/* ========== PAGINATION ========== */
.fr-pagination {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-top: 48px;
}
.fr-pagination .page-numbers {
  font-family: var(--font-ui); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fr-muted); padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle); border-radius: 2px;
  transition: all var(--t-fast);
}
.fr-pagination .page-numbers:hover { color: var(--fr-white); border-color: var(--border-yellow); }
.fr-pagination .page-numbers.current {
  color: var(--bg-base); background: var(--fr-yellow); border-color: var(--fr-yellow);
}

/* ========== LONGREAD (single post + reglement) ========== */
.fr-longread { max-width: 800px; margin: 0 auto; }
.fr-longread__body {
  font-family: var(--font-ui); font-size: 16px;
  color: var(--fr-text); line-height: 1.8; letter-spacing: 0.01em;
}
.fr-longread__body p { margin: 0 0 24px; }
.fr-longread__body h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 28px; color: var(--fr-white);
  margin: 48px 0 16px; letter-spacing: 0.03em;
}
.fr-longread__body h3 {
  font-family: var(--font-ui); font-size: 18px; font-weight: 700;
  color: var(--fr-white); text-transform: uppercase; letter-spacing: 0.08em;
  margin: 32px 0 12px;
}
.fr-longread__body a { color: var(--fr-yellow); text-decoration: underline; text-underline-offset: 3px; }
.fr-longread__body a:hover { color: var(--fr-yellow-amber); }
.fr-longread__body ul, .fr-longread__body ol { margin: 0 0 24px 24px; }
.fr-longread__body li { margin-bottom: 8px; }
.fr-longread__body blockquote {
  border-left: 3px solid var(--fr-yellow);
  padding: 4px 0 4px 20px; margin: 24px 0;
  color: var(--fr-white); font-style: italic;
}
.fr-longread__body code {
  background: var(--bg-elevated); padding: 2px 6px; border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px; color: var(--fr-yellow);
}
.fr-longread__body img { border-radius: 4px; margin: 24px 0; }
.fr-longread__footer {
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}
.fr-longread__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.fr-longread__nav {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-ui); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.fr-longread__nav a { color: var(--fr-muted); transition: color var(--t-fast); }
.fr-longread__nav a:hover { color: var(--fr-white); }

/* ========== PALMARÈS ========== */
.fr-palmares { display: flex; flex-direction: column; gap: 8px; }
.fr-palmares__row {
  display: grid; grid-template-columns: 100px 1fr 1fr; gap: 24px;
  align-items: center; padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  transition: border-color var(--t-fast);
}
.fr-palmares__row:hover { border-color: var(--border-yellow); }
.fr-palmares__year {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 28px; color: var(--fr-yellow);
}
.fr-palmares__label {
  font-family: var(--font-ui); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--fr-blue-500); margin-bottom: 4px;
}
.fr-palmares__value {
  font-family: var(--font-ui); font-size: 14px;
  color: var(--fr-white); letter-spacing: 0.04em;
}

/* ========== COMPOSER (front-page utilisateur, template-composer) ========== */
.fr-composer { display: flex; flex-direction: column; }
/* Espace minimal entre blocs insérés via patterns/shortcodes */
.fr-composer > * { margin: 0; }
.fr-composer > .fr-section + .fr-section { border-top: 1px solid rgba(255,255,255,0.04); }
.fr-composer .wp-block-shortcode { margin: 0 !important; }

/* Blocs Gutenberg natifs dans le composer — héritent du style FlashRace */
.fr-composer .wp-block-heading,
.fr-composer h1, .fr-composer h2, .fr-composer h3 {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  color: var(--fr-white); padding: 0 80px;
}
.fr-composer .wp-block-paragraph,
.fr-composer p {
  font-family: var(--font-ui); color: var(--fr-text);
  line-height: 1.7; padding: 0 80px;
}
@media (max-width: 960px) {
  .fr-composer .wp-block-heading,
  .fr-composer h1, .fr-composer h2, .fr-composer h3,
  .fr-composer .wp-block-paragraph,
  .fr-composer p { padding: 0 24px; }
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .fr-section, .fr-motogp { padding: 60px 24px; }
  .fr-rule { margin: 0 24px; }
  .fr-hero { padding: 0 24px 60px; }
  .fr-hero__wordmark { font-size: 64px; }
  .fr-hero__bolt { right: -80px; height: 320px; width: 320px; }
  .fr-hero__live { bottom: 40px; right: 24px; }
  .fr-grid-2 { grid-template-columns: 1fr; }
  .fr-section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fr-section-title { font-size: 28px; }
  .fr-nav { padding: 0 20px; }
  .fr-nav-links { margin-left: 16px; }
  .fr-nav-link { padding: 0 10px; font-size: 10px; }
  .fr-footer { padding: 28px 24px; }
  .fr-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .fr-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .fr-stats__num { font-size: 48px; }
  .fr-teams__grid { grid-template-columns: repeat(2, 1fr); }
  .fr-reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .fr-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .fr-palmares__row { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; }
  .fr-footer { grid-template-columns: 1fr 1fr !important; padding: 40px 24px !important; }
  .fr-hero__stream { display: none; }
  .fr-weekend { bottom: 16px; right: 16px; max-width: 220px; padding: 14px 16px; }
  .fr-timeline__step { grid-template-columns: 1fr; gap: 8px; }
  .fr-timeline__step::before { top: 8px; }
}
@media (max-width: 760px) {
  .fr-nav-toggle { display: flex; }
  .fr-nav-links { display: none; }
  .fr-nav-actions { display: none; }
  .fr-cookies { flex-direction: column; align-items: stretch; padding: 14px 18px; }
  .fr-cookies__actions { justify-content: flex-end; }
  .fr-news__title { font-size: 28px; }
  .fr-footer { grid-template-columns: 1fr !important; }
  .fr-reviews__grid { grid-template-columns: 1fr; }
  .fr-blog__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fr-hero__wordmark { font-size: 48px; }
  .fr-section-title { font-size: 24px; }
  .fr-hero__tagline { font-size: 16px; }
  .fr-live-banner { font-size: 9px; }
}
