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

/* Navigation principale — menu déroulant « Nos sports ». */
.site-wide-actions .site-sports-menu {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.football-shell .site-wide-actions .site-sports-trigger,
.football-v2 .site-wide-actions .site-sports-trigger {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .7rem .52rem;
  color: #fff;
  background: transparent;
  border: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.site-sports-trigger > span {
  font-size: 1rem;
  line-height: 0;
  transition: transform .2s ease;
}

.site-sports-menu:is(:hover, :focus-within, .is-open) .site-sports-trigger > span {
  transform: rotate(180deg);
}

.site-sports-dropdown {
  position: absolute;
  z-index: 120;
  right: 0;
  top: calc(100% - 6px);
  width: 190px;
  display: grid;
  overflow: hidden;
  padding: .48rem;
  background: #fff;
  border: 1px solid rgba(15, 15, 15, .08);
  border-radius: 15px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
}

.site-sports-menu:is(:hover, :focus-within, .is-open) .site-sports-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.football-shell .site-wide-actions .site-sports-dropdown a,
.football-v2 .site-wide-actions .site-sports-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .78rem .82rem;
  color: #171717;
  border-radius: 10px;
  font-size: .73rem;
  letter-spacing: .05em;
}

.football-shell .site-wide-actions .site-sports-dropdown a::after,
.football-v2 .site-wide-actions .site-sports-dropdown a::after { display: none; }

.football-shell .site-wide-actions .site-sports-dropdown a:hover,
.football-shell .site-wide-actions .site-sports-dropdown a:focus-visible,
.football-v2 .site-wide-actions .site-sports-dropdown a:hover,
.football-v2 .site-wide-actions .site-sports-dropdown a:focus-visible {
  color: #fff;
  background: #fe1e29;
}

@media (max-width: 1280px) and (min-width: 761px) {
  .football-shell .site-wide-actions .site-sports-trigger,
  .football-v2 .site-wide-actions .site-sports-trigger {
    padding-inline: .3rem;
    font-size: .6rem;
    letter-spacing: .045em;
  }
}

@media (max-width: 760px) {
  .site-wide-actions .site-sports-menu { display: none; }
}

* { 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 { position: relative; grid-column: 1 / -1; display: flex; align-items: flex-start; 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-footer-site-mark {
  position: relative;
  width: clamp(220px, 22vw, 320px);
  height: clamp(58px, 6vw, 76px);
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
}

.football-footer-site-mark img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220%;
  max-width: none;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}

.football-footer-owner-label {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  width: clamp(150px, 16vw, 230px);
  height: clamp(62px, 7vw, 92px);
  display: block;
  overflow: hidden;
  transform: translateX(-50%);
}

.football-footer-owner-label img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 122%;
  max-width: none;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}

.football-footer-signoff {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .7rem;
  margin-left: auto;
  text-align: right;
}

.football-footer-partner {
  width: clamp(190px, 20vw, 300px);
  height: auto;
  display: block;
  object-fit: contain;
}

.football-footer-partner-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.football-footer-partner-link {
  display: block;
  border-radius: 4px;
}

.football-footer-partner-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}

.football-footer-partner-note {
  width: clamp(170px, 16vw, 230px);
  height: auto;
  display: block;
  object-fit: contain;
}

.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: stretch; flex-direction: column; }
  .football-footer-site-mark { width: min(280px, 82vw); height: 68px; }
  .football-footer-owner-label { position: relative; left: auto; top: auto; width: min(190px, 62vw); height: 76px; align-self: center; margin: .3rem 0 .8rem; transform: none; }
  .football-footer-signoff { width: 100%; align-items: flex-end; align-self: stretch; }
  .football-footer-partner { width: min(260px, 82vw); }
  .football-footer-partner-note { width: min(210px, 70vw); }
}

@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-quick-links a[href="water-polo.html"] strong {
  font-size: clamp(2.4rem, 3.3vw, 3rem);
  white-space: nowrap;
}
.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: none; }
.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-social {
  width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: 1rem;
}
.football-footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.75);
  border-radius: 50%;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.football-footer-social a:hover,
.football-footer-social a:focus-visible {
  color: var(--football-red);
  background: #fff;
  transform: translateY(-2px);
}
.football-footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}
.football-footer-social svg rect,
.football-footer-social svg circle {
  fill: none;
}
.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;
  }
}

/* Pied de page — logo seul en haut, coordonnées sur une seule ligne en dessous */
@media (min-width: 1041px) {
  .football-mega-footer {
    grid-template-columns: minmax(370px, 1.3fr) repeat(3, minmax(0, 1fr));
  }
}

.football-footer-brand {
  width: 100%;
  max-width: 380px;
  display: grid;
  grid-template-columns: 88px minmax(150px, 1fr) 100px;
  grid-template-rows: 170px auto;
  align-items: center;
  gap: .8rem .75rem;
}

.football-footer-brand .football-footer-logo {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: start;
}

.football-footer-map {
  width: 96px;
  max-width: 100%;
  display: block;
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  color: #fff;
  text-decoration: none;
}

.football-footer-map svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.football-footer-map-region {
  fill: rgba(169, 0, 10, .22);
  fill-rule: evenodd;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill .25s ease, stroke-width .25s ease;
}

.football-footer-map-leader {
  fill: none;
  stroke: rgba(255,255,255,.62);
  stroke-width: .8;
  stroke-dasharray: 2 2;
}

.football-footer-map-pulse {
  fill: rgba(255,255,255,.16);
  stroke: rgba(255,255,255,.35);
  stroke-width: .8;
}

.football-footer-map-ring {
  fill: #fe1e29;
  stroke: #fff;
  stroke-width: 1.8;
}

.football-footer-map-dot { fill: #fff; }

.football-footer-map text {
  fill: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .04em;
}

.football-footer-map-place { font-size: 8px; }
.football-footer-map-subplace { font-size: 5.5px; }
.football-footer-map-region-name {
  fill: rgba(255,255,255,.58) !important;
  font-size: 5.2px;
  letter-spacing: .08em !important;
}

.football-footer-map:hover .football-footer-map-region,
.football-footer-map:focus-visible .football-footer-map-region {
  fill: rgba(169, 0, 10, .42);
  stroke-width: 2;
}

.football-footer-map:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.football-footer-address {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin: 0;
  color: #fff;
  font-size: .56rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.5;
  text-transform: uppercase;
}

.football-footer-address span {
  display: block;
  white-space: nowrap;
}

.football-footer-brand .football-footer-social {
  grid-column: 1;
  grid-row: 2;
  width: 88px;
  justify-content: flex-start;
  margin-top: 0;
}

@media (max-width: 420px) {
  .football-footer-brand {
    max-width: 100%;
    grid-template-columns: 82px minmax(0, 1fr) 84px;
    grid-template-rows: 140px auto;
    gap: .65rem .45rem;
  }

  .football-footer-brand .football-footer-logo {
    width: 140px;
    height: 140px;
  }

  .football-footer-brand .football-footer-social {
    width: 82px;
    gap: .5rem;
  }
  .football-footer-map { width: 84px; }
  .football-footer-address {
    font-size: .48rem;
    line-height: 1.45;
  }
}

/* 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,
.home-carousel[data-active="1"] .football-carousel-media img,
.home-carousel[data-active="2"] .football-carousel-media img {
  object-fit: contain;
  object-position: center;
  filter: none;
  animation: none;
  transform: none;
  transition: none;
}

.home-carousel .football-carousel-shade,
.home-carousel[data-active="1"] .football-carousel-shade,
.home-carousel[data-active="2"] .football-carousel-shade {
  background: none;
  transition: none;
}

.home-carousel,
.home-carousel .football-carousel-media { background: #f4f3f1; }
.home-carousel::before { background: none; }
.home-carousel::after { display: none; }

.home-carousel-vertical-tag {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: clamp(.75rem, 1.6vw, 2rem);
  margin: 0;
  padding-inline-start: clamp(.55rem, .8vw, .85rem);
  color: #fff;
  border-inline-start: 3px solid #ff1f2b;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(.48rem, .64vw, .72rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .95);
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  pointer-events: none;
}

.home-carousel-vertical-short { display: none; }

.football-v2 .home-carousel {
  min-height: 0;
  aspect-ratio: 851 / 315;
}

.home-carousel .football-slide,
.home-carousel .football-slider-status,
.home-carousel .football-slider-arrows,
.home-carousel .football-hero-index,
.home-carousel .home-club-dock { display: none; }

.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); }
  .football-v2 .home-carousel {
    min-height: 320px;
    aspect-ratio: auto;
  }
  .home-carousel .football-carousel-media img { object-position: 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; }
}

/* Pages équipements — piscine et stade */
home-header,
home-footer { display: block; }

.site-wide-actions {
  gap: .35rem;
  white-space: nowrap;
}

.football-shell .site-wide-actions a {
  padding-inline: .78rem;
  font-size: .65rem;
}

.football-shell .site-wide-actions .header-facility-link {
  padding-inline: .35rem;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.football-shell .site-wide-actions .header-facility-link.is-current {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45rem;
}

.football-shell .site-wide-actions .header-facility-link:hover,
.football-shell .site-wide-actions .header-facility-link:focus-visible {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: .4rem;
}

.football-shell .site-wide-left-nav {
  gap: 0;
  margin-left: .65rem;
}

.football-shell .site-wide-left-nav a {
  padding-inline: .42rem;
  font-size: .62rem;
  white-space: nowrap;
}

.club-content-page main {
  overflow: hidden;
  background: #f5f3f0;
}

.club-content-hero {
  position: relative;
  min-height: min(650px, 78svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  margin: 0 1.25rem clamp(4rem, 8vw, 8rem);
  padding: clamp(8rem, 17vh, 12rem) clamp(1rem, 7vw, 7rem) clamp(3rem, 7vw, 6rem);
  color: #fff;
  background: #fe1e29;
  border-radius: 0 0 14px 14px;
  isolation: isolate;
}

.club-content-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 78% 26%, rgba(255,255,255,.17), transparent 25%), repeating-linear-gradient(135deg, transparent 0 28px, rgba(255,255,255,.035) 29px 30px);
  content: "";
}

.club-content-hero > p {
  margin: 0 0 1rem;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.club-content-hero h1 {
  max-width: 1200px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(5rem, 12vw, 11rem);
  letter-spacing: -.045em;
  line-height: .78;
  text-transform: uppercase;
}

.club-content-hero > span {
  max-width: 660px;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 800;
}

.club-content-panel {
  max-width: 1200px;
  display: grid;
  grid-template-columns: .2fr .8fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  margin: 0 auto clamp(5rem, 10vw, 9rem);
  padding: 0 clamp(1rem, 5vw, 5rem);
  color: #fe1e29;
}

.club-content-panel > span {
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .16em;
}

.club-content-panel h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .95;
  text-transform: uppercase;
}

.club-content-panel p {
  max-width: 700px;
  margin: 0 0 2rem;
  color: #666;
  font-size: 1.08rem;
}

.club-content-panel a {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  padding: .9rem 1.1rem;
  color: #fff;
  background: #fe1e29;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.facility-page {
  background: #f5f3f0;
}

.facility-page main {
  overflow: hidden;
  background: #f5f3f0;
}

.facility-visual {
  width: calc(100% - 2.5rem);
  aspect-ratio: 851 / 315;
  overflow: hidden;
  margin: 0 1.25rem clamp(4rem, 7vw, 7rem);
  background: #fff;
  border-radius: 0 0 14px 14px;
}

.facility-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}

.facility-intro {
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: end;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
  color: #fe1e29;
}

.facility-intro header > p {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.facility-intro h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(5rem, 11vw, 10rem);
  letter-spacing: -.05em;
  line-height: .78;
  text-transform: uppercase;
}

.facility-copy {
  padding-bottom: .7rem;
  color: #262626;
}

.facility-copy p {
  max-width: 640px;
  margin: 1.25rem 0 0;
  color: #696969;
  font-size: 1.05rem;
}

.facility-copy .facility-lead {
  margin-top: 0;
  color: #fe1e29;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: 900;
  line-height: 1.2;
}

.facility-links {
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 auto clamp(5rem, 10vw, 9rem);
  padding: 0 clamp(1rem, 5vw, 5rem);
}

.facility-links-single {
  grid-template-columns: minmax(0, 1fr);
}

.facility-links a {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  color: #fff;
  background: #fe1e29;
  border-radius: 18px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.facility-links a:hover,
.facility-links a:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(254,30,41,.2);
}

.facility-links small,
.facility-links span {
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.facility-links strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  letter-spacing: -.04em;
  line-height: .85;
  text-transform: uppercase;
}

.facility-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  color: #fff;
  background: #111;
}

.facility-switcher a {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: .2rem 2rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-right: 1px solid rgba(255,255,255,.25);
  text-decoration: none;
}

.facility-switcher a:last-child { border-right: 0; }
.facility-switcher small { color: rgba(255,255,255,.55); text-transform: uppercase; }
.facility-switcher strong { font-size: clamp(1.3rem, 2.5vw, 2.2rem); text-transform: uppercase; }
.facility-switcher span { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 2rem; }

@media (max-width: 1360px) {
  .football-shell .site-wide-actions a { padding-inline: .55rem; font-size: .58rem; }
}

@media (max-width: 900px) {
  .facility-intro { grid-template-columns: 1fr; }
  .facility-links { grid-template-columns: 1fr; }
  .club-content-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .facility-visual {
    width: 100%;
    min-height: 320px;
    aspect-ratio: auto;
    margin: 0 0 4rem;
    border-radius: 0;
  }
  .facility-visual img { object-fit: contain; }
  .facility-intro h1 { font-size: clamp(4.2rem, 20vw, 6.5rem); }
  .facility-links { padding-inline: .75rem; }
  .facility-links a { min-height: 250px; border-radius: 14px; }
  .facility-switcher { grid-template-columns: 1fr; }
  .facility-switcher a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .facility-switcher a:last-child { border-bottom: 0; }
  .club-content-hero { min-height: 520px; margin-inline: 0; padding-inline: 1rem; border-radius: 0; }
  .club-content-hero h1 { font-size: clamp(4rem, 18vw, 6.2rem); }
}

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

/* Bannières des trois disciplines — visuel intégral, sans filtre ni mouvement */
:is(.football-home-page, .aquatic-page) #contenu {
  padding-top: 112px;
  background: linear-gradient(to bottom, #fff 0 112px, var(--football-cream) 112px);
}

.football-v2 .section-static-banner {
  min-height: 0;
  aspect-ratio: 850 / 315;
  background: #f4f3f1;
}

.section-static-banner + .football-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transform: none;
}

.facility-pool-page .section-static-banner + .football-marquee {
  margin-bottom: 0;
  color: #fff;
  background: #000;
}

.pool-rating {
  display: grid;
  place-items: center;
  gap: .75rem;
  padding: clamp(2rem, 4vw, 3.5rem) 1rem;
  color: #080808;
  background: #fff;
  text-align: center;
}

.pool-rating h2,
.pool-heritage-statement h2,
.pool-amenities h2 {
  margin: 0;
  font-family: var(--football-display), Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 3.2rem);
  font-weight: 950;
  letter-spacing: -.015em;
  line-height: 1;
  text-transform: uppercase;
}

.pool-rating-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  font-size: clamp(1.15rem, 2.3vw, 2rem);
}

.pool-rating-score strong { font-weight: 850; white-space: nowrap; }
.pool-rating-score strong small { font-size: .62em; font-weight: 800; }
.pool-rating-score > span:last-child { white-space: nowrap; }
.pool-rating-stars { display: flex; align-items: center; gap: .08em; }
.pool-rating-stars i { color: #080808; font-style: normal; }
.pool-rating-stars i.is-partial {
  color: transparent;
  background: linear-gradient(90deg, #080808 60%, #d8d8d8 60%);
  background-clip: text;
  -webkit-background-clip: text;
}

@media (max-width: 520px) {
  .pool-rating { gap: .65rem; padding-block: 1.7rem; }
  .pool-rating h2,
  .pool-heritage-statement h2,
  .pool-amenities h2 { max-width: 350px; font-size: 1.35rem; line-height: 1.05; }
  .pool-rating-score { gap: .48rem; font-size: 1.05rem; }
}

.section-static-banner .football-carousel-media {
  transform: none;
  will-change: auto;
}

.section-static-banner .football-carousel-media img,
.section-static-banner[data-active="1"] .football-carousel-media img,
.section-static-banner[data-active="2"] .football-carousel-media img {
  object-fit: contain;
  object-position: center;
  filter: none;
  animation: none;
  transform: none;
  transition: none;
}

.section-static-banner .football-carousel-shade,
.section-static-banner[data-active="1"] .football-carousel-shade,
.section-static-banner[data-active="2"] .football-carousel-shade,
.section-static-banner::before {
  background: none;
  transition: none;
}

.section-static-banner::after,
.section-static-banner .football-slide,
.section-static-banner .football-slider-status,
.section-static-banner .football-slider-arrows,
.section-static-banner .football-hero-index,
.section-static-banner .football-floating-card {
  display: none;
}

@media (max-width: 760px) {
  :is(.football-home-page, .aquatic-page) #contenu {
    padding-top: 84px;
    background: linear-gradient(to bottom, #fff 0 84px, var(--football-cream) 84px);
  }
}

.football-compact-links {
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: clamp(4rem, 9vw, 8rem);
}

.football-compact-links a {
  min-height: 68px;
  align-items: center;
  justify-content: center;
  padding: .85rem 1rem;
  color: var(--football-red);
  border: 1px solid var(--football-red);
  border-radius: 10px;
  box-shadow: none;
  text-align: center;
}

.football-compact-links a::before {
  background: var(--football-red);
}

.football-compact-links strong {
  font-family: inherit;
  font-size: .82rem;
  letter-spacing: .08em;
  line-height: 1;
}

@media (max-width: 560px) {
  .football-compact-links {
    grid-template-columns: 1fr;
  }

  .football-compact-links a {
    min-height: 58px;
  }
}

/* Tableau de saison compact de la page football */
.football-season-scoreboard {
  position: relative;
  max-width: 1380px;
  min-height: 250px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.25rem, 4vw, 4rem);
  color: #171717;
  background: #fff;
  border: 1px solid #e4e4e4;
  box-shadow: 0 22px 55px rgba(254,30,41,.07);
}

.football-scoreboard-ranking,
.football-scoreboard-next {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.football-scoreboard-title {
  color: var(--football-red);
  font-size: .9rem;
  font-weight: 950;
  letter-spacing: -.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.football-scoreboard-title:hover,
.football-scoreboard-title:focus-visible {
  text-decoration: underline;
  text-underline-offset: .3rem;
}

.football-scoreboard-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1rem;
  margin: auto 0;
}

.football-scoreboard-stats span {
  display: grid;
  justify-items: center;
}

.football-scoreboard-stats small {
  font-size: .78rem;
  text-transform: uppercase;
}

.football-scoreboard-stats strong {
  color: var(--football-red);
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  letter-spacing: -.06em;
  line-height: .9;
}

.football-scoreboard-divider {
  width: 2px;
  height: calc(100% - 3.4rem);
  align-self: end;
  background: var(--football-red);
}

.football-scoreboard-brand {
  position: absolute;
  left: 50%;
  top: 1rem;
  z-index: 1;
  width: clamp(150px, 14vw, 205px);
  height: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 9px 15px;
  background: var(--football-red);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(254, 30, 41, .2);
  text-decoration: none;
  transform: translateX(-50%);
  transition: box-shadow .2s ease, transform .2s ease;
}

.football-scoreboard-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.football-scoreboard-brand:hover,
.football-scoreboard-brand:focus-visible {
  box-shadow: 0 16px 34px rgba(254, 30, 41, .3);
  transform: translateX(-50%) translateY(-2px);
}

.football-scoreboard-next time {
  margin-top: .25rem;
  font-size: clamp(.88rem, 1.5vw, 1rem);
}

.football-scoreboard-next > small {
  margin-top: .3rem;
  color: var(--football-red);
  font-size: .67rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.football-match-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(48px, 1fr));
  gap: .35rem;
  width: min(100%, 330px);
  margin-top: .65rem;
  padding: .5rem .65rem;
  background: #f7f7f8;
  border-top: 1px solid #e6e6e8;
  border-bottom: 1px solid #e6e6e8;
  font-variant-numeric: tabular-nums;
}

.football-match-countdown > span {
  display: grid;
  justify-items: center;
  gap: .05rem;
}

.football-match-countdown > span[hidden],
.football-match-countdown > p[hidden] {
  display: none;
}

.football-match-countdown strong {
  color: var(--football-red);
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1;
}

.football-match-countdown small {
  color: #4c4c52;
  font-size: .58rem;
  line-height: 1;
  text-transform: lowercase;
}

.football-match-countdown p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--football-red);
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  font-weight: 950;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}

