:root {
  --ink: #f7fbff;
  --text: #dfe9ff;
  --muted: #94a7ca;
  --blue: #2f5cff;
  --cyan: #00d7ff;
  --night: #05091b;
  --surface: #07102c;
  --card: rgba(14, 25, 58, 0.78);
  --card-strong: rgba(18, 34, 78, 0.9);
  --line: rgba(135, 169, 255, 0.18);
  --gold: #ffbd4a;
  --orange: #ff8b3d;
  --white: #ffffff;
  --max: 1160px;
  --radius: 8px;
  color-scheme: dark;
  /* Flèche (chevron) utilisée comme masque recolorable — remplie en blanc
     pour fonctionner aussi bien en mode alpha qu'en mode luminance. */
  --fleche-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M9.83821 4.61286L8.50797 3.29425L5.34648 0.160372C5.13076 -0.0534575 4.78052 -0.0534575 4.5648 0.160372L3.23456 1.47899C3.01885 1.69282 3.01885 2.04001 3.23456 2.25384L4.51145 3.51957H0.552624C0.247028 3.51957 0 3.76502 0 4.06737V5.93206C0 6.23498 0.247608 6.47985 0.552624 6.47985H4.51145L3.23456 7.74559C3.01885 7.95942 3.01885 8.3066 3.23456 8.52043L4.5648 9.83905C4.78052 10.0529 5.13076 10.0529 5.34648 9.83905L8.50739 6.70575L9.83763 5.38714C10.0533 5.17331 10.0533 4.82612 9.83763 4.61229L9.83821 4.61286Z' fill='%23fff'/%3E%3C/svg%3E");
  /* Check (coche) en masque recolorable, rempli en blanc. */
  --check-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 15'%3E%3Cpath d='M18.7008 1.37649L17.6268 0.299893C17.2277 -0.100127 16.5682 -0.100127 16.1692 0.299893L6.30308 10.1745L2.72797 6.59084C2.4671 6.32935 2.053 6.32935 1.80716 6.59084L0.195379 8.22106C-0.0654926 8.48255 -0.0654926 8.89764 0.195379 9.14407L4.49152 13.4505L4.70633 13.6658L5.84194 14.8041C6.10282 15.0656 6.51691 15.0656 6.76275 14.8041L7.03914 14.5271L18.7008 2.83756C19.0999 2.43754 19.0999 1.77651 18.7008 1.37649Z' fill='%23fff'/%3E%3C/svg%3E");
}

