:root {
  color-scheme: dark;
  --bg: #0b0c15;
  --panel: #131522;
  --ink: #f7f5ff;
  --muted: #c2c1d4;
  --violet: #bcb0ff;
  --mint: #92f8e5;
  --line: #ffffff24;
  --header: 72px;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand { font-family: Manrope, "DM Sans", sans-serif; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.042em; }
h1 { font-size: clamp(3rem, 7.1vw, 7rem); font-weight: 800; }
h2 { font-size: clamp(2.25rem, 5vw, 4.7rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.85rem); }
p { line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, video:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header) + 20px); }
.shell { width: min(100% - 96px, 1280px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7.6rem); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 8; padding: 12px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }
.mast {
  position: sticky; z-index: 5; top: 0; min-height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px max(26px, calc((100vw - 1440px) / 2 + 42px));
  background: #0b0c15ed; border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; }
.brand img { border-radius: 10px; flex: none; }
.mast nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.7rem); }
.mast nav a, .header-action { color: var(--muted); font-size: .91rem; font-weight: 700; }
.mast nav a:hover, .header-action:hover { color: var(--mint); }
.header-action { padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; white-space: nowrap; }
.header-action span { margin-left: .3em; color: var(--mint); }
.hero {
  position: relative; isolation: isolate; display: grid; align-content: center;
  min-height: min(750px, calc(100svh - var(--header))); padding: 5.5rem 0 7rem;
  overflow: hidden; border-bottom: 1px solid var(--line);
  background: #18122b;
}
.hero-image, .hero::before {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
}
.hero-image { object-fit: cover; object-position: 57% 49%; }
.hero::before {
  content: ""; z-index: -1;
  background: linear-gradient(0deg, #0b0c15 0%, transparent 34%), linear-gradient(90deg, #0b0c15 1%, #0b0c15ed 24%, #0b0c15a8 50%, #0b0c1526 76%);
}
.hero-content { animation: title-in .85s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { max-width: 12ch; margin: 1.25rem 0; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero-lead { color: #ecebfa; max-width: 29rem; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.eyebrow, .caption, .hero-foot {
  font-size: .76rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase;
}
.eyebrow { color: var(--mint); }
.signal { display: inline-block; vertical-align: .05em; width: .45rem; height: .45rem; margin-right: .5em; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px var(--mint); }
.hero-foot { position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%); display: flex; justify-content: space-between; gap: 1.2rem; color: var(--muted); }
.hero-foot b { color: var(--mint); margin-right: .7em; }
.hero-foot a:hover { color: white; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; gap: .65rem; padding: .7rem 1.15rem; border-radius: 9px; font-weight: 800; transition: background .2s, transform .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--mint); color: #10162a; }
.button.primary:hover { background: #d1fff5; }
.button.ghost { background: #0b0c15a8; border: 1px solid #ffffff59; }
.button.ghost:hover { background: #312b52; }
.section-title { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .45fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: 2rem; }
.section-title h2, .split h2, .launch h2, .standalone-film h1 { margin-top: .65rem; }
.section-title > p, .split-copy > p:not(.eyebrow), .story-feature p, .tile-copy p:not(.eyebrow) { color: var(--muted); }
.film { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border: 1px solid var(--line); border-radius: 15px; }
.film-block > .film { box-shadow: 0 28px 90px #0006; }
.caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6em; color: var(--muted); margin-top: .85rem; }
.caption span { text-transform: none; letter-spacing: .04em; }
.chapter-section, .phone-section { background: #10111f; border-block: 1px solid var(--line); }
.chapter-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.chapter-nav a { padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-weight: 700; transition: color .2s, background .2s, border-color .2s; }
.chapter-nav a span { font-size: .71em; margin-right: .35em; color: var(--violet); }
.chapter-nav a:hover, .chapter-nav a[aria-current] { background: #241f37; color: var(--ink); border-color: #bcb0ff82; }
.chapter-nav a[aria-current] span { color: var(--mint); }
.chapter { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(340px, 44vw, 565px); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--panel); }
.chapter + .chapter { margin-top: 12px; }
.chapter-stage.is-interactive .chapter { margin-top: 0; }
.chapter-stage.is-interactive .chapter:not([hidden]) { animation: chapter-in .45s ease-out both; }
.chapter img, .chapter::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.chapter img { object-fit: cover; object-position: 50% 46%; }
.chapter::after { content: ""; z-index: -1; background: linear-gradient(90deg, #0b0c15ee, #0b0c1508 85%), linear-gradient(0deg, #0b0c15e0, transparent 80%); }
.chapter-copy { padding: clamp(1.5rem, 4vw, 3.5rem); max-width: 620px; }
.chapter h3 { margin: .55rem 0 .7rem; font-size: clamp(2rem, 4.7vw, 4rem); }
.chapter-copy p:not(.eyebrow) { max-width: 42ch; color: #efedff; }
.arrow-link { display: inline-block; margin-top: 1rem; font-weight: 800; color: var(--mint); text-decoration: underline; text-underline-offset: .25em; }
.arrow-link:hover { color: white; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: filter .3s ease; }
.tile:hover img { filter: brightness(1.12); }
.tile-copy { padding: clamp(1rem, 2.5vw, 1.65rem); }
.tile-copy h3 { margin: .5rem 0 .6rem; }
.split { display: grid; align-items: center; grid-template-columns: .92fr 1.08fr; gap: clamp(1.5rem, 5vw, 5rem); }
.split-copy p:not(.eyebrow) { margin-top: 1rem; }
.split-copy p.lead { color: var(--ink); font-size: 1.25rem; }
.media-frame { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--panel); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.phone-section { background: radial-gradient(ellipse at 95% 10%, #282047, transparent 50%), #10111f; }
.phone-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.phone-app { display: flex; align-items: flex-start; gap: .9rem; border: 1px solid var(--line); border-radius: 13px; padding: 1.1rem; background: #0b0c1580; }
.phone-app > span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: #25274a; color: var(--mint); font-size: 1.35rem; }
.phone-app h3 { font-size: 1.12rem; letter-spacing: -.02em; margin: .12rem 0 .35rem; }
.phone-app p { color: var(--muted); }
.phone-app strong { color: var(--ink); }
.dark-chapter { background: radial-gradient(ellipse at 82% 20%, #172e2c, transparent 56%), #090e12; border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.story-feature { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: #0f171a; padding-bottom: 1.1rem; }
.story-feature .film { border: 0; border-radius: 0; }
.story-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-feature h3, .story-feature p { margin: .85rem 1.1rem 0; }
.launch { text-align: center; background: radial-gradient(ellipse at 50% 95%, #322260, transparent 73%), #171629; border-block: 1px solid var(--line); }
.launch p:not(.eyebrow) { color: var(--muted); margin: 1.3rem 0; }
.launch .button { margin-top: .5rem; }
.seo-information .kicker { color: var(--mint); font-weight: 800; }
.seo-information h2 { margin: .7rem 0 1.4rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.seo-faq { display: grid; gap: .55rem; margin-bottom: 1.7rem; }
.seo-faq details, .seo-guides article { border: 1px solid var(--line); background: var(--panel); border-radius: 9px; padding: .8rem 1rem; }
.seo-faq summary { cursor: pointer; font-weight: 700; }
.seo-faq details p, .seo-guides p { margin-top: .55rem; color: var(--muted); }
.seo-guides { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 1rem; }
.seo-guides a, .seo-information a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 1.6rem 0; }
.footer-inner, .footer-inner nav { display: flex; gap: .9rem 1.4rem; flex-wrap: wrap; align-items: center; }
.footer-inner { justify-content: space-between; }
.footer-inner nav a:hover { color: var(--mint); }
.visitor-counter:not(.is-loaded) { display: none; }
.below { margin-top: 1.35rem; }
.standalone-film h1 { margin-bottom: 1.5rem; font-size: clamp(2.7rem, 6.5vw, 6rem); }
@keyframes title-in { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: none; } }
@keyframes chapter-in { from { opacity: .62; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .shell { width: min(100% - 48px, 1280px); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mast { padding-inline: 24px; }
}
@media (max-width: 760px) {
  :root { --header: 108px; }
  .shell { width: calc(100% - 36px); }
  .mast { display: grid; grid-template-columns: 1fr auto; min-height: var(--header); gap: 8px; padding: 9px 18px; }
  .mast nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: .3rem 1rem; }
  .mast nav a { padding-block: .35rem; font-size: .82rem; }
  .header-action { font-size: .78rem; padding: .55rem .6rem; }
  .hero { min-height: 630px; align-content: end; padding: 8rem 0 6rem; }
  .hero-image { object-position: 55% 40%; }
  .hero::before { background: linear-gradient(0deg, #0b0c15 3%, #0b0c15e8 32%, #0b0c155c 71%, #0b0c1538); }
  .hero h1 { font-size: clamp(2.8rem, 10.2vw, 4.8rem); }
  .hero-foot { font-size: .6rem; gap: .7em; }
  .section-title, .split, .story-grid, .tiles, .tiles.two, .phone-grid, .seo-guides { grid-template-columns: minmax(0, 1fr); }
  .section-title { gap: .9rem; }
  .chapter-nav a { font-size: .84rem; }
  .chapter::after { background: linear-gradient(0deg, #0b0c15 0%, #0b0c15d2 42%, #0b0c1532 94%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.phone-layout { display: grid; grid-template-columns: minmax(220px, .68fr) minmax(0, 1.65fr); gap: clamp(1.3rem, 4vw, 3.5rem); align-items: center; }
.phone-app > img { flex: none; width: 44px; height: 44px; border-radius: 11px; object-fit: contain; background: #25274a; }
.handset { width: min(100%, 302px); justify-self: center; padding: 8px; border: 1px solid #aab4cd5e; border-radius: 34px; background: #0a0a11; box-shadow: 0 24px 70px #0008; }
.handset-screen { overflow: hidden; border-radius: 27px; padding: 15px 12px 9px; background: linear-gradient(180deg,#0a0b1b93,#0a0b1be8),url(assets/vitrine/phone-wallpaper.webp) center/cover; }
.handset-status { display: flex; justify-content: space-between; color: #eff3ff; font-weight: 800; font-size: .67rem; padding-inline: 6px; }
.handset-brand { font: 800 1.6rem Manrope, sans-serif; letter-spacing: -.05em; margin: 13px 6px 16px; }
.handset-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px 3px; }
.handset-apps a { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: .63rem; line-height: 1.2; font-weight: 800; gap: 5px; }
.handset-apps a img { width: 42px; height: 42px; border-radius: 10px; transition: transform .22s, box-shadow .22s; }
.handset-apps a:hover img, .handset-apps a[aria-current] img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--mint), 0 0 14px #92f8e581; }
.handset-response { margin-top: 16px; min-height: 118px; padding: 10px 12px; border: 1px solid #ffffff39; background: #111224dc; border-radius: 13px; }
.handset-response strong { color: var(--mint); }
.handset-response p { font-size: .78rem; margin-top: 4px; }
.handset-response.is-changing { animation: title-in .3s both; }
.handset-indicator { display: block; width: 29%; height: 3px; border-radius: 2px; margin: 10px auto 0; background: #f7f5ffb0; }
@media (max-width: 1000px) { .phone-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .phone-layout { grid-template-columns: minmax(0, 1fr); } }
.route-section { background: radial-gradient(ellipse at 10% 20%, #1e1940, transparent 64%), #10111f; border-bottom: 1px solid var(--line); }
.route-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.75rem); }
.route-board { border: 1px solid #bcb0ff55; background: #121328; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 44px #0808146e; }
.route-board svg { display: block; width: 100%; height: auto; }
.route-board figcaption { display: flex; justify-content: space-between; gap: 8px; padding: .65rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.city-streets, .route-path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.city-streets { stroke: #bcb0ff4f; stroke-width: 8; }
.route-path { stroke: var(--mint); stroke-width: 4; stroke-dasharray: 1; filter: drop-shadow(0 0 5px #92f8e58a); }
.route-stop circle { fill: #272343; stroke: var(--violet); stroke-width: 2; }
.route-stop.is-destination circle { fill: #345d56; stroke: var(--mint); }
.route-board text { fill: var(--ink); font: 800 15px "DM Sans", sans-serif; letter-spacing: .08em; text-anchor: middle; }
.origin circle:first-child { fill: #24213b; stroke: #84b9e8; stroke-width: 2; }
.origin circle:nth-child(2) { fill: #84b9e8; }
.route-marker circle { fill: var(--mint); stroke: #0b0c15; stroke-width: 2; }
.route-marker path { stroke: #0b0c15; stroke-width: 1.7; }
.route-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: .8rem 0 1.05rem; }
.route-nav a { padding: .58rem .75rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; }
.route-nav a:hover, .route-nav a[aria-current] { border-color: var(--mint); background: #92f8e51d; }
.route-response { padding: .95rem 1rem; border-left: 3px solid var(--mint); background: #92f8e50d; min-height: 88px; }
.route-response strong { color: var(--mint); }
.route-response p { color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .route-layout { grid-template-columns: minmax(0,1fr); } }

/* Présentation originale du jeu MeetRP, affichée sans recadrage. */
.story-feature img.rp-original { aspect-ratio: 2 / 1; object-fit: contain; height: auto; }
.rp-trailer { margin: 1rem; }
.rp-trailer summary { cursor: pointer; color: var(--gold, #e8c477); padding: .7rem 0; }
.rp-trailer .film { margin-top: .5rem; width: 100%; }