.football-match-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: .55rem;
  color: #202024;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.football-match-location svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: var(--football-red);
}

.football-match-location:hover,
.football-match-location:focus-visible {
  color: var(--football-red);
  text-decoration: underline;
  text-underline-offset: .2rem;
}

.football-scoreboard-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: .5rem;
}

.football-scoreboard-teams > span {
  width: min(150px, 16vw);
  display: grid;
  justify-items: center;
  gap: .35rem;
}

.football-scoreboard-teams img {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: contain;
}

.football-scoreboard-teams b {
  font-size: .7rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.football-scoreboard-teams em {
  color: var(--football-red);
  font-size: .86rem;
  font-style: normal;
  font-weight: 950;
}

/* Affiche du match : blasons plus présents, score renforcé et clubs sur une ligne. */
.football-home-page .football-scoreboard-teams {
  width: 100%;
  justify-content: space-between;
  gap: .5rem;
}

.football-home-page .football-scoreboard-teams > span {
  width: min(210px, 19vw);
  flex: 0 1 210px;
}

.football-home-page .football-scoreboard-teams img {
  width: 118px;
  height: 118px;
}

.football-home-page .football-scoreboard-teams img.club-logo-tsr {
  transform: scale(1.85);
}

.football-home-page .football-scoreboard-teams b {
  max-width: 100%;
  font-size: clamp(.62rem, .72vw, .74rem);
  line-height: 1;
  white-space: nowrap;
}

.football-home-page .football-scoreboard-teams em {
  min-width: 110px;
  font-size: clamp(3rem, 4.2vw, 4.4rem);
  letter-spacing: -.08em;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .football-season-scoreboard {
    width: calc(100% - 1.5rem);
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .football-scoreboard-brand {
    position: relative;
    left: auto;
    top: auto;
    grid-row: 1;
    justify-self: center;
    transform: none;
  }

  .football-scoreboard-brand:hover,
  .football-scoreboard-brand:focus-visible { transform: translateY(-2px); }

  .football-scoreboard-ranking { grid-row: 2; min-height: 160px; }
  .football-scoreboard-divider { width: 100%; height: 2px; }
  .football-scoreboard-next { min-height: 225px; }
  .football-scoreboard-teams > span { width: 110px; }
  .football-scoreboard-teams img { width: 64px; height: 64px; }
  .football-match-countdown { width: min(100%, 290px); }

  .football-home-page .football-scoreboard-teams {
    justify-content: space-between;
    gap: .2rem;
  }

  .football-home-page .football-scoreboard-teams > span {
    width: calc((100% - 70px) / 2);
    min-width: 0;
  }

  .football-home-page .football-scoreboard-teams img {
    width: 90px;
    height: 90px;
  }

  .football-home-page .football-scoreboard-teams img.club-logo-tsr {
    transform: scale(1.78);
  }

  .football-home-page .football-scoreboard-teams b {
    font-size: clamp(.5rem, 2.25vw, .62rem);
  }

  .football-home-page .football-scoreboard-teams em {
    min-width: 70px;
    font-size: 2.4rem;
  }
}

/* Tableau de synthèse des sections aquatiques, aligné sur celui du football */
.aquatic-season-scoreboard {
  width: calc(100% - clamp(2rem, 8vw, 8rem));
  margin-top: clamp(3.5rem, 7vw, 7rem);
}

.aquatic-season-scoreboard .football-scoreboard-stats strong {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.aquatic-scoreboard-practice {
  justify-content: flex-start;
}

.aquatic-scoreboard-symbols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  margin: auto 0 .65rem;
  color: var(--football-red);
}

.aquatic-scoreboard-symbols span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(254, 30, 41, .28);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
}

.aquatic-scoreboard-symbols b {
  font-family: var(--football-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-style: italic;
  letter-spacing: .08em;
}

.aquatic-scoreboard-practice h2 {
  margin: 0;
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  letter-spacing: -.025em;
  line-height: .95;
  text-transform: uppercase;
}

.aquatic-scoreboard-practice p {
  margin: .5rem 0 0;
  color: #686868;
  font-size: .9rem;
}

.waterpolo-scoreboard-next time {
  margin-top: .35rem;
}

.waterpolo-scoreboard-next > small {
  margin-top: .2rem;
}

.waterpolo-scoreboard-next .football-scoreboard-teams {
  margin-top: auto;
}

.waterpolo-opponent-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--football-red);
  border: 2px solid rgba(254, 30, 41, .35);
  border-radius: 50%;
  font-family: var(--football-display);
  font-size: 2rem;
  font-style: normal;
  font-weight: 900;
}

.water-polo-page .football-compact-links a[aria-disabled="true"] {
  cursor: default;
}

.water-polo-page .football-compact-links a[aria-disabled="true"]:hover,
.water-polo-page .football-compact-links a[aria-disabled="true"]:focus-visible {
  color: var(--football-red);
  background: transparent;
}

/* Natation — accès Effectif et ruban horizontal des catégories */
.natation-page .natation-quick-links {
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.natation-page .natation-quick-links a[aria-disabled="true"] { cursor: default; }

.natation-page .natation-quick-links a[aria-disabled="true"]:hover,
.natation-page .natation-quick-links a[aria-disabled="true"]:focus-visible {
  color: var(--football-red);
  background: transparent;
}

.natation-page .natation-quick-links a[aria-disabled="true"]::before { display: none; }

.natation-effectif-page .natation-effectif-hero {
  background-image: url("banniere-natation.png");
  background-position: center;
}

.natation-effectif-page .natation-effectif-hero::before {
  background:
    linear-gradient(90deg, rgba(254, 30, 41, .98) 0%, rgba(254, 30, 41, .84) 48%, rgba(254, 30, 41, .42) 100%),
    linear-gradient(0deg, rgba(111, 0, 7, .62), transparent 64%);
}

.natation-effectif-page .natation-effectif-hero::after {
  color: rgba(255, 255, 255, .09);
  content: "NAT";
}

.natation-roster-overview {
  width: min(100%, 1380px);
  margin: 0 auto clamp(6rem, 11vw, 10rem);
  padding: 0 clamp(1rem, 5vw, 5rem);
}

.natation-roster-overview > p {
  width: max-content;
  margin: 0 0 1rem;
  padding: .55rem .75rem;
  color: #fff;
  background: var(--football-red);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.natation-roster-overview h2 {
  max-width: 1160px;
  margin: 0;
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: clamp(3.2rem, 7.6vw, 7.8rem);
  letter-spacing: -.035em;
  line-height: .86;
  text-transform: uppercase;
}

.natation-roster-overview > span {
  max-width: 760px;
  display: block;
  margin-top: 1.6rem;
  color: #696969;
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.65;
}

.natation-roster {
  width: min(100%, 1510px);
  overflow: hidden;
  margin: 0 auto clamp(5rem, 9vw, 8rem);
  padding: 0 clamp(1rem, 4vw, 4rem);
}

.natation-age-group {
  margin-bottom: clamp(6rem, 10vw, 9rem);
}

.natation-age-group + .natation-age-group {
  padding-top: clamp(3rem, 5vw, 5rem);
  border-top: 1px solid rgba(254, 30, 41, .18);
}

.natation-roster-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
}

.natation-roster-head p,
.natation-category-copy p {
  margin: 0 0 .65rem;
  color: #747474;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.natation-roster-head h2 {
  max-width: 900px;
  margin: 0;
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: clamp(3.1rem, 7vw, 7rem);
  letter-spacing: -.035em;
  line-height: .88;
  text-transform: uppercase;
}

.natation-age-group .natation-roster-head h2 {
  font-size: clamp(3rem, 6vw, 5.7rem);
}

.natation-roster-controls {
  display: flex;
  flex: 0 0 auto;
  gap: .65rem;
}

.natation-roster-controls button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--football-red);
  background: transparent;
  border: 1px solid var(--football-red);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 900;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.natation-roster-controls button:hover,
.natation-roster-controls button:focus-visible {
  color: #fff;
  background: var(--football-red);
  transform: translateY(-2px);
}

.natation-roster-hint {
  margin: 0 0 2rem;
  color: #686868;
  font-size: .82rem;
  font-weight: 700;
}

.natation-roster-hint span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-right: .4rem;
  color: #fff;
  background: var(--football-red);
  border-radius: 50%;
}

.natation-roster-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(285px, 28vw, 390px);
  gap: clamp(1rem, 2.2vw, 2rem);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 1.4rem;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--football-red) #e7e2df;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.natation-category-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(254, 30, 41, .22);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(254, 30, 41, .1);
  scroll-snap-align: start;
}

.natation-category-visual {
  position: relative;
  min-height: clamp(330px, 33vw, 460px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(255,255,255,.12), transparent 36%),
    var(--football-red);
  isolation: isolate;
}

.natation-age-group .natation-category-visual {
  min-height: clamp(300px, 28vw, 410px);
}

.natation-category-visual::before,
.natation-category-visual::after {
  position: absolute;
  z-index: -1;
  width: 115%;
  height: 46px;
  background: rgba(255, 255, 255, .1);
  content: "";
  transform: rotate(-17deg);
}

.natation-category-visual::before { top: 17%; }
.natation-category-visual::after { bottom: 16%; }

.natation-category-visual img {
  width: min(70%, 270px);
  height: auto;
  opacity: .68;
  filter: brightness(0) invert(1);
}

.natation-category-visual > span {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--football-display);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1;
  opacity: .3;
}

.natation-category-visual > b {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.natation-category-copy {
  min-height: 138px;
  padding: 1.25rem 1.35rem 1.35rem;
}

.natation-category-copy p { color: var(--football-red); }

.natation-category-copy h3 {
  min-height: 2.2em;
  margin: 0 0 1rem;
  color: #171717;
  font-family: var(--football-display);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  letter-spacing: -.025em;
  line-height: 1;
  text-transform: uppercase;
}

.natation-category-copy strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f6f6f;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.natation-category-copy strong::after {
  color: var(--football-red);
  content: "→";
  font-size: 1.35rem;
}

.natation-roster-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .7rem;
  margin-top: 1.1rem;
  color: #818181;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.natation-roster-status span:first-child { color: var(--football-red); }
.natation-roster-status i { width: 74px; height: 1px; background: #c8c3c0; }

.natation-roster-note {
  width: min(calc(100% - 2rem), 1380px);
  margin-bottom: clamp(5rem, 9vw, 8rem);
}

@media (max-width: 760px) {
  .natation-roster-overview {
    margin-bottom: 5.5rem;
    padding-inline: .75rem;
  }
  .natation-roster-overview h2 { font-size: clamp(2.75rem, 12.2vw, 4.25rem); }
  .natation-roster-overview > p { white-space: normal; }
  .natation-roster { padding-inline: .75rem; }
  .natation-roster-head { align-items: flex-start; }
  .natation-roster-head h2 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .natation-roster-controls { display: none; }
  .natation-roster-track { grid-auto-columns: min(82vw, 325px); gap: .8rem; }
  .natation-category-visual,
  .natation-age-group .natation-category-visual { min-height: 340px; }
  .natation-category-copy { min-height: 132px; }
  .natation-roster-status { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .natation-page .natation-quick-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .natation-roster-track { scroll-behavior: auto; }
}

@media (max-width: 760px) {
  .aquatic-season-scoreboard {
    width: calc(100% - 1.5rem);
    margin-top: 3.5rem;
  }

  .aquatic-season-scoreboard .football-scoreboard-stats {
    gap: .45rem;
  }

  .aquatic-season-scoreboard .football-scoreboard-stats small {
    font-size: .65rem;
  }

  .aquatic-season-scoreboard .football-scoreboard-stats strong {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .aquatic-scoreboard-practice { min-height: 230px; }

  .waterpolo-opponent-mark {
    width: 64px;
    height: 64px;
  }
}

.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);
  }
}

/* Football v61 — actualités éditoriales pleine largeur */
.football-news-showcase {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(3.5rem, 6vw, 6.5rem) clamp(1rem, 4vw, 4.5rem);
  background: #f2f0ef;
  color: #242424;
}

.football-news-showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.75rem, 3vw, 3rem);
}

.football-news-showcase-head p,
.football-news-copy p {
  margin: 0 0 .55rem;
  color: var(--football-red);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.football-news-showcase-head h2 {
  margin: 0;
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .82;
  text-transform: uppercase;
}

.football-news-showcase-head > a {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: .85rem 0;
  border-bottom: 2px solid var(--football-red);
  color: var(--football-red);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.football-news-showcase-head > a span {
  font-size: 1.15rem;
  transition: transform .2s ease;
}

.football-news-showcase-head > a:hover span,
.football-news-showcase-head > a:focus-visible span { transform: translateX(.35rem); }

.football-news-showcase-grid {
  min-height: clamp(520px, 50vw, 720px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.football-news-feature,
.football-news-tile {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 29, 29, .12);
}

.football-news-feature {
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: minmax(0, 1.25fr) auto;
  outline: 7px solid var(--football-red);
  outline-offset: -7px;
}

.football-news-tile {
  display: grid;
  grid-template-columns: minmax(190px, 1.05fr) minmax(230px, 1fr);
}

.football-news-visual {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, .22) 0 12%, transparent 12.5%),
    linear-gradient(135deg, #ff2430 0 48%, #dd0614 48% 100%);
}

.football-news-visual::before,
.football-news-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.football-news-visual::before { width: 70%; aspect-ratio: 1; }
.football-news-visual::after { width: 42%; aspect-ratio: 1; }

.football-news-visual > span {
  color: #fff;
  font-family: var(--football-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: 1;
}

.football-news-visual-primary {
  min-height: 350px;
  background:
    linear-gradient(115deg, rgba(12, 12, 12, .12), transparent 60%),
    var(--football-red);
}

.football-news-visual-primary img {
  width: clamp(120px, 17vw, 230px);
  height: clamp(120px, 17vw, 230px);
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.football-news-visual-primary > span {
  position: absolute;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(.5rem, 1vw, 1rem);
  color: rgba(255, 255, 255, .12);
  font-size: clamp(6rem, 15vw, 15rem);
}

.football-news-feature-results { grid-template-rows: auto auto; }

.football-news-results-poster {
  min-height: 0;
  aspect-ratio: 4 / 5;
  background: #fff;
}

.football-news-results-poster::before,
.football-news-results-poster::after { display: none; }

.football-news-visual-primary.football-news-results-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.football-news-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: #fff;
}

.football-news-copy h3 {
  max-width: 20ch;
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(1.65rem, 3vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .94;
  text-transform: uppercase;
}

.football-news-copy > span {
  max-width: 45ch;
  margin-top: 1rem;
  color: #686868;
  font-size: .98rem;
  line-height: 1.5;
}

.football-news-tile .football-news-copy { padding: clamp(1.25rem, 2.4vw, 2.35rem); }
.football-news-tile .football-news-copy h3 { font-size: clamp(1.35rem, 2.15vw, 2.2rem); }

.football-news-tile-dark,
.football-news-tile-dark .football-news-copy { background: #242424; }
.football-news-tile-dark .football-news-copy h3 { color: #fff; }
.football-news-tile-dark .football-news-copy p { color: #ffdf23; }
.football-news-tile-dark .football-news-visual {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .13) 0 22%, transparent 22.5%),
    #2d2d2d;
}
.football-news-tile-dark .football-news-visual > span { color: #ffdf23; }

@media (max-width: 960px) {
  .football-news-showcase-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .football-news-feature { grid-row: auto; }
  .football-news-tile { min-height: 280px; }
}

@media (max-width: 640px) {
  .football-news-showcase { padding: 3.5rem .75rem; }

  .football-news-showcase-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .football-news-showcase-head h2 { font-size: clamp(3.15rem, 19vw, 5.5rem); }
  .football-news-showcase-head > a { width: 100%; justify-content: space-between; }
  .football-news-feature { grid-template-rows: minmax(260px, 58vw) auto; }
  .football-news-visual-primary { min-height: 260px; }

  .football-news-tile {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 210px auto;
  }

  .football-news-copy { padding: 1.5rem; }
  .football-news-copy h3,
  .football-news-tile .football-news-copy h3 { font-size: clamp(1.55rem, 8vw, 2.35rem); }
}

/* Accueil — revue de presse */
.home-press {
  width: 100%;
  padding: clamp(3.75rem, 7vw, 7rem) clamp(1rem, 4vw, 4.5rem);
  color: #171717;
  background: #fff;
}

.home-press-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(2.75rem, 5vw, 5rem);
}

.home-press-head > p {
  margin: .45rem 0 0;
  color: var(--football-red);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home-press-head h2 {
  max-width: none;
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .88;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-press-head h2 span {
  display: block;
  color: var(--football-red);
}

.home-press-logos {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .65fr);
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.home-press-logo {
  min-height: clamp(230px, 24vw, 360px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 4rem);
  background: #f5f3f2;
}

.home-press-logo svg {
  width: min(100%, 300px);
  max-height: 245px;
  display: block;
}

.home-press-logo-wide svg {
  width: min(100%, 820px);
  max-height: 220px;
}

.home-press-link {
  width: fit-content;
  display: block;
  margin: clamp(1.75rem, 3vw, 2.75rem) auto 0;
  padding-bottom: .35rem;
  border-bottom: 3px solid var(--football-red);
  color: #171717;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 950;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease;
}

.home-press-link:hover,
.home-press-link:focus-visible {
  color: var(--football-red);
  border-color: #171717;
}

@media (max-width: 760px) {
  .home-press { padding: 3.75rem .75rem; }

  .home-press-head {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .home-press-head h2 {
    max-width: none;
    font-size: clamp(2.8rem, 14vw, 4.5rem);
    white-space: normal;
  }

  .home-press-logos { grid-template-columns: 1fr; }

  .home-press-logo {
    min-height: 210px;
    padding: 1.5rem;
  }

  .home-press-logo-wide svg { max-height: 145px; }
  .home-press-logo:not(.home-press-logo-wide) svg { max-height: 180px; }

  .home-press-link { margin-top: 1.5rem; }
}

/* Football v62 — espace sponsors inspiré de l’Estival League, aux couleurs du TSR */
.club-sponsors {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1rem, 4vw, 4.5rem);
  color: #151515;
  background: #fff;
}

.club-sponsors-head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.25rem, 4vw, 4rem);
}

.club-sponsors-head h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 6.6vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .88;
}

.club-sponsors-head h2 span { color: var(--football-red); }

.club-sponsors-head > p {
  margin: 0;
  padding: .35rem 0 .35rem clamp(1.5rem, 3vw, 2.5rem);
  color: #626262;
  border-left: 3px solid var(--football-red);
  font-size: clamp(.95rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}

.club-sponsors-placeholder {
  position: relative;
  min-height: clamp(260px, 25vw, 390px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 5rem);
  color: #fff;
  background: var(--football-red);
}

.club-sponsors-placeholder::before,
.club-sponsors-placeholder::after {
  display: none;
}

.club-sponsors-placeholder > div {
  position: relative;
  z-index: 1;
}

.club-sponsors-placeholder small {
  display: block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, .76);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.club-sponsors-placeholder h3 {
  max-width: 24ch;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
}

.club-sponsors-placeholder p {
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.86rem, 1.2vw, 1rem);
}

.club-sponsors-plus {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .14);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 300;
  line-height: .6;
}

.club-sponsors + .football-footer-spacer { min-height: clamp(40px, 5vw, 70px); }

.aquatic-sponsors-showcase {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.aquatic-sponsor {
  min-width: 0;
  min-height: clamp(150px, 16vw, 220px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.75rem);
  color: inherit;
  background: #fff;
  text-decoration: none;
}

.aquatic-sponsor-primary {
  width: min(680px, 100%);
  min-height: clamp(150px, 17vw, 230px);
  justify-self: center;
}

.aquatic-sponsors-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.5rem);
}

.aquatic-sponsor img {
  width: 100%;
  height: clamp(100px, 11vw, 155px);
  display: block;
  object-fit: contain;
}

.aquatic-sponsor-primary img {
  height: clamp(130px, 15vw, 205px);
  object-fit: cover;
  object-position: center;
}

.aquatic-sponsor-axa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.15rem, .5vw, .4rem);
}