@font-face {
  font-family: "Atelia";
  src:
    url("../Font/atelia/Atelia.woff2") format("woff2"),
    url("../Font/atelia/Atelia.woff") format("woff"),
    url("../Font/atelia/Atelia.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Home — implementation of the Figma frame desktop/Accueil (58:3) */
.home-page {
  background: #060c2a;
  color: #fff;
}

.home-page .home-shell {
  width: min(1224px, calc(100% - 64px));
  margin-inline: auto;
}

.home-header {
  position: relative;
  background: rgba(6, 12, 42, 0.96);
  border-color: rgba(135, 169, 255, 0.16);
  backdrop-filter: none;
}

.home-nav-wrap {
  width: min(1340px, calc(100% - 64px));
  min-height: 78px;
}

.home-brand img {
  width: 81px;
  height: 40px;
  object-fit: contain;
}

.home-nav {
  margin-left: auto;
}

.home-nav a {
  position: relative;
  display: inline-flex;
  min-height: 78px;
  align-items: center;
  color: #bac9ee;
  font-size: 16px;
  border-radius: 0;
  padding: 0 14px;
}

.home-nav a[aria-current="page"] {
  background: transparent;
  box-shadow: none;
  color: #3b6aff;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.home-nav a[aria-current="page"]::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #00cfff 0%, #2f5cff 100%);
  box-shadow: 0 0 14px rgba(47, 92, 255, 0.9);
  content: "";
}

.home-page .button {
  min-height: 44px;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
}

.home-page .button.primary {
  background: linear-gradient(145deg, #00d7ff 8%, #2f5cff 88%);
  box-shadow: none;
}

.header-cta {
  margin-left: 48px;
  white-space: nowrap;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(135, 169, 255, 0.22);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
}

.language-switcher button {
  min-width: 32px;
  min-height: 32px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9fb2e8;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: #fff;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(0, 215, 255, 0.42);
}

.language-switcher button.is-active {
  background: linear-gradient(145deg, #00d7ff 8%, #2f5cff 88%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(47, 92, 255, 0.3);
}

.language-switcher-mobile {
  display: none;
}

.header-actions .header-cta {
  margin-left: 0;
}

.site-header .header-cta {
  min-height: 44px;
  border-radius: 8px;
  padding: 13px 18px;
  background: linear-gradient(145deg, #00d7ff 8%, #2f5cff 88%);
  box-shadow: none;
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
}

.site-header .tv-cta {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.home-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1080;
  min-height: 782px;
  max-height: 100vh;
  overflow: hidden;
  background: #060c2a url("../images/home/desktop/hero/hero.png") center top / cover no-repeat;
}

.home-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 25%;
  background: linear-gradient(180deg, transparent, #060c2a);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}

.home-eyebrow {
  margin: 0 0 24px;
  color: #7999ff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.home-hero h1 {
  width: 430px;
  margin: 0;
  color: #3564ed;
  font-size: clamp(70px, 7.3vw, 105px);
  font-weight: 950;
  letter-spacing: -7px;
  line-height: 0.82;
  text-transform: uppercase;
}

.home-hero .hero-wordmark {
  display: block;
  width: 423px;
  max-width: 100%;
  height: auto;
}

.home-hero h1 span {
  display: block;
  color: #fff;
  font-size: 0.88em;
  letter-spacing: -6px;
  margin-bottom: 20px;
}

.home-hero h1 .visually-hidden {
  position: absolute;
  display: block;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  color: inherit;
  font-size: 1px;
  letter-spacing: 0;
}

.home-about {
  max-width: 470px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.home-lede {
  margin: 28px 0 0;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

.home-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.home-page .button.outline {
  position: relative;
  isolation: isolate;
  border-color: #3b6aff;
  background: #060c2a;
  color: #fff;
  overflow: visible;
}

.home-page .button.outline span,
.home-mode-card a span {
  color: var(--accent, #3b6aff);
}

.home-page .button.outline::before,
.modes-page .button.outline::before,
.home-mode-card a::before,
.mode-row-button::before {
  position: absolute;
  inset: -18px -22px;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--halo-rgb, 59, 106, 255), 0.52) 0%, rgba(var(--halo-rgb, 59, 106, 255), 0.22) 34%, rgba(var(--halo-rgb, 59, 106, 255), 0) 72%);
  filter: blur(10px);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
  content: "";
  pointer-events: none;
}

.home-page .button.outline:hover,
.home-page .button.outline:focus-visible,
.modes-page .button.outline:hover,
.modes-page .button.outline:focus-visible,
.home-mode-card a:hover,
.home-mode-card a:focus-visible,
.mode-row-button:hover,
.mode-row-button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(var(--halo-rgb, 59, 106, 255), 0.32),
    0 0 28px rgba(var(--halo-rgb, 59, 106, 255), 0.38);
}

.home-page .button.outline:hover::before,
.home-page .button.outline:focus-visible::before,
.modes-page .button.outline:hover::before,
.modes-page .button.outline:focus-visible::before,
.home-mode-card a:hover::before,
.home-mode-card a:focus-visible::before,
.mode-row-button:hover::before,
.mode-row-button:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.home-metrics {
  display: flex;
  gap: 38px;
  margin-top: 40px;
}

.home-metrics > div {
  display: grid;
  width: 112px;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.metric-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid #3b6aff;
  border-radius: 11px;
  color: #3b6aff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.metric-icon img {
  width: 51px;
  max-width: 62%;
  max-height: 52px;
  object-fit: contain;
}

.metric-icon.bars {
  font-size: 46px;
}

.metric-icon.players {
  font-size: 26px;
  letter-spacing: -10px;
  padding-right: 9px;
}

.home-metrics strong {
  color: #94a7ca;
  font-size: 16px;
  line-height: 1.55;
  text-transform: uppercase;
}

.home-section {
  padding: 54px 0;
}

.home-section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.home-section-heading h2,
.organizer-copy h2,
.download-inner h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-section-heading p {
  margin: 14px 0 0;
  color: #3b6aff;
  font-size: 18px;
  font-weight: 600;
}

.home-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.home-mode-card {
  --accent: #3b6aff;
  position: relative;
  min-height: 315px;
  overflow: hidden;
  padding: 26px 24px 24px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 66%), #070d29;
  text-align: center;
}

.home-mode-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 52%);
  content: "";
}

.home-mode-card > * {
  position: relative;
  z-index: 1;
}

.home-mode-card.arena { --halo-rgb: 59, 106, 255; }
.home-mode-card.melee { --accent: #813cff; --halo-rgb: 129, 60, 255; }
.home-mode-card.domination { --accent: #f6c100; --halo-rgb: 246, 193, 0; }
.home-mode-card.coalition { --accent: #00cc83; --halo-rgb: 0, 204, 131; }

.home-mode-card.arena { background-image: url("../images/home/desktop/feature-card/Créer-4.png"); }
.home-mode-card.melee { background-image: url("../images/home/desktop/feature-card/Créer-3.png"); }
.home-mode-card.domination { background-image: url("../images/home/desktop/feature-card/Créer-2.png"); }
.home-mode-card.coalition { background-image: url("../images/home/desktop/feature-card/Créer-1.png"); }

.home-mode-card {
  background-color: #070d29;
  background-position: center;
  background-size: cover;
}

.home-mode-card img {
  width: 135px;
  height: 110px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.home-mode-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
  text-transform: uppercase;
}

.home-mode-card p {
  margin: 14px 0 18px;
  color: #94a7ca;
  font-size: 15px;
  line-height: 1.45;
}

.home-mode-card a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 10px 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home-mode-card .mode-arrow {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.83821 4.61286L8.50797 3.29425L5.34648 0.160372C5.13076 -0.0534575 4.78052 -0.0534575 4.5648 0.160372L3.23456 1.47899C3.01885 1.69282 3.01885 2.04001 3.23456 2.25384L4.51145 3.51957H0.552624C0.247028 3.51957 0 3.76502 0 4.06737V5.93206C0 6.23498 0.247608 6.47985 0.552624 6.47985H4.51145L3.23456 7.74559C3.01885 7.95942 3.01885 8.3066 3.23456 8.52043L4.5648 9.83905C4.78052 10.0529 5.13076 10.0529 5.34648 9.83905L8.50739 6.70575L9.83763 5.38714C10.0533 5.17331 10.0533 4.82612 9.83763 4.61229L9.83821 4.61286Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.83821 4.61286L8.50797 3.29425L5.34648 0.160372C5.13076 -0.0534575 4.78052 -0.0534575 4.5648 0.160372L3.23456 1.47899C3.01885 1.69282 3.01885 2.04001 3.23456 2.25384L4.51145 3.51957H0.552624C0.247028 3.51957 0 3.76502 0 4.06737V5.93206C0 6.23498 0.247608 6.47985 0.552624 6.47985H4.51145L3.23456 7.74559C3.01885 7.95942 3.01885 8.3066 3.23456 8.52043L4.5648 9.83905C4.78052 10.0529 5.13076 10.0529 5.34648 9.83905L8.50739 6.70575L9.83763 5.38714C10.0533 5.17331 10.0533 4.82612 9.83763 4.61229L9.83821 4.61286Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.organizer-block {
  padding-top: 70px;
}

.organizer-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  min-height: 515px;
}

.organizer-copy {
  padding-left: 92px;
}

.organizer-copy .home-eyebrow {
  margin-bottom: 26px;
}

.organizer-copy h2 {
  font-size: 34px;
  line-height: 1.15;
}

.organizer-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 28px;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: 20px;
}

.organizer-copy li::before {
  display: inline-block;
  width: 19px;
  height: 15px;
  margin-right: 10px;
  background: url("../images/home/desktop/icons/check.svg") center / contain no-repeat;
  content: "";
}

.organizer-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.organizer-composite {
  width: min(100%, 600px);
  height: auto;
}

.organizer-visual .phone {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  width: 165px;
  aspect-ratio: 9 / 19.5;
  border: 7px solid #10162c;
  border-radius: 30px;
  background: #10162c;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42), 0 0 42px rgba(47, 92, 255, 0.28);
}

.organizer-visual .phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.organizer-visual .phone-one {
  left: 22%;
  bottom: 0;
}

.organizer-visual .phone-two {
  right: 20%;
  top: 15px;
}

.download-strip {
  padding: 30px 0 104px;
}

.download-inner {
  display: flex;
  min-height: 138px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #3b6aff;
  border-radius: 8px;
  padding: 26px 28px;
  background: linear-gradient(100deg, rgba(33, 49, 126, 0.38), rgba(6, 12, 42, 0.2));
}

.download-inner h2 {
  font-size: 24px;
}

.download-inner p {
  margin: 12px 0 0;
  color: #dfe9ff;
  font-size: 15px;
  line-height: 1.45;
}

.store-links {
  display: flex;
  gap: 14px;
}

.store-badge {
  display: flex;
  min-width: 215px;
  min-height: 66px;
  align-items: center;
  gap: 12px;
  border: 1px solid #95a0bb;
  border-radius: 10px;
  padding: 8px 16px;
  background: #050505;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.store-badge.asset-badge {
  min-width: 0;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.store-badge.asset-badge img {
  width: 220px;
  height: auto;
}

.arrow-icon {
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  object-fit: contain;
}

.store-badge.apple {
  background: #fff;
  color: #050505;
}

.store-badge small {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.play-mark,
.apple-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  font-size: 28px;
}

.play-mark {
  color: #50d890;
}

.apple-mark {
  font-size: 40px;
}

.home-footer {
  padding: 0 0 24px;
  background: #060c2a;
}

.home-footer .footer-bottom {
  border-color: rgba(135, 169, 255, 0.16);
}

@media (max-width: 1100px) {
  .header-actions,
  .header-cta { display: none; }
  .home-mode-grid { gap: 16px; }
  .organizer-copy { padding-left: 30px; }
}

@media (max-width: 900px) {
  .home-page .home-shell { width: min(680px, calc(100% - 32px)); }
  .home-nav a { min-height: auto; padding: 12px 14px; border-radius: var(--radius); }
  .home-nav a[aria-current="page"]::after { display: none; }
  .home-hero { min-height: 820px; background-position: 58% top; }
  .home-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,12,42,.98) 0%, rgba(6,12,42,.78) 55%, rgba(6,12,42,.2)); content: ""; }
  .home-mode-grid { grid-template-columns: repeat(2, 1fr); }
  .organizer-layout { grid-template-columns: 1fr; }
  .organizer-copy { padding: 0; }
  .organizer-visual { min-height: 480px; }
  .download-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .home-nav-wrap { width: calc(100% - 32px); }
  .home-brand img { width: 72px; }
  .home-hero { min-height: 760px; background-position: 63% top; }
  .hero-copy { padding-top: 48px; }
  .home-eyebrow { font-size: 15px; }
  .home-hero h1 { width: auto; font-size: clamp(58px, 20vw, 82px); letter-spacing: -5px; }
  .home-hero h1 span { letter-spacing: -4px; }
  .home-lede { font-size: 18px; }
  .home-lede br { display: none; }
  .home-actions { align-items: stretch; flex-direction: column; max-width: 300px; }
  .home-metrics { gap: 12px; justify-content: space-between; }
  .home-metrics > div { width: 30%; gap: 12px; }
  .metric-icon { width: 64px; height: 64px; }
  .home-metrics strong { font-size: 11px; }
  .home-mode-grid { grid-template-columns: 1fr; }
  .home-mode-card { min-height: 300px; }
  .home-section-heading h2, .organizer-copy h2 { font-size: 28px; }
  .organizer-copy h2 br { display: none; }
  .organizer-copy ul { font-size: 17px; }
  .organizer-visual .phone { width: 145px; }
  .organizer-visual .phone-one { left: 5%; }
  .organizer-visual .phone-two { right: 5%; }
  .store-links { width: 100%; flex-direction: column; }
  .store-badge { width: 100%; }
  .download-strip { padding-bottom: 60px; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(120deg, rgba(47, 92, 255, 0.16), transparent 42%),
    linear-gradient(180deg, #05091b 0%, #07102c 48%, #05091b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 10px 14px;
  background: var(--white);
  color: var(--blue);
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 9, 27, 0.82);
  border-bottom: 1px solid rgba(135, 169, 255, 0.16);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 950;
}

.brand img {
  width: 50px;
  height: auto;
}

.brand span {
  font-size: 19px;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  border-radius: var(--radius);
  color: #bac9ee;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  background: rgba(0, 215, 255, 0.1);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 215, 255, 0.22);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cyan);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -7px;
}

.nav-toggle span::after {
  position: absolute;
  top: 7px;
}

.nav-backdrop {
  display: none;
}

.hero {
  position: relative;
  min-height: min(860px, calc(100svh - 24px));
  color: var(--white);
  overflow: hidden;
  background: #070d24;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 27, 0.96), rgba(17, 41, 125, 0.82) 52%, rgba(5, 9, 27, 0.72)),
    linear-gradient(180deg, rgba(0, 215, 255, 0.08), rgba(0, 0, 0, 0.54));
  content: "";
}

.hero-inner,
.page-hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: min(860px, calc(100svh - 24px));
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  align-items: center;
  gap: 44px;
  padding: 74px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #98efff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 215, 255, 0.7);
  content: "";
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(54px, 9vw, 116px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-lede,
.page-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 650;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-family: inherit;
  font-weight: 950;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 215, 255, 0.22);
}

.button.secondary,
.button.light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 215, 255, 0.26);
  color: var(--white);
}

