/* Moving Games — the cuts in the logo carry through the header, photography and controls. */
:root {
  --field: #0b2d42;
  --field-deep: var(--field);
  --chalk: #f9f9f4;
  --content: 1520px;
  --compact-bar: 68px;
  --orange-pale: #ffede3;
  scroll-padding-block-start: calc(var(--compact-bar) + 18px);
}
header {
  background: var(--field-deep);
  border: 0;
  color: var(--chalk);
  position: sticky;
  top: 0;
  z-index: 8;
}
.head { position: relative; height: 100px; min-height: 0; transition: height .2s ease; }
.head .brand-link { display: flex; align-items: center; }
.head .brand { width: 218px; height: 86px; transition: width .2s ease, height .2s ease; }
header.is-compact { box-shadow: 0 1px 0 #ffffff23, 0 3px 10px #04162322; }
header.is-compact .head { height: var(--compact-bar); }
header.is-compact .brand { width: 151px; height: 60px; }
.head nav { gap: clamp(20px,2.7vw,49px); align-self: stretch; }
.head nav > a:not(.navcta), .head .catalog-label > a {
  color: #f8f8f3; position: relative; font-size: 1rem;
}
.head nav > a:not(.navcta)::after,.head .catalog-label > a::after {
  content: ""; height: 3px; position: absolute; inset: auto 0 3px;
  background: var(--orange); transform: scaleX(0) skewX(-23deg); transform-origin: left; transition: transform .2s;
}
.head nav > a:is(:hover,:focus-visible,[aria-current=page])::after,
.head .catalog-label > a:is(:hover,:focus-visible,[aria-current=page])::after,
.head .catalog-nav:has(.catalog-trigger[aria-expanded=true]) .catalog-label > a::after { transform: scaleX(1) skewX(-23deg); }
.head nav a[aria-current=page]:not(.navcta) { text-decoration: none; }
.head nav .navcta {
  background: var(--orange); color: #151311; border: 0; border-radius: 0; padding: 13px 25px; min-height: 44px;
  transform: skewX(-11deg); box-shadow: 4px 0 var(--field-deep), 6px 0 var(--orange); transition: box-shadow .2s,background .2s;
}
.navcta span { display: block; transform: skewX(11deg); }
.head nav .navcta:hover,.head nav .navcta:focus-visible { background: #ff7743; box-shadow: 6px 0 var(--field-deep),9px 0 var(--orange); }
.catalog-nav,.catalog-label { display: flex; align-items: center; }
.catalog-nav { align-self: stretch; }
.catalog-trigger {
  width: 32px; height: 44px; border: 0; color: inherit; background: transparent; display: grid; place-items: center;
}
.catalog-trigger::before { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .18s; }
.catalog-trigger[aria-expanded=true]::before { transform: translateY(2px) rotate(225deg); }
.catalog-panel {
  position: absolute; inset: 100% 0 auto; background: #fafbf8; color: var(--field); padding: 19px 29px 26px;
  max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain;
  border-top: 3px solid var(--orange); box-shadow: 0 22px 40px #07162143; animation: menuIn .2s ease-out;
}
.catalog-panel[hidden] { display: none; }
@keyframes menuIn { from { opacity: .7; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.menu-lead { padding-bottom: 13px; border-bottom: 1px solid #d3d9d6; }
.head nav .all-games { padding: 5px 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.menu-families { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.menu-families h2 { display: flex; gap: 8px; align-items: center; font-size: 1.55rem; margin: 18px 0 8px; }
.menu-families .picto { color: var(--orange); }
@media (min-width: 1181px) {
  .catalog-panel { inset-inline: auto 0; width: min(100%,1080px); }
  .menu-families { gap: 0; }
  .menu-families section { padding-inline: 18px; border-inline-start: 1px solid #d9e0de; margin-block-start: 15px; }
  .menu-families section:first-child { padding-inline-start: 0; border: 0; }
  .menu-families h2 { min-height: 32px; margin: 0 0 8px; }
  .menu-families .game-shortcut { margin-inline-start: 32px; }
  .menu-families .picto { flex-shrink: 0; }
}
.head nav .menu-families .game-shortcut { display: block; font-weight: 400; padding: 4px 0; width: fit-content; }
.head nav .game-shortcut:is(:hover,:focus-visible) { text-decoration: underline; }
.picto { flex: none; width: 24px; height: 24px; }
.picto .icon-main { transform-box: fill-box; transform-origin: center; }
a:is(:hover,:focus-visible) .picto-compass .icon-main { animation: needle .62s ease-out; }
@keyframes needle { 35% { transform: rotate(-52deg); } 68% { transform: rotate(16deg); } }
@keyframes toss { 38% { transform: translateY(-3px) rotate(-15deg); } 70% { transform: translateY(0) rotate(8deg); } }
@keyframes spin { to { transform: rotate(72deg); } }
@keyframes jolt { 35% { transform: translate(2px,-3px) scale(1.13); } 68% {transform: translate(-1px,1px);} }
@keyframes twinkle { 45% { transform: rotate(20deg) scale(.78); } }
@keyframes slot { 38% { transform: translate(-2px,-2px) rotate(-13deg); } 75% { transform: translate(1px,1px); } }
:is(button,a,section):is(:hover,:focus-visible) > .picto-crew .icon-main,.menu-families section:hover h2 .picto-crew .icon-main { animation: toss .52s ease; }
:is(button,a):is(:hover,:focus-visible) > .picto-ball .icon-main,.menu-families section:hover h2 .picto-ball .icon-main { animation: spin .5s ease; }
:is(button,a):is(:hover,:focus-visible) > .picto-bolt .icon-main,.menu-families section:hover h2 .picto-bolt .icon-main { animation: jolt .42s ease; }
:is(button,a):is(:hover,:focus-visible) > .picto-puzzle .icon-main,.menu-families section:hover h2 .picto-puzzle .icon-main { animation: slot .52s ease; }
:is(button,a):is(:hover,:focus-visible) > .picto-spark .icon-main { animation: twinkle .5s ease; }

@keyframes fieldMove { from { transform: scale(1.025); } to { transform: scale(1); } }
.stage .frame { opacity: 0; transition: opacity .75s ease-in-out; }
.stage .frame.active { opacity: 1; animation: fieldMove 7s ease-out both; }
.motionhero.paused .frame { animation-play-state: paused; }
.hero-container { position: relative; pointer-events: none; }
.hero-message { width: 44%; max-width: 46%; padding: clamp(46px,4.6vw,78px) 0; pointer-events: auto; }
.hero-message .eyeline { color: #f2f4eb; }.hero-message .eyeline::before { background: var(--orange); }
.hero-message h1 {
  font-size: clamp(4rem,6.3vw,7.9rem); font-weight: 700; line-height: .86; letter-spacing: 0;
  margin: 27px 0 22px; color: #fffaf2; animation: titleIn .65s cubic-bezier(.16,.8,.22,1) both;
}
.hero-message h1 em { color: #fffaf2; display: inline-block; }
.hero-message h1 em span { color: var(--orange); }
@keyframes titleIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.hero-message p { color: #eff1ef; max-width: 35ch; margin: 0; font-size: clamp(1rem,1.14vw,1.22rem); }
.hero-message .buttons { gap: 22px; margin-top: 26px; }
.hero-primary,.pro-button {
  display: inline-flex; gap: 9px; background: var(--chalk); color: var(--field); border: 0; border-radius: 2px;
}
.hero-primary:hover,.hero-primary:focus-visible,.pro-button:hover,.pro-button:focus-visible { background: white; box-shadow: 4px 4px 0 var(--orange); }
.hero-secondary { background: transparent; color: #fff; font-weight: 700; font-size: .96rem; padding: 7px 0; text-underline-offset: 6px; text-decoration-color: #f6f8f2a0; }
.hero-secondary:hover,.hero-secondary:focus-visible { color: white; background: none; text-decoration-color: var(--orange); }
.film-controls { gap: 16px; right: max(4vw,calc((100% - 1520px)/2)); bottom: 25px; background: #081725ec; border: 1px solid #ffffff64; border-radius: 3px; padding: 4px 8px 4px 17px; }
#scene-link { color: white; text-decoration: none; font-size: 1.38rem; font-weight: 700; font-family: var(--display); }
#scene-link:is(:hover,:focus-visible) { text-decoration: underline; }
.film-switch [data-scene] span { height: 3px; width: 15px; transform: skewX(-22deg); }
.film-switch .play-toggle { border: 0; border-left: 1px solid #ffffff49; border-radius: 0; width: 36px; height: 27px; }
.page { max-width: 1300px; }
.page .title,.guide h1 { text-wrap: balance; }
.card,.pro-format { transition: box-shadow .2s,border-color .2s; }
.card:focus-within,.card:hover,.pro-format:hover { border-color: #8da0a6; box-shadow: 0 5px 17px #122f3d12; }
.swatches span { background: #f1f2ee; color: #182c36; border-left: 10px solid var(--orange); }
.swatches span+span { border-color: var(--navy); background: #eef3f4; color: var(--navy); }
:where(header,.motionhero,.pro-scene,footer) :is(a,button):focus-visible { outline: 3px solid #ffe0a5; outline-offset: 3px; }

@media (min-width: 1700px) {
  :root { --content: min(84vw,1850px); }
}
@media (min-width: 941px) and (max-width: 1120px) {
  .head nav { gap: 20px; }
  .hero-message { width: 43%; max-width: none; }
  .hero-message h1 { font-size: clamp(3.75rem,6.5vw,4.6rem); }
  .hero-message .buttons { gap: 12px; }
}
@media (max-width: 1180px) {
  :root { --compact-bar: 58px; }
  .head { min-height: 0; height: 76px; }
  .head .brand { width: 155px; height: 61px; }
  header.is-compact .brand { width: 122px; height: 48px; }
  .head .menub { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 0 8px 12px; background: none; color: white; border: 0; }
  .menub::before { content: ""; width: 16px; height: 7px; border-block: 2px solid var(--orange); transform: skewX(-17deg); }
  .head nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--field-deep); padding: 12px 18px 18px; border: 1px solid #35464e; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overscroll-behavior: contain; overflow-y: auto; }
  .head nav.open { display: flex; align-items: stretch; gap: 0; flex-direction: column; }
  .head nav > a:not(.navcta),.head .catalog-label > a { padding: 11px 0; align-self: flex-start; font-size: 1rem; }
  .catalog-nav { display: block; }
  .catalog-label { justify-content: space-between; }
  .catalog-trigger { width: 48px; }
  .catalog-panel { max-height: none; overflow: visible; position: static; padding: 12px 13px; border-top-width: 2px; box-shadow: none; margin-bottom: 4px; }
  .menu-lead { padding-bottom: 8px; }
  .menu-families { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 13px; }
  .menu-families h2 { font-size: 1.15rem; gap: 4px; margin-block: 11px 5px; }
  .menu-families .picto { width: 19px; height: 19px; }
  .head nav .menu-families .game-shortcut { width: 100%; padding: 7px 0; font-size: .89rem; }
  .head nav .navcta { align-self: flex-start; margin: 8px 4px 1px; }
}
@media (max-width: 940px) {
  .hero-message .buttons { gap: 12px; }
}
@media (min-width: 701px) and (max-width: 940px) {
  .motionhero { min-height: 430px; }
  .hero-message { max-width: 44%; width: 44%; }
  .hero-message h1 { font-size: 3.55rem; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
}
@media(max-width:360px) { .hero-message h1 {font-size: 3.3rem;} .hero-message .buttons { gap: 10px; } .hero-secondary { font-size: .9rem; } }
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .head,.catalog-panel { display:none; } }

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --home-type: Manrope, "DM Sans", Arial, sans-serif;
  --field: #0b2d42;
  --bar-inset: clamp(32px,2.3vw,44px);
  --paper-nav: #fff;
}

/* The white bar is its own surface, with the photograph visible on all four sides. */
header, header.is-compact {
  position: sticky;
  top: 0;
  height: 0;
  color: var(--field);
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
.head {
  top: var(--bar-inset); height: 86px;
  width: min(var(--content), calc(100% - clamp(40px,9vw,152px)));
  border-radius: 12px; padding: 0 12px 0 0;
  background: var(--paper-nav); color: var(--navy);
  box-shadow: 0 3px 6px rgb(0 12 22 / 22%), 0 13px 28px -4px rgb(0 12 22 / 43%);
  pointer-events: auto; transition: height .22s ease, top .22s ease;
}
.head .brand-link {
  position: relative; isolation: isolate; height: 100%; flex: none; gap: clamp(12px,1.35vw,25px);
  padding: 0 clamp(31px,3.2vw,55px) 0 clamp(15px,1.5vw,28px);
  text-decoration: none; border: 0; color: white;
}
.head .brand-link::before, .head .brand-link::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: 12px 0 0 12px; clip-path: polygon(0 0,100% 0,calc(100% - 22px) 100%,0 100%);
}
.head .brand-link::before { background: var(--orange); }
.head .brand-link::after { right: 5px; background: var(--navy); }
.head .brand { width: 177px; height: 72px; object-fit: contain; }
.head .brand-line {
  font: italic 800 clamp(1.3rem,1.45vw,1.65rem)/1.08 var(--display); letter-spacing: 0; white-space: nowrap;
}
header.is-compact .head { top: 8px; height: 64px; box-shadow: 0 2px 5px rgb(0 12 22 / 20%), 0 8px 20px -3px rgb(0 12 22 / 36%); }
header.is-compact .brand { width: 143px; height: 55px; }
.head nav { gap: clamp(14px,2vw,36px); }
.header-socials { display: flex; gap: 3px; align-items: center; }
.head .header-socials a {
  position: relative; display: grid; place-items: center; width: 36px; height: 40px; border-radius: 50%;
  padding: 0; color: var(--navy);
}
.header-socials a::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--network-icon) center / contain no-repeat;
  mask: var(--network-icon) center / contain no-repeat;
  transition: transform .18s ease;
}
.head .header-socials a::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 30px; height: 30px;
  border: 1.5px solid currentColor; border-radius: 50%; transition: border-color .18s ease;
}
.head .header-socials a:is(:hover,:focus-visible) { color: var(--orange); }
.header-socials a:is(:hover,:focus-visible)::before { transform: scale(1.08); }
@media(min-width:1181px) {
  .head nav { flex: 0 0 auto; }
}
@media(min-width:601px) {
  .header-socials { margin-inline: clamp(10px,1vw,20px) auto; padding-inline-end: 8px; }
}
@media(min-width:1181px) and (max-width:1300px) {
  .head { width: calc(100% - 54px); }
  .head nav { gap: 14px; }
  .head .brand-link { padding-inline: 16px 31px; gap: 12px; }
  .head .brand { width: 154px; }
}
@media(max-width:600px) {
  .header-socials { border-bottom: 1px solid rgb(1 54 87 / 14%); padding-bottom: 6px; margin-bottom: 4px; }
  .head .header-socials a { height: 44px; width: 44px; }
}
.head nav > a, .head .catalog-label > a, .head .menub {
  font-family: var(--display); font-weight: 700; letter-spacing: 0;
}
.head nav > a:not(.navcta), .head nav .catalog-label > a, .head nav .navcta {
  font: 700 clamp(1.23rem,1.48vw,1.52rem)/1.15 var(--display); color: var(--navy); white-space: nowrap;
}
.head nav .navcta, .head nav .navcta:is(:hover,:focus-visible) {
  min-height: 47px; padding: 10px 19px; border-radius: 8px; border: 0;
  background: var(--navy); color: white; transform: none; box-shadow: none;
}
.head nav .navcta span { display: block; transform: none; }
.head nav .navcta:is(:hover,:focus-visible) { box-shadow: inset 0 -3px var(--orange); }
.catalog-trigger { color: var(--navy); }
.catalog-panel {
  border-radius: 10px; background: white; color: var(--navy); border: 1px solid rgb(1 54 87 / 20%);
  box-shadow: 0 14px 27px rgb(1 54 87 / 18%);
}
.menu-families h2, .menu-families .game-shortcut { letter-spacing: 0; }
.head nav .game-shortcut:is(:hover,:focus-visible) { text-decoration-color: var(--orange); }
header :is(a,button):focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.head nav .navcta:focus-visible, .head .brand-link:focus-visible { outline-color: var(--orange); }
main:not([data-page="accueil"]) { padding-top: calc(var(--bar-inset) + 83px); }

.motionhero {
  min-height: clamp(595px,47.5vw,790px);
  display: grid; align-items: stretch;
}
.motionhero::before { content: none; }
.motionhero::after {
  content: ""; position: absolute; pointer-events: none; inset: auto 0 -1px; width: 100%; height: clamp(14px,2.6vw,44px);
  background: white; transform: none; clip-path: polygon(0 100%,100% 6%,100% 100%);
}
.stage { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: none; }
.stage::after {
  background:
    linear-gradient(0deg,#071c2e92 0%,transparent 30%),
    linear-gradient(90deg,#041928f0 0%,#071d2fcd 23%,#091e2cac 39%,#091c2d60 54%,#081b2810 76%);
}
.stage .frame { object-position: 50% 46%; }
.stage .frame-kart { object-position: 50% 53%; }
.stage .frame-quiz { object-position: 50% 43%; }
.hero-container { min-height: inherit; display: flex; align-items: center; }
.hero-message {
  padding: clamp(150px,10.5vw,185px) 0 clamp(75px,5vw,105px);
  width: 62%; max-width: 830px;
}
.hero-message .eyeline { font-family: var(--home-type); font-size: .8rem; letter-spacing: 0; }
.hero-message .eyeline::before { width: 31px; height: 4px; }
.hero-message h1 {
  font: 700 clamp(4.65rem,6.95vw,8.5rem)/.98 var(--display);
  text-transform: none; letter-spacing: 0; color: #fffdf7;
  margin: 17px 0 25px;
}
.hero-message h1 strong { font-weight: 800; font-style: italic; white-space: nowrap; }
.marked { position: relative; display: inline-block; isolation: isolate; }
.marked::after {
  content: ""; position: absolute; inset: auto 2% -.035em 2%; height: .105em; background: var(--orange);
  transform: rotate(-2deg); z-index: -1;
  clip-path: polygon(0 67%,7% 33%,23% 21%,54% 14%,91% 0,100% 14%,95% 30%,99% 35%,86% 56%,98% 52%,90% 70%,46% 89%,13% 92%,2% 100%,7% 79%);
}
.end-dot { color: var(--orange); }
.hero-message p { max-width: 43ch; font-size: clamp(1.03rem,1.3vw,1.24rem); line-height: 1.53; color: #fffdf9; }
.hero-message .buttons { margin-top: 26px; gap: 23px; }
.hero-primary, .pro-button { font-family: var(--home-type); font-weight: 800; border-radius: 11px; }
.hero-primary { background: var(--orange); color: #fff; padding: 15px 21px; }
.motionhero .hero-primary:is(:hover,:focus-visible) {
  background: white; color: var(--navy); box-shadow: inset 0 -4px var(--orange);
}
.motionhero .hero-primary:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.hero-primary .picto { color: inherit; }
.hero-secondary { color: white; text-decoration-color: #ffffff8c; }
.film-controls {
  inset: auto max(4.5vw,calc((100% - var(--content))/2)) clamp(45px,4vw,76px) auto;
  border-radius: 30px; padding: 1px 7px 1px 15px; gap: 9px; background: rgb(1 54 87 / 94%); border-color: #ffffff6b;
}
#scene-link { font: 700 .84rem/1.3 var(--home-type); }
.film-switch [data-scene] { width: 25px; }
.film-switch [data-scene] span { height: 4px; width: 13px; border-radius: 4px; transform: none; }
.film-switch [data-scene][aria-pressed=true] span { background: var(--orange); }
/* The bar, the picture and the copy retain independent room on narrow screens. */
@media(max-width:1180px) {
  :root { --bar-inset: 23px; }
  .head { height: 66px; padding: 0 16px 0 0; }
  .head .brand-link { padding-inline: 15px 31px; }
  .head .brand { width: 141px; height: 56px; }
  header.is-compact .head { height: 54px; }
  header.is-compact .brand { width: 118px; height: 47px; }
  .head .menub { color: var(--navy); font-size: 1.25rem; }
  .head nav { background: white; color: var(--navy); border: 1px solid rgb(1 54 87 / 20%); border-radius: 10px; }
  .catalog-panel { background: white; box-shadow: none; }
  main:not([data-page="accueil"]) { padding-top: calc(var(--bar-inset) + 67px); }
}
@media(max-width:940px) {
  .hero-message { width: 72%; }
  .hero-message h1 { font-size: clamp(4rem,8.25vw,5.8rem); }
  .motionhero { min-height: 565px; }
}
@media(max-width:700px) {
  :root { --bar-inset: 16px; }
  .head { width: calc(100% - 22px); height: 60px; padding: 0 13px 0 0; }
  .head .brand { width: 121px; height: 49px; }
  .head .brand-link { height: 100%; gap: 9px; padding-inline: 8px 25px; }
  .head .brand-line { font-size: 1rem; }
  .head .menub { padding-inline: 2px 0; gap: 5px; }
  .head .brand-link::before, .head .brand-link::after { clip-path: polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%); }
  header.is-compact .head { height: 51px; top: 5px; }
  header.is-compact .brand { width: 108px; height: 44px; }
  main:not([data-page="accueil"]) { padding-top: 78px; }
  .motionhero { display: grid; min-height: clamp(575px,138vw,665px); }
  .stage { background: #0a2638; }
  .stage .frame {
    height: 78%;
    mask-image: linear-gradient(180deg,#000 66%,transparent 100%);
  }
  .stage::after { background: linear-gradient(0deg,#061b2ac9 0%,#061b2a93 29%,#081c2f6b 55%,transparent 78%); }
  .stage .frame { object-position: 61% 50%; }
  .stage .frame-kart { object-position: 60% 49%; }
  .stage .frame-quiz { object-position: 63% 43%; }
  .hero-container { align-items: flex-end; }
  .hero-message { max-width: none; width: 100%; padding: 155px 0 83px; }
  .hero-message .eyeline { font-size: .75rem; letter-spacing: 0; }
  .hero-message h1 br { display: inline; }
  .hero-message h1 { font-size: clamp(3rem,14.2vw,5.25rem); line-height: .98; margin: 13px 0 17px; }
  .hero-message p { max-width: 38ch; font-size: 1rem; margin: 0; }
  .hero-message .buttons { gap: 9px 12px; margin-top: 17px; }
  .hero-message .btn { padding: 11px 13px; min-height: 45px; width: auto; font-size: .9rem; gap: 6px; }
  .hero-primary .picto { width: 19px; height: 19px; }
  .hero-secondary { font-size: .89rem; }
  .film-controls { inset: auto 15px 25px auto; gap: 5px; padding-left: 11px; }
  .film-switch [data-scene] { width: 24px; height: 34px; }
  .film-switch .play-toggle { width: 31px; margin-left: 2px; }
  #scene-link { font-size: .75rem; }
}
@media(max-width:389px) {
  .head { width: calc(100% - 16px); padding-right: 9px; }
  .head .menub { font-size: 1.075rem; }
  .head .brand { width: clamp(86px,calc(52vw - 80px),118px); }
  .head .brand-line { font-size: .94rem; }
  .head .brand-link { gap: 4px; padding-inline: 6px 16px; }
  header.is-compact .brand { width: 84px; }
}
@media print {
  main:not([data-page="accueil"]) { padding-top: 0; }
}

/* The homepage uses the same upright/italic type pairing as the opening scene. */
.home-picks {
  padding-block: clamp(38px,3.9vw,72px) clamp(44px,4.5vw,80px);
}
.home-picks .rail-heading {
  align-items: flex-end; gap: 16px 24px; margin-bottom: clamp(19px,1.8vw,30px);
}
.home-picks .rail-heading h2 {
  font: 700 clamp(3.5rem,5.25vw,6.5rem)/.96 var(--display);
  letter-spacing: 0; margin: .13em 0 0;
}
.home-picks .rail-heading h2 em {
  font-weight: 800; font-style: italic;
}
.home-picks .rail-heading h2 em { white-space: nowrap; }
.home-picks .rail-heading .underlink {
  flex: none; margin: 0; padding: 9px 15px; border: 1px solid var(--navy);
  border-radius: 7px; color: var(--navy); text-decoration: none; white-space: nowrap;
  font: 700 1.18rem/1.2 var(--display); letter-spacing: 0;
  transition: background .2s,color .2s;
}
.home-picks .underlink:is(:hover,:focus-visible) { background: var(--navy); color: white; }
.universe-bar {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 4px 8px;
  padding: 0; margin: 0 0 18px;
}
.universe-bar button {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  font: 700 clamp(1.12rem,1.32vw,1.35rem)/1.05 var(--display); letter-spacing: 0;
  color: var(--navy); background: white; border: 1px solid transparent; border-radius: 7px;
  min-height: 44px; padding: 8px 13px; transition: border-color .18s;
}
.universe-bar .picto { width: 20px; height: 20px; }
.universe-bar button[aria-pressed=true] { color: white; border-color: var(--navy); background: var(--navy); }
.universe-bar button[aria-pressed=true] .picto { color: var(--orange); }
.universe-bar button:is(:hover,:focus-visible) { border-color: var(--orange); }
.home-picks :is(a,button,.showcase):focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.home-picks .showcase {
  --card-gap: clamp(12px,1.15vw,21px);
  gap: var(--card-gap); padding: 2px 0 3px; align-items: stretch;
}
.showcase .show-card {
  flex: 0 0 calc((100% - 3 * var(--card-gap)) / 3.14);
  position: relative; display: flex; align-items: flex-end; isolation: isolate;
  aspect-ratio: 1.32; min-width: 0; color: white; background: var(--navy);
  border-radius: 12px; overflow: hidden; text-decoration: none;
}
.show-card::after { display: none; }
.show-card .pick-photo, .show-card .pick-photo::after { position: absolute; inset: 0; }
.show-card .pick-photo { z-index: -1; }
.show-card .pick-photo::after {
  content: ""; background: linear-gradient(0deg, rgb(2 24 40 / 98%) 0%,rgb(2 24 40 / 90%) 10%,rgb(2 24 40 / 62%) 28%,rgb(2 24 40 / 15%) 50%,transparent 74%);
}
.show-card .pick-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: auto;
  object-fit: cover; object-position: 50% 47%; transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.show-card:is(:hover,:focus-visible) .pick-photo img { transform: scale(1.045); }
.show-card .show-copy {
  position: static; padding: 16px clamp(16px,1.5vw,28px) clamp(17px,1.6vw,30px);
  width: 100%; text-align: left;
}
.show-copy h3 {
  font: italic 800 clamp(2rem,2.65vw,3.6rem)/1.02 var(--display);
  letter-spacing: 0; color: white; margin: 0 0 7px; text-wrap: balance;
}
.show-copy span {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 clamp(.79rem,.9vw,.95rem)/1.35 var(--body); letter-spacing: 0; color: white; text-transform: none;
}
.show-copy span::before {
  content: ""; flex: none; width: 18px; height: 3px; background: var(--orange); transform: skewX(-20deg);
  transition: width .2s ease;
}
.show-card:is(:hover,:focus-visible) .show-copy span::before { width: 26px; }
.home-picks .show-card:focus-visible { outline: 3px solid white; outline-offset: -6px; }
.rail-tools { margin-top: 12px; gap: 7px; justify-content: flex-end; }
.rail-tools button {
  height: 42px; width: 42px; background: var(--navy); color: white; border: 1px solid var(--navy);
}
.rail-tools button:disabled { color: var(--muted); border-color: #c5d0d5; background: white; opacity: .65; }
.rail-tools button:enabled:is(:hover,:focus-visible) { box-shadow: inset 0 -3px var(--orange); }

/* The company feature gets half the space. Rental and the park each have a distinct next step. */
.activity-intro {
  max-width: 76ch; color: var(--ink); font-size: clamp(1rem,1.12vw,1.15rem); line-height: 1.55;
  margin: -4px 0 21px;
}
.home-paths {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(14px,1.4vw,25px); padding-bottom: clamp(48px,4.6vw,84px);
}
.home-paths[hidden] { display: none; }
.team-feature {
  grid-row: span 2; display: grid; grid-template-rows: minmax(185px,1fr) auto;
  background: var(--navy); color: white; border-radius: 15px; overflow: hidden;
}
.team-image { position: relative; min-height: 185px; overflow: hidden; background: var(--orange); }
.team-image img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 59%;
  clip-path: polygon(0 0,100% 0,100% calc(100% - 22px),0 calc(100% - 4px));
}
.team-image::after {
  content: ""; position: absolute; inset: 0; background: var(--navy);
  clip-path: polygon(0 100%,100% calc(100% - 18px),100% 100%);
}
.team-story, .service-story { padding: clamp(22px,2.3vw,42px); }
.team-story { padding-top: clamp(17px,1.6vw,28px); }
.home-paths h2 {
  font: 700 clamp(2.35rem,3vw,3.75rem)/.99 var(--display); letter-spacing: 0;
  color: inherit; margin: .22em 0 .3em; text-wrap: balance;
}
.home-paths h2 em { font-style: italic; font-weight: 800; color: inherit; }
.home-paths p { max-width: 58ch; margin: 0 0 1em; font: 400 1rem/1.55 var(--body); color: inherit; }
.home-paths .btn { border-radius: 8px; width: fit-content; min-height: 44px; padding: 10px 15px; font-weight: 700; }
.home-paths .team-link { color: var(--navy); background: white; }
.home-paths .team-link:is(:hover,:focus-visible) { box-shadow: inset 0 -3px var(--orange); }
.service-story {
  display: grid; grid-template-columns: minmax(0,1fr) clamp(108px,9.7vw,160px);
  align-content: center; align-items: center; column-gap: clamp(12px,1.55vw,24px);
  color: var(--navy); border: 1px solid #cbd9df; border-radius: 14px;
}
.service-heading { grid-column: 1; }
.service-story .service-art {
  grid-column: 2; grid-row: 1 / 3; justify-self: center;
  display: block; width: 100%; height: auto; object-fit: contain;
}
.service-story > p { grid-column: 1; }
.service-story > .service-links, .service-story > .service-text { grid-column: 1 / -1; justify-self: start; }
.rental-story { background: #eff5f8; border-color: #dce7ed; }
.service-story h2 { font-size: clamp(2rem,2.4vw,3.1rem); }
.service-story p { color: var(--ink); }
.service-links { display: flex; flex-wrap: wrap; gap: 9px 20px; align-items: center; }
.home-paths .rental-link { color: white; background: var(--navy); border-color: var(--navy); }
.home-paths .rental-link:is(:hover,:focus-visible) { box-shadow: inset 0 -3px var(--orange); }
.home-paths .service-text {
  width: fit-content; color: var(--navy); font-size: 1rem; font-weight: 700; text-underline-offset: 4px;
  text-decoration-thickness: 2px; text-decoration-color: var(--orange);
}
.home-paths .service-text:is(:hover,:focus-visible) { text-decoration-color: var(--navy); }
.home-paths a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.team-feature a:focus-visible { outline-color: white; }

/* Footer on the same grid as the activities and team section. */
footer { background: var(--navy); color: white; padding: 0 0 19px; }
footer .foot {
  display: grid; align-items: start; gap: 24px clamp(20px,3vw,58px);
  grid-template-columns: 1.48fr 1fr 1fr auto; padding-block: clamp(32px,3vw,52px) 28px;
}
.foot .footbrand a { display: inline-block; margin: 0; }
.footbrand img { width: 142px; height: 56px; object-fit: contain; }
.footbrand p { max-width: 26ch; font-size: .93rem; line-height: 1.5; margin-block: 8px 0; color: white; }
.foot strong { font: 700 clamp(1.35rem,1.7vw,1.75rem)/1.1 var(--display); letter-spacing: 0; margin: 4px 0 14px; }
.foot a { width: fit-content; color: #f4f7f9; }
.foot a:is(:hover,:focus-visible) { text-decoration-color: var(--orange); text-underline-offset: 4px; }
.socials { gap: 7px; }
.foot .socials a {
  display: grid; place-items: center; width: 38px; height: 38px; margin: 0;
  border: 1.5px solid #c5d7e1; border-radius: 50%; transition: border-color .18s ease;
}
.foot .socials a:is(:hover,:focus-visible) { border-color: var(--orange); }
.socials img { width: 16px; height: 16px; }
.footnote {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 30px;
  margin-top: 0; border-top: 1px solid rgb(255 255 255 / 28%); color: #d3e1e8;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footnote a { color: inherit; text-decoration: underline; text-decoration-color: #7495a5; text-underline-offset: 4px; }
.footnote a:is(:hover,:focus-visible) { color: white; text-decoration-color: var(--orange); }
.footnote a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.site-credit { margin-inline-start: auto; }
@media(max-width:1150px) {
  .service-story { grid-template-columns: minmax(0,1fr) clamp(84px,10vw,114px); }
  .service-story .service-art { grid-row: 1; }
  .service-story > p { grid-column: 1 / -1; margin-top: 5px; }
}
@media(max-width:940px) {
  .universe-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding: 4px 3px 8px; margin-inline: -3px; }
  .universe-bar button { white-space: nowrap; }
  .showcase .show-card { flex-basis: calc((100% - 2 * var(--card-gap)) / 2.15); }
  footer .foot { grid-template-columns: 1.25fr 1fr 1fr; }
  .foot > div:last-child { grid-column: 1; grid-row: 2; }
}
@media(max-width:700px) {
  .home-picks { padding-block: 33px 38px; }
  .home-picks .rail-heading { flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 13px; }
  .home-picks .rail-heading h2 { font-size: clamp(2.9rem,10vw,4.15rem); }
  .home-picks .rail-heading .underlink { padding: 8px 10px; font-size: 1rem; }
  .universe-bar { gap: 5px; margin-bottom: 12px; }
  .universe-bar button { padding-inline: 10px; font-size: 1.06rem; }
  .showcase .show-card { flex-basis: min(82%,355px); aspect-ratio: 1.16; }
  .show-copy h3 { font-size: 2.35rem; }
  .rail-tools { margin-top: 8px; }
  .rail-tools button { height: 44px; width: 44px; }
  .activity-intro { margin: 1px 0 16px; }
  .home-paths { grid-template-columns: minmax(0,1fr); padding-bottom: 36px; }
  .team-feature { grid-row: auto; grid-template-rows: auto auto; }
  .team-image { min-height: 0; aspect-ratio: 2.25; }
  .team-story, .service-story { padding: 21px; }
  .team-story { padding-top: 13px; }
  .service-story { grid-template-columns: minmax(0,1fr) clamp(75px,21vw,128px); }
  .footnote { align-items: start; gap: 10px 20px; }
  .footnote .site-credit { margin-inline-start: 0; }
  .footnote a { display: inline-block; padding-block: 5px; }
  .footnote .legal-links { order: -1; flex-basis: 100%; }

  footer .foot { grid-template-columns: 1fr 1fr; gap: 20px 14px; padding-block: 24px 19px; }
  .foot .footbrand { grid-column: 1; grid-row: 1; }
  .foot > div:last-child { grid-column: 2; grid-row: 1; justify-self: end; }
  .foot strong { font-size: 1.25rem; margin-bottom: 9px; }
  .foot a, .footbrand p { font-size: .87rem; }
  .footbrand img { width: 116px; height: 47px; }
}
@media(prefers-reduced-motion:reduce) {
  .show-card:is(:hover,:focus-visible) .pick-photo img, .header-socials a:is(:hover,:focus-visible)::before { transform: none; }
}