.aquatic-sponsor-axa > img {
  flex: 0 0 auto;
  width: clamp(105px, 9vw, 135px);
  height: clamp(85px, 9vw, 130px);
}

.aquatic-sponsor-axa-copy {
  position: relative;
  min-width: 0;
  display: grid;
  gap: .35rem;
  padding: .08rem 0 .08rem .65rem;
  color: var(--football-red);
  text-align: left;
}

.aquatic-sponsor-axa-copy::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: currentColor;
  content: "";
}

.aquatic-sponsor-axa-copy small,
.aquatic-sponsor-axa-copy strong {
  font-size: clamp(.68rem, .9vw, .9rem);
  line-height: 1.1;
}

.aquatic-sponsor-axa-copy small { font-weight: 700; }
.aquatic-sponsor-axa-copy strong { font-weight: 950; }

/* Classements — évolution depuis la journée précédente */
.football-standings-table tbody td:first-child { white-space: nowrap; }

.rank-trend {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-left: .5rem;
  vertical-align: middle;
  border-radius: 50%;
}

.rank-trend::before {
  width: 7px;
  height: 7px;
  display: block;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  content: "";
}

.rank-up {
  color: #168a4b;
  background: rgba(22, 138, 75, .12);
}

.rank-up::before { transform: translateY(2px) rotate(-45deg); }

.rank-down {
  color: #d90b1a;
  background: rgba(217, 11, 26, .1);
}

.rank-down::before { transform: translateY(-2px) rotate(135deg); }

.football-standings-table tbody tr.is-tsr .rank-trend,
.football-standings-table tbody tr:hover .rank-trend { background: #fff; }

@media (max-width: 760px) {
  .club-sponsors { padding: 3.5rem .75rem; }

  .club-sponsors-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .club-sponsors-head h2 {
    max-width: 9ch;
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .club-sponsors-head > p { padding-left: 1rem; }

  .club-sponsors-placeholder {
    min-height: 390px;
    align-items: flex-start;
    padding: 2.25rem 1.5rem;
  }

  .club-sponsors-placeholder h3 { font-size: clamp(2rem, 9vw, 3rem); }

  .club-sponsors-plus {
    position: absolute;
    right: 1rem;
    bottom: 1.5rem;
    font-size: 9rem;
  }

  .aquatic-sponsors-showcase { padding: 1rem 0; }

  .aquatic-sponsors-row { grid-template-columns: 1fr; }

  .aquatic-sponsor,
  .aquatic-sponsor-primary { min-height: 150px; }

  .aquatic-sponsor img { height: 110px; }

  .aquatic-sponsor-primary img { height: 150px; }

  .aquatic-sponsor-axa {
    gap: .2rem;
  }

  .aquatic-sponsor-axa > img {
    width: 110px;
    height: 100px;
  }

  .aquatic-sponsor-axa-copy small,
  .aquatic-sponsor-axa-copy strong { font-size: .72rem; }
}

/* Football v67 — cartes d’effectif inspirées de la référence, rouge TSR uni */
.football-subpage .football-player-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(2.75rem, 5vw, 5rem);
  row-gap: clamp(3rem, 6vw, 5.5rem);
}

.football-subpage .football-player-card,
.football-subpage .football-player-card:nth-child(3n + 2),
.football-subpage .football-player-card.alternate {
  position: relative;
  min-height: clamp(410px, 38vw, 540px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0;
  color: #151515;
  background: #fff;
  border: 1px solid rgba(254, 30, 41, .2);
  border-radius: 0;
  box-shadow: 0 18px 46px rgba(254, 30, 41, .1);
  isolation: isolate;
}

.football-subpage .football-player-card::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 86px;
  background: var(--football-red);
  content: "";
}

.football-subpage .football-player-card::after {
  position: absolute;
  z-index: 1;
  inset: 0 0 86px;
  background: url("tsr1924off.png") center / min(72%, 300px) auto no-repeat;
  content: "";
  opacity: .72;
  pointer-events: none;
}

.football-subpage .football-player-card > img {
  display: none;
}

.football-subpage .football-player-card:hover > img {
  display: none;
}

.football-subpage .football-player-card .player-number {
  position: absolute;
  z-index: 2;
  left: auto;
  right: 1rem;
  top: auto;
  bottom: 82px;
  color: #fff;
  font-family: var(--football-display);
  font-size: clamp(4rem, 7vw, 6.25rem);
  line-height: .8;
}

.football-subpage .football-player-card .player-number.is-empty { display: none; }

.football-subpage .football-player-card > div {
  position: relative;
  z-index: 2;
  min-height: 86px;
  padding: 1.05rem 4rem 1rem 1.15rem;
  color: #151515;
  background: #fff;
  border-top: 0;
}

.football-subpage .football-player-card > div::after {
  position: absolute;
  right: 1.15rem;
  top: 50%;
  color: var(--football-red);
  content: "→";
  font-size: 1.8rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.football-subpage .football-player-card h3 {
  margin: 0 0 .3rem;
  color: #151515;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1;
}

.football-subpage .football-player-card p {
  margin: 0;
  color: var(--football-red);
  font-size: .7rem;
  opacity: 1;
}

@media (max-width: 980px) {
  .football-subpage .football-player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 620px) {
  .football-subpage .football-player-grid {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
  .football-subpage .football-player-card { min-height: 430px; }
}

/* Football v69 — titres des groupes centrés et compétition détaillée */
.football-subpage .football-roster > header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .65rem;
  padding: 0 1rem 1.75rem;
  text-align: center;
}

.football-subpage .football-roster > header p {
  margin: 0;
}

.football-subpage .football-roster > header h2 {
  margin: 0;
  font-size: clamp(3.6rem, 7.2vw, 7.2rem);
  white-space: nowrap;
}

.football-subpage .football-roster > header span {
  color: #676767;
  font-size: clamp(.78rem, 1.25vw, .98rem);
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.football-subpage .football-roster > header span b {
  display: block;
  margin-top: .55rem;
  color: var(--football-red);
  font-size: .86em;
  letter-spacing: .12em;
}

@media (max-width: 620px) {
  .football-subpage .football-roster > header h2 {
    font-size: clamp(1.7rem, 8.8vw, 3.6rem);
  }
}

/* Water-polo v75 — page effectif */
.water-polo-effectif-page .football-page-hero {
  background-image: url("banniere-water-polo.png");
  background-position: center;
}

.water-polo-effectif-page .football-page-hero::before {
  background: none;
}

.water-polo-effectif-page .football-page-hero::after {
  display: none;
}

.water-polo-effectif-page .football-page-hero h1,
.water-polo-effectif-page .football-page-hero > span {
  text-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}

/* Notre stade v82 — mêmes dimensions d'affichage que la piscine */
.facility-stadium-page .facility-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 795 / 475;
  overflow: hidden;
  margin: 0 0 clamp(4rem, 7vw, 7rem);
  border-radius: 0;
  background: #171717;
}

.facility-stadium-page .facility-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

@media (max-width: 760px) {
  .facility-stadium-page .facility-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 795 / 475;
    margin: 0 0 4rem;
    border-radius: 0;
  }

  .facility-stadium-page .facility-visual img {
    object-position: center 65%;
  }
}

/* Notre piscine v78 — photo horizontale pleine largeur sous l'introduction */
.facility-pool-page .facility-visual {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 795 / 475;
  overflow: hidden;
  margin: 0 0 clamp(4rem, 7vw, 7rem);
  border-radius: 0;
  background: #171717;
}

.facility-pool-page .facility-visual img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 59.75%;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
}

/* Football v84 — Football à 8 harmonisé avec la DA rouge et blanche */
.football-squad-switch.has-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.football-squad-switch button.squad-eight {
  position: relative;
  overflow: hidden;
  gap: .65rem;
  padding-left: 5.3rem;
  color: var(--football-red);
  background: #fff;
  border-color: rgba(254, 30, 41, .3);
}

.football-squad-switch button.squad-eight > strong {
  flex: 0 0 auto;
  font: inherit;
  white-space: nowrap;
}

.football-squad-switch button.squad-eight span {
  flex: 0 0 auto;
  font-size: .58rem;
  white-space: nowrap;
}

.football-squad-switch button.squad-eight::before {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--football-red);
  border-radius: 50%;
  content: "8";
  font-family: var(--football-display);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

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

.football-squad-switch button.squad-eight:hover::before,
.football-squad-switch button.squad-eight:focus-visible::before,
.football-squad-switch button.squad-eight.is-active::before {
  color: var(--football-red);
  background: #fff;
}

.football-eight-identity {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background: var(--football-red);
  border-radius: 20px;
  isolation: isolate;
}

.football-eight-identity::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, .12), transparent 58%);
  content: "";
}

.football-eight-identity > div {
  position: relative;
  z-index: 1;
}

.football-eight-identity span,
.football-eight-identity p {
  display: block;
  margin: 0;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.football-eight-identity strong {
  display: block;
  margin: .45rem 0 .7rem;
  font-family: var(--football-display);
  font-size: clamp(3.6rem, 8vw, 7.5rem);
  letter-spacing: -.055em;
  line-height: .78;
  text-transform: uppercase;
}

.football-eight-identity p { opacity: .76; }

.football-eight-identity > b {
  position: absolute;
  right: clamp(1rem, 7vw, 6rem);
  bottom: -2.5rem;
  color: rgba(255, 255, 255, .14);
  font-family: var(--football-display);
  font-size: clamp(15rem, 31vw, 28rem);
  font-weight: 900;
  line-height: .72;
}

.football-eight-format {
  margin-bottom: .5rem;
  padding: .8rem 1rem;
  color: #fff;
  background: var(--football-red);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.football-eight-panel .football-table-scroll {
  border-color: rgba(254, 30, 41, .28);
}

.football-eight-panel .football-standings-table tbody tr:hover,
.football-eight-panel .football-standings-table tbody tr.is-tsr,
.football-eight-panel .football-fixture-row:hover {
  background: var(--football-red);
}

.football-eight-panel .football-interface-tabs button.is-active {
  background: var(--football-red);
}

.football-eight-source {
  color: var(--football-red-dark);
  background: #fff;
  border: 1px solid rgba(254, 30, 41, .24);
}

.football-eight-source p { color: #666; }

.football-eight-empty {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  color: #fff;
  background: var(--football-red);
  border-radius: 20px;
}

.football-eight-empty > span {
  color: rgba(255, 255, 255, .2);
  font-family: var(--football-display);
  font-size: clamp(9rem, 20vw, 17rem);
  line-height: .6;
  text-align: center;
}

.football-eight-empty p {
  margin: 0 0 .6rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.football-eight-empty h3 {
  margin: 0 0 .8rem;
  font-family: var(--football-display);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  letter-spacing: -.04em;
  line-height: .82;
  text-transform: uppercase;
}

.football-eight-empty strong {
  display: block;
  max-width: 580px;
  color: rgba(255, 255, 255, .66);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .football-squad-switch.has-three { grid-template-columns: 1fr; }
  .football-squad-switch button.squad-eight { padding-left: 4.8rem; }
  .football-eight-identity { min-height: 190px; border-radius: 14px; }
  .football-eight-identity strong { max-width: 75%; }
  .football-eight-format { display: none; }
  .football-eight-empty { grid-template-columns: 1fr; text-align: center; }
  .football-eight-empty > span { font-size: 10rem; }
  .football-eight-empty strong { margin-inline: auto; }
}

/* Boutique v90 — inspirée des codes e-commerce sportifs, aux couleurs du club */
.shop-page {
  color: var(--football-red-dark);
  background: #fffafa;
}

.shop-announcement {
  min-height: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .65rem clamp(1rem, 4vw, 4rem);
  color: var(--football-red);
  background: #fff;
  border-bottom: 1px solid rgba(254, 30, 41, .18);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

.shop-announcement span:first-child { text-align: left; }
.shop-announcement span:last-child { text-align: right; }

.shop-navigation {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.8rem);
  overflow-x: auto;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #ece6e6;
  scrollbar-width: none;
}

.shop-navigation::-webkit-scrollbar { display: none; }
.shop-navigation a {
  flex: 0 0 auto;
  color: var(--football-red-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.shop-navigation a:hover,
.shop-navigation a:focus-visible { color: var(--football-red); }

.shop-hero {
  position: relative;
  min-height: min(720px, 78vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 0 clamp(1rem, 3vw, 3rem) clamp(5rem, 9vw, 9rem);
  padding: clamp(2rem, 6vw, 6rem);
  color: #fff;
  background: var(--football-red);
  border-radius: 0 0 24px 24px;
  isolation: isolate;
}

.shop-hero-media,
.shop-hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.shop-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: grayscale(1) contrast(1.14);
  transform: scale(1.03);
}

.shop-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(179, 0, 12, .94) 0%, rgba(254, 30, 41, .8) 45%, rgba(254, 30, 41, .18) 100%),
    linear-gradient(0deg, rgba(124, 0, 8, .74), transparent 72%);
}

.shop-hero-copy { max-width: 780px; }
.shop-hero-copy > p,
.shop-selections header p,
.shop-feature-copy > p,
.shop-opening > div > p {
  margin: 0 0 1rem;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.shop-hero-copy h1 {
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(5rem, 11vw, 10.5rem);
  letter-spacing: -.045em;
  line-height: .72;
  text-transform: uppercase;
}

.shop-hero-copy > span {
  max-width: 590px;
  display: block;
  margin: 1.8rem 0 2rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 750;
  line-height: 1.55;
}

.shop-hero-copy > a,
.shop-feature-copy > a {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.2rem;
  color: var(--football-red);
  background: #fff;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.shop-hero-copy > a b,
.shop-feature-copy > a b { font-size: 1.15rem; }

.shop-hero-mark {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4rem);
  top: clamp(1.5rem, 4vw, 4rem);
  display: grid;
  justify-items: center;
  gap: .45rem;
  text-align: center;
}

.shop-hero-mark img { width: clamp(90px, 12vw, 165px); }
.shop-hero-mark span {
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.shop-selections {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
  color: #fff;
  background: var(--football-red-dark);
}

.shop-selections > header {
  max-width: 1320px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 2rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}

.shop-selections h2,
.shop-feature-copy h2,
.shop-opening h2 {
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(4.2rem, 8vw, 8rem);
  letter-spacing: -.045em;
  line-height: .78;
  text-transform: uppercase;
}

.shop-selections > header > span {
  max-width: 440px;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

.shop-selection-grid {
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

.shop-selection-grid a {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
  background: var(--football-red);
  border-radius: 18px;
  text-decoration: none;
  isolation: isolate;
}

.shop-selection-grid a::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(164,0,11,.98) 0%, rgba(254,30,41,.54) 52%, rgba(254,30,41,.06) 100%);
  content: "";
}

.shop-selection-grid img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: transform .7s cubic-bezier(.16,1,.3,1), filter .35s ease;
}

.shop-selection-grid a:hover img,
.shop-selection-grid a:focus-visible img { filter: grayscale(.25) contrast(1.08); transform: scale(1.07); }
.shop-selection-grid span {
  margin-bottom: .7rem;
  font-size: .67rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.shop-selection-grid strong {
  font-family: var(--football-display);
  font-size: clamp(2.35rem, 3.4vw, 3.6rem);
  letter-spacing: -.04em;
  line-height: .9;
  white-space: nowrap;
  text-transform: uppercase;
}
.shop-selection-grid b {
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  font-size: 1.8rem;
  transition: transform .25s ease;
}
.shop-selection-grid a:hover b,
.shop-selection-grid a:focus-visible b { transform: translate(4px, -4px); }

.shop-feature {
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  margin: clamp(5rem, 10vw, 10rem) auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.shop-feature-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--football-red);
  border-radius: 22px;
}

.shop-feature-visual::before {
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  color: rgba(255,255,255,.08);
  content: "♣";
  font-size: 30rem;
  line-height: 1;
  transform: rotate(-16deg);
}

.shop-feature-visual img { position: relative; z-index: 1; width: min(72%, 430px); }
.shop-feature-visual span {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  padding: .65rem .85rem;
  color: var(--football-red);
  background: #fff;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.shop-feature-visual b {
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  font-family: var(--football-display);
  font-size: 5rem;
  font-weight: 900;
}

.shop-feature-copy > p { color: var(--football-red); }
.shop-feature-copy h2 { font-size: clamp(3.4rem, 6.2vw, 6.8rem); }
.shop-feature-copy > span {
  max-width: 610px;
  display: block;
  margin: 2rem 0;
  color: #666;
  font-size: 1.02rem;
  line-height: 1.7;
}
.shop-feature-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.shop-feature-copy li {
  padding: .65rem .85rem;
  color: var(--football-red);
  border: 1px solid rgba(254,30,41,.28);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.shop-feature-copy > a { color: #fff; background: var(--football-red); }

.shop-opening {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
  overflow: hidden;
  padding: clamp(4rem, 9vw, 9rem) clamp(1rem, 6vw, 6rem);
  color: #fff;
  background: var(--football-red);
  isolation: isolate;
}
.shop-opening h2 { font-size: clamp(4rem, 8.5vw, 8.5rem); }
.shop-opening-copy { position: relative; z-index: 1; }
.shop-opening-copy > p { max-width: 620px; margin: 0 0 2.5rem; font-size: 1.05rem; line-height: 1.7; }
.shop-opening-copy > div { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.38); }
.shop-opening-copy span { display: grid; gap: 1rem; padding: 1.25rem .8rem 0 0; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.shop-opening-copy b { color: rgba(255,255,255,.55); font-size: .62rem; }
.shop-opening > img {
  position: absolute;
  z-index: -1;
  right: -6rem;
  top: 50%;
  width: min(48vw, 690px);
  opacity: .08;
  transform: translateY(-50%) rotate(-8deg);
}

@media (max-width: 900px) {
  .shop-selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-feature { grid-template-columns: 1fr; }
  .shop-feature-visual { min-height: 520px; }
  .shop-opening { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shop-announcement { grid-template-columns: 1fr; min-height: 38px; }
  .shop-announcement span { display: none; }
  .shop-navigation { justify-content: flex-start; }
  .shop-hero { min-height: 620px; margin: 0 0 4rem; padding: 2rem 1rem 3rem; border-radius: 0; }
  .shop-hero-copy h1 { font-size: clamp(4.2rem, 19vw, 6rem); }
  .shop-hero-copy > span { max-width: 92%; font-size: .92rem; }
  .shop-hero-mark { right: 1rem; top: 1rem; }
  .shop-hero-mark img { width: 82px; }
  .shop-hero-mark span { display: none; }
  .shop-selections { padding-inline: .75rem; }
  .shop-selections > header { grid-template-columns: 1fr; }
  .shop-selections > header > span { padding-left: 1rem; }
  .shop-selection-grid { grid-template-columns: 1fr; gap: 10px; }
  .shop-selection-grid a { min-height: 430px; border-radius: 14px; }
  .shop-selection-grid strong { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .shop-feature { margin-block: 5rem; padding-inline: .75rem; }
  .shop-feature-visual { min-height: 430px; border-radius: 14px; }
  .shop-feature-copy h2 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .shop-opening { padding: 4rem 1rem; }
  .shop-opening h2 { font-size: clamp(3.8rem, 18vw, 6rem); }
  .shop-opening-copy > div { grid-template-columns: 1fr; }
  .shop-opening-copy span { grid-template-columns: 32px 1fr; align-items: center; gap: .5rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.22); }
}

/* Boutique v91 — composition e-commerce plein écran rouge et blanche */
.shop-page {
  background: #fff;
}

.shop-store-header {
  position: relative;
  z-index: 60;
  width: 100%;
  color: #fff;
  background: var(--football-red);
}

.shop-store-top {
  width: min(100%, 1460px);
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-inline: auto;
  padding: .5rem clamp(1.25rem, 4vw, 4rem);
}

.shop-store-logo {
  width: 130px;
  height: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.shop-store-logo img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  transform: translateY(5px);
}

.shop-store-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color .2s ease, background .2s ease;
}

.shop-store-icon:hover,
.shop-store-icon:focus-visible {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.58);
}

.shop-store-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.shop-store-search { justify-self: start; }

.shop-store-tools {
  display: flex;
  justify-self: end;
  gap: .6rem;
}

.shop-store-nav {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.3rem, 2.3vw, 2.6rem);
  overflow-x: auto;
  padding: .65rem 1.25rem 1rem;
  scrollbar-width: none;
}

.shop-store-nav::-webkit-scrollbar { display: none; }

.shop-store-nav a {
  flex: 0 0 auto;
  color: #fff;
  font-size: .82rem;
  font-weight: 760;
  letter-spacing: .015em;
  text-decoration: none;
}

.shop-store-nav a::after {
  width: 100%;
  height: 1px;
  display: block;
  margin-top: .35rem;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}

.shop-store-nav a:hover::after,
.shop-store-nav a:focus-visible::after { transform: scaleX(1); }
.shop-store-nav span { margin-left: .3rem; opacity: .72; }

.shop-store-band {
  position: relative;
  z-index: 55;
  min-height: 39px;
  display: grid;
  place-items: center;
  padding: .55rem 1rem;
  color: var(--football-red-dark);
  background: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .075em;
  text-align: center;
  text-transform: uppercase;
}

.shop-page main {
  overflow: visible;
  background: #fff;
}

.shop-page .shop-hero {
  min-height: calc(100svh - 173px);
  max-height: 880px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(2rem, 5vw, 4.5rem) 1rem;
  color: #fff;
  background: #8f1118;
  border-radius: 0;
}

.shop-page .shop-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(.98) contrast(1.03);
  transform: none;
}

.shop-page .shop-hero-shade {
  background:
    linear-gradient(0deg, rgba(35,0,3,.53) 0%, rgba(65,0,5,.12) 47%, rgba(45,0,4,.06) 100%),
    radial-gradient(circle at 50% 61%, transparent 0 26%, rgba(40,0,4,.13) 70%);
}

.shop-page .shop-hero-copy {
  width: min(100%, 1260px);
  max-width: none;
  display: grid;
  justify-items: center;
  align-self: end;
  padding-bottom: clamp(1rem, 3vh, 2.5rem);
  text-align: center;
  text-shadow: 0 4px 22px rgba(20,0,2,.42);
}

.shop-page .shop-hero-copy > p {
  margin: 0 0 1rem;
  font-size: clamp(.66rem, .9vw, .84rem);
  letter-spacing: .19em;
}

.shop-page .shop-hero-copy h1 {
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(4rem, 7.6vw, 8.6rem);
  letter-spacing: -.045em;
  line-height: .82;
  white-space: nowrap;
  text-transform: uppercase;
}

.shop-page .shop-hero-copy > strong {
  margin-top: .5rem;
  font-family: var(--football-display);
  font-size: clamp(1.6rem, 3vw, 3.6rem);
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.shop-page .shop-hero-copy > img {
  width: clamp(70px, 7vw, 108px);
  height: clamp(70px, 7vw, 108px);
  margin: -.1rem 0 .25rem;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.2));
}

.shop-page .shop-hero-copy > a {
  min-width: 154px;
  min-height: 50px;
  justify-content: center;
  padding: .9rem 1.5rem;
  color: var(--football-red);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(35,0,3,.19);
  text-shadow: none;
  transition: color .2s ease, background .2s ease;
}

.shop-page .shop-hero-copy > a:hover,
.shop-page .shop-hero-copy > a:focus-visible {
  color: #fff;
  background: var(--football-red);
}

@media (max-width: 760px) {
  .shop-store-top {
    min-height: 70px;
    padding-inline: .75rem;
  }

  .shop-store-logo { width: 94px; height: 62px; }
  .shop-store-logo img { width: 78px; height: 78px; }
  .shop-store-tools { gap: .1rem; }
  .shop-store-icon { width: 38px; height: 38px; }
  .shop-store-nav {
    min-height: 48px;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: .45rem 1rem .8rem;
  }
  .shop-store-nav a { font-size: .75rem; }
  .shop-store-band { min-height: 35px; font-size: .62rem; }

  .shop-page .shop-hero {
    min-height: calc(100svh - 153px);
    max-height: 760px;
    margin: 0;
    padding: 1.5rem .75rem 2rem;
  }

  .shop-page .shop-hero-media img { object-position: 52% center; }
  .shop-page .shop-hero-copy { padding-bottom: 1rem; }
  .shop-page .shop-hero-copy > p { margin-bottom: .65rem; font-size: .58rem; }
  .shop-page .shop-hero-copy h1 { font-size: clamp(2.7rem, 13.2vw, 4.8rem); white-space: normal; }
  .shop-page .shop-hero-copy > strong { font-size: clamp(1rem, 4.5vw, 1.5rem); letter-spacing: .12em; }
  .shop-page .shop-hero-copy > img { width: 68px; height: 68px; margin-block: -.2rem .15rem; }
  .shop-page .shop-hero-copy > a { min-width: 138px; min-height: 46px; }
}

/* Boutique v92 — sélections et fiches produit inspirées d'un catalogue sportif */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.shop-store-logo {
  position: relative;
  overflow: hidden;
}

.shop-store-logo img {
  position: absolute;
  left: 50%;
  top: -16px;
  width: 96px;
  height: 96px;
  transform: translateX(-50%);
}

.shop-catalog-selections {
  padding: clamp(3rem, 6vw, 5.5rem) 1rem clamp(4rem, 7vw, 6.5rem);
  color: #fff;
  background: var(--football-red-dark);
}

.shop-catalog-selections > h2 {
  width: min(100%, 1020px);
  margin: 0 auto 1.25rem;
  color: #fff;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.shop-catalog-grid {
  width: min(100%, 1020px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem .85rem;
  margin-inline: auto;
}

.shop-catalog-grid a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  color: #fff;
  text-decoration: none;
}

.shop-catalog-grid img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: #efe9e9;
  transition: filter .3s ease, transform .55s cubic-bezier(.16,1,.3,1);
}

.shop-catalog-grid a:nth-child(3) img { object-position: center 68%; }
.shop-catalog-grid a:nth-child(4) img { object-position: center 40%; }
.shop-catalog-grid a:nth-child(5) img { object-position: center 55%; }
.shop-catalog-grid a:nth-child(6) img { object-position: center; }

.shop-catalog-grid strong {
  padding-top: .15rem;
  font-family: var(--football-display);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  letter-spacing: .01em;
  line-height: 1.15;
  text-transform: uppercase;
}

.shop-catalog-grid span {
  padding-top: .05rem;
  font-size: 1.2rem;
  transition: transform .2s ease;
}

.shop-catalog-grid a:hover img,
.shop-catalog-grid a:focus-visible img { filter: brightness(.82); }
.shop-catalog-grid a:hover span,
.shop-catalog-grid a:focus-visible span { transform: translateX(4px); }

.shop-product-list {
  width: min(100%, 1020px);
  margin-inline: auto;
  padding: 0;
  color: #151515;
  background: #fff;
}

.shop-product-row {
  min-height: 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  border-bottom: 1px solid #e5dfdf;
}

.shop-product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.25rem, 5vw, 5rem);
  background: #fff;
}

