@font-face {
  font-family: "Hockey IQ";
  src: url("assets/HockeyIq-Regular.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #071a31;
  --blue: #0e478b;
  --blue2: #183d6b;
  --red: #e2061e;
  --ice: #edf7ff;
  --white: #fff;
  --muted: #9eb2c8;
  --line: rgba(255, 255, 255, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Hockey IQ", Arial, sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.topbar {
  height: 34px;
  background: var(--red);
  font:
    700 12px/34px "Hockey IQ",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
}
header {
  position: absolute;
  z-index: 20;
  top: 34px;
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Hockey IQ", sans-serif;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0.03em;
}
.brand img {
  width: 58px;
  height: 64px;
  object-fit: contain;
}
.navlinks {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.navlinks a {
  position: relative;
}
.navlinks a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: 0.25s;
}
.navlinks a:hover:after {
  width: 100%;
}
.nav-cta,
.btn-red {
  background: var(--red);
  padding: 14px 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: 0.2s;
}
.nav-cta:hover,
.btn-red:hover {
  background: #ff1830;
  transform: translateY(-2px);
}
.menu {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 27px;
}
.hero {
  min-height: 790px;
  position: relative;
  display: flex;
  align-items: end;
  padding: 185px 0 88px;
  background:
    linear-gradient(
      90deg,
      rgba(4, 18, 35, 0.98) 0%,
      rgba(4, 18, 35, 0.84) 44%,
      rgba(4, 18, 35, 0.28) 100%
    ),
    linear-gradient(0deg, #071a31 0%, transparent 30%),
    url("assets/HEADER.jpg") center/cover;
}
.hero::after {
  display: none;
}
.hero .shell {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  font:
    800 14px/1 "Hockey IQ",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #b9dcff;
}
.eyebrow:before {
  content: "";
  width: 46px;
  height: 3px;
  background: var(--red);
}
h1,
h2,
h3 {
  font-family: "Hockey IQ", Impact, sans-serif;
  text-transform: uppercase;
  margin: 0;
}
h1 {
  font-size: clamp(72px, 11vw, 158px);
  line-height: 0.77;
  letter-spacing: -0.035em;
  max-width: 880px;
  margin: 26px 0 36px;
}
h1 span {
  display: block;
  color: var(--red);
  -webkit-text-fill-color: var(--red);
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.hero-copy {
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  color: #d7e5f2;
  margin: 0 0 36px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 17px 24px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
}
.btn:after {
  content: "→";
  font-size: 19px;
}
.btn-outline:hover {
  background: white;
  color: var(--navy);
}
.stats {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: white;
  color: var(--navy);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 28px;
  border-right: 1px solid #d9e3ec;
}
.stat:first-child {
  border-left: 1px solid #d9e3ec;
}
.stat strong {
  display: block;
  font:
    900 58px/0.9 "Hockey IQ",
    sans-serif;
  color: var(--blue);
}
.stat span {
  display: block;
  margin-top: 11px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 800;
}
.stat.red strong {
  color: var(--red);
}
section {
  padding: 110px 0;
}
.section-kicker {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.section-title {
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.section-title i {
  font-style: normal;
  color: var(--red);
}
.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: center;
}
.intro p {
  font-size: 18px;
  line-height: 1.75;
  color: #bfd0e2;
}
.quote {
  margin-top: 34px;
  border-left: 4px solid var(--red);
  padding-left: 24px;
  color: white !important;
  font-weight: 700;
}
.rink {
  position: relative;
  background: linear-gradient(135deg, #e9f7ff, #b9d5e8);
  height: 470px;
  overflow: hidden;
}
.rink img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.1);
}

.rink-tag {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  background: var(--red);
  padding: 18px 22px;
  font:
    800 13px/1 "Hockey IQ",
    sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.format {
  background: #0a2444;
  position: relative;
  overflow: hidden;
}
.format:before {
  content: "IQ";
  position: absolute;
  right: -70px;
  top: -150px;
  font:
    900 500px/1 "Hockey IQ",
    sans-serif;
  color: rgba(255, 255, 255, 0.025);
}
.format-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 55px;
}
.format-head p {
  max-width: 480px;
  color: #adc4da;
  line-height: 1.7;
}
.days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.day {
  background: #0c2e57;
  border-top: 5px solid var(--blue);
  padding: 34px;
  min-height: 315px;
  transition: 0.25s;
}
.day:hover {
  transform: translateY(-8px);
  background: #10396a;
}
.day:nth-child(2) {
  border-color: var(--red);
}
.day-num {
  font:
    900 15px/1 "Hockey IQ",
    sans-serif;
  color: #80add6;
  letter-spacing: 0.16em;
}
.day h3 {
  font-size: 42px;
  margin: 25px 0 18px;
}
.day p {
  color: #b7c9da;
  line-height: 1.7;
}
.day small {
  display: block;
  margin-top: 25px;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.experience {
  background: var(--ice);
  color: var(--navy);
}
.experience-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #c6d7e4;
}
.feature {
  background: var(--ice);
  padding: 34px;
}
.feature b {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: white;
  font:
    900 20px "Hockey IQ",
    sans-serif;
  margin-bottom: 28px;
}
.feature h3 {
  font-size: 29px;
  margin-bottom: 10px;
}
.feature p {
  font-size: 15px;
  line-height: 1.65;
  color: #4f6780;
}
.banner {
  padding: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 49, 0.96), rgba(7, 26, 49, 0.58)),
    url("assets/BANNIÈRES.jpg") center 42% / cover;
}
.banner-inner {
  min-height: 465px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.banner h2 {
  font-size: clamp(58px, 8vw, 105px);
  line-height: 0.83;
  max-width: 750px;
}
.banner h2 span {
  color: var(--red);
}
.partners {
  background: white;
  color: var(--navy);
  text-align: center;
}
.partners .section-title {
  max-width: 760px;
  margin: auto;
}
.partner-copy {
  max-width: 650px;
  margin: 25px auto 40px;
  line-height: 1.7;
  color: #587087;
}
.partner-actions {
  justify-content: center;
}
.partner-actions .btn-outline {
  border-color: #b8c7d4;
}
.partner-actions .btn-outline:hover {
  background: var(--navy);
  color: white;
}

/* Bandeau partenaires défilant */
.partner-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.partner-ticker__label {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 190px;
  padding: 28px 34px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.partner-ticker__viewport {
  min-width: 0;
  overflow: hidden;
  background: var(--navy);
}
.partner-ticker__track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 22px 0;
  animation: partner-ticker-scroll 28s linear infinite;
}
.partner-ticker__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 64px;
}
.partner-ticker__group img {
  width: auto;
  max-width: 180px;
  height: 58px;
  object-fit: contain;
}
.partner-ticker:hover .partner-ticker__track {
  animation-play-state: paused;
}
@keyframes partner-ticker-scroll {
  to {
    transform: translateX(calc(-50% - 32px));
  }
}
@media (max-width: 650px) {
  .partner-ticker {
    grid-template-columns: 1fr;
  }
  .partner-ticker__label {
    min-width: 0;
    padding: 14px 20px;
  }
  .partner-ticker__track,
  .partner-ticker__group {
    gap: 40px;
  }
  .partner-ticker__group img {
    max-width: 130px;
    height: 46px;
  }
  @keyframes partner-ticker-scroll {
    to {
      transform: translateX(calc(-50% - 20px));
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .partner-ticker__track {
    animation-play-state: paused;
  }
}
footer {
  background: #041325;
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 80px;
}
.footer-brand img {
  width: 110px;
  height: 120px;
  object-fit: contain;
}
.footer-brand p {
  color: #8fa8bf;
  line-height: 1.65;
  max-width: 340px;
}
.footer-col h3 {
  font-size: 22px;
  margin-bottom: 22px;
}
.footer-col a {
  display: block;
  color: #9fb4c7;
  margin: 13px 0;
  font-size: 14px;
}
.footer-col a:hover {
  color: white;
}
.copyright {
  border-top: 1px solid var(--line);
  margin-top: 55px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  color: #6f89a2;
  font-size: 12px;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 850px) {
  .shell {
    width: min(100% - 28px, 680px);
  }
  header {
    top: 32px;
  }
  .nav {
    height: 72px;
  }
  .brand img {
    width: 45px;
    height: 50px;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #071a31;
    padding: 26px;
    flex-direction: column;
    align-items: flex-start;
  }
  .navlinks.open {
    display: flex;
  }
  .menu {
    display: block;
  }
  .hero {
    min-height: 720px;
    padding-top: 145px;
    background-position: 62% center;
  }
  .hero:after {
    display: none;
  }
  h1 {
    font-size: clamp(68px, 20vw, 110px);
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(3) {
    border-left: 1px solid #d9e3ec;
  }
  .intro,
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .format-head {
    display: block;
  }
  .format-head p {
    margin-top: 25px;
  }
  .days {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .banner-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}
@media (max-width: 500px) {
  .topbar {
    font-size: 10px;
  }
  .brand span {
    display: none;
  }
  .hero {
    padding-bottom: 58px;
  }
  .hero-copy {
    font-size: 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 27px 18px;
  }
  .stat strong {
    font-size: 45px;
  }
  section {
    padding: 80px 0;
  }
  .rink {
    height: 370px;
  }
  .rink:after {
    font-size: 48px;
  }
  .day {
    padding: 28px;
  }
  .copyright {
    display: block;
    line-height: 1.8;
  }
  .actions .btn {
    width: 100%;
    justify-content: space-between;
  }
}


/* Choix de la langue au premier accès */
.language-choice[hidden] { display: none; }
.language-choice {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 16, 31, 0.94);
  backdrop-filter: blur(12px);
}
.language-choice__panel {
  width: min(560px, 100%);
  padding: clamp(34px, 6vw, 64px);
  text-align: center;
  color: #fff;
  background: #071a31;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 80px rgba(0,0,0,.4);
}
.language-choice__panel img { width: 92px; height: 92px; margin-bottom: 22px; }
.language-choice__panel p { margin: 0 0 12px; color: #ef0024; text-transform: uppercase; letter-spacing: .16em; }
.language-choice__panel h2 { margin: 0 0 32px; font-size: clamp(30px, 5vw, 54px); line-height: .95; text-transform: uppercase; }
.language-choice__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.language-choice__actions button {
  min-height: 62px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: transparent;
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
  transition: .2s ease;
}
.language-choice__actions button:first-child,
.language-choice__actions button:hover { background: #ef0024; border-color: #ef0024; }
.language-choice-open { overflow: hidden; }
@media (max-width: 520px) { .language-choice__actions { grid-template-columns: 1fr; } }