.button.dark {
  background: var(--blue);
  color: var(--white);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(0, 215, 255, 0.18);
  outline: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-parallax] {
  transition: transform 120ms ease-out;
  will-change: transform;
}

.hero-stats,
.badge-row,
.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats {
  margin-top: 34px;
}

.stat-pill,
.badge,
.mini-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(0, 215, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #c6f7ff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 950;
}

.stat-pill {
  min-height: 44px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.hero-shield {
  position: absolute;
  right: 10px;
  top: 12px;
  width: min(44vw, 330px);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.36)) drop-shadow(0 0 24px rgba(0, 215, 255, 0.2));
}

.phone-stack {
  position: absolute;
  inset: 68px auto auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.phone-frame,
.screen-shot {
  overflow: hidden;
  border: 8px solid #0a1028;
  border-radius: 34px;
  background: #0a1028;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34), 0 0 42px rgba(0, 215, 255, 0.14);
}

.phone-frame {
  width: 190px;
  aspect-ratio: 9 / 19.5;
}

.phone-frame:nth-child(2) {
  margin-top: 92px;
}

.phone-frame img,
.screen-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 88px 0;
}

.section.tight {
  padding: 58px 0;
}

.section.dark {
  background: var(--night);
  color: var(--white);
}

.section.white {
  background: #09122d;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-copy {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 580;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card,
.mode-card,
.feature-card,
.step-card,
.faq-card,
.contact-card,
.summary-item,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.card,
.feature-card,
.step-card,
.faq-card,
.contact-card {
  padding: 24px;
}

.mode-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(47, 92, 255, 0.88), rgba(5, 9, 27, 0.96));
}

.mode-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 215, 255, 0.18), rgba(255, 255, 255, 0));
  opacity: 0.56;
  content: "";
}

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

.mode-card .mode-visual {
  width: 138px;
  height: 112px;
  object-fit: contain;
  align-self: end;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.24)) drop-shadow(0 0 18px rgba(0, 215, 255, 0.2));
}

.mode-card h3,
.feature-card h3,
.step-card h3,
.card h3,
.faq-card h3,
.timeline-item h3 {
  margin: 0;
  color: inherit;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
}

.mode-card p,
.feature-card p,
.step-card p,
.card p,
.faq-card p {
  margin: 12px 0 0;
}

.mode-card p {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 650;
}

.feature-card p,
.step-card p,
.card p,
.faq-card p,
.timeline-item p {
  color: var(--muted);
  font-weight: 560;
}

.mode-card .text-link {
  margin-top: 18px;
  color: #98efff;
}

.mode-arena {
  background: linear-gradient(145deg, #375cff, #070d24);
}

.mode-melee {
  background: linear-gradient(145deg, #2047d7, #070d24);
}

.mode-domination {
  background: linear-gradient(145deg, #ff9f2f, #111833 58%, #070d24);
}

.mode-coalition {
  background: linear-gradient(145deg, #0cb6ba, #0c2848 52%, #070d24);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #98efff;
  font-weight: 950;
}

.text-link::after {
  content: "->";
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(0, 215, 255, 0.1);
  color: var(--cyan);
  font-size: 24px;
  font-weight: 950;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 46px;
  align-items: center;
}

.media-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26), 0 0 44px rgba(0, 215, 255, 0.08);
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.screen-shot img {
  aspect-ratio: 9 / 19.5;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 27, 0.96), rgba(25, 54, 158, 0.7), rgba(5, 9, 27, 0.88)),
    var(--hero-image, none) center / cover no-repeat;
  opacity: 0.94;
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  align-items: center;
  gap: 38px;
  padding: 86px 0;
}

.page-hero-visual {
  width: min(100%, 330px);
  justify-self: end;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.28)) drop-shadow(0 0 24px rgba(0, 215, 255, 0.18));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.86);
}

.breadcrumbs a + a::before {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.42);
  content: "/";
}

.breadcrumbs span::before {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.42);
  content: "/";
}

.mode-summary {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -44px;
}

.summary-item {
  min-height: 124px;
  padding: 20px;
  background: var(--card-strong);
}

.summary-item b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.summary-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
}

.timeline-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  font-weight: 950;
}

.timeline-item p {
  margin: 8px 0 0;
}

.comparison {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.comparison th,
.comparison td {
  border-bottom: 1px solid var(--line);
  padding: 17px 18px;
  text-align: left;
  vertical-align: top;
}

.comparison th {
  background: rgba(0, 215, 255, 0.1);
  color: #98efff;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.comparison td:first-child {
  color: var(--ink);
  font-weight: 950;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-weight: 560;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 22px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 13px 14px;
  color: var(--text);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(0, 215, 255, 0.16);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.footer {
  background: #030614;
  color: rgba(255, 255, 255, 0.76);
  padding: 54px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.footer h2,
.footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 17px;
}

.footer p {
  max-width: 360px;
  margin: 0;
}

.footer a {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--cyan);
  outline: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.logo-mark {
  width: 78px;
  margin-bottom: 16px;
}

.badge-row,
.mini-nav {
  margin-top: 20px;
}

.quote-panel {
  border-left: 4px solid var(--cyan);
  padding: 8px 0 8px 20px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.22;
}

.mode-detail-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mode-detail-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 650;
}

.mode-detail-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 215, 255, 0.6);
  content: "";
}

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

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-media {
    min-height: 430px;
  }

  .phone-stack {
    left: 0;
    right: 0;
    justify-content: center;
  }

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

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 9, 27, 0.96);
    padding: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav a {
    padding: 14px;
  }

  .language-switcher-desktop {
    display: none;
  }

  .nav .language-switcher-mobile {
    display: inline-flex;
    width: max-content;
    margin: 8px 0 2px 12px;
  }

  .nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-backdrop {
    position: fixed;
    inset: 78px 0 0;
    z-index: 20;
    display: none;
    background: rgba(8, 13, 53, 0.42);
  }

  .nav-open .nav-backdrop {
    display: block;
  }

  .section-head,
  .split,
  .contact-layout,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .page-hero-visual {
    justify-self: start;
    width: min(260px, 80%);
  }

  .grid.three,
  .app-gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Preserve the complete 1440 × 782 hero artwork on wide displays. */
@media (min-width: 1441px) {
  .home-page .home-hero {
    min-height: clamp(782px, 54.3056vw, 1050px);
    background-position: center top;
    background-size: 100% auto;
  }

  .home-page .hero-copy {
    padding-top: clamp(90px, 6.4vw, 145px);
  }
}

/* Shared page polish: internal pages now follow the home header/menu system. */
.site-header {
  background: rgba(6, 12, 42, 0.96);
  border-bottom-color: rgba(135, 169, 255, 0.16);
}

.site-header .nav-wrap {
  width: min(1340px, calc(100% - 64px));
}

.site-header .brand {
  flex: 0 0 81px;
}

.site-header .brand img {
  width: 81px;
  max-height: 40px;
  object-fit: contain;
}

.site-header .brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-hero {
  background: #060c2a;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(6, 12, 42, 0.98) 0%, rgba(6, 12, 42, 0.78) 45%, rgba(6, 12, 42, 0.64) 100%),
    var(--hero-image, none) center top / cover no-repeat;
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, #060c2a);
  content: "";
  pointer-events: none;
}

.page-hero-inner {
  min-height: 520px;
}

.page-hero-visual {
  max-height: 360px;
  object-fit: contain;
}

.screen-shot {
  border-width: 1px;
  border-radius: 22px;
}

.screen-shot img {
  height: 280px;
  aspect-ratio: auto;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 15%, rgba(47, 92, 255, 0.28), transparent 42%),
    #070d24;
}

.app-gallery:has(.screen-shot img[src*="Phone.png"]) {
  grid-template-columns: 1fr;
}

.app-gallery:has(.screen-shot img[src*="Phone.png"]) .screen-shot:not(:first-child) {
  display: none;
}

.app-gallery:has(.screen-shot img[src*="Phone.png"]) .screen-shot img {
  height: clamp(320px, 34vw, 430px);
  padding: 24px;
}

@media (max-width: 920px) {
  .site-header .nav-wrap {
    width: min(680px, calc(100% - 32px));
  }

  .site-header .brand {
    flex-basis: 72px;
  }

  .site-header .brand img {
    width: 72px;
  }

  .site-header .nav a[aria-current="page"]::after {
    display: none;
  }
}