.shop-product-info > p {
  margin: 0 0 .85rem;
  color: var(--football-red);
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.shop-product-info h3 {
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(2.1rem, 2.8vw, 2.5rem);
  letter-spacing: -.035em;
  line-height: .86;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-transform: uppercase;
}

.shop-product-info > strong {
  margin: 1rem 0 .7rem;
  color: var(--football-red-dark);
  font-size: .9rem;
}

.shop-product-info > span {
  color: #666;
  font-size: .88rem;
  line-height: 1.55;
}

.shop-product-option {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.35rem;
  font-size: .72rem;
}

.shop-product-option b,
.shop-product-sizes > b {
  color: #111;
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shop-product-option i {
  padding: .42rem .62rem;
  color: var(--football-red);
  border: 1px solid rgba(254,30,41,.34);
  border-radius: 999px;
  font-style: normal;
  font-weight: 850;
}

.shop-product-sizes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 1rem 0;
}

.shop-product-sizes > b { width: 100%; margin-bottom: .1rem; }
.shop-product-sizes span {
  min-width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--football-red-dark);
  border: 1px solid rgba(254,30,41,.45);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 900;
}

.shop-product-info button {
  min-height: 46px;
  margin-top: .35rem;
  color: #fff;
  background: var(--football-red);
  border: 0;
  font: inherit;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.shop-product-info button:disabled { cursor: not-allowed; opacity: 1; }
.shop-product-info small { margin-top: .8rem; color: #777; font-size: .61rem; line-height: 1.5; }

.shop-product-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  margin: 0;
  background: #efe9e9;
}

.shop-product-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.shop-product-photo > span {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--football-red);
  background: #fff;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 950;
}

@media (max-width: 760px) {
  .shop-store-logo img {
    top: -14px;
    width: 86px;
    height: 86px;
  }

  .shop-catalog-selections { padding-inline: .65rem; }
  .shop-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .55rem; }
  .shop-catalog-grid strong { font-size: .88rem; }

  .shop-product-row { grid-template-columns: 1fr; }
  .shop-product-row-reverse .shop-product-photo { order: 2; }
  .shop-product-row-reverse .shop-product-info { order: 1; }
  .shop-product-info { padding: 2.75rem 1.25rem; }
  .shop-product-info h3 { font-size: clamp(2rem, 9.2vw, 2.25rem); }
  .shop-product-info button { padding: .75rem .55rem; font-size: .61rem; }
  .shop-product-photo { min-height: 420px; }
}

/* Boutique v93 — écran d'attente bloquant pendant le développement */
body.shop-under-construction {
  height: 100%;
  overflow: hidden;
}

.shop-under-construction > :not(.shop-development-gate) {
  user-select: none;
}

.shop-development-gate {
  position: fixed;
  z-index: 10000;
  inset: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: clamp(.75rem, 2vh, 1.25rem);
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.13), transparent 38%),
    linear-gradient(135deg, rgba(254,30,41,.93), rgba(129,0,10,.95));
  backdrop-filter: blur(16px) saturate(.62);
}

.shop-development-card {
  position: relative;
  width: min(100%, 650px);
  min-height: min(650px, calc(100svh - 2.5rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.35rem, 4vw, 3rem);
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.shop-development-card::before,
.shop-development-card::after {
  display: none;
}

.shop-development-card::before {
  left: -110px;
  top: -100px;
}

.shop-development-card::after {
  right: -120px;
  bottom: -115px;
}

.shop-development-card > * {
  position: relative;
  z-index: 1;
}

.shop-development-card > img {
  width: clamp(150px, 28vw, 220px);
  height: clamp(150px, 28vw, 220px);
  display: block;
  margin: clamp(-1.4rem, -2vw, -.55rem) auto clamp(.7rem, 2vw, 1.35rem);
  object-fit: contain;
  filter: drop-shadow(0 8px 26px rgba(64,0,5,.22));
}

.shop-development-card > p {
  margin: 0 0 clamp(1rem, 2.3vw, 1.5rem);
  font-size: clamp(.7rem, 1.4vw, .92rem);
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.shop-development-card > h1 {
  max-width: 560px;
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  letter-spacing: -.045em;
  line-height: .84;
  text-transform: uppercase;
}

.shop-development-card > span {
  width: 54px;
  height: 5px;
  display: block;
  margin: clamp(1.5rem, 3.5vw, 2.5rem) auto;
  background: #fff;
  border-radius: 999px;
}

.shop-development-card > a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.45rem;
  color: var(--football-red);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.shop-development-card > a:hover,
.shop-development-card > a:focus-visible {
  color: #fff;
  background: transparent;
  outline: 3px solid rgba(255,255,255,.3);
  outline-offset: 4px;
  transform: translateY(-2px);
}

@media (max-width: 520px) {
  .shop-development-gate { padding: .65rem; }
  .shop-development-card {
    min-height: calc(100svh - 1.3rem);
    padding-inline: 1.15rem;
  }
  .shop-development-card > h1 { font-size: clamp(1.9rem, 7.5vw, 2.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .shop-development-card > a { transition: none; }
}

/* Histoire v96 — de la piscine de 1946 au club d'aujourd'hui */
.history-page main {
  overflow: hidden;
  color: #161616;
  background: #f7f4f1;
}

.history-hero {
  position: relative;
  min-height: min(880px, calc(100svh - 92px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 0;
  padding: clamp(7rem, 15vh, 11rem) clamp(1rem, 7vw, 7rem) clamp(5rem, 10vh, 7rem);
  color: #fff;
  background: #540007;
  isolation: isolate;
}

.history-hero > img,
.history-today > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.history-hero > img {
  object-position: center 48%;
  filter: grayscale(1) contrast(1.08);
}

.history-hero-shade,
.history-today-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.history-hero-shade {
  background:
    linear-gradient(90deg, rgba(94,0,8,.96) 0%, rgba(148,0,12,.83) 45%, rgba(82,0,7,.22) 79%),
    linear-gradient(0deg, rgba(43,0,3,.7), transparent 48%);
  mix-blend-mode: multiply;
}

.history-hero-copy {
  width: min(100%, 1040px);
}

.history-hero-copy > p,
.history-origin-copy > p,
.history-story-heading > p,
.history-today-copy > p,
.history-source p {
  margin: 0 0 1rem;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.history-hero-copy h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(4.5rem, 9.6vw, 9.8rem);
  letter-spacing: -.055em;
  line-height: .78;
  text-transform: uppercase;
}

.history-hero-copy > span {
  max-width: 700px;
  display: block;
  margin-top: 1.75rem;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 750;
  line-height: 1.45;
}

.history-hero-scroll {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.history-hero-scroll b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  font-size: 1rem;
}

.history-origin {
  width: min(100%, 1240px);
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 4vw, 3rem);
}

.history-origin-date {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  color: var(--football-red);
}

.history-origin-date strong {
  font-family: var(--football-display);
  font-size: clamp(5rem, 9vw, 8rem);
  letter-spacing: -.06em;
  line-height: .72;
}

.history-origin-date span {
  padding-top: .2rem;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.history-origin-copy { color: var(--football-red); }

.history-origin-copy h2,
.history-story-heading h2,
.history-today-copy h2,
.history-source h2 {
  margin: 0;
  font-family: var(--football-display);
  letter-spacing: -.045em;
  line-height: .86;
  text-transform: uppercase;
}

.history-origin-copy h2 {
  max-width: 880px;
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.history-origin-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(2rem, 5vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(254,30,41,.3);
}

.history-origin-columns p {
  margin: 0;
  color: #5e5b59;
  font-size: 1rem;
  line-height: 1.72;
}

.history-keyfigures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: #fff;
  background: var(--football-red);
}

.history-keyfigures > div {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem clamp(1rem, 3vw, 3rem);
  border-right: 1px solid rgba(255,255,255,.28);
}

.history-keyfigures > div:last-child { border-right: 0; }

.history-keyfigures strong {
  font-family: var(--football-display);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  letter-spacing: -.055em;
  line-height: .8;
}

.history-keyfigures span {
  max-width: 180px;
  margin-top: 1rem;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.history-story {
  padding: clamp(5rem, 10vw, 10rem) 0;
}

.history-story-heading {
  width: min(100%, 1240px);
  margin: 0 auto clamp(4rem, 8vw, 8rem);
  padding-inline: clamp(1rem, 4vw, 3rem);
  color: var(--football-red);
}

.history-story-heading h2 {
  max-width: 950px;
  font-size: clamp(3.6rem, 8vw, 8rem);
}

.history-timeline {
  position: relative;
  width: min(100%, 1320px);
  display: grid;
  gap: clamp(4rem, 9vw, 9rem);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 4rem);
  list-style: none;
}

.history-timeline::before {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(254,30,41,.28);
  content: "";
}

.history-chapter {
  position: relative;
}

.history-chapter::before {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 3rem;
  width: 13px;
  height: 13px;
  background: var(--football-red);
  border: 4px solid #f7f4f1;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--football-red);
  content: "";
  transform: translateX(-50%);
}

.history-chapter article {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
}

.history-chapter figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #d9d3cd;
  border-radius: 14px;
  box-shadow: 0 25px 65px rgba(45,20,20,.12);
}

.history-chapter figure::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.history-chapter figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}

.history-chapter:hover figure img { transform: scale(1.035); }

.history-chapter figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .75rem .9rem;
  color: #fff;
  background: rgba(93,0,8,.82);
  border-radius: 8px;
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .04em;
  line-height: 1.35;
}

.history-chapter-reverse figure { order: 2; }
.history-chapter-reverse .history-chapter-copy { order: 1; }

.history-chapter-copy time {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -.04em;
  line-height: .82;
}

.history-kicker {
  margin: 0 0 .85rem !important;
  color: var(--football-red) !important;
  font-size: .68rem !important;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.history-chapter-copy h3 {
  margin: 0 0 1.35rem;
  font-family: var(--football-display);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  letter-spacing: -.035em;
  line-height: .9;
  text-transform: uppercase;
}

.history-chapter-copy > p:not(.history-kicker) {
  margin: 0 0 1rem;
  color: #65615e;
  font-size: .98rem;
  line-height: 1.68;
}

.history-today {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 10rem) clamp(1rem, 7vw, 7rem);
  color: #fff;
  background: #600008;
  isolation: isolate;
}

.history-today > img {
  object-position: center 42%;
}

.history-today-shade {
  background:
    linear-gradient(90deg, rgba(95,0,8,.94), rgba(149,0,12,.72) 55%, rgba(70,0,5,.2)),
    linear-gradient(0deg, rgba(30,0,2,.7), transparent 60%);
}

.history-today-copy { max-width: 900px; }

.history-today-copy h2 {
  font-size: clamp(4.2rem, 10vw, 9rem);
}

.history-today-copy > span {
  max-width: 750px;
  display: block;
  margin: 1.8rem 0 2.5rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
}

.history-today nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.history-today nav a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding: .9rem 1.15rem;
  color: var(--football-red);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}

.history-today nav a:hover,
.history-today nav a:focus-visible {
  color: #fff;
  background: transparent;
}

.history-source {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(280px, .85fr) 1.15fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 4vw, 3rem);
  color: var(--football-red);
}

.history-source > img {
  width: 100%;
  display: block;
  background: #ddd;
  border-radius: 14px;
  box-shadow: 0 24px 55px rgba(45,20,20,.12);
}

.history-source h2 {
  font-size: clamp(3rem, 6vw, 6rem);
}

.history-source span {
  max-width: 650px;
  display: block;
  margin-top: 1.5rem;
  color: #66615e;
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .history-origin { grid-template-columns: 1fr; }
  .history-origin-date { max-width: 190px; }
  .history-keyfigures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-keyfigures > div:nth-child(2) { border-right: 0; }
  .history-keyfigures > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.28); }
  .history-timeline::before { left: 1.35rem; }
  .history-chapter::before { left: 1.35rem; }
  .history-chapter article { grid-template-columns: 1fr; gap: 2rem; padding-left: 2.75rem; }
  .history-chapter-reverse figure,
  .history-chapter-reverse .history-chapter-copy { order: initial; }
  .history-source { grid-template-columns: 1fr; }
  .history-source > img { max-width: 640px; }
}

