@font-face {
  font-family: "VaillanteDisplay";
  src: url("/assets/fonts/bourg-like-bold-italic.woff2") format("woff2"),
    url("/assets/fonts/bourg-like-bold-italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #14161b;
  --muted: #626a77;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #d9dde4;
  --navy: #09284f;
  --blue: #076fb8;
  --red: #d9252a;
  --deep: #07111f;
  --shadow: 0 18px 55px rgba(9, 24, 44, 0.14);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "VaillanteDisplay", Impact, "Arial Black", sans-serif;
  font-style: italic;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: 72px;
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 27px;
}

p {
  margin: 0;
}

p + p {
  margin-top: 16px;
}

blockquote {
  margin: 28px 0 0;
  padding: 20px 0 20px 26px;
  border-left: 5px solid var(--red);
  color: var(--navy);
  font-size: 22px;
  font-weight: 760;
}

fieldset {
  border: 1px solid var(--line);
  margin: 0;
  padding: 16px;
  border-radius: var(--radius);
}

legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 42px;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid rgba(20, 22, 27, 0.08);
  backdrop-filter: blur(14px);
  transition: padding 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-header::before {
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue) 48%, var(--red));
  transform: scaleX(0);
  transform-origin: left center;
  animation: header-line-in 850ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.site-header::after {
  left: -160px;
  bottom: -1px;
  width: 130px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--white), var(--red));
  opacity: 0.9;
  animation: header-speed-pass 4.8s 1.1s ease-in-out infinite;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(9, 40, 79, 0.12);
}

.site-logo {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  width: 260px;
  flex: 0 0 auto;
}

.site-logo::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -52%;
  width: 32%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skew(-18deg);
  pointer-events: none;
  animation: logo-shine 1050ms 420ms ease-out both;
}

.site-logo:hover::after,
.site-logo:focus-visible::after {
  animation: logo-shine 900ms ease-out both;
}

.site-logo img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.nav-item {
  position: relative;
  animation: nav-drop 520ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.nav-item:nth-child(2) {
  animation-delay: 70ms;
}

.nav-item:nth-child(3) {
  animation-delay: 140ms;
}

.nav-item:nth-child(4) {
  animation-delay: 210ms;
}

.nav-item:nth-child(5) {
  animation-delay: 280ms;
}

.nav-link,
.nav-subnav a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  font-family: "VaillanteDisplay", Impact, "Arial Black", sans-serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.nav-icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
  filter: saturate(1.08);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 4px;
  background: var(--red);
  transform: translateY(150%) skew(-14deg);
  transition: transform 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--blue);
  background: rgba(7, 111, 184, 0.08);
}

.nav-link:hover,
.nav-link:focus-visible {
  transform: translateY(-1px);
}

.nav-link:hover .nav-icon,
.nav-link:focus-visible .nav-icon,
.nav-link.is-active .nav-icon {
  opacity: 1;
  transform: translateX(2px) rotate(-6deg) scale(1.08);
}

.nav-link:hover::before,
.nav-link:focus-visible::before,
.nav-link.is-active::before,
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1) translateY(0) skew(-14deg);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-subnav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.has-subnav:hover .nav-subnav,
.has-subnav:focus-within .nav-subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-subnav a {
  justify-content: flex-start;
  white-space: nowrap;
}

.nav-subnav a:hover,
.nav-subnav a:focus-visible {
  color: var(--red);
  background: rgba(217, 37, 42, 0.08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 9px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@keyframes header-line-in {
  to {
    transform: scaleX(1);
  }
}

@keyframes header-speed-pass {
  0%,
  58% {
    transform: translateX(0);
    opacity: 0;
  }

  64% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(calc(100vw + 260px));
    opacity: 0;
  }
}

@keyframes logo-shine {
  0% {
    transform: translateX(0) skew(-18deg);
    opacity: 0;
  }

  22% {
    opacity: 0.7;
  }

  100% {
    transform: translateX(440%) skew(-18deg);
    opacity: 0;
  }
}

@keyframes nav-drop {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes hero-drive-zoom {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.14) translate3d(-1.8%, 0.8%, 0);
  }
}

@keyframes hero-speed-sweep {
  0% {
    opacity: 0;
    transform: translateX(-34%) skewX(-14deg);
  }

  18% {
    opacity: 0.22;
  }

  58% {
    opacity: 0.16;
  }

  100% {
    opacity: 0;
    transform: translateX(36%) skewX(-14deg);
  }
}

.hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  padding: 112px 42px 46px;
  color: var(--white);
  overflow: hidden;
  background: var(--deep);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: var(--blue);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transform-origin: center;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-drive-zoom 5.2s linear both;
}

.hero-slide:nth-child(2n) {
  transform-origin: 65% 48%;
}

.hero-slide:nth-child(3n) {
  transform-origin: 38% 52%;
}

.hero.is-carousel .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 46%, transparent 51%),
    linear-gradient(105deg, transparent 0 68%, rgba(7, 111, 184, 0.14) 72%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0.28;
  transform: translateX(-28%) skewX(-14deg);
  animation: hero-speed-sweep 2.9s ease-in-out infinite;
  pointer-events: none;
}

.hero-slide-rail {
  position: absolute;
  left: 42px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.hero-slide-rail span {
  width: 34px;
  height: 4px;
  background: rgba(255, 255, 255, 0.34);
  transform: skew(-18deg);
  transition: background 220ms ease, width 220ms ease;
}

.hero-slide-rail span.is-active {
  width: 56px;
  background: var(--red);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.54);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.hero-countdown {
  position: absolute;
  right: 42px;
  bottom: 96px;
  z-index: 2;
  width: min(390px, calc(100% - 84px));
  padding: 22px;
  color: var(--white);
  background: rgba(4, 10, 18, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.countdown-kicker,
.hero-countdown time,
.hero-countdown p {
  display: block;
  margin: 0;
}

.countdown-kicker,
.hero-countdown time {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-countdown > strong {
  display: block;
  margin-top: 6px;
  font-family: "VaillanteDisplay", Impact, "Arial Black", sans-serif;
  font-size: 32px;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.countdown-grid span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.countdown-grid b {
  font-family: "VaillanteDisplay", Impact, "Arial Black", sans-serif;
  font-size: 29px;
  font-style: italic;
  line-height: 1;
}

.countdown-grid small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-countdown p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1 {
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

.hero-lead {
  margin-top: 22px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions,
.actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.actions-row.center {
  justify-content: center;
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 56px;
}

.hero-meta span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 9px 12px;
  border-radius: 4px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow,
.kicker {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--white);
}

.inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.inner.narrow {
  width: min(850px, calc(100% - 48px));
}

.band {
  padding: 86px 0;
  background: var(--paper);
}

.band-white {
  background: var(--white);
}

.band-blue {
  background: var(--navy);
  color: var(--white);
}

.section-intro {
  position: relative;
  max-width: 760px;
  margin-bottom: 32px;
  padding-left: 0;
}

.section-intro .kicker,
.section-intro h2,
.section-intro p:not(.kicker) {
  position: relative;
  z-index: 1;
}

.section-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: -22px;
  width: 5px;
  height: min(126px, 100%);
  background: var(--red);
  transform: skew(-12deg);
  transform-origin: top center;
}

.section-intro p:not(.kicker) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
}

.band-blue .section-intro p:not(.kicker),
.band-blue p {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 58px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
}

.media-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.media-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 3px solid rgba(20, 22, 27, 0.12);
  border-radius: inherit;
  z-index: 1;
}

.media-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-contain {
  padding: 28px;
}

.media-contain img {
  object-fit: contain;
}

.sponsor-panel {
  padding: 38px;
}

#galerie .inner {
  position: relative;
}

.photo-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.photo-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.photo-card.is-wide {
  grid-column: span 2;
}

.photo-link {
  display: block;
  height: 100%;
  color: inherit;
  cursor: zoom-in;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.photo-card.is-wide img {
  aspect-ratio: 16 / 9;
}

.photo-link:hover img,
.photo-link:focus-visible img {
  filter: brightness(0.86);
  transform: scale(1.025);
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 32px;
  background: rgba(3, 9, 18, 0.92);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-figure {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100svh - 64px);
  margin: 0;
  display: grid;
  gap: 12px;
}

.lightbox-image {
  width: 100%;
  max-height: calc(100svh - 132px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(3, 9, 18, 0.72);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--red);
  transform: translateY(-1px);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 72px;
  border-radius: 6px;
  font-size: 42px;
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(-50%) translateY(-1px);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.race-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 30px;
  height: 30px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cursor-x, -80px), var(--cursor-y, -80px), 0) translate(-50%, -50%);
  transition: opacity 120ms ease, width 140ms ease, height 140ms ease;
}

.race-cursor.is-visible {
  opacity: 1;
}

.race-cursor.is-hidden {
  opacity: 0;
}

.race-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  border-right-color: var(--blue);
  border-bottom-color: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.54), 0 12px 28px rgba(9, 40, 79, 0.16);
  transform: rotate(-18deg);
}