@media (max-width: 660px) {
  .hero-inner {
    padding: 56px 0 68px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(48px, 17vw, 72px);
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-shield {
    width: 190px;
    right: 0;
  }

  .phone-stack {
    gap: 12px;
  }

  .phone-frame {
    width: min(40vw, 156px);
    border-width: 6px;
    border-radius: 28px;
  }

  .grid.two,
  .grid.four,
  .mode-summary {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .page-hero-inner {
    min-height: 460px;
    padding: 62px 0 78px;
  }

  .comparison {
    display: block;
    overflow-x: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Final home overrides: kept last so shared page styles cannot win the cascade. */
@media (min-width: 921px) {
  .site-header,
  .site-header .nav-wrap {
    min-height: 124px;
  }

  .site-header .nav-wrap {
    width: min(1420px, calc(100% - 64px));
  }

  .site-header .brand {
    flex: 0 0 157px;
  }

  .site-header .brand img {
    width: 157px;
    max-height: 78px;
  }

  .site-header .nav a {
    position: relative;
    display: inline-flex;
    min-height: 124px;
    align-items: center;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 14px;
    white-space: nowrap;
  }

  .site-header .nav a:hover,
  .site-header .nav a:focus-visible {
    background: transparent;
    box-shadow: none;
    color: #fff;
  }

  .site-header .nav a[aria-current="page"] {
    background: transparent;
    box-shadow: none;
    color: #3b6aff;
  }

  .site-header .nav a[aria-current="page"]::after {
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #00cfff 0%, #2f5cff 100%);
    box-shadow: 0 0 14px rgba(47, 92, 255, 0.9);
    content: "";
  }

  .site-header .header-cta {
    display: inline-flex;
    width: auto;
    min-width: 220px;
    min-height: 44px;
    justify-content: center;
    white-space: nowrap;
  }

  .site-header .tv-cta {
    min-width: 0;
  }
}

.home-page .home-brand img {
  width: 81px;
  max-height: 40px;
  object-fit: contain;
}

.home-page .home-nav-wrap {
  width: min(1340px, calc(100% - 64px));
}

.home-page .home-nav a {
  background: transparent;
  box-shadow: none;
}

.home-page .home-nav a:hover,
.home-page .home-nav a:focus-visible {
  background: transparent;
  box-shadow: none;
}

.home-page .home-nav a[aria-current="page"] {
  background: transparent;
  box-shadow: none;
  color: #3b6aff;
}

@media (max-width: 920px) {
  .site-header .header-actions,
  .site-header .header-cta {
    display: none;
  }

  .home-page .home-nav-wrap {
    width: min(680px, calc(100% - 32px));
  }

  .home-page .header-cta {
    display: none;
  }

  .home-page {
    overflow-x: hidden;
  }
}

/* Home sync — Figma desktop/Accueil, revision 2026-06-21. */
.home-page .modes-showcase {
  padding-top: 0;
  padding-bottom: 0;
}

.home-page .modes-showcase .home-section-heading {
  margin-bottom: 22px;
}

@media (min-width: 921px) {
  .home-page .home-header,
  .home-page .home-nav-wrap {
    min-height: 124px;
  }

  .home-page .home-nav-wrap {
    width: min(1180px, calc(100% - 64px));
  }

  .home-page .home-brand {
    flex-basis: 157px;
  }

  .home-page .home-brand img {
    width: 157px;
    max-height: 78px;
  }

  .home-page .home-nav a {
    min-height: 124px;
    font-size: 14px;
  }

  .home-page .header-cta {
    width: 240px;
    justify-content: center;
    margin-left: 20px;
  }

  .home-page .header-actions .header-cta {
    width: auto;
    min-width: 0;
    margin-left: 0;
    padding-inline: 18px;
  }
}

.home-page .organizer-block {
  padding: 98px 0;
}

.home-page .organizer-layout {
  min-height: 444px;
  grid-template-columns: 1fr 1.18fr;
  align-items: start;
}

.home-page .organizer-copy {
  padding-left: 92px;
}

.home-page .organizer-copy h2 {
  font-size: 37px;
  line-height: 1.22;
}

.home-page .organizer-copy ul {
  gap: 14px;
  font-size: 23px;
  line-height: 1.4;
}

.home-page .organizer-visual {
  display: block;
  height: 444px;
  min-height: 0;
  margin-top: 0;
}

.home-page .organizer-composite {
  position: absolute;
  top: -55px;
  left: 50%;
  width: min(100%, 691px);
  transform: translateX(-50%);
}

.home-page .download-strip {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding: 0 0 29px;
}

.home-page .download-inner {
  position: relative;
  min-height: 136px;
  overflow: visible;
  justify-content: flex-start;
  gap: 90px;
  padding: 24px;
  box-shadow: inset 0 0 44px rgba(59, 106, 255, 0.2);
}

.home-page .download-copy {
  position: relative;
  z-index: 2;
  flex: 0 0 406px;
}

.home-page .download-inner h2 {
  font-size: 24px;
  line-height: 26px;
}

.home-page .download-inner p {
  font-weight: 500;
  line-height: 23px;
}

.home-page .store-links {
  position: relative;
  z-index: 2;
  gap: 16px;
}

.home-page .store-badge.asset-badge img {
  width: 244px;
  max-height: 76px;
}

.home-page .download-dominos {
  position: absolute;
  z-index: 1;
  right: -185px;
  top: -112px;
  width: 491px;
  height: 356px;
  object-fit: contain;
  pointer-events: none;
}

.home-footer {
  padding: 0;
  border: 1px solid rgba(135, 169, 255, 0.16);
  background: rgba(6, 12, 42, 0.96);
  color: #fff;
}

.home-footer .home-shell {
  width: min(1224px, calc(100% - 64px));
  margin-inline: auto;
}

.home-footer-grid {
  display: grid;
  min-height: 190px;
  grid-template-columns: 157px 197px 197px;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 20px;
}

.home-footer-brand {
  display: grid;
  justify-items: center;
  align-self: center;
}

.home-footer-brand img {
  width: 157px;
  height: 78px;
  object-fit: contain;
}

/* Baseline retirée selon la nouvelle DA (logo seul) */
.home-footer-brand p {
  display: none;
}

.home-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-transform: uppercase;
}

.home-footer-column {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.home-footer-column a,
.home-footer-column span {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 25px;
}

.home-footer-column a.is-current {
  color: #3b6aff;
}

.home-footer-column a:hover,
.home-footer-column a:focus-visible {
  color: #7999ff;
}

@media (max-width: 1200px) {
  .home-page .download-inner {
    gap: 34px;
  }

  .home-page .download-dominos {
    right: -180px;
    opacity: 0.72;
  }

  .home-page .store-badge.asset-badge img {
    width: 190px;
  }
}

@media (max-width: 900px) {
  .home-page .organizer-block {
    padding: 72px 0;
  }

  .home-page .organizer-layout {
    grid-template-columns: 1fr;
  }

  .home-page .organizer-visual {
    display: grid;
    height: auto;
    min-height: 480px;
    margin-top: 0;
  }

  .home-page .organizer-composite {
    position: static;
    transform: none;
  }

  .home-page .download-strip {
    overflow: hidden;
  }

  .home-page .organizer-copy {
    padding-left: 0;
  }

  .home-page .organizer-copy h2 {
    font-size: 32px;
  }

  .home-page .organizer-copy ul {
    font-size: 19px;
  }

  .home-page .download-inner {
    align-items: flex-start;
    gap: 24px;
    padding-right: 190px;
  }

  .home-page .download-copy {
    flex-basis: auto;
  }

  .home-page .download-dominos {
    right: -120px;
    top: -70px;
    width: 360px;
    height: 260px;
    opacity: 0.48;
  }

  .home-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 60px;
    padding-block: 36px;
  }

  .home-footer-brand {
    justify-items: start;
  }

  .home-footer-brand p {
    text-align: left;
  }

}

@media (max-width: 680px) {
  .home-footer .home-shell {
    width: calc(100% - 32px);
  }

  .home-page .download-inner {
    padding: 24px;
  }

  .home-page .download-inner p br {
    display: none;
  }

  .home-page .download-dominos {
    right: -130px;
    top: -30px;
    opacity: 0.22;
  }

  .home-page .store-links {
    width: min(100%, 260px);
  }

  .home-page .store-badge.asset-badge img {
    width: 220px;
  }

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

/* Modes de jeu — Figma desktop/modes-de-jeu, revision 2026-06-21. */
.modes-page {
  overflow-x: hidden;
  background: #060c2a;
  color: #fff;
}

.modes-shell {
  width: min(1224px, calc(100% - 64px));
  margin-inline: auto;
}

.modes-page .button {
  min-height: 44px;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
}

.modes-page .button.primary {
  background: linear-gradient(145deg, #00d7ff 8%, #2f5cff 88%);
  box-shadow: none;
}

.modes-page .button.outline {
  position: relative;
  isolation: isolate;
  border-color: #3b6aff;
  background: #060c2a;
  color: #fff;
  box-shadow: none;
  overflow: visible;
}

.modes-page .button.outline span {
  color: #3b6aff;
}

.modes-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1080;
  min-height: 782px;
  max-height: 100vh;
  overflow: hidden;
  background: #060c2a url("../images/modes de jeu/hero/hero.png") center top / cover no-repeat;
}

.modes-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(6, 12, 42, 0) 68%, #060c2a 100%);
  content: "";
  pointer-events: none;
}

.modes-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 32px;
  padding-top: 153px;
}

.modes-eyebrow {
  margin: 0 0 26px;
  color: #7999ff;
  font-size: 18px;
  font-weight: 800;
  line-height: 16px;
  text-transform: uppercase;
}

.modes-hero h1 {
  width: min(100%, 444px);
  margin: 0 0 26px;
}

.modes-hero h1 img {
  display: block;
  width: 100%;
  height: auto;
}

.modes-hero h1 img[hidden],
.modes-hero .translated-hero-title[hidden] {
  display: none;
}

.modes-hero .translated-hero-title {
  display: block;
  max-width: 520px;
  color: #fff;
  font-family: "Atelia", "Inter", ui-sans-serif, sans-serif;
  font-size: clamp(64px, 7.2vw, 104px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(59, 106, 255, 0.28);
}

.modes-lede {
  max-width: 444px;
  margin: 0;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 32px;
}

.modes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.modes-list {
  background: #060c2a;
}

.mode-row {
  --mode-color: #3b6aff;
  --mode-rgb: 59, 106, 255;
  --halo-rgb: var(--mode-rgb);
  --mode-bg: url("../images/modes de jeu/Sections modes/Bleu.png");
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--mode-rgb), 0.75);
  border-right: 0;
  border-left: 0;
  background: #060c2a;
}

.mode-row + .mode-row {
  border-top: 0;
}

.mode-row-bg {
  position: absolute;
  inset: 0;
  opacity: 0.31;
  background: var(--mode-bg) center / cover no-repeat;
  pointer-events: none;
}

.mode-row::after {
  position: absolute;
  inset: -1px;
  box-shadow: inset 0 0 55px rgba(var(--mode-rgb), 0.2);
  content: "";
  pointer-events: none;
}

.mode-row-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1252px, calc(100% - 64px));
  min-height: 374px;
  grid-template-columns: 335px 390px minmax(0, 1fr);
  justify-content: start;
  align-items: center;
  column-gap: 105px;
  padding: 54px 0;
}

