/* LFA COD — feuille de style commune (site + admin) */

:root {
  --bg: #f6f5f1;
  --bg-2: #eeece5;
  --surface: #ffffff;
  --ink: #16191b;
  --ink-2: #3a3f43;
  --muted: #6e7275;
  --line: #e5e2da;
  --gold: #b8892f;
  --gold-2: #9c7224;
  --gold-soft: #efe6d3;
  --dark: #1d2224;
  --dark-2: #272d30;
  --green: #2f8a57;
  --green-soft: #e3f1e8;
  --red: #c8412f;
  --red-soft: #f8e4e0;
  --blue: #2a4fa3;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(22, 25, 27, 0.04), 0 8px 24px -16px rgba(22, 25, 27, 0.18);
  --wrap: 1180px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(var(--wrap), 100% - 64px); } }

/* --------------------------------------------------------------- Typo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.h-xl, .h-lg, .h-md { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h-xl { font-size: clamp(40px, 6.4vw, 76px); }
.h-lg { font-size: clamp(30px, 4vw, 44px); }
.h-md { font-size: 22px; letter-spacing: -0.02em; }
.dot-gold { color: var(--gold); }
.muted { color: var(--muted); }
.section { padding: 64px 0 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .eyebrow { margin-bottom: 10px; }

/* --------------------------------------------------------------- Header */
.tricolor { height: 4px; background: linear-gradient(90deg, var(--blue) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { width: 58px; height: 64px; object-fit: contain; }
.brand-name { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.brand-name b { color: var(--gold); font-weight: 800; }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 7px; color: var(--ink-2); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a.link {
  position: relative; padding: 30px 11px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  transition: color .15s;
}
.nav a.link:hover { color: var(--gold-2); }
.nav a.link.active::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 2px; background: var(--gold);
}
.live-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-left: 10px;
  padding: 12px 16px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14.5px; font-weight: 600; border-radius: var(--radius); white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.live-btn:hover { border-color: var(--gold); }
.live-btn.active { border-color: var(--ink); }
.led { width: 8px; height: 8px; border-radius: 50%; background: #9aa0a3; flex-shrink: 0; }
.led.on { background: #e5372a; box-shadow: 0 0 0 0 rgba(229, 55, 42, .6); animation: blink 1.1s ease-in-out infinite, ring 1.6s ease-out infinite; }
.led.idle { background: var(--green); }
@keyframes blink { 50% { opacity: .25; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(229, 55, 42, .55); } 100% { box-shadow: 0 0 0 8px rgba(229, 55, 42, 0); } }
.live-btn .live-tag { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #fff; background: #e5372a; padding: 2px 6px; border-radius: 2px; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 88px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .18s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a.link { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a.link.active::after { display: none; }
  .nav a.link.active { color: var(--gold-2); }
  .live-btn { margin: 14px 0 0; justify-content: center; }
  .brand-name { font-size: 24px; }
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 17px 26px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; transition: .15s;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: transparent; padding-inline: 8px; }
.btn.ghost:hover { color: var(--gold-2); transform: none; }
.btn.line { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.line:hover { border-color: var(--ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: var(--gold-2); }
.btn.sm { padding: 10px 16px; font-size: 13.5px; }

/* --------------------------------------------------------------- Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.hero h1 { text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 17px; color: var(--ink-2); max-width: 520px; margin: 30px 0 34px; line-height: 1.7; }
.hero .ctas { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-logo-wrap { justify-self: center; width: min(480px, 100%); perspective: 900px; animation: float 7s ease-in-out infinite; }
.hero-logo {
  width: 100%; aspect-ratio: 1;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s ease-out;
  animation: logoIn 1.3s cubic-bezier(.2, .8, .2, 1) both .15s;
}
@keyframes logoIn { from { opacity: 0; scale: .78; rotate: -10deg; } }
@keyframes float { 50% { transform: translateY(-10px); } }
.values { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 42px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.values span + span::before { content: '·'; color: var(--gold); margin-right: 30px; }
.flag { width: 16px; height: 11px; background: linear-gradient(90deg, var(--blue) 33%, #fff 33% 66%, var(--red) 66%); box-shadow: 0 0 0 1px var(--line); }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-logo-wrap { order: -1; width: 220px; }
}

.season-bar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-2);
}
.season-bar b { color: var(--ink); }
.season-bar .star { color: var(--gold); }
.season-bar .sep { color: var(--line); }
.season-bar .right { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; }

/* --------------------------------------------------------------- Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 30px; border-bottom: 1px solid var(--line); }
.card-head h3 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.chip { font-size: 12px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); white-space: nowrap; }

.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
@media (max-width: 1140px) { .grid-main { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Badge */
.badge {
  --c: var(--muted);
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 42px; height: 46px; font-size: 13px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff);
  clip-path: polygon(50% 0, 100% 20%, 100% 76%, 50% 100%, 0 76%, 0 20%);
}
.badge img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.badge.lg { width: 64px; height: 70px; font-size: 18px; }
.badge.xl { width: 104px; height: 114px; font-size: 30px; }
.badge.dark { background: color-mix(in srgb, var(--c) 30%, #2a3034); color: color-mix(in srgb, var(--c) 45%, #fff); }
/* Logos d'équipes : affichés tels quels, sans le cadre hexagonal */
.badge.has-logo { clip-path: none; background: transparent; width: 46px; height: 46px; }
.badge.has-logo img { padding: 0; }
.badge.has-logo.on-dark { background: #1d2224; border-radius: 6px; }
.badge.has-logo.on-dark img { padding: 5px; }
.badge.has-logo.lg { width: 68px; height: 68px; }
.badge.has-logo.xl { width: 120px; height: 120px; }
.badge.has-logo.dark { background: rgba(255, 255, 255, .06); border-radius: 8px; }
.badge.has-logo.dark img { padding: 6px; }

/* Logo LFA : PNG transparent recadré sur le blason */
img.logo, .hero-logo { object-fit: contain; }
.brand img.logo { width: 58px; height: 64px; }

/* --------------------------------------------------------------- Table */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 620px; }
.tbl th {
  font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  text-align: center; padding: 16px 10px; background: #fbfaf8; border-bottom: 1px solid var(--line);
}
.tbl th.l, .tbl td.l { text-align: left; }
.tbl td { padding: 0 10px; height: 76px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover { background: #fcfbf8; }
.tbl tr.first { background: linear-gradient(90deg, var(--gold-soft), #fff 40%); box-shadow: inset 3px 0 0 var(--gold); }
.tbl td.rank { width: 64px; color: var(--muted); font-size: 14px; }
.tbl tr.first td.rank { color: var(--gold); font-weight: 700; }
.tbl td.pts { font-weight: 800; font-size: 18px; }
.team-cell { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 15.5px; }
.team-cell a:hover { color: var(--gold-2); }
.form { display: inline-flex; gap: 5px; }
.form i { font-style: normal; width: 20px; height: 20px; display: grid; place-items: center; font-size: 10px; font-weight: 700; border-radius: 2px; }
.form i.v { background: var(--green-soft); color: var(--green); }
.form i.d { background: var(--red-soft); color: var(--red); }
.tbl-foot { display: flex; justify-content: space-between; gap: 12px; padding: 18px 30px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tbl-foot .sq::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--gold); margin-right: 10px; }
.pos { color: var(--green); } .neg { color: var(--red); }

/* --------------------------------------------------------------- Live card */
.live-card {
  position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: var(--radius); padding: 26px 28px;
}
.live-card::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .06);
}
.live-card .top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.live-card .top .state { display: inline-flex; align-items: center; gap: 10px; }
.live-card .vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 26px 0 22px; text-align: center; }
.live-card .side { display: grid; justify-items: center; gap: 12px; font-weight: 700; font-size: 14px; }
.live-card .score { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.live-card .score span { color: var(--gold); margin: 0 6px; }
.live-card .sub { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #9aa3a6; margin-top: 12px; }
.live-card .foot { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; text-align: center; font-size: 13.5px; color: #c7cdcf; }
.live-card .foot a { color: #fff; font-weight: 600; }
.live-card .foot a:hover { color: var(--gold); }

/* --------------------------------------------------------------- Matches */
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.tabs button {
  background: none; border: 0; padding: 12px 0; font-size: 14px; color: var(--ink-2); position: relative;
}
.tabs button.on { color: var(--gold-2); font-weight: 600; }
.tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }
.tabs .count { font-size: 11px; color: var(--muted); margin-left: 6px; }

.mini-list .row { padding: 16px 28px; border-bottom: 1px solid var(--line); }
.mini-list .row:last-child { border-bottom: 0; }
.mini-list .meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.mini-list .meta span:last-child { text-transform: none; }
.mini-list .teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; margin-top: 8px; font-size: 15px; }
.mini-list .teams span:last-child { text-align: right; }
.mini-list .teams b { color: var(--gold); font-size: 13px; font-weight: 700; }
.empty { padding: 32px 28px; color: var(--muted); font-size: 14px; }

.match-list { display: grid; gap: 10px; }
.match {
  display: grid; grid-template-columns: 170px 1fr 120px 1fr; align-items: center; gap: 16px;
  padding: 18px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.match .when { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.match .when b { display: block; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.match .t { display: flex; align-items: center; gap: 12px; font-weight: 700; min-width: 0; }
.match .t.b { flex-direction: row-reverse; text-align: right; }
.match .t .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match .t.win .nm::after { content: ' ●'; color: var(--gold); font-size: 9px; vertical-align: middle; }
.match .t.lose { color: var(--muted); }
.match .mid { text-align: center; font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.match .mid .vs { font-size: 14px; color: var(--gold); letter-spacing: .1em; }
.match .mid small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; color: #e5372a; }
.match.live { border-color: #e5372a33; box-shadow: inset 3px 0 0 #e5372a; }
.week-title { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.week-title span { color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: none; }
@media (max-width: 760px) {
  .match { grid-template-columns: 1fr auto 1fr; padding: 14px 16px; }
  .match .when { grid-column: 1 / -1; display: flex; gap: 8px; }
  .match .when b { display: inline; }
  .match .t .nm { font-size: 14px; }
  .match .t { gap: 8px; }
  .match .badge { width: 34px; height: 38px; font-size: 11px; }
}

/* --------------------------------------------------------------- Teams */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  display: flex; align-items: center; gap: 18px; padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); transition: .15s; position: relative;
}
.team-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.team-card h4 { margin: 0; font-size: 16px; letter-spacing: -0.01em; }
.team-card p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.team-card .arrow { margin-left: auto; color: var(--muted); }

.team-hero { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 56px 0 36px; }
.team-hero .stats { display: flex; gap: 36px; margin-left: auto; flex-wrap: wrap; }
.kpi .n { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi .l { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.back { display: inline-flex; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: 32px; }
.back:hover { color: var(--ink); }

/* --------------------------------------------------------------- Stats */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); padding-bottom: 36px; }
.kpis .kpi { padding: 0 28px; border-left: 1px solid var(--line); }
.kpis .kpi:first-child { padding-left: 0; border-left: 0; }
.kpis .kpi .n { font-size: 38px; }
@media (max-width: 760px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .kpis .kpi:nth-child(3) { padding-left: 0; border-left: 0; }
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr; } }

.potw { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.potw .eyebrow { color: var(--gold); }
.potw .who { display: flex; align-items: center; gap: 20px; margin: 26px 0; }
.potw .who h3 { margin: 0; font-size: 30px; letter-spacing: -0.03em; }
.potw .who p { margin: 4px 0 0; color: #9aa3a6; font-size: 13px; }
.potw .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); }
.potw .nums div { background: var(--dark); padding: 16px; }
.potw .nums b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; }
.potw .nums div > span { font-size: 11.5px; color: #9aa3a6; }
.potw .mvp { margin-top: 20px; font-size: 13.5px; color: #c7cdcf; }
.potw .mvp b { color: var(--gold); }
.potw .crown { position: absolute; right: 20px; top: 8px; font-size: 120px; color: rgba(184, 137, 47, .1); line-height: 1; }

.bars { padding: 10px 30px 24px; }
.bar-row { display: grid; grid-template-columns: 22px 1fr 40px; gap: 14px; align-items: center; padding: 12px 0; }
.bar-row .r { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar-row .nm { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.bar-row .track { height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; }
.bar-row .fill { height: 100%; width: var(--w); background: var(--gold); border-radius: 3px; transition: width 1.1s cubic-bezier(.2, .8, .2, 1) .15s; }
.bar-row.rv:not(.in) .fill { width: 0; }
.bar-row:first-child .fill { background: var(--ink); }
.bar-row .v { text-align: right; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }

.player-cell { display: flex; align-items: center; gap: 12px; text-align: left; }
.player-cell b { display: block; font-size: 15px; }
.player-cell small { color: var(--muted); font-size: 12px; }
.kda { font-weight: 800; font-size: 17px; }
.medal { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 800; background: var(--bg-2); color: var(--ink-2); }
.medal.m1 { background: var(--gold); color: #fff; }
.medal.m2 { background: #b9bdc0; color: #fff; }
.medal.m3 { background: #b07a4f; color: #fff; }

/* --------------------------------------------------------------- Home tiles */
.tiles { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }
.tile { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; min-height: 100%; }
.tile .eyebrow { font-size: 11px; margin-bottom: 14px; }
.tile .big { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; gap: 14px; }
.tile p { margin: 0; color: var(--muted); font-size: 13.5px; }
.tile .more { margin-top: auto; padding-top: 18px; font-size: 13.5px; font-weight: 600; }
.tile .more:hover { color: var(--gold-2); }
.tile-link { display: block; transition: .15s; }
.tile-link:hover { border-color: var(--gold); }

/* --------------------------------------------------------------- Story / staff */
.story {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px;
  background: var(--bg-2); padding: 60px; border-radius: var(--radius);
}
.story .fleur { position: absolute; left: 34%; bottom: -40px; font-size: 200px; color: rgba(184, 137, 47, .1); line-height: 1; pointer-events: none; }
.story h2 em { font-style: normal; color: var(--gold); }
.story .text { color: var(--ink-2); line-height: 1.85; white-space: pre-line; }
.story .placeholder { padding: 20px 22px; border: 1px dashed #cfc9bb; color: var(--muted); font-size: 14px; }
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; margin-top: 30px; }
.values-list div { display: flex; gap: 18px; font-weight: 700; font-size: 14px; }
.values-list span { color: var(--gold); font-weight: 500; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; padding: 36px 24px; gap: 24px; } }

.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.staff-card { padding: 22px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); font-weight: 800; flex-shrink: 0; }
.avatar.photo { overflow: hidden; background: var(--line, #eee); }
.avatar.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.staff-card .avatar { width: 56px; height: 56px; }
.staff-card b { display: block; }
.staff-card small { color: var(--muted); }

/* --------------------------------------------------------------- Direct */
.player-frame { position: relative; aspect-ratio: 16 / 9; background: var(--dark); border-radius: var(--radius); overflow: hidden; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-frame .off { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #c7cdcf; padding: 24px; }
.player-frame .off h3 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 30px; font-size: 13px; font-weight: 600; }

/* --------------------------------------------------------------- Sponsors */
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .sponsor-grid { grid-template-columns: 1fr; } }
.sponsor {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;
  min-height: 260px; padding: 32px; transition: .15s;
}
a.sponsor:hover { border-color: var(--gold); transform: translateY(-2px); }
.sponsor img { max-height: 90px; max-width: 220px; object-fit: contain; }
.sponsor .ph { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.sponsor p { margin: 0; color: var(--muted); font-size: 13.5px; }
.sponsor.free { background: transparent; border-style: dashed; box-shadow: none; border-color: #d6d0c2; }
.sponsor.free .slot { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* --------------------------------------------------------------- Footer */
.site-footer { margin-top: 90px; background: var(--bg-2); border-top: 1px solid var(--line); padding: 44px 0 30px; }
.site-footer .top { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.soc {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 30px; font-size: 13px; font-weight: 600; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.soc:hover { border-color: var(--brand, var(--gold)); transform: translateY(-2px); box-shadow: 0 8px 20px -12px var(--brand, var(--gold)); }
.soc-ico { width: 18px; height: 18px; flex: none; color: var(--brand, var(--ink)); }
.soc.big { padding: 12px 20px 12px 14px; gap: 12px; border-radius: 16px; }
.soc.big .soc-ico { width: 26px; height: 26px; }
.soc-txt { display: flex; flex-direction: column; line-height: 1.2; }
.soc-txt small { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.soc-txt b { font-size: 15px; }
.follow { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.follow .socials { gap: 12px; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.site-footer .bottom a:hover { color: var(--ink); }

/* --------------------------------------------------------------- Misc */
select.select {
  appearance: none; padding: 12px 40px 12px 16px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2316191b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  border-radius: var(--radius); font-size: 14.5px; min-width: 200px;
}
.inline-field { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.fade-in { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------- Aperçu du direct (accueil) */
.live-banner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 28px;
  padding: 16px; border-radius: 22px; background: #16191b; color: #fff; border: 1px solid #e5372a66;
  box-shadow: 0 24px 50px -30px #e5372a; transition: transform .25s, box-shadow .25s;
}
.live-banner:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -28px #e5372a; }
.lb-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-tag {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px;
  border-radius: 6px; background: #e5372a; font-size: 12px; font-weight: 800; letter-spacing: .1em;
}
.lb-tag .led { background: #fff; }
.lb-play {
  position: absolute; inset: 50% auto auto 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: #0009; backdrop-filter: blur(4px); transition: transform .25s;
}
.lb-play::after { content: ''; position: absolute; left: 26px; top: 20px; border: 12px solid transparent; border-left: 18px solid #fff; border-right: 0; }
.live-banner:hover .lb-play { transform: scale(1.1); }
.lb-txt { padding: 8px 12px 8px 0; }
.lb-txt .eyebrow { color: #ff6b5e; }
.lb-txt h3 { margin: 12px 0 8px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; }
.lb-txt p { margin: 0 0 20px; color: #c7cdcf; }
.live-banner .btn { background: #e5372a; border-color: #e5372a; color: #fff; }
@media (max-width: 760px) {
  .live-banner { grid-template-columns: 1fr; gap: 16px; }
  .lb-txt { padding: 0 6px 6px; }
}

.more-row { display: flex; justify-content: center; padding-top: 18px; }
