:root {
  --red: #ed1c24;
  --red-dark: #bd0710;
  --ink: #171717;
  --muted: #686868;
  --paper: #ffffff;
  --soft: #f4f2ef;
  --line: #e6e2de;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: .7rem 1rem;
  color: #fff;
  background: #111;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .8rem clamp(1rem, 4vw, 4.5rem);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 1.85rem;
  line-height: 1;
}

.brand strong,
.brand small { display: block; }
.brand strong { font-size: .98rem; letter-spacing: .05em; text-transform: uppercase; }
.brand small { color: var(--muted); font-size: .78rem; }

.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  padding: .65rem .9rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active { color: #fff; background: var(--red); }

.menu-toggle {
  display: none;
  padding: .7rem 1rem;
  border: 0;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}

.hero {
  width: 100%;
  overflow: hidden;
  background: #eee;
  border-bottom: 10px solid var(--red);
}

.hero img {
  width: 100%;
  height: auto;
}

.sports-menu {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.section-heading { max-width: 740px; margin: 0 auto 2.5rem; text-align: center; }
.eyebrow {
  margin: 0 0 .4rem;
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-heading h1 {
  margin: 0;
  color: var(--red);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: .015em;
  line-height: 1;
  text-transform: uppercase;
}
.section-heading abbr { text-decoration-thickness: .08em; text-underline-offset: .1em; }
.section-heading > p:last-child { margin: 1rem 0 0; color: var(--muted); }

.sports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sport-card {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.6rem;
  color: #fff;
  background: var(--red);
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.sport-card::after {
  content: "♣";
  position: absolute;
  right: -1.1rem;
  top: -2.7rem;
  color: rgba(255,255,255,.15);
  font-size: 10rem;
  line-height: 1;
}
.sport-card:hover,
.sport-card:focus-visible { background: var(--red-dark); transform: translateY(-5px); }
.sport-number { position: absolute; left: 1.5rem; top: 1.2rem; font-weight: 800; opacity: .75; }
.sport-name {
  position: relative;
  z-index: 1;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}
.sport-link { position: relative; z-index: 1; margin-top: .85rem; font-size: .9rem; font-weight: 700; }

.heritage-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #fff;
  background: var(--ink);
}
.heritage-strip div {
  display: flex;
  min-height: 150px;
  align-items: center;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-right: 1px solid #3d3d3d;
}
.heritage-strip div:last-child { border-right: 0; }
.heritage-strip strong {
  color: var(--red);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}
.heritage-strip span { max-width: 180px; font-weight: 700; line-height: 1.35; }

.club-intro {
  max-width: var(--content);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 3vw, 2rem);
}
.club-intro h2,
.discipline-intro h2 {
  margin: 0 0 1rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}
.club-intro-copy > p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.club-quote {
  min-height: 290px;
  display: grid;
  place-content: center;
  padding: 2rem;
  color: #fff;
  background: var(--red);
  text-align: center;
  transform: rotate(2deg);
}
.club-quote span { font-size: 4rem; line-height: 1; }
.club-quote p { margin: .5rem 0 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; line-height: 1.05; text-transform: uppercase; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 4.5rem);
  color: #fff;
  background: var(--red);
}
.site-footer strong,
.site-footer span { display: block; }
.site-footer span { font-size: .85rem; opacity: .85; }
.site-footer a { font-weight: 800; }

.section-hero { position: relative; overflow: hidden; background: #111; border-bottom: 10px solid var(--red); }
.section-hero > img { width: 100%; height: auto; }
.section-title {
  position: absolute;
  left: clamp(1rem, 6vw, 6rem);
  bottom: clamp(1rem, 5vw, 4rem);
  max-width: 760px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.55));
}
.section-title p { margin: 0 0 .2rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-title h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 10vw, 8rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.section-title span { display: inline-block; margin-top: .75rem; padding: .35rem .7rem; background: var(--red); font-weight: 800; }

.discipline-intro {
  max-width: var(--content);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 3vw, 2rem);
}
.discipline-intro h2 { margin-bottom: 0; }
.discipline-intro > p { margin: 0 0 .35rem; color: var(--muted); font-size: 1.12rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.values-grid article { min-height: 260px; padding: clamp(2rem, 5vw, 4rem); background: var(--soft); }
.values-grid span { color: var(--red); font-size: .9rem; font-weight: 900; }
.values-grid h3 { margin: 2.5rem 0 .5rem; font-size: 1.5rem; text-transform: uppercase; }
.values-grid p { max-width: 330px; margin: 0; color: var(--muted); }

.section-switcher { display: grid; grid-template-columns: 1fr 1fr; }
.section-switcher a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-right: 1px solid rgba(255,255,255,.3);
  color: #fff;
  background: var(--red);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.section-switcher a:last-child { border-right: 0; }
.section-switcher a:hover,
.section-switcher a:focus-visible { background: var(--red-dark); }

/* Football — direction éditoriale et immersive */
.football-page {
  --football-red: #ed1c24;
  --football-dark: #101010;
  background: var(--football-dark);
}

.football-header {
  position: relative;
  z-index: 10;
  color: #fff;
  background: var(--football-dark);
  border-bottom-color: rgba(255,255,255,.14);
}
.football-header .brand small { color: rgba(255,255,255,.6); }
.football-header .site-nav a:hover,
.football-header .site-nav a:focus-visible,
.football-header .site-nav a.active { color: var(--football-dark); background: #fff; }

.football-hero {
  position: relative;
  min-height: clamp(540px, 72vw, 800px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #151515 url("banniere-football.jpg") center / cover no-repeat;
  isolation: isolate;
}
.football-hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -30px;
  background: inherit;
  filter: blur(20px) brightness(.45);
}
.football-hero-media { position: absolute; z-index: -2; inset: 0; display: grid; place-items: start center; }
.football-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.football-hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.35) 52%, rgba(10,10,10,.06) 76%),
    linear-gradient(0deg, rgba(10,10,10,.8) 0%, transparent 55%);
}
.football-hero-copy { width: min(100%, 1500px); padding: clamp(2rem, 6vw, 6rem); }
.football-kicker { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.football-kicker span { padding: .25rem .55rem; color: #fff; background: var(--football-red); }
.football-hero h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(5rem, 15vw, 13.5rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .76;
  text-transform: uppercase;
}
.football-claim { margin: 1.5rem 0 2rem; font-size: clamp(1.2rem, 2.4vw, 2.2rem); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.football-cta {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding: .85rem 1rem .85rem 1.25rem;
  color: var(--football-dark);
  background: #fff;
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.football-cta:hover,
.football-cta:focus-visible { color: #fff; background: var(--football-red); }
.football-side-note { position: absolute; right: 1.2rem; top: 50%; margin: 0; font-size: .65rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; transform: translate(42%, -50%) rotate(90deg); }

.football-ticker {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.25rem;
  overflow: hidden;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  color: #fff;
  background: var(--football-red);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.football-ticker i { font-size: 1.25rem; font-style: normal; }

.football-intro {
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(3rem, 10vw, 10rem);
  align-items: end;
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 10rem) clamp(1rem, 5vw, 5rem);
  color: #fff;
}
.football-intro-heading > p,
.football-label { margin: 0 0 1rem; color: var(--football-red); font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.football-intro h2,
.football-heritage h2,
.football-pillars h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.3rem, 8vw, 7.5rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: .88;
  text-transform: uppercase;
}
.football-intro-copy { padding-bottom: .4rem; color: rgba(255,255,255,.68); }
.football-intro-copy p { margin: 0; }
.football-intro-copy p + p { margin-top: 1.2rem; }
.football-intro-copy .football-lead { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.85rem); font-weight: 800; line-height: 1.25; }

.football-heritage {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 7rem);
  color: var(--football-dark);
  background: #fff;
}
.football-year {
  position: absolute;
  left: -1.5rem;
  top: 50%;
  color: #f0f0f0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(11rem, 33vw, 34rem);
  font-style: italic;
  line-height: .75;
  transform: translateY(-50%);
  white-space: nowrap;
}
.football-heritage-copy { position: relative; z-index: 1; grid-column: 2; max-width: 620px; }
.football-heritage-copy p:last-of-type { max-width: 540px; margin: 2rem 0 0; color: #5f5f5f; font-size: 1.05rem; }
.football-clover { position: absolute; right: -3rem; bottom: -6rem; color: var(--football-red); font-size: clamp(12rem, 27vw, 28rem); line-height: 1; opacity: .13; transform: rotate(-12deg); }

.football-pillars { padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem); color: #fff; background: var(--football-red); }
.football-pillars-head { max-width: 1400px; margin: 0 auto 3.5rem; }
.football-pillars .football-label { color: var(--football-dark); }
.football-pillars-grid { max-width: 1400px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.45); }
.football-pillars-grid article { min-height: 290px; padding: 2rem 2rem 1rem 0; border-right: 1px solid rgba(255,255,255,.45); }
.football-pillars-grid article + article { padding-left: 2rem; }
.football-pillars-grid article:last-child { border-right: 0; }
.football-pillars-grid span { font-size: .8rem; font-weight: 900; }
.football-pillars-grid h3 { margin: 4rem 0 .7rem; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; text-transform: uppercase; }
.football-pillars-grid p { max-width: 350px; margin: 0; color: rgba(255,255,255,.82); }

.football-manifesto { padding: clamp(4rem, 9vw, 8rem) 1rem; color: #fff; background: var(--football-dark); text-align: center; }
.football-manifesto p { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3.4rem, 10vw, 9rem); font-style: italic; font-weight: 900; letter-spacing: -.02em; line-height: .86; text-transform: uppercase; }
.football-manifesto .accent { color: var(--football-red); }

.football-switcher { display: grid; grid-template-columns: .65fr 1fr 1fr; color: #fff; background: #1c1c1c; border-top: 1px solid #3b3b3b; }
.football-switcher > p { margin: 0; padding: 2.5rem clamp(1rem, 4vw, 4rem); color: rgba(255,255,255,.5); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.football-switcher a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2.5rem clamp(1rem, 4vw, 4rem); border-left: 1px solid #3b3b3b; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 900; text-decoration: none; text-transform: uppercase; }
.football-switcher a:hover,
.football-switcher a:focus-visible { background: var(--football-red); }
.football-footer { background: #080808; border-top: 1px solid #222; }

@media (max-width: 900px) {
  .football-hero { min-height: 630px; }
  .football-hero-media img { object-position: 46% center; }
  .football-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .football-heritage { min-height: 580px; grid-template-columns: 1fr; }
  .football-heritage-copy { grid-column: 1; max-width: 600px; }
}

@media (max-width: 760px) {
  .football-header .site-nav { background: var(--football-dark); }
  .football-header .site-nav a { color: #fff; }
  .football-header .site-nav a.active { color: var(--football-dark); }
  .football-hero { min-height: 610px; }
  .football-hero-media img { object-position: 51% center; }
  .football-hero-shade { background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.35) 75%, rgba(10,10,10,.18) 100%); }
  .football-hero-copy { padding: 2rem 1rem 3rem; }
  .football-hero h1 { font-size: clamp(4.4rem, 23vw, 7rem); }
  .football-side-note { display: none; }
  .football-ticker { justify-content: flex-start; }
  .football-ticker span:nth-of-type(n+3),
  .football-ticker i:nth-of-type(n+3) { display: none; }
  .football-heritage { min-height: 540px; padding-inline: 1rem; }
  .football-year { left: -1rem; top: 23%; font-size: 45vw; }
  .football-heritage-copy { align-self: end; padding-bottom: 2rem; }
  .football-pillars-grid { grid-template-columns: 1fr; }
  .football-pillars-grid article,
  .football-pillars-grid article + article { min-height: 240px; padding: 2rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.45); }
  .football-pillars-grid article:last-child { border-bottom: 0; }
  .football-pillars-grid h3 { margin-top: 2.5rem; }
  .football-switcher { grid-template-columns: 1fr; }
  .football-switcher a { border-top: 1px solid #3b3b3b; border-left: 0; }
}

@media (max-width: 760px) {
  .site-header { position: relative; flex-wrap: wrap; gap: .75rem; }
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: .5rem; }
  .site-nav.open { display: flex; }
  .site-nav a { border-radius: .25rem; }
  .brand strong { font-size: .84rem; }
  .brand small { font-size: .72rem; }
  .sports-grid { grid-template-columns: 1fr; }
  .sport-card { min-height: 180px; }
  .heritage-strip { grid-template-columns: 1fr; }
  .heritage-strip div { min-height: 110px; border-right: 0; border-bottom: 1px solid #3d3d3d; }
  .club-intro,
  .discipline-intro { grid-template-columns: 1fr; }
  .club-quote { min-height: 230px; margin: 0 .5rem; }
  .section-title { position: static; padding: 1.5rem 1rem 2rem; filter: none; }
  .section-title p { font-size: .75rem; }
  .section-title h1 { font-size: clamp(3.4rem, 18vw, 5.2rem); }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article { min-height: auto; }
  .values-grid h3 { margin-top: 1.25rem; }
  .section-switcher { grid-template-columns: 1fr; }
  .section-switcher a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.3); }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

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

/* Football v2 — interface animée inspirée des grands sites de club */
.football-v2 {
  --football-red: #ed1c24;
  --football-dark: #0c0c0e;
  --football-cream: #f6f5f2;
  color: var(--football-dark);
  background: #efefef;
}

.football-topline {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .35rem clamp(1.25rem, 3vw, 3rem);
  color: #565656;
  background: #fff;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.football-topline strong { color: var(--football-red); font-size: .72rem; }

.football-v2 .football-header-v2 {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 76px;
  margin: 0 1.25rem;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
  color: #171717;
  background: rgba(255,255,255,.96);
  border: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
  transition: min-height .3s ease, box-shadow .3s ease;
}
.football-v2 .football-header-v2.is-scrolled { min-height: 64px; box-shadow: 0 12px 35px rgba(0,0,0,.16); }
.football-v2 .football-menu-button {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--football-red);
  border-radius: 0;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.football-v2 .football-menu-button:hover,
.football-v2 .football-menu-button:focus-visible { background: #b70810; }
.football-v2 .football-nav { margin-left: 1.2rem; gap: .15rem; }
.football-v2 .football-nav a {
  padding: .7rem .8rem;
  color: #181818;
  background: transparent;
  border-radius: 0;
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.football-v2 .football-nav a:hover,
.football-v2 .football-nav a:focus-visible { color: var(--football-red); background: transparent; }
.football-crest {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 84px;
  display: grid;
  place-content: center;
  color: #fff;
  background: var(--football-red);
  border: 5px solid #fff;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  text-align: center;
  text-decoration: none;
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.football-crest:hover,
.football-crest:focus-visible { transform: translate(-50%, -50%) scale(1.06); }
.football-crest span { font-size: 2rem; line-height: .8; }
.football-crest strong { margin-top: .25rem; font-size: .7rem; letter-spacing: .12em; }
.football-header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.football-header-actions a {
  padding: .8rem 1rem;
  color: #181818;
  border: 1px solid #ddd;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.football-header-actions a:hover,
.football-header-actions a:focus-visible { transform: translateY(-2px); }
.football-header-actions a.primary { color: #fff; background: var(--football-red); border-color: var(--football-red); }

.football-v2 .football-carousel {
  position: relative;
  min-height: min(740px, calc(100vh - 108px));
  display: grid;
  align-items: center;
  overflow: hidden;
  margin: 0 1.25rem clamp(4rem, 8vw, 8rem);
  color: #fff;
  background: #171717;
  border-radius: 0 0 14px 14px;
  isolation: isolate;
}
.football-carousel-media { position: absolute; z-index: -3; inset: 0; }
.football-carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 1.15s cubic-bezier(.2,.7,.2,1), object-position 1.15s ease;
}
.football-carousel[data-active="1"] .football-carousel-media img { object-position: 42% center; transform: scale(1.1) translateX(-1.5%); }
.football-carousel[data-active="2"] .football-carousel-media img { object-position: 58% center; transform: scale(1.14) translateX(1.5%); }
.football-carousel-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,12,.82) 0%, rgba(8,8,12,.42) 50%, rgba(8,8,12,.06) 78%),
    linear-gradient(0deg, rgba(8,8,12,.64) 0%, transparent 60%);
  transition: background 1s ease;
}
.football-carousel[data-active="1"] .football-carousel-shade { background: linear-gradient(90deg, rgba(65,0,6,.86), rgba(7,7,10,.12) 72%), linear-gradient(0deg, rgba(0,0,0,.6), transparent 60%); }
.football-carousel[data-active="2"] .football-carousel-shade { background: linear-gradient(90deg, rgba(5,5,8,.88), rgba(152,0,11,.16) 72%), linear-gradient(0deg, rgba(0,0,0,.65), transparent 60%); }
.football-slide {
  position: absolute;
  z-index: 2;
  left: clamp(2rem, 10vw, 9rem);
  top: 50%;
  max-width: 720px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 38px));
  transition: opacity .55s ease, transform .8s cubic-bezier(.2,.75,.2,1);
}
.football-slide.is-active { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
.football-slide > p {
  margin: 0 0 1rem;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: opacity .5s .1s ease, transform .6s .1s ease;
}
.football-slide h1,
.football-slide h2 {
  margin: 0;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.7rem, 7.3vw, 7rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -.015em;
  line-height: .92;
  text-transform: uppercase;
  transition: opacity .55s .18s ease, transform .75s .18s cubic-bezier(.2,.75,.2,1);
}
.football-slide:not(.is-active) > p,
.football-slide:not(.is-active) h1,
.football-slide:not(.is-active) h2 { opacity: 0; transform: translateY(26px); }
.football-slider-status {
  position: absolute;
  z-index: 3;
  left: clamp(2rem, 10vw, 9rem);
  top: clamp(2rem, 10vh, 6rem);
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
}
.football-slider-status strong { font-size: 1rem; }
.football-progress { width: 76px; height: 2px; overflow: hidden; margin-left: .5rem; background: rgba(255,255,255,.35); }
.football-progress i { display: block; width: 100%; height: 100%; background: #fff; transform-origin: left; animation: footballProgress 5.5s linear infinite; }
@keyframes footballProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.football-slider-arrows { position: absolute; z-index: 4; left: clamp(2rem, 10vw, 9rem); bottom: 6rem; display: flex; gap: .5rem; }
.football-slider-arrows button {
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.football-slider-arrows button:hover,
.football-slider-arrows button:focus-visible { color: var(--football-red); background: #fff; transform: scale(1.08); }
.football-floating-card {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1.4rem;
  width: min(470px, calc(100% - 2rem));
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .8rem 1rem;
  color: #fff;
  background: rgba(15,15,18,.62);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(15px);
  text-decoration: none;
  transform: translateX(-50%);
  transition: background-color .25s ease, transform .25s ease;
}
.football-floating-card:hover,
.football-floating-card:focus-visible { background: rgba(237,28,36,.9); transform: translateX(-50%) translateY(-5px); }
.football-floating-card .mini-crest { display: grid; width: 46px; height: 46px; place-items: center; color: var(--football-red); background: #fff; border-radius: 50%; font-size: 1.7rem; }
.football-floating-card small,
.football-floating-card strong { display: block; }
.football-floating-card small { opacity: .7; }
.football-floating-card b { padding: .65rem .8rem; color: #fff; background: var(--football-red); font-size: .75rem; text-transform: uppercase; }

.football-club-interface {
  max-width: 1180px;
  overflow: hidden;
  margin: 0 auto clamp(4rem, 9vw, 8rem);
  background: linear-gradient(115deg, #fff 15%, #fff5ef 60%, #ffe2bc 100%);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
}
.football-interface-heading { min-height: 300px; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 5rem); }
.football-interface-heading p,
.football-values-head p,
.football-history-title p { margin: 0 0 .6rem; color: #8a8a8a; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-interface-heading h2,
.football-values-head h2 {
  margin: 0;
  color: var(--football-red);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.3rem, 7vw, 6rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: .88;
  text-transform: uppercase;
}
.football-tabs { display: flex; gap: 0; padding: 0 clamp(1rem, 6vw, 5rem); background: rgba(255,255,255,.72); border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.08); }
.football-tabs button {
  position: relative;
  min-width: 150px;
  padding: 1.25rem 1rem;
  color: #767676;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
}
.football-tabs button::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: -1px; height: 3px; background: var(--football-red); transform: scaleX(0); transition: transform .25s ease; }
.football-tabs button:hover,
.football-tabs button:focus-visible,
.football-tabs button.is-active { color: var(--football-red); }
.football-tabs button.is-active::after { transform: scaleX(1); }
.football-tab-panels { min-height: 330px; background: #fff; }
.football-tab-panel {
  display: grid;
  grid-template-columns: .25fr 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(2.5rem, 6vw, 5rem);
  animation: footballPanelIn .55s cubic-bezier(.2,.75,.2,1) both;
}
.football-tab-panel[hidden] { display: none; }
@keyframes footballPanelIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.football-tab-panel .panel-number { align-self: start; color: var(--football-red); font-size: 1rem; font-weight: 900; }
.football-tab-panel > div > p { margin: 0 0 .65rem; color: var(--football-red); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-tab-panel h3 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: .9; text-transform: uppercase; }
.football-tab-panel .panel-copy { max-width: 440px; margin: 0; color: #666; font-size: 1.05rem; }

.football-history-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: clamp(4rem, 9vw, 8rem);
  background: #fff;
}
.football-history-title { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: clamp(3rem, 7vw, 7rem); background: var(--football-red); }
.football-history-title::after { content: "♣"; position: absolute; right: -2rem; bottom: -7rem; color: rgba(255,255,255,.12); font-size: clamp(16rem, 32vw, 31rem); line-height: 1; transform: rotate(-10deg); }
.football-history-title p { position: relative; z-index: 1; color: rgba(255,255,255,.72); }
.football-history-title h2 { position: relative; z-index: 1; margin: 0; color: #fff; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(8rem, 20vw, 18rem); font-style: italic; line-height: .8; }
.football-history-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.football-history-copy > span { color: var(--football-red); font-size: 4rem; line-height: 1; }
.football-history-copy h3 { max-width: 560px; margin: 2rem 0 1rem; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .92; text-transform: uppercase; }
.football-history-copy p { max-width: 540px; margin: 0; color: #666; font-size: 1.1rem; }

.football-values-interface { padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 7vw, 7rem); background: var(--football-cream); }
.football-values-head { max-width: 1320px; margin: 0 auto 3.5rem; }
.football-value-list { max-width: 1320px; margin: 0 auto; border-top: 1px solid #ccc; }
.football-value-list article {
  display: grid;
  grid-template-columns: .25fr .65fr 1fr auto;
  gap: 2rem;
  align-items: center;
  min-height: 145px;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid #ccc;
  transition: color .25s ease, background-color .25s ease, padding .25s ease;
}
.football-value-list article:hover,
.football-value-list article:focus-visible { padding-inline: 2rem; color: #fff; background: var(--football-red); outline: none; }
.football-value-list article > span { font-weight: 900; }
.football-value-list h3 { margin: 0; font-size: clamp(1.65rem, 4vw, 3rem); text-transform: uppercase; }
.football-value-list p { margin: 0; color: #686868; }
.football-value-list article:hover p,
.football-value-list article:focus-visible p { color: rgba(255,255,255,.82); }
.football-value-list b { font-size: 1.5rem; transition: transform .25s ease; }
.football-value-list article:hover b,
.football-value-list article:focus-visible b { transform: rotate(45deg); }

.football-closing {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 4rem 1rem;
  color: #fff;
  background: var(--football-dark);
  text-align: center;
}
.football-closing-lines { position: relative; z-index: 1; }
.football-closing-lines span,
.football-closing-lines strong { display: block; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(4rem, 11vw, 10rem); font-style: italic; line-height: .82; text-transform: uppercase; }
.football-closing-lines strong { color: var(--football-red); }
.closing-clover { position: absolute; color: rgba(255,255,255,.035); font-size: min(70vw, 58rem); line-height: 1; transform: rotate(-12deg); }

.football-v2 .football-switcher-v2 { color: var(--football-dark); background: #fff; border-top-color: #ddd; }
.football-v2 .football-switcher-v2 > p { color: #777; }
.football-v2 .football-switcher-v2 a { border-left-color: #ddd; }
.football-v2 .football-switcher-v2 a:hover,
.football-v2 .football-switcher-v2 a:focus-visible { color: #fff; }
.football-v2 .football-footer { background: var(--football-red); border: 0; }

.football-v2 .reveal { opacity: 0; transform: translateY(48px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.75,.2,1); }
.football-v2 .reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .football-v2 .football-nav a { padding-inline: .45rem; font-size: .7rem; }
  .football-header-actions a:first-child { display: none; }
  .football-tab-panel { grid-template-columns: .2fr 1fr; }
  .football-tab-panel .panel-copy { grid-column: 2; }
  .football-value-list article { grid-template-columns: .2fr .65fr 1fr auto; gap: 1rem; }
}

@media (max-width: 760px) {
  .football-topline { display: none; }
  .football-v2 .football-header-v2 { min-height: 70px; margin: 0; padding: .5rem 1rem; border-radius: 0; flex-wrap: nowrap; }
  .football-v2 .football-menu-button { width: auto; height: 44px; padding: 0 .9rem; }
  .football-v2 .football-nav { position: absolute; left: 0; right: 0; top: 100%; width: auto; display: none; margin: 0; padding: .7rem 1rem 1rem; color: #171717; background: #fff; box-shadow: 0 18px 30px rgba(0,0,0,.12); }
  .football-v2 .football-nav.open { display: flex; }
  .football-v2 .football-nav a { color: #171717; padding: .8rem; border-bottom: 1px solid #eee; }
  .football-crest { width: 56px; height: 68px; }
  .football-crest span { font-size: 1.55rem; }
  .football-header-actions a { display: none; }
  .football-header-actions a.primary { display: inline-block; padding: .7rem .8rem; font-size: .68rem; }

  .football-v2 .football-carousel { min-height: 650px; margin: 0 0 4.5rem; border-radius: 0; }
  .football-carousel-media img { object-position: 49% center; }
  .football-carousel-shade,
  .football-carousel[data-active="1"] .football-carousel-shade,
  .football-carousel[data-active="2"] .football-carousel-shade { background: linear-gradient(0deg, rgba(8,8,12,.94) 0%, rgba(8,8,12,.18) 78%); }
  .football-slide { left: 1rem; right: 1rem; top: auto; bottom: 9.6rem; transform: translateY(30px); }
  .football-slide.is-active { transform: translateY(0); }
  .football-slide h1,
  .football-slide h2 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .football-slide > p { margin-bottom: .7rem; font-size: .72rem; }
  .football-slider-status { left: 1rem; top: 1.4rem; }
  .football-slider-arrows { left: 1rem; bottom: 5.8rem; }
  .football-slider-arrows button { width: 40px; height: 40px; }
  .football-floating-card { bottom: .75rem; min-height: 70px; gap: .65rem; padding: .55rem .65rem; }
  .football-floating-card .mini-crest { width: 38px; height: 38px; font-size: 1.35rem; }
  .football-floating-card small { font-size: .68rem; }
  .football-floating-card strong { font-size: .78rem; }
  .football-floating-card b { font-size: .64rem; }

  .football-club-interface { margin-bottom: 4.5rem; border-radius: 0; }
  .football-interface-heading { min-height: 250px; padding: 2.5rem 1rem; }
  .football-tabs { overflow-x: auto; padding-inline: .25rem; }
  .football-tabs button { min-width: 125px; }
  .football-tab-panels { min-height: 470px; }
  .football-tab-panel { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 1rem; }
  .football-tab-panel .panel-copy { grid-column: 1; }

  .football-history-grid { min-height: 0; grid-template-columns: 1fr; }
  .football-history-title,
  .football-history-copy { min-height: 410px; padding: 3rem 1rem; }
  .football-history-title h2 { font-size: clamp(7rem, 37vw, 11rem); }

  .football-values-interface { padding-inline: 1rem; }
  .football-value-list article { grid-template-columns: .18fr 1fr auto; gap: .75rem; min-height: 130px; padding-inline: 0; }
  .football-value-list article:hover,
  .football-value-list article:focus-visible { padding-inline: .75rem; }
  .football-value-list article p { display: none; }
  .football-value-list article b { grid-column: 3; grid-row: 1; }

  .football-closing { min-height: 430px; }
  .football-closing-lines span,
  .football-closing-lines strong { font-size: clamp(3.5rem, 18vw, 6rem); }
  .football-v2 .football-switcher-v2 { grid-template-columns: 1fr; }
  .football-v2 .football-switcher-v2 a { border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .football-progress i { animation: none; transform: scaleX(1); }
  .football-v2 .reveal { opacity: 1; transform: none; }
  .football-carousel-media img,
  .football-slide,
  .football-slide > *,
  .football-tab-panel { animation: none; transition: none; }
}

/* Football v3 — mini-site complet, navigation à tiroirs et logo officiel */
.football-shell {
  --football-red: #ed1c24;
  --football-red-dark: #b80710;
  --football-blue: #111111;
  --football-dark: #0c0c0e;
  --football-cream: #f6f5f2;
  color: var(--football-dark);
  background: #efefef;
}
.football-menu-is-open { overflow: hidden; }

.football-shell .football-header-v2 {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 76px;
  margin: 0 1.25rem;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
  color: #171717;
  background: rgba(255,255,255,.96);
  border: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
  transition: min-height .3s ease, box-shadow .3s ease;
}
.football-shell .football-header-v2.is-scrolled { min-height: 64px; box-shadow: 0 12px 35px rgba(0,0,0,.16); }
.football-shell .football-menu-button {
  width: 60px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  gap: 2px;
  padding: 10px 0 7px;
  color: #fff;
  background: var(--football-red);
  border-radius: 0;
  cursor: pointer;
}
.football-shell .football-menu-button > span,
.football-shell .football-menu-button > span::before,
.football-shell .football-menu-button > span::after {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}
.football-shell .football-menu-button > span { position: relative; }
.football-shell .football-menu-button > span::before { position: absolute; top: -6px; }
.football-shell .football-menu-button > span::after { position: absolute; top: 6px; }
.football-shell .football-menu-button b { margin-top: 5px; font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.football-shell .football-menu-button:hover,
.football-shell .football-menu-button:focus-visible { background: var(--football-blue); }
.football-shell .football-nav { margin-left: 1.2rem; gap: .15rem; }
.football-shell .football-nav a { padding: .7rem .8rem; color: #181818; background: transparent; border-radius: 0; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; }
.football-shell .football-nav a:hover,
.football-shell .football-nav a:focus-visible,
.football-shell .football-nav a.active { color: var(--football-red); background: transparent; }

.football-shell .football-crest {
  overflow: hidden;
  background: #fff;
  border-color: #fff;
}
.football-crest img {
  width: 190px;
  max-width: none;
  height: auto;
  transform: translateY(-1px);
}

.football-menu-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow: hidden;
  background: rgba(13,23,107,.64);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
  transition: opacity .42s ease;
}
.football-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
.football-menu-drawer {
  width: min(900px, calc(100% - 90px));
  height: 100%;
  display: grid;
  grid-template-columns: minmax(320px, 434px) minmax(360px, 1fr);
  background: #fff;
  box-shadow: 25px 0 70px rgba(0,0,0,.22);
  transform: translateX(-102%);
  transition: transform .55s cubic-bezier(.2,.75,.2,1), width .45s ease;
}
.football-menu-overlay.is-open .football-menu-drawer { transform: translateX(0); }
.football-menu-drawer:not(.has-submenu) { width: min(434px, calc(100% - 54px)); grid-template-columns: 1fr; }
.football-menu-root { position: relative; min-width: 0; padding: 2rem 1rem 2rem; background: #fff; }
.football-menu-close {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--football-red);
  border: 0;
  cursor: pointer;
}
.football-menu-close span,
.football-menu-close span::after { width: 30px; height: 2px; display: block; background: currentColor; content: ""; }
.football-menu-close span { transform: rotate(45deg); }
.football-menu-close span::after { transform: rotate(90deg); }
.football-menu-close:hover,
.football-menu-close:focus-visible { background: var(--football-blue); }
.football-menu-logo {
  width: 96px;
  height: 96px;
  display: block;
  margin: -.5rem auto .4rem;
  text-decoration: none;
}
.football-menu-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.football-menu-search {
  width: calc(100% - 96px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin: 1.1rem 1rem 1.8rem auto;
  border-bottom: 3px solid var(--football-blue);
}
.football-menu-search span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.football-menu-search input { min-width: 0; padding: .65rem .1rem; color: var(--football-blue); background: transparent; border: 0; outline: 0; font: inherit; font-size: .92rem; font-weight: 700; }
.football-menu-search input::placeholder { color: var(--football-blue); }
.football-menu-search b { color: var(--football-blue); font-size: 1.9rem; font-weight: 400; }
.football-menu-primary { border-top: 1px solid #e5e5ea; }
.football-menu-primary > a,
.football-menu-primary > button {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  color: var(--football-blue);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e5e5ea;
  font: inherit;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, padding .25s ease;
}
.football-menu-primary > * span { font-family: Arial, sans-serif; font-size: 2.2rem; font-weight: 400; transition: transform .25s ease; }
.football-menu-primary > *:hover,
.football-menu-primary > *:focus-visible,
.football-menu-primary > *.is-active { padding-left: .75rem; color: var(--football-red); }
.football-menu-primary > *:hover span,
.football-menu-primary > *:focus-visible span,
.football-menu-primary > *.is-active span { transform: rotate(45deg); }
.football-menu-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.5rem; margin-top: 2rem; }
.football-menu-secondary a { color: #171717; font-size: .9rem; font-weight: 700; text-decoration: none; }
.football-menu-secondary a:hover,
.football-menu-secondary a:focus-visible { color: var(--football-red); }
.football-menu-signature { position: absolute; left: 1rem; bottom: 1.2rem; margin: 0; color: var(--football-blue); font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.football-menu-signature span { color: #777; font-size: .65rem; }
.football-subpanel { min-width: 0; padding: 4.8rem clamp(2rem, 5vw, 5rem); background: #fff; border-left: 1px solid #ededf1; animation: footballSubpanelIn .38s cubic-bezier(.2,.75,.2,1) both; }
.football-subpanel[hidden] { display: none; }
@keyframes footballSubpanelIn { from { opacity: 0; transform: translateX(-35px); } to { opacity: 1; transform: translateX(0); } }
.football-subpanel > button { display: flex; gap: 1rem; align-items: center; padding: 0 0 1.15rem; color: #777; background: transparent; border: 0; border-bottom: 1px solid #e5e5ea; font: inherit; font-size: .85rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.football-subpanel nav { display: grid; margin-top: 1.25rem; }
.football-subpanel a { padding: .65rem 0; color: var(--football-blue); font-size: 1.12rem; font-weight: 800; text-decoration: none; }
.football-subpanel a:hover,
.football-subpanel a:focus-visible { color: var(--football-red); transform: translateX(5px); }
.football-menu-overlay a.is-search-hidden { display: none; }

.football-floating-card .mini-crest { overflow: hidden; background: #fff url("logo-tsr-officiel.png") center / 126px auto no-repeat; }
.football-floating-card .mini-crest img { width: 126px; max-width: none; opacity: 0; }
.history-logo { width: 330px; max-width: none; margin: -4.5rem 0 -3.4rem -6.5rem; }
.closing-logo { position: absolute; width: min(82vw, 760px); max-width: none; opacity: .04; transform: rotate(-9deg); }

.football-quick-links {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 auto clamp(4rem, 8vw, 8rem);
  background: #d5d5d5;
  border: 1px solid #d5d5d5;
}
.football-quick-links a { position: relative; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 1.8rem; color: var(--football-dark); background: #fff; text-decoration: none; transition: color .25s ease, background .25s ease; }
.football-quick-links small { color: #808080; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.football-quick-links strong { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; text-transform: uppercase; }
.football-quick-links span { position: absolute; right: 1.5rem; top: 1.25rem; font-size: 1.8rem; transition: transform .25s ease; }
.football-quick-links a:hover,
.football-quick-links a:focus-visible { color: #fff; background: var(--football-red); }
.football-quick-links a:hover small,
.football-quick-links a:focus-visible small { color: rgba(255,255,255,.7); }
.football-quick-links a:hover span,
.football-quick-links a:focus-visible span { transform: rotate(45deg); }

.football-season-overview { max-width: 1320px; display: grid; grid-template-columns: .8fr 1.1fr 1.1fr; gap: 1rem; margin: 0 auto clamp(4rem, 9vw, 8rem); padding: 0 1rem; }
.football-season-overview > * { min-height: 480px; padding: clamp(2rem, 4vw, 3.5rem); }
.football-season-head { display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--football-red); }
.football-season-head p,
.football-next-match > p:first-child,
.football-ranking-teaser > p:first-child { margin: 0 0 .8rem; font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-season-head h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3rem, 5vw, 5.4rem); line-height: .88; text-transform: uppercase; }
.football-next-match,
.football-ranking-teaser { display: flex; flex-direction: column; color: var(--football-dark); background: #fff; }
.football-next-match h3,
.football-ranking-teaser h3 { margin: 1.2rem 0 .5rem; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2rem, 4vw, 3.6rem); line-height: .92; text-transform: uppercase; }
.football-season-overview .muted { margin: 0; color: #6d6d6d; }
.football-versus { display: flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 145px; margin-top: .75rem; background: linear-gradient(135deg, #fff1ec, #f2efff); }
.team-logo { width: 92px; height: 92px; display: grid; place-items: center; overflow: hidden; background: #fff; border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.team-logo:not(.team-logo-empty) { background: #fff url("logo-tsr-officiel.png") center / 245px auto no-repeat; }
.team-logo img { width: 245px; max-width: none; opacity: 0; }
.team-logo-empty { color: #b8b8b8; background: #eee; font-size: 2rem; font-weight: 900; }
.football-versus b { color: var(--football-red); font-size: 1.25rem; font-style: italic; text-transform: uppercase; }
.football-line-link { display: flex; justify-content: space-between; margin-top: auto; padding-top: 1.1rem; color: var(--football-red); border-top: 1px solid #ddd; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.ranking-mini-row { display: grid; grid-template-columns: 36px 58px 1fr auto; gap: .7rem; align-items: center; margin-top: 2rem; padding: 1rem 0; border-block: 1px solid #ddd; }
.ranking-mini-logo { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; }
.ranking-mini-logo { background: url("logo-tsr-officiel.png") center / 140px auto no-repeat; }
.ranking-mini-logo img { width: 140px; max-width: none; opacity: 0; }
.ranking-mini-row > span:first-child { color: var(--football-red); font-size: 1.3rem; font-weight: 900; }

.football-editorial { max-width: 1320px; display: grid; grid-template-columns: 1fr .9fr; gap: 3rem; margin: 0 auto clamp(4rem, 9vw, 8rem); padding: 0 1rem; }
.football-editorial-head { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.football-editorial-head p { margin: 0 0 .4rem; color: #858585; font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-editorial-head h2 { margin: 0; color: var(--football-red); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3.5rem, 8vw, 7rem); line-height: .85; text-transform: uppercase; }
.football-editorial-head a { color: var(--football-red); font-weight: 900; text-decoration: none; text-transform: uppercase; }
.football-news-list { border-top: 1px solid #bbb; }
.football-news-list a { display: grid; grid-template-columns: 80px 90px 1fr auto; gap: 1rem; align-items: center; min-height: 118px; padding: 1rem .25rem; border-bottom: 1px solid #bbb; color: var(--football-dark); text-decoration: none; transition: padding .25s ease, color .25s ease, background .25s ease; }
.football-news-list a:hover,
.football-news-list a:focus-visible { padding-inline: 1rem; color: #fff; background: var(--football-red); }
.football-news-list span,
.football-news-list time { font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.football-news-list time { color: #888; }
.football-news-list a:hover time,
.football-news-list a:focus-visible time { color: rgba(255,255,255,.72); }
.football-news-list strong { line-height: 1.25; }
.football-video-card { position: relative; min-height: 385px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 2rem; color: #fff; background: #111; text-decoration: none; }
.football-video-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent 70%); content: ""; }
.football-video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .7s ease, filter .5s ease; }
.football-video-card:hover img,
.football-video-card:focus-visible img { filter: grayscale(0); transform: scale(1.06); }
.football-video-card span,
.football-video-card strong,
.football-video-card b { position: relative; z-index: 1; }
.football-video-card span { font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-video-card strong { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2rem, 4vw, 3.8rem); line-height: .95; text-transform: uppercase; }
.football-video-card b { position: absolute; right: 2rem; top: 2rem; width: 58px; height: 58px; display: grid; place-items: center; background: var(--football-red); border-radius: 50%; }

.football-mega-footer { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 3rem; padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 6rem) 0; color: #fff; background: var(--football-blue); }
.football-footer-brand p { margin: 1rem 0 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: .9; text-transform: uppercase; }
.football-footer-brand p strong { color: var(--football-red); }
.football-footer-logo { width: 160px; height: 105px; display: grid; place-items: center; overflow: hidden; background: #fff url("logo-tsr-officiel.png") center / 430px auto no-repeat; }
.football-footer-logo img { width: 430px; max-width: none; opacity: 0; }
.football-mega-footer nav { display: flex; flex-direction: column; align-items: flex-start; }
.football-mega-footer nav h2 { margin: 0 0 1.25rem; color: rgba(255,255,255,.55); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.football-mega-footer nav a { padding: .35rem 0; color: #fff; font-weight: 800; text-decoration: none; }
.football-mega-footer nav a:hover,
.football-mega-footer nav a:focus-visible { color: var(--football-red); }
.football-footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.2); font-size: .78rem; text-transform: uppercase; }

.football-shell .reveal { opacity: 0; transform: translateY(48px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.75,.2,1); }
.football-shell .reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .football-shell .football-header-actions a:not(.primary) { display: none; }
  .football-season-overview { grid-template-columns: 1fr 1fr; }
  .football-season-head { grid-column: 1 / -1; min-height: 290px; }
  .football-editorial { gap: 1.5rem; }
  .football-mega-footer { grid-template-columns: 1fr 1fr; }
  .football-footer-brand { grid-row: span 2; }
}

@media (max-width: 760px) {
  .football-shell .football-header-v2 { min-height: 70px; margin: 0; padding: .5rem 1rem; border-radius: 0; flex-wrap: nowrap; }
  .football-shell .football-menu-button { width: 52px; height: 46px; padding-block: 9px 5px; }
  .football-shell .football-menu-button b { font-size: .48rem; }
  .football-shell .football-nav { display: none; }
  .football-shell .football-header-actions a.primary { display: inline-block; padding: .7rem .8rem; font-size: .68rem; }
  .football-shell .football-crest { width: 58px; height: 70px; }
  .football-crest img { width: 160px; }
  .football-menu-drawer,
  .football-menu-drawer.has-submenu { width: 100%; grid-template-columns: 1fr; }
  .football-menu-drawer.has-submenu .football-menu-root { display: none; }
  .football-subpanel { grid-column: 1; grid-row: 1; padding: 5.5rem 1.5rem 2rem; }
  .football-menu-primary > a,
  .football-menu-primary > button { min-height: 72px; font-size: 2.2rem; }
  .football-menu-signature { display: none; }
  .football-quick-links { grid-template-columns: 1fr; margin-inline: 1rem; }
  .football-quick-links a { min-height: 135px; }
  .football-season-overview { grid-template-columns: 1fr; padding: 0; }
  .football-season-head { grid-column: auto; }
  .football-season-overview > * { min-height: 420px; }
  .football-editorial { grid-template-columns: 1fr; gap: 1.5rem; padding: 0; }
  .football-editorial-head { padding: 0 1rem; }
  .football-editorial-head a { display: none; }
  .football-news-list { margin: 0 1rem; }
  .football-news-list a { grid-template-columns: 1fr auto; }
  .football-news-list time { grid-column: 2; grid-row: 1; }
  .football-news-list strong { grid-column: 1 / -1; }
  .football-news-list b { display: none; }
  .football-video-card { min-height: 420px; }
  .football-mega-footer { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.25rem; }
  .football-footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .football-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .football-menu-overlay,
  .football-menu-drawer,
  .football-subpanel,
  .football-shell .reveal { animation: none; transition: none; }
  .football-shell .reveal { opacity: 1; transform: none; }
}

/* Pages intérieures football */
football-header,
football-footer { display: block; }
.football-subpage main { background: #f3f2ef; }
.football-page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  margin: 0 1.25rem clamp(4rem, 7vw, 7rem);
  padding: clamp(2rem, 7vw, 7rem);
  color: #fff;
  background: #15151a url("banniere-football.jpg") center / cover no-repeat;
  border-radius: 0 0 14px 14px;
  isolation: isolate;
}
.football-page-hero::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(10,12,30,.92), rgba(237,28,36,.28) 72%, rgba(0,0,0,.1)), linear-gradient(0deg, rgba(0,0,0,.62), transparent 60%); content: ""; }
.football-page-hero::after { position: absolute; z-index: -1; right: -11rem; bottom: -16rem; width: 650px; height: 650px; background: radial-gradient(circle, rgba(237,28,36,.85), transparent 68%); content: ""; }
.football-page-hero > p { margin: 0 0 .8rem; font-size: .8rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.football-page-hero h1 { max-width: 1050px; margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(4.8rem, 12vw, 11rem); font-weight: 900; letter-spacing: -.025em; line-height: .78; text-transform: uppercase; }
.football-page-hero > span { display: block; margin-top: 1.5rem; font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 800; }
.football-page-hero-team { background-position: 38% center; }
.football-page-hero-academy::before { background: linear-gradient(90deg, rgba(237,28,36,.92), rgba(10,12,30,.34) 74%, rgba(0,0,0,.14)), linear-gradient(0deg, rgba(0,0,0,.64), transparent 60%); }
.football-page-hero-news { background-position: center 30%; }

.football-category-rail { position: fixed; z-index: 20; left: .75rem; top: 50%; display: grid; gap: .25rem; transform: translateY(-50%); }
.football-category-rail a { width: 42px; height: 42px; display: flex; align-items: center; overflow: hidden; padding: 0 .85rem; color: #fff; background: var(--football-blue); border-radius: 22px; font-size: .72rem; font-weight: 900; text-decoration: none; white-space: nowrap; transition: width .3s ease, background .2s ease; }
.football-category-rail a span { margin-left: 1.1rem; opacity: 0; text-transform: uppercase; transition: opacity .2s ease; }
.football-category-rail a:hover,
.football-category-rail a:focus-visible { width: 145px; background: var(--football-red); }
.football-category-rail a:hover span,
.football-category-rail a:focus-visible span { opacity: 1; }

.football-roster { max-width: 1380px; margin: 0 auto clamp(5rem, 10vw, 10rem); padding: 0 clamp(1rem, 5vw, 5rem); }
.football-roster > header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 2rem; border-bottom: 1px solid #c9c9c9; }
.football-roster > header p { margin: 0 0 1.5rem; color: #777; font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-roster > header h2 { margin: 0 0 -.12em; color: var(--football-red); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(4rem, 9vw, 8.5rem); line-height: .8; text-transform: uppercase; }
.football-player-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.football-player-card { position: relative; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 1.6rem; color: #fff; background: linear-gradient(160deg, var(--football-red) 0%, #68030a 100%); isolation: isolate; }
.football-player-card:nth-child(3n + 2),
.football-player-card.alternate { background: linear-gradient(160deg, var(--football-blue) 0%, #080808 100%); }
.football-player-card::before { position: absolute; z-index: -1; inset: 25% -28% -18%; background: radial-gradient(circle at 50% 36%, rgba(255,255,255,.25), rgba(255,255,255,0) 60%); content: ""; }
.football-player-card > img { position: absolute; z-index: -1; left: 50%; top: 37%; width: 690px; max-width: none; opacity: .28; filter: grayscale(1) brightness(2); transform: translate(-50%, -50%); transition: opacity .35s ease, transform .55s cubic-bezier(.2,.75,.2,1); }
.football-player-card:hover > img { opacity: .47; transform: translate(-50%, -50%) scale(1.08) rotate(-3deg); }
.player-number { position: absolute; left: 1.4rem; top: .7rem; color: rgba(255,255,255,.9); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 4rem; }
.football-player-card div { position: relative; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.5); }
.football-player-card h3 { margin: 0 0 .35rem; font-size: 1.25rem; line-height: 1.05; text-transform: uppercase; }
.football-player-card p { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }

.football-data-note { max-width: 1180px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; margin: 0 auto clamp(5rem, 9vw, 8rem); padding: 2rem; color: #fff; background: var(--football-red); }
.football-data-note strong { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(1.8rem, 4vw, 3rem); line-height: .95; text-transform: uppercase; }
.football-data-note p { max-width: 620px; margin: 0; align-self: center; }

.football-competition-interface,
.football-standings-interface,
.football-news-page { max-width: 1260px; margin: 0 auto clamp(5rem, 10vw, 10rem); padding: 0 1rem; }
.football-competition-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.football-competition-head p { margin: 0; color: #777; font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-competition-head h2 { margin: .25rem 0 0; color: var(--football-blue); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3rem, 7vw, 6rem); line-height: .9; text-transform: uppercase; }
.football-competition-head h2 span,
.football-standings-head h2 span { color: var(--football-red); }
.football-competition-head > a,
.football-standings-head > a { margin-bottom: .5rem; padding: .8rem 1rem; color: #fff; background: var(--football-blue); font-size: .7rem; font-weight: 900; text-decoration: none; text-transform: uppercase; transition: background .2s ease, transform .2s ease; }
.football-competition-head > a:hover,
.football-competition-head > a:focus-visible,
.football-standings-head > a:hover,
.football-standings-head > a:focus-visible { background: var(--football-red); transform: translateY(-2px); }
.football-interface-tabs { display: flex; overflow-x: auto; margin-bottom: 2rem; border-bottom: 1px solid #c9c9c9; }
.football-interface-tabs button { position: relative; min-width: 160px; padding: 1rem 1.2rem; color: #777; background: transparent; border: 0; font: inherit; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.football-interface-tabs button::after { position: absolute; left: 1.2rem; right: 1.2rem; bottom: -1px; height: 4px; background: var(--football-red); content: ""; transform: scaleX(0); transition: transform .25s ease; }
.football-interface-tabs button.is-active,
.football-interface-tabs button:hover,
.football-interface-tabs button:focus-visible { color: var(--football-red); }
.football-interface-tabs button.is-active::after { transform: scaleX(1); }
.football-match-panel,
.football-news-panel { animation: footballPanelIn .5s cubic-bezier(.2,.75,.2,1) both; }
.football-match-panel[hidden],
.football-news-panel[hidden] { display: none; }
.football-match-card { display: grid; grid-template-columns: .6fr 1.4fr .6fr; align-items: center; gap: 2rem; min-height: 320px; padding: clamp(1.5rem, 5vw, 4rem); color: #fff; background: linear-gradient(120deg, var(--football-blue), #2a2a2a 62%, var(--football-red)); }
.football-match-card > div:first-child span,
.football-match-card > div:first-child strong { display: block; }
.football-match-card > div:first-child span { margin-bottom: .5rem; font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.football-match-card > div:first-child strong { font-size: 1.25rem; text-transform: uppercase; }
.football-match-teams { display: flex; align-items: center; justify-content: center; gap: 2rem; }
.match-club { display: grid; gap: .7rem; justify-items: center; width: 160px; text-align: center; }
.match-club i { width: 105px; height: 105px; display: grid; place-items: center; overflow: hidden; background: #fff url("logo-tsr-officiel.png") center / 280px auto no-repeat; border-radius: 50%; font-style: normal; }
.match-club i img { width: 280px; max-width: none; opacity: 0; }
.match-club i.empty-club { color: #aaa; background: #eee; font-size: 2.3rem; font-weight: 900; }
.match-club b { line-height: 1.2; }
.football-match-teams em { color: #fff; font-size: 1.2rem; font-weight: 900; }
.football-match-card > p { margin: 0; text-align: right; }
.football-fixture-list { display: grid; gap: 1px; margin-top: 1px; background: #d9d9d9; }
.football-fixture-row { display: grid; grid-template-columns: .62fr 1.45fr .42fr; align-items: center; gap: 2rem; min-height: 116px; padding: 1.35rem 1.7rem; background: #fff; transition: color .2s ease, background .2s ease, transform .25s ease; }
.football-fixture-row:hover { position: relative; z-index: 1; color: #fff; background: var(--football-blue); transform: scale(1.008); }
.football-fixture-row > div:first-child { display: grid; gap: .25rem; }
.football-fixture-row > div:first-child span { color: var(--football-red); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.football-fixture-row > div:first-child time { font-size: .9rem; font-weight: 800; }
.football-fixture-row > div:nth-child(2) { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem; text-align: center; }
.football-fixture-row > div:nth-child(2) strong { font-size: .9rem; line-height: 1.2; text-transform: uppercase; }
.football-fixture-row > div:nth-child(2) b { color: var(--football-red); font-size: 1.2rem; white-space: nowrap; }
.football-fixture-row:hover > div:first-child span,
.football-fixture-row:hover > div:nth-child(2) b { color: #fff; }
.fixture-place,
.fixture-result { justify-self: end; padding: .55rem .7rem; color: #fff; background: #777; font-size: .64rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.fixture-result.win { background: #111; }
.fixture-result.loss { background: var(--football-red); }
.fixture-score { min-width: 72px; padding: .5rem .65rem; color: #fff !important; background: var(--football-blue); }
.football-fixture-row:hover .fixture-score { background: var(--football-red); }
.football-fff-source { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.4rem; padding: 1.25rem 1.5rem; color: #5f5f5f; background: #e8e7e4; font-size: .76rem; }
.football-fff-source span { display: flex; align-items: center; gap: .65rem; font-weight: 900; text-transform: uppercase; }
.football-fff-source i { width: 9px; height: 9px; flex: 0 0 auto; background: var(--football-red); border-radius: 50%; box-shadow: 0 0 0 5px rgba(241,38,53,.12); }
.football-fff-source p { margin: 0; text-align: right; }
.football-empty-state { min-height: 360px; display: grid; place-items: center; align-content: center; padding: 3rem 1rem; background: #fff; text-align: center; }
.empty-state-logo { width: 116px; height: 116px; display: grid; place-items: center; overflow: hidden; margin-bottom: 1rem; background: #fff url("logo-tsr-officiel.png") center / 310px auto no-repeat; border: 1px solid #eee; border-radius: 50%; }
.empty-state-logo img { width: 310px; max-width: none; opacity: 0; }
.football-empty-state h2 { max-width: 700px; margin: 0; color: var(--football-red); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .9; text-transform: uppercase; }
.football-empty-state p { max-width: 590px; margin: 1rem 0 0; color: #666; }
.football-page-next { display: grid; grid-template-columns: .35fr 1fr; align-items: center; color: #fff; background: var(--football-red); }
.football-page-next > span { padding: 2rem clamp(1rem, 5vw, 5rem); font-size: .75rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.football-page-next a { display: flex; align-items: center; justify-content: space-between; min-height: 140px; padding: 2rem clamp(1rem, 6vw, 6rem); border-left: 1px solid rgba(255,255,255,.35); color: #fff; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2rem, 5vw, 4.2rem); text-decoration: none; text-transform: uppercase; transition: background .25s ease; }
.football-page-next a:hover,
.football-page-next a:focus-visible { background: var(--football-red-dark); }

.football-standings-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.football-standings-head p { margin: 0; color: #777; font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-standings-head h2 { margin: .25rem 0 0; color: var(--football-red); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3rem, 7vw, 6rem); line-height: .9; text-transform: uppercase; }
.football-table-scroll { overflow-x: auto; background: #fff; }
.football-standings-table { width: 100%; min-width: 850px; border-collapse: collapse; }
.football-standings-table th,
.football-standings-table td { height: 90px; padding: 1rem; border-bottom: 1px solid #e2e2e2; text-align: center; }
.football-standings-table thead th { height: 62px; color: #777; background: #f7f7f7; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.football-standings-table tbody th { display: flex; align-items: center; gap: 1rem; text-align: left; }
.football-standings-table tbody tr { transition: color .2s ease, background .2s ease; }
.football-standings-table tbody tr:hover,
.football-standings-table tbody tr.is-tsr { color: #fff; background: var(--football-blue); }
.table-team-logo { width: 58px; height: 58px; display: inline-grid; flex: 0 0 auto; place-items: center; overflow: hidden; background: #fff url("logo-tsr-officiel.png") center / 155px auto no-repeat; border-radius: 50%; }
.table-team-logo img { width: 155px; max-width: none; opacity: 0; }
.table-team-logo.empty { color: #aaa; background: #eee; font-weight: 900; }
.football-standings-interface .football-data-note { margin-top: 3rem; margin-bottom: 0; }

.football-academy-intro { max-width: 1180px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 10vw, 9rem); align-items: end; margin: 0 auto clamp(5rem, 10vw, 9rem); padding: 0 1rem; }
.football-academy-intro > div > p { margin: 0 0 .5rem; color: #777; font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-academy-intro h2 { margin: 0; color: var(--football-red); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .85; text-transform: uppercase; }
.football-academy-intro > p { margin: 0 0 .4rem; color: #5f5f5f; font-size: 1.15rem; }
.football-academy-path { display: grid; grid-template-columns: repeat(3, 1fr); }
.football-academy-path article { position: relative; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 5vw, 4rem); color: #fff; background: var(--football-blue); border-right: 1px solid rgba(255,255,255,.2); transition: background .3s ease; }
.football-academy-path article:nth-child(2) { background: #2b2b2b; }
.football-academy-path article:nth-child(3) { background: var(--football-red); }
.football-academy-path article:hover { background: var(--football-red-dark); }
.football-academy-path article > span { position: absolute; left: 2rem; top: 1.5rem; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 4rem; opacity: .2; }
.football-academy-path small { font-weight: 900; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.football-academy-path h2 { margin: .7rem 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .9; text-transform: uppercase; }
.football-academy-path p { max-width: 360px; margin: 0; opacity: .8; }
.football-academy-path b { position: absolute; right: 2rem; top: 1.5rem; font-size: 2rem; }
.football-academy-quote { min-height: 500px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; overflow: hidden; padding: clamp(2rem, 6vw, 6rem); background: linear-gradient(120deg, #fff0ea, #f2efff); }
.football-academy-quote > img { width: 720px; max-width: none; margin: -11rem; }
.football-academy-quote p { margin: 0 0 1rem; color: var(--football-red); font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.football-academy-quote blockquote { max-width: 760px; margin: 0; color: var(--football-blue); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .9; text-transform: uppercase; }
.football-academy-quote + .football-data-note { margin-top: clamp(5rem, 9vw, 8rem); }

.football-feature-news { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 520px; margin-bottom: 1rem; background: #fff; }
.football-feature-news > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.football-feature-news > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.football-feature-news span,
.football-news-card-grid span,
.football-news-card-grid time { font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.football-feature-news span { color: var(--football-red); }
.football-feature-news h2 { margin: 1rem 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .9; text-transform: uppercase; }
.football-feature-news p { color: #666; }
.football-feature-news a { color: var(--football-red); font-weight: 900; text-decoration: none; text-transform: uppercase; }
.football-news-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #d2d2d2; }
.football-news-card-grid article { min-height: 290px; padding: 2rem; background: #fff; }
.football-news-card-grid time { float: right; color: #888; }
.football-news-card-grid span { color: var(--football-red); }
.football-news-card-grid h3 { clear: both; margin: 3.5rem 0 .75rem; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; }
.football-news-card-grid p { margin: 0; color: #666; }

@media (max-width: 1060px) {
  .football-player-grid { grid-template-columns: repeat(2, 1fr); }
  .football-match-card { grid-template-columns: 1fr; }
  .football-match-card > div:first-child,
  .football-match-card > p { text-align: center; }
  .football-academy-quote { grid-template-columns: 1fr; }
  .football-academy-quote > img { width: 520px; margin: -8rem auto; }
}

@media (max-width: 760px) {
  .football-page-hero { min-height: 540px; margin: 0 0 4rem; padding: 2rem 1rem; border-radius: 0; }
  .football-page-hero h1 { font-size: clamp(4rem, 20vw, 7rem); }
  .football-category-rail { display: none; }
  .football-roster { margin-bottom: 5rem; padding: 0 1rem; }
  .football-roster > header { display: block; }
  .football-roster > header h2 { font-size: 4.2rem; }
  .football-player-grid { grid-template-columns: 1fr; }
  .football-player-card { min-height: 430px; }
  .football-data-note { grid-template-columns: 1fr; margin-inline: 1rem; }
  .football-competition-head,
  .football-standings-head { align-items: flex-start; flex-direction: column; }
  .football-competition-head > a,
  .football-standings-head > a { margin-bottom: 0; }
  .football-match-card { padding: 2rem 1rem; }
  .football-match-teams { gap: .75rem; }
  .match-club { width: 125px; }
  .match-club i { width: 84px; height: 84px; }
  .match-club i img { width: 225px; }
  .football-page-next { grid-template-columns: 1fr; }
  .football-page-next a { min-height: 110px; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .football-fixture-row { grid-template-columns: 1fr; gap: 1rem; min-height: 0; padding: 1.35rem 1rem; }
  .football-fixture-row > div:first-child { grid-template-columns: auto 1fr; align-items: center; gap: .6rem; }
  .football-fixture-row > div:nth-child(2) { gap: .5rem; }
  .football-fixture-row > div:nth-child(2) strong { font-size: .78rem; }
  .fixture-place,
  .fixture-result { justify-self: start; }
  .football-fff-source { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .football-fff-source p { text-align: left; }
  .football-academy-intro { grid-template-columns: 1fr; }
  .football-academy-path { grid-template-columns: 1fr; }
  .football-academy-path article { min-height: 370px; }
  .football-academy-quote { min-height: 620px; padding: 2rem 1rem; }
  .football-academy-quote > img { width: 430px; margin: -7rem auto; }
  .football-feature-news { grid-template-columns: 1fr; }
  .football-feature-news > img { min-height: 310px; }
  .football-news-card-grid { grid-template-columns: 1fr; }
}

/* Football v4 — direction premium : éditoriale, minimaliste et animée */
.football-shell {
  --football-red: #f12635;
  --football-red-dark: #b50918;
  --football-blue: #111111;
  --football-dark: #080808;
  --football-cream: #f3f3f0;
  --football-display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  overflow-x: hidden;
  color: var(--football-dark);
  background: var(--football-cream);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.football-scroll-progress { position: fixed; z-index: 1200; left: 0; top: 0; width: 100%; height: 3px; background: var(--football-red); transform: scaleX(0); transform-origin: left; will-change: transform; }
.football-shell :is(h1, h2, h3, .football-footer-brand p, .football-slide strong) {
  font-family: var(--football-display);
  font-stretch: condensed;
  letter-spacing: -.035em;
}
.football-shell .football-topline { display: none; }
football-header { position: relative; z-index: 80; display: block; }
.football-shell .football-header-v2 {
  position: fixed;
  z-index: 80;
  top: 18px;
  left: 24px;
  right: 24px;
  width: auto;
  min-height: 78px;
  margin: 0;
  padding: 0 clamp(1rem, 2.4vw, 2.5rem);
  color: #fff;
  background: rgba(12, 12, 12, .86);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  box-shadow: 0 18px 54px rgba(0,0,0,.22);
  backdrop-filter: blur(22px) saturate(135%);
  animation: footballHeaderDrop .8s cubic-bezier(.16,1,.3,1) both;
  transition: top .3s ease, min-height .3s ease, background .3s ease, box-shadow .3s ease;
}
.football-shell .football-header-v2.is-scrolled {
  top: 10px;
  min-height: 66px;
  background: rgba(12,12,12,.96);
  box-shadow: 0 16px 42px rgba(0,0,0,.3);
}
@keyframes footballHeaderDrop { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
.football-shell .football-menu-button {
  width: 52px;
  height: 52px;
  padding: 10px 0 7px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 50%;
}
.football-shell .football-menu-button:hover,
.football-shell .football-menu-button:focus-visible { background: var(--football-red); border-color: var(--football-red); transform: rotate(-4deg); }
.football-shell .football-nav a,
.football-shell .football-header-actions a { color: #fff; border-color: rgba(255,255,255,.2); }
.football-shell .football-nav a { position: relative; font-size: .73rem; letter-spacing: .08em; }
.football-shell .football-nav a::after { position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px; background: var(--football-red); content: ""; transform: scaleX(0); transition: transform .25s ease; }
.football-shell .football-nav a:hover,
.football-shell .football-nav a:focus-visible,
.football-shell .football-nav a.active { color: #fff; }
.football-shell .football-nav a:hover::after,
.football-shell .football-nav a:focus-visible::after,
.football-shell .football-nav a.active::after { transform: scaleX(1); }
.football-shell .football-header-actions a { border-radius: 999px; font-size: .7rem; letter-spacing: .05em; }
.football-shell .football-header-actions a:hover,
.football-shell .football-header-actions a:focus-visible { color: #fff; background: rgba(255,255,255,.1); }
.football-shell .football-header-actions a.primary { background: var(--football-red); border-color: var(--football-red); }
.football-shell .football-header-actions a.primary:hover,
.football-shell .football-header-actions a.primary:focus-visible { background: #fff; border-color: #fff; color: var(--football-blue); }
.football-shell .football-crest {
  width: 66px;
  height: 66px;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 9px 26px rgba(0,0,0,.22);
}
.football-shell .football-crest img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; opacity: 1; transform: none; }

.football-menu-overlay { background: rgba(2,8,28,.64); }
.football-menu-drawer { background: var(--football-blue); box-shadow: 35px 0 90px rgba(0,0,0,.34); }
.football-menu-root { color: #fff; background: var(--football-blue); }
.football-menu-close { left: 1rem; top: 1rem; width: 56px; height: 56px; background: var(--football-red); border-radius: 50%; }
.football-menu-search { border-bottom-color: rgba(255,255,255,.55); }
.football-menu-search input,
.football-menu-search b { color: #fff; }
.football-menu-search input::placeholder { color: rgba(255,255,255,.66); }
.football-menu-primary { border-top-color: rgba(255,255,255,.14); }
.football-menu-primary > a,
.football-menu-primary > button { min-height: 86px; color: #fff; border-bottom-color: rgba(255,255,255,.14); }
.football-menu-primary > *:hover,
.football-menu-primary > *:focus-visible,
.football-menu-primary > *.is-active { color: var(--football-red); }
.football-menu-secondary a { color: rgba(255,255,255,.82); }
.football-menu-signature { color: #fff; }
.football-menu-signature span { color: rgba(255,255,255,.5); }
.football-subpanel { background: #fff; border-left: 0; }

.football-v2 .football-carousel {
  min-height: 100svh;
  margin: 0 0 clamp(4rem, 7vw, 7rem);
  background: var(--football-dark);
  border-radius: 0;
}
.football-carousel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle 240px at var(--spot-x, 72%) var(--spot-y, 35%), rgba(241,38,53,.22), transparent 72%), linear-gradient(135deg, rgba(241,38,53,.14), transparent 35%);
  content: "";
  pointer-events: none;
}
.football-carousel::after {
  position: absolute;
  z-index: 0;
  right: -1.5vw;
  bottom: -10vw;
  color: rgba(255,255,255,.055);
  content: "TSR";
  font-family: var(--football-display);
  font-size: clamp(13rem, 33vw, 35rem);
  font-weight: 900;
  letter-spacing: -.11em;
  line-height: .72;
  pointer-events: none;
}
.football-carousel-media { transform: translateY(var(--hero-offset, 0)); will-change: transform; }
.football-carousel-media img { transform: scale(1.08); animation: footballHeroIn 1.8s cubic-bezier(.16,1,.3,1) both; }
@keyframes footballHeroIn { from { opacity: .25; transform: scale(1.22); } to { opacity: 1; transform: scale(1.08); } }
.football-carousel-shade,
.football-carousel[data-active="1"] .football-carousel-shade,
.football-carousel[data-active="2"] .football-carousel-shade {
  background: linear-gradient(90deg, rgba(8,8,8,.95) 0%, rgba(8,8,8,.65) 43%, rgba(8,8,8,.12) 79%), linear-gradient(0deg, rgba(8,8,8,.76), transparent 60%);
}
.football-slide { left: clamp(1.5rem, 8vw, 8rem); max-width: 900px; padding-left: clamp(1rem, 2vw, 2rem); border-left: 5px solid var(--football-red); }
.football-slide > p { font-size: .78rem; letter-spacing: .22em; }
.football-slide h1,
.football-slide h2 { font-family: var(--football-display); font-size: clamp(5rem, 9.4vw, 10rem); letter-spacing: -.055em; line-height: .78; text-wrap: balance; }
.football-slide.is-active > p { animation: footballCopyUp .7s .15s cubic-bezier(.16,1,.3,1) both; }
.football-slide.is-active h1,
.football-slide.is-active h2 { animation: footballCopyUp .9s .22s cubic-bezier(.16,1,.3,1) both; }
@keyframes footballCopyUp { from { opacity: 0; transform: translateY(42px); clip-path: inset(100% 0 0); } to { opacity: 1; transform: translateY(0); clip-path: inset(0); } }
.football-slider-status { left: clamp(1.5rem, 10vw, 10rem); top: clamp(8rem, 18vh, 12rem); }
.football-slider-arrows { left: clamp(1.5rem, 8vw, 8rem); bottom: 2.2rem; }
.football-slider-arrows button { border-radius: 12px; backdrop-filter: blur(12px); }
.football-hero-index { position: absolute; z-index: 4; right: clamp(1.5rem, 4vw, 4rem); top: 50%; display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.68); font-size: .64rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; transform: rotate(90deg) translateX(50%); transform-origin: right center; }
.football-hero-index i { width: 28px; height: 1px; background: rgba(255,255,255,.45); }
.football-floating-card.football-match-dock {
  left: auto;
  right: clamp(1.5rem, 6vw, 6rem);
  bottom: 2.2rem;
  width: min(590px, calc(100% - 12rem));
  min-height: 96px;
  grid-template-columns: auto 1fr auto;
  padding: .9rem 1rem;
  background: rgba(12,12,12,.8);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  transform: none;
}
.football-floating-card.football-match-dock:hover,
.football-floating-card.football-match-dock:focus-visible { background: rgba(12,12,12,.96); transform: translateY(-5px); }
.football-match-dock .match-live { display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: center; padding: .75rem; color: #fff; border-right: 1px solid rgba(255,255,255,.18); font-size: .64rem; font-weight: 900; text-transform: uppercase; }
.football-match-dock .match-live i { width: 9px; height: 9px; background: var(--football-red); border-radius: 50%; box-shadow: 0 0 0 6px rgba(241,38,53,.16); animation: footballPulse 1.8s ease infinite; }
@keyframes footballPulse { 50% { box-shadow: 0 0 0 11px rgba(241,38,53,0); } }
.football-match-dock small { color: rgba(255,255,255,.58); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.football-match-dock strong { margin-top: .35rem; font-family: var(--football-display); font-size: 1.2rem; letter-spacing: -.02em; text-transform: uppercase; }
.football-match-dock strong em { color: var(--football-red); font-style: normal; }
.football-match-dock > b { display: grid; gap: .15rem; padding: .8rem 1rem; background: var(--football-red); border-radius: 10px; text-align: center; }
.football-match-dock > b small { color: #fff; }

.football-marquee { margin-top: calc(clamp(4rem, 7vw, 7rem) * -1); margin-bottom: clamp(4rem, 7vw, 7rem); overflow: hidden; color: #fff; background: var(--football-red); transform: rotate(-1.2deg) scale(1.02); }
.football-marquee > div { width: max-content; display: flex; align-items: center; gap: 2rem; min-height: 66px; padding-inline: 1rem; animation: footballMarquee 25s linear infinite; }
.football-marquee span { font-family: var(--football-display); font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.football-marquee i { opacity: .6; font-style: normal; }
@keyframes footballMarquee { to { transform: translateX(-50%); } }

.football-quick-links { max-width: 1320px; gap: 12px; padding: 0 1rem; background: transparent; border: 0; }
.football-quick-links a { min-height: 210px; background: #fff; border: 1px solid #dedede; border-radius: 16px; box-shadow: 0 20px 50px rgba(6,10,24,.05); }
.football-quick-links a::before { position: absolute; inset: 0; background: var(--football-blue); content: ""; transform: translateY(101%); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.football-quick-links a > * { position: relative; z-index: 1; }
.football-quick-links a:hover,
.football-quick-links a:focus-visible { color: #fff; background: #fff; }
.football-quick-links a:hover::before,
.football-quick-links a:focus-visible::before { transform: translateY(0); }
.football-quick-links strong { font-family: var(--football-display); letter-spacing: -.04em; }
.football-season-overview { gap: 12px; }
.football-season-overview > * { overflow: hidden; border-radius: 18px; }
.football-season-head { position: relative; background: var(--football-blue); }
.football-season-head::after { position: absolute; right: -4rem; top: -5rem; color: rgba(255,255,255,.055); content: "♣"; font-size: 21rem; transform: rotate(-18deg); }
.football-season-head h2,
.football-next-match h3,
.football-ranking-teaser h3 { position: relative; z-index: 1; font-family: var(--football-display); letter-spacing: -.045em; }
.football-next-match,
.football-ranking-teaser { border: 1px solid #dedede; box-shadow: 0 20px 50px rgba(6,10,24,.05); }
.football-versus { border-radius: 12px; background: linear-gradient(135deg, #fff, #ededed); }
.team-logo-empty { font-size: 1rem; }
.football-line-link { color: var(--football-blue); transition: color .2s ease, padding .25s ease; }
.football-line-link:hover,
.football-line-link:focus-visible { padding-left: .5rem; color: var(--football-red); }

.football-club-interface { max-width: 1320px; background: var(--football-blue); border-radius: 22px; box-shadow: 0 30px 80px rgba(6,10,24,.16); }
.football-interface-heading { min-height: 350px; color: #fff; background: radial-gradient(circle at 88% 20%, rgba(241,38,53,.5), transparent 32%); }
.football-interface-heading p { color: rgba(255,255,255,.55); }
.football-interface-heading h2 { color: #fff; font-family: var(--football-display); letter-spacing: -.05em; }
.football-tabs { color: #fff; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.football-tabs button { color: rgba(255,255,255,.6); }
.football-tabs button:hover,
.football-tabs button:focus-visible,
.football-tabs button.is-active { color: #fff; }
.football-tab-panels { background: #fff; }
.football-editorial-head h2,
.football-values-head h2,
.football-tab-panel h3 { font-family: var(--football-display); letter-spacing: -.045em; }
.football-news-list a:hover,
.football-news-list a:focus-visible { background: var(--football-blue); }
.football-video-card { min-height: 430px; border-radius: 18px; }
.football-video-card b { border-radius: 12px; }
.football-history-grid { background: #fff; }
.football-history-title { background: var(--football-blue); }
.football-history-copy h3 { font-family: var(--football-display); }
.football-value-list article:hover,
.football-value-list article:focus-visible { background: var(--football-blue); }
.football-closing { min-height: 650px; background: var(--football-blue); }
.football-closing-lines span,
.football-closing-lines strong { font-family: var(--football-display); font-style: normal; letter-spacing: -.055em; }

.football-subpage main { background: var(--football-cream); }
.football-page-hero {
  min-height: min(640px, 82svh);
  margin: 0 0 clamp(4rem, 8vw, 8rem);
  padding: clamp(9rem, 18vh, 12rem) clamp(1rem, 8vw, 8rem) clamp(3rem, 8vw, 7rem);
  background-position: center 42%;
  border-radius: 0;
  background-position: center calc(42% + var(--hero-offset, 0px));
}
.football-page-hero::before { background: linear-gradient(90deg, rgba(8,8,8,.96), rgba(8,8,8,.58) 55%, rgba(8,8,8,.12)), linear-gradient(0deg, rgba(8,8,8,.74), transparent 62%); }
.football-page-hero::after { right: -4vw; bottom: -5vw; width: auto; height: auto; color: rgba(255,255,255,.055); background: none; content: "TSR"; font-family: var(--football-display); font-size: clamp(12rem, 29vw, 28rem); font-weight: 900; letter-spacing: -.1em; line-height: .72; }
.football-page-hero > p { width: max-content; padding: .55rem .75rem; background: var(--football-red); border-radius: 999px; font-size: .7rem; }
.football-page-hero h1 { max-width: 1180px; font-family: var(--football-display); font-size: clamp(5.5rem, 12vw, 12rem); letter-spacing: -.065em; line-height: .72; animation: footballCopyUp .9s .12s cubic-bezier(.16,1,.3,1) both; }
.football-page-hero > span { max-width: 660px; color: rgba(255,255,255,.7); }
.football-category-rail a { background: rgba(8,19,51,.92); backdrop-filter: blur(12px); }
.football-competition-interface,
.football-standings-interface,
.football-news-page { max-width: 1320px; }
.football-competition-head h2,
.football-standings-head h2 { font-family: var(--football-display); letter-spacing: -.05em; }
.football-competition-head > a,
.football-standings-head > a { border-radius: 999px; }
.football-interface-tabs { gap: .5rem; padding: .35rem; background: #e9e9e5; border: 0; border-radius: 999px; }
.football-interface-tabs button { min-width: 150px; border-radius: 999px; }
.football-interface-tabs button::after { display: none; }
.football-interface-tabs button.is-active { color: #fff; background: var(--football-blue); }
.football-match-card { overflow: hidden; background: linear-gradient(125deg, #111 0%, #292929 58%, var(--football-red)); border-radius: 20px; box-shadow: 0 25px 70px rgba(0,0,0,.16); }
.football-fixture-list { gap: 10px; margin-top: 14px; background: transparent; }
.football-fixture-row { border: 1px solid #dedede; border-radius: 14px; box-shadow: 0 10px 30px rgba(6,10,24,.035); }
.football-fixture-row:hover { background: var(--football-blue); box-shadow: 0 20px 45px rgba(6,10,24,.18); }
.football-fff-source { border-radius: 12px; }
.football-table-scroll { border: 1px solid #dedede; border-radius: 18px; box-shadow: 0 22px 60px rgba(6,10,24,.08); }
.football-standings-table tbody tr:hover,
.football-standings-table tbody tr.is-tsr { background: var(--football-blue); }
.football-standings-table tbody tr.is-tsr { box-shadow: inset 5px 0 var(--football-red); }
.football-roster > header h2,
.football-player-card h3,
.football-academy-intro h2,
.football-academy-path h2,
.football-academy-quote blockquote,
.football-feature-news h2 { font-family: var(--football-display); letter-spacing: -.04em; }
.football-player-card { border-radius: 16px; box-shadow: 0 18px 48px rgba(6,10,24,.12); }
.football-news-card-grid { gap: 12px; background: transparent; }
.football-news-card-grid article,
.football-feature-news { border: 1px solid #dedede; border-radius: 16px; box-shadow: 0 18px 45px rgba(6,10,24,.05); }
.football-feature-news { overflow: hidden; }
.football-page-next { background: var(--football-blue); }
.football-page-next a:hover,
.football-page-next a:focus-visible { background: var(--football-red); }

/* Football v6 — écussons officiels et chant réaulais */
.table-team-logo,
.match-club i.club-badge {
  overflow: hidden;
  background: #fff;
  background-image: none;
  border: 1px solid rgba(254,30,41,.16);
  border-radius: 50%;
}
.table-team-logo img,
.match-club i.club-badge img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  padding: 7px;
  object-fit: contain;
  opacity: 1;
  transform: none;
}
.match-club i.club-badge img { padding: 12px; }
.table-team-logo img.club-logo-tsr,
.match-club i.club-badge img.club-logo-tsr { padding: 0; transform: scale(1.72); }
.fixture-team img.club-logo-tsr { padding: 0; transform: scale(1.16); }
.fixture-team {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}
.fixture-team img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: block;
  padding: 5px;
  object-fit: contain;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(254,30,41,.16);
  border-radius: 50%;
}
.football-fixture-row:hover .fixture-team img { border-color: #fff; }
.fixture-place,
.fixture-result { background: var(--football-red); }
.football-footer-chant {
  grid-column: 1 / -1;
  width: calc(100% + clamp(2rem, 12vw, 12rem));
  overflow: hidden;
  margin: 2.5rem calc(clamp(1rem, 6vw, 6rem) * -1) 0;
  color: var(--football-red);
  background: #fff;
  border-block: 1px solid rgba(254,30,41,.18);
}
.football-footer-chant > div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding: 1rem 0;
  animation: footballChant 28s linear infinite;
}
.football-footer-chant span {
  font-family: var(--football-display);
  font-size: clamp(1.4rem, 3.3vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.football-footer-chant i { font-size: clamp(1.2rem, 2.5vw, 2.8rem); font-style: normal; }
@keyframes footballChant { to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  .fixture-team { gap: .3rem; flex-direction: column; }
  .fixture-team img { width: 40px; height: 40px; flex-basis: 40px; padding: 4px; }
  .football-footer-chant { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .football-footer-chant > div { animation: none; }
}

/* Football v7 — cartes d’accueil synchronisées avec les pages compétition */
.team-logo.home-club-logo,
.ranking-mini-logo.home-club-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  background-image: none;
  border: 1px solid rgba(254,30,41,.16);
  border-radius: 50%;
}
.team-logo.home-club-logo img,
.ranking-mini-logo.home-club-logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  padding: 11px;
  object-fit: contain;
  opacity: 1;
  transform: none;
}
.ranking-mini-logo.home-club-logo img { padding: 6px; }
.team-logo.home-club-logo img.club-logo-tsr,
.ranking-mini-logo.home-club-logo img.club-logo-tsr { padding: 0; transform: scale(1.72); }

/* Football v8 — tous les écussons en rouge officiel et blanc */
.football-svg-filters { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.football-shell img[src*="assets/clubs/"] { filter: url("#club-red-white"); }
.football-footer-chant {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}

/* Football v10 — cartouche historique entre saison et club */
.football-club-stamp {
  position: relative;
  max-width: 1320px;
  min-height: clamp(190px, 22vw, 280px);
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  margin: clamp(-4.5rem, -5vw, -2.5rem) auto clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 6vw, 5rem) 1rem;
  color: var(--football-red);
  background: #fff;
  border: 1px solid rgba(254,30,41,.16);
  border-radius: 18px;
  box-shadow: 0 24px 65px rgba(254,30,41,.08);
  text-align: center;
}
.football-club-stamp::before,
.football-club-stamp::after {
  position: absolute;
  top: 50%;
  width: clamp(2.5rem, 9vw, 9rem);
  height: 2px;
  background: var(--football-red);
  content: "";
  opacity: .28;
}
.football-club-stamp::before { left: clamp(1rem, 5vw, 5rem); }
.football-club-stamp::after { right: clamp(1rem, 5vw, 5rem); }
.football-club-stamp h2 {
  max-width: 100%;
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(2.3rem, 6vw, 5.8rem);
  letter-spacing: -.015em;
  line-height: .96;
  text-transform: uppercase;
  text-wrap: balance;
}
.football-club-stamp p {
  margin: .9rem 0 0;
  font-size: clamp(.8rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .football-club-stamp {
    min-height: 210px;
    margin: -1.75rem .75rem 4rem;
    padding-inline: 1.25rem;
    border-radius: 14px;
  }
  .football-club-stamp::before,
  .football-club-stamp::after { display: none; }
  .football-club-stamp h2 { font-size: clamp(2.2rem, 12vw, 3.3rem); }
}

/* Football v9 — titres toujours contenus dans leur surface */
.football-page-hero h1 {
  max-width: min(100%, 1180px);
  font-size: clamp(4.2rem, 9vw, 8.5rem);
  line-height: .84;
  overflow-wrap: normal;
  text-wrap: balance;
}
.football-season-head h2 {
  max-width: 100%;
  font-size: clamp(2.45rem, 3.5vw, 4rem);
  line-height: .96;
  overflow-wrap: normal;
}

@media (max-width: 760px) {
  .football-page-hero h1 { font-size: clamp(2.8rem, 11.5vw, 4.4rem); line-height: .9; }
  .football-season-head h2 { font-size: clamp(2.45rem, 12vw, 3.4rem); }
  .football-editorial,
  .football-editorial > *,
  .football-news-list,
  .football-video-card { width: 100%; max-width: 100%; min-width: 0; }
  .football-news-list a { min-width: 0; }
  .football-news-list strong { min-width: 0; overflow-wrap: anywhere; }
  .football-editorial-head { display: grid; align-items: start; gap: .35rem; }
  .football-editorial-head h2 { max-width: 100%; font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .football-news-list { width: calc(100% - 2rem); max-width: calc(100% - 2rem); }
  .football-history-grid > * { width: 100%; max-width: 100%; min-width: 0; }
  .football-marquee { transform: none; }
  .football-carousel-media img,
  .football-carousel[data-active="1"] .football-carousel-media img,
  .football-carousel[data-active="2"] .football-carousel-media img { transform: none; }
}
.football-mega-footer { background: var(--football-blue); }
.football-footer-brand p { font-family: var(--football-display); letter-spacing: -.045em; }
.football-footer-logo,
.team-logo:not(.team-logo-empty),
.ranking-mini-logo,
.match-club i:not(.empty-club),
.empty-state-logo,
.table-team-logo:not(.empty) { background-color: #fff; background-image: url("tsrreaux.png"); background-position: center; background-size: contain; background-repeat: no-repeat; }
.football-footer-logo img,
.team-logo:not(.team-logo-empty) img,
.ranking-mini-logo img,
.match-club i:not(.empty-club) img,
.empty-state-logo img,
.table-team-logo:not(.empty) img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; opacity: 1; transform: none; }
.football-player-card:nth-child(3n + 2),
.football-player-card.alternate { background: linear-gradient(160deg, #303030 0%, #080808 100%); }
.football-academy-path article:nth-child(2) { background: #2b2b2b; }
.football-mega-footer nav h2 { color: rgba(255,255,255,.55); }
.football-subpanel > button { color: #777; }
.football-footer-bottom a { color: #fff; }
.fixture-result.win { background: #111; }
.football-fff-source i { background: var(--football-red); box-shadow: 0 0 0 5px rgba(241,38,53,.12); }

.football-shell .reveal { opacity: 0; clip-path: inset(0 0 18% 0); transform: translateY(52px); transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1), clip-path .9s cubic-bezier(.16,1,.3,1); }
.football-shell .reveal.in-view { opacity: 1; clip-path: inset(0); transform: translateY(0); }

@media (max-width: 1040px) {
  .football-shell .football-header-v2 { left: 12px; right: 12px; }
  .football-floating-card.football-match-dock { width: min(520px, calc(100% - 10rem)); }
  .football-match-dock .match-live { display: none; }
}

@media (max-width: 760px) {
  .football-shell .football-header-v2,
  .football-v2 .football-header-v2 {
    top: 8px;
    left: 8px;
    right: 8px;
    min-height: 62px;
    margin: 0;
    padding: .35rem .55rem;
    border-radius: 999px;
  }
  .football-shell .football-header-v2.is-scrolled { top: 6px; min-height: 58px; }
  .football-shell .football-menu-button,
  .football-v2 .football-menu-button { width: 46px; height: 46px; padding: 9px 0 5px; }
  .football-shell .football-crest { width: 54px; height: 54px; }
  .football-shell .football-crest img { width: 100%; height: 100%; object-fit: contain; }
  .football-shell .football-header-actions a.primary { padding: .65rem .75rem; }
  .football-v2 .football-carousel { min-height: 100svh; margin-bottom: 5rem; }
  .football-carousel::after { right: -5vw; bottom: 10vh; font-size: 48vw; }
  .football-slide { left: 1rem; right: 1rem; bottom: 10.5rem; padding-left: .8rem; border-left-width: 3px; }
  .football-slide h1,
  .football-slide h2 { font-size: clamp(3rem, 12vw, 4.8rem); line-height: .8; }
  .football-slider-status { left: 1rem; top: 6.1rem; }
  .football-slider-arrows { left: auto; right: 1rem; top: 5.45rem; bottom: auto; }
  .football-hero-index { display: none; }
  .football-floating-card.football-match-dock { left: 4.5rem; right: .75rem; bottom: .75rem; width: auto; min-height: 70px; grid-template-columns: 1fr auto; padding: .55rem; }
  .football-match-dock .match-live { display: none; }
  .football-match-dock strong { font-size: .92rem; }
  .football-match-dock > b { padding: .65rem .7rem; font-size: .68rem; }
  .football-marquee { margin-top: -5rem; margin-bottom: 4rem; }
  .football-marquee > div { min-height: 54px; }
  .football-marquee span { font-size: 1rem; }
  .football-quick-links { gap: 8px; padding-inline: .75rem; }
  .football-quick-links a { min-height: 138px; border-radius: 12px; }
  .football-season-overview { gap: 8px; padding-inline: .75rem; }
  .football-season-overview > * { min-height: 390px; border-radius: 14px; }
  .football-club-interface { margin-inline: .75rem; border-radius: 16px; }
  .football-page-hero { min-height: 560px; margin-bottom: 4rem; padding: 8rem 1rem 3rem; }
  .football-page-hero h1 { font-size: clamp(3.2rem, 13.5vw, 5.4rem); line-height: .76; }
  .football-page-hero::after { font-size: 48vw; }
  .football-interface-tabs { border-radius: 14px; }
  .football-interface-tabs button { min-width: 132px; }
  .football-match-card { border-radius: 14px; }
  .football-fixture-row { border-radius: 12px; }
  .football-standings-head h2,
  .football-competition-head h2 { font-size: clamp(2.35rem, 11.5vw, 4.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .football-shell .football-header-v2,
  .football-carousel-media img,
  .football-slide.is-active > p,
  .football-slide.is-active h1,
  .football-slide.is-active h2,
  .football-page-hero h1,
  .football-marquee > div,
  .football-match-dock .match-live i { animation: none; }
  .football-shell .reveal { opacity: 1; clip-path: none; transform: none; }
}

/* Football v5 — identité intégralement rouge et blanche, typographie ouverte */
.football-shell {
  --football-red: #fe1e29;
  --football-red-dark: #fe1e29;
  --football-blue: #fe1e29;
  --football-dark: #fe1e29;
  --football-cream: #fffafa;
  --football-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  color: var(--football-red-dark);
  background: var(--football-cream);
}
.football-shell :is(h1, h2, h3, .football-footer-brand p, .football-slide strong) {
  font-family: var(--football-display);
  font-stretch: normal;
  letter-spacing: -.012em;
  line-height: .94;
}
.football-shell .football-header-v2,
.football-shell .football-header-v2.is-scrolled {
  background: rgba(254,30,41,.95);
  box-shadow: 0 16px 46px rgba(254,30,41,.28);
}
.football-shell .football-menu-button:hover,
.football-shell .football-menu-button:focus-visible { color: var(--football-red); background: #fff; border-color: #fff; }
.football-shell .football-header-actions a.primary { color: var(--football-red-dark); background: #fff; border-color: #fff; }
.football-shell .football-header-actions a.primary:hover,
.football-shell .football-header-actions a.primary:focus-visible { color: var(--football-red); background: #fff; }
.football-shell .football-crest {
  width: 88px;
  height: 88px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.football-shell .football-crest img { width: 100%; height: 100%; object-fit: contain; }
.football-menu-overlay { background: rgba(254,30,41,.66); }
.football-menu-drawer,
.football-menu-root { background: var(--football-red-dark); }
.football-menu-drawer { box-shadow: 35px 0 90px rgba(254,30,41,.38); }
.football-menu-close { color: var(--football-red); background: #fff; }
.football-menu-close:hover,
.football-menu-close:focus-visible { color: var(--football-red-dark); background: #fff; }
.football-menu-primary > a,
.football-menu-primary > button {
  font-family: var(--football-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  letter-spacing: -.01em;
  line-height: 1.05;
}
.football-menu-primary > *:hover,
.football-menu-primary > *:focus-visible,
.football-menu-primary > *.is-active {
  color: var(--football-red);
  background: #fff;
}
.football-subpanel a { color: var(--football-red-dark); }

.football-v2 .football-carousel { background: var(--football-red-dark); }
.football-carousel-shade,
.football-carousel[data-active="1"] .football-carousel-shade,
.football-carousel[data-active="2"] .football-carousel-shade {
  background: linear-gradient(90deg, rgba(254,30,41,.94) 0%, rgba(254,30,41,.68) 43%, rgba(254,30,41,.12) 79%), linear-gradient(0deg, rgba(254,30,41,.78), transparent 62%);
}
.football-slide h1,
.football-slide h2 {
  font-family: var(--football-display);
  font-size: clamp(4.5rem, 7.5vw, 8rem);
  letter-spacing: -.015em;
  line-height: .86;
}
.football-floating-card.football-match-dock,
.football-floating-card.football-match-dock:hover,
.football-floating-card.football-match-dock:focus-visible { background: rgba(254,30,41,.92); }
.football-match-dock > b { color: var(--football-red-dark); background: #fff; }
.football-match-dock > b small { color: var(--football-red-dark); }
.football-marquee { background: var(--football-red); }

.football-quick-links a { color: var(--football-red-dark); box-shadow: 0 20px 50px rgba(254,30,41,.08); }
.football-quick-links a::before { background: var(--football-red); }
.football-season-head { padding: clamp(2rem, 3vw, 2.75rem); background: var(--football-red); }
.football-season-head h2 { font-size: clamp(2.7rem, 4vw, 4.6rem); line-height: .92; }
.football-next-match,
.football-ranking-teaser { color: var(--football-red-dark); box-shadow: 0 20px 50px rgba(254,30,41,.08); }
.football-club-interface { background: var(--football-red-dark); box-shadow: 0 30px 80px rgba(254,30,41,.2); }
.football-news-list a { color: var(--football-red-dark); }
.football-news-list a:hover,
.football-news-list a:focus-visible,
.football-value-list article:hover,
.football-value-list article:focus-visible { background: var(--football-red); }
.football-video-card { background: var(--football-red-dark); }
.football-video-card::after { background: linear-gradient(0deg, rgba(254,30,41,.9), transparent 72%); }
.football-history-title,
.football-closing,
.football-mega-footer { background: var(--football-red-dark); }
.football-footer-logo {
  width: 170px;
  height: 170px;
  background: transparent;
  background-image: none;
}
.football-footer-logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: 1;
}
.football-footer-brand p strong { color: #fff; }
.football-mega-footer nav a:hover,
.football-mega-footer nav a:focus-visible { color: var(--football-red); background: #fff; }

.football-page-hero::before {
  background: linear-gradient(90deg, rgba(254,30,41,.96), rgba(254,30,41,.62) 55%, rgba(254,30,41,.12)), linear-gradient(0deg, rgba(254,30,41,.78), transparent 64%);
}
.football-page-hero h1 { font-family: var(--football-display); letter-spacing: -.012em; line-height: .84; }
.football-competition-head h2,
.football-standings-head h2,
.football-roster > header h2,
.football-academy-intro h2,
.football-academy-path h2,
.football-feature-news h2 { letter-spacing: -.01em; line-height: .96; }
.football-competition-head > a,
.football-standings-head > a { background: var(--football-red); }
.football-interface-tabs button.is-active { background: var(--football-red); }
.football-match-card { background: var(--football-red); box-shadow: 0 25px 70px rgba(254,30,41,.2); }
.football-fixture-row { color: var(--football-red-dark); box-shadow: 0 10px 30px rgba(254,30,41,.05); }
.football-fixture-row:hover { background: var(--football-red); box-shadow: 0 20px 45px rgba(254,30,41,.2); }
.fixture-score,
.fixture-result.win { background: var(--football-red-dark); }
.football-standings-table { color: var(--football-red-dark); }
.football-standings-table tbody tr:hover,
.football-standings-table tbody tr.is-tsr { background: var(--football-red); }
.football-player-card:nth-child(3n + 2),
.football-player-card.alternate { background: var(--football-red); }
.football-academy-path article,
.football-academy-path article:nth-child(2) { background: var(--football-red-dark); }
.football-academy-path article:nth-child(3) { background: var(--football-red); }
.football-page-next { background: var(--football-red-dark); }
.football-page-next a:hover,
.football-page-next a:focus-visible { background: var(--football-red); }

@media (max-width: 760px) {
  .football-shell .football-crest { width: 66px; height: 66px; }
  .football-slide h1,
  .football-slide h2 { font-size: clamp(2.8rem, 11.5vw, 4.5rem); line-height: .88; letter-spacing: -.01em; }
  .football-page-hero h1 { font-size: clamp(2.9rem, 12vw, 4.8rem); line-height: .86; }
  .football-standings-head h2,
  .football-competition-head h2 { font-size: clamp(2.15rem, 9.5vw, 3.6rem); line-height: .98; }
}

/* Football v11 — écussons nets, chant bord à bord et signature historique animée */
.football-shell :is(.table-team-logo, .match-club i.club-badge, .team-logo.home-club-logo, .ranking-mini-logo.home-club-logo) {
  background-color: #fff;
  background-image: none;
}

.football-mega-footer { overflow: hidden; }
.football-footer-chant {
  width: calc(100% + (clamp(1rem, 6vw, 6rem) * 2));
  max-width: none;
  margin-right: calc(clamp(1rem, 6vw, 6rem) * -1);
  margin-left: calc(clamp(1rem, 6vw, 6rem) * -1);
}

.football-club-stamp {
  min-height: clamp(220px, 25vw, 330px);
  display: block;
  margin: clamp(-4.5rem, -5vw, -2.5rem) auto clamp(4rem, 8vw, 7rem);
  padding: clamp(2.8rem, 5vw, 4.5rem) 0 clamp(2.2rem, 4vw, 3.5rem);
}
.football-club-stamp::before,
.football-club-stamp::after { display: none; }
.football-club-stamp-marquee {
  width: 100%;
  overflow: hidden;
}
.football-club-stamp-marquee > div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  animation: footballClubName 25s linear infinite;
  will-change: transform;
}
.football-club-stamp-marquee span {
  color: transparent;
  -webkit-text-stroke: 2px var(--football-red);
  paint-order: stroke fill;
  font-family: var(--football-display);
  font-size: clamp(3.6rem, 8vw, 8.4rem);
  font-weight: 900;
  letter-spacing: .015em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.football-club-stamp > p {
  margin: clamp(1.8rem, 3.5vw, 2.8rem) 1rem 0;
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: clamp(.9rem, 1.5vw, 1.25rem);
  font-weight: 900;
  letter-spacing: .3em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
@keyframes footballClubName {
  to { transform: translateX(calc(-33.333% - 1.667rem)); }
}

@media (max-width: 760px) {
  .football-club-stamp {
    min-height: 220px;
    margin: -1.75rem .75rem 4rem;
    padding: 3.4rem 0 2.8rem;
  }
  .football-club-stamp-marquee > div { gap: 2rem; animation-duration: 19s; }
  .football-club-stamp-marquee span {
    -webkit-text-stroke-width: 1.5px;
    font-size: clamp(3rem, 15vw, 4.6rem);
  }
  .football-club-stamp > p {
    margin-top: 2.3rem;
    font-size: .84rem;
    letter-spacing: .22em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .football-club-stamp-marquee > div { animation: none; }
}

/* Football v12 — écussons blancs dédiés au prochain match du grand visuel */
.football-match-dock-copy {
  min-width: 0;
  display: grid;
  gap: .35rem;
}
.football-match-dock-clubs {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: .65rem;
}
.football-shell .football-match-dock-clubs img {
  width: 42px;
  height: 42px;
  display: block;
  padding: 2px;
  object-fit: contain;
  filter: url("#club-white");
}
.football-shell .football-match-dock-clubs img.club-logo-tsr { padding: 0; transform: scale(1.18); }
.football-match-dock-clubs strong {
  min-width: 0;
  margin: 0;
  line-height: 1.05;
  text-align: center;
}

@media (max-width: 760px) {
  .football-match-dock-clubs { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: .35rem; }
  .football-shell .football-match-dock-clubs img { width: 30px; height: 30px; }
  .football-match-dock-copy > small { display: none; }
  .football-match-dock-clubs strong { font-size: clamp(.72rem, 3.1vw, .92rem); }
}

/* Football v13 — finitions pleine largeur et fiche du prochain match */
.football-club-stamp {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.football-footer-spacer {
  width: 100%;
  min-height: clamp(120px, 14vw, 210px);
  background: #fff;
}

.football-floating-card.football-match-dock {
  width: min(760px, calc(100% - 12rem));
}

.football-match-dock-clubs strong {
  overflow: hidden;
  font-size: clamp(.86rem, 1.05vw, 1.08rem);
  letter-spacing: -.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .football-floating-card.football-match-dock {
    right: 1.5rem;
    left: auto;
    width: min(680px, calc(100% - 3rem));
  }
}

@media (max-width: 760px) {
  .football-club-stamp {
    margin-right: 0;
    margin-left: 0;
    border-radius: 0;
  }
  .football-footer-spacer { min-height: 120px; }
  .football-floating-card.football-match-dock {
    right: .75rem;
    left: .75rem;
    width: auto;
  }
  .football-match-dock-clubs {
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: .28rem;
  }
  .football-shell .football-match-dock-clubs img {
    width: 26px;
    height: 26px;
  }
  .football-match-dock-clubs strong {
    font-size: clamp(.61rem, 2.55vw, .78rem);
    letter-spacing: -.03em;
    white-space: nowrap;
  }
  .football-match-dock > b {
    min-width: 58px;
    padding: .55rem .5rem;
  }
  .football-page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 10.3vw, 4rem);
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
  }
}

/* Football v14 — sélection première/réserve et classement FFF indisponible */
.football-squad-switch {
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: 0 1rem;
}

.football-squad-switch button {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  color: var(--football-red);
  background: #fff;
  border: 1px solid rgba(254, 30, 41, .3);
  border-radius: 16px;
  font: inherit;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.football-squad-switch button span {
  font-size: .68rem;
  letter-spacing: .08em;
  opacity: .72;
}

.football-squad-switch button:hover,
.football-squad-switch button:focus-visible,
.football-squad-switch button.is-active {
  color: #fff;
  background: var(--football-red);
  box-shadow: 0 18px 40px rgba(254, 30, 41, .2);
  transform: translateY(-2px);
}

.football-squad-panel { animation: footballPanelIn .5s cubic-bezier(.2,.75,.2,1) both; }
.football-squad-panel[hidden] { display: none; }

.football-standings-unavailable {
  min-height: 460px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: clamp(2.5rem, 7vw, 6rem) 1.25rem;
  color: var(--football-red);
  background: #fff;
  border: 1px solid rgba(254, 30, 41, .2);
  border-radius: 20px;
  text-align: center;
}

.football-unavailable-crest {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 1.4rem;
  background: #fff;
  border: 1px solid rgba(254, 30, 41, .22);
  border-radius: 50%;
}

.football-unavailable-crest img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.football-standings-unavailable > p:first-of-type {
  margin: 0 0 .65rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.football-standings-unavailable h3 {
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(3rem, 7vw, 6.4rem);
  letter-spacing: -.03em;
  line-height: .9;
  text-transform: uppercase;
}

.football-standings-unavailable h3 + p {
  max-width: 680px;
  margin: 1.2rem 0 0;
  color: #666;
  line-height: 1.6;
}

.football-standings-unavailable a {
  margin-top: 1.7rem;
  padding: .9rem 1.1rem;
  color: #fff;
  background: var(--football-red);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .football-squad-switch {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }
  .football-squad-switch button { min-height: 74px; padding: 1rem 1.1rem; }
  .football-standings-unavailable { min-height: 390px; border-radius: 14px; }
}

/* Football v15 — vrais écussons PNG rouges et blancs, sans filtre navigateur */
.club-logo-tone {
  min-width: 0;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.club-logo-tone > img {
  grid-area: 1 / 1;
  filter: none !important;
}

.club-logo-tone-white { display: none !important; }

:is(
  .football-match-card,
  .football-match-dock,
  .football-fixture-row:hover,
  .football-standings-table tbody tr:hover,
  .football-standings-table tbody tr.is-tsr
) .club-logo-tone-red { display: none !important; }

:is(
  .football-match-card,
  .football-match-dock,
  .football-fixture-row:hover,
  .football-standings-table tbody tr:hover,
  .football-standings-table tbody tr.is-tsr
) .club-logo-tone-white { display: block !important; }

.table-team-logo > .club-logo-tone,
.match-club i.club-badge > .club-logo-tone,
.team-logo.home-club-logo > .club-logo-tone,
.ranking-mini-logo.home-club-logo > .club-logo-tone,
.football-unavailable-crest > .club-logo-tone {
  width: 100%;
  height: 100%;
}

.club-logo-tone img.club-logo-tsr {
  padding: 5px !important;
  transform: none !important;
}

.football-match-card .match-club i.club-badge {
  background: transparent;
  border-color: rgba(255, 255, 255, .72);
}

.football-match-card .match-club i.club-badge img {
  padding: 9px;
  background: transparent;
}

.fixture-team > .club-logo-tone {
  width: 48px;
  height: 48px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(254, 30, 41, .16);
  border-radius: 50%;
}

.fixture-team > .club-logo-tone img {
  width: 100%;
  height: 100%;
  flex: none;
  padding: 5px;
  background: transparent;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.football-fixture-row:hover .fixture-team > .club-logo-tone {
  background: transparent;
  border-color: rgba(255, 255, 255, .82);
}

.football-standings-table tbody tr:hover .table-team-logo,
.football-standings-table tbody tr.is-tsr .table-team-logo {
  background: transparent;
  border-color: rgba(255, 255, 255, .8);
}

.football-match-dock-clubs > .club-logo-tone {
  width: 42px;
  height: 42px;
}

.football-match-dock-clubs > .club-logo-tone img {
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .fixture-team > .club-logo-tone {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .fixture-team > .club-logo-tone img { padding: 4px; }
  .football-match-dock-clubs > .club-logo-tone {
    width: 26px;
    height: 26px;
  }
}

/* Sections aquatiques — jumelles visuelles de la page football */
.aquatic-page {
  overflow-x: hidden;
}

.aquatic-page .football-carousel-media img {
  object-position: center;
  filter: grayscale(1) contrast(1.08);
}

.football-home-page .football-carousel-media img {
  filter: grayscale(1) contrast(1.08);
}

.aquatic-page .football-carousel-shade {
  background:
    linear-gradient(90deg, rgba(254, 30, 41, .98) 0%, rgba(254, 30, 41, .82) 42%, rgba(254, 30, 41, .2) 100%),
    linear-gradient(0deg, rgba(254, 30, 41, .6), transparent 55%);
}

.aquatic-page .football-match-dock-copy strong {
  white-space: normal;
}

.aquatic-card-visual {
  min-height: 146px;
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(254, 30, 41, .08), rgba(254, 30, 41, .015));
}

.aquatic-card-visual span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(254, 30, 41, .2);
  border-radius: 50%;
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
}

.aquatic-card-visual b {
  color: var(--red);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  letter-spacing: .08em;
}

.aquatic-card-year {
  margin: .75rem 0 1.15rem;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  font-size: clamp(4.3rem, 9vw, 8.8rem);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .88;
}

.aquatic-page .football-interface-heading h2,
.aquatic-page .football-season-head h2,
.aquatic-page .football-closing-lines {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .aquatic-page .football-carousel-media img {
    object-position: 55% center;
  }

  .aquatic-page .football-match-dock-copy strong {
    font-size: .82rem;
  }

  .aquatic-card-visual {
    min-height: 112px;
    padding: .8rem;
  }

  .aquatic-card-visual span {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .aquatic-card-year {
    -webkit-text-stroke-width: 1.5px;
    font-size: clamp(4.1rem, 24vw, 7rem);
  }
}

/* Accueil omnisports — interface jumelle et ouverture façon habillage TV */
.home-page {
  overflow-x: hidden;
}

.home-loader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #fe1e29;
  isolation: isolate;
}

.home-loader::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(171,0,10,.14) 10px, transparent 11px);
  background-size: auto, auto 120px;
  content: "";
  animation: home-tv-scan 1.6s linear infinite;
}

.home-loader::after {
  display: none;
  content: none;
}

.home-is-loading {
  overflow: hidden;
}

.home-loader-lockup {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.home-loader-lockup img {
  width: clamp(190px, 27vw, 390px);
  aspect-ratio: 1;
  object-fit: contain;
  opacity: 0;
  transform: scale(.74);
  filter: drop-shadow(0 0 32px rgba(255,255,255,.14));
  animation: home-logo-on .95s .2s cubic-bezier(.16,1,.3,1) forwards;
}

.home-loader-kicker,
.home-loader-lockup strong {
  font-size: clamp(.65rem, 1.2vw, .82rem);
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.home-loader-kicker {
  opacity: 0;
  transform: translateY(12px);
  animation: home-loader-copy .55s .55s ease forwards;
}

.home-loader-lockup strong {
  opacity: 0;
  transform: translateY(-12px);
  animation: home-loader-copy .55s .72s ease forwards;
}

.home-loader.is-leaving {
  pointer-events: none;
  animation: home-tv-out .82s cubic-bezier(.7,0,.3,1) forwards;
}

.home-carousel .football-carousel-media img {
  object-position: center;
  filter: grayscale(1) contrast(1.08);
}

.home-carousel .football-carousel-shade {
  background:
    linear-gradient(90deg, rgba(254,30,41,.98) 0%, rgba(254,30,41,.79) 43%, rgba(254,30,41,.2) 100%),
    linear-gradient(0deg, rgba(254,30,41,.65), transparent 55%);
}

.home-carousel .football-slide h1,
.home-carousel .football-slide h2 {
  max-width: 1250px;
  font-size: clamp(4rem, 9vw, 9.2rem);
}

.home-club-dock .football-match-dock-copy strong {
  white-space: normal;
}

.home-sections {
  padding: clamp(5rem, 10vw, 10rem) clamp(1rem, 5vw, 5rem);
  background: #fff;
}

.home-sections-heading {
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 2rem;
  margin: 0 auto clamp(2.5rem, 6vw, 5rem);
}

.home-sections-heading p {
  grid-column: 1 / -1;
  margin: 0 0 -.8rem;
  color: #fe1e29;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home-sections-heading h2 {
  margin: 0;
  color: #fe1e29;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4rem, 9vw, 8.5rem);
  letter-spacing: -.05em;
  line-height: .82;
  text-transform: uppercase;
}

.home-sections-heading > span {
  max-width: 470px;
  padding-bottom: .6rem;
  color: #fe1e29;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
}

.home-sections-grid {
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 auto;
}

.home-sport-card {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  color: #fff;
  background: #fe1e29;
  border-radius: 20px;
  text-decoration: none;
  isolation: isolate;
}

.home-sport-card > img,
.home-sport-card-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-sport-card > img {
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.05);
  transition: transform .75s cubic-bezier(.16,1,.3,1);
}

.home-sport-card-shade {
  z-index: -1;
  background: linear-gradient(0deg, rgba(254,30,41,.98) 0%, rgba(254,30,41,.78) 35%, rgba(254,30,41,.16) 100%);
}

.home-sport-card small {
  position: absolute;
  left: clamp(1.6rem, 3vw, 2.6rem);
  top: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-sport-card h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -.035em;
  line-height: .88;
  text-transform: uppercase;
}

.home-sport-card p {
  margin: 1rem 0 2rem;
  font-weight: 750;
}

.home-sport-card b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.55);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-sport-card b i {
  font-size: 1.45rem;
  font-style: normal;
  transition: transform .25s ease;
}

.home-sport-card:hover > img,
.home-sport-card:focus-visible > img { transform: scale(1.12); }
.home-sport-card:hover b i,
.home-sport-card:focus-visible b i { transform: translate(5px, -5px); }

@keyframes home-logo-on {
  0% { opacity: 0; clip-path: inset(48% 0); transform: scale(.74); }
  35% { opacity: 1; clip-path: inset(47% 0); }
  100% { opacity: 1; clip-path: inset(0); transform: scale(1); }
}

@keyframes home-loader-copy {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-tv-scan {
  to { background-position: center, 0 120px; }
}

@keyframes home-tv-out {
  0% { clip-path: inset(0); opacity: 1; }
  58% { clip-path: inset(48.9% 0); opacity: 1; }
  78% { clip-path: inset(49.7% 14%); opacity: .82; }
  100% { clip-path: inset(50% 50%); opacity: 0; }
}

@media (max-width: 900px) {
  .home-sections-heading { grid-template-columns: 1fr; }
  .home-sections-heading p { margin-bottom: 0; }
  .home-sections-grid { grid-template-columns: 1fr; }
  .home-sport-card { min-height: 460px; }
}

@media (max-width: 760px) {
  .home-loader-lockup img { width: min(64vw, 280px); }
  .home-carousel .football-carousel-media img { object-position: 52% center; }
  .home-carousel .football-slide h1,
  .home-carousel .football-slide h2 {
    font-size: clamp(3.15rem, 15.5vw, 5.2rem);
    overflow-wrap: anywhere;
  }
  .home-club-dock .football-match-dock-copy strong { font-size: .78rem; }
  .home-sections { padding-inline: .75rem; }
  .home-sections-heading { padding-inline: .25rem; }
  .home-sections-heading h2 { font-size: clamp(3.6rem, 18vw, 5.8rem); }
  .home-sport-card { min-height: 420px; border-radius: 15px; }
  .home-sport-card h3 { font-size: clamp(3.2rem, 16vw, 4.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  .home-loader::before,
  .home-loader::after,
  .home-loader-lockup img,
  .home-loader-kicker,
  .home-loader-lockup strong { animation-duration: .01ms !important; animation-delay: 0s !important; }
  .home-loader.is-leaving { animation-duration: .15s !important; }
}

/* Water-polo — palmarès historique */
.waterpolo-palmares {
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
  color: #fff;
  background: #fe1e29;
}

.waterpolo-palmares > header {
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 2rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.waterpolo-palmares > header > p {
  grid-column: 1 / -1;
  margin: 0 0 -.8rem;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.waterpolo-palmares h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.2rem, 9vw, 8.8rem);
  letter-spacing: -.055em;
  line-height: .82;
  text-transform: uppercase;
}

.waterpolo-palmares > header > span {
  max-width: 470px;
  padding-bottom: .6rem;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
}

.waterpolo-palmares-grid {
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.6);
}

.waterpolo-palmares-grid article {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,.6);
}

.waterpolo-palmares-grid article:first-child { padding-left: 0; }
.waterpolo-palmares-grid article:last-child { padding-right: 0; border-right: 0; }
.waterpolo-palmares-grid article > span { font-size: .75rem; font-weight: 950; }

.waterpolo-palmares-grid strong {
  margin: auto 0 1.5rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.5rem, 8vw, 8rem);
  letter-spacing: -.045em;
  line-height: .72;
}

.waterpolo-palmares-grid strong i { font-size: .42em; font-style: normal; }
.waterpolo-palmares-grid sup { font-size: .34em; vertical-align: super; }
.waterpolo-palmares-grid h3 { margin: 0 0 .75rem; font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.05; text-transform: uppercase; }
.waterpolo-palmares-grid p { max-width: 350px; margin: 0; color: rgba(255,255,255,.84); }

@media (max-width: 900px) {
  .waterpolo-palmares > header { grid-template-columns: 1fr; }
  .waterpolo-palmares > header > p { margin-bottom: 0; }
  .waterpolo-palmares-grid { grid-template-columns: 1fr; }
  .waterpolo-palmares-grid article,
  .waterpolo-palmares-grid article:first-child,
  .waterpolo-palmares-grid article:last-child {
    min-height: 330px;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.6);
  }
  .waterpolo-palmares-grid article:last-child { border-bottom: 0; }
}

/* Water-polo — affiche officielle */
.waterpolo-poster {
  max-width: 1400px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
  color: #fe1e29;
  background: #fff;
}

.waterpolo-poster-copy > p:first-child {
  margin: 0 0 1.5rem;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.waterpolo-poster-copy h2 {
  max-width: 720px;
  margin: 0 0 2rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .86;
  text-transform: uppercase;
}

.waterpolo-poster-copy > p:not(:first-child) {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

.waterpolo-poster dl {
  margin: clamp(2rem, 5vw, 3.5rem) 0 2rem;
  border-top: 1px solid rgba(254, 30, 41, .28);
}

.waterpolo-poster dl div {
  display: grid;
  grid-template-columns: minmax(110px, .7fr) 1.3fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(254, 30, 41, .28);
}

.waterpolo-poster dt {
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.waterpolo-poster dd {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 850;
}

.waterpolo-poster-copy > a {
  display: inline-flex;
  gap: 1.75rem;
  align-items: center;
  justify-content: space-between;
  min-width: min(100%, 330px);
  padding: 1rem 1.2rem;
  color: #fff;
  background: #fe1e29;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease;
}

.waterpolo-poster-copy > a:hover,
.waterpolo-poster-copy > a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(254, 30, 41, .22);
}

.waterpolo-poster figure { margin: 0; }

.waterpolo-poster figure > a {
  display: block;
  padding: clamp(.55rem, 1.2vw, 1rem);
  background: #fe1e29;
  box-shadow: 0 30px 70px rgba(254, 30, 41, .2);
  transition: transform .35s ease, box-shadow .35s ease;
}

.waterpolo-poster figure > a:hover,
.waterpolo-poster figure > a:focus-visible {
  transform: translateY(-6px) rotate(.25deg);
  box-shadow: 0 40px 90px rgba(254, 30, 41, .28);
}

.waterpolo-poster img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.waterpolo-poster figcaption {
  margin-top: .85rem;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .waterpolo-poster {
    grid-template-columns: 1fr;
    padding-inline: clamp(1rem, 5vw, 2.5rem);
  }

  .waterpolo-poster figure {
    width: min(100%, 640px);
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .waterpolo-poster-copy h2 { font-size: clamp(3rem, 17vw, 5rem); }
  .waterpolo-poster dl div { grid-template-columns: 1fr; gap: .35rem; }
}

/* Ajustements typographiques des pages aquatiques */
.aquatic-page .football-slide {
  right: clamp(1.5rem, 5vw, 4rem);
  max-width: none;
}

.aquatic-page .football-slide h1,
.aquatic-page .football-slide h2 {
  max-width: 100%;
  font-size: clamp(4rem, 7vw, 7.2rem);
  overflow-wrap: anywhere;
}

.waterpolo-palmares-grid strong {
  max-width: 100%;
  font-size: clamp(4rem, 6vw, 6.25rem);
  letter-spacing: -.025em;
  line-height: 1;
  overflow-wrap: normal;
}

.waterpolo-palmares-grid h3 {
  overflow-wrap: anywhere;
}

.natation-poster .waterpolo-poster-copy h2 {
  max-width: 100%;
  font-size: clamp(3.25rem, 5vw, 5.4rem);
  line-height: .92;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .aquatic-page .football-slide {
    right: 1rem;
  }

  .waterpolo-palmares-grid strong {
    font-size: clamp(4rem, 16vw, 6.4rem);
    line-height: 1;
  }

  .natation-poster .waterpolo-poster-copy h2 {
    font-size: clamp(3.15rem, 11vw, 5.4rem);
  }
}

@media (max-width: 520px) {
  .aquatic-page .football-slide h1,
  .aquatic-page .football-slide h2 {
    font-size: clamp(2.75rem, 12vw, 4rem);
    line-height: .9;
  }

  .waterpolo-palmares-grid strong {
    font-size: clamp(3.65rem, 18vw, 5.4rem);
  }

  .natation-poster .waterpolo-poster-copy h2 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }
}