.mode-row-shield {
  width: 335px;
  height: 266px;
  object-fit: contain;
}

.mode-row-copy h2 {
  margin: 0 0 20px;
  color: #f7fbff;
  font-size: 44px;
  font-weight: 850;
  line-height: 26px;
  text-transform: uppercase;
  white-space: nowrap;
}

.mode-row-tag {
  margin: 0 0 20px;
  color: var(--mode-color);
  font-size: 15px;
  font-weight: 700;
  line-height: 23px;
}

.mode-row-copy p:not(.mode-row-tag) {
  max-width: 390px;
  margin: 0;
  color: #bac9ee;
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
}

.mode-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
}

.mode-row-blue .mode-row-side {
  gap: 36px;
}

.mode-row-side ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mode-row-side li {
  position: relative;
  padding-left: 27px;
  color: #bac9ee;
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
}

.mode-row-side li::before {
  position: absolute;
  left: 0;
  color: var(--mode-color);
  font-weight: 900;
  content: "✓";
}

.mode-row-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--mode-color);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 850;
  line-height: 18px;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mode-row-button span {
  color: var(--mode-color);
}

.mode-row-purple {
  --mode-color: #7c3bff;
  --mode-rgb: 124, 59, 255;
  --mode-bg: url("../images/modes de jeu/Sections modes/violet.png");
}

.mode-row-gold {
  --mode-color: #f1bc10;
  --mode-rgb: 241, 188, 16;
  --mode-bg: url("../images/modes de jeu/Sections modes/jaune.png");
}

.mode-row-green {
  --mode-color: #10dd7d;
  --mode-rgb: 16, 221, 125;
  --mode-bg: url("../images/modes de jeu/Sections modes/Vert.png");
}

.modes-download {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding: 103px 0 0;
}

.modes-page .download-inner {
  position: relative;
  min-height: 136px;
  overflow: visible;
  justify-content: flex-start;
  gap: 90px;
  padding: 24px;
  box-shadow: inset 0 0 44px rgba(59, 106, 255, 0.2);
}

.modes-page .download-copy {
  position: relative;
  z-index: 2;
  flex: 0 0 406px;
}

.modes-page .download-inner h2 {
  font-size: 24px;
  line-height: 26px;
}

.modes-page .download-inner p {
  font-weight: 500;
  line-height: 23px;
}

.modes-page .store-links {
  position: relative;
  z-index: 2;
  gap: 16px;
}

.modes-page .store-badge.asset-badge img {
  width: 244px;
  max-height: 76px;
}

.modes-page .download-dominos {
  position: absolute;
  z-index: 1;
  right: -185px;
  top: -112px;
  width: 491px;
  height: 356px;
  object-fit: contain;
  pointer-events: none;
}

.modes-page .home-footer {
  margin-top: 103px;
}

@media (max-width: 1200px) {
  .mode-row-inner {
    grid-template-columns: 260px minmax(260px, 1fr) 245px;
    min-height: 0;
    gap: 32px;
  }

  .mode-row-shield {
    width: 260px;
    height: 210px;
  }

  .modes-page .download-inner {
    gap: 34px;
  }

  .modes-page .download-dominos {
    right: -180px;
    opacity: 0.72;
  }

  .modes-page .store-badge.asset-badge img {
    width: 190px;
  }
}

@media (max-width: 900px) {
  .modes-shell {
    width: min(680px, calc(100% - 32px));
  }

  .modes-hero {
    min-height: 720px;
    background-position: 58% top;
  }

  .modes-hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(6, 12, 42, 0.98), rgba(6, 12, 42, 0.56));
    content: "";
  }

  .modes-hero-content {
    padding-left: 0;
    padding-top: 92px;
  }

  .mode-row-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
    text-align: center;
  }

  .mode-row-shield {
    justify-self: center;
  }

  .mode-row-copy,
  .mode-row-side {
    align-items: center;
  }

  .mode-row-copy p:not(.mode-row-tag) {
    max-width: 540px;
  }

  .modes-download {
    overflow: hidden;
    padding-top: 72px;
  }

  .modes-page .download-inner {
    align-items: flex-start;
    gap: 24px;
    padding-right: 190px;
  }

  .modes-page .download-copy {
    flex-basis: auto;
  }

  .modes-page .download-dominos {
    right: -120px;
    top: -70px;
    width: 360px;
    height: 260px;
    opacity: 0.48;
  }

  .modes-page .home-footer {
    margin-top: 72px;
  }
}

@media (max-width: 680px) {
  .modes-hero {
    min-height: 650px;
    background-position: 65% top;
  }

  .modes-eyebrow {
    font-size: 14px;
  }

  .modes-lede {
    font-size: 18px;
    line-height: 27px;
  }

  .modes-actions {
    width: min(100%, 300px);
    flex-direction: column;
  }

  .mode-row-copy h2 {
    font-size: 32px;
    line-height: 36px;
    white-space: normal;
  }

  .modes-page .download-inner {
    padding: 24px;
  }

  .modes-page .download-inner p br {
    display: none;
  }

  .modes-page .download-dominos {
    right: -130px;
    top: -30px;
    opacity: 0.22;
  }

  .modes-page .store-links {
    width: min(100%, 260px);
  }

  .modes-page .store-badge.asset-badge img {
    width: 220px;
  }
}

/* ============================================================
   Page mode — Arène Libre (Figma desktop/modes-de-jeu 141:421)
   ============================================================ */
.arene-page {
  background: #060c2a;
  color: #fff;
}

.arene-page .arene-shell {
  width: min(1352px, calc(100% - 64px));
  margin-inline: auto;
}

.arene-page main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 23px;
  padding-bottom: 60px;
}

/* Hero */
.arene-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1080;
  min-height: 782px;
  max-height: 100vh;
  overflow: hidden;
  background: #060c2a url("../images/arene/hero-arene-libre.png") center / cover no-repeat;
}

.arene-hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, #060c2a);
  content: "";
  pointer-events: none;
}

.arene-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  max-width: 580px;
  padding-top: 95px;
  padding-bottom: 90px;
}

.arene-hero .home-eyebrow {
  margin: 0;
}