.race-cursor.is-hover {
  width: 42px;
  height: 42px;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.has-race-cursor,
  body.has-race-cursor a,
  body.has-race-cursor button,
  body.has-race-cursor [data-lightbox] {
    cursor: none;
  }

  body.has-race-cursor input,
  body.has-race-cursor textarea {
    cursor: text;
  }

  body.has-race-cursor select {
    cursor: default;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before,
  .site-header::after,
  .site-logo::after,
  .nav-item,
  .nav-icon,
  .hero-slide,
  .hero-slide-rail span {
    animation: none;
    transition: none;
  }

  .hero-slide {
    transform: none;
  }

  .site-header::before {
    transform: scaleX(1);
  }

  .race-cursor {
    display: none;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.band-white .button-secondary,
.band .button-secondary {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--deep);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.championship-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.calendar-card,
.feature-card,
.offer-card,
.contact-card,
.result-box,
.program-list article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.calendar-card::after,
.feature-card::after,
.offer-card::after,
.contact-card::after,
.result-box::after,
.program-list article::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 6px;
  background: var(--blue);
}

.calendar-card {
  min-height: 150px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-picto {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 42px;
  opacity: 0.18;
  pointer-events: none;
}

.calendar-card span,
.offer-card span,
.contact-card span,
.program-list span,
.result-box span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-card h3 {
  margin-top: 18px;
  color: var(--navy);
  font-size: 25px;
}

.calendar-card p {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 750;
}

.calendar-card.is-next {
  border-color: var(--red);
  box-shadow: inset 0 0 0 2px rgba(217, 37, 42, 0.16);
}

.next-race {
  border-left: 6px solid var(--red);
  padding: 18px 0 18px 20px;
  margin: 22px 0 4px;
}

.next-race span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.next-race strong {
  display: block;
  margin-top: 6px;
  font-family: "VaillanteDisplay", Impact, sans-serif;
  font-size: 42px;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.logo-statement {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 42px;
  align-items: center;
}

.logo-statement img {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
}

.newsletter-block {
  align-items: start;
}

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

.partner-logo {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partner-logo img {
  max-height: 82px;
  object-fit: contain;
}

.cta-band {
  background: var(--deep);
  color: var(--white);
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
}

.cta-layout p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 18px;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.feature-card h3 {
  color: var(--navy);
  font-size: 22px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-list div {
  background: var(--white);
  padding: 20px;
}

.spec-list dt {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  padding: 28px;
}

.offer-card h3 {
  margin-top: 14px;
  color: var(--navy);
  font-size: 26px;
}

.offer-card p {
  color: var(--muted);
  margin-top: 18px;
}

.offer-card strong {
  display: block;
  margin-top: 22px;
  color: var(--ink);
  font-size: 20px;
  text-transform: uppercase;
}

.offer-card.accent {
  border-color: var(--blue);
}

.small-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.weekend-grid,
.toolbox {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.program-list {
  display: grid;
  gap: 14px;
}

.program-list article {
  padding: 24px;
}

.program-list p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.result-box {
  position: relative;
  padding: 28px;
  align-self: stretch;
}

.box-picto {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 78px;
  opacity: 0.14;
  pointer-events: none;
}

.result-box strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 26px;
}

.tool-links {
  display: grid;
  gap: 12px;
}

.tool-links a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 16px 18px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.tool-links a::before {
  content: "";
  width: 6px;
  flex: 0 0 auto;
  align-self: stretch;
  margin: -16px 14px -16px -18px;
  background: var(--red);
  transform: skew(-12deg);
}

.tool-links img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tool-links a:hover,
.tool-links a:focus-visible {
  color: var(--red);
  border-color: rgba(217, 37, 42, 0.45);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.contact-card a {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.form-section {
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compact-form {
  box-shadow: none;
}

.form label,
.form .wide {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.form .wide,
.form fieldset,
.form .check-line,
.form .form-status {
  grid-column: 1 / -1;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fcfcfd;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(7, 111, 184, 0.16);
}

.form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-success {
  color: #1f7a45;
}

.form-status.is-error {
  color: var(--red);
}

.trap {
  position: absolute;
  left: -10000px;
  opacity: 0;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  color: var(--muted);
}

.form .check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
}

.check-line input {
  width: auto;
  margin-top: 3px;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.page-title-band {
  position: relative;
  padding: 96px 0 56px;
  background: var(--deep);
  color: var(--white);
}

.page-title-band::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: var(--blue);
}

.legal-flow {
  color: var(--ink);
}

.legal-flow h2,
.legal-flow h3 {
  margin: 34px 0 14px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.05;
}

.legal-flow p,
.legal-flow li {
  color: var(--muted);
}

.legal-flow a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.legal-flow ul {
  padding-left: 20px;
}

.site-footer {
  background: var(--deep);
  color: var(--white);
}

.footer-main {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 42px;
  padding: 58px 0;
}

.footer-logo {
  width: 260px;
  margin-bottom: 20px;
}

.footer-main p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-main h2 {
  margin-bottom: 16px;
  font-size: 23px;
}

.footer-main a {
  display: block;
  width: fit-content;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-top: 10px;
}

.footer-main a:hover,
.footer-main a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.64);
  text-decoration: none;
}

@media (max-width: 1380px) {
  .site-header {
    gap: 18px;
    padding-inline: 28px;
  }

  .site-logo {
    width: 220px;
  }

  .nav-link,
  .nav-subnav a {
    padding-inline: 11px;
    font-size: 16px;
  }

  .nav-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding-inline: 24px;
  }

  .site-logo {
    width: 220px;
  }

  .nav-link,
  .nav-subnav a {
    padding-inline: 10px;
    font-size: 15px;
  }

  .nav-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

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

@media (max-width: 920px) {
  :root {
    --header-height: 68px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .menu-toggle {
    display: block;
    z-index: 102;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: none;
    align-content: start;
    padding: 22px 24px;
    background: var(--paper);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: grid;
    gap: 10px;
  }

  .nav-item,
  .nav-link,
  .nav-subnav {
    width: 100%;
  }

  .nav-link {
    min-height: 52px;
    padding: 14px;
    font-size: 18px;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .nav-subnav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin-top: 6px;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0 0 0 14px;
  }

  .nav-subnav a {
    background: transparent;
    border-radius: 0;
    border-left: 3px solid var(--line);
  }

  .hero {
    min-height: 70svh;
    padding: 86px 24px 40px;
  }

  .hero-countdown {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .inner,
  .inner.narrow,
  .footer-main,
  .footer-bottom {
    width: min(100% - 32px, 1160px);
  }

  .band {
    padding: 64px 0;
  }

  .split,
  .split.reverse,
  .championship-preview,
  .logo-statement,
  .cta-layout,
  .weekend-grid,
  .toolbox,
  .form-section,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .split,
  .split.reverse {
    gap: 32px;
  }

  .offer-grid,
  .contact-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-layout {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 23px;
  }

  .site-logo {
    width: 180px;
  }

  .hero {
    min-height: 68svh;
    padding: 78px 16px 34px;
  }

  .hero-slide-rail {
    left: 16px;
    bottom: 16px;
  }

  .hero-slide-rail span {
    width: 24px;
  }

  .hero-slide-rail span.is-active {
    width: 38px;
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .hero-countdown {
    padding: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .actions-row {
    width: 100%;
  }

  .section-intro {
    padding-left: 14px;
  }

  .section-intro::before {
    left: 0;
    height: min(106px, 100%);
  }

  .calendar-grid,
  .feature-grid,
  .photo-grid,
  .spec-list,
  .checks-grid,
  .form {
    grid-template-columns: 1fr;
  }

  .photo-card.is-wide {
    grid-column: auto;
  }

  .photo-card img {
    min-height: 220px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-image {
    max-height: calc(100svh - 110px);
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 46px;
    height: 46px;
    font-size: 32px;
    transform: none;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: translateY(-1px);
  }

  .feature-card {
    min-height: 175px;
  }

  .form {
    padding: 18px;
  }

  .form .button {
    width: 100%;
  }

  .contact-card a,
  .contact-links a {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    justify-content: flex-start;
  }
}
