.tn-home, .tn-feature {
  --tn-night: #171630;
  --tn-ink: #222039;
  --tn-muted: #57516c;
  --tn-lime: #d9f78c;
  --tn-paper: #f8f7fe;
  --tn-line: #dcd7ee;
  font-family: var(--bv-body, system-ui, sans-serif);
  color: var(--tn-ink);
  line-height: 1.55;
}

.tn-front { margin: 0; background: #06142e; }
.tn-front .bv-head { background: #06142e; }
.tn-front .bv-nav a[href$="#jeux"] { color: #ffda59; opacity: 1; }
.tn-home *, .tn-feature * { box-sizing: border-box; }

.tn-shell { width: min(1296px, calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.tn-home :where(h1, h2, h3, p, figure), .tn-feature :where(h2, h3, p, figure) { margin: 0; }
.tn-home :where(h1, h2, h3), .tn-feature :where(h2, h3) {
  color: inherit;
  font-family: var(--bv-display, var(--bv-headline, system-ui, sans-serif));
  line-height: 1.12;
  letter-spacing: -.045em;
}
.tn-home h2, .tn-feature h2 { font-size: clamp(1.75rem, 4vw, 3.1rem); text-wrap: balance; }
.tn-home h3, .tn-feature h3 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -.035em; }
.tn-home img, .tn-feature img { display: block; width: 100%; height: auto; }
.tn-home figcaption, .tn-feature figcaption { margin-top: .65rem; font-size: .8125rem; }
.tn-home :where(a):focus-visible, .tn-feature :where(a):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.tn-hero {
  --tn-lime: #ffda59;
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #fff;
  background: radial-gradient(ellipse at 78% 48%, #124884, transparent 54%), linear-gradient(125deg, #071633 25%, #0a2048 82%);
}
.tn-hero::before {
  position: absolute;
  z-index: -1;
  inset: -38% -10% auto auto;
  width: min(72vw, 1060px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 54px, #d5c5ff15 55px 56px, transparent 57px 63px);
  mask-image: linear-gradient(130deg, transparent 9%, #000 72%);
  content: '';
  pointer-events: none;
}
.tn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.2fr);
  gap: clamp(1.7rem, 4vw, 4.2rem);
  align-items: center;
  padding-block: clamp(2.4rem, 4vw, 4.5rem) clamp(1rem, 3vw, 2.8rem);
}
.tn-kicker { font-size: .8125rem; line-height: 1.5; font-weight: 750; letter-spacing: .105em; text-transform: uppercase; }
.tn-hero .tn-kicker { color: #cfe0ff; }
.tn-hero h1 { margin: 1.05rem 0 1.3rem; font-size: clamp(2.5rem, 4.8vw, 4.65rem); font-weight: 800; line-height: 1.01; letter-spacing: -.07em; }
.tn-hero h1 span { display: block; color: var(--tn-lime); white-space: nowrap; }
.tn-hero .tn-intro { max-width: 43ch; color: #dce8fb; font-size: 1.05rem; }
.tn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.tn-button {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .61rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font: 700 .9375rem/1.35 var(--bv-body, system-ui, sans-serif);
  text-decoration: none;
  text-align: center;
}
.tn-button.tn-primary { background: var(--tn-lime); color: var(--tn-night); }
.tn-button.tn-primary:hover { background: #ebffb6; }
.tn-hero .tn-button.tn-primary:hover { background: #ffe792; }
.tn-button.tn-outline { border-color: currentColor; color: inherit; }
.tn-button.tn-outline:hover { text-decoration: underline; text-underline-offset: .2em; }
.tn-tablet-image img { filter: drop-shadow(0 22px 32px #03081780); }
.tn-tablet-image figcaption { color: #dce8fb; text-align: right; }
.tn-promises { display: flex; gap: .55rem 1.6rem; flex-wrap: wrap; padding: .9rem 0 1.1rem; margin-block: 0; list-style: none; border-top: 1px solid #e2d6ff32; color: #ede7f6; font-size: .9rem; font-weight: 650; }
.tn-promises li { display: flex; align-items: center; gap: .5rem; }
.tn-promises li::before { content: ''; width: .47rem; height: .47rem; border-radius: 50%; background: var(--tn-lime); flex-shrink: 0; }

.tn-band { padding-block: clamp(3rem, 7vw, 6rem); }
.tn-worlds { background: #eaf1db; }
.tn-section-head { display: grid; justify-items: start; gap: .8rem; }
.tn-section-head .tn-kicker { color: #55418e; }
.tn-section-head > p:not(.tn-kicker) { max-width: 65ch; color: var(--tn-muted); }
.tn-places, .tn-pair { display: grid; gap: clamp(1rem, 2.4vw, 1.7rem); margin-top: clamp(1.4rem, 3.5vw, 2.6rem); }
.tn-places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tn-place, .tn-pair article { overflow: hidden; border: 1px solid var(--tn-line); border-radius: 1.1rem; background: white; }
.tn-place img, .tn-pair img { aspect-ratio: 16/10; object-fit: cover; }
.tn-video { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: contain; background: #081224; }
.tn-module video { border-radius: 1rem; }
.tn-module figcaption { color: var(--tn-muted); }
.tn-module .tn-module-lead { color: var(--tn-ink); font-size: 1.22rem; font-weight: 700; }
.tn-paths { margin-top: clamp(2.2rem, 5vw, 4rem); }
.tn-paths h3 { font-size: clamp(1.25rem, 2.9vw, 2.1rem); }
.tn-place h4 { margin: 0; color: var(--tn-ink); font: 700 clamp(1.05rem, 1.5vw, 1.3rem)/1.3 var(--bv-display); letter-spacing: -.035em; }
.tn-card-copy { display: grid; justify-items: start; gap: .6rem; padding: clamp(1rem, 2.3vw, 1.6rem); }
.tn-card-copy p, .tn-note { color: var(--tn-muted); }
.tn-home .tn-note { margin-top: .9rem; font-size: .875rem; }
.tn-home :where(.tn-card-copy, .tn-resources) a { color: #413077; font-weight: 700; text-underline-offset: .2em; }
.tn-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.tn-offline { background: #eef4ff; }
.tn-offline figure img, .tn-feature figure img { border-radius: 1rem; }
.tn-offline figcaption, .tn-feature figcaption { color: var(--tn-muted); }
.tn-more { background: #fff; }
.tn-row { grid-template-columns: 1fr auto; align-items: end; }
.tn-row h2 { margin-top: .65rem; }
.tn-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tn-world-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tn-product { background: #e9e5fa; padding-block: clamp(2rem, 4.5vw, 4rem); }
.tn-product img { max-height: 410px; object-fit: contain; }
.tn-resources { background: var(--tn-paper); }
.tn-resources-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.8rem, 4vw, 3.5rem); }
.tn-resources h2 { font-size: clamp(1.1rem, 2.2vw, 1.6rem); }
.tn-resources p { margin-top: .7rem; color: var(--tn-muted); }
.tn-resources a { display: block; width: fit-content; margin-top: .65rem; }
.tn-demo { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem); color: #fff; text-align: center; background: #282247; }
.tn-demo p { margin-top: .85rem; color: #eee6fa; }
.tn-demo .tn-actions { justify-content: center; }
.tn-feature { padding-block: clamp(1.8rem, 5vw, 4rem); background: #eaf1db; }
.tn-feature #tn-odyssee + p { margin-top: .7rem; color: var(--tn-muted); }

.bv-head:has(.bv-nav a[href$="#jeux"]) .bv-head-in { --bv-shell: 1420px; gap: 16px; }
.bv-head:has(.bv-nav a[href$="#jeux"]) .bv-nav { gap: 13px; }
@media (max-width: 1370px) {
  .bv-head:has(.bv-nav a[href$="#jeux"]) .bv-nav { display: none; }
  .bv-head:has(.bv-nav a[href$="#jeux"]) .bv-menu { display: block; }
  .bv-head:has(.bv-nav a[href$="#jeux"]) .bv-btn { margin-left: auto; }
}
@media (max-width: 900px) {
  .tn-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; padding-top: 2.8rem; }
  .tn-hero h1 { font-size: clamp(2.4rem, 8.2vw, 4.7rem); }
  .tn-tablet-image { width: min(100%, 680px); }
  .tn-tablet-image figcaption { text-align: left; }
  .tn-resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .tn-places, .tn-pair, .tn-split, .tn-row { grid-template-columns: minmax(0, 1fr); }
  .tn-places, .tn-pair { gap: 1rem; }
  .tn-offline figure { order: 1; }
  .tn-product img { max-height: 320px; }
}
@media (max-width: 490px) {
  .tn-hero-grid { padding-block: 2.25rem 1.7rem; }
  .tn-resources-grid { grid-template-columns: minmax(0, 1fr); }
  .tn-promises { gap: .45rem 1rem; font-size: .8125rem; }
}
@media (max-width: 330px) {
  .tn-hero h1 { font-size: 2.15rem; }
}