@media (max-width: 620px) {
  .history-hero {
    min-height: 700px;
    padding: 7rem 1rem 5.5rem;
  }
  .history-hero > img { object-position: 58% center; }
  .history-hero-shade {
    background: linear-gradient(0deg, rgba(78,0,7,.97), rgba(136,0,11,.68) 72%, rgba(42,0,3,.18));
    mix-blend-mode: multiply;
  }
  .history-hero-copy h1 { font-size: clamp(2.6rem, 11.2vw, 4.35rem); }
  .history-hero-copy > span { font-size: .95rem; }
  .history-hero-scroll { left: 1rem; right: auto; }
  .history-origin { padding-block: 4.5rem; }
  .history-origin-copy h2 { font-size: clamp(3.15rem, 14vw, 5rem); }
  .history-origin-columns { grid-template-columns: 1fr; }
  .history-keyfigures > div { min-height: 170px; padding: 1.5rem 1rem; }
  .history-keyfigures strong { font-size: clamp(3rem, 15vw, 4.5rem); }
  .history-keyfigures span { font-size: .61rem; }
  .history-story { padding-block: 4.5rem; }
  .history-story-heading { margin-bottom: 4rem; }
  .history-story-heading h2 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .history-timeline { gap: 5rem; padding-inline: .75rem; }
  .history-timeline::before,
  .history-chapter::before { left: 1rem; }
  .history-chapter article { padding-left: 2rem; }
  .history-chapter figure { border-radius: 10px; }
  .history-chapter figcaption { left: .65rem; right: .65rem; bottom: .65rem; }
  .history-chapter-copy time { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .history-chapter-copy h3 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .history-today { min-height: 720px; padding: 5rem 1rem; }
  .history-today > img { object-position: 63% center; }
  .history-today-copy h2 { font-size: clamp(3.2rem, 13.5vw, 5rem); }
  .history-today nav { display: grid; }
  .history-today nav a { justify-content: space-between; }
  .history-source { padding-block: 4.5rem; }
  .history-source h2 { font-size: clamp(3rem, 14vw, 4.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  .history-chapter figure img,
  .history-today nav a { transition: none; }
}

/* Histoire v97 — grand magazine d'archives */
.history-mag-page .history-mag {
  overflow: hidden;
  color: #171313;
  background: #f5f1ec;
}

.history-mag-cover {
  position: relative;
  min-height: min(860px, 92svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(8rem, 14vh, 11rem) clamp(1rem, 6vw, 6.5rem) clamp(4.5rem, 7vw, 6.5rem);
  color: #fff;
  background: #4d0005;
  isolation: isolate;
}

.history-mag-cover > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
  filter: grayscale(1) contrast(1.08);
}

.history-mag-cover-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(95,0,8,.96) 0%, rgba(141,0,12,.79) 48%, rgba(38,0,3,.22) 83%),
    linear-gradient(0deg, rgba(25,0,2,.74), transparent 52%);
  mix-blend-mode: multiply;
}

.history-mag-cover-top {
  position: absolute;
  top: clamp(7.8rem, 14vh, 10rem);
  left: clamp(1rem, 6vw, 6.5rem);
  right: clamp(1rem, 6vw, 6.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.6);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.history-mag-cover-top p { margin: 0; }

.history-mag-cover-copy {
  width: min(100%, 1120px);
}

.history-mag-cover-copy > p,
.history-mag-eyebrow {
  margin: 0 0 1rem;
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.history-mag-cover-copy h1 {
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(4.2rem, 7.5vw, 7.6rem);
  letter-spacing: -.052em;
  line-height: .8;
  text-transform: uppercase;
}

.history-mag-cover-copy h1 span { display: block; }

.history-mag-cover-copy > strong {
  width: min(100%, 720px);
  display: block;
  margin-top: 2rem;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.5;
}

.history-mag-cover-caption {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1rem, 2.8vw, 2.5rem);
  margin: 0;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.history-mag-cover-caption b {
  margin-right: .55rem;
  color: var(--football-red);
}

.history-mag-opening {
  width: min(100%, 1280px);
  display: grid;
  grid-template-columns: minmax(180px, .35fr) 1.65fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  margin-inline: auto;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.history-mag-opening-mark {
  align-self: start;
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: clamp(8rem, 17vw, 15rem);
  letter-spacing: -.08em;
  line-height: .7;
}

.history-mag-opening-copy { min-width: 0; }
.history-mag-opening-copy .history-mag-eyebrow { color: var(--football-red); }

.history-mag-opening-copy h2,
.history-mag-chapter-head h2,
.history-mag-finale h2 {
  margin: 0;
  font-family: var(--football-display);
  letter-spacing: -.04em;
  line-height: .92;
  text-transform: uppercase;
}

.history-mag-opening-copy h2 {
  max-width: 980px;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
}

.history-mag-opening-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(254,30,41,.34);
}

.history-mag-opening-columns p {
  margin: 0;
  color: #625d59;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.72;
}

.history-mag-opening-columns .history-mag-lead {
  color: #26201e;
  font-size: 1.2rem;
  font-weight: 700;
}

.history-mag-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  color: #fff;
  background: var(--football-red);
}

.history-mag-facts > div {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border-right: 1px solid rgba(255,255,255,.32);
}

.history-mag-facts > div:last-child { border-right: 0; }

.history-mag-facts strong {
  font-family: var(--football-display);
  font-size: clamp(2.8rem, 4.4vw, 4.6rem);
  letter-spacing: -.05em;
  line-height: .8;
}

.history-mag-facts span {
  max-width: 150px;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.history-mag-contents {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.history-mag-contents .history-mag-eyebrow { color: var(--football-red); }
.history-mag-contents ol { margin: 0; padding: 0; list-style: none; }

.history-mag-contents a {
  display: grid;
  grid-template-columns: 58px 150px 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 62px;
  color: #171313;
  border-top: 1px solid #d8cfca;
  font-family: var(--football-display);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  letter-spacing: -.015em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, padding-left .2s ease;
}

.history-mag-contents li:last-child a { border-bottom: 1px solid #d8cfca; }
.history-mag-contents a:hover,
.history-mag-contents a:focus-visible { color: var(--football-red); padding-left: .65rem; }
.history-mag-contents a b { color: var(--football-red); font-size: .75rem; letter-spacing: .08em; }
.history-mag-contents a span { color: #8b817d; font-size: .72rem; letter-spacing: .08em; }

.history-mag-contents-part {
  margin-top: 2.5rem;
  padding: .85rem 0 .7rem;
  color: var(--football-red);
  border-top: 4px solid var(--football-red);
  font-size: .67rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.history-mag-contents-part:first-child { margin-top: 0; }

.history-mag-chapter {
  scroll-margin-top: 110px;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.history-mag-chapter--paper { color: #171313; background: #f5f1ec; }
.history-mag-chapter--ink { color: #fff; background: #171313; }
.history-mag-chapter--red { color: #fff; background: var(--football-red); }

.history-mag-chapter-head,
.history-mag-copy,
.history-mag-quote,
.history-mag-gallery {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.history-mag-chapter-head {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr) minmax(260px, .52fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid currentColor;
}

.history-mag-chapter-head > div { align-self: start; }
.history-mag-chapter-head span,
.history-mag-chapter-head time {
  display: block;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.history-mag-chapter-head time {
  margin-top: .2rem;
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: 1.25rem;
  letter-spacing: -.015em;
}

.history-mag-chapter--red .history-mag-chapter-head time { color: #fff; }
.history-mag-chapter--ink .history-mag-chapter-head time { color: var(--football-red); }

.history-mag-chapter-head h2 {
  font-size: clamp(2.8rem, 4.4vw, 4.9rem);
}

.history-mag-chapter-head > p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.55;
}

.history-mag-copy {
  columns: 2 360px;
  column-gap: clamp(2rem, 5vw, 5rem);
  column-rule: 1px solid rgba(105,85,80,.26);
}

.history-mag-copy p {
  break-inside: avoid;
  margin: 0 0 1.18rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.78;
}

.history-mag-dropcap > p:first-child::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: 4.8em;
  line-height: .7;
}

.history-mag-chapter--red .history-mag-dropcap > p:first-child::first-letter { color: #fff; }

.history-mag-quote {
  margin-block: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-block: 1px solid currentColor;
}

.history-mag-quote span {
  display: block;
  font-family: var(--football-display);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  letter-spacing: -.04em;
  line-height: .9;
  text-transform: uppercase;
}

.history-mag-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: .7rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.history-mag-gallery {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.history-mag-gallery--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 2.3vw, 2rem);
}

.history-mag-gallery--two {
  display: grid;
  grid-template-columns: minmax(0, .38fr) minmax(0, 1.62fr);
  align-items: end;
  gap: clamp(1rem, 2.3vw, 2rem);
}

.history-mag-gallery--archive {
  columns: 3 300px;
  column-gap: clamp(1rem, 2.3vw, 2rem);
}

.history-mag-gallery--feature figure {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.history-mag-gallery figure {
  overflow: hidden;
  margin: 0 0 clamp(1rem, 2.3vw, 2rem);
  background: #fff;
  box-shadow: 0 18px 45px rgba(35,15,15,.14);
  break-inside: avoid;
}

.history-mag-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.history-mag-gallery figcaption {
  padding: .9rem 1rem 1rem;
  color: #26201e;
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .83rem;
  line-height: 1.45;
}

.history-mag-gallery figcaption b {
  margin-right: .45rem;
  color: var(--football-red);
  font-family: Arial, sans-serif;
  font-size: .68rem;
}

.history-book-divider {
  position: relative;
  min-height: min(920px, 94svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 7vw, 7rem);
  color: #fff;
  background: #171313;
  isolation: isolate;
}

.history-book-divider > img,
.history-book-divider-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.history-book-divider > img {
  z-index: -2;
  object-fit: cover;
  object-position: center 45%;
  filter: grayscale(1) contrast(1.12);
}

.history-book-divider-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,8,8,.94) 0%, rgba(12,8,8,.72) 48%, rgba(12,8,8,.18) 83%),
    linear-gradient(0deg, rgba(0,0,0,.8), transparent 58%);
}

.history-book-divider-copy {
  width: min(100%, 960px);
}

.history-book-divider-copy > p {
  margin: 0 0 1.1rem;
  color: var(--football-red);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.history-book-divider-copy h2 {
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(3.6rem, 7.2vw, 7.4rem);
  letter-spacing: -.055em;
  line-height: .82;
  text-transform: uppercase;
}

.history-book-divider-copy > strong {
  width: min(100%, 720px);
  display: block;
  margin-top: 2rem;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.history-book-divider-caption {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1rem, 2.8vw, 2.5rem);
  margin: 0;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.history-book-divider-caption b { margin-right: .55rem; color: var(--football-red); }

.history-football-trophy,
.history-football-archive-pair,
.history-football-palmares {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.history-football-trophy {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  margin-top: clamp(4rem, 8vw, 7rem);
  background: var(--football-red);
  box-shadow: 0 22px 60px rgba(0,0,0,.3);
}

.history-football-trophy figure { min-width: 0; margin: 0; background: #070707; }
.history-football-trophy img { width: 100%; height: 100%; display: block; object-fit: contain; }

.history-football-trophy > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.history-football-trophy .history-mag-eyebrow { margin-bottom: 1.5rem; }
.history-football-trophy strong {
  font-family: var(--football-display);
  font-size: clamp(4.8rem, 9vw, 9rem);
  letter-spacing: -.07em;
  line-height: .72;
}

.history-football-trophy h3,
.history-football-palmares h3 {
  margin: 1.5rem 0 0;
  font-family: var(--football-display);
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: .92;
  text-transform: uppercase;
}

.history-football-trophy > div > p:last-child {
  margin: 1.5rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .96rem;
  line-height: 1.65;
}

.history-football-archive-pair {
  display: grid;
  grid-template-columns: minmax(260px, .58fr) minmax(0, 1.42fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 3rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.history-football-archive-pair figure {
  overflow: hidden;
  margin: 0;
  color: #26201e;
  background: #fff;
  box-shadow: 0 18px 45px rgba(35,15,15,.24);
}

.history-football-archive-pair img { width: 100%; height: auto; display: block; }
.history-football-archive-pair figcaption {
  padding: .9rem 1rem 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .83rem;
  line-height: 1.45;
}

.history-football-archive-pair figcaption b {
  margin-right: .45rem;
  color: var(--football-red);
  font-family: Arial, sans-serif;
  font-size: .68rem;
}

.history-football-palmares {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 6px solid var(--football-red);
}

.history-football-palmares > header {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(0, 1.65fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.history-football-palmares .history-mag-eyebrow { margin: 0; color: var(--football-red); }
.history-football-palmares h3 { margin: 0; }

.history-football-palmares > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1rem, 3vw, 3rem);
}

.history-football-palmares p {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: .8rem;
  margin: 0;
  padding: .9rem 0;
  border-top: 1px solid #d8cfca;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .88rem;
  line-height: 1.45;
}

.history-football-palmares p b {
  color: var(--football-red);
  font-family: Arial, sans-serif;
  font-size: .68rem;
  letter-spacing: .05em;
}

.history-mag-finale {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 7vw, 7rem);
  color: #fff;
  background: #171313;
}

.history-mag-finale .history-mag-eyebrow { color: var(--football-red); }
.history-mag-finale h2 { font-size: clamp(3.2rem, 6vw, 6.2rem); }

.history-mag-finale-copy > p:not(.history-mag-eyebrow) {
  max-width: 760px;
  margin: 2rem 0 2.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.75;
}

.history-mag-finale nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.history-mag-finale nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: .8rem 1.1rem;
  color: var(--football-red);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.history-mag-credits {
  align-self: end;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.45);
}

.history-mag-credits span {
  color: var(--football-red);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.history-mag-credits p {
  margin: 1rem 0 0;
  color: #cfc7c3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .88rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .history-mag-opening { grid-template-columns: 130px 1fr; }
  .history-mag-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .history-mag-facts > div:nth-child(3) { border-right: 0; }
  .history-mag-facts > div:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.32); }
  .history-mag-chapter-head { grid-template-columns: 145px 1fr; }
  .history-mag-chapter-head > p { grid-column: 2; }
  .history-mag-gallery--three { grid-template-columns: 1fr 1fr; }
  .history-mag-gallery--three figure:last-child { grid-column: 1 / -1; width: min(100%, 720px); }
  .history-mag-gallery--six figure:last-child { grid-column: auto; width: auto; }
  .history-mag-gallery--two { grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); }
  .history-football-trophy { grid-template-columns: 1fr; }
  .history-football-trophy img { max-height: 660px; }
  .history-football-palmares > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-mag-finale { grid-template-columns: 1fr; }
  .history-mag-credits { max-width: 700px; }
}

@media (max-width: 680px) {
  .history-mag-cover {
    min-height: 720px;
    padding: 7rem 1rem 4.5rem;
  }
  .history-mag-cover > img { object-position: 56% center; }
  .history-mag-cover-top {
    top: 6.6rem;
    left: 1rem;
    right: 1rem;
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
    font-size: .58rem;
  }
  .history-mag-cover-copy h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .history-mag-cover-copy > strong { font-size: .95rem; }
  .history-mag-cover-caption { left: 1rem; right: 1rem; font-size: .57rem; }
  .history-mag-opening { grid-template-columns: 1fr; padding-block: 4.5rem; }
  .history-mag-opening-mark { font-size: 7rem; }
  .history-mag-opening-copy h2 { font-size: clamp(1.85rem, 7.6vw, 2.6rem); }
  .history-mag-opening-columns { grid-template-columns: 1fr; }
  .history-mag-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-mag-facts > div,
  .history-mag-facts > div:nth-child(3) { min-height: 150px; border-right: 1px solid rgba(255,255,255,.32); border-bottom: 1px solid rgba(255,255,255,.32); }
  .history-mag-facts > div:nth-child(even) { border-right: 0; }
  .history-mag-facts > div:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .history-mag-contents { padding-block: 4rem; }
  .history-mag-contents a { grid-template-columns: 36px 90px 1fr; gap: .65rem; min-height: 70px; font-size: 1rem; }
  .history-mag-contents a span { font-size: .58rem; }
  .history-mag-chapter { padding: 4.5rem 1rem; }
  .history-mag-chapter-head { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 3rem; }
  .history-mag-chapter-head > p { grid-column: 1; }
  .history-mag-chapter-head h2 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .history-mag-copy { columns: 1; column-rule: 0; }
  .history-mag-copy p { font-size: 1rem; line-height: 1.72; }
  .history-mag-quote span { font-size: clamp(2.2rem, 10vw, 3.3rem); }
  .history-mag-gallery--three { grid-template-columns: 1fr; }
  .history-mag-gallery--three figure:last-child { grid-column: auto; width: 100%; }
  .history-mag-gallery--archive { columns: 1; }
  .history-mag-gallery--two,
  .history-football-archive-pair { grid-template-columns: 1fr; }
  .history-book-divider { min-height: 720px; padding: 6rem 1rem 4.5rem; }
  .history-book-divider > img { object-position: 58% center; }
  .history-book-divider-copy h2 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .history-book-divider-copy > strong { font-size: .95rem; }
  .history-book-divider-caption { left: 1rem; right: 1rem; font-size: .57rem; }
  .history-football-trophy > div { padding: 2rem 1.25rem 2.5rem; }
  .history-football-palmares > header,
  .history-football-palmares > div { grid-template-columns: 1fr; }
  .history-football-palmares > header { gap: .7rem; }
  .history-football-palmares p { grid-template-columns: 82px 1fr; }
  .history-mag-finale { padding: 4.5rem 1rem; }
  .history-mag-finale h2 { font-size: clamp(2.35rem, 9.5vw, 3.4rem); }
  .history-mag-finale nav { display: grid; }
  .history-mag-finale nav a { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .history-mag-contents a { transition: none; }
}

/* Calendrier général — page Événements */
.club-events-page main {
  padding-top: clamp(8.5rem, 10vw, 10.5rem);
  background: #f7f5f3;
}

.club-calendar {
  width: min(1460px, calc(100% - 2rem));
  margin: 0 auto;
  color: #1e1b1b;
}

.club-calendar-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
  padding: 0 clamp(.25rem, 2vw, 2rem) clamp(2rem, 4vw, 3.4rem);
}

.club-calendar-kicker {
  margin: 0 0 .8rem;
  color: var(--football-red);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.club-calendar-intro h2 {
  margin: 0;
  font-family: var(--football-display);
  font-size: clamp(3.2rem, 7.5vw, 7.2rem);
  letter-spacing: -.055em;
  line-height: .82;
  text-transform: uppercase;
}

.club-calendar-intro > div:first-child > p:last-child {
  max-width: 720px;
  margin: 1.4rem 0 0;
  color: #6c6664;
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
}

.club-calendar-today {
  min-width: 180px;
  padding: 1.2rem 0 .25rem 1.4rem;
  border-left: 4px solid var(--football-red);
}

.club-calendar-today span,
.calendar-modern-head span,
.calendar-retro-head span {
  display: block;
  margin-bottom: .35rem;
  color: #77706e;
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.club-calendar-today strong {
  font-family: var(--football-display);
  font-size: 1.6rem;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.club-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem;
  background: #171414;
  border-radius: 18px 18px 0 0;
}

.club-calendar-view-switch,
.club-calendar-filters {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.club-calendar-view-switch button,
.club-calendar-filters button,
.calendar-modern-head button,
.calendar-retro-head > button {
  min-height: 44px;
  border: 0;
  font: inherit;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.club-calendar-view-switch button {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1rem;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px;
}

.club-calendar-view-switch button span {
  font-size: 1rem;
  line-height: 1;
}

.club-calendar-view-switch button.is-active,
.club-calendar-view-switch button:focus-visible {
  color: var(--football-red);
  background: #fff;
  border-color: #fff;
  outline: none;
}

.club-calendar-filters {
  overflow-x: auto;
  scrollbar-width: none;
}

.club-calendar-filters::-webkit-scrollbar { display: none; }

.club-calendar-filters button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .85rem;
  color: #aaa3a1;
  background: transparent;
  border-radius: 999px;
  white-space: nowrap;
}

.club-calendar-filters button.is-active,
.club-calendar-filters button:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.11);
  outline: none;
}

.team-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  flex: 0 0 auto;
  background: var(--football-red);
  border-radius: 50%;
}

.team-dot--reserve { background: #1c1919; box-shadow: 0 0 0 1px #fff; }
.team-dot--second { background: #fff; border: 2px solid var(--football-red); }
.team-dot--training { background: transparent; border: 2px solid var(--football-red); border-radius: 2px; transform: rotate(45deg); }

.club-calendar-panels {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dedad7;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 24px 70px rgba(36, 20, 20, .09);
}

.club-calendar-panel[hidden] { display: none; }

.calendar-modern-head,
.calendar-retro-head {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid #e8e4e1;
}

.calendar-modern-head strong,
.calendar-retro-head strong {
  font-family: var(--football-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.calendar-modern-head button {
  padding: .7rem 1rem;
  color: var(--football-red);
  background: #fff;
  border: 1px solid #f3aeb3;
  border-radius: 999px;
}

.calendar-modern-head button:hover,
.calendar-modern-head button:focus-visible {
  color: #fff;
  background: var(--football-red);
  outline: none;
  transform: translateY(-1px);
}

.calendar-timeline {
  height: min(690px, 72svh);
  overflow-y: auto;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem;
  background:
    linear-gradient(#fff 30%, rgba(255,255,255,0)) center top,
    linear-gradient(rgba(255,255,255,0), #fff 70%) center bottom,
    #fff;
  background-attachment: local, local, scroll;
  background-repeat: no-repeat;
  background-size: 100% 40px, 100% 40px, 100% 100%;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scrollbar-color: var(--football-red) #eee9e7;
  scrollbar-width: thin;
}

.calendar-day {
  position: relative;
  display: grid;
  grid-template-columns: 74px 32px minmax(0, 1fr);
  gap: 1rem;
  min-height: 132px;
  scroll-margin-top: 1rem;
  scroll-snap-align: start;
}

.calendar-day-date {
  padding-top: .65rem;
  text-align: right;
}

.calendar-day-date span,
.calendar-day-date small {
  display: block;
  color: #756f6d;
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.calendar-day-date strong {
  display: block;
  margin: .08rem 0;
  font-family: var(--football-display);
  font-size: 2.5rem;
  letter-spacing: -.06em;
  line-height: .9;
}

.calendar-day-line {
  position: relative;
  display: flex;
  justify-content: center;
}

.calendar-day-line::before {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ddd7d4;
  content: "";
}

.calendar-day-line i {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 1.15rem;
  background: #fff;
  border: 2px solid #b9b2af;
  border-radius: 50%;
}

.calendar-day-content {
  min-width: 0;
  padding: 0 0 1.3rem;
}

.calendar-day-content > header {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.calendar-day-content > header h3 {
  margin: 0;
  color: #89817e;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.calendar-day-content > header span {
  padding: .25rem .55rem;
  color: #fff;
  background: var(--football-red);
  border-radius: 999px;
  font-size: .55rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.calendar-day.is-today .calendar-day-date,
.calendar-day.is-today .calendar-day-content > header h3 { color: var(--football-red); }
.calendar-day.is-today .calendar-day-line i { background: var(--football-red); border-color: var(--football-red); box-shadow: 0 0 0 7px rgba(241,38,53,.12); }
.calendar-day.is-past:not(.is-today) { opacity: .62; }
.calendar-day.is-past:hover { opacity: 1; }

.calendar-day-empty {
  min-height: 58px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 1.2rem;
  color: #aea7a4;
  background: #faf9f8;
  border: 1px dashed #ddd7d4;
  border-radius: 12px;
  font-size: .74rem;
  font-weight: 800;
}

.calendar-match {
  position: relative;
  display: grid;
  grid-template-columns: minmax(135px, .7fr) 72px minmax(250px, 1.4fr) minmax(100px, .42fr);
  align-items: center;
  gap: 1rem;
  min-height: 90px;
  margin-bottom: .6rem;
  padding: 1rem 1.2rem 1rem 1.45rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3ddda;
  border-radius: 14px;
  box-shadow: 0 9px 25px rgba(45, 27, 27, .06);
}

.calendar-match::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--football-red);
  content: "";
}

.calendar-match--reserve::before { background: #1c1919; }
.calendar-match--second::before { width: 7px; background: repeating-linear-gradient(180deg, var(--football-red) 0 7px, #fff 7px 12px); }
.calendar-match--training { background: #fff7f7; border-color: #f2c9cc; }
.calendar-match--training::before { width: 7px; background: repeating-linear-gradient(135deg, var(--football-red) 0 6px, #fff 6px 10px); }

.calendar-match-meta span,
.calendar-match-meta small { display: block; }
.calendar-match-meta span { font-size: .7rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.calendar-match-meta small { margin-top: .3rem; color: #918a87; font-size: .58rem; font-weight: 800; }

.calendar-match > time {
  color: var(--football-red);
  font-family: var(--football-display);
  font-size: 1.45rem;
  font-weight: 900;
  text-align: center;
}

.calendar-match-teams {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-match-teams span:first-child { text-align: right; }
.calendar-match-teams span:last-child { text-align: left; }
.calendar-match-teams b { color: #c8c1be; }

.calendar-training-title {
  min-width: 0;
}

.calendar-training-title strong,
.calendar-training-title span {
  display: block;
}

.calendar-training-title strong {
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.calendar-training-title span {
  margin-top: .28rem;
  color: #847b78;
  font-size: .61rem;
  font-weight: 800;
}

.calendar-match-score,
.calendar-match-status {
  justify-self: end;
  padding: .52rem .65rem;
  color: #fff;
  background: #201d1d;
  border-radius: 8px;
  font-family: var(--football-display);
  font-size: 1.25rem;
  letter-spacing: -.02em;
  text-align: center;
  white-space: nowrap;
}

.calendar-match-score--win { background: var(--football-red); }
.calendar-match-score--draw { color: #1f1b1b; background: #eee9e7; }
.calendar-match-status { color: var(--football-red); background: #fff1f2; font-family: inherit; font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }

.calendar-retro-head {
  justify-content: center;
}

.calendar-retro-head > div {
  min-width: min(360px, 58vw);
  text-align: center;
}

.calendar-retro-head > button {
  width: 46px;
  padding: 0;
  color: var(--football-red);
  background: #fff;
  border: 1px solid #e3ddda;
  border-radius: 50%;
  font-size: 1.15rem;
}

.calendar-retro-head > button:hover,
.calendar-retro-head > button:focus-visible {
  color: #fff;
  background: var(--football-red);
  border-color: var(--football-red);
  outline: none;
}

.calendar-retro-head > button:disabled {
  color: #c5bfbc;
  background: #f6f4f2;
  border-color: #ece8e5;
  cursor: not-allowed;
}

.calendar-retro-scroll {
  overflow-x: auto;
  padding: 1.25rem;
}

.calendar-month {
  min-width: 1000px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid #ded9d6;
  border-left: 1px solid #ded9d6;
}

.calendar-month-weekday {
  padding: .75rem;
  color: #77706d;
  background: #f5f3f1;
  border-right: 1px solid #ded9d6;
  border-bottom: 1px solid #ded9d6;
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-month-day {
  position: relative;
  min-height: 165px;
  padding: .65rem;
  background: #fff;
  border-right: 1px solid #ded9d6;
  border-bottom: 1px solid #ded9d6;
}

.calendar-month-day.is-outside { color: #aaa3a0; background: #f7f5f3; }
.calendar-month-day.is-today { box-shadow: inset 0 0 0 3px var(--football-red); }

.calendar-month-day > header {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .4rem;
}

.calendar-month-day > header span {
  font-family: var(--football-display);
  font-size: 1.25rem;
  font-weight: 900;
}

.calendar-month-day > header b {
  padding: .22rem .4rem;
  color: #fff;
  background: var(--football-red);
  border-radius: 999px;
  font-size: .48rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.calendar-match--compact {
  display: block;
  min-height: 0;
  margin: 0 0 .42rem;
  padding: .55rem .5rem .55rem .7rem;
  border-radius: 7px;
  box-shadow: none;
}

.calendar-match--compact::before { width: 4px; }
.calendar-match--compact .calendar-match-meta small { display: none; }
.calendar-match--compact .calendar-match-meta span { overflow: hidden; font-size: .52rem; text-overflow: ellipsis; white-space: nowrap; }
.calendar-match--compact > time { display: block; margin: .25rem 0; font-family: inherit; font-size: .56rem; text-align: left; }
.calendar-match--compact .calendar-match-teams { display: block; font-size: .55rem; line-height: 1.35; }
.calendar-match--compact .calendar-match-teams span { display: block; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.calendar-match--compact .calendar-match-teams b { display: none; }
.calendar-match--compact .calendar-training-title strong { font-size: .56rem; line-height: 1.22; white-space: normal; }
.calendar-match--compact .calendar-training-title span { display: block; margin-top: .2rem; font-size: .48rem; line-height: 1.25; white-space: normal; }
.calendar-match--compact .calendar-match-score,
.calendar-match--compact .calendar-match-status { display: inline-block; margin-top: .35rem; padding: .28rem .38rem; font-size: .58rem; }

.club-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.6rem;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
  color: #fff;
  background: #171414;
  border-radius: 16px;
}

.club-calendar-legend > div {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.club-calendar-legend > p {
  flex: 1 1 420px;
  margin: 0 0 0 auto;
  color: #aaa3a1;
  font-size: .66rem;
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 1080px) {
  .club-calendar-toolbar { align-items: stretch; flex-direction: column; }
  .club-calendar-filters { padding-bottom: .1rem; }
  .calendar-match { grid-template-columns: 150px 68px minmax(240px, 1fr) 110px; gap: .75rem; }
}

@media (max-width: 760px) {
  .club-events-page main { padding-top: 6.5rem; }
  .club-calendar { width: 100%; margin-top: 0; }
  .club-calendar-intro { grid-template-columns: 1fr; gap: 1.5rem; padding-inline: 1rem; }
  .club-calendar-intro h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .club-calendar-today { min-width: 0; padding-top: .6rem; }
  .club-calendar-toolbar,
  .club-calendar-panels { border-radius: 0; }
  .club-calendar-view-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .club-calendar-view-switch button { justify-content: center; }
  .calendar-modern-head { min-height: 78px; }
  .calendar-modern-head strong { font-size: 1.1rem; }
  .calendar-modern-head button { min-height: 40px; padding-inline: .75rem; font-size: .56rem; }
  .calendar-timeline { height: 72svh; padding: 1rem .75rem 3rem; }
  .calendar-day { grid-template-columns: 48px 18px minmax(0, 1fr); gap: .55rem; min-height: 118px; }
  .calendar-day-date strong { font-size: 2rem; }
  .calendar-day-date span,
  .calendar-day-date small { font-size: .52rem; }
  .calendar-day-content > header { align-items: flex-start; flex-direction: column; justify-content: center; gap: .25rem; min-height: 52px; }
  .calendar-day-content > header h3 { font-size: .56rem; }
  .calendar-match { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: .55rem; min-height: 0; padding: .8rem .75rem .8rem 1rem; }
  .calendar-match-meta { grid-column: 1 / -1; }
  .calendar-match-meta small { display: none; }
  .calendar-match > time { font-size: 1rem; text-align: left; }
  .calendar-match-teams { display: block; font-size: .65rem; line-height: 1.4; }
  .calendar-match-teams span { display: block; text-align: left !important; }
  .calendar-match-teams b { display: none; }
  .calendar-training-title strong { font-size: .68rem; }
  .calendar-training-title span { font-size: .56rem; }
  .calendar-match-score { padding: .4rem .5rem; font-size: .92rem; }
  .calendar-match-status { max-width: 82px; padding: .38rem .4rem; font-size: .48rem; white-space: normal; }
  .calendar-day-empty { min-height: 48px; padding-inline: .75rem; font-size: .65rem; }
  .calendar-retro-head > div { min-width: 0; flex: 1; }
  .calendar-retro-head strong { font-size: 1.15rem; }
  .calendar-retro-scroll { padding: .75rem; }
  .calendar-month { min-width: 850px; }
  .club-calendar-legend { border-radius: 0; }
  .club-calendar-legend > p { flex-basis: 100%; margin-left: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .club-calendar-view-switch button,
  .club-calendar-filters button,
  .calendar-modern-head button,
  .calendar-retro-head > button { transition: none; }
  .calendar-timeline { scroll-behavior: auto; }
}

/* Football calendar v1 — calendrier unifié des trois équipes */
.football-calendar-page main {
  padding-top: clamp(10rem, 14vw, 13rem);
  background: #f3f3f3;
}

.fc-calendar {
  width: min(1640px, calc(100% - clamp(2rem, 8vw, 11rem)));
  margin: 0 auto clamp(5rem, 8vw, 8rem);
}

.fc-calendar-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 560px);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.fc-calendar-title > p:first-child {
  grid-column: 1 / -1;
  margin: 0 0 -.6rem;
  color: var(--football-red);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.fc-calendar-title h1 {
  margin: 0;
  font-family: var(--football-display), Impact, sans-serif;
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: .78;
  text-transform: uppercase;
}

.fc-calendar-title h1 span,
.fc-calendar-title h1 strong { display: block; }
.fc-calendar-title h1 span { color: var(--football-red); }
.fc-calendar-title h1 strong { margin-top: .14em; color: #171414; font-size: .72em; }
.fc-calendar-title > p:last-child { max-width: 540px; margin: 0 0 .2rem; color: #5d5857; font-size: clamp(.95rem, 1.35vw, 1.2rem); font-weight: 700; line-height: 1.6; }

.fc-calendar-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.9rem;
  padding-bottom: 1.45rem;
  border-bottom: 1px solid #cbc8c6;
}

.fc-calendar-scope { display: flex; align-items: center; gap: 1.6rem; }
.fc-calendar-scope button {
  position: relative;
  padding: .8rem 0;
  color: #171414;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}

.fc-calendar-scope button::after {
  position: absolute;
  right: 0;
  bottom: .25rem;
  left: 0;
  height: 3px;
  background: var(--football-red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.fc-calendar-scope button:hover,
.fc-calendar-scope button:focus-visible,
.fc-calendar-scope button.is-active { color: var(--football-red); }
.fc-calendar-scope button.is-active::after { transform: scaleX(1); }

.fc-calendar-team-filter { min-width: 245px; display: grid; gap: .4rem; }
.fc-calendar-team-filter span { color: #5d5857; font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.fc-calendar-team-filter select {
  width: 100%;
  min-height: 48px;
  padding: 0 2.6rem 0 1rem;
  color: #171414;
  background: #fff;
  border: 1px solid #cbc8c6;
  border-radius: 0;
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}

.fc-calendar-list { display: grid; gap: 1.2rem; }
.fc-calendar-fixture {
  position: relative;
  min-height: 158px;
  display: grid;
  grid-template-columns: minmax(155px, .55fr) minmax(520px, 1.9fr) minmax(165px, .55fr);
  gap: 1.4rem;
  align-items: center;
  padding: 3.25rem 1.3rem 1.45rem;
  color: #171414;
  background: #fff;
  border-top: 2px solid var(--football-red);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 35px rgba(31, 24, 23, .035);
  transition: box-shadow .2s ease, transform .2s ease;
}

.fc-calendar-fixture:hover { box-shadow: 0 18px 45px rgba(31, 24, 23, .09); transform: translateY(-2px); }
.fc-calendar-fixture[hidden] { display: none; }
.fc-calendar-fixture > time {
  position: absolute;
  top: .8rem;
  left: 50%;
  font-size: .67rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.fc-calendar-competition { display: grid; gap: .35rem; padding-left: .2rem; }
.fc-calendar-competition strong { font-size: .82rem; font-weight: 950; text-transform: uppercase; }
.fc-calendar-competition span { font-size: .66rem; font-weight: 850; text-transform: uppercase; }

.fc-calendar-matchup {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.fc-calendar-club { min-width: 0; display: flex; align-items: center; gap: .8rem; }
.fc-calendar-club.is-home { justify-content: flex-end; text-align: right; }
.fc-calendar-club.is-away { justify-content: flex-start; text-align: left; }
.fc-calendar-club b { min-width: 0; overflow-wrap: anywhere; font-size: .86rem; font-weight: 950; line-height: 1.15; text-transform: uppercase; }
.fc-calendar-club i {
  width: 54px;
  height: 54px;
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  margin: 0;
  background: #fff;
  border: 1px solid #f0d1d3;
  border-radius: 50%;
  font-style: normal;
}

.fc-calendar-club img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.fc-calendar-club img.club-logo-tsr { padding: 5px; }
.fc-calendar-score {
  min-width: 90px;
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: .6rem .8rem;
  color: var(--football-red);
  background: #fff7f7;
  border: 1px solid #ffd7da;
  border-radius: 9px;
  font-family: var(--football-display), Impact, sans-serif;
  font-size: 1.55rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .02em;
  white-space: nowrap;
}

.fc-calendar-score.is-time { color: #fff; background: var(--football-red); border-color: var(--football-red); }
.fc-calendar-score.is-pending { font-family: inherit; font-size: 1rem; }
.fc-calendar-fixture > p { display: grid; gap: .35rem; justify-items: end; margin: 0; text-align: right; }
.fc-calendar-fixture > p strong { color: var(--football-red); font-size: .76rem; font-weight: 950; text-transform: uppercase; }
.fc-calendar-fixture > p span { color: #8a8380; font-size: .64rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.fc-calendar-fixture.is-upcoming { background: linear-gradient(90deg, #fff, #fff9f9); box-shadow: 0 15px 45px rgba(254, 30, 41, .08); }

.fc-calendar-empty { min-height: 220px; display: grid; place-items: center; align-content: center; gap: .55rem; padding: 2rem; color: #171414; background: #fff; border-top: 2px solid var(--football-red); text-align: center; }
.fc-calendar-empty[hidden] { display: none; }
.fc-calendar-empty strong { color: var(--football-red); font-family: var(--football-display), Impact, sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); text-transform: uppercase; }
.fc-calendar-empty span { color: #6d6765; font-size: .8rem; font-weight: 700; }

.fc-calendar-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.6rem;
  padding: 1.25rem 1.4rem;
  color: #625c5a;
  background: #e8e6e4;
  border-radius: 8px;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.5;
}

.fc-calendar-source > span { color: #171414; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.fc-calendar-source p { margin: 0; text-align: right; }
.fc-calendar-source a { color: var(--football-red); font-weight: 900; text-decoration: none; }
.fc-calendar-source a + a { margin-left: .8rem; }
.fc-calendar-source a:hover,
.fc-calendar-source a:focus-visible { text-decoration: underline; }

@media (max-width: 1150px) {
  .fc-calendar-fixture { grid-template-columns: 145px minmax(430px, 1fr); }
  .fc-calendar-fixture > p { grid-column: 1 / -1; display: flex; justify-content: center; gap: .55rem; text-align: center; }
}

@media (max-width: 820px) {
  .football-calendar-page main { padding-top: 7rem; }
  .fc-calendar { width: 100%; }
  .fc-calendar-title { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 3rem; padding: 0 1rem; }
  .fc-calendar-title > p:first-child { grid-column: auto; }
  .fc-calendar-title h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); }
  .fc-calendar-title > p:last-child { max-width: 620px; }
  .fc-calendar-controls { align-items: stretch; flex-direction: column; margin-inline: 1rem; }
  .fc-calendar-scope { gap: 1.2rem; }
  .fc-calendar-team-filter { min-width: 0; }
  .fc-calendar-list { gap: .8rem; }
  .fc-calendar-fixture {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem 1rem 1.25rem;
    border-radius: 0;
  }
  .fc-calendar-fixture > time { position: static; justify-self: center; transform: none; }
  .fc-calendar-competition { justify-items: center; padding: 0; text-align: center; }
  .fc-calendar-matchup { width: min(100%, 560px); justify-self: center; gap: .55rem; }
  .fc-calendar-club { min-width: 0; flex-direction: column; gap: .45rem; text-align: center !important; }
  .fc-calendar-club.is-home { flex-direction: column-reverse; }
  .fc-calendar-club b { min-height: 2.4em; display: grid; place-items: start center; font-size: .66rem; }
  .fc-calendar-club i { width: 60px; height: 60px; flex-basis: 60px; }
  .fc-calendar-score { min-width: 74px; min-height: 56px; padding: .45rem .55rem; font-size: 1.3rem; }
  .fc-calendar-score.is-pending { font-size: .84rem; }
  .fc-calendar-fixture > p { grid-column: auto; display: grid; justify-items: center; gap: .2rem; text-align: center; }
  .fc-calendar-source { align-items: flex-start; flex-direction: column; margin: 1rem; }
  .fc-calendar-source p { text-align: left; }
  .fc-calendar-source a { display: block; margin-top: .4rem; }
  .fc-calendar-source a + a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fc-calendar-scope button::after,
  .fc-calendar-fixture { transition: none; }
}

/* Musée du Trèfle Sportif Réaulais — accueil plein écran */
.history-mag-page .history-mag-cover {
  min-height: 100svh;
}

.history-mag-page .history-mag-cover-copy {
  width: min(100%, 1380px);
}

.history-mag-page .history-mag-cover-copy h1 {
  max-width: 1380px;
  font-size: clamp(3.5rem, 6.3vw, 7rem);
  line-height: .82;
}

.museum-intro {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(6rem, 12vw, 11rem) clamp(1rem, 7vw, 7rem);
  color: #171313;
  background: #fff;
}

.museum-intro > div {
  width: min(100%, 1280px);
}

.museum-intro p {
  margin: 0 0 1.2rem;
  color: var(--football-red);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.museum-intro h2 {
  max-width: 1100px;
  margin: 0;
  font-family: var(--football-display), Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.2rem, 10vw, 10rem);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .78;
  text-transform: uppercase;
}

.museum-intro strong {
  max-width: 1060px;
  display: block;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 2px solid var(--football-red);
  font-size: clamp(1.35rem, 2.3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.34;
}

@media (max-width: 680px) {
  .history-mag-page .history-mag-cover {
    min-height: max(700px, 100svh);
  }

  .history-mag-page .history-mag-cover-copy h1 {
    font-size: clamp(2.45rem, 10.6vw, 3.2rem);
    line-height: .86;
  }

  .museum-intro {
    min-height: max(700px, 100svh);
    padding: 5rem 1rem;
  }

  .museum-intro h2 {
    font-size: clamp(3rem, 14vw, 4.25rem);
    line-height: .8;
  }

  .museum-intro strong {
    font-size: 1.25rem;
    line-height: 1.42;
  }
}

/* Musée v117 — bannière éditoriale sur le modèle de Notre piscine */
.museum-page #contenu {
  padding-top: 112px;
  background: linear-gradient(to bottom, #fff 0 112px, #f5f1ec 112px);
}

.museum-page .museum-static-banner {
  min-height: 0;
  aspect-ratio: 851 / 315;
  background: #050505;
}

.museum-page .museum-static-banner .football-carousel-media img {
  object-fit: contain;
  object-position: center;
}

.museum-page .museum-marquee {
  margin-bottom: 0;
  color: #080808;
  background: #fff;
  border-block: 1px solid #e5e0dc;
}

@media (max-width: 760px) {
  .museum-page #contenu {
    padding-top: 84px;
    background: linear-gradient(to bottom, #fff 0 84px, #f5f1ec 84px);
  }
}

/* Accueil v118 — menu posé sur fond blanc avant la bannière */
.home-page #contenu {
  overflow-x: hidden;
  padding-top: 112px;
  background: linear-gradient(to bottom, #fff 0 112px, var(--football-cream) 112px);
}

@media (max-width: 760px) {
  .home-page #contenu {
    padding-top: 84px;
    background: linear-gradient(to bottom, #fff 0 84px, var(--football-cream) 84px);
  }

  .home-page .home-carousel {
    min-height: 0;
    aspect-ratio: 851 / 315;
  }

  .home-carousel-vertical-tag {
    right: .45rem;
    padding-inline-start: .38rem;
    border-inline-start-width: 2px;
    font-size: .5rem;
    letter-spacing: .13em;
  }

  .home-carousel-vertical-full { display: none; }
  .home-carousel-vertical-short { display: inline; }
}

/* Notre piscine v121 — galeries contemporaines et accroche patrimoniale */
.pool-photo-duo {
  position: relative;
  width: 100vw;
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 71fr) minmax(0, 29fr);
  gap: clamp(6px, .9vw, 14px);
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(10px, 1.2vw, 20px) 0;
  background: #080808;
  border-block: 0;
}

.pool-photo-duo figure {
  position: relative;
  z-index: 0;
  min-width: 0;
  height: clamp(190px, 45vw, 700px);
  margin: 0;
  box-sizing: border-box;
  border-block: clamp(3px, .45vw, 7px) solid #fff;
}

.pool-photo-duo figure::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #080808;
  content: "";
  transform: translate(clamp(7px, .9vw, 14px), clamp(7px, .9vw, 14px));
  display: none;
}

.pool-photo-duo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 0;
}

.pool-photo-duo--equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 0;
}

.pool-photo-duo--equal figure {
  height: auto;
  aspect-ratio: 4 / 3;
}

.pool-heritage-statement {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) 1rem;
  color: #080808;
  background: #fff;
  border-bottom: 1px solid #dedad6;
  text-align: center;
}

.pool-heritage-statement h2 {
  max-width: 1200px;
  margin: 0;
}

.pool-amenities {
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1rem, 4.5vw, 4.75rem) clamp(4rem, 7vw, 7rem);
  color: #080808;
  background: #fff;
  border-bottom: 1px solid #dedad6;
}

.pool-amenities > h2 {
  max-width: 1200px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.pool-amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.3vw, 2.5rem);
}

.pool-amenities-grid article {
  min-height: 280px;
  padding: clamp(1.35rem, 2.3vw, 2.2rem);
  background: #fff;
  border: 2px solid #080808;
  box-shadow: 10px 10px 0 #080808;
}

.pool-amenities-grid span {
  color: var(--football-red);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
}

.pool-amenities-grid h3 {
  margin: clamp(2.2rem, 4vw, 4rem) 0 1rem;
  font-family: var(--football-display), Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  font-weight: 950;
  letter-spacing: -.015em;
  line-height: .95;
  text-transform: uppercase;
}

.pool-amenities-grid p {
  margin: 0;
  color: #3f3b39;
  font-size: clamp(.86rem, 1vw, 1rem);
  font-weight: 650;
  line-height: 1.55;
}

.pool-summer-callout {
  width: 100vw;
  max-width: none;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: center;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 7vw, 7rem);
  color: #fff;
  background: #080808;
}

.pool-summer-callout header > p {
  color: var(--football-red);
}

.pool-summer-callout h1 {
  max-width: 950px;
  color: #fff;
  font-size: clamp(4rem, 8.5vw, 9rem);
}

.pool-location-map {
  margin: 0;
}

.pool-location-map img {
  width: min(100%, 480px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .pool-amenities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pool-summer-callout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .pool-summer-callout h1 { margin-inline: auto; }
  .pool-location-map img { width: min(100%, 360px); }
}

@media (max-width: 600px) {
  .pool-amenities { padding-inline: 1rem; }
  .pool-amenities-grid { grid-template-columns: 1fr; }
  .pool-amenities-grid article { min-height: 0; }
}

@media (max-width: 760px) {
  .pool-photo-duo {
    gap: 6px;
    padding: 8px 0;
  }
}

/* Notre piscine v126 — zoom cartographique France vers Réaux */
.pool-summer-callout:has(.pool-zoom-map) {
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
}

.pool-zoom-map {
  --map-step: 0;
  width: min(100%, 680px);
  display: grid;
  gap: 1rem;
  justify-self: end;
}

.pool-map-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(255,255,255,.2);
  isolation: isolate;
}

.pool-map-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(.75rem, 2vw, 1.5rem);
  opacity: 0;
  pointer-events: none;
  transform: scale(.82);
  transition: opacity .45s ease, transform .65s cubic-bezier(.2,.75,.2,1);
}

.pool-map-stage.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.pool-zoom-map .pool-map-stage img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.pool-map-stage:nth-child(2) img {
  filter: hue-rotate(135deg) saturate(1.45) brightness(1.08);
}

.pool-map-caption {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: .15rem;
  padding: .85rem 1rem;
  color: #fff;
  background: rgba(5,5,5,.88);
  border-left: 4px solid var(--football-red);
  backdrop-filter: blur(8px);
  text-align: left;
}

.pool-map-caption span,
.pool-map-caption small {
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pool-map-caption span { color: var(--football-red); }
.pool-map-caption strong {
  font-family: var(--football-display), Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}
.pool-map-caption small { color: rgba(255,255,255,.7); }

.pool-map-marker {
  position: absolute;
  z-index: 3;
  left: var(--map-x);
  top: var(--map-y);
  width: clamp(28px, 4.5vw, 48px);
  aspect-ratio: 1;
  border: 5px solid var(--football-red);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(254,30,41,.22), 0 0 30px rgba(254,30,41,.65);
  transform: translate(-50%, -50%);
  animation: pool-map-pulse 1.8s ease-in-out infinite;
}

.pool-map-marker::after {
  position: absolute;
  inset: 30%;
  background: var(--football-red);
  border-radius: 50%;
  content: "";
}

.pool-map-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
}

.pool-map-back,
.pool-map-compass {
  min-height: 76px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.pool-map-back {
  padding: 0 1.2rem;
  background: #111;
  font-size: .68rem;
  letter-spacing: .08em;
}

.pool-map-back:disabled { opacity: .32; cursor: default; }

.pool-map-compass {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .5rem 1rem;
  background: var(--football-red);
  text-align: left;
}

.pool-map-compass:hover,
.pool-map-compass:focus-visible { background: #c80b14; }

.pool-map-compass > span:last-child { min-width: 0; display: grid; }
.pool-map-compass small { font-size: .56rem; letter-spacing: .08em; }
.pool-map-compass strong { overflow: hidden; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }

.pool-compass-rose {
  position: relative;
  width: 56px;
  aspect-ratio: 1;
  display: grid;
  flex: 0 0 56px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
}

.pool-compass-rose::before,
.pool-compass-rose::after {
  position: absolute;
  background: rgba(255,255,255,.5);
  content: "";
}
.pool-compass-rose::before { width: 1px; height: 76%; }
.pool-compass-rose::after { width: 76%; height: 1px; }
.pool-compass-rose b { position: absolute; top: 1px; font-size: .48rem; }
.pool-compass-rose i {
  position: relative;
  z-index: 2;
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-bottom: 24px solid #fff;
  border-left: 6px solid transparent;
  transform: rotate(calc(var(--map-step) * 36deg));
  transform-origin: 50% 100%;
  transition: transform .55s cubic-bezier(.2,.75,.2,1);
}

.pool-map-progress {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pool-map-progress button {
  width: 10px;
  aspect-ratio: 1;
  display: block;
  padding: 0;
  background: #555;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}

.pool-map-progress button.is-active {
  width: 32px;
  background: var(--football-red);
  border-radius: 999px;
}

@keyframes pool-map-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(.92); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

@media (max-width: 900px) {
  .pool-summer-callout:has(.pool-zoom-map) { grid-template-columns: 1fr; }
  .pool-zoom-map { width: min(100%, 620px); justify-self: center; }
  .pool-zoom-map .pool-map-stage img { width: 100%; }
}

@media (max-width: 600px) {
  .pool-map-stage { padding: .45rem; }
  .pool-map-caption { right: .5rem; bottom: .5rem; left: .5rem; padding: .65rem .75rem; }
  .pool-map-controls { grid-template-columns: 1fr; }
  .pool-map-back { min-height: 44px; order: 2; }
  .pool-map-compass { min-height: 72px; order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pool-map-stage,
  .pool-compass-rose i,
  .pool-map-progress button { transition: none; }
  .pool-map-marker { animation: none; }
}

/* Navigation v128 — bouton menu horizontal et pictogramme décalé */
.football-shell .football-menu-button,
.football-v2 .football-menu-button {
  width: auto;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.football-shell .football-menu-button > span,
.football-shell .football-menu-button > span::before,
.football-shell .football-menu-button > span::after,
.football-v2 .football-menu-button > span,
.football-v2 .football-menu-button > span::before,
.football-v2 .football-menu-button > span::after {
  width: 28px;
  height: 3px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.football-shell .football-menu-button > span,
.football-v2 .football-menu-button > span {
  position: relative;
  flex: 0 0 28px;
  transform: skewX(-24deg);
}

.football-shell .football-menu-button > span::before,
.football-v2 .football-menu-button > span::before {
  position: absolute;
  left: -6px;
  top: -8px;
}

.football-shell .football-menu-button > span::after,
.football-v2 .football-menu-button > span::after {
  position: absolute;
  left: 6px;
  top: 8px;
}

.football-shell .football-menu-button b,
.football-v2 .football-menu-button b {
  margin: 0;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .085em;
  line-height: 1;
  text-transform: uppercase;
}

.football-shell .football-menu-button:hover,
.football-shell .football-menu-button:focus-visible,
.football-v2 .football-menu-button:hover,
.football-v2 .football-menu-button:focus-visible {
  color: #fff;
  background: transparent;
  border-color: transparent;
  transform: translateY(-1px);
}

.football-shell .football-nav a,
.football-v2 .football-nav a,
.football-shell .football-header-actions a,
.football-v2 .football-header-actions a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1;
}

/* Bande de navigation unique — modèle de la page d'accueil */
.football-shell .site-unified-header,
.football-shell .site-unified-header.is-scrolled,
.football-v2 .site-unified-header,
.football-v2 .site-unified-header.is-scrolled {
  background: #fe1e29;
  border: 0;
}

@media (max-width: 1280px) and (min-width: 761px) {
  .football-shell .football-nav,
  .football-v2 .football-nav {
    gap: 0;
    margin-left: .2rem;
  }

  .football-shell .football-nav a,
  .football-v2 .football-nav a,
  .football-shell .football-header-actions a,
  .football-v2 .football-header-actions a {
    padding-inline: .2rem;
    font-size: .6rem;
    letter-spacing: .045em;
  }

  .football-shell .football-header-actions,
  .football-v2 .football-header-actions { gap: .35rem; }

  .football-shell .football-header-actions a,
  .football-v2 .football-header-actions a {
    padding: .65rem .7rem;
  }

  .football-shell .football-header-actions > a:not(.header-facility-link):not(.primary),
  .football-v2 .football-header-actions > a:not(.header-facility-link):not(.primary) { display: none; }
}

@media (max-width: 760px) {
  .football-shell .football-menu-button,
  .football-v2 .football-menu-button {
    width: auto;
    height: 46px;
    gap: 11px;
    padding: 0 7px;
  }

  .football-shell .football-menu-button > span,
  .football-v2 .football-menu-button > span {
    flex-basis: 24px;
  }

  .football-shell .football-menu-button > span,
  .football-shell .football-menu-button > span::before,
  .football-shell .football-menu-button > span::after,
  .football-v2 .football-menu-button > span,
  .football-v2 .football-menu-button > span::before,
  .football-v2 .football-menu-button > span::after {
    width: 24px;
    height: 3px;
  }

  .football-shell .football-menu-button > span::before,
  .football-v2 .football-menu-button > span::before { left: -5px; top: -7px; }

  .football-shell .football-menu-button > span::after,
  .football-v2 .football-menu-button > span::after { left: 5px; top: 7px; }

  .football-shell .football-menu-button b,
  .football-v2 .football-menu-button b { font-size: .72rem; }
}

/* Menu latéral compact — proportions inspirées du menu PSG */
.football-menu-overlay {
  background: rgba(254, 30, 41, .34);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition-duration: .3s;
}

.football-menu-drawer {
  width: min(920px, calc(100% - 110px));
  grid-template-columns: minmax(430px, 520px) minmax(340px, 1fr);
  box-shadow: 18px 0 42px rgba(92, 0, 7, .24);
  transition: transform .42s cubic-bezier(.2, .75, .2, 1), width .34s ease;
}

.football-menu-drawer:not(.has-submenu) {
  width: clamp(430px, 42vw, 540px);
}

.football-menu-root {
  padding: 1.2rem clamp(1.35rem, 3.2vw, 2.5rem) 1.5rem;
}

.football-menu-close {
  left: 1.2rem;
  top: 1.2rem;
  width: 50px;
  height: 50px;
}

.football-menu-close span,
.football-menu-close span::after {
  width: 25px;
}

.football-menu-logo {
  width: 78px;
  height: 78px;
  margin: -.1rem auto .25rem;
}

.football-menu-search {
  width: 100%;
  margin: .35rem 0 1rem;
  border-bottom-width: 2px;
}

.football-menu-search input {
  padding: .55rem .1rem;
  font-size: .82rem;
}

.football-menu-search b {
  font-size: 1.55rem;
}

.football-menu-primary > a,
.football-menu-primary > button {
  min-height: 52px;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.08;
}

.football-menu-primary > * span {
  font-size: 1.35rem;
}

.football-menu-primary > *:hover,
.football-menu-primary > *:focus-visible,
.football-menu-primary > *.is-active {
  padding-left: .45rem;
}

.football-menu-secondary {
  gap: .35rem 1.15rem;
  margin-top: 1.1rem;
}

.football-menu-secondary a {
  font-size: .78rem;
}

.football-menu-signature {
  left: clamp(1.35rem, 3.2vw, 2.5rem);
  bottom: 1rem;
  font-size: .7rem;
}

.football-menu-signature span {
  font-size: .58rem;
}

.football-subpanel {
  padding: 4.2rem clamp(1.8rem, 4vw, 3.5rem);
}

.football-subpanel a {
  padding: .55rem 0;
  font-size: 1rem;
}

@media (max-width: 760px) {
  .football-menu-drawer,
  .football-menu-drawer.has-submenu,
  .football-menu-drawer:not(.has-submenu) {
    width: min(80vw, 480px);
    grid-template-columns: 1fr;
  }

  .football-menu-root {
    padding: 1rem 1.2rem 1.4rem;
  }

  .football-menu-close {
    left: .85rem;
    top: .85rem;
    width: 46px;
    height: 46px;
  }

  .football-menu-logo {
    width: 70px;
    height: 70px;
  }

  .football-menu-search {
    margin: .25rem 0 .8rem;
  }

  .football-menu-primary > a,
  .football-menu-primary > button {
    min-height: 49px;
    font-size: clamp(.94rem, 4.5vw, 1.08rem);
  }

  .football-menu-primary > * span {
    font-size: 1.2rem;
  }

  .football-menu-secondary {
    grid-template-columns: 1fr;
    margin-top: .85rem;
  }

  .football-menu-secondary a {
    min-height: 30px;
    display: flex;
    align-items: center;
  }

  .football-subpanel {
    width: 100%;
    padding: 4.7rem 1.25rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .football-menu-overlay,
  .football-menu-drawer {
    transition: none;
  }
}

/* Accès au direct : visible uniquement entre le coup d’envoi et la fin du match */
.football-live-entry[hidden],
.football-direct-live[hidden],
.football-direct-offline[hidden] { display: none !important; }

.football-live-entry {
  max-width: 1380px;
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  padding: 1.15rem clamp(1.25rem, 4vw, 4rem);
  overflow: hidden;
  color: #fff;
  background: #171313;
  border: 2px solid #fe1e29;
  box-shadow: 0 22px 55px rgba(0,0,0,.16);
  text-decoration: none;
}

.football-live-entry > span { display: flex; align-items: center; gap: .7rem; color: #fe1e29; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.football-live-entry > span i { width: 10px; height: 10px; background: #fe1e29; border-radius: 50%; box-shadow: 0 0 0 7px rgba(254,30,41,.16); animation: liveScorePulse 1.5s ease-in-out infinite; }
.football-live-entry > strong { font-family: var(--football-display); font-size: clamp(1.25rem, 2.7vw, 2.25rem); letter-spacing: -.02em; text-transform: uppercase; }
.football-live-entry > em { font-size: clamp(1.8rem, 4vw, 3.4rem); font-style: normal; transition: transform .2s ease; }
.football-live-entry:hover > em,
.football-live-entry:focus-visible > em { transform: translateX(.35rem); }

/* Page dédiée au direct */
.football-direct-page { background: #f3f1ef; }
.football-direct-hero { min-height: clamp(390px, 55vh, 620px); margin-bottom: 0; background-image: none; background-color: #171313; }
.football-direct-hero::before { background: linear-gradient(110deg, rgba(8,8,8,.98), rgba(36,9,12,.92) 60%, rgba(254,30,41,.36)); }
.football-direct-hero::after { content: "LIVE"; }
.football-direct-shell { padding: clamp(1rem, 4vw, 4rem); }
.football-direct-live { width: min(1500px, 100%); display: grid; gap: clamp(1.5rem, 4vw, 3rem); margin: 0 auto; }
.football-direct-page .football-live-feature { border-radius: 28px; box-shadow: 0 28px 80px rgba(0,0,0,.2); }
.football-direct-offline {
  width: min(1500px, 100%);
  min-height: clamp(320px, 45vw, 560px);
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 6rem);
  color: #fff;
  background: #171313;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.18);
}
.football-direct-offline > span { color: #fe1e29; font-family: var(--football-display); font-size: clamp(7rem, 22vw, 17rem); letter-spacing: -.08em; line-height: .7; }
.football-direct-offline div > p:first-child { margin: 0 0 .8rem; color: #fe1e29; font-size: .75rem; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
.football-direct-offline h2 { margin: 0; font-family: var(--football-display); font-size: clamp(2.5rem, 6vw, 6.2rem); letter-spacing: -.04em; line-height: .88; text-transform: uppercase; }
.football-direct-offline div > p:not(:first-child) { max-width: 660px; margin: 1.4rem 0 2rem; color: rgba(255,255,255,.66); line-height: 1.6; }
.football-direct-offline a { display: inline-flex; align-items: center; gap: 1rem; color: #fff; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.football-direct-offline a b { color: #fe1e29; font-size: 1.5rem; transition: transform .2s ease; }
.football-direct-offline a:hover b,
.football-direct-offline a:focus-visible b { transform: translateX(.3rem); }

/* Score du match administré en direct */
.live-score-ribbon[hidden],
.football-live-feature[hidden] { display: none !important; }

.live-score-ribbon {
  position: fixed;
  z-index: 880;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(760px, calc(100% - 2rem));
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
  color: #fff;
  background: #171313;
  border: 2px solid #fe1e29;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .34);
  text-decoration: none;
  transform: translateX(-50%);
}

.live-score-ribbon > span { display: flex; align-items: center; gap: .55rem; color: #fe1e29; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.live-score-ribbon > span i,
.football-live-pulse { width: 9px; height: 9px; display: block; background: #fe1e29; border-radius: 50%; box-shadow: 0 0 0 6px rgba(254, 30, 41, .15); }
.managed-live-score-active .live-score-ribbon > span i,
.football-live-feature.is-live .football-live-pulse { animation: liveScorePulse 1.5s ease-in-out infinite; }
.live-score-ribbon > strong { min-width: 0; display: flex; align-items: center; justify-content: center; gap: .8rem; font-size: clamp(.8rem, 2vw, 1.05rem); }
.live-score-ribbon em { overflow: hidden; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.live-score-ribbon [data-live-ribbon-score] { flex: 0 0 auto; padding: .45rem .65rem; color: #171313; background: #fff; font-size: 1.15rem; }
.live-score-ribbon > small { font-variant-numeric: tabular-nums; font-size: .85rem; font-weight: 900; }

.football-live-feature {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 3rem) clamp(1rem, 5vw, 5rem);
  color: #fff;
  background: #171313;
  scroll-margin-top: 110px;
}

.football-live-feature::before { position: absolute; right: -4vw; bottom: -5vw; color: rgba(255,255,255,.035); content: "LIVE"; font-family: var(--football-display); font-size: clamp(9rem, 24vw, 23rem); font-weight: 900; line-height: .7; pointer-events: none; }
.football-live-feature > * { position: relative; z-index: 1; }
.football-live-feature > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.football-live-feature > header > div { display: flex; align-items: center; gap: .75rem; color: #fe1e29; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.football-live-feature > header p { margin: 0; color: rgba(255,255,255,.68); font-size: .75rem; font-weight: 850; text-align: right; }
.football-live-scoreline { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: clamp(.7rem, 3vw, 2.5rem); padding: clamp(1.5rem, 4vw, 3rem) 0; }
.football-live-scoreline article { min-width: 0; display: grid; justify-items: center; align-content: center; gap: .45rem; padding: 1rem; text-align: center; border: 1px solid rgba(255,255,255,.13); }
.football-live-scoreline article.is-leading { color: #171313; background: #fff; border-color: #fff; }
.football-live-scoreline article small { color: #fe1e29; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.football-live-scoreline h2 { min-height: 2.1em; display: grid; place-items: center; margin: 0; font-family: var(--football-display); font-size: clamp(1rem, 2.6vw, 1.8rem); line-height: 1.02; }
.football-live-scoreline article > strong { font-family: var(--football-display); font-size: clamp(5rem, 13vw, 9rem); line-height: .8; }
.football-live-scoreline > div { display: grid; place-content: center; justify-items: center; gap: .3rem; }
.football-live-scoreline time { color: #fe1e29; font-variant-numeric: tabular-nums; font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 900; }
.football-live-scoreline > div span { color: rgba(255,255,255,.45); font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.football-live-feature > footer { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1.5rem; align-items: end; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16); }
.football-live-feature > footer p { grid-column: 1 / -1; margin: 0 0 .5rem; padding: .75rem 1rem; color: #171313; background: #fff; font-weight: 850; }
.football-live-feature > footer span { font-size: .82rem; font-weight: 850; }
.football-live-feature > footer small { color: rgba(255,255,255,.5); font-size: .65rem; }

@keyframes liveScorePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(254, 30, 41, .14); }
  50% { transform: scale(.78); box-shadow: 0 0 0 10px rgba(254, 30, 41, .04); }
}

@media (max-width: 700px) {
  .football-live-entry { width: calc(100% - 1.5rem); min-height: 88px; grid-template-columns: 1fr auto; gap: .45rem 1rem; padding: 1rem; }
  .football-live-entry > span { grid-column: 1; }
  .football-live-entry > strong { grid-column: 1; font-size: 1.15rem; }
  .football-live-entry > em { grid-column: 2; grid-row: 1 / 3; }
  .football-direct-shell { padding: .75rem; }
  .football-direct-offline { min-height: 440px; grid-template-columns: 1fr; align-content: center; gap: 2rem; padding: 2rem 1.25rem; border-radius: 20px; }
  .football-direct-offline > span { font-size: clamp(7rem, 45vw, 11rem); }
  .football-direct-page .football-live-feature { border-radius: 20px; }
  .live-score-ribbon { bottom: 0; width: 100%; min-height: 74px; grid-template-columns: 1fr auto; gap: .45rem .8rem; padding: .65rem .8rem max(.65rem, env(safe-area-inset-bottom)); border-width: 2px 0 0; transform: translateX(-50%); }
  .live-score-ribbon > span { grid-column: 1 / -1; }
  .live-score-ribbon > strong { justify-content: flex-start; gap: .45rem; }
  .live-score-ribbon em { max-width: 29vw; }
  .live-score-ribbon [data-live-ribbon-score] { padding: .35rem .45rem; font-size: 1rem; }
  .football-live-feature { padding-inline: .85rem; }
  .football-live-feature > header { align-items: flex-start; flex-direction: column; }
  .football-live-feature > header p { text-align: left; }
  .football-live-scoreline { gap: .35rem; }
  .football-live-scoreline article { padding: .8rem .35rem; }
  .football-live-scoreline article > strong { font-size: clamp(4.2rem, 22vw, 6rem); }
  .football-live-scoreline > div span { display: none; }
  .football-live-feature > footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .football-live-entry > span i,
  .managed-live-score-active .live-score-ribbon > span i,
  .football-live-feature.is-live .football-live-pulse { animation: none; }
}

/* Notre piscine v136 — pied de page dédié au site officiel */
.pool-official-footer {
  position: relative;
  min-height: clamp(360px, 42vw, 620px);
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
  overflow: hidden;
  color: #fff;
  background: #080808;
  border-top: 1px solid rgba(255,255,255,.14);
}

.pool-official-footer::before {
  position: absolute;
  right: -2vw;
  bottom: -7vw;
  color: rgba(255,255,255,.035);
  content: "RÉAUX";
  font-family: var(--football-display), Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(9rem, 25vw, 28rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .7;
  pointer-events: none;
  text-transform: uppercase;
}

.pool-official-footer-copy,
.pool-official-footer-link {
  position: relative;
  z-index: 1;
}

.pool-official-footer-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.pool-official-footer-copy > p:first-child {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pool-official-footer-copy > p:first-child span {
  width: 10px;
  aspect-ratio: 1;
  display: block;
  background: var(--football-red);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(254,30,41,.14);
}

.pool-official-footer h2 {
  max-width: 880px;
  margin: 0;
  font-family: var(--football-display), Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.2rem, 9vw, 9.5rem);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .82;
  text-transform: uppercase;
}

.pool-official-footer-intro {
  max-width: 650px;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  color: rgba(255,255,255,.7);
  font-size: clamp(.95rem, 1.25vw, 1.18rem);
  font-weight: 650;
  line-height: 1.6;
}

.pool-official-footer-link {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 1rem 2rem;
  padding: clamp(2rem, 5vw, 5rem);
  color: #fff;
  background: #0d0d0d;
  border-left: 1px solid rgba(255,255,255,.2);
  text-decoration: none;
  transition: background-color .3s ease;
}

.pool-official-footer-link small {
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pool-official-footer-link strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.7rem, 2.7vw, 3.4rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .9;
  text-transform: none;
  white-space: nowrap;
}

.pool-official-footer-link span {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: clamp(2.2rem, 4vw, 4rem);
  transition: transform .3s ease;
}

.pool-official-footer-link:hover,
.pool-official-footer-link:focus-visible {
  background: #0d0d0d;
  box-shadow: inset 0 0 0 3px var(--football-red);
}
.pool-official-footer-link:hover small,
.pool-official-footer-link:focus-visible small,
.pool-official-footer-link:hover span,
.pool-official-footer-link:focus-visible span { color: var(--football-red); }
.pool-official-footer-link:hover span,
.pool-official-footer-link:focus-visible span { transform: translate(.2em, -.2em); }

@media (max-width: 900px) {
  .pool-official-footer {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .pool-official-footer-link {
    min-height: 220px;
    border-top: 1px solid rgba(255,255,255,.2);
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .pool-official-footer-copy { padding: 4rem 1rem; }
  .pool-official-footer h2 { font-size: clamp(3.6rem, 19vw, 5.4rem); }
  .pool-official-footer-link { min-height: 190px; padding: 2rem 1rem; gap: .8rem 1rem; }
  .pool-official-footer-link strong { font-size: clamp(1.6rem, 7.8vw, 2.7rem); }
}

@media (prefers-reduced-motion: reduce) {
  .pool-official-footer-link,
  .pool-official-footer-link span { transition: none; }
}

/* Notre piscine v137 — lien officiel sur toute la largeur */
.pool-official-footer {
  min-height: 0;
  display: block;
  background: #080808;
}

.pool-official-footer::before { content: none; }

.pool-official-footer-link {
  min-height: clamp(120px, 13vw, 190px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 6vw, 6rem);
  color: #fff;
  background: #080808;
  border: 0;
  text-decoration: none;
}

.pool-official-footer-link strong {
  font-family: var(--football-display), Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.5rem, 6vw, 6.5rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: .85;
  text-transform: lowercase;
  white-space: nowrap;
}

.pool-official-footer-link span {
  display: block;
  flex: 0 0 auto;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.pool-official-footer-link:hover,
.pool-official-footer-link:focus-visible {
  color: var(--football-red);
  background: #080808;
  box-shadow: inset 0 0 0 3px var(--football-red);
}

@media (max-width: 600px) {
  .pool-official-footer-link {
    min-height: 120px;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .pool-official-footer-link strong { font-size: clamp(1.55rem, 7vw, 2.3rem); }
  .pool-official-footer-link span { font-size: 2.4rem; }
}

/* Notre piscine v138 — univers noir, hors bloc placé sous la bannière */
body.facility-pool-page,
.facility-pool-page #contenu {
  background: #080808;
}

.facility-pool-page .pool-heritage-statement,
.facility-pool-page .pool-amenities {
  color: #fff;
  background: #080808;
  border-color: rgba(255,255,255,.18);
}

.facility-pool-page .pool-amenities-grid article {
  color: #fff;
  background: #080808;
  border-color: #fff;
  box-shadow: 10px 10px 0 var(--football-red);
}

.facility-pool-page .pool-amenities-grid h3 { color: #fff; }
.facility-pool-page .pool-amenities-grid p { color: rgba(255,255,255,.72); }

/* Seul le bloc directement sous la bannière conserve son fond blanc. */
.facility-pool-page .pool-rating {
  color: #080808;
  background: #fff;
}

/* Notre piscine v139 — surfaces noires plus modernes et plus premium */
.facility-pool-page {
  --pool-bg: #050608;
  --pool-surface: #0d0f13;
  --pool-surface-soft: #12151a;
  --pool-line: rgba(255,255,255,.13);
  --pool-copy: rgba(255,255,255,.7);
}

body.facility-pool-page,
.facility-pool-page #contenu {
  background: var(--pool-bg);
}

.facility-pool-page .pool-photo-duo {
  width: min(calc(100% - clamp(1rem, 3vw, 3rem)), 1680px);
  gap: clamp(.65rem, 1.25vw, 1.35rem);
  overflow: visible;
  margin: clamp(1rem, 2.5vw, 2.5rem) auto;
  padding: 0;
  background: transparent;
}

.facility-pool-page .pool-photo-duo figure {
  overflow: hidden;
  border: 1px solid var(--pool-line);
  border-radius: clamp(16px, 2vw, 28px);
  box-shadow: 0 24px 70px rgba(0,0,0,.3);
}

.facility-pool-page .pool-photo-duo img {
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .65s ease;
}

.facility-pool-page .pool-heritage-statement {
  position: relative;
  width: min(calc(100% - clamp(1rem, 3vw, 3rem)), 1440px);
  overflow: hidden;
  margin: clamp(1.25rem, 3vw, 3rem) auto;
  padding: clamp(3.25rem, 7vw, 7rem) clamp(1.25rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(254,30,41,.15), transparent 34%),
    linear-gradient(135deg, var(--pool-surface-soft), #08090c 72%);
  border: 1px solid var(--pool-line);
  border-radius: clamp(22px, 3vw, 38px);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.facility-pool-page .pool-heritage-statement::before {
  width: clamp(52px, 6vw, 92px);
  height: 4px;
  display: block;
  margin: 0 auto clamp(1.5rem, 2.5vw, 2.5rem);
  background: var(--football-red);
  border-radius: 999px;
  content: "";
}

.facility-pool-page .pool-heritage-statement h2 {
  max-width: 1080px;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 4.4rem);
  letter-spacing: -.025em;
  line-height: .98;
  text-wrap: balance;
}

.facility-pool-page .pool-amenities {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
  background: transparent;
  border: 0;
}

.facility-pool-page .pool-amenities > h2 {
  max-width: 980px;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  padding-left: clamp(1rem, 2vw, 1.6rem);
  color: #fff;
  border-left: 4px solid var(--football-red);
  font-size: clamp(2.1rem, 4.8vw, 5rem);
  letter-spacing: -.035em;
  line-height: .92;
  text-align: left;
  text-wrap: balance;
}

.facility-pool-page .pool-amenities-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.facility-pool-page .pool-amenities-grid article {
  position: relative;
  min-height: clamp(230px, 20vw, 310px);
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3rem);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(254,30,41,.12), transparent 35%),
    linear-gradient(145deg, var(--pool-surface-soft), #090a0d 72%);
  border: 1px solid var(--pool-line);
  border-radius: clamp(18px, 2.2vw, 30px);
  box-shadow: 0 22px 65px rgba(0,0,0,.3);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.facility-pool-page .pool-amenities-grid article::before {
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  content: "";
}

.facility-pool-page .pool-amenities-grid article > * {
  position: relative;
  z-index: 1;
}

.facility-pool-page .pool-amenities-grid span {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: .42rem .78rem;
  color: #ff6670;
  background: rgba(254,30,41,.1);
  border: 1px solid rgba(254,30,41,.3);
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .18em;
}

.facility-pool-page .pool-amenities-grid h3 {
  margin: clamp(2.2rem, 4vw, 4rem) 0 .9rem;
  color: #fff;
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
  letter-spacing: -.025em;
  line-height: .94;
}

.facility-pool-page .pool-amenities-grid p {
  max-width: 58ch;
  color: var(--pool-copy);
  font-size: clamp(.94rem, 1.1vw, 1.08rem);
  font-weight: 560;
  line-height: 1.65;
}

.facility-pool-page .pool-summer-callout {
  position: relative;
  width: min(calc(100% - clamp(1rem, 3vw, 3rem)), 1540px);
  overflow: hidden;
  margin: 0 auto clamp(1.25rem, 3vw, 3rem);
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 92% 15%, rgba(254,30,41,.13), transparent 30%),
    linear-gradient(135deg, #111319, #07080a 70%);
  border: 1px solid var(--pool-line);
  border-radius: clamp(22px, 3vw, 38px);
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
}

.facility-pool-page .pool-summer-callout h1 {
  font-size: clamp(3.2rem, 6.8vw, 7.5rem);
  letter-spacing: -.045em;
  line-height: .86;
  text-wrap: balance;
}

.facility-pool-page .pool-location-map img {
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.45));
}

.facility-pool-page .pool-official-footer {
  width: min(calc(100% - clamp(1rem, 3vw, 3rem)), 1540px);
  overflow: hidden;
  margin: 0 auto clamp(1.25rem, 3vw, 3rem);
  background: var(--pool-surface);
  border: 1px solid var(--pool-line);
  border-radius: clamp(20px, 2.5vw, 32px);
}

.facility-pool-page .pool-official-footer-link {
  background: linear-gradient(110deg, #111319, #08090c);
  transition: color .3s ease, background .3s ease, box-shadow .3s ease;
}

.facility-pool-page .pool-official-footer-link:hover,
.facility-pool-page .pool-official-footer-link:focus-visible {
  background: linear-gradient(110deg, #171a20, #0b0c10);
  box-shadow: inset 0 0 0 1px rgba(254,30,41,.7);
}

@media (hover: hover) and (pointer: fine) {
  .facility-pool-page .pool-photo-duo figure:hover img {
    filter: saturate(1.05) contrast(1.03);
    transform: scale(1.025);
  }

  .facility-pool-page .pool-amenities-grid article:hover {
    border-color: rgba(254,30,41,.48);
    box-shadow: 0 30px 80px rgba(0,0,0,.42);
    transform: translateY(-5px);
  }
}

@media (max-width: 720px) {
  .facility-pool-page .pool-photo-duo {
    width: calc(100% - 1rem);
    gap: .5rem;
    margin-block: .75rem;
  }

  .facility-pool-page .pool-photo-duo figure { border-radius: 14px; }
  .facility-pool-page .pool-heritage-statement,
  .facility-pool-page .pool-summer-callout,
  .facility-pool-page .pool-official-footer { width: calc(100% - 1rem); }
  .facility-pool-page .pool-amenities { padding-inline: .5rem; }
  .facility-pool-page .pool-amenities > h2 { margin-inline: .5rem; }
  .facility-pool-page .pool-amenities-grid { grid-template-columns: 1fr; }
  .facility-pool-page .pool-amenities-grid article { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .facility-pool-page .pool-photo-duo img,
  .facility-pool-page .pool-amenities-grid article { transition: none; }
}