.arene-hero h1 {
  margin: 0;
  max-width: 460px;
  color: #fff;
  font-family: "Atelia", "Inter", ui-sans-serif, sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 8.4vw, 117px);
  line-height: 0.86;
  text-transform: uppercase;
}

.arene-hero-tagline {
  margin: 0;
  max-width: 444px;
  color: #3b6aff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
}

.arene-hero-copy {
  margin: 0;
  max-width: 542px;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

.arene-hero-actions {
  display: flex;
  gap: 12px;
  padding-top: 4px;
}

/* Carte vitrine (panneau bordé réutilisé par toutes les sections) */
.arene-card {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(59, 106, 255, 0.75);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 44.5px rgba(59, 106, 255, 0.2);
}

.arene-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/home/desktop/feature-card/Créer.png") center / cover no-repeat;
  opacity: 0.31;
  content: "";
  pointer-events: none;
}

/* Section "Comment ça fonctionne" */
.arene-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  padding: 24px 44px;
}

.arene-steps-title {
  margin: 0;
  color: #f7fbff;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
}

.arene-steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.arene-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
}

.arene-step-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.arene-step-num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #3b6aff;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.arene-step-head p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.arene-step img {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
}

.arene-step-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 16px;
  height: 16px;
  background-color: #3b6aff;
  -webkit-mask: var(--fleche-mask) center / contain no-repeat;
  mask: var(--fleche-mask) center / contain no-repeat;
}

/* Sections "split" (Le contrôle… / Enregistrez vos résultats…) */
.arene-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 24px 110px;
}

.arene-split.reverse {
  flex-direction: row-reverse;
}

.arene-split-media {
  flex: 0 0 auto;
}

.arene-split-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 470px;
  max-height: 640px;
}

.arene-split-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 511px;
}

.arene-split-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 37px;
  font-weight: 700;
  line-height: 1.22;
  text-transform: uppercase;
}

.arene-split-copy p {
  margin: 0;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

.arene-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arene-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
}

.arene-checklist li::before {
  flex: 0 0 auto;
  width: 19px;
  height: 15px;
  background: url("../images/home/desktop/icons/check.svg") center / contain no-repeat;
  content: "";
}

@media (max-width: 1100px) {
  .arene-steps-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }

  .arene-step-arrow {
    display: none;
  }

  .arene-split,
  .arene-split.reverse {
    flex-direction: column;
    padding: 32px;
    text-align: left;
  }

  .arene-split-media img {
    width: 100%;
    max-width: 440px;
  }
}

@media (max-width: 720px) {
  .arene-hero {
    min-height: 0;
  }

  .arene-hero-inner {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .arene-hero h1 {
    font-size: clamp(54px, 16vw, 88px);
  }

  .arene-hero-tagline,
  .arene-hero-copy {
    font-size: 19px;
  }

  .arene-steps {
    padding: 24px;
  }

  .arene-steps-title {
    font-size: 26px;
  }

  .arene-split-copy h2 {
    font-size: 28px;
  }

  .arene-checklist li,
  .arene-split-copy p {
    font-size: 18px;
  }
}

/* Modale — règle du jeu */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 22, 0.72);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 40px;
  border: 1px solid rgba(59, 106, 255, 0.75);
  border-radius: 14px;
  background: #0a1238;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 44.5px rgba(59, 106, 255, 0.2);
  animation: modal-pop 180ms ease;
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(135, 169, 255, 0.28);
  border-radius: 999px;
  background: rgba(135, 169, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(59, 106, 255, 0.28);
  border-color: #3b6aff;
}

.modal-eyebrow {
  margin: 0 0 8px;
  color: #7999ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modal-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.modal-intro,
.modal-foot {
  margin: 0;
  color: #dfe9ff;
  font-size: 16px;
  line-height: 1.5;
}

.modal-foot {
  margin-top: 22px;
  color: #94a7ca;
  font-size: 15px;
}

.modal-subtitle {
  margin: 26px 0 12px;
  color: #3b6aff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-steps,
.modal-rules {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #dfe9ff;
  font-size: 16px;
  line-height: 1.45;
}

.modal-steps b,
.modal-rules b {
  color: #fff;
}

.modal-steps ul,
.modal-rules ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: disc;
}

.modal-subhead {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.modal-note {
  margin: 12px 0 0;
  color: #94a7ca;
  font-size: 15px;
  line-height: 1.45;
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .modal-dialog {
    padding: 28px 22px;
  }

  .modal-title {
    font-size: 23px;
  }
}

/* ============================================================
   Pages mode (génériques) — couleur via --mode-accent.
   Utilisé par Mêlée générale (et futurs modes Domination/Coalition).
   ============================================================ */
.melee-page {
  --mode-accent: #7c3bff;
  --mode-accent-rgb: 124, 59, 255;
  background: #060c2a;
  color: #fff;
}

.mode-shell {
  width: min(1352px, calc(100% - 64px));
  margin-inline: auto;
}

.mode-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 23px;
  padding-bottom: 60px;
}

/* Hero */
.mode-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 1920 / 1080;
  min-height: 782px;
  max-height: 100vh;
  overflow: hidden;
  background: #060c2a var(--mode-hero) center / cover no-repeat;
}

.mode-hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, #060c2a);
  content: "";
  pointer-events: none;
}

.mode-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  max-width: 620px;
  padding-block: 48px;
}

.mode-eyebrow {
  margin: 0;
  color: var(--mode-accent);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.mode-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Atelia", "Inter", ui-sans-serif, sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 8.4vw, 117px);
  line-height: 0.86;
  text-transform: uppercase;
}

.mode-hero-tagline {
  margin: 0;
  max-width: 586px;
  color: var(--mode-accent);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
}

.mode-hero-copy {
  margin: 0;
  max-width: 586px;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

.mode-hero-actions {
  display: flex;
  gap: 12px;
  padding-top: 4px;
}

/* Bouton outline teinté avec l'accent du mode */
.melee-page .button.outline {
  --halo-rgb: var(--mode-accent-rgb);
  border-color: var(--mode-accent);
}

.melee-page .button.outline span {
  color: var(--mode-accent);
}

/* Carte vitrine bordée */
.mode-panel {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(var(--mode-accent-rgb), 0.75);
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  box-shadow: inset 0 0 44.5px rgba(var(--mode-accent-rgb), 0.2);
}

.mode-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/home/desktop/feature-card/Créer.png") center / cover no-repeat;
  opacity: 0.31;
  content: "";
  pointer-events: none;
}

/* Section "Comment ça fonctionne" */
.mode-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  padding: 24px 44px;
}

.mode-steps-title {
  margin: 0;
  color: #f7fbff;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
}

.mode-steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.mode-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
}

.mode-step-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.mode-step-num {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--mode-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.mode-step-head p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.mode-step img {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
}

.mode-step-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 16px;
  height: 16px;
  background-color: var(--mode-accent);
  -webkit-mask: var(--fleche-mask) center / contain no-repeat;
  mask: var(--fleche-mask) center / contain no-repeat;
}

/* Sections "split" (texte + média) */
.mode-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 24px 110px;
}

.mode-split-media {
  flex: 0 0 auto;
}

.mode-split-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 470px;
  max-height: 640px;
}

.mode-split-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 511px;
}

.mode-split-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 37px;
  font-weight: 700;
  line-height: 1.22;
  text-transform: uppercase;
}

