@font-face {
  font-family: "Virage";
  src: url("./assets/brand/Virage-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Virage";
  src: url("./assets/brand/Virage-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Virage Narrow";
  src: url("./assets/brand/Virage-NarrowBoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Virage Wide";
  src: url("./assets/brand/Virage-WideSemibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Virage Narrow";
  src: url("./assets/brand/Virage-NarrowUltraboldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

:root {
  --navy: #0e1b36;
  --blue: #004170;
  --red: #da291c;
  --tile: #f2f5f8;
  --ink: #141428;
  --muted: #5c6b7d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Virage", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

main {
  position: relative;
  z-index: 1;
  background: var(--white);
}

.site-header {
  position: relative;
  z-index: 10;
  height: 70px;
  background: var(--white);
  box-shadow: 0 2px 9px rgb(6 27 58 / 12%);
}

.header-inner {
  width: 100%;
  height: 100%;
  margin: 0;
  padding-right: 32px;
  padding-left: 104px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-crest {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.primary-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  font-family: "Virage Wide", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.primary-nav a:hover {
  opacity: 0.58;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action-button,
.header-language {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: "Virage Narrow", "Arial Narrow", Arial, sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.header-action-button {
  height: 32px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tile);
}

.header-action-button:first-child {
  width: 95.656px;
}

.header-action-button:nth-child(2) {
  width: 82.984px;
}

.language-selector {
  position: relative;
  margin-left: 16px;
}

.header-language {
  width: 46.75px;
  height: 24px;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  cursor: pointer;
}

.header-chevron {
  position: relative;
  width: 24px;
  height: 24px;
}

.header-chevron::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.header-action-button:hover,
.header-language:hover {
  opacity: 0.6;
}

.language-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  z-index: 30;
  width: 164px;
  padding: 8px;
  border: 1px solid #dfe5ec;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 12px 32px rgb(6 27 58 / 18%);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: transparent;
  font-family: "Virage", Arial, sans-serif;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button[aria-checked="true"] {
  background: var(--tile);
}

.language-menu strong {
  font-family: "Virage Narrow", "Arial Narrow", Arial, sans-serif;
  font-style: italic;
  font-weight: 700;
}

.primary-nav a:focus-visible,
.brand:focus-visible,
.header-actions a:focus-visible,
.header-actions button:focus-visible,
.breadcrumbs a:focus-visible,
.section-nav a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.club-navigation {
  height: 91px;
  background: var(--tile);
}

.club-navigation-inner {
  width: min(1268px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 25px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
  margin-bottom: 18px;
  color: #4c6984;
  font-family: "Virage Narrow", "Arial Narrow", Arial, sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.breadcrumb-back {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.breadcrumb-back::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 6px;
  height: 6px;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.breadcrumbs a {
  text-decoration: none;
}

.section-nav {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  position: relative;
  flex: 0 0 auto;
  padding-bottom: 20px;
  color: #476783;
  font-family: "Virage Wide", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease;
}

.section-nav a:hover,
.section-nav a.active {
  color: var(--ink);
}

.section-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--navy);
}

.hero {
  position: relative;
  height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: url("./assets/brand/hero-desktop.avif?v=20260927-1154") center 48% / cover no-repeat;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-family: "Virage Narrow", "Arial Narrow", Arial, sans-serif;
  font-size: 56px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgb(0 0 0 / 18%);
}

.sponsors {
  width: min(1268px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 110px;
}

.sport-row {
  display: flex;
  justify-content: center;
  margin-bottom: 104px;
}

.sport-tabs {
  display: flex;
  max-width: 100%;
  gap: 4px;
  overflow-x: auto;
  padding: 4px;
  border-radius: 8px;
  background: var(--tile);
  scrollbar-width: none;
}

.sport-tabs::-webkit-scrollbar {
  display: none;
}

.sport-tab {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: "Virage Narrow", "Arial Narrow", Arial, sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: color 300ms ease, background-color 300ms ease;
  white-space: nowrap;
}

.sport-tab[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
}

.sport-tab:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.partner-section + .partner-section {
  margin-top: 136px;
}

.partner-heading {
  margin: 0 0 40px;
  font-family: "Virage Narrow", "Arial Narrow", Arial, sans-serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-grid li {
  min-width: 0;
  background: var(--white);
}

.partner-grid li:nth-child(even) {
  background: var(--tile);
}

.partner-card {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.partner-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 55%;
  object-fit: contain;
  transition: transform 280ms ease;
}

.partner-card img[alt="ZenBet"] {
  width: 190px;
  max-width: 75%;
  max-height: none;
}

.partner-card:hover img {
  transform: scale(1.1);
}

.partner-card:focus-visible {
  z-index: 2;
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.social-strip {
  min-height: 128px;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.social-links a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-links img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.social-links a:hover {
  opacity: 0.62;
  transform: translateY(-2px);
}

.social-links a:focus-visible,
.footer-column a:focus-visible,
.footer-app a:focus-visible,
.footer-home:focus-visible,
.footer-slogan:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.social-links a:focus-visible {
  outline-color: var(--blue);
}

.site-footer {
  z-index: 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

@media (min-width: 901px) {
  .site-footer {
    position: sticky;
    bottom: 0;
  }
}

.footer-inner {
  width: min(1268px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 26px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr 1.05fr 1.2fr 1.45fr 0.75fr;
  gap: 58px;
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h2,
.footer-app h2 {
  margin: 0 0 16px;
  color: #9db7d5;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.footer-column a {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.footer-column a:hover {
  opacity: 0.66;
}

.footer-app p {
  max-width: 230px;
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.app-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.app-links a {
  display: block;
}

.app-links img {
  display: block;
  width: auto;
  height: 48px;
}

.footer-home {
  display: flex;
  justify-content: center;
}

.footer-home img {
  width: 136px;
  height: auto;
}

.footer-slogan {
  display: flex;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  margin-top: 92px;
}

.footer-slogan-part {
  position: relative;
  display: block;
  overflow: hidden;
  flex-shrink: 1;
}

.footer-slogan-part--ici {
  width: 10.1%;
  aspect-ratio: 116 / 140;
}

.footer-slogan-part--cest {
  width: 22.4%;
  aspect-ratio: 257 / 140;
}

.footer-slogan-part--paris {
  width: 67.5%;
  aspect-ratio: 776 / 140;
}

.footer-slogan-part img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(-50px);
  filter: brightness(0) invert(1);
}

.footer-slogan-wipe {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: var(--navy);
  opacity: 1;
  transform: translateX(-101%);
  pointer-events: none;
}

.footer-slogan.is-visible .footer-slogan-part img {
  animation: reveal-text 0.8s cubic-bezier(0.9, 0, 0.1, 1) forwards;
}

.footer-slogan.is-visible .footer-slogan-wipe {
  animation: slide-across 0.8s cubic-bezier(0.9, 0, 0.1, 1) forwards;
}

.footer-slogan.is-visible .footer-slogan-part--cest img {
  animation-delay: 0.05s;
}

.footer-slogan.is-visible .footer-slogan-part--paris img {
  animation-delay: 0.1s;
}

.footer-slogan.is-visible .footer-slogan-part--cest .footer-slogan-wipe {
  animation-delay: 0.1s;
}

.footer-slogan.is-visible .footer-slogan-part--paris .footer-slogan-wipe {
  animation-delay: 0.2s;
}

@keyframes slide-across {
  0% {
    opacity: 1;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 1;
    transform: translateX(101%);
  }
}

@keyframes reveal-text {
  0%,
  50% {
    opacity: 0;
    transform: translateX(-50px);
  }
  51% {
    opacity: 1;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .primary-nav {
    gap: 24px;
  }

  .section-nav {
    gap: 26px;
  }

  .header-actions {
    display: none;
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 38px;
  }

  .footer-app,
  .footer-home {
    grid-column: span 1;
  }

  .footer-slogan {
    gap: 24px;
    margin-top: 64px;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 64px;
  }

  .header-inner {
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 0;
    gap: 18px;
    overflow: hidden;
  }

  .sponsors {
    width: calc(100% - 32px);
  }

  .brand-crest {
    width: 42px;
    height: 42px;
  }

  .primary-nav {
    min-width: 0;
    flex: 1;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .club-navigation {
    height: 56px;
  }

  .club-navigation-inner {
    width: calc(100% - 32px);
    padding-top: 0;
  }

  .breadcrumbs {
    display: none;
  }

  .section-nav {
    height: 100%;
    align-items: flex-end;
    gap: 26px;
  }

  .hero {
    height: 150px;
    min-height: 0;
    background-image: url("./assets/brand/hero-mobile.avif?v=20260927-1154");
  }

  .hero h1 {
    font-size: 34px;
  }

  .sponsors {
    padding-top: 40px;
    padding-bottom: 76px;
  }

  .sport-row {
    margin-bottom: 72px;
  }

  .sport-tabs {
    justify-content: flex-start;
    width: 100%;
  }

  .sport-tab {
    min-height: 54px;
  }

  .partner-section + .partner-section {
    margin-top: 72px;
  }

  .partner-heading {
    margin-bottom: 32px;
    font-size: 22px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid li:nth-child(n) {
    background: var(--white);
  }

  .partner-grid li:nth-child(4n + 2),
  .partner-grid li:nth-child(4n + 3) {
    background: var(--tile);
  }

  .partner-card img {
    max-width: 75px;
    max-height: 48%;
  }

  .partner-card img[alt="ZenBet"] {
    width: 112px;
    max-width: 72%;
  }

  .social-strip {
    min-height: 0;
    padding: 38px 24px;
  }

  .social-links {
    max-width: 310px;
    flex-wrap: wrap;
    gap: 22px;
  }

  .social-links a {
    width: 25px;
    height: 25px;
  }

  .footer-inner {
    width: calc(100% - 40px);
    padding-top: 46px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-column h2,
  .footer-app h2 {
    margin-bottom: 10px;
  }

  .footer-home {
    grid-column: auto;
    justify-content: flex-start;
  }

  .footer-home img {
    width: 108px;
  }

  .footer-slogan {
    gap: 10px;
    margin-top: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .partner-card img,
  .partner-card:hover img {
    transform: none;
  }

  .footer-slogan-part img {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .footer-slogan-wipe {
    display: none;
    animation: none !important;
  }
}
