/* Présentation générale */
:root { --header-height: 82px; background: #070809; }
body { background: #070809; }
.skip-link { z-index: 110; }
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(20px, 3vw, 48px); background: none; border: 0; pointer-events: none; }
.site-header a, .anchor-nav { pointer-events: auto; }
.site-header.is-scrolled { background: none; border: 0; }
.anchor-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); min-width: 0; }
.anchor-nav { gap: clamp(16px, 2vw, 28px); padding: 8px 16px; border-radius: 8px; transition: background .25s; }
.is-scrolled .anchor-nav { background: #16121bea; box-shadow: 0 5px 16px #0004; }
.anchor-nav a { padding-block: 10px; text-decoration: none; white-space: nowrap; color: #fff5e3; font-family: 'BDCRAFT Goblins', system-ui, sans-serif; font-weight: 400; font-synthesis: none; font-size: 19px; position: relative; text-shadow: 0 2px 2px #080812, 0 0 10px #080812; }
.anchor-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: linear-gradient(90deg, #ff812e, #53dfff); transform: scaleX(0); transition: transform .2s; }
.anchor-nav a:hover, .anchor-nav a[aria-current] { color: #fff; }
.anchor-nav a[aria-current]::after { transform: scaleX(1); }
.header-logo { position: relative; width: 94px; height: 59px; flex: 0 0 auto; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
.header-logo img { position: absolute; top: -34.5%; width: 100%; height: auto; }
.is-scrolled .header-logo { opacity: 1; visibility: visible; transform: none; }
.game-logo { top: 16px; width: min(20vw, 30svh, 300px); transition: opacity .25s; }
body.has-scrolled .game-logo { opacity: 0; }
.section, #studio { scroll-margin-top: var(--header-height); }
.video-section { min-height: calc(100svh - var(--header-height)); padding: clamp(44px, 5vw, 78px) 24px; color: #fff; background: radial-gradient(ellipse at 15% 50%, #ff7b2409, transparent 42%), radial-gradient(ellipse at 85% 50%, #22d8ff09, transparent 42%), #070809; }
.video-section > .section-inner { display: block; min-height: 0; width: min(100%, 1000px, max(280px, calc((100svh - 350px) * 16 / 9))); }
.video-section .section-heading { padding: 0; margin-bottom: 28px; }
.video-section .eyebrow { color: #b0b1b7; font-size: 10px; margin-bottom: 16px; }
.video-section h2 { font-size: clamp(28px, 3.2vw, 46px); }
.video-section .video-frame { border: 1px solid transparent; border-radius: 8px; background: linear-gradient(#050607, #050607) padding-box, linear-gradient(110deg, #ff8b39, #35363c 40%, #35363c 60%, #50dcff) border-box; box-shadow: -12px 0 38px #ff7b2410, 12px 0 38px #22d8ff10; }
.video-frame iframe { border-radius: 7px; }
.video-frame::before, .video-frame::after, .video-frame .frame-corner { display: none; }
.video-description { text-align: center; max-width: 720px; margin: 28px auto 0; }
.video-description p { margin: 0 0 14px; color: #b7b8bf; line-height: 1.75; font-size: 14px; }
.video-description a { display: inline-block; padding: 7px; font-size: 12px; text-underline-offset: 5px; }
.video-description a span { color: #6ee5ff; margin-left: 8px; }
.intro-parchment { position: relative; isolation: isolate; padding: 32px clamp(24px, 5vw, 52px) 30px; margin: 0 0 14px; filter: drop-shadow(0 7px 10px #0006); }
.intro-parchment::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 10% 20%, #a65d2e40, transparent 35%), radial-gradient(ellipse at 95% 85%, #92542b40, transparent 40%), linear-gradient(100deg, #c19a60, #efdab0 10%, #e7c891 48%, #efd9ad 85%, #b58950); clip-path: polygon(1% 5%, 8% 2%, 22% 4%, 37% 1%, 55% 3%, 72% 1%, 91% 4%, 98% 2%, 99% 15%, 98% 35%, 100% 56%, 98% 73%, 99% 95%, 87% 98%, 68% 96%, 51% 100%, 34% 97%, 17% 99%, 2% 96%, 0% 79%, 2% 59%, 0% 35%); box-shadow: inset 0 0 0 5px #68453050, inset 0 0 30px #79502b45; }
.intro-parchment::after { content: ''; position: absolute; inset: 12px 16px; border-block: 1px solid #80552e55; border-radius: 45% / 8px; pointer-events: none; }
.intro-parchment h3 { color: #402b24; font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 12px; }
.intro-parchment p { color: #49372d; font-size: 14px; line-height: 1.75; margin: 0; }
.parchment-seal { position: absolute; top: -12px; right: 26px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #9e422d; border: 3px double #e7a15a; color: #ffd795; box-shadow: 0 3px 0 #532722; font-size: 15px; transform: rotate(12deg); }
.features-section { background: #0a0b0d; border-top: 1px solid #ffffff0c; }
.features-section .eyebrow { color: #b5b6bc; }
.features-section .section-intro { font-size: 12px; color: #9b9ca5; }
.dungeon-map { background: none; border: 0; border-radius: 0; box-shadow: none; }
.dungeon-walls, .map-caption { display: none; }
.dungeon-map .feature-art { background: none; }
.dungeon-map .feature-art img { width: clamp(100px, 10vw, 150px); filter: drop-shadow(0 8px 12px #0006); }
.dungeon-map .route-marker { border-width: 1px; border-radius: 50%; background: #111316; box-shadow: 0 0 0 8px #0a0b0d; }
.dungeon-map .feature-copy h3 { text-shadow: none; }
.route-line { stroke-width: 3px; }
.route-glow { stroke-width: 12px; opacity: .13; }
.site-footer { display: block; background: #070809; padding: 56px clamp(24px, 4vw, 72px) 24px; font-size: 12px; letter-spacing: normal; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.studio-logo { display: block; width: 160px; max-width: 100%; height: auto; object-fit: contain; }
.studio-identity p { color: #9597a1; font-size: 11px; margin-top: 15px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.footer-heading { color: #fff; font-weight: 600; margin: 0 0 6px; }
.pending-link { color: #9597a1; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid #ffffff12; font-size: 10px; letter-spacing: .08em; }
@media (max-width: 760px) {
  :root { --header-height: 66px; }
  .site-header { padding-inline: 14px; gap: 10px; }
  .anchor-nav { gap: clamp(9px, 2.5vw, 18px); padding: 6px 8px; }
  .anchor-nav a { font-size: clamp(12px, 3.4vw, 16px); }
  .game-logo { top: 76px; width: min(48vw, 24svh, 220px); }
  .header-logo { width: 60px; height: 38px; }
  .video-section { padding: 42px 20px; }
  .video-section > .section-inner { width: 100%; }
  .video-description { text-align: center; }
  .intro-parchment { padding: 28px 22px; }
  .intro-parchment p { font-size: 13px; }
  .dungeon-map .feature-art { height: 190px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .footer-column { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .header-logo, .game-logo, .anchor-nav a::after { transition: none; }
}

/* Images et textes */
.features-section > .section-inner { max-width: 1160px; }
.feature-stories { display: grid; gap: clamp(32px, 5vw, 72px); }
.feature-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 90px); }
.story-art { display: grid; place-items: center; min-height: 250px; border-radius: 12px; background: radial-gradient(ellipse at center, #ff8b2912, transparent 65%); }
.story-ice { background: radial-gradient(ellipse at center, #24caff12, transparent 65%); }
.story-neutral { background: radial-gradient(ellipse at center, #aeadd00d, transparent 65%); }
.story-art img { width: clamp(140px, 18vw, 225px); height: auto; max-width: 80%; filter: drop-shadow(0 14px 18px #0008); }
.story-copy { min-width: 0; max-width: 490px; }
.story-copy .eyebrow { font-size: 10px; color: #aaaab2; margin-bottom: 16px; }
.story-copy h3 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 38px); color: #fff; }
.story-copy > p:last-child { margin: 0; font-size: 15px; line-height: 1.85; color: #b6b6bd; }
.feature-story:nth-child(even) .story-art { grid-column: 2; grid-row: 1; }
.feature-story:nth-child(even) .story-copy { grid-column: 1; grid-row: 1; }
.availability-band { position: relative; isolation: isolate; padding: 42px clamp(24px, 6vw, 100px) 24px; background: #030405; border-block: 1px solid #ffffff12; scroll-margin-top: var(--header-height); }
.availability-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('assets/3d_background.png') center 65% / cover no-repeat; opacity: .12; pointer-events: none; }
.band-content { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 2fr 1fr; align-items: center; gap: 36px; }
.availability-band h2 { font-size: 24px; color: #fff; margin: 0 0 22px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; color: #fff; font-size: 22px; font-weight: 600; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.engine-group { border-left: 1px solid #ffffff1c; padding-left: 48px; }
.band-note { text-align: center; margin: 30px 0 0; font-size: 10px; line-height: 1.6; color: #aaaab3; }
@media (max-width: 650px) {
  .feature-story { grid-template-columns: minmax(0, 1fr); gap: 8px; text-align: center; }
  .feature-story:nth-child(even) .story-art, .feature-story:nth-child(even) .story-copy { grid-column: auto; grid-row: auto; }
  .story-art { min-height: 180px; }
  .story-copy { margin-inline: auto; }
  .story-copy > p:last-child { font-size: 14px; }
  .band-content { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .brand-list { gap: 24px; }
  .brand { font-size: 18px; }
  .brand img { width: 36px; height: 36px; }
  .engine-group { border-left: 0; border-top: 1px solid #ffffff1c; padding: 26px 0 0; }
}

/* Pulsations du bandeau */
.availability-band { overflow: hidden; background: #030405; }
.band-landscape { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 66%; opacity: .45; pointer-events: none; user-select: none; z-index: -2; }
.availability-band::before, .availability-band::after {
  content: ''; position: absolute; inset: -35% -10%; z-index: -1;
  pointer-events: none; opacity: .06; transform-origin: center;
  background-repeat: no-repeat; background-size: 100% 100%;
}
.availability-band::before {
  background-image: radial-gradient(ellipse at 20% 55%, #ff7619 0%, #ff8c28 15%, transparent 60%), radial-gradient(ellipse at 68% 85%, #ff4b10 0%, transparent 38%);
  animation: fire-band-pulse 11.7s ease-in-out infinite;
}
.availability-band::after {
  background-image: radial-gradient(ellipse at 82% 42%, #28dfff 0%, #38bfff 15%, transparent 60%), radial-gradient(ellipse at 35% 15%, #41e8ff 0%, transparent 38%);
  animation: ice-band-pulse 15.3s ease-in-out -6s infinite;
}
.availability-band h2 { font-family: 'BDCRAFT Goblins', system-ui, sans-serif; font-weight: 400; font-synthesis: none; font-size: clamp(26px, 3vw, 36px); }
@keyframes fire-band-pulse {
  0%, 100% { opacity: .025; transform: translate(-3%, 2%) scale(.96); }
  19% { opacity: .085; transform: translate(2%, -2%) scale(1.06); }
  43% { opacity: .04; transform: translate(0, 1%) scale(1); }
  71% { opacity: .1; transform: translate(4%, -1%) scale(1.1); }
  88% { opacity: .055; transform: translate(1%, 2%) scale(1.02); }
}
@keyframes ice-band-pulse {
  0%, 100% { opacity: .05; transform: translate(2%, -1%) scale(1.02); }
  27% { opacity: .1; transform: translate(-3%, 2%) scale(1.12); }
  48% { opacity: .025; transform: translate(0, -2%) scale(.97); }
  64% { opacity: .065; transform: translate(-1%, 1%) scale(1.04); }
  83% { opacity: .09; transform: translate(-4%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .availability-band::before, .availability-band::after { animation: none; opacity: .07; transform: none; }
}

/* Décorations des arguments */
.feature-story { --story-color: #ffac5c; position: relative; padding: 24px 0; }
.feature-story:nth-child(even) { --story-color: #c3c6dc; }
.feature-story:nth-child(3) { --story-color: #71def6; }
.story-art { position: relative; isolation: isolate; }
.story-art::before { content: ''; position: absolute; width: min(76%, 280px); aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--story-color) 28%, transparent); border-radius: 30% 8% 30% 8%; transform: rotate(45deg); background: radial-gradient(ellipse, color-mix(in srgb, var(--story-color) 8%, transparent), transparent 70%); box-shadow: inset 0 0 0 8px #090b0e, inset 0 0 0 9px color-mix(in srgb, var(--story-color) 10%, transparent); z-index: -1; }
.story-art::after { content: '✦'; position: absolute; right: 16%; top: 12%; color: var(--story-color); font-size: 22px; text-shadow: 0 0 18px var(--story-color); }
.story-art img { width: clamp(150px, 18vw, 215px); }
.story-copy::before { content: ''; display: block; width: 76px; height: 3px; margin-bottom: 24px; background: linear-gradient(90deg, var(--story-color), transparent); }
.story-copy .eyebrow { color: var(--story-color); }
.feature-story + .feature-story { border-top: 0; }
.newsletter-cta { text-align: center; margin-top: clamp(50px, 6vw, 90px); padding: 32px 16px; }
.newsletter-cta > p:first-child { color: #c9c6d0; font-size: 14px; margin: 0 0 22px; }
.game-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 60px; min-width: 240px; max-width: 100%; padding: 12px 28px; border: 2px solid transparent; border-radius: 7px 16px 7px 16px; background: linear-gradient(120deg, #302128, #191b2c 60%, #153542) padding-box, linear-gradient(110deg, #ffaf57, #946446 44%, #65dcf2) border-box; color: #fff4df; font-family: 'BDCRAFT Goblins', system-ui, sans-serif; font-size: 25px; font-synthesis: none; cursor: pointer; box-shadow: 0 5px 0 #08090e, -8px 0 22px #ff7e1e16, 8px 0 22px #2edaff16, inset 0 1px #ffffff18; transition: transform .18s, box-shadow .18s; }
.game-cta span:first-child { color: #ffb25f; }
.game-cta span:last-child { color: #7ee5fa; }
.game-cta span { font: 18px system-ui, sans-serif; }
.game-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #08090e, -8px 0 25px #ff7e1e30, 8px 0 25px #2edaff30; }
.game-cta:active { transform: translateY(1px); }
.game-cta:focus-visible { outline: 2px solid #fff1ce; outline-offset: 6px; }
#newsletter-message { color: #b8dce5; font-size: 13px; margin: 18px 0 0; }
@media (max-width: 650px) {
  .story-art { min-height: 240px; }
  .story-art::before { width: 205px; }
  .story-art::after { right: 18%; }
  .story-copy::before { margin-inline: auto; }
  .game-cta { min-width: 0; width: min(100%, 280px); }
}
@media (prefers-reduced-motion: reduce) { .game-cta { transition: none; } }


/* En-tête translucide */
.site-header { background: #030405b8; backdrop-filter: blur(10px); pointer-events: auto; gap: 24px; transition: background .25s; }
.site-header.is-scrolled { background: #030405ed; }
.anchor-nav { padding-inline: 0; }
.is-scrolled .anchor-nav { background: none; box-shadow: none; }
.header-logo { margin-left: auto; width: 108px; height: 68px; }
.header-socials { display: flex; gap: 10px; align-items: center; position: relative; }
.social-button { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; padding: 8px; border: 1px solid #ffffff24; border-radius: 6px; color: #eee9df; background: #ffffff06; cursor: pointer; }
.social-button svg { display: block; width: 22px; height: 22px; }
.social-button:hover { color: #79e3fa; border-color: #79e3fa77; background: #ffffff0d; }
.social-button:focus-visible { outline: 2px solid #ffd08a; outline-offset: 4px; }
#social-message { position: absolute; top: 48px; right: 0; width: min(260px, 80vw); margin: 0; padding: 14px; background: #15171c; color: #fff; border: 1px solid #ffffff28; border-radius: 6px; font-size: 12px; line-height: 1.5; box-shadow: 0 6px 20px #0006; }
.game-logo { top: calc(var(--header-height) + 12px); width: min(28vw, 32svh, 360px); }
@media (max-width: 760px) {
  :root { --header-height: 104px; }
  .site-header { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 56px 48px; gap: 0 12px; }
  .header-logo { grid-column: 1; grid-row: 1; margin: 0; width: 74px; height: 46px; }
  .header-socials { grid-column: 2; grid-row: 1; gap: 8px; }
  .social-button { width: 34px; height: 34px; padding: 6px; }
  .anchor-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 12px; padding: 0; }
  .anchor-nav a { font-size: 16px; }
  .game-logo { width: min(58vw, 27svh, 260px); }
  #social-message { top: 42px; }
}

/* Navigation compacte */
:root { --header-height: 60px; }
.site-header { display: grid; height: var(--header-height); grid-template-columns: 110px minmax(0, 1fr) 110px; grid-template-rows: 1fr; gap: 12px; padding-inline: clamp(16px, 3vw, 48px); }
.header-logo { grid-column: 1; grid-row: 1; margin: 0; width: 80px; height: 50px; }
.anchor-nav { grid-column: 2; grid-row: 1; justify-content: center; gap: clamp(20px, 3vw, 42px); }
.anchor-nav a { font-size: 23px; padding-block: 8px; }
.header-socials { grid-column: 3; grid-row: 1; justify-self: end; }
.mobile-menu-toggle { display: none; }
.newsletter-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 52px clamp(24px, 6vw, 100px); background: radial-gradient(ellipse at 0 50%, #ff8b2910, transparent 55%), radial-gradient(ellipse at 100% 50%, #24caff10, transparent 55%), #101014; border-block: 1px solid #ffffff12; }
.newsletter-heading .eyebrow { margin: 0 0 12px; }
.newsletter-heading h2 { font-size: clamp(28px, 3vw, 40px); color: #fff; }
.newsletter-heading > p:last-child { color: #b6b6bd; font-size: 14px; line-height: 1.7; }
.newsletter-form { min-width: 0; }
.newsletter-form label { display: block; font-size: 12px; margin-bottom: 10px; color: #e9e4db; }
.newsletter-fields { display: flex; gap: 10px; }
.newsletter-fields input { min-width: 0; flex: 1; border: 1px solid #ffffff35; border-radius: 6px; padding: 14px; background: #08090c; color: #fff; font: 14px system-ui, sans-serif; }
.newsletter-fields input:focus-visible { outline: 2px solid #71def6; outline-offset: 3px; }
.newsletter-fields .game-cta { min-width: 130px; min-height: 50px; padding: 8px 18px; font-size: 22px; }
#newsletter-note { color: #a6a7b0; font-size: 11px; line-height: 1.6; margin: 14px 0 0; }
.band-landscape { inset: -100px 0; height: calc(100% + 200px); transform: translate3d(0, var(--band-shift, 0px), 0); }
@media (max-width: 760px) {
  :root { --header-height: 56px; }
  .site-header { grid-template-columns: 68px minmax(0, 1fr) 68px; gap: 8px; padding-inline: 12px; }
  .header-logo { width: 65px; height: 42px; }
  .social-button { width: 30px; height: 30px; padding: 5px; }
  .header-socials { gap: 6px; }
  .mobile-menu-toggle { display: block; grid-column: 2; grid-row: 1; justify-self: center; background: none; border: 0; color: #fff5e3; font-family: 'BDCRAFT Goblins', system-ui, sans-serif; font-size: 22px; padding: 10px; cursor: pointer; }
  .anchor-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px; background: #030405f5; box-shadow: 0 12px 20px #0005; }
  .menu-open .anchor-nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
  .anchor-nav a { font-size: 21px; }
  .newsletter-band { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 38px 24px; }
}
@media (max-width: 400px) { .newsletter-fields { flex-direction: column; } .newsletter-fields .game-cta { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .band-landscape { transform: none; } }



/* Disposition ordinateur */
@media (min-width: 1024px) {
  .section { padding-inline: clamp(32px, 3.125vw, 80px); }
  .video-section { padding-block: 64px 72px; }
  .video-section > .section-inner { width: min(100%, 1000px, max(280px, calc((100svh - 350px) * 16 / 9))); max-width: 1000px; }
  .video-section .section-heading { max-width: none; margin-bottom: 36px; }
  .video-section h2 { font-size: clamp(28px, 3.2vw, 46px); }
  .video-section .eyebrow { font-size: 10px; }
  .video-description { max-width: 720px; margin-top: 28px; }
  .video-description p { font-size: 14px; line-height: 1.75; }
  .video-description a { font-size: 12px; }
  .features-section { padding-block: 96px; }
  .features-section > .section-inner { width: 100%; max-width: 1800px; }
  .features-section .section-heading { max-width: 1100px; margin-bottom: 64px; }
  .features-section h2 { font-size: clamp(44px, 3.6vw, 70px); }
  .features-section .section-intro { max-width: 800px; font-size: 18px; }
  .feature-stories { gap: 64px; }
  .feature-story { gap: clamp(64px, 6vw, 120px); padding: 40px clamp(0px, 2vw, 40px); }
  .story-art { min-height: clamp(320px, 24vw, 460px); }
  .story-art img { width: clamp(240px, 19vw, 365px); }
  .story-art::before { width: min(76%, 420px); }
  .story-art::after { font-size: 32px; }
  .story-copy { max-width: 650px; }
  .story-copy h3 { font-size: clamp(36px, 3vw, 58px); }
  .story-copy .eyebrow { font-size: 13px; }
  .story-copy > p:last-child { font-size: 19px; line-height: 1.85; }
  .availability-band { padding: 66px clamp(40px, 5vw, 96px) 36px; }
  .band-content { max-width: 1728px; width: 100%; gap: 64px; }
  .availability-band h2 { font-size: clamp(34px, 2.8vw, 54px); margin-bottom: 32px; }
  .brand-list { gap: 64px; }
  .brand { font-size: 30px; gap: 20px; }
  .brand img { width: 64px; height: 64px; }
  .band-note { font-size: 12px; margin-top: 40px; }
  .newsletter-band { padding: 72px clamp(40px, 5vw, 96px); gap: 80px; }
  .newsletter-heading h2 { font-size: clamp(36px, 3vw, 54px); }
  .newsletter-heading > p:last-child { font-size: 18px; }
  .newsletter-form label { font-size: 15px; }
  .newsletter-fields input { padding: 20px; font-size: 17px; }
  .newsletter-fields .game-cta { min-width: 175px; font-size: 28px; }
  #newsletter-note { font-size: 12px; }
  .site-footer { padding: 72px clamp(40px, 5vw, 96px) 32px; }
  .footer-main { gap: 64px; }
  .footer-column { font-size: 15px; gap: 18px; }
  .studio-logo { width: 210px; }
}

/* Boutons sociaux */
.site-header { grid-template-columns: 130px minmax(0, 1fr) 130px; }
.header-socials { gap: 12px; }
.social-button { width: 44px; height: 44px; padding: 9px; color: #fff; border-radius: 9px; box-shadow: 0 3px 10px #0005; }
.social-button svg { width: 26px; height: 26px; }
.social-youtube { background: #153440; border-color: #70def5; color: #a8efff; }
.social-youtube:hover { color: #e0faff; background: #205164; border-color: #b9f4ff; }
.social-discord { background: #153440; border-color: #70def5; color: #a8efff; }
.social-discord:hover { color: #e0faff; background: #205164; border-color: #b9f4ff; }
@media (max-width: 760px) {
  .site-header { grid-template-columns: 90px minmax(0, 1fr) 90px; }
  .header-socials { gap: 8px; }
  .social-button { width: 38px; height: 38px; padding: 7px; }
  .social-button svg { width: 24px; height: 24px; }
}


/* Logo à gauche */
.game-logo { left: clamp(24px, 4vw, 80px); top: calc(var(--header-height) + 24px); transform: none; width: min(32vw, 42svh, 440px); }
@media (max-width: 760px) {
  .game-logo { left: 20px; top: calc(var(--header-height) + 20px); width: min(62vw, 30svh, 280px); }
}

/* Accueil et navigation */
:root { --hero-logo-width: min(40vw, 52svh, 560px); --hero-logo-left: clamp(24px, 4vw, 80px); }
.game-logo { width: var(--hero-logo-width); left: var(--hero-logo-left); }
.site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; pointer-events: none; }
.site-header:not(.is-scrolled) .header-socials { position: fixed; left: var(--hero-logo-left); top: calc(var(--header-height) + 44px + var(--hero-logo-width) * .625); right: auto; justify-self: auto; gap: 14px; }
.site-header:not(.is-scrolled) .social-button { width: 46px; height: 46px; }
.site-header:not(.is-scrolled) .mobile-menu-toggle { display: none; }
.site-header:not(.is-scrolled) .anchor-nav { position: fixed; top: 50%; bottom: auto; left: auto; right: 22px; transform: translateY(-50%); display: flex; flex-direction: column; flex-wrap: nowrap; gap: 12px; padding: 10px; background: #06090c66; border-radius: 24px; box-shadow: none; }
.site-header:not(.is-scrolled) .anchor-nav a { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; font-size: 0; }
.site-header:not(.is-scrolled) .anchor-nav a::after { position: static; display: block; width: 9px; height: 9px; border: 1px solid #c3edff; border-radius: 50%; background: #080b18a0; transform: none; transition: background .2s, box-shadow .2s; }
.site-header:not(.is-scrolled) .anchor-nav a[aria-current]::after { background: #9eeaff; box-shadow: 0 0 9px #62dbff88; }
.site-header:not(.is-scrolled) .anchor-nav a::before { content: attr(data-label); position: absolute; right: 36px; padding: 7px 10px; background: #080b18ed; border-radius: 4px; color: #fff; font-size: 15px; opacity: 0; pointer-events: none; white-space: nowrap; }
.site-header:not(.is-scrolled) .anchor-nav a:hover::before, .site-header:not(.is-scrolled) .anchor-nav a:focus-visible::before { opacity: 1; }
.site-header:not(.is-scrolled) #social-message { right: auto; left: 0; }
@media (max-width: 760px) {
  :root { --hero-logo-width: min(70vw, 38svh, 340px); --hero-logo-left: 20px; }
  .game-logo { top: calc(var(--header-height) + 20px); }
  .site-header:not(.is-scrolled) .header-socials { top: calc(var(--header-height) + 40px + var(--hero-logo-width) * .625); }
  .site-header:not(.is-scrolled) .social-button { width: 40px; height: 40px; }
  .site-header:not(.is-scrolled) .anchor-nav { right: 10px; padding: 6px; gap: 8px; }
}
.header-socials { pointer-events: auto; }

/* Menu vertical */
.site-header:not(.is-scrolled) .header-socials {
  left: calc(var(--hero-logo-left) + var(--hero-logo-width) / 2);
  transform: translateX(-50%);
}
.site-header:not(.is-scrolled) .anchor-nav {
  right: clamp(20px, 3vw, 60px); align-items: stretch; gap: 0;
  padding: 12px 18px; border-radius: 6px; background: #06090c99;
  border-right: 1px solid #a0e7ff40;
}
.site-header:not(.is-scrolled) .anchor-nav a {
  display: flex; justify-content: flex-end; align-items: center; gap: 14px;
  width: auto; min-height: 46px; height: auto; padding: 10px 0 10px 8px;
  font-size: 22px; color: #d3d7df;
}
.site-header:not(.is-scrolled) .anchor-nav a::before { content: none; }
.site-header:not(.is-scrolled) .anchor-nav a::after {
  flex: 0 0 auto; width: 4px; height: 18px; border: 0; border-radius: 3px;
  background: #ffffff28; box-shadow: none;
}
.site-header:not(.is-scrolled) .anchor-nav a[aria-current],
.site-header:not(.is-scrolled) .anchor-nav a:hover { color: #fff5e3; }
.site-header:not(.is-scrolled) .anchor-nav a[aria-current]::after {
  background: linear-gradient(#ffac5c, #76dff7); box-shadow: 0 0 10px #76dff744;
}
@media (max-width: 760px) {
  .site-header:not(.is-scrolled) .anchor-nav { right: 12px; top: 68%; padding: 8px 12px; }
  .site-header:not(.is-scrolled) .anchor-nav a { min-height: 40px; font-size: 18px; gap: 12px; }
}

/* Interface d’accueil */
.site-header { grid-template-columns: 200px minmax(0, 1fr) 200px; }
.header-socials { gap: 10px; }
.social-button, .social-youtube, .social-discord, .social-bluesky, .social-x { background: #19252cb8; color: #b2c9d2; border-color: #819eaa55; box-shadow: 0 3px 10px #0003; }
.social-button:hover, .social-youtube:hover, .social-discord:hover { background: #2b3b44; color: #e0edf2; border-color: #b3cbd677; }
.site-header:not(.is-scrolled) .anchor-nav {
  top: calc(var(--header-height) + 112px + var(--hero-logo-width) * .625);
  left: var(--hero-logo-left); right: auto; bottom: auto;
  width: var(--hero-logo-width); transform: none; align-items: center;
  padding: 12px 0; border: 0; border-radius: 0; background: none;
}
.site-header:not(.is-scrolled) .anchor-nav a {
  justify-content: flex-start; flex-direction: row-reverse; width: 190px;
  color: #cbd0d4; padding: 9px 14px; text-shadow: 0 2px 4px #000;
}
.site-header:not(.is-scrolled) .anchor-nav a[aria-current] {
  background: linear-gradient(90deg, #bacbd318, transparent); border-radius: 4px;
}
.site-header:not(.is-scrolled) .anchor-nav a[aria-current]::after { background: #b8d4df; box-shadow: 0 0 6px #b8d4df33; }
@media (max-width: 760px) {
  .site-header { grid-template-columns: 65px minmax(0, 1fr) 150px; }
  .header-socials { gap: 6px; }
  .social-button { width: 32px; height: 32px; padding: 5px; }
  .social-button svg { width: 22px; height: 22px; }
  .site-header:not(.is-scrolled) .social-button { width: 36px; height: 36px; }
  .site-header:not(.is-scrolled) .anchor-nav { top: calc(var(--header-height) + 100px + var(--hero-logo-width) * .625); right: auto; padding: 8px 0; }
  .site-header:not(.is-scrolled) .anchor-nav a { width: 170px; min-height: 36px; font-size: 18px; }
}

/* Alignement du menu */
.site-header:not(.is-scrolled) .anchor-nav {
  align-items: stretch;
  padding: 8px clamp(6px, .7vw, 14px);
  gap: 5px;
}
.site-header:not(.is-scrolled) .anchor-nav a {
  width: 100%;
  justify-content: flex-start;
  flex-direction: row;
  gap: 16px;
  padding: 9px 12px;
  min-height: 48px;
  color: #fff5e7;
  font-size: clamp(25px, 1.6vw, 31px);
  line-height: 1.2;
  text-shadow: 0 2px 3px #000, 0 0 12px #000b;
}
.site-header:not(.is-scrolled) .anchor-nav a::after {
  order: -1;
  width: 4px;
  height: 22px;
  background: #c4d2d777;
}
.site-header:not(.is-scrolled) .anchor-nav a[aria-current] {
  color: #fff;
  background: linear-gradient(90deg, #101c2bdd, #101c2b44 75%, transparent);
  border-radius: 5px;
}
.site-header:not(.is-scrolled) .anchor-nav a[aria-current]::after {
  background: #caefff;
  box-shadow: 0 0 8px #9ddcff55;
}
.site-header:not(.is-scrolled) .anchor-nav a:hover {
  color: #fff;
  background: linear-gradient(90deg, #213345cc, transparent);
  border-radius: 5px;
}
@media (max-width: 760px) {
  .site-header:not(.is-scrolled) .anchor-nav { gap: 2px; padding-inline: 5px; }
  .site-header:not(.is-scrolled) .anchor-nav a { width: 100%; min-height: 42px; padding: 8px 10px; font-size: 23px; gap: 12px; }
}

/* Vidéo et présentation */
.video-section > .section-inner { width: 100%; max-width: 1720px; }
.video-presentation { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4vw, 76px); }
.video-presentation > * { min-width: 0; }
.video-presentation .video-description { max-width: none; margin: 0; text-align: left; }
.video-presentation .video-description p { font-size: clamp(15px, 1.05vw, 19px); line-height: 1.85; margin: 0 0 22px; }
.video-presentation .video-description a { padding: 5px 0; font-size: 14px; }
@media (max-width: 1000px) {
  .video-presentation { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .video-presentation .video-description { max-width: 760px; margin-inline: auto; }
  .video-presentation .video-description p { font-size: 15px; }
}

/* Colonnes du bandeau */
@media (min-width: 651px) {
  .band-content { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
  .band-content::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #ffffff1c; transform: translateX(-50%); }
  .platform-group { padding-right: clamp(24px, 4vw, 76px); }
  .engine-group { border-left: 0; padding-left: clamp(24px, 4vw, 76px); }
}

/* Couleurs du footer */
.site-footer {
  background: radial-gradient(ellipse at 52% 5%, #6d32903d, transparent 62%), linear-gradient(115deg, #0b102b 0%, #20234e 38%, #302052 68%, #0c1430 100%);
  border-top: 1px solid #9f7dc333;
  color: #c5c5df;
}
.site-footer .footer-heading { color: #f0e8ff; }
.site-footer .pending-link { color: #b8b5cf; }
.site-footer a:hover { color: #d8b6ff; }
.site-footer .footer-bottom { border-top-color: #b59cdd26; color: #bcb7d8; }

/* Emplacements des captures */
.screenshot-slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; min-width: 0; aspect-ratio: 16 / 9; border: 1px solid #ffffff24; border-radius: 6px; background: linear-gradient(135deg, #191d25, #101319); color: #c6c9d1; font-size: 14px; overflow: hidden; }
.screenshot-slot small { color: #8d94a2; font-size: 11px; letter-spacing: .1em; }
.screenshot-outline { position: relative; display: block; width: 36px; height: 28px; border: 1px solid #7e889a; border-radius: 3px; margin-bottom: 4px; }
.screenshot-outline::before { content: ''; position: absolute; width: 5px; height: 5px; border: 1px solid #7e889a; border-radius: 50%; top: 5px; right: 6px; }
.screenshot-outline::after { content: ''; position: absolute; width: 14px; height: 14px; border-left: 1px solid #7e889a; border-top: 1px solid #7e889a; transform: rotate(45deg); bottom: -4px; left: 8px; }
.feature-story:nth-child(even) .screenshot-slot { grid-column: 2; grid-row: 1; }
@media (max-width: 650px) { .feature-story:nth-child(even) .screenshot-slot { grid-column: auto; grid-row: auto; } .screenshot-slot { margin-bottom: 20px; } }
.newsletter-band { scroll-margin-top: var(--header-height); }

/* Fond du footer */
.site-footer { position: relative; isolation: isolate; background: #000; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('assets/3d_sky_21x12.png') center 44% / cover no-repeat; opacity: .25; pointer-events: none; }


/* Lumières de fond */
.features-section { position: relative; isolation: isolate; overflow: clip; background: #090b0f; }
.content-world::before, .content-world::after {
  content: ''; position: absolute; inset: -15%; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; transform-origin: 50% 50%;
}
.content-world::before {
  background-image: radial-gradient(ellipse at 20% 23%, #ff762a50, transparent 27%), radial-gradient(ellipse at 76% 68%, #ffad382e, transparent 24%), radial-gradient(circle at 39% 88%, #ff572e32, transparent 19%);
  animation: usp-fire-drift 18s ease-in-out infinite;
}
.content-world::after {
  background-image: radial-gradient(ellipse at 82% 28%, #2bd9ff45, transparent 26%), radial-gradient(ellipse at 26% 65%, #418bff2b, transparent 26%), radial-gradient(circle at 65% 86%, #8af5ff30, transparent 18%);
  animation: usp-ice-drift 21s ease-in-out -9s infinite;
}
@keyframes usp-fire-drift {
  0%, 100% { transform: translate(-5%, -2%) rotate(-5deg) scale(1); opacity: .5; }
  24% { transform: translate(7%, 4%) rotate(9deg) scale(1.12); opacity: .85; }
  51% { transform: translate(1%, -5%) rotate(-3deg) scale(.97); opacity: .4; }
  77% { transform: translate(-7%, 5%) rotate(-11deg) scale(1.14); opacity: .75; }
}
@keyframes usp-ice-drift {
  0%, 100% { transform: translate(4%, 3%) rotate(6deg) scale(1.06); opacity: .65; }
  30% { transform: translate(-7%, -5%) rotate(-10deg) scale(1); opacity: .4; }
  56% { transform: translate(-2%, 5%) rotate(3deg) scale(1.1); opacity: .85; }
  81% { transform: translate(7%, -4%) rotate(11deg) scale(.98); opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .content-world::before, .content-world::after { animation: none; transform: none; opacity: .5; }
}

/* Fond commun */
.features-section .newsletter-band {
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: clamp(64px, 7vw, 130px);
}

/* Bords du bandeau */
.availability-band {
  border-block: 0;
  background: #070809;
}
.band-landscape {
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.availability-band::before, .availability-band::after {
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
}
.availability-band .band-content { position: relative; z-index: 1; }
.band-edge-fade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to bottom, #070809 0%, transparent 27%, transparent 73%, #090b0f 100%); }

/* Fondu inférieur */
.availability-band { overflow: visible; z-index: 1; }
.band-landscape { clip-path: inset(100px 0); }
.availability-band::before, .availability-band::after { inset: 0; }
.band-edge-fade { bottom: -85px; background: linear-gradient(to bottom, #070809 0%, transparent 24%, transparent calc(100% - 85px), #030405 calc(100% - 85px), #03040599 calc(100% - 48px), transparent 100%); }
.band-landscape { mask-image: linear-gradient(to bottom, transparent, #000 22%, #000); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000); }
.availability-band::before, .availability-band::after { mask-image: linear-gradient(to bottom, transparent, #000 28%, #000); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%, #000); }
.availability-band { overflow: hidden; box-shadow: 0 38px 48px -10px #030405; }
.band-landscape { clip-path: none; }
.band-edge-fade { bottom: 0; background: linear-gradient(to bottom, #070809, transparent 27%); }

/* Découpe des lumières */
.features-section { padding-bottom: clamp(32px, 3vw, 56px); }
.features-section .newsletter-band { scroll-margin-top: calc(var(--header-height) + 24px); }

/* Voile inférieur */
.availability-band { box-shadow: none; }
.band-bottom-mist { position: relative; height: 0; z-index: 2; pointer-events: none; }
.band-bottom-mist::before {
  content: ''; position: absolute; left: 0; right: 0; top: -30px; height: 220px;
  background: linear-gradient(to bottom, transparent 0%, #090b0fe6 14%, #090b0fa6 29%, #090b0f52 48%, #090b0f1f 68%, #090b0f08 85%, transparent 100%);
  filter: blur(26px); pointer-events: none;
}

/* Espacement des plateformes */
.availability-band { padding-top: 62px; padding-bottom: 54px; }
@media (min-width: 1024px) {
  .availability-band { padding-top: 90px; padding-bottom: 72px; }
}
@media (max-width: 650px) {
  .availability-band { padding-top: 54px; padding-bottom: 48px; }
}

/* Bord inférieur */
.band-bottom-mist { display: none; }
.availability-band {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 64px), transparent 100%);
}

/* Halo extérieur */
.availability-band { -webkit-mask-image: none; mask-image: none; }
.band-bottom-mist { display: block; }
.band-bottom-mist::before {
  top: -24px;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, #090b0fe6 14%, #090b0fb3 28%, #090b0f66 48%, #090b0f26 70%, #090b0f08 86%, transparent 100%);
  filter: blur(28px);
}

/* Lumières sous titre */
.features-section { background: #090b0f; }
.content-world::before, .content-world::after {
  inset: 160px -15% -15%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 100%);
}
@media (max-width: 650px) {
  .content-world::before, .content-world::after { top: 140px; }
}

/* Fondus du bandeau */
.band-edge-fade {
  inset: 0;
  background: linear-gradient(to bottom, #070809 0%, transparent 27%, transparent 73%, #090b0f 100%);
}
.band-landscape {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.availability-band::before, .availability-band::after {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
}
.band-bottom-mist { display: none; }

.hero-platforms { display: flex; align-items: center; gap: 18px; padding: 18px 12px 0; color: #d0d8dd; }
.hero-platforms svg { display: block; width: 25px; height: 25px; filter: drop-shadow(0 2px 3px #0009); }
.site-header.is-scrolled .hero-platforms { display: none; }
@media (max-width: 760px) { .hero-platforms { padding-top: 14px; } .hero-platforms svg { width: 23px; height: 23px; } }

/* Colonnes du footer */
.site-footer { padding-block: clamp(48px, 5vw, 80px); }
.site-footer .footer-main { max-width: 1728px; margin-inline: auto; display: grid; grid-template-columns: 1.35fr 1fr 1.25fr 1fr; align-items: start; gap: clamp(28px, 4vw, 76px); padding-bottom: 0; }
.site-footer .studio-identity { min-width: 0; align-self: center; }
.site-footer .studio-logo { width: clamp(220px, 18vw, 320px); max-width: 100%; margin: -24px 0; }
.site-footer .footer-column { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; min-width: 0; font-size: 14px; }
.site-footer .footer-heading { font-size: 16px; margin: 0 0 8px; color: #f0e8ff; }
.footer-socials { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-socials .social-button { width: 38px; height: 38px; padding: 7px; }
.footer-socials .social-button svg { width: 24px; height: 24px; }
.site-footer .platform-heading { margin: 14px 0 0; font-size: 13px; font-weight: 500; color: #c8c8d9; }
.footer-platforms { display: flex; align-items: center; gap: 20px; color: #d2dbe3; }
.footer-platforms svg { display: block; width: 27px; height: 27px; }
#footer-social-message { flex-basis: 100%; margin: 4px 0 0; max-width: 250px; font-size: 11px; line-height: 1.6; color: #c5c5df; }
@media (max-width: 900px) {
  .site-footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .site-footer .studio-logo { width: 240px; }
}
@media (max-width: 480px) {
  .site-footer .footer-main { gap: 32px 22px; }
  .site-footer .studio-logo { width: 100%; margin: 0; }
  .site-footer .footer-column { font-size: 12px; gap: 15px; }
  .site-footer .footer-heading { font-size: 14px; }
  .footer-socials { gap: 8px; }
  .footer-socials .social-button { width: 34px; height: 34px; padding: 6px; }
  .footer-socials .social-button svg { width: 22px; height: 22px; }
}

/* Footer compact */
.site-footer { background: #000; padding-block: clamp(32px, 3vw, 48px); }
.site-footer::before { display: none; }
.site-footer .studio-logo { width: clamp(180px, 14vw, 250px); margin: -14px 0; }
.site-footer .footer-column { gap: 14px; }
.site-footer .footer-heading { margin-bottom: 4px; }
.site-footer .platform-heading { margin-top: 8px; }
@media (max-width: 900px) {
  .site-footer .footer-main { row-gap: 28px; }
  .site-footer .studio-logo { width: 190px; }
}
@media (max-width: 480px) {
  .site-footer .studio-logo { width: min(100%, 165px); margin: 0; }
}

/* Recadrage des personnages */
.story-details { display: grid; grid-template-columns: minmax(0, 1fr) clamp(130px, 12vw, 230px); gap: clamp(18px, 2vw, 36px); align-items: center; min-width: 0; }
.feature-story:nth-child(even) .story-details { grid-column: 1; grid-row: 1; }
.story-details .story-copy { grid-column: auto; grid-row: auto; }
.usp-goblin { position: relative; width: 100%; overflow: hidden; pointer-events: none; filter: drop-shadow(0 12px 14px #0006); -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, #000c 91%, #0005 97%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 86%, #000c 91%, #0005 97%, transparent 100%); }
.usp-goblin img { position: absolute; display: block; max-width: none; height: auto; }
.goblin-blue { aspect-ratio: 420 / 514; }
.goblin-blue img { width: 243.81%; left: -50%; top: -99.22%; }
.goblin-green { aspect-ratio: 370 / 529; }
.goblin-green img { width: 276.76%; left: -74.32%; top: -93.57%; }
.goblin-red { aspect-ratio: 370 / 519; }
.goblin-red img { width: 276.76%; left: -79.73%; top: -97.3%; }
.content-world::before {
  background-image: radial-gradient(ellipse at 20% 23%, #ff762a73, transparent 30%), radial-gradient(ellipse at 76% 68%, #ffad3847, transparent 27%), radial-gradient(circle at 39% 88%, #ff572e4d, transparent 22%);
}
.content-world::after {
  background-image: radial-gradient(ellipse at 82% 28%, #2bd9ff68, transparent 29%), radial-gradient(ellipse at 26% 65%, #418bff45, transparent 29%), radial-gradient(circle at 65% 86%, #8af5ff4a, transparent 21%);
}
@media (min-width: 651px) and (max-width: 1100px) {
  .feature-story { gap: 28px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .feature-story:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .story-details { grid-template-columns: minmax(0, 1fr) 100px; gap: 14px; }
}
@media (max-width: 650px) {
  .feature-story:nth-child(even) .story-details { grid-column: auto; grid-row: auto; }
  .story-details { grid-template-columns: minmax(0, 1fr) clamp(95px, 26vw, 160px); gap: 16px; text-align: left; }
  .story-details .story-copy::before { margin-left: 0; }
}
@media (max-width: 380px) {
  .story-details { grid-template-columns: minmax(0, 1fr); }
  .usp-goblin { width: 120px; justify-self: end; }
}

/* Cadres des captures */
.screenshot-link { display: block; padding: 0; aspect-ratio: 16 / 9; cursor: zoom-in; text-decoration: none; box-shadow: 0 12px 32px #0005; }
.screenshot-link > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.screenshot-link:hover { border-color: #aadbea; }
.screenshot-link:focus-visible { outline: 2px solid #aadbea; outline-offset: 5px; }
.screenshot-zoom { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; background: #070b13c9; color: #fff; border: 1px solid #ffffff55; border-radius: 5px; font: 25px system-ui, sans-serif; }
.screenshot-open { overflow: hidden; }
.screenshot-viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 64px 24px 24px; border: 0; background: #05070bef; color: #fff; }
.screenshot-viewer::backdrop { background: #000d; }
.screenshot-viewer[open] { display: grid; place-items: center; }
.screenshot-viewer figure { margin: 0; max-width: 100%; pointer-events: none; }
.viewer-image { display: block; max-width: min(94vw, 1920px); max-height: calc(100dvh - 130px); width: auto; height: auto; object-fit: contain; box-shadow: 0 14px 60px #0008; pointer-events: auto; }
.viewer-caption { padding-top: 14px; text-align: center; font-size: 14px; color: #d2dbe5; }
.viewer-close { position: absolute; top: 14px; right: 20px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #ffffff55; border-radius: 50%; background: #111824; color: #fff; font: 30px system-ui, sans-serif; cursor: pointer; }
.viewer-close:focus-visible { outline: 2px solid #aadbea; outline-offset: 4px; }
@media (max-width: 650px) { .screenshot-viewer { padding-inline: 12px; } .viewer-image { max-width: calc(100vw - 24px); } }


/* Invitation newsletter */
.features-section .newsletter-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, .55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  max-width: 1120px;
  margin-inline: auto;
  padding: 12px clamp(8px, 2vw, 32px) 0;
  background: transparent;
}
.newsletter-content { min-width: 0; padding-block: 16px; }
.newsletter-heading .eyebrow { color: #e6b789; }
.newsletter-heading h2 { text-wrap: balance; margin-bottom: 18px; }
.newsletter-heading > p:last-child { max-width: 600px; color: #d2c9c6; }
.newsletter-content .newsletter-form { margin-top: 20px; }
.newsletter-demon { position: relative; align-self: end; width: 100%; max-width: 260px; aspect-ratio: 1100 / 1900; justify-self: center; overflow: hidden; mask-image: linear-gradient(#000 83%, transparent 100%); -webkit-mask-image: linear-gradient(#000 83%, transparent 100%); }
.newsletter-demon img { position: absolute; width: 186.18%; max-width: none; height: auto; left: -33.64%; top: -2.63%; }
.newsletter-content .newsletter-fields { align-items: center; gap: 18px; }
.newsletter-content .newsletter-fields input { width: 100%; min-height: 58px; background: #08090dcc; border-color: #b991684d; box-shadow: inset 0 2px 12px #0008; }
.newsletter-fields .parchment-cta {
  flex: 0 0 220px; width: 220px; min-width: 0; min-height: 76px;
  padding: 16px 35px 20px; border: 0; border-radius: 0;
  background: url('assets/newsletter-scroll.svg') center / 100% 100% no-repeat;
  color: #ffe290; font-family: 'BDCRAFT Goblins', system-ui, sans-serif;
  font-size: 29px; text-shadow: 0 2px 0 #58301e;
  box-shadow: none; filter: drop-shadow(0 5px 5px #0008);
  transition: transform .18s, filter .18s;
}
.newsletter-fields .parchment-cta:hover { box-shadow: none; filter: drop-shadow(0 5px 12px #e994343d) brightness(1.12); transform: translateY(-2px); }
.newsletter-fields .parchment-cta:active { transform: translateY(1px); }
.newsletter-fields .parchment-cta:focus-visible { outline: 2px solid #91e1ee; outline-offset: 4px; }
@media (max-width: 1000px) {
  .newsletter-content .newsletter-fields { flex-direction: column; align-items: stretch; }
  .newsletter-fields .parchment-cta { flex: none; align-self: flex-start; }
}
@media (max-width: 650px) {
  .features-section .newsletter-band { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .newsletter-demon { max-width: 160px; aspect-ratio: 1100 / 1450; margin-bottom: -20px; mask-image: linear-gradient(#000 75%, transparent 100%); -webkit-mask-image: linear-gradient(#000 75%, transparent 100%); }
  .newsletter-demon img { top: -3.45%; }
  .newsletter-content { padding-block: 0 24px; }
  .newsletter-heading { text-align: center; }
  .newsletter-fields .parchment-cta { align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .newsletter-fields .parchment-cta { transition: none; } }

/* Newsletter compacte */
.features-section .newsletter-band { margin-top: clamp(48px, 5vw, 80px); }
.newsletter-heading h2 { font-size: clamp(28px, 2.6vw, 42px); }
.newsletter-heading > p:last-child { font-size: 16px; }

/* Grille du footer */
.site-footer { overflow: visible; background: #000; padding: 64px clamp(24px, 4vw, 72px) 48px; }
.site-footer::before {
  display: block; content: ''; position: absolute; inset: auto 0 100%;
  height: 100px; z-index: -1; opacity: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, #0000000a 15%, #00000038 40%, #00000099 70%, #000 100%);
}
.site-footer .footer-main {
  max-width: 1480px; display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(120px, .85fr) minmax(210px, 1.3fr) minmax(145px, .9fr);
  align-items: start; gap: clamp(24px, 3vw, 56px);
}
.site-footer .studio-identity { align-self: start; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.site-footer .studio-logo { width: 160px; margin: -12px 0 0; }
.footer-travel { width: 100px; max-width: 100%; opacity: .8; pointer-events: none; }
.footer-travel img { display: block; width: 100%; height: auto; }
.site-footer .footer-column { align-self: start; padding-top: 0; gap: 16px; font-size: 14px; line-height: 1.5; }
.site-footer .footer-heading { font-family: 'BDCRAFT Goblins', system-ui, sans-serif; font-weight: 400; font-size: 22px; line-height: 1.3; color: #f3ddba; margin: 0 0 10px; }
.site-footer .platform-heading { font-family: inherit; font-size: 13px; color: #b5c5ce; margin: 12px 0 0; }
.site-footer .footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .social-button { flex: 0 0 38px; width: 38px; height: 38px; padding: 7px; }
.site-footer .social-button svg { width: 22px; height: 22px; }
.site-footer a:hover { color: #b3e8f2; }
@media (max-width: 849px) {
  .site-footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .site-footer .studio-identity { align-items: flex-start; }
  .footer-travel { margin-left: 28px; width: 85px; }
}
@media (max-width: 480px) {
  .site-footer { padding: 42px 20px 32px; }
  .site-footer .footer-main { gap: 32px 20px; }
  .site-footer .studio-logo { width: 140px; }
  .site-footer .footer-heading { font-size: 20px; }
  .site-footer .footer-column { font-size: 12px; gap: 14px; }
  .site-footer .footer-socials { gap: 7px; }
  .site-footer .social-button { flex-basis: 30px; width: 30px; height: 30px; padding: 5px; }
  .site-footer .social-button svg { width: 18px; height: 18px; }
}
/* Espacement des logos */
.availability-band { padding-top: 78px; padding-bottom: 70px; }
@media (min-width: 1024px) { .availability-band { padding-top: 106px; padding-bottom: 88px; } }
@media (max-width: 650px) { .availability-band { padding-top: 66px; padding-bottom: 60px; } }


/* Espacement newsletter */
.features-section { padding-bottom: clamp(72px, 6vw, 104px); }

/* Newsletter élargie */
.features-section .newsletter-band { max-width: 1300px; gap: clamp(32px, 4vw, 64px); }
.newsletter-heading > p:last-child { max-width: 680px; line-height: 1.65; margin-bottom: 0; }
.newsletter-heading .eyebrow { font-size: 11px; letter-spacing: .12em; margin-bottom: 14px; }
.newsletter-heading h2 { margin-bottom: 16px; }
.newsletter-content .newsletter-form { margin-top: 26px; }
@media (min-width: 851px) {
  .features-section .newsletter-band { grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); }
  .newsletter-content .newsletter-fields { flex-direction: row; align-items: center; }
  .newsletter-fields .parchment-cta { flex: 0 0 220px; align-self: center; }
}
@media (max-width: 650px) { .features-section .newsletter-band { gap: 0; } }

/* Deuxième argument */
.feature-story:nth-child(even) .story-details { grid-template-columns: clamp(130px, 12vw, 230px) minmax(0, 1fr); }
.feature-story:nth-child(even) .usp-goblin { grid-column: 1; grid-row: 1; }
.feature-story:nth-child(even) .story-copy { grid-column: 2; grid-row: 1; text-align: right; }
.feature-story:nth-child(even) .story-copy::before { margin-left: auto; margin-right: 0; }
@media (min-width: 651px) and (max-width: 1100px) {
  .feature-story:nth-child(even) .story-details { grid-template-columns: 100px minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .feature-story:nth-child(even) .story-details { grid-template-columns: clamp(95px, 26vw, 160px) minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .feature-story:nth-child(even) .story-details { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .feature-story:nth-child(even) .usp-goblin { width: 80px; align-self: center; }
}

/* Décorations du titre */
.video-section .section-heading {
  display: grid;
  grid-template-columns: clamp(64px, 9vw, 140px) minmax(0, 1fr) clamp(64px, 9vw, 140px);
  align-items: center;
  gap: clamp(12px, 2.5vw, 40px);
  max-width: 1200px;
  margin-inline: auto;
}
.video-section .section-heading h2 { margin: 0; text-wrap: balance; }
.preview-item { display: block; width: 100%; height: auto; pointer-events: none; }
.preview-coins { transform: rotate(-8deg); }
.preview-gems { transform: rotate(8deg); }
@media (max-width: 650px) {
  .video-section .section-heading { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 10px; }
  .video-section .section-heading h2 { font-size: clamp(22px, 5vw, 30px); }
}

/* Tailles des titres */
:root {
  --heading-h2-size: clamp(32px, 3.8vw, 56px);
  --heading-h3-size: clamp(22px, 2.2vw, 30px);
}
.video-section .section-heading h2,
.availability-band h2,
.features-section h2,
.newsletter-heading h2 {
  font-size: var(--heading-h2-size);
  line-height: 1.2;
  font-weight: 400;
}
.features-section .story-copy h3 {
  font-size: var(--heading-h3-size);
  line-height: 1.3;
  font-weight: 400;
}


/* Hauteur du logo */
.site-footer .studio-identity {
  align-self: stretch;
  position: relative;
  min-height: 210px;
}
.site-footer .studio-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: contain;
}
@media (min-width: 850px) {
  .site-footer .footer-main {
    grid-template-columns: minmax(210px, 1.25fr) minmax(120px, .85fr) minmax(210px, 1.3fr) minmax(145px, .9fr);
  }
}
@media (max-width: 849px) {
  .site-footer .studio-identity { min-height: 180px; }
}
@media (max-width: 480px) {
  .site-footer .studio-identity { min-height: 150px; }
}

/* Largeur du footer */
.site-footer { padding-inline: clamp(20px, 3vw, 56px); }
.site-footer .footer-main { width: 100%; max-width: none; margin-inline: 0; }
@media (min-width: 850px) {
  .site-footer .footer-main {
    grid-template-columns: minmax(210px, 1.2fr) minmax(120px, 1fr) minmax(210px, 1.1fr) minmax(145px, 1fr);
    column-gap: clamp(28px, 5vw, 100px);
  }
}


/* Plateformes d’accueil */
.site-header:not(.is-scrolled) .anchor-nav,
.site-header:not(.is-scrolled) .mobile-menu-toggle { display: none; }
.hero-availability {
  position: absolute; z-index: 6;
  top: calc(var(--header-height) + 118px + var(--hero-logo-width) * .625);
  left: var(--hero-logo-left); width: var(--hero-logo-width);
  text-align: center; color: #eef0ee; text-shadow: 0 2px 8px #000;
}
.hero-availability > p { font-family: 'BDCRAFT Goblins', system-ui, sans-serif; font-size: clamp(21px, 1.8vw, 28px); margin: 0 0 16px; }
.hero-stores { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 2vw, 28px); }
.hero-stores > span { display: flex; align-items: center; gap: 9px; font: 15px system-ui, sans-serif; }
.hero-stores img { object-fit: contain; filter: drop-shadow(0 2px 4px #0009); }
.hero-availability .hero-platforms { justify-content: center; padding: 18px 0 0; opacity: .75; }
.hero-engine { position: absolute; z-index: 5; right: clamp(20px, 3vw, 56px); bottom: 28px; display: flex; align-items: center; gap: 8px; color: #c6cbd0; font: 13px system-ui, sans-serif; text-shadow: 0 2px 6px #000; }
.hero-engine > span:first-child { font-size: 11px; }
.has-scrolled .hero-availability { visibility: hidden; }
@media (max-width: 760px) {
  .hero-availability { top: calc(var(--header-height) + 100px + var(--hero-logo-width) * .625); }
  .hero-availability > p { margin-bottom: 12px; }
  .hero-stores { gap: 14px; }
  .hero-stores > span { font-size: 12px; gap: 6px; }
  .hero-stores img { width: 26px; height: 28px; }
  .hero-engine { right: 16px; bottom: 18px; gap: 5px; }
  .hero-engine img { width: 23px; height: 23px; }
  .hero-engine > span:first-child { display: none; }
}

/* Équilibre de l’accueil */
:root {
  --hero-content-shift: max(0px, calc((100svh - var(--hero-logo-width) * .625 - 240px) / 2 - var(--header-height) - 24px));
}
.game-logo { top: calc(var(--header-height) + 24px + var(--hero-content-shift)); }
.site-header:not(.is-scrolled) .header-socials {
  top: calc(var(--header-height) + 44px + var(--hero-logo-width) * .625 + var(--hero-content-shift));
}
.hero-availability {
  top: calc(var(--header-height) + 118px + var(--hero-logo-width) * .625 + var(--hero-content-shift));
}
@media (max-width: 760px) {
  .game-logo { top: calc(var(--header-height) + 20px + var(--hero-content-shift)); }
  .site-header:not(.is-scrolled) .header-socials {
    top: calc(var(--header-height) + 40px + var(--hero-logo-width) * .625 + var(--hero-content-shift));
  }
  .hero-availability {
    top: calc(var(--header-height) + 100px + var(--hero-logo-width) * .625 + var(--hero-content-shift));
  }
}

/* Crédit du moteur */
.hero-availability .hero-engine {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 12px;
  color: #c6cbd0;
}
.hero-availability .hero-engine > span:first-child { display: inline; font-size: 11px; }
.hero-availability .hero-engine img { width: 24px; height: 24px; }
:root {
  --hero-content-shift: max(0px, calc((100svh - var(--hero-logo-width) * .625 - 280px) / 2 - var(--header-height) - 24px));
}

/* Décorations des titres */
.video-section .section-heading {
  grid-template-columns: clamp(64px, 9vw, 140px) minmax(0, 1fr);
}
.features-section > .section-inner > .section-heading {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 2vw, 32px); max-width: none;
}
.feature-gems { display: block; flex: 0 0 auto; width: clamp(64px, 9vw, 140px); height: auto; transform: rotate(-8deg); }
#features-title { white-space: nowrap; }
@media (max-width: 1100px) {
  #features-title { white-space: normal; text-wrap: balance; }
}
@media (max-width: 650px) {
  .video-section .section-heading { grid-template-columns: 48px minmax(0, 1fr); }
  .feature-gems { width: 48px; }
}

/* Espacement des pièces */
.video-section .section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 32px);
  max-width: none;
}
.video-section .preview-coins { flex: 0 0 auto; width: clamp(64px, 9vw, 140px); }
.video-section .section-heading h2 { min-width: 0; }
@media (max-width: 650px) {
  .video-section .preview-coins { width: 48px; }
}

/* Commandes d’accueil */
body.has-scrolled .game-logo { opacity: 1; }
.has-scrolled .hero-availability { visibility: visible; }
.site-header:not(.is-scrolled) { visibility: hidden; pointer-events: none; }
.hero .hero-socials {
  position: absolute; z-index: 12;
  left: calc(var(--hero-logo-left) + var(--hero-logo-width) / 2);
  top: calc(var(--header-height) + 44px + var(--hero-logo-width) * .625 + var(--hero-content-shift));
  transform: translateX(-50%); display: flex; gap: 14px;
}
.hero-socials .social-button { width: 46px; height: 46px; }
.hero-socials [role='status'] { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 12px; background: #080b18ed; color: #d5e5ed; border-radius: 6px; font-size: 12px; }
@media (max-width: 760px) {
  .hero .hero-socials { top: calc(var(--header-height) + 40px + var(--hero-logo-width) * .625 + var(--hero-content-shift)); gap: 6px; }
  .hero-socials .social-button { width: 40px; height: 40px; }
}

/* Réseaux en haut */
.hero .hero-socials {
  top: 24px;
  right: clamp(20px, 3vw, 56px);
  left: auto;
  transform: none;
  gap: 10px;
}
.hero-availability {
  top: calc(var(--header-height) + 64px + var(--hero-logo-width) * .625 + var(--hero-content-shift));
}
@media (max-width: 760px) {
  .hero .hero-socials { top: 16px; right: 16px; gap: 7px; }
  .hero-socials .social-button { width: 36px; height: 36px; }
  .hero-availability { top: calc(var(--header-height) + 56px + var(--hero-logo-width) * .625 + var(--hero-content-shift)); }
}

/* Plateformes agrandies */
:root {
  --hero-content-shift: max(0px, calc((100svh - var(--hero-logo-width) * .625 - 265px) / 2 - var(--header-height) - 24px));
}
.hero-availability { top: calc(var(--header-height) + 52px + var(--hero-logo-width) * .625 + var(--hero-content-shift)); }
.hero-availability > p { font-size: clamp(26px, 2.2vw, 36px); margin-bottom: 20px; }
.hero-stores { gap: clamp(20px, 2.4vw, 36px); }
.hero-stores > span { font-size: clamp(16px, 1.4vw, 22px); gap: 10px; }
.hero-stores img { width: 42px; height: 44px; }
.hero-availability .hero-platforms { padding-top: 22px; gap: 24px; }
.hero-availability .hero-platforms svg { width: 32px; height: 32px; }
.hero-availability .hero-engine { margin-top: 22px; font-size: 17px; gap: 9px; }
.hero-availability .hero-engine > span:first-child { font-size: 14px; }
.hero-availability .hero-engine img { width: 32px; height: 32px; }
@media (max-width: 760px) {
  .hero-availability { top: calc(var(--header-height) + 48px + var(--hero-logo-width) * .625 + var(--hero-content-shift)); }
  .hero-availability > p { font-size: 26px; margin-bottom: 16px; }
  .hero-stores { gap: 18px; }
  .hero-stores > span { font-size: 15px; gap: 8px; }
  .hero-stores img { width: 32px; height: 34px; }
  .hero-availability .hero-platforms { padding-top: 18px; }
  .hero-availability .hero-platforms svg { width: 28px; height: 28px; }
  .hero-availability .hero-engine { margin-top: 18px; font-size: 15px; gap: 6px; }
  .hero-availability .hero-engine > span:first-child { font-size: 12px; }
  .hero-availability .hero-engine img { width: 28px; height: 28px; }
}

/* Transition des sections */
.video-section {
  min-height: 0;
  padding-bottom: clamp(24px, 3vw, 40px);
  background: linear-gradient(to bottom, transparent 55%, #090b0f 100%), radial-gradient(ellipse at 15% 50%, #ff7b2409, transparent 42%), radial-gradient(ellipse at 85% 50%, #22d8ff09, transparent 42%), #090b0f;
}
.features-section { border-top: 0; padding-top: clamp(24px, 3vw, 40px); }
.features-section > .section-inner > .section-heading { margin-bottom: clamp(28px, 3vw, 40px); }

/* Espacement des titres */
.video-section { padding-top: clamp(60px, 6vw, 88px); }
.features-section { padding-top: clamp(40px, 4vw, 56px); }
.features-section > .section-inner > .section-heading { margin-bottom: clamp(44px, 4vw, 56px); }

/* Stabilité des calques */
.hero .layer { will-change: auto; }
.hero .scene.is-visible .layer { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero .scene.is-visible .layer { will-change: auto; } }



/* Ancrage du défilement */
html { overflow-anchor: none; }


/* Aperçu vidéo */
.video-frame .video-preview {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: 7px; overflow: hidden;
  background: #050607; color: #fff4df; cursor: pointer;
}
.video-preview > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-preview::after { content: ''; position: absolute; inset: 0; background: #04071055; transition: background .2s; }
.video-preview-content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-family: 'BDCRAFT Goblins', system-ui, sans-serif; font-size: clamp(21px, 2vw, 30px); text-shadow: 0 2px 8px #000; }
.video-play-icon { display: grid; place-items: center; width: clamp(54px, 6vw, 80px); aspect-ratio: 1; padding-left: 4px; border: 1px solid #d1e9e8aa; border-radius: 50%; background: #080d17bf; color: #bceef5; font: 26px system-ui, sans-serif; }
.video-preview:hover::after { background: #04071033; }
.video-preview:focus-visible { outline: 3px solid #bceef5; outline-offset: -5px; }
@media (prefers-reduced-motion: reduce) { .video-preview::after { transition: none; } }


/* Surface du parallax */
.parallax-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.hero.canvas-parallax .scene { visibility: hidden; }
.hero.canvas-parallax .scene .layer { will-change: auto; }

/* Bordures des captures */
.screenshot-slot.screenshot-link {
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(#050607, #050607) padding-box,
    linear-gradient(110deg, #ff8b39, #35363c 40%, #35363c 60%, #50dcff) border-box;
  box-shadow: -12px 0 38px #ff7b2410, 12px 0 38px #22d8ff10;
}
.screenshot-slot.screenshot-link > img { border-radius: 11px; }
.screenshot-slot.screenshot-link:hover {
  border-color: transparent;
  box-shadow: -12px 0 38px #ff7b2428, 12px 0 38px #22d8ff28;
}

/* Fond partagé */
.content-world { position: relative; isolation: isolate; overflow: clip; background: #090b0f; }
.content-world > .video-section,
.content-world > .features-section { background: transparent; isolation: auto; }
.content-world > .features-section { overflow: visible; }
.content-world::before,
.content-world::after {
  inset: -8% -15% -12%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 100%);
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  :root { --hero-logo-width: clamp(150px, 46vw, 210px); --header-height: 60px; }
  .hero { min-height: 700px; background: #080b18 url('assets/3d_sky_21x12.png') center / cover no-repeat; }
  .hero .game-logo { left: 50%; top: 76px; width: var(--hero-logo-width); transform: translateX(-50%); }
  .hero .scene-shade { background: linear-gradient(to bottom, #080b1822, transparent 30%, transparent 70%, #080b18 100%); }
  .hero .hero-availability { left: 16px; right: 16px; width: auto; top: auto; bottom: 24px; }
  .hero-availability > p { font-size: 22px; margin-bottom: 10px; }
  .hero-stores { gap: 24px; }
  .hero-stores > span { font-size: 14px; }
  .hero-stores img { width: 28px; height: 30px; }
  .hero-availability .hero-platforms { padding-top: 12px; gap: 20px; }
  .hero-availability .hero-platforms svg { width: 23px; height: 23px; }
  .hero-availability .hero-engine { margin-top: 10px; font-size: 13px; }
  .hero-availability .hero-engine > span:first-child { font-size: 11px; }
  .hero-availability .hero-engine img { width: 22px; height: 22px; }
  .hero .scroll-cue { left: auto; right: 16px; bottom: 26px; transform: none; }
  .hero .hero-socials { top: 10px; left: 12px; right: auto; gap: 2px; transform: none; }
  .site-header { grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 6px; padding-inline: 12px; }
  .site-header:not(.is-scrolled) { visibility: visible; background: transparent; pointer-events: none; }
  .site-header .mobile-menu-toggle {
    display: grid; place-items: center; grid-column: 3; grid-row: 1;
    justify-self: end; width: 44px; height: 44px; padding: 10px;
    background: #080b184d; border: 0; border-radius: 6px; color: #8ce7ef;
    pointer-events: auto; cursor: pointer;
  }
  .burger-lines { display: grid; gap: 5px; width: 24px; }
  .burger-lines > span { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform .18s, opacity .18s; }
  .menu-open .burger-lines > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger-lines > span:nth-child(2) { opacity: 0; }
  .menu-open .burger-lines > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .header-socials { grid-column: 2; grid-row: 1; position: static; transform: none; gap: 0; justify-self: end; }
  .site-header:not(.is-scrolled) .header-socials { display: none; }
  .site-header .header-logo { width: 76px; height: 48px; }
  .site-header .anchor-nav,
  .site-header:not(.is-scrolled) .anchor-nav { display: none; }
  .site-header.menu-open .anchor-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; bottom: auto;
    width: auto; transform: none; padding: 12px 20px;
    background: #080b18f5; border: 1px solid #8ce7ef33; border-radius: 12px;
    box-shadow: 0 12px 30px #0006; pointer-events: auto;
  }
  .site-header.menu-open .anchor-nav a { display: block; width: 100%; min-height: 48px; padding: 12px 4px; font-size: 24px; color: #e9f0f2; text-align: left; }
  .site-header.menu-open .anchor-nav a::before,
  .site-header.menu-open .anchor-nav a::after { display: none; }
  .site-header.menu-open .anchor-nav a[aria-current] { color: #8ce7ef; }
  .hero-socials .social-button,
  .site-header .social-button,
  .site-footer .social-button {
    display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 44px;
    padding: 9px; border: 0; border-radius: 0; background: none; box-shadow: none;
    color: #83dce9;
  }
  .hero-socials .social-button:nth-child(even),
  .site-header .social-button:nth-child(even),
  .site-footer .social-button:nth-child(even) { color: #de8dcc; }
  .hero-socials .social-button svg,
  .site-header .social-button svg,
  .site-footer .social-button svg { display: block; width: 22px; height: 22px; }
  .social-button:focus-visible, .mobile-menu-toggle:focus-visible { outline: 2px solid #8ce7ef; outline-offset: 2px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .burger-lines > span { transition: none; } }

/* Illustration mobile */
@media (max-width: 760px) {
  :root { --hero-logo-width: clamp(220px, 66vw, 300px); }
  .hero { background: #080b18; }
  .hero .game-logo { top: 76px; width: var(--hero-logo-width); }
}

/* Menu mobile */
.site-header .mobile-social-menu { display: none; }
@media (max-width: 760px) {
  :root { --header-height: 56px; --hero-logo-width: min(58vw, 24svh, 230px); }
  .hero .game-logo { top: 76px; width: var(--hero-logo-width); }
  .site-header,
  .site-header:not(.is-scrolled),
  .site-header.is-scrolled { visibility: visible; background: #030405f5; pointer-events: auto; backdrop-filter: blur(8px); }
  .hero .header-socials.hero-socials,
  .site-header > .header-socials:not(.mobile-social-menu) { display: none; }
  .site-header .anchor-nav,
  .site-header.menu-open .anchor-nav { display: none; }
  .site-header .mobile-menu-toggle { background: none; color: #83dce9; }
  .site-header.menu-open .header-socials.mobile-social-menu {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    position: absolute; top: 100%; left: 0; right: 0; bottom: auto;
    width: auto; transform: none; justify-self: stretch;
    gap: 8px 12px; padding: 18px 20px 22px;
    background: #030405fa; box-shadow: 0 14px 24px #0006;
  }
  .site-header.menu-open .mobile-social-menu .social-button {
    display: flex; align-items: center; justify-content: flex-start;
    width: 100%; min-width: 0; height: 48px; flex: none; padding: 8px 12px;
    gap: 12px; border: 0; background: none; box-shadow: none; text-decoration: none;
    font-family: 'BDCRAFT Goblins', system-ui, sans-serif; font-size: 20px;
  }
  .site-header.menu-open .mobile-social-menu .social-button svg { flex: 0 0 24px; width: 24px; height: 24px; }
  .mobile-social-menu .social-label { color: #e5e9ed; }
  .mobile-social-menu [role='status'] { grid-column: 1 / -1; margin: 6px 12px 0; color: #bac9d2; font-size: 12px; line-height: 1.5; }
}


.mobile-bar-label { display: none; }
@media (max-width: 760px) {
  :root { --hero-logo-width: min(70vw, 280px); }
  .hero .game-logo { top: 68px; width: var(--hero-logo-width); }
  .hero .scene { top: calc(50% + var(--scene-offset-y, 0px)); }
  .site-header .mobile-bar-label {
    display: block; grid-column: 1 / 3; grid-row: 1;
    color: #e9eff1; font: 20px 'BDCRAFT Goblins', system-ui, sans-serif;
    padding-left: 4px;
  }
  .site-header .header-logo { display: none; }
  .site-header .mobile-menu-toggle,
  .site-header:not(.is-scrolled) .mobile-menu-toggle {
    display: grid; visibility: visible; opacity: 1;
    grid-column: 3; grid-row: 1; pointer-events: auto;
  }
}

.hero-platforms img, .footer-platforms img { display: block; width: 25px; height: 25px; object-fit: contain; }
@media (max-width: 760px) {
  .hero .hero-availability { bottom: 80px; }
  .hero-availability > p { font-size: 21px; }
  .hero-availability .hero-platforms img { width: 23px; height: 23px; }
  .hero .scroll-cue { left: 50%; right: auto; bottom: 8px; transform: translateX(-50%); gap: 6px; padding: 8px 14px; }
  .hero .mouse-icon { width: 22px; height: 32px; }
  .hero .mouse-wheel { top: 6px; height: 7px; }
  .hero .scroll-dots { gap: 3px; }
  .hero .scroll-dots span { width: 3px; height: 3px; }
}

/* Barre mobile */
@media (max-width: 760px) {
  .site-header,
  .site-header:not(.is-scrolled),
  .site-header.is-scrolled { background: #030405b3; backdrop-filter: blur(8px); }
  .site-header::after {
    content: ''; position: absolute; top: 100%; left: 0; right: 0;
    height: 24px; pointer-events: none; z-index: -1;
    background: linear-gradient(to bottom, #030405b3, #03040555 45%, transparent);
  }
  .site-header.menu-open::after { display: none; }
  .site-header .mobile-menu-toggle,
  .site-header .mobile-bar-label { color: #fff; }
  .site-header.menu-open .header-socials.mobile-social-menu {
    display: flex; flex-direction: row; justify-content: space-evenly; align-items: center;
    top: 100%; left: 0; right: 0; gap: 10px; padding: 5px 16px;
    background: #030405d9; box-shadow: none; border: 0; border-radius: 0;
  }
  .site-header.menu-open .mobile-social-menu::after {
    content: ''; position: absolute; top: 100%; left: 0; right: 0;
    height: 22px; pointer-events: none;
    background: linear-gradient(to bottom, #030405d9, #03040566 40%, transparent);
  }
  .site-header.menu-open .mobile-social-menu .social-button {
    justify-content: center; width: 44px; height: 44px; flex: 0 0 44px;
    padding: 10px; gap: 0;
  }
  .site-header.menu-open .mobile-social-menu .social-label { display: none; }
  .site-header.menu-open .mobile-social-menu .social-button:nth-child(n),
  .site-footer .social-button:nth-child(n) { color: #fff; }
  .site-header.menu-open .mobile-social-menu [role='status'] {
    position: absolute; top: calc(100% + 16px); left: 16px; right: 16px;
    z-index: 2; margin: 0; padding: 10px 12px; border-radius: 6px;
    background: #030405ed; color: #fff;
  }
}

/* Systèmes sous logo */
.hero .hero-platforms-under-logo { display: none; }
@media (max-width: 760px) {
  .hero .hero-platforms-under-logo {
    display: flex; align-items: center; justify-content: center;
    position: absolute; left: 50%; top: calc(68px + var(--hero-logo-width) / 1.6 + 8px);
    transform: translateX(-50%); z-index: 12;
    width: auto; padding: 0; margin: 0; gap: 16px; color: #fff; opacity: 1;
    filter: drop-shadow(0 2px 4px #000b);
  }
  .hero .hero-platforms-under-logo svg,
  .hero .hero-platforms-under-logo img { display: block; width: 20px; height: 20px; }
  .hero .hero-platforms-under-logo img { filter: brightness(0) invert(1); }
  .hero .hero-availability .hero-platforms { display: none; }
}

/* Menu déroulant */
@media (max-width: 760px) {
  .site-header .mobile-bar-label {
    grid-column: 2; grid-row: 1; justify-self: end;
    padding: 0; margin-right: 6px; font-size: 18px;
  }
  .site-header.menu-open .header-socials.mobile-social-menu {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    position: absolute; top: calc(100% + 4px); right: 6px; left: auto; bottom: auto;
    width: 56px; gap: 4px; padding: 6px; border-radius: 8px;
    background: #030405d9; box-shadow: 0 8px 18px #0004;
  }
  .site-header.menu-open .mobile-social-menu .social-button { flex: 0 0 44px; width: 44px; height: 44px; }
  .site-header.menu-open .mobile-social-menu::after { display: none; }
  .site-header.menu-open .mobile-social-menu [role='status'] {
    top: 6px; right: calc(100% + 10px); left: auto; width: min(220px, calc(100vw - 90px));
  }
}

/* Systèmes à gauche */
.mobile-bar-platforms { display: none; }
@media (max-width: 760px) {
  .site-header { grid-template-columns: 94px minmax(0, 1fr) 44px; }
  .site-header .mobile-bar-platforms { display: flex; align-items: center; gap: 12px; grid-column: 1; grid-row: 1; color: #fff; }
  .mobile-bar-platforms svg, .mobile-bar-platforms img { display: block; width: 20px; height: 20px; }
  .mobile-bar-platforms img { filter: brightness(0) invert(1); }
}

/* Fondu du menu */
@media (max-width: 760px) {
  .site-header.menu-open::after { display: block; }
  .site-header.menu-open .header-socials.mobile-social-menu {
    background: #03040599;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px #0003;
    border-radius: 10px;
  }
}

/* Alignement des paragraphes */
p { text-align: justify; text-align-last: start; hyphens: none; }
p.eyebrow,
p.footer-heading,
.hero-availability > p,
p[role='status'] { text-align: inherit; text-align-last: auto; hyphens: manual; }

/* Lueurs mobiles */
@media (max-width: 760px) {
  .content-world::before,
  .content-world::after {
    inset: -10% -30%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    transform-origin: center;
  }
  .content-world::before {
    animation: usp-fire-mobile 12s ease-in-out infinite,
      usp-mobile-pulse 4.8s ease-in-out infinite;
  }
  .content-world::after {
    animation: usp-ice-mobile 15s ease-in-out -5s infinite,
      usp-mobile-pulse 6.2s ease-in-out -2s infinite;
  }
}
@keyframes usp-fire-mobile {
  0%, 100% { transform: translate3d(-24px, -30px, 0) scale(1.03); }
  24% { transform: translate3d(38px, 44px, 0) scale(1.08); }
  51% { transform: translate3d(8px, -48px, 0) scale(1.02); }
  77% { transform: translate3d(-38px, 36px, 0) scale(1.09); }
}
@keyframes usp-ice-mobile {
  0%, 100% { transform: translate3d(24px, 34px, 0) scale(1.05); }
  30% { transform: translate3d(-38px, -44px, 0) scale(1.02); }
  56% { transform: translate3d(-8px, 48px, 0) scale(1.09); }
  81% { transform: translate3d(38px, -34px, 0) scale(1.03); }
}
@keyframes usp-mobile-pulse {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .content-world::before, .content-world::after { animation: none; transform: none; opacity: .5; }
}

/* Lisibilité du texte */
.video-description p,
.story-copy > p:last-child,
.newsletter-heading > p:last-child { color: #f2f3f5; }
#newsletter-note { color: #d6d9df; }
.site-footer .footer-column > a,
.site-footer .pending-link { color: #e3e7ed; }

/* Défilement natif */
@supports (animation-timeline: view()) and (animation-range: exit 0% exit 100%) {
  @media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
    .hero.native-scroll-parallax { view-timeline-name: --hero-scroll; view-timeline-axis: block; }
    .hero.native-scroll-parallax > .scene,
    .hero.native-scroll-parallax > .parallax-canvas {
      animation: hero-native-scroll 1s linear both;
      animation-timeline: --hero-scroll;
      animation-range: exit 0% exit 100%;
    }
  }
}
@keyframes hero-native-scroll {
  from { translate: 0 0; }
  to { translate: 0 -18px; }
}

/* Voiles translucides */
.site-header, .site-header.is-scrolled, .site-header:not(.is-scrolled),
.site-header.menu-open .header-socials.mobile-social-menu { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Recadrage Krompote */
.goblin-krompote { aspect-ratio: 750 / 784; }
.goblin-krompote img { width: 136.533333%; left: -16%; top: -30.612245%; }

/* Décorations ordinateur */
@media (max-width: 760px) {
  .video-section .section-heading .preview-item,
  .features-section .section-heading .feature-gems { display: none; }
  .video-section .section-heading,
  .features-section > .section-inner > .section-heading { display: block; text-align: center; }
}
/* Footer mobile */
.site-footer .footer-information { min-width: 0; }
.back-to-top {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: fit-content; margin: 28px auto 0; padding: 9px 14px;
  color: #e3e7ed; font-size: 13px; text-decoration: none;
  border: 1px solid #ffffff28; border-radius: 6px;
}
.back-to-top:hover, .back-to-top:focus-visible { color: #fff; border-color: #7dd9eb; }
@media (max-width: 760px) {
  .site-footer { padding: 24px 20px 20px; }
  .site-footer .footer-main {
    width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr);
    align-items: start; gap: 18px; padding: 0;
  }
  .site-footer .footer-explore { display: none; }
  .site-footer .studio-identity {
    min-height: 0; align-self: center; align-items: center; justify-content: center;
  }
  .site-footer .studio-logo {
    position: static; width: 112px; height: auto; max-width: 100%; margin: 0;
  }
  .site-footer .footer-community {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center; justify-items: center; gap: 6px 12px;
  }
  .site-footer .footer-community > .footer-heading:first-child { grid-column: 1; grid-row: 1; }
  .site-footer .footer-socials { grid-column: 1; grid-row: 2; justify-content: center; gap: 8px; flex-wrap: wrap; }
  .site-footer .platform-heading { grid-column: 2; grid-row: 1; margin: 0; font-size: 12px; }
  .site-footer .footer-platforms { grid-column: 2; grid-row: 2; justify-content: center; gap: 14px; }
  .site-footer .footer-socials .social-button { width: 28px; min-width: 28px; height: 36px; padding: 3px; }
  .site-footer .footer-heading { font-size: 18px; margin: 0; }
  .site-footer .footer-information { align-items: center; gap: 6px; font-size: 12px; }
  .site-footer .footer-information .footer-heading { margin-bottom: 2px; }
  .site-footer .back-to-top { margin-top: 18px; padding: 8px 12px; font-size: 12px; }
}

/* Centrage des titres */
.video-section .section-heading,
.features-section > .section-inner > .section-heading {
  display: block;
  text-align: center;
}

/* Réseaux encadrés */
.social-follow-label {
  align-self: center; flex: 0 0 auto; margin-right: 8px; color: #fff;
  font: 20px 'BDCRAFT Goblins', system-ui, sans-serif;
  white-space: nowrap; text-shadow: 0 2px 5px #000;
}
:is(.hero, .site-header) .header-socials .social-button:nth-child(n) {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; min-width: 44px; height: 44px; padding: 10px;
  color: #fff; background: #041219d9; border: 1px solid #36e6ff;
  border-radius: 8px; box-shadow: 0 0 10px #00dfff40, inset 0 0 9px #00dfff18;
  transition: background .18s, box-shadow .18s, border-color .18s;
}
:is(.hero, .site-header) .header-socials .social-button:nth-child(n):is(:hover, :focus-visible) {
  color: #fff; background: #063344; border-color: #adfaff;
  box-shadow: 0 0 9px #00e5ffb3, 0 0 22px #00dfff73, inset 0 0 12px #00dfff33;
  outline: 2px solid #7cf5ff; outline-offset: 3px;
}
:is(.hero, .site-header) .header-socials .social-button svg { width: 24px; height: 24px; flex: 0 0 24px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header .social-follow-label { font-size: 15px; margin-right: 2px; }
  .site-header .header-socials { gap: 6px; }
  .site-header .header-socials .social-button:nth-child(n) { width: 36px; min-width: 36px; height: 36px; padding: 7px; }
  .site-header .header-socials .social-button svg { width: 20px; height: 20px; flex-basis: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.hero, .site-header) .header-socials .social-button:nth-child(n) { transition: none; }
}

/* Réseaux sans cadre */
:is(.hero, .site-header) .header-socials .social-button:nth-child(n),
:is(.hero, .site-header) .header-socials .social-button:nth-child(n):is(:hover, :focus-visible) {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  filter: none; transition: color .18s;
}
:is(.hero, .site-header) .header-socials .social-button:nth-child(n) { color: #fff; }
:is(.hero, .site-header) .header-socials .social-button:nth-child(n):is(:hover, :focus-visible) { color: #00e5ff; }
:is(.hero, .site-header) .header-socials .social-button:nth-child(n):hover:not(:focus-visible) { outline: none; }
@media (prefers-reduced-motion: reduce) {
  :is(.hero, .site-header) .header-socials .social-button:nth-child(n) { transition: none; }
}

/* Épaisseur des bordures */
.video-section .video-frame,
.screenshot-slot.screenshot-link { border-width: 3px; }

/* Ombres des titres */
.section-heading > h2,
.newsletter-heading > h2 {
  text-shadow:
    0 2px 4px rgba(0, 0, 0, .7),
    0 0 12px rgba(0, 0, 0, .65),
    0 0 24px rgba(0, 0, 0, .55),
    0 0 36px rgba(0, 0, 0, .35);
}


/* Taille Krompote */
.usp-goblin.goblin-krompote {
  transform: scale(1.18);
  transform-origin: center bottom;
}

/* Proportions mobiles */
@media (max-width: 760px) {
  .features-section .story-details,
  .features-section .feature-story:nth-child(even) .story-details {
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center; gap: 20px;
  }
  .features-section .story-details .story-copy,
  .features-section .feature-story:nth-child(even) .story-copy {
    grid-column: 1; grid-row: 1; width: 100%; min-width: 0; text-align: left;
  }
  .features-section .story-copy > p:last-child { font-size: 16px; line-height: 1.75; }
  .features-section .story-copy .eyebrow { font-size: 11px; line-height: 1.6; }
  .features-section .story-copy h3 { font-size: 26px; line-height: 1.25; margin-bottom: 18px; }
  .features-section .story-copy::before { margin-left: 0; margin-right: auto; }
  .features-section .story-details .usp-goblin,
  .features-section .feature-story:nth-child(even) .usp-goblin {
    grid-column: 2; grid-row: 1; justify-self: center; align-self: center;
    height: 190px; width: auto; max-width: none; transform: none;
  }
}
@media (max-width: 480px) {
  .features-section .story-details,
  .features-section .feature-story:nth-child(even) .story-details {
    grid-template-columns: minmax(0, 1fr); gap: 20px;
  }
  .features-section .story-details .usp-goblin,
  .features-section .feature-story:nth-child(even) .usp-goblin {
    grid-column: 1; grid-row: 2; height: 200px;
  }
}

/* Plateformes mobiles */
@media (max-width: 760px) {
  .hero .scroll-cue { display: none; }
  .hero .hero-availability {
    top: auto;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    left: 16px; right: 16px; width: auto;
    text-align: center;
  }
  .hero .hero-availability > p {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.2;
    margin-bottom: 18px;
  }
  .hero .hero-stores { justify-content: center; flex-wrap: wrap; gap: 14px 26px; }
  .hero .hero-stores > span { font-size: clamp(18px, 5vw, 22px); gap: 10px; }
  .hero .hero-stores img { width: 38px; height: 40px; object-fit: contain; }
}

/* Position du démon */
@media (max-width: 760px) {
  .newsletter-demon { transform: translateY(-28px); }
}
@media (max-width: 650px) {
  .newsletter-demon { margin-bottom: -8px; }
}

/* Taille du bouton */
.newsletter-content .newsletter-fields { gap: 24px; }
.newsletter-content .newsletter-fields .parchment-cta {
  box-sizing: border-box; flex: 0 0 300px; width: 300px; max-width: 100%;
  min-height: 100px; padding: 22px 42px 26px; font-size: 34px;
}
@media (max-width: 850px) {
  .newsletter-content .newsletter-fields { flex-direction: column; align-items: stretch; gap: 20px; }
  .newsletter-content .newsletter-fields .parchment-cta {
    flex: none; align-self: stretch; width: 100%; min-height: 106px;
    font-size: clamp(30px, 8vw, 38px);
  }
}

/* Colonnes mobiles */
@media (max-width: 760px) {
  .site-footer { padding: 24px 12px 18px; }
  .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 10px 8px; align-items: center;
  }
  .site-footer .footer-community { display: contents; }
  .site-footer .studio-identity { grid-column: 2; grid-row: 1 / span 2; min-width: 0; width: 100%; }
  .site-footer .studio-logo { width: 190px; max-width: 100%; height: auto; }
  .site-footer .footer-community > .footer-heading:first-child,
  .site-footer .footer-community > .platform-heading {
    font: 400 clamp(12px, 3.4vw, 18px)/1.3 'BDCRAFT Goblins', system-ui, sans-serif;
    text-align: center; color: #f3ddba; margin: 0; align-self: end;
  }
  .site-footer .footer-community > .footer-heading:first-child { grid-column: 1; grid-row: 1; }
  .site-footer .footer-community > .platform-heading { grid-column: 3; grid-row: 1; }
  .site-footer .footer-socials {
    display: grid; grid-template-columns: repeat(2, 28px); grid-column: 1; grid-row: 2;
    gap: 4px 6px; align-self: start; justify-content: center; position: relative;
  }
  .site-footer .footer-socials .social-button { width: 28px; min-width: 28px; height: 32px; padding: 3px; }
  .site-footer .footer-socials [role='status'] { grid-column: 1 / -1; font-size: 11px; overflow-wrap: anywhere; }
  .site-footer .footer-platforms {
    grid-column: 3; grid-row: 2; align-self: start; display: flex;
    justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap;
  }
  .site-footer .footer-platforms svg,
  .site-footer .footer-platforms img { width: 21px; height: 21px; }
  .site-footer .footer-information {
    grid-column: 1 / -1; grid-row: 3; display: flex; flex-direction: row;
    align-items: center; justify-content: center; gap: clamp(8px, 2.5vw, 18px);
    margin-top: 6px; font-size: clamp(10px, 2.6vw, 12px); white-space: nowrap;
  }
  .site-footer .footer-information .footer-heading { font-size: inherit; margin: 0; }
  .site-footer .back-to-top {
    width: 42px; height: 42px; box-sizing: border-box; border-radius: 50%;
    padding: 0; margin: 16px auto 0; gap: 0; font-size: 25px;
  }
  .site-footer .back-to-top-label { display: none; }
}

/* Titres du footer */
@media (max-width: 760px) {
  .site-footer .footer-information {
    display: grid; grid-template-columns: repeat(3, auto);
    width: 100%; gap: 10px clamp(8px, 3vw, 18px); margin-top: 14px;
    justify-content: center; justify-items: center; white-space: nowrap; text-align: center;
    font-size: 12px;
  }
  .site-footer .footer-information .footer-heading {
    grid-column: 1 / -1; width: 100%; margin: 0;
    font: 400 clamp(12px, 3.4vw, 18px)/1.3 'BDCRAFT Goblins', system-ui, sans-serif;
    color: #f3ddba; text-align: center;
  }
  .site-footer .footer-information .pending-link { line-height: 1.5; }
}

/* Apparitions animées */
.reveal-pending { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .reveal-pending { opacity: 1; } }

/* Marges mobiles */
@media (max-width: 760px) {
  .content-world > .video-section,
  .content-world > .features-section { padding-inline: 24px; }
  .video-section > .section-inner,
  .features-section > .section-inner { width: 100%; min-width: 0; max-width: 100%; }
  .video-section .video-frame,
  .features-section .screenshot-slot { box-sizing: border-box; min-width: 0; max-width: 100%; }
}

/* Colonne mobile */
@media (max-width: 760px) {
  .content-world > .video-section > .section-inner,
  .content-world > .features-section > .section-inner {
    width: 100%; max-width: 100%; min-width: 0; margin-inline: auto;
  }
  .features-section .feature-story,
  .features-section .feature-story:nth-child(even) {
    width: 100%; min-width: 0; margin-inline: auto; padding-inline: 0;
    grid-template-columns: minmax(0, 1fr); justify-items: stretch;
  }
  .features-section .feature-story > .screenshot-slot,
  .features-section .feature-story:nth-child(even) > .screenshot-slot {
    grid-column: 1; grid-row: 1; width: 100%; margin-inline: 0;
  }
  .features-section .feature-story > .story-details,
  .features-section .feature-story:nth-child(even) > .story-details {
    grid-column: 1; grid-row: 2; width: 100%; min-width: 0; margin-inline: 0;
  }
  .video-section .video-presentation,
  .video-section .video-description,
  .features-section .newsletter-band {
    width: 100%; min-width: 0; max-width: 100%; margin-inline: auto;
  }
  .video-section .section-heading,
  .features-section > .section-inner > .section-heading {
    width: 100%; max-width: 100%; margin-inline: auto;
  }
}

/* Alignement mobile */
@media (max-width: 760px) {
  :root { --mobile-gutter: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
  .content-world > .video-section,
  .content-world > .features-section,
  .site-footer { padding-inline: var(--mobile-gutter); }
  .content-world > .section > .section-inner,
  .content-world .feature-stories,
  .content-world .video-presentation,
  .content-world .video-description,
  .content-world .feature-story,
  .content-world .story-details,
  .content-world .story-copy,
  .content-world .newsletter-band,
  .content-world .newsletter-content,
  .content-world .newsletter-heading,
  .content-world .newsletter-form,
  .content-world .newsletter-fields {
    box-sizing: border-box;
    min-width: 0; width: 100%; max-width: none;
    margin-inline: 0; padding-inline: 0;
  }
  .content-world .feature-story .story-details,
  .content-world .feature-story:nth-child(even) .story-details,
  .content-world .features-section .newsletter-band {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }
  .content-world .feature-story .story-copy,
  .content-world .feature-story:nth-child(even) .story-copy {
    grid-column: 1; grid-row: 1;
    width: 100%; max-width: none; margin-inline: 0;
  }
  .content-world .feature-story .usp-goblin,
  .content-world .feature-story:nth-child(even) .usp-goblin {
    grid-column: 1; grid-row: 2; justify-self: center;
    height: 200px; width: auto; max-width: 100%;
  }
  .content-world .newsletter-demon { grid-column: 1; grid-row: 1; max-width: 160px; }
  .content-world .newsletter-content { grid-column: 1; grid-row: 2; }
  .content-world .newsletter-heading { text-align: center; }
  .content-world .newsletter-heading > p,
  .content-world .video-description > p,
  .content-world .story-copy > p {
    max-width: none; margin-inline: 0; overflow-wrap: break-word;
  }
  .content-world h2, .content-world h3 { max-width: 100%; white-space: normal; overflow-wrap: break-word; }
  .content-world .newsletter-fields { flex-direction: column; align-items: stretch; }
  .content-world .newsletter-fields input,
  .content-world .newsletter-fields .parchment-cta { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; }
  .site-footer .footer-main { width: 100%; min-width: 0; margin-inline: 0; padding-inline: 0; }
}

/* Feu du démon */
.newsletter-demon {
  isolation: isolate; overflow: visible; mask-image: none; -webkit-mask-image: none;
  scale: 1; transform-origin: center bottom;
  transition: scale 450ms ease;
}
.newsletter-demon-art {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  mask-image: linear-gradient(#000 83%, transparent 100%);
  -webkit-mask-image: linear-gradient(#000 83%, transparent 100%);
}
.newsletter-demon::before, .newsletter-demon::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  inset: -1.15% -39.25% .85%; border-radius: 50%;
  mask-image: none; -webkit-mask-image: none;
  opacity: 0; filter: blur(15px);
  transition: opacity 450ms ease;
}
.newsletter-demon::before {
  background:
    radial-gradient(ellipse 22% 38% at 28% 65%, #ff941bd9 0%, #ff4b1880 40%, transparent 100%),
    radial-gradient(ellipse 24% 34% at 73% 60%, #ff751ae6 0%, #ff401a80 42%, transparent 100%),
    radial-gradient(ellipse 37% 32% at 50% 72%, #ff5e1ba6 0%, transparent 100%);
  animation: recruiter-fire 3.2s ease-in-out infinite alternate;
}
.newsletter-demon::after {
  background:
    radial-gradient(ellipse 13% 29% at 27% 61%, #ffd17ac7 0%, #ff861f85 35%, transparent 100%),
    radial-gradient(ellipse 16% 32% at 74% 48%, #ffbe59cc 0%, #ff681e80 38%, transparent 100%);
  filter: blur(11px);
  animation: recruiter-embers 2.3s ease-in-out infinite alternate;
}
@keyframes recruiter-fire {
  0% { transform: translate(-2%, 3%) scale(.94, .96); }
  40% { transform: translate(3%, -2%) scale(1.06, 1.04); }
  100% { transform: translate(-3%, -5%) scale(.98, 1.1); }
}
@keyframes recruiter-embers {
  0% { transform: translate(3%, 6%) scale(.92, .9) rotate(-4deg); }
  55% { transform: translate(-3%, -3%) scale(1.06, 1.08) rotate(3deg); }
  100% { transform: translate(1%, -8%) scale(.97, 1.13) rotate(-2deg); }
}
@media (hover: hover) and (pointer: fine) {
  .newsletter-demon:hover { scale: 1.045; }
  .newsletter-demon:hover::before { opacity: 1; }
  .newsletter-demon:hover::after { opacity: .95; }
}
@media (max-width: 650px) {
  .newsletter-demon-art {
    mask-image: linear-gradient(#000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(#000 75%, transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .newsletter-demon, .newsletter-demon::before, .newsletter-demon::after { transition: none; animation: none; }
  .newsletter-demon:hover { scale: 1; }
}

/* Survol mobile */
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .newsletter-demon::before, .newsletter-demon::after { opacity: 0; }
  .newsletter-demon:hover::before { opacity: .5; }
  .newsletter-demon:hover::after { opacity: .475; }
  .newsletter-demon:hover { scale: 1; }
}

/* Feu du bouton */
.newsletter-fields .parchment-cta {
  position: relative; isolation: isolate; overflow: visible; background: none;
}
.newsletter-fields .parchment-cta::before {
  content: ''; position: absolute; z-index: -2; pointer-events: none;
  inset: -38% -9% -18%; border-radius: 50%; opacity: 0;
  background:
    radial-gradient(ellipse 25% 38% at 24% 62%, #ff941bd9, #ff4b1880 40%, transparent 100%),
    radial-gradient(ellipse 29% 42% at 73% 55%, #ffb34bd9, #ff581a80 42%, transparent 100%),
    radial-gradient(ellipse 40% 36% at 50% 68%, #ff651ba6, transparent 100%);
  filter: blur(12px);
  transition: opacity 450ms ease;
  animation: recruiter-fire 3.2s ease-in-out infinite alternate;
}
.newsletter-fields .parchment-cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('assets/newsletter-scroll.svg') center / 100% 100% no-repeat;
}
.newsletter-fields .parchment-cta:is(:hover, :focus-visible)::before { opacity: 1; }
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .newsletter-fields .parchment-cta:is(:hover, :focus-visible)::before { opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .newsletter-fields .parchment-cta::before { animation: none; transition: none; }
}

/* Icônes des arguments */
.usp-goblin {
  overflow: visible; isolation: isolate;
  mask-image: none; -webkit-mask-image: none;
}
.usp-character-art {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 86%, #000c 91%, #0005 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, #000c 91%, #0005 97%, transparent 100%);
}
.usp-goblin img.usp-icon {
  position: absolute; z-index: 0;
  width: 85%; height: auto; max-width: none;
  left: -22%; top: -12%;
  opacity: .65; transform: rotate(-10deg);
  filter: drop-shadow(0 5px 12px #0008);
}
.feature-story:nth-child(even) .usp-goblin img.usp-icon {
  left: auto; right: -22%; transform: rotate(10deg);
}
@media (max-width: 760px) {
  .usp-goblin img.usp-icon { width: 80%; left: -20%; top: -8%; }
  .feature-story:nth-child(even) .usp-goblin img.usp-icon { left: auto; right: -20%; }
}

/* Décalage des icônes */
.usp-goblin img.usp-icon { left: -30%; top: -18%; }
.feature-story:nth-child(even) .usp-goblin img.usp-icon { left: auto; right: -30%; }
@media (max-width: 760px) {
  .usp-goblin img.usp-icon { left: -26%; top: -13%; }
  .feature-story:nth-child(even) .usp-goblin img.usp-icon { left: auto; right: -26%; }
}

/* Survol des captures */
.features-section .screenshot-link {
  scale: 1;
  transform-origin: center;
  transition: scale 300ms ease, border-color 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .features-section .screenshot-link:hover { scale: 1.02; }
}
@media (prefers-reduced-motion: reduce) {
  .features-section .screenshot-link { transition: none; }
  .features-section .screenshot-link:hover { scale: 1; }
}


/* Ombre interne */
.hero { background-color: #090b0f; box-shadow: none; border-bottom: 0; }
.hero .scene-shade {
  z-index: 2;
  background: linear-gradient(to top, #090b0f, transparent) bottom / 100% 140px no-repeat;
}
.hero .hero-availability { z-index: 10; }
.content-world { isolation: isolate; }
.content-world::before, .content-world::after { z-index: -1; }
.content-world > .video-section { position: relative; }
.content-world > .video-section::before {
  content: ''; display: block; position: absolute;
  top: 0; left: 0; right: 0; height: 260px;
  z-index: 0; pointer-events: none;
  background: transparent; border: 0; opacity: 1;
  box-shadow: inset 0 125px 95px -20px #090b0f;
}
.content-world > .video-section > .section-inner { position: relative; z-index: 1; }

/* Bouton contrat */
.newsletter-content .newsletter-fields .parchment-cta {
  flex: 0 0 260px; align-self: center;
  width: 260px; max-width: 100%; min-height: 0; height: auto;
  aspect-ratio: 280 / 320; padding: 110px 38px 120px;
  color: #302630; font-size: 29px; line-height: 1.2;
  text-shadow: 0 1px 0 #eee5cf66;
  background: none;
}
.newsletter-fields .parchment-cta::after {
  background-image: url('assets/newsletter-contract.svg');
}
.newsletter-fields .parchment-cta::before { inset: -8% -15%; }
@media (max-width: 850px) {
  .newsletter-content .newsletter-fields .parchment-cta {
    flex: none; align-self: center; width: min(100%, 280px);
    min-height: 0; font-size: 30px;
  }
}

/* Texte du bouton */
.newsletter-content .newsletter-fields .parchment-cta {
  font-size: 34px;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding-inline: 24px;
}

/* Champ newsletter */
.newsletter-email-column { flex: 1 1 0; min-width: 0; width: 100%; }
.newsletter-email-column input { display: block; box-sizing: border-box; }
.newsletter-email-column #newsletter-note { margin: 12px 0 0; }
@media (min-width: 851px) {
  .features-section .newsletter-band { align-items: end; }
  .newsletter-content { padding-bottom: 0; }
  .newsletter-demon { align-self: end; margin-bottom: 0; }
  .newsletter-content .newsletter-fields { align-items: center; }
}
@media (max-width: 850px) {
  .newsletter-email-column { flex: none; }
}

/* Halo du contrat */
.newsletter-fields .parchment-cta::before {
  inset: -6% -12%;
  background: radial-gradient(ellipse at 50% 55%,
    #ff8b20b3 0%, #e9581980 30%, #a9271240 48%, transparent 72%);
  filter: blur(18px);
  animation: pact-glow 3.4s ease-in-out infinite;
}
@keyframes pact-glow {
  0%, 100% { transform: scale(.95); filter: blur(18px) brightness(.8); }
  50% { transform: scale(1.06); filter: blur(21px) brightness(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .newsletter-fields .parchment-cta::before { animation: none; }
}

/* Espacement Krompote */
@media (max-width: 760px) {
  .content-world .feature-story:last-child .story-details { row-gap: 48px; }
  .content-world .feature-story:last-child .story-copy {
    position: relative; z-index: 1;
  }
  .content-world .feature-story:last-child .usp-goblin {
    align-self: start; transform: none; scale: 1; margin-top: 0;
  }
}

/* Disposition newsletter mobile */
@media (max-width: 760px) {
  .content-world .features-section .newsletter-band {
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 14px 16px; align-items: center;
  }
  .content-world .newsletter-content,
  .content-world .newsletter-heading { display: contents; }
  .content-world .newsletter-band > .newsletter-demon {
    grid-column: 2; grid-row: 1 / span 2;
    width: 100px; max-width: 100%; margin: 0;
    align-self: center; transform: none;
  }
  .content-world .newsletter-heading > .eyebrow {
    grid-column: 1; grid-row: 1; margin: 0;
    text-align: left; align-self: end;
  }
  .content-world .newsletter-heading > h2 {
    grid-column: 1; grid-row: 2; margin: 0;
    text-align: left; align-self: start;
  }
  .content-world .newsletter-heading > p:last-child {
    grid-column: 1 / -1; grid-row: 3; margin: 8px 0 0;
  }
  .content-world .newsletter-form {
    grid-column: 1 / -1; grid-row: 4; margin-top: 10px;
  }
  .newsletter-content .newsletter-fields .parchment-cta {
    width: min(100%, 210px); padding: 80px 18px 85px;
    font-size: 28px; min-height: 0;
  }
}

/* Centrage du démon */
@media (max-width: 760px) {
  .content-world .features-section .newsletter-band {
    grid-template-columns: minmax(0, 1fr) 120px;
    column-gap: 8px;
  }
  .content-world .newsletter-band > .newsletter-demon {
    width: 120px; justify-self: center; align-self: center;
  }
  .newsletter-band > .newsletter-demon .newsletter-demon-art img { left: -40%; }
}

/* Démon agrandi */
@media (max-width: 760px) {
  .content-world .newsletter-band > .newsletter-demon {
    width: 158.7px; max-width: none;
    justify-self: end;
  }
}

/* Espace du démon */
@media (max-width: 760px) {
  .content-world .features-section .newsletter-band {
    grid-template-columns: minmax(0, 1fr) clamp(120px, 35vw, 142px);
    column-gap: 12px;
  }
  .content-world .newsletter-band > .newsletter-demon {
    width: 100%; max-width: 142px; min-width: 0;
    justify-self: center;
  }
}

/* Orientation des gobelins */
.features-section .goblin-blue > .usp-character-art,
.features-section .goblin-red > .usp-character-art {
  transform: scaleX(-1);
  transform-origin: center;
}

/* Position gobelin bleu */
.features-section .goblin-blue > .usp-character-art {
  translate: 16px 0;
}

/* Position icône bleue */
.features-section .goblin-blue > img.usp-icon {
  translate: -16px 0;
}

/* Trait deuxième argument */
.features-section .feature-story:nth-child(2) .story-copy::before {
  margin-left: auto;
  margin-right: 0;
}
@media (max-width: 760px) {
  .features-section .feature-story:nth-child(2) .story-copy::before {
    margin-left: 0;
    margin-right: auto;
  }
}

/* Symboles des plateformes */
.hero-platforms img, .footer-platforms img, .mobile-bar-platforms img {
  filter: none; opacity: 1; object-fit: contain;
}
.hero-platforms { flex-wrap: wrap; }
@media (max-width: 760px) {
  .site-header .mobile-bar-platforms { display: flex; flex-wrap: nowrap; gap: 10px; min-width: 0; }
  .mobile-bar-platforms svg, .mobile-bar-platforms img { width: 18px; height: 18px; }
  .site-footer .footer-platforms { display: grid; grid-template-columns: repeat(3, 21px); gap: 8px; justify-content: center; }
}

/* Noms des plateformes */
.platform-mark {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; scale: 1;
  transition: scale 180ms ease;
}
.platform-mark > svg, .platform-mark > img {
  opacity: .72; transition: opacity 180ms ease;
}
.platform-mark::after {
  content: attr(data-platform); position: absolute; z-index: 30;
  top: calc(100% + 8px); left: 50%; transform: translate(-50%, -3px);
  padding: 5px 8px; border-radius: 4px;
  background: #080b0ff2; color: #fff;
  font: 12px/1.3 system-ui, sans-serif; letter-spacing: normal;
  white-space: nowrap; pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.platform-mark:is(:hover, :focus) { scale: 1.01; color: #fff; z-index: 3; }
.platform-mark:is(:hover, :focus) > svg,
.platform-mark:is(:hover, :focus) > img { opacity: 1; }
.platform-mark:is(:hover, :focus)::after {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.platform-mark:focus { outline: none; }
.platform-mark:focus-visible { outline: 1px solid #a9edff; outline-offset: 4px; border-radius: 2px; }
@media (max-width: 760px) {
  .mobile-bar-platforms .platform-mark:first-child::after { left: 0; transform: translate(0, -3px); }
  .mobile-bar-platforms .platform-mark:first-child:is(:hover, :focus)::after { transform: translate(0, 0); }
  .footer-platforms .platform-mark:nth-child(3)::after { left: auto; right: 0; transform: translate(0, -3px); }
  .footer-platforms .platform-mark:nth-child(3):is(:hover, :focus)::after { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .platform-mark, .platform-mark > svg, .platform-mark > img, .platform-mark::after { transition: none; }
}

.hero .hero-availability .hero-platforms,
.site-header .mobile-bar-platforms,
.site-footer .footer-platforms { opacity: 1; color: #fff; }

/* Liens légaux */
.site-footer .footer-information > a {
  display: inline-block;
  scale: 1;
  transform-origin: center;
  transition: scale 180ms ease, color 180ms ease;
}
.site-footer .footer-information > a:is(:hover, :focus-visible) {
  scale: 1.01;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-information > a { transition: none; }
}

/* Lien du studio */
.site-footer .studio-identity .studio-logo {
  scale: 1;
  transition: scale 180ms ease;
}
.site-footer .studio-identity:is(:hover, :focus-visible) .studio-logo { scale: 1.01; }
.site-footer .studio-identity:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
  .site-footer .studio-identity .studio-logo { transition: none; }
}

/* Colonnes du footer */
@media (min-width: 761px) {
  .site-footer { padding-block: 36px 28px; }
  .site-footer .footer-main {
    grid-template-columns: minmax(150px, 1fr) minmax(180px, 1.1fr) minmax(160px, 1fr) minmax(150px, 1fr);
    align-items: stretch; gap: 28px;
  }
  .site-footer .footer-column { min-height: 140px; align-self: stretch; padding-top: 8px; gap: 16px; }
  .site-footer .studio-identity { min-height: 160px; align-self: stretch; }
  .site-footer .footer-heading,
  .site-footer .platform-heading { font: 400 22px/1.3 'BDCRAFT Goblins', system-ui, sans-serif; color: #f3ddba; margin: 0 0 10px; }
  .site-footer .footer-platforms { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
  .site-footer .footer-platforms img, .site-footer .footer-platforms svg { width: 27px; height: 27px; }
  .site-footer .back-to-top { margin-top: 18px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .site-footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-footer .footer-availability { display: contents; }
  .site-footer .footer-availability > .platform-heading {
    grid-column: 3; grid-row: 1; align-self: end;
    margin: 0; text-align: center; color: #f3ddba;
    font: 400 clamp(12px, 3.4vw, 18px)/1.3 'BDCRAFT Goblins', system-ui, sans-serif;
  }
  .site-footer .footer-availability > .footer-platforms { grid-column: 3; grid-row: 2; }
}

/* Copyright et retour */
.site-footer .footer-closing {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; width: 100%; margin-top: 24px;
}
.site-footer .footer-copyright {
  flex: 1; min-width: 0; margin: 0;
  color: #b9bec6; font: 12px/1.6 system-ui, sans-serif;
  text-align: left;
}
.site-footer .footer-closing .back-to-top {
  flex: 0 0 auto; margin: 0 0 0 auto;
}
@media (max-width: 760px) {
  .site-footer .footer-closing { margin-top: 20px; gap: 12px; }
  .site-footer .footer-copyright { font-size: 11px; }
}

/* Logo et copyright */
.site-footer .footer-closing {
  position: relative; justify-content: center; min-height: 42px;
}
.site-footer .footer-copyright {
  flex: 1; text-align: center; padding-inline: 150px;
}
.site-footer .footer-closing .back-to-top {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
}
@media (min-width: 1001px) {
  .site-footer {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(180px, 1.1fr) minmax(160px, 1fr) minmax(150px, 1fr);
    column-gap: 28px; row-gap: 12px;
  }
  .site-footer .footer-main { display: contents; }
  .site-footer .studio-identity {
    grid-column: 1; grid-row: 1 / span 2;
    align-self: stretch; min-height: 220px;
  }
  .site-footer .studio-logo {
    position: absolute; inset: 0; width: 100%; height: 100%;
    max-width: none; margin: 0; object-fit: contain;
  }
  .site-footer .footer-availability { grid-column: 2; grid-row: 1; }
  .site-footer .footer-community { grid-column: 3; grid-row: 1; }
  .site-footer .footer-information { grid-column: 4; grid-row: 1; }
  .site-footer .footer-closing { grid-column: 1 / -1; grid-row: 2; margin-top: 0; pointer-events: none; }
  .site-footer .footer-closing .back-to-top { pointer-events: auto; }
}
@media (max-width: 760px) {
  .site-footer .footer-copyright { padding-inline: 48px; }
}

/* Centrage du copyright */
.site-footer .footer-closing .footer-copyright {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  flex: none; width: max-content;
  max-width: calc(100% - 100px);
  padding: 0; margin: 0;
  text-align: center;
}
@media (min-width: 761px) {
  .site-footer .footer-closing .footer-copyright { max-width: calc(100% - 300px); }
}
@media (max-width: 760px) {
  .site-footer .footer-closing .footer-copyright { left: calc(50% - 12px); }
}

/* Disposition des réseaux */
@media (max-width: 760px) {
  .site-header.menu-open .mobile-social-menu { max-height: calc(100svh - 90px); overflow-y: auto; }
}

/* Logo supérieur */
.hero-studio-link {
  position: absolute; z-index: 15; top: 12px; left: clamp(20px, 3vw, 56px);
  display: block; width: 84px; height: 84px;
}
.hero-studio-link img, .mobile-studio-link img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  transition: scale 180ms ease;
}
.hero-studio-link:hover img, .mobile-studio-link:hover img { scale: 1.01; }
.hero-studio-link:hover img { scale: 1.02; }
.mobile-studio-link { display: none; }
.hero-studio-link:focus-visible, .mobile-studio-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) {
  .hero-studio-link { display: none; }
  .site-header .mobile-studio-link {
    display: block; position: absolute; z-index: 3;
    left: 50%; top: 4px; transform: translateX(-50%);
    width: 48px; height: 48px; pointer-events: auto;
  }
  .site-header .mobile-bar-platforms { gap: 6px; }
  .site-header .mobile-bar-platforms svg,
  .site-header .mobile-bar-platforms img { width: 14px; height: 14px; }
  .site-header .mobile-bar-label { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-studio-link img, .mobile-studio-link img { transition: none; }
}

/* Oscillation des icônes */
.features-section .usp-goblin > img.usp-icon {
  transform: none;
  transform-origin: 50% 65%;
  animation: usp-icon-swing 8s ease-in-out infinite;
}
.features-section .feature-story:nth-child(2) img.usp-icon { animation-delay: -2s; }
.features-section .feature-story:nth-child(3) img.usp-icon { animation-delay: -4s; }
.features-section .feature-story:nth-child(4) img.usp-icon { animation-delay: -6s; }
@keyframes usp-icon-swing {
  0%, 100% { rotate: -10deg; }
  50% { rotate: 10deg; }
}
@media (prefers-reduced-motion: reduce) {
  .features-section .usp-goblin > img.usp-icon { animation: none; rotate: 0deg; }
}

/* Césure désactivée */
p, h1, h2, h3, label {
  -webkit-hyphens: none;
  hyphens: none;
}

/* Réseaux du footer */
.site-footer .footer-socials .social-button:nth-child(n),
.site-footer .footer-socials .social-button:nth-child(n):is(:hover, :focus-visible) {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 0;
  box-shadow: none; filter: none; opacity: 1;
  transition: color 180ms ease;
}
.site-footer .footer-socials .social-button:nth-child(n) { color: #fff; }
.site-footer .footer-socials .social-button:nth-child(n):is(:hover, :focus-visible) { color: #00e5ff; }
.site-footer .footer-socials .social-button svg { width: 24px; height: 24px; flex: 0 0 24px; }
.site-footer .footer-socials .social-button:focus-visible { outline: 2px solid #7cf5ff; outline-offset: 3px; }
.site-footer .footer-socials .social-button:hover:not(:focus-visible) { outline: none; }
@media (min-width: 761px) {
  .site-footer .footer-socials .social-button:nth-child(n) {
    width: 44px; min-width: 44px; height: 44px; flex: 0 0 44px; padding: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-socials .social-button:nth-child(n) { transition: none; }
}

/* Personnages mobiles */
@media (max-width: 760px) {
  .content-world .feature-story .story-details { row-gap: 36px; }
  .content-world .feature-story:last-child .story-details { row-gap: 64px; }
  .content-world .feature-story .usp-goblin,
  .content-world .feature-story:nth-child(even) .usp-goblin {
    height: 220px;
  }
}
@media (max-width: 360px) {
  .content-world .feature-story .usp-goblin,
  .content-world .feature-story:nth-child(even) .usp-goblin { height: 205px; }
}


/* Réglage Firefox */
@supports (-moz-appearance: none) {
  @media (prefers-reduced-motion: no-preference) {
    .content-world::before {
      animation: firefox-fire-drift 18s ease-in-out infinite;
    }
    .content-world::after {
      animation: firefox-ice-drift 21s ease-in-out -9s infinite;
    }
  }
  @media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
    .content-world::before { animation-duration: 12s; }
    .content-world::after { animation-duration: 15s; }
  }
}
@keyframes firefox-fire-drift {
  0%, 100% { transform: translate3d(-20px, -16px, 0); opacity: .5; }
  35% { transform: translate3d(24px, 20px, 0); opacity: .85; }
  70% { transform: translate3d(-12px, 26px, 0); opacity: .55; }
}
@keyframes firefox-ice-drift {
  0%, 100% { transform: translate3d(20px, 16px, 0); opacity: .65; }
  40% { transform: translate3d(-24px, -20px, 0); opacity: .4; }
  75% { transform: translate3d(12px, -26px, 0); opacity: .85; }
}

/* Décalage horizontal mobile */
@media (max-width: 760px) {
  .features-section .usp-goblin > img.usp-icon {
    left: max(-38%, calc((100% - 100vw) / 2 + 32px));
    right: auto;
    translate: 0 0;
  }
  .features-section .feature-story:nth-child(even) .usp-goblin > img.usp-icon {
    left: auto;
    right: max(-38%, calc((100% - 100vw) / 2 + 32px));
  }
}

/* Espacement des icônes */
@media (max-width: 760px) {
  .content-world .feature-story .usp-goblin { translate: 16px 0; }
  .content-world .feature-story:nth-child(even) .usp-goblin { translate: -16px 0; }
  .features-section .usp-goblin > img.usp-icon {
    width: 65%;
    left: max(-44%, calc((100% - 100vw) / 2 + 16px));
    right: auto;
  }
  .features-section .feature-story:nth-child(even) .usp-goblin > img.usp-icon {
    left: auto;
    right: max(-44%, calc((100% - 100vw) / 2 + 16px));
  }
}

/* Ordre mobile */
@media (max-width: 760px) {
  .content-world .feature-story .story-details,
  .content-world .feature-story:nth-child(even) .story-details,
  .content-world .feature-story .story-copy,
  .content-world .feature-story:nth-child(even) .story-copy { display: contents; }
  .content-world .feature-story .story-copy::before { display: none; }
  .content-world .feature-story .story-heading {
    grid-column: 1; grid-row: 1; min-width: 0; width: 100%;
  }
  .content-world .feature-story .story-heading::before {
    content: ''; display: block; width: 76px; height: 3px;
    margin: 0 0 24px;
    background: linear-gradient(90deg, var(--story-color), transparent);
  }
  .content-world .feature-story > .screenshot-slot,
  .content-world .feature-story:nth-child(even) > .screenshot-slot {
    grid-column: 1; grid-row: 2; margin: 0;
  }
  .content-world .feature-story .story-copy > p {
    grid-column: 1; grid-row: 3; margin: 0; min-width: 0;
  }
  .content-world .feature-story .usp-goblin,
  .content-world .feature-story:nth-child(even) .usp-goblin {
    grid-column: 1; grid-row: 4; margin-top: 20px;
  }
  .content-world .feature-story:last-child .usp-goblin { margin-top: 36px; }
  .content-world .feature-story { row-gap: 24px; }
}

/* Icône gobelin orange */
@media (max-width: 760px) {
  .features-section .feature-story:nth-child(3) .goblin-red > img.usp-icon {
    top: 12%;
  }
}

/* Centrage des duos */
@media (max-width: 760px) {
  .goblin-blue { --portrait-ratio: .81712; }
  .goblin-green { --portrait-ratio: .69943; }
  .goblin-red { --portrait-ratio: .71291; }
  .goblin-krompote { --portrait-ratio: .95663; }
  .content-world .feature-story .usp-goblin,
  .content-world .feature-story:nth-child(even) .usp-goblin {
    width: min(calc(220px * var(--portrait-ratio)), calc((100vw - 64px) / 1.6));
    max-width: none; height: auto; justify-self: center;
    translate: 26% 0;
  }
  .content-world .feature-story:nth-child(even) .usp-goblin { translate: -26% 0; }
  .features-section .usp-goblin > img.usp-icon {
    width: 80%; left: -52%; right: auto; translate: 0 0;
  }
  .features-section .feature-story:nth-child(even) .usp-goblin > img.usp-icon {
    left: auto; right: -52%;
  }
  .features-section .goblin-blue > .usp-character-art { translate: 0 0; }
}

/* Trois premières icônes */
@media (max-width: 760px) {
  .features-section .feature-story:nth-child(-n+3) .usp-goblin > img.usp-icon {
    width: 88%; left: -64%; right: auto;
  }
  .features-section .feature-story:nth-child(2) .usp-goblin > img.usp-icon {
    left: auto; right: -64%;
  }
  .content-world .feature-story:nth-child(-n+3) .usp-goblin {
    width: min(calc(220px * var(--portrait-ratio)), calc((100vw - 64px) / 1.75));
    translate: 32% 0;
  }
  .content-world .feature-story:nth-child(2) .usp-goblin { translate: -32% 0; }
}

/* Première icône abaissée */
@media (max-width: 760px) {
  .features-section .feature-story:first-child .goblin-blue > img.usp-icon {
    top: calc(-13% + 10px);
  }
}

/* Champ mobile lisible */
@media (max-width: 1023px), (pointer: coarse) {
  .newsletter-form #newsletter-email {
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%; max-width: 100%; min-width: 0;
  }
}
/* Largeur mobile stable */
@media (max-width: 760px) {
  html, body { max-width: 100%; overflow-x: clip; }
}

/* Texte e-mail blanc */
.newsletter-content .newsletter-fields #newsletter-email {
  color: #fff;
  caret-color: #fff;
}
.newsletter-content .newsletter-fields #newsletter-email::placeholder {
  color: #fff;
  opacity: 1;
}

/* Bouton d’inscription */
.hero-newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 300px);
  min-height: 54px;
  margin: 0 auto 22px;
  padding: 12px 26px;
  border: 3px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(115deg, #241a15, #10151b 48%, #14242b) padding-box,
    linear-gradient(110deg, #ff8b39, #35363c 40%, #35363c 60%, #50dcff) border-box;
  color: #fff0d6;
  font: 400 clamp(22px, 1.6vw, 27px)/1.2 'BDCRAFT Goblins', system-ui, sans-serif;
  text-decoration: none;
  text-shadow: 0 2px 3px #000;
  box-shadow: inset 0 1px 0 #ffffff14, -8px 0 24px #ff7b2418, 8px 0 24px #22d8ff18;
  transition: scale .2s ease, box-shadow .2s ease, color .2s ease;
}
.hero-newsletter-button:is(:hover, :focus-visible) {
  scale: 1.02;
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff24, -10px 0 30px #ff7b2438, 10px 0 30px #22d8ff38;
}
.hero-newsletter-button:focus-visible { outline: 2px solid #50dcff; outline-offset: 5px; }
@media (max-width: 760px) {
  .hero-newsletter-button { min-height: 50px; margin-bottom: 18px; padding: 10px 22px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-newsletter-button { transition: none; }
  .hero-newsletter-button:is(:hover, :focus-visible) { scale: 1; }
}

/* Accueil mobile compact */
@media (max-width: 760px) {
  .hero .hero-availability {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0 12px;
    align-items: center;
    left: 12px;
    right: 12px;
    width: auto;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    text-align: left;
  }
  .hero .hero-availability > p {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    font-size: clamp(15px, 4.3vw, 22px);
    line-height: 1.2;
    white-space: nowrap;
  }
  .hero .hero-availability .hero-stores {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 14px;
  }
  .hero .hero-stores > span { gap: 0; }
  .hero .hero-stores img { width: 32px; height: 32px; }
  .hero .hero-stores .store-name { display: none; }
  .hero .hero-newsletter-button {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    width: auto;
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    font-size: clamp(18px, 4.7vw, 24px);
    white-space: nowrap;
  }
}

/* Message temporaire */
#newsletter-message {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.35;
  opacity: 1;
  transition: opacity 400ms ease;
}
#newsletter-message.is-fading { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  #newsletter-message { transition: none; }
}

/* Alignement du défilement */
@media (min-width: 761px) {
  .hero .scroll-cue {
    left: calc(var(--hero-logo-left) + var(--hero-logo-width) / 2);
    right: auto;
    transform: translateX(-50%);
  }
}

/* Sous-titre du recrutement */
@media (max-width: 760px) {
  .content-world .newsletter-heading > .eyebrow {
    font-size: 10.5px;
    letter-spacing: .04em;
    white-space: nowrap;
  }
}
@media (max-width: 340px) {
  .newsletter-heading .newsletter-recruitment-extra { display: none; }
}