.mode-split-copy p {
  margin: 0;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

/* Schéma rotation des joueurs (rounds / tables) */
.mode-rounds {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 0 0 auto;
}

.mode-rounds-arrow {
  color: var(--mode-accent);
  font-size: 28px;
  font-weight: 800;
}

.mode-round {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mode-round-title {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.mode-table {
  position: relative;
  isolation: isolate;
  width: 230px;
  padding: 22px 20px 26px;
  border: 1px solid rgba(var(--mode-accent-rgb), 0.75);
  border-radius: 8px;
  box-shadow: inset 0 0 44.5px rgba(var(--mode-accent-rgb), 0.2);
  text-align: center;
}

.mode-table-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.mode-board {
  position: relative;
  width: 184px;
  height: 152px;
  margin: 6px auto 0;
}

.mode-seat {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--seat, #3b6aff);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.mode-seat.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mode-seat.bl {
  bottom: 0;
  left: 14px;
}

.mode-seat.br {
  bottom: 0;
  right: 14px;
}

.mode-domino {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #5b2011;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mode-domino::after {
  position: absolute;
  inset: 6px 50% 6px 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
  content: "";
  transform: translateX(-0.5px);
}

@media (max-width: 1100px) {
  .mode-steps-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }

  .mode-step-arrow {
    display: none;
  }

  .mode-split {
    flex-direction: column;
    padding: 32px;
    text-align: left;
  }

  .mode-split-media img {
    width: 100%;
    max-width: 440px;
  }

  .mode-rounds {
    flex-wrap: wrap;
  }

  .mode-rounds-arrow {
    display: none;
  }
}

@media (max-width: 720px) {
  .mode-hero {
    min-height: 0;
  }

  .mode-hero-inner {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .mode-hero h1 {
    font-size: clamp(54px, 16vw, 88px);
  }

  .mode-hero-tagline,
  .mode-hero-copy {
    font-size: 19px;
  }

  .mode-steps {
    padding: 24px;
  }

  .mode-steps-title {
    font-size: 26px;
  }

  .mode-split-copy h2 {
    font-size: 28px;
  }

  .mode-split-copy p {
    font-size: 18px;
  }
}

/* Mêlée générale : background spécifique des cartes */
.melee-page .mode-panel::before {
  background-image: url("../images/melee/background-card.png");
}

.melee-page .mode-table {
  overflow: hidden;
}

.melee-page .mode-table::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/melee/background-card.png") center / cover no-repeat;
  opacity: 0.31;
  content: "";
  pointer-events: none;
}

/* Arène libre : background spécifique des cartes */
.arene-page .arene-card::before {
  background-image: url("../images/arene/background-card.png");
}

/* Mêlée générale : modale (règle du jeu) teintée en violet */
.melee-page .modal-dialog {
  border-color: rgba(var(--mode-accent-rgb), 0.75);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 44.5px rgba(var(--mode-accent-rgb), 0.2);
}

.melee-page .modal-subtitle {
  color: var(--mode-accent);
}

.melee-page .modal-close:hover,
.melee-page .modal-close:focus-visible {
  background: rgba(var(--mode-accent-rgb), 0.28);
  border-color: var(--mode-accent);
}

/* ============================================================
   Page mode — Domination (accent or)
   ============================================================ */
.domination-page {
  --mode-accent: #f1bc10;
  --mode-accent-rgb: 241, 188, 16;
  background: #060c2a;
  color: #fff;
}

/* Cartes : background spécifique domination */
.domination-page .mode-panel::before {
  background-image: url("../images/domination/background-card.png");
}

/* Bouton outline doré */
.domination-page .button.outline {
  --halo-rgb: var(--mode-accent-rgb);
  border-color: var(--mode-accent);
}

.domination-page .button.outline span {
  color: var(--mode-accent);
}

/* Modale teintée en or */
.domination-page .modal-dialog {
  border-color: rgba(var(--mode-accent-rgb), 0.75);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 44.5px rgba(var(--mode-accent-rgb), 0.2);
}

.domination-page .modal-subtitle {
  color: var(--mode-accent);
}

.domination-page .modal-close:hover,
.domination-page .modal-close:focus-visible {
  background: rgba(var(--mode-accent-rgb), 0.28);
  border-color: var(--mode-accent);
}

/* Rangée de 3 cartes infos */
.dom-info-row {
  display: flex;
  align-items: stretch;
  gap: 23px;
}

.dom-info-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 24px;
}

.dom-info-trophy {
  display: flex;
  align-items: center;
  gap: 24px;
}

.dom-info-trophy img {
  flex: 0 0 auto;
  width: 150px;
  height: auto;
}

.dom-info-card p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.dom-card-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.dom-card-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.dom-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dom-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.dom-list.check li::before {
  flex: 0 0 auto;
  margin-top: 5px;
  width: 19px;
  height: 14px;
  background-color: var(--mode-accent);
  -webkit-mask: var(--check-mask) center / contain no-repeat;
  mask: var(--check-mask) center / contain no-repeat;
  content: "";
}

.dom-list.bullet li::before {
  flex: 0 0 auto;
  margin-top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--mode-accent);
  transform: rotate(45deg);
  content: "";
}

/* Schéma montée / descente (bracket) */
.dom-bracket {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 23px;
  flex-wrap: wrap;
}

.dom-bracket-arrow {
  align-self: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background-color: var(--mode-accent);
  -webkit-mask: var(--fleche-mask) center / contain no-repeat;
  mask: var(--fleche-mask) center / contain no-repeat;
}

.dom-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px;
}

.dom-stage-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.dom-table {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 208px;
  padding: 10px 20px 16px;
}

.dom-table-title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.dom-chips {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.mode-chip {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border-radius: 999px;
  background: var(--seat, #3b6aff);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.dom-chip-move {
  position: relative;
}

.dom-chip-move::after {
  position: absolute;
  top: -4px;
  right: -8px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  content: "";
}

.dom-chip-move.up::after {
  content: "▲";
  color: #4ade80;
}

.dom-chip-move.down::after {
  content: "▼";
  color: #f87171;
}

/* Colonne résultats (manche 1 - résultat) */
.dom-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.dom-result {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 355px;
  max-width: 100%;
  padding: 8px 22px;
}

.dom-result-text {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
}

.dom-result-text b {
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .dom-info-row {
    flex-direction: column;
  }

  .dom-bracket-arrow {
    transform: rotate(90deg);
  }
}

/* Liste "Pourquoi vous allez aimer" avec icônes */
.dom-list.icons li {
  align-items: center;
  gap: 11px;
}

.dom-list.icons li img {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ============================================================
   Page mode — Coalition (accent vert)
   ============================================================ */
.coalition-page {
  --mode-accent: #10dd7d;
  --mode-accent-rgb: 16, 221, 125;
  background: #060c2a;
  color: #fff;
}

.coalition-page .mode-panel::before {
  background-image: url("../images/coalition/background-card.png");
}

.coalition-page .button.outline {
  --halo-rgb: var(--mode-accent-rgb);
  border-color: var(--mode-accent);
}

.coalition-page .button.outline span {
  color: var(--mode-accent);
}

.coalition-page .modal-dialog {
  border-color: rgba(var(--mode-accent-rgb), 0.75);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 44.5px rgba(var(--mode-accent-rgb), 0.2);
}

.coalition-page .modal-subtitle {
  color: var(--mode-accent);
}

.coalition-page .modal-close:hover,
.coalition-page .modal-close:focus-visible {
  background: rgba(var(--mode-accent-rgb), 0.28);
  border-color: var(--mode-accent);
}

/* Checklist générique (coches à l'accent du mode) */
.mode-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mode-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

.mode-checklist li::before {
  flex: 0 0 auto;
  margin-top: 8px;
  width: 19px;
  height: 14px;
  background-color: var(--mode-accent);
  -webkit-mask: var(--check-mask) center / contain no-repeat;
  mask: var(--check-mask) center / contain no-repeat;
  content: "";
}

@media (max-width: 720px) {
  .mode-checklist li {
    font-size: 18px;
  }
}

/* ============================================================
   Page FAQ
   ============================================================ */
.faq-page {
  background: #060c2a;
  color: #fff;
}

.faq-shell {
  width: min(860px, calc(100% - 48px));
  margin-inline: auto;
}

/* Hero compact */
.faq-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 56px;
  text-align: center;
}

.faq-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(59, 106, 255, 0.28) 0%,
    rgba(59, 106, 255, 0) 60%
  );
  pointer-events: none;
}

.faq-eyebrow {
  position: relative;
  margin: 0 0 16px;
  color: #7999ff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faq-hero h1 {
  position: relative;
  margin: 0;
  color: #fff;
  font-family: "Atelia", "Inter", ui-sans-serif, sans-serif;
  font-weight: 400;
  font-size: clamp(72px, 10vw, 132px);
  line-height: 0.9;
  text-transform: uppercase;
}

.faq-shell.faq-shell-fit {
  container-type: inline-size;
}

.faq-shell-fit h1.faq-title-long {
  font-size: min(96px, calc(100cqw / 8.8));
}

.faq-shell-fit h1.faq-title-account {
  font-size: min(108px, calc(100cqw / 7.95));
}

.faq-shell-fit h1.faq-title-mentions {
  font-size: min(clamp(72px, 10vw, 132px), calc(100cqw / 5.3));
}

.faq-shell-fit h1.faq-title-cgu {
  font-size: min(clamp(72px, 10vw, 132px), calc(100cqw / 7.1));
}

.faq-lede {
  position: relative;
  margin: 22px auto 0;
  max-width: 600px;
  color: #c3d0f5;
  font-size: 19px;
  line-height: 1.55;
}

/* Corps */
.faq-body {
  padding-bottom: 24px;
}

.faq-group {
  margin-top: 40px;
}

.faq-group-title {
  margin: 0 0 16px;
  color: #3b6aff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Accordéon */
.faq-item {
  border: 1px solid rgba(135, 169, 255, 0.18);
  border-radius: 16px;
  background: rgba(14, 25, 58, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(59, 106, 255, 0.7);
  background: rgba(17, 27, 120, 0.4);
  box-shadow: 0 0 0 1px rgba(59, 106, 255, 0.25),
    inset 0 0 44px rgba(59, 106, 255, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: #cdd9ff;
}

/* Icône + / − */
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(135, 169, 255, 0.32);
  color: #8fa6e8;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item[open] .faq-icon {
  background: #3b6aff;
  border-color: #3b6aff;
  color: #fff;
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

/* Réponse */
.faq-answer {
  padding: 0 22px 22px;
  color: #c3d0f5;
  font-size: 16px;
  line-height: 1.65;
}

.faq-item[open] .faq-answer {
  animation: faq-reveal 0.26s ease;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* Carte contact */
.faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 30px 34px;
  border: 1px solid rgba(59, 106, 255, 0.4);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(59, 106, 255, 0.16),
    rgba(7, 16, 57, 0.6)
  );
  box-shadow: inset 0 0 44px rgba(59, 106, 255, 0.12);
}

.faq-contact-text h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-contact-text p {
  margin: 0;
  color: #c3d0f5;
  font-size: 16px;
}

@media (max-width: 600px) {
  .faq-hero {
    padding: 80px 0 40px;
  }

  .faq-item summary {
    font-size: 16px;
    padding: 18px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .faq-contact {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }
}

/* ============================================================
   Sous-menu "Modes de jeu" dans la navigation
   ============================================================ */
.nav-sub {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease, opacity 180ms ease;
  opacity: 0.7;
}

.nav-sub:hover .nav-caret,
.nav-sub:focus-within .nav-caret {
  transform: translateY(1px) rotate(225deg);
  opacity: 1;
}

/* pont invisible : évite de perdre le survol entre le lien et le menu */
.nav-sub::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 224px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(135, 169, 255, 0.18);
  border-radius: 14px;
  background: rgba(5, 9, 27, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
  z-index: 80;
}

.nav-sub:hover .nav-submenu,
.nav-sub:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.site-header .nav-submenu a {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 11px 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 14px;
  color: #bac9ee;
}

.site-header .nav-submenu a:hover,
.site-header .nav-submenu a:focus-visible {
  background: rgba(0, 215, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 215, 255, 0.22);
  color: #fff;
}

@media (max-width: 920px) {
  .nav-sub {
    display: block;
  }

  .nav-sub::after {
    display: none;
  }

  .nav-caret {
    display: none;
  }

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

  .nav-submenu a {
    padding: 12px 14px;
    font-size: 13px;
    color: #9fb2e8;
  }
}

/* ============================================================
   Page Organisateurs
   ============================================================ */
.orga-page {
  background: #060c2a;
  color: #fff;
  --mode-accent: #3b6aff;
  --mode-accent-rgb: 59, 106, 255;
}

.orga-page .faq-hero h1 {
  font-size: clamp(46px, 7vw, 96px);
}

.orga-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

.orga-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(135, 169, 255, 0.18);
  border-radius: 14px;
  background: rgba(8, 16, 46, 0.55);
}

.orga-step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #00d7ff, #2f5cff);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.orga-step h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.orga-step p {
  margin: 0;
  color: #c3d0f5;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .orga-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================================
   Page Contact
   ============================================================ */
.contact-page {
  background: #060c2a;
  color: #fff;
  --mode-accent: #3b6aff;
  --mode-accent-rgb: 59, 106, 255;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
  width: 100%;
}

.contact-panel {
  position: relative;
  isolation: isolate;
  padding: 32px;
  border: 1px solid rgba(var(--mode-accent-rgb), 0.55);
  border-radius: 18px;
  background: rgba(8, 16, 46, 0.55);
  box-shadow: inset 0 0 44px rgba(var(--mode-accent-rgb), 0.12);
}

.contact-info h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
}

.contact-info p {
  margin: 0 0 20px;
  color: #c3d0f5;
  font-size: 16px;
  line-height: 1.6;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.contact-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(135, 169, 255, 0.28);
  background: rgba(59, 106, 255, 0.1);
  color: #cdd9ff;
  font-size: 13px;
  font-weight: 700;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mode-accent);
  font-size: 16px;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-field label {
  color: #bac9ee;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(135, 169, 255, 0.25);
  border-radius: 10px;
  background: rgba(5, 9, 27, 0.6);
  color: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.contact-field textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--mode-accent);
  box-shadow: 0 0 0 3px rgba(var(--mode-accent-rgb), 0.18);
}

.contact-form .button {
  align-self: flex-start;
  margin-top: 4px;
}

.contact-form .form-note {
  margin: 0;
  color: #94a7ca;
  font-size: 13px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 26px;
  }
}

/* ============================================================
   Pages légales (Mentions légales, CGU, Confidentialité,
   Suppression de compte) — même DA que FAQ/Contact
   ============================================================ */
.legal-page {
  background: #060c2a;
  color: #fff;
  --mode-accent: #3b6aff;
  --mode-accent-rgb: 59, 106, 255;
}

.legal-body {
  padding-bottom: 80px;
}

.legal-content {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
}

.legal-updated {
  margin: 0 0 40px;
  color: #8fa6e8;
  font-size: 14px;
  font-weight: 700;
}

.legal-section {
  margin-top: 36px;
}

.legal-section:first-of-type {
  margin-top: 0;
}

.legal-section h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.legal-section p {
  margin: 0 0 16px;
  color: #c3d0f5;
  font-size: 16px;
  line-height: 1.7;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #c3d0f5;
  font-size: 16px;
  line-height: 1.7;
}

.legal-section ol {
  padding-left: 26px;
}

.legal-section h3 {
  margin: 20px 0 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section a {
  color: #7999ff;
  text-decoration: underline;
  text-decoration-color: rgba(121, 153, 255, 0.4);
}

.legal-section a:hover,
.legal-section a:focus-visible {
  color: #a7bcff;
}

.legal-placeholder {
  color: #ffbd4a;
}

.legal-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.legal-steps li {
  padding: 18px 22px;
  border: 1px solid rgba(135, 169, 255, 0.18);
  border-radius: 16px;
  background: rgba(14, 25, 58, 0.55);
  color: #c3d0f5;
  font-size: 16px;
  line-height: 1.65;
}

.legal-steps strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 600px) {
  .legal-section h2 {
    font-size: 19px;
  }
}

/* En-tête : tient sans défilement horizontal entre 921 px et 1389 px.
   Compactage, puis retrait du bouton « Résultats en direct », puis des boutons
   d'action (déjà masqués en mobile) quand la largeur ne suffit plus. */
@media (min-width: 921px) and (max-width: 1389px) {
  .site-header .nav-wrap {
    gap: 14px;
  }

  .site-header .brand {
    flex-basis: 120px;
  }

  .site-header .brand img {
    width: 120px;
    max-height: 60px;
  }

  .site-header .nav {
    gap: 2px;
  }

  .site-header .nav > a,
  .site-header .nav > .nav-sub > a {
    padding-inline: 9px;
  }

  .site-header .nav > a[aria-current="page"]::after {
    right: 9px;
    left: 9px;
  }

  .site-header .header-actions {
    gap: 8px;
    margin-left: 8px;
  }

  .site-header .header-cta {
    min-width: 0;
    padding: 11px 12px;
    font-size: 13px;
  }
}

@media (min-width: 921px) and (max-width: 1200px) {
  .site-header .tv-cta {
    display: none;
  }
}

@media (min-width: 921px) and (max-width: 1000px) {
  .site-header .header-actions {
    display: none;
  }
}

.legal-translation-note {
  margin: 0 0 24px;
  color: #9fb0dd;
  font-size: 14px;
  font-style: italic;
  line-height: 1.55;
}

/* Consentement aux cookies et à la mesure d'audience (assets/js/consent.js) */
.cookie-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-inner {
  width: 100%;
  max-width: 560px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b1540;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  color: var(--text);
  pointer-events: auto;
}

.cookie-consent-inner h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.cookie-consent-inner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent-inner a {
  color: var(--cyan);
  text-decoration: underline;
}

.cookie-consent-status {
  margin-top: 8px !important;
  color: var(--muted);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* « Accepter » et « Refuser » : exactement le même poids visuel. */
.cookie-consent-btn {
  flex: 1 1 140px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(0, 215, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent-btn:hover,
.cookie-consent-btn:focus-visible {
  border-color: var(--cyan);
  background: rgba(0, 215, 255, 0.16);
  outline: none;
}

.cookie-consent-close {
  flex: 1 1 100%;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-consent-close[hidden] {
  display: none;
}

.cookie-consent-open,
.legal-link-button {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 25px;
  text-align: left;
  cursor: pointer;
}

.cookie-consent-open:hover,
.cookie-consent-open:focus-visible {
  color: #7999ff;
}

.legal-link-button {
  display: inline;
  color: var(--cyan);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
}

@media (max-width: 520px) {
  .cookie-consent-inner {
    padding: 16px;
  }
}

/* Lien Instagram du pied de page */
.footer-social {
  margin-top: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 25px;
}

.footer-social:hover,
.footer-social:focus-visible {
  color: #7999ff;
}
