/* OREAKIDS Studio — page d'accueil
   Direction : une nuit profonde où chaque univers apporte sa lumière.
   Les six couleurs viennent du logo ; chaque monde en emprunte une. */

@font-face { font-family: 'Bricolage'; src: url(../fonts/bricolage.woff2) format('woff2-variations'), url(../fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(../fonts/instrument-serif-italic.woff2) format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(../fonts/instrument-serif.woff2) format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }

@property --h { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --ink: #0c0a17; --ink-2: #15112a; --ink-3: #1d1838;
  --paper: #f6f1e7; --muted: rgba(246, 241, 231, .7); --faint: rgba(246, 241, 231, .5);
  --line: rgba(246, 241, 231, .14);
  --blue: #01befd; --yellow: #febc06; --pink: #fe4ec0; --violet: #c46df6; --green: #28db94; --navy: #294e85;
  --gold: #e7b14e; --gold-2: #f4d089; --lime: #c9d200; --coral: #ff7a6b; --spotify: #1ed760;
  --sans: 'Bricolage', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --gutter: clamp(16px, 4.2vw, 64px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --beat: .588s; /* 102 BPM, le tempo d'« Encore cinq minutes » */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); scrollbar-color: #6a4fa8 #0c0a17; scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #0c0a17; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--pink), var(--violet) 50%, var(--blue)); border-radius: 10px; border: 3px solid #0c0a17; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ff7fd4, #d79bff 50%, #4fd3ff); }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1.0625rem/1.6 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; text-rendering: optimizeLegibility; }
img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--paper); color: var(--ink); padding: .7em 1.1em; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }

/* ---------- Typographie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--c, var(--paper)); box-shadow: 0 0 12px var(--c, transparent); }
.title-xl { font-size: clamp(2.6rem, 7vw, 7.2rem); line-height: .96; letter-spacing: -.02em; font-stretch: 88%; font-weight: 720; text-wrap: balance; }
.title-l { font-size: clamp(2.1rem, 4.8vw, 4.6rem); line-height: 1; letter-spacing: -.018em; font-stretch: 90%; font-weight: 700; text-wrap: balance; }
.title-m { font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.025em; font-stretch: 88%; }
.title-xl em, .title-l em, .title-m em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-stretch: 100%; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.55; color: var(--muted); max-width: 38em; text-wrap: pretty; }

/* Découpage des titres en mots (jamais en lettres : les mots restent entiers) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .02em .14em; margin: 0 -.02em -.14em; }
.w > span { display: inline-block; will-change: transform; }
html.js .anim [data-split] .w > span { transform: translateY(140%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 60ms); }
html.js .anim [data-split].in .w > span { transform: none; }
html.js .anim [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease), translate 1.1s var(--ease); }
html.js .anim [data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------- Boutons ---------- */
.btn { --bg: var(--paper); --fg: var(--ink); display: inline-flex; align-items: center; gap: .65em; padding: .95em 1.45em; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 640; font-size: 1rem; line-height: 1.1; text-decoration: none; border: 0; position: relative; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px var(--glow, rgba(0, 0, 0, .6)); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 1.15em; height: 1.15em; flex: none; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { padding: .7em 1.1em; font-size: .9rem; }
.btn-light { --glow: rgba(246, 241, 231, .35); }
.btn-ghost { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn-spotify { --bg: var(--spotify); --fg: #04140a; --glow: rgba(30, 215, 96, .55); }
.btn-gold { --bg: linear-gradient(180deg, var(--gold-2), var(--gold)); --fg: #1d1404; --glow: rgba(231, 177, 78, .55); background: var(--bg); }
.btn-lime { --bg: var(--lime); --fg: #151b22; --glow: rgba(201, 210, 0, .5); }
.btn-violet { --bg: #7b2cff; --fg: #fff; --glow: rgba(123, 44, 255, .5); }
.btn-pink { --bg: #d6006f; --fg: #fff; --glow: rgba(255, 26, 140, .5); }
.btn-lumino { --bg: linear-gradient(120deg, #9eeaff, #c8b6ff 55%, #ffb3e8); --fg: #061018; --glow: rgba(150, 170, 255, .6); }
.btn-spotify:hover .ico, .btn-ghost:hover .ico[href], .nav .btn .ico { transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ico { width: 1.2em; height: 1.2em; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); transition: background .4s, transform .5s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(12, 10, 23, .72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav-logo { flex: none; color: var(--paper); display: block; }
.nav-logo svg { height: 40px; width: auto; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 36px); margin-inline: auto; }
.nav-links a { text-decoration: none; font-weight: 560; font-size: .95rem; color: var(--muted); position: relative; padding: 6px 0; transition: color .25s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-links + .nav-end { margin-left: 0; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.lang a { text-decoration: none; font-size: .74rem; font-weight: 650; letter-spacing: .06em; padding: .45em .7em; border-radius: 999px; color: var(--faint); transition: color .2s, background .2s; }
.lang a:hover { color: var(--paper); }
.lang a[aria-current] { background: var(--paper); color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(246, 241, 231, .08); position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:first-of-type { top: 19px; } .burger i:last-of-type { top: 26px; }
.burger[aria-expanded="true"] i:first-of-type { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { top: 22.5px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: radial-gradient(120% 80% at 80% 0%, #2a1550 0%, var(--ink) 60%); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 700; font-stretch: 84%; letter-spacing: -.03em; text-decoration: none; line-height: 1.1; }
.menu nav a small { font-size: .9rem; font-weight: 500; color: var(--faint); letter-spacing: .1em; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
body.menu-open { overflow: hidden; }

/* ---------- 1. HERO ---------- */
.hero { position: relative; min-height: max(720px, 100svh); padding: calc(var(--nav-h) + 3vh) var(--gutter) clamp(20px, 3vh, 36px); display: flex; flex-direction: column; gap: clamp(28px, 4.5vh, 56px); overflow: clip; isolation: isolate; }
.hero-sky { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 45% at 18% 20%, rgba(196, 109, 246, .2), transparent 70%),
  radial-gradient(45% 40% at 85% 95%, rgba(1, 190, 253, .12), transparent 70%),
  linear-gradient(180deg, #0a0816 0%, var(--ink) 100%); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.hero-copy .eyebrow { margin-bottom: 1.1rem; }
.hero-title { font-size: clamp(3rem, 7.2vw, 8.4rem); line-height: .94; letter-spacing: -.022em; font-stretch: 88%; font-weight: 740; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-title .line > span { display: inline-block; }
.hero-title .alive { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -.01em; font-size: 1.1em; padding-right: .06em;
  background: linear-gradient(100deg, var(--pink) 0%, var(--yellow) 30%, var(--green) 55%, var(--blue) 78%, var(--violet) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }
.hero-side { padding-bottom: .5em; }
.hero-sign { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.7vw, 1.7rem); margin-bottom: .7rem; }
.hero-lead { color: var(--muted); font-size: clamp(.98rem, 1.1vw, 1.08rem); margin-bottom: 1.5rem; max-width: 30em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* moitié gauche : Naya et Dinosaures en grand ; moitié droite : les quatre labos en 2 × 2 */
.portals { flex: 1; min-height: clamp(320px, 48vh, 600px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); }
.p-blue .portal-media img { object-position: 50% 62%; }
/* Le lab : mosaïque 2 × 2 des ateliers */
.lab-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--ink); }
.portal .lab-mosaic picture, .portal .lab-mosaic img { position: static; inset: auto; width: 100%; height: 100%; min-height: 0; }
.portal .lab-mosaic img { object-fit: cover; transform: none; }
.portal:hover .lab-mosaic img { transform: scale(1.06); }
.portal .lab-mosaic picture { overflow: hidden; }
.portal { position: relative; flex: 1 1 0; min-width: 0; border-radius: 18px; overflow: hidden; text-decoration: none; isolation: isolate; background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: box-shadow .5s, transform .5s var(--ease); }
.portal-media, .portal-media picture, .portal-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.portal-media { z-index: -1; }
.portal-media img { object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) brightness(.82); }
.p-pink .portal-media img { object-position: 50% 30%; }
.p-gold .portal-media img { object-position: 62% 50%; }
.portal::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 6, 18, .88) 0%, rgba(8, 6, 18, .1) 45%, transparent 70%); }
.portal-label { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 1.6vw, 24px); display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: end; }
.portal-label b { font-size: clamp(1rem, 1.35vw, 1.35rem); font-weight: 680; letter-spacing: -.01em; line-height: 1.15; display: flex; align-items: baseline; gap: 10px; }
.portal-label b::before { translate: 0 -.1em; }
.portal-label b::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.portal-label small { grid-column: 1; font-size: .8rem; color: var(--faint); padding-left: 19px; }
.portal-label .ico { grid-row: 1 / 3; grid-column: 2; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--c); color: #0c0a17; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); }
.portal:hover, .portal:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--c), 0 30px 80px -40px var(--c); }
.portal:hover .portal-media img, .portal:focus-visible .portal-media img { transform: scale(1); filter: none; }
.portal:hover .portal-label .ico, .portal:focus-visible .portal-label .ico { opacity: 1; transform: none; }
.portal:focus-visible { outline-offset: 4px; }
html.js .anim .hero-title .line > span { transform: translateY(110%); }
html.js .anim .hero .eyebrow, html.js .anim .hero-side { opacity: 0; }
html.js .anim .portal { clip-path: inset(100% 0 0 0 round 18px); }

/* Pochette et vinyle : le disque se décale avec « translate » et tourne sur lui-même avec « rotate » */
.sleeve { position: relative; z-index: 2; display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 70px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1); }
.sleeve img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vinyl { position: absolute; z-index: 1; top: 4%; left: 4%; width: 92%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, #111 0 1.2px, #1c1c22 1.6px 2.8px), #111; box-shadow: 0 10px 40px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06); translate: 10% 0; transition: translate 1.4s var(--ease); }
.vinyl::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 40deg, rgba(255, 255, 255, .14) 60deg, transparent 90deg 210deg, rgba(255, 255, 255, .1) 240deg, transparent 270deg); }
.vinyl > span { position: absolute; inset: 34%; border-radius: 50%; background: url(../img/naya-cover-560.webp) center / cover; box-shadow: 0 0 0 3px #0c0c10; }
.vinyl > span::after { content: ''; position: absolute; inset: 44%; border-radius: 50%; background: #0c0a17; }
@keyframes spin { from { rotate: 0deg; } to { rotate: 360deg; } }
.face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 0 0 1px rgba(231, 177, 78, .45), 0 34px 70px -24px rgba(0, 0, 0, .85); }
.face.back { transform: rotateY(180deg); }

/* ---------- 2. NAYA ---------- */
.naya { position: relative; padding: clamp(100px, 16vh, 200px) 0 clamp(80px, 12vh, 140px); background: linear-gradient(180deg, var(--ink) 0%, #140d2e 22%, #1c1140 58%, #120c26 86%, var(--ink) 100%); overflow: clip; isolation: isolate; }
.naya::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 40% at 85% 30%, rgba(254, 78, 192, .2), transparent 70%), radial-gradient(40% 30% at 10% 70%, rgba(254, 188, 6, .12), transparent 70%); }
.naya-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.naya-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; margin-bottom: clamp(48px, 8vh, 90px); }
.naya-head .eyebrow { grid-column: 1 / -1; }
.naya-head h2 { grid-column: 1 / 9; }
.naya-head h2 em { color: var(--coral); }
.naya-lead { grid-column: 9 / -1; padding-bottom: .6em; }
.naya-stage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.naya-screen { grid-column: 4 / -1; grid-row: 1; margin: 0; position: relative; border-radius: clamp(18px, 2.4vw, 34px); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 50px 120px -40px rgba(254, 78, 192, .45), 0 0 0 1px rgba(255, 255, 255, .1); transform-origin: 70% 50%; }
.screen-media, .screen-media picture, .screen-media img { width: 100%; height: 100%; }
.screen-media img { object-fit: cover; transform: scale(1.12); will-change: transform; }
.naya-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 8, 30, .78) 0%, transparent 42%), linear-gradient(90deg, rgba(12, 8, 30, .35), transparent 30%); pointer-events: none; }
.lyric { position: absolute; z-index: 2; right: 5%; bottom: 17%; max-width: 70%; text-align: right; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 3rem); line-height: 1.05; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); min-height: 1.1em; }
.lyric span { display: inline-block; transition: opacity .35s, transform .5s var(--ease), filter .4s; }
.lyric span.out { opacity: 0; transform: translateY(12px); filter: blur(6px); }
.eq { position: absolute; z-index: 2; left: 4%; right: 4%; bottom: 6%; height: 9%; display: flex; align-items: flex-end; gap: 3px; }
.eq i { flex: 1; height: 100%; border-radius: 3px 3px 1px 1px; background: linear-gradient(0deg, var(--pink), var(--yellow)); transform-origin: bottom; transform: scaleY(.08); opacity: .85; }
.eq { opacity: .35; transition: opacity .6s; }
.naya.playing .eq { opacity: 1; }
.naya-album { grid-column: 1 / 6; grid-row: 1 / 3; align-self: end; position: relative; z-index: 3; margin-bottom: -6%; display: contents; }
.album-art { grid-column: 1 / 5; grid-row: 1 / 3; max-width: 400px; width: 100%; align-self: end; position: relative; z-index: 3; margin-bottom: 0; translate: 0 22%; rotate: -4deg; }
.album-art.out .vinyl { translate: 40% 0; }
.album-art .sleeve { box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .12); }
.naya.playing .album-art .vinyl { animation: spin 3.2s linear infinite; }
.album-info { grid-column: 7 / 13; grid-row: 2; padding-top: clamp(28px, 4vw, 52px); display: grid; gap: 18px; justify-items: start; }
.album-k { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.album-name { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; font-stretch: 88%; line-height: 1.05; margin-top: -10px; }
.album-name span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--coral); }
.player { display: flex; align-items: center; gap: 16px; }
.play { position: relative; width: 64px; height: 64px; flex: none; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease), box-shadow .3s; box-shadow: 0 0 0 0 rgba(254, 78, 192, .5); }
.play:hover { transform: scale(1.06); }
.play .ico { width: 24px; height: 24px; grid-area: 1 / 1; }
.play .i-pause, .play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
.play[aria-pressed="true"] { animation: pulse var(--beat) ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(254, 78, 192, .55); } 100% { box-shadow: 0 0 0 18px rgba(254, 78, 192, 0); } }
.play .ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); max-width: none; fill: none; stroke-width: 2.5; rotate: -90deg; }
.play .ring circle { stroke: rgba(246, 241, 231, .14); }
.play .ring .prog { stroke: var(--pink); stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.player-t { font-weight: 650; }
.player-s { font-size: .9rem; color: var(--faint); }
.player-err { font-size: .9rem; color: var(--coral); }
.album-meta { font-size: .85rem; color: var(--faint); margin-top: -12px; }
.tracks { display: grid; gap: 2px; width: 100%; max-width: 460px; counter-reset: none; }
.track { width: 100%; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 9px 12px 9px 10px; border: 0; border-radius: 12px; background: transparent; text-align: left; font-size: .95rem; transition: background .25s; position: relative; }
.track:hover { background: rgba(246, 241, 231, .06); }
.track[aria-pressed="true"] { background: rgba(254, 78, 192, .12); }
.tr-n { grid-column: 1; grid-row: 1; text-align: center; font-variant-numeric: tabular-nums; color: var(--faint); font-size: .85rem; }
.tr-eq { grid-column: 1; grid-row: 1; justify-self: center; display: none; align-items: flex-end; gap: 2px; height: 14px; }
.tr-eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--pink); transform-origin: bottom; animation: trEq .9s ease-in-out infinite; }
.tr-eq i:nth-child(2) { animation-delay: -.3s; } .tr-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes trEq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.track[aria-pressed="true"] .tr-n { visibility: hidden; }
.naya.playing .track[aria-pressed="true"] .tr-eq { display: flex; }
.tr-t { font-weight: 560; }
.track[aria-pressed="true"] .tr-t { color: #ffb3e4; }
.tr-d { font-size: .82rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.naya-clip { margin-top: clamp(140px, 20vh, 240px); }
.clip-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vh, 56px); }
.clip-head .title-l em { color: var(--yellow); }
.clip-intro { display: grid; gap: 22px; justify-items: start; }
.clip-room { position: relative; margin: 0; border-radius: clamp(18px, 2.4vw, 30px); overflow: hidden; box-shadow: 0 50px 120px -40px rgba(254, 188, 6, .3), 0 0 0 1px rgba(255, 255, 255, .1); }
.clip-shot { position: relative; aspect-ratio: 16 / 9; background: #120c26; }
.clip-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-son { position: absolute; right: clamp(12px, 1.6vw, 22px); bottom: clamp(12px, 1.6vw, 22px); display: inline-flex; align-items: center; gap: 10px; padding: .7em 1.15em .7em .95em; border: 0; border-radius: 999px; background: rgba(12, 10, 23, .72); color: #fff; font-weight: 640; font-size: .92rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); transition: background .25s, transform .3s var(--ease); }
.clip-son:hover { background: rgba(254, 78, 192, .9); transform: translateY(-2px); }
.clip-son .ico { width: 20px; height: 20px; }
.clip-son .i-son, .clip-son[aria-pressed="true"] .i-muet { display: none; }
.clip-son[aria-pressed="true"] .i-son { display: block; }
.clip-room img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.clip-room figcaption { padding: 14px clamp(18px, 2.4vw, 32px) 16px; background: #120c26; font-size: .95rem; color: var(--muted); }
.naya-clip-2 { margin-top: clamp(110px, 16vh, 200px); }
.naya-clip-2 .clip-head .title-l em { color: var(--pink); }
.clip-lien { display: block; position: relative; }
.clip-lien img { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.clip-lien:hover img { transform: scale(1.03); }
.clip-jouer { position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); width: clamp(56px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #2a1458; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); transition: transform .3s; }
.clip-jouer svg { width: 42%; height: 42%; margin-left: 6%; }
.clip-lien:hover .clip-jouer { transform: scale(1.08); }
.clip-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(20px, 3vw, 36px); counter-reset: st; }
.clip-steps li { display: grid; gap: 10px; align-content: start; counter-increment: st; }
.step-img { display: block; border-radius: 16px; overflow: hidden; margin-bottom: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.step-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.clip-steps b { font-size: 1.15rem; display: flex; align-items: baseline; gap: 10px; }
.clip-steps b::before { content: counter(st); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.6rem; color: var(--yellow); line-height: 1; }
.clip-steps span { color: var(--muted); font-size: .98rem; }

.strip { margin-top: clamp(110px, 16vh, 180px); }
.strip-title { width: min(100% - 2 * var(--gutter), 1440px); margin: 0 auto 22px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.strip-track { display: flex; gap: 18px; padding: 22px var(--gutter); width: max-content; position: relative; background: #07060e; }
.strip-track::before, .strip-track::after { content: ''; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(246, 241, 231, .18) 14px 26px); }
.strip-track::before { top: 7px; } .strip-track::after { bottom: 7px; }
.frame { margin: 0; width: clamp(240px, 26vw, 420px); position: relative; border-radius: 6px; overflow: hidden; flex: none; }
.frame img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.frame figcaption { position: absolute; left: 10px; bottom: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 6px #000; }
html:not(.js) .strip, .no-anim .strip { overflow-x: auto; }

/* ---------- 3. FANTASTIC DINOSAURS ---------- */
.dino { --bg: #0c0e0b; position: relative; overflow-x: clip; background: var(--bg); color: #f4efe2; isolation: isolate; }
.dino-intro { position: relative; }
.dino::before { content: ''; position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 22vh; background: linear-gradient(180deg, var(--ink), transparent); pointer-events: none; }
html.js .anim .dino-intro { height: 230vh; }
.dino-pin { position: relative; height: 100vh; background: radial-gradient(60% 50% at 50% 58%, #1b1d16, #050604 80%); min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
html.js .anim .dino-pin { position: sticky; top: 0; }
.storm { position: absolute; inset: 0; --r: 150%; clip-path: circle(var(--r) at 50% 58%); background: #000; }
.storm picture, .storm img { width: 100%; height: 100%; }
.storm img { object-fit: cover; object-position: 50% 45%; transform: scale(var(--sc, 1)); }
.storm::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(12, 14, 11, .7) 28%, rgba(12, 14, 11, .1) 60%, rgba(12, 14, 11, .45) 100%); }
html.js .anim .storm { --r: 0%; }
.dino-intro-copy { position: relative; z-index: 3; padding-bottom: clamp(56px, 10vh, 120px); }
.fd-logo { width: clamp(170px, 18vw, 260px); height: auto; margin-bottom: 28px; filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .6)); }
.dino .title-xl em, .dino .title-l em { color: var(--gold-2); }
.dino .lead { color: rgba(244, 239, 226, .74); }
.dino-intro-copy .title-xl { max-width: 12ch; margin-bottom: 24px; text-shadow: 0 6px 40px rgba(0, 0, 0, .6); }

.dino-cards { padding: clamp(60px, 12vh, 140px) 0 clamp(40px, 6vh, 80px); }
.cards-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(10px, 3vh, 40px); }
.cards-copy .title-l { grid-row: span 2; }
.hint { display: inline-flex; align-items: center; gap: .6em; font-size: .9rem; color: var(--gold-2); }
.hint .ico { animation: rot 4s var(--ease) infinite; }
@keyframes rot { 30%, 100% { rotate: 180deg; } }
.h-touch { display: none; }
@media (hover: none) { .h-touch { display: inline; } .h-mouse { display: none; } }
.cards-stage { position: relative; height: clamp(380px, 36vw, 560px); }
.cards-ring { position: absolute; inset: 0; }
.fcard { --d: 0; --ad: 0; position: absolute; left: 50%; top: 44%; width: clamp(240px, 30vw, 440px); aspect-ratio: 1270 / 919; margin: 0; translate: -50% -50%;
  transform: perspective(1600px) translateX(calc(var(--d) * 64%)) translateZ(calc(var(--ad) * -190px)) rotateY(calc(var(--d) * -24deg)) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 1s var(--ease), filter .8s, opacity .8s; z-index: calc(10 - var(--ad)); filter: brightness(calc(1 - var(--ad) * .28)); }
.fcard[data-off] { opacity: 0; pointer-events: none; }
.fcard-btn { position: absolute; inset: 0; padding: 0; border: 0; background: none; border-radius: 10px; transform-style: preserve-3d; cursor: pointer; }
.fcard.active .fcard-btn { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.fcard-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3, 1.3, .4, 1); }
.fcard-btn[aria-pressed="true"] .fcard-inner { transform: rotateY(180deg); }
.fcard-btn::after { content: ''; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .2) 46%, transparent 60%); background-size: 260% 100%; background-position: var(--gx, 100%) 0; pointer-events: none; mix-blend-mode: soft-light; transform: translateZ(1px); }
.fcard:not(.active):hover { filter: brightness(calc(1.08 - var(--ad) * .2)); }
.fcard-name { position: absolute; left: 0; right: 0; top: 100%; margin-top: 16px; text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 239, 226, .6); opacity: 0; transition: opacity .4s; }
.fcard.active .fcard-name { opacity: 1; }
.cards-nav { position: absolute; left: 50%; bottom: 0; translate: -50% 0; display: flex; align-items: center; gap: 14px; z-index: 20; }
.cards-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(244, 239, 226, .08); color: #f4efe2; display: grid; place-items: center; transition: background .2s; }
.cards-nav button:hover { background: rgba(231, 177, 78, .25); }
.cards-nav .ico { width: 20px; height: 20px; }
.cards-nav .prev .ico { rotate: 180deg; }
.cards-dots { display: flex; gap: 6px; }
.cards-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(244, 239, 226, .25); transition: background .3s, width .4s var(--ease); }
.cards-dots i.on { width: 22px; border-radius: 4px; background: var(--gold); }

.dino-offer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); padding-bottom: clamp(60px, 10vh, 120px); align-items: start; }
.box { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: radial-gradient(90% 90% at 0% 0%, rgba(231, 177, 78, .22), transparent 60%), linear-gradient(160deg, #1a1a12, #10120e); box-shadow: inset 0 0 0 1px rgba(231, 177, 78, .3), 0 40px 100px -40px rgba(231, 177, 78, .35); overflow: hidden; }
.box-visual { position: relative; aspect-ratio: 1; perspective: 900px; }
.pdf { position: absolute; left: 6%; top: 18%; width: 82%; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .9), 0 0 0 1px rgba(231, 177, 78, .4); transition: transform .8s var(--ease); }
.pdf img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.pdf em { position: absolute; right: 10px; bottom: 8px; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-2); text-shadow: 0 2px 10px #000; }
.pdf.p3 { transform: rotate(10deg) translate(12%, -22%); }
.pdf.p2 { transform: rotate(-4deg) translate(-4%, 4%); }
.pdf.p1 { transform: rotate(-12deg) translate(-8%, 34%); }
.box:hover .pdf.p3 { transform: rotate(14deg) translate(20%, -30%); }
.box:hover .pdf.p1 { transform: rotate(-16deg) translate(-12%, 42%); }
.box-copy { display: grid; gap: 14px; justify-items: start; }
.box-copy .eyebrow { margin-bottom: 0; }
.box-sub { color: rgba(244, 239, 226, .7); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 6px 0 8px; }
.price b { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 760; letter-spacing: -.03em; color: var(--gold-2); line-height: 1; }
.price s { color: rgba(244, 239, 226, .5); }
.save { font-size: .78rem; font-weight: 650; padding: .35em .7em; border-radius: 999px; background: rgba(231, 177, 78, .16); color: var(--gold-2); }
.fine { display: flex; gap: .5em; align-items: center; font-size: .82rem; color: rgba(244, 239, 226, .55); }
.fine .ico { width: 1em; height: 1em; flex: none; }
.vols { display: grid; gap: 10px; }
.vols a { display: grid; grid-template-columns: 96px 1fr auto; grid-template-rows: auto auto; gap: 2px 16px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 18px; text-decoration: none; background: rgba(244, 239, 226, .04); box-shadow: inset 0 0 0 1px rgba(244, 239, 226, .1); transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.vols a:hover { background: rgba(231, 177, 78, .09); box-shadow: inset 0 0 0 1px rgba(231, 177, 78, .45); transform: translateX(4px); }
.vol-img { grid-row: span 2; border-radius: 10px; overflow: hidden; }
.vol-img img { aspect-ratio: 16 / 10; object-fit: cover; width: 96px; }
.vol-t { font-weight: 640; line-height: 1.25; }
.vol-m { grid-column: 2; font-size: .86rem; color: rgba(244, 239, 226, .6); }
.vol-p { grid-column: 3; grid-row: 1 / 3; font-weight: 700; color: var(--gold-2); }
.vols .free a { background: linear-gradient(120deg, rgba(40, 219, 148, .12), rgba(244, 239, 226, .03)); box-shadow: inset 0 0 0 1px rgba(40, 219, 148, .35); grid-template-columns: 96px 1fr; }
.vols .free .vol-p { grid-column: 2; grid-row: auto; color: var(--green); font-size: .9rem; font-weight: 650; }
.free-cards { grid-row: span 3; position: relative; height: 70px; }
.free-cards img { position: absolute; width: 70px; border-radius: 5px; box-shadow: 0 6px 16px rgba(0, 0, 0, .6); top: 12px; left: 8px; transition: transform .5s var(--ease); }
.free-cards img:nth-child(1) { transform: rotate(-14deg) translate(-6px, 4px); } .free-cards img:nth-child(3) { transform: rotate(12deg) translate(10px, 2px); }
.vols .free a:hover .free-cards img:nth-child(1) { transform: rotate(-22deg) translate(-12px, 2px); }
.vols .free a:hover .free-cards img:nth-child(3) { transform: rotate(20deg) translate(16px, 0); }
.dino-doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); padding-bottom: clamp(100px, 16vh, 180px); }
.door { position: relative; display: block; min-height: clamp(340px, 34vw, 480px); border-radius: 28px; overflow: hidden; text-decoration: none; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(244, 239, 226, .1); }
.door-img, .door-img img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.door-img img { object-fit: cover; transition: transform 1.4s var(--ease); }
.door::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 10, 7, .94) 10%, rgba(8, 10, 7, .4) 60%, rgba(8, 10, 7, .15)); }
.door:hover .door-img img { transform: scale(1.06); }
.door-copy { position: absolute; inset: auto 0 0; padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; justify-items: start; }
.door-copy small { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
.door-copy b { font-size: clamp(1.7rem, 2.8vw, 2.6rem); font-stretch: 88%; letter-spacing: -.025em; line-height: 1; }
.door-copy > span { color: rgba(244, 239, 226, .75); max-width: 32em; }
.door-copy em { font-style: normal; margin-top: 8px; }

/* ---------- 4. LABOS ---------- */
.labs { position: relative; overflow-x: clip; padding: clamp(110px, 16vh, 200px) 0; background: radial-gradient(60% 40% at 20% 0%, rgba(1, 190, 253, .12), transparent 70%), var(--ink); }
.dino::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, transparent, var(--ink)); pointer-events: none; }
.labs-head { display: grid; gap: 0; margin-bottom: clamp(48px, 8vh, 96px); max-width: 980px; }
.labs-head h2 em { color: var(--blue); }
.labs-head .lead { margin-top: 24px; }
.lab { position: relative; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; }
.lab-copy { display: grid; gap: 16px; justify-items: start; align-content: start; }
.lab-copy p { max-width: 34em; }
.lab-tag { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.lab-tag span { padding: .3em .7em; border-radius: 999px; background: currentColor; }
.lab-tag span { color: inherit; background: none; box-shadow: inset 0 0 0 1.5px currentColor; letter-spacing: .08em; }
.lab-ink .lab-hint { color: #1b191d; }
.lab-hint { position: absolute; left: 18px; bottom: 16px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; opacity: .7; pointer-events: none; transition: opacity .5s; }
.lab-hint.gone { opacity: 0; }

/* Loopsy */
.lab-loopsy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 3vw, 48px); padding: clamp(28px, 4vw, 56px); margin-bottom: clamp(16px, 2.4vw, 32px); background: radial-gradient(90% 120% at 75% 40%, #18206a, #0b0f33 70%); color: #fff; box-shadow: inset 0 0 0 1px rgba(127, 160, 255, .2), 0 40px 100px -50px rgba(90, 110, 255, .7); }
.loopsy-copy { display: grid; gap: 18px; justify-items: start; }
.loopsy-logo img { width: clamp(200px, 22vw, 320px); height: auto; }
.loopsy-claim { font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 720; line-height: 1.05; letter-spacing: -.02em; font-stretch: 88%; }
.loopsy-claim em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #8fb4ff; }
.loopsy-text { color: rgba(225, 232, 255, .8); max-width: 34em; }
.loopsy-chips li { background: rgba(140, 160, 255, .14); box-shadow: inset 0 0 0 1px rgba(160, 180, 255, .25); color: #dfe6ff; }
.btn-loopsy { --bg: linear-gradient(100deg, #4f8bff, #a06bff 55%, #ff5fb5); --fg: #fff; --glow: rgba(140, 110, 255, .6); background: var(--bg); }
.loopsy-shot { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(140, 160, 255, .2); }
.loopsy-shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.loopsy-shot:hover img { transform: scale(1.03); }

/* Groovibox */
.lab-groovi { --pulse: 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); background: #151b22; color: #eef3f7; box-shadow: inset 0 0 0 1px rgba(201, 210, 0, calc(.18 + var(--pulse) * .5)), 0 0 calc(40px + var(--pulse) * 60px) calc(-20px + var(--pulse) * 10px) rgba(201, 210, 0, calc(.15 + var(--pulse) * .35)); transition: box-shadow .12s; }
.g-logo { width: 200px; height: auto; margin-bottom: 8px; }
.lab-groovi .lab-tag { color: var(--lime); }
.lab-groovi .lab-copy p { color: rgba(238, 243, 247, .75); }
.groovi { display: grid; gap: 18px; }
.g-try { font-size: .9rem; color: rgba(238, 243, 247, .6); }
.g-seq { display: grid; gap: 8px; }
.g-row { display: grid; grid-template-columns: 112px repeat(16, minmax(0, 1fr)); gap: 5px; align-items: center; }
.g-name { font-size: .78rem; font-weight: 600; color: rgba(238, 243, 247, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-step { aspect-ratio: 1; border: 0; border-radius: 7px; background: #222b35; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35); transition: background .12s, transform .12s, box-shadow .2s; padding: 0; min-width: 0; }
.g-step:nth-of-type(4n + 1) { background: #29333f; }
.g-step:hover { background: #33404e; }
.g-step[aria-pressed="true"] { background: var(--rc, var(--lime)); box-shadow: 0 0 14px -2px var(--rc, var(--lime)), inset 0 -2px 0 rgba(0, 0, 0, .25); }
.g-row[data-snd="snare"] { --rc: #01befd; } .g-row[data-snd="hihat"] { --rc: #fe4ec0; } .g-row[data-snd="tom1"] { --rc: #febc06; }
.g-step.now { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 1px; }
.g-step.hit { transform: scale(1.18); }
.g-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.g-play { display: inline-flex; align-items: center; gap: 10px; padding: .75em 1.3em; border-radius: 999px; border: 0; background: var(--lime); color: #151b22; font-weight: 700; }
.g-play .ico { width: 1.1em; height: 1.1em; }
.g-play .i-pause, .g-play[aria-pressed="true"] .i-play { display: none; }
.g-play[aria-pressed="true"] .i-pause { display: block; }
.g-tempo { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; color: rgba(238, 243, 247, .7); }
.g-tempo input { accent-color: var(--lime); width: 120px; }
.g-tempo output { font-variant-numeric: tabular-nums; min-width: 2.2em; font-weight: 650; color: #eef3f7; }
.g-mini { padding: .55em 1em; border-radius: 999px; border: 0; background: rgba(238, 243, 247, .08); font-size: .85rem; font-weight: 600; transition: background .2s; }
.g-mini:hover { background: rgba(238, 243, 247, .16); }
.g-pads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.g-pad { position: relative; display: grid; place-items: center; gap: 6px; padding: 18px 8px; border-radius: 16px; border: 0; background: #1d252e; color: #eef3f7; font-size: .8rem; font-weight: 600; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 45%, transparent), inset 0 -4px 0 rgba(0, 0, 0, .3); transition: transform .1s, background .25s, box-shadow .25s; }
.g-pad kbd { font: 700 1.2rem/1 var(--sans); color: var(--c); }
.g-pad.hit { background: var(--c); color: #151b22; transform: scale(.96); box-shadow: 0 0 40px -6px var(--c); }
.g-pad.hit kbd { color: #151b22; }

.labs-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(16px, 2.4vw, 32px); align-items: start; }
.lab-pixelo { background: #e9e8ec; color: #1d1830; display: grid; }
.pixelo-view { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(70% 70% at 50% 35%, #ffffff, #dcdae2); cursor: crosshair; touch-action: pan-y; }
.pixelo-view .lab-hint { color: #1d1830; }
.pixelo-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pixelo-fallback { position: absolute; inset: 14% 10%; display: none; }
.pixelo-view.no-webgl .pixelo-fallback { display: block; background: url(../img/pixelo-fallback.svg) center / contain no-repeat; }
.lab-pixelo .lab-copy, .lab-ink .lab-copy { padding: clamp(24px, 3vw, 44px); }
.lab-name { font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.pixel-font { font-weight: 800; font-stretch: 75%; color: #7b2cff; text-shadow: 3px 3px 0 #c9b2ff; }
.lab-pixelo .lab-tag { color: #7b2cff; }
.lab-pixelo .lab-copy p { color: rgba(29, 24, 48, .75); }
.lab-ink { background: #1b191d; color: #f2eee8; margin-top: clamp(40px, 10vw, 140px); display: grid; }
.ink-view { position: relative; aspect-ratio: 4 / 3; background: #f4f1ea; cursor: crosshair; touch-action: none; overflow: hidden; }
.ink-view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #f4f1ea; }
.ink-reset { position: absolute; right: 14px; top: 14px; padding: .5em .95em; border-radius: 999px; border: 0; font-size: .78rem; font-weight: 600; background: rgba(27, 25, 29, .08); color: #1b191d; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ink-reset:hover { background: rgba(242, 238, 232, .2); }
.ink-font { font-family: var(--serif); font-style: italic; font-weight: 400; color: #ff4fa7; font-size: clamp(2.6rem, 4.2vw, 4rem); letter-spacing: -.01em; }
.lab-ink .lab-tag { color: #ff4fa7; }
.lab-ink .lab-copy p { color: rgba(242, 238, 232, .72); }
/* LUMINO : la création lumineuse, sur fond nuit */
.lab-lumino { margin-top: clamp(16px, 2.4vw, 32px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); background: radial-gradient(120% 140% at 30% 40%, #0b1030, #04060d 70%); color: #e7ecff; box-shadow: inset 0 0 0 1px rgba(127, 216, 255, .16), 0 30px 80px -40px rgba(120, 90, 255, .55); }
.lumino-view { position: relative; aspect-ratio: 16 / 10; background: #04060d; cursor: crosshair; touch-action: none; overflow: hidden; }
.lumino-view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #04060d; }
.lab-lumino .lab-hint { color: #aeb6d2; top: 18px; bottom: auto; }
.lab-lumino .ink-reset { background: rgba(255, 255, 255, .08); color: #e7ecff; }
.lab-lumino .ink-reset:hover { background: rgba(255, 255, 255, .16); }
.lumino-brushes { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(8, 10, 22, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(190, 205, 255, .12); max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.lumino-brushes button { border: 0; border-radius: 999px; padding: .5em .95em; background: transparent; color: #b9c1db; font-size: .78rem; font-weight: 600; letter-spacing: .06em; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.lumino-brushes button:hover { color: #fff; }
.lumino-brushes button[aria-checked="true"] { background: rgba(127, 216, 255, .16); color: #e3f7ff; box-shadow: 0 0 16px -4px rgba(127, 216, 255, .7), inset 0 0 0 1px rgba(127, 216, 255, .4); }
.lab-lumino .lab-copy { padding: clamp(24px, 3vw, 44px); align-content: center; }
.lumino-font { font-weight: 200; letter-spacing: .32em; text-transform: uppercase; color: #f4f7ff; text-shadow: 0 0 22px rgba(150, 190, 255, .55), 0 0 70px rgba(139, 92, 255, .4); }
.lab-lumino .lab-tag { color: #7fd8ff; }
.lab-lumino .lab-copy p { color: rgba(231, 236, 255, .74); }

/* ---------- 5. STUDIO ---------- */
.studio { background: var(--paper); color: var(--navy); padding: clamp(110px, 18vh, 220px) 0; position: relative; overflow: clip; }
.studio .eyebrow { color: rgba(41, 78, 133, .7); }
.studio .eyebrow::before { background: var(--navy); }
.statement { font-size: clamp(2.1rem, 5.4vw, 5.6rem); line-height: 1.06; letter-spacing: -.02em; font-weight: 660; font-stretch: 86%; max-width: 15.5em; color: #1c2f55; text-wrap: balance; }
.statement b { position: relative; z-index: 0; font-weight: 760; white-space: nowrap; }
.statement b::before { content: ''; position: absolute; z-index: -1; left: -.08em; right: -.08em; bottom: .06em; height: .42em; border-radius: .2em; background: var(--hl); transform: scaleX(var(--k, 1)) skewX(-8deg); transform-origin: left; transition: transform 1s var(--ease); transition-delay: calc(var(--n) * 120ms + 200ms); }
.statement .v1 { --hl: #ffb3e4; --n: 0; } .statement .v2 { --hl: #9fe9ff; --n: 1; } .statement .v3 { --hl: #ffe07a; --n: 2; } .statement .v4 { --hl: #9ff0cd; --n: 3; } .statement .v5 { --hl: #e1bcff; --n: 4; }
html.js .anim .statement b { --k: 0; }
html.js .anim .statement.in b { --k: 1; }
.studio-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(56px, 9vh, 110px); }
.studio .lead { color: rgba(28, 47, 85, .8); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: p; }
.principles li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1.5px solid rgba(41, 78, 133, .2); counter-increment: p; }
.principles li::before { content: '0' counter(p); font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--navy); }
.principles b { font-size: 1.15rem; font-weight: 700; color: #1c2f55; }
.principles span { color: rgba(28, 47, 85, .75); font-size: .98rem; }

/* Sur mesure : l'offre du studio, posée sur le papier de la section */
.custom { margin-top: clamp(64px, 10vh, 120px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 60px); border-radius: 32px; background: #1c2f55; color: var(--paper); box-shadow: 0 40px 100px -50px rgba(28, 47, 85, .8); position: relative; overflow: hidden; isolation: isolate; }
.custom::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0%, rgba(1, 190, 253, .22), transparent 70%), radial-gradient(50% 70% at 0% 100%, rgba(254, 78, 192, .18), transparent 70%); }
.studio .custom .eyebrow { color: rgba(246, 241, 231, .7); }
.studio .custom .eyebrow::before { background: var(--yellow); }
.custom-title { font-size: clamp(1.9rem, 3.4vw, 3.2rem); line-height: 1.02; letter-spacing: -.02em; font-stretch: 88%; font-weight: 720; margin-bottom: 18px; color: #fff; }
.custom-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #9fe9ff; }
.custom-text { color: rgba(246, 241, 231, .82); font-size: clamp(1rem, 1.2vw, 1.12rem); max-width: 40em; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .45em .95em; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.skills li { background: rgba(246, 241, 231, .1); box-shadow: inset 0 0 0 1px rgba(246, 241, 231, .18); }
.custom-for { margin: 20px 0 10px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 241, 231, .6); font-weight: 600; }
.aud li { background: var(--paper); color: #1c2f55; }
.custom-contact { align-self: end; display: grid; gap: 12px; justify-items: stretch; padding: clamp(22px, 2.6vw, 34px); border-radius: 24px; background: rgba(246, 241, 231, .07); box-shadow: inset 0 0 0 1px rgba(246, 241, 231, .14); }
.cc-k { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 241, 231, .65); font-weight: 600; }
.cc-name { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; margin-bottom: 8px; color: #fff; }
.custom-contact .btn { justify-content: center; }
.btn-navy { --bg: var(--paper); --fg: #1c2f55; --glow: rgba(246, 241, 231, .4); }
.btn-line { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(246, 241, 231, .35); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.custom-contact .btn:hover .ico { transform: none; }

/* ---------- Bouton haut de page ---------- */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; width: 54px; height: 54px; border: 0; border-radius: 50%; padding: 0; background: rgba(20, 16, 38, .85); color: var(--paper); display: grid; place-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7); opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .4s, translate .5s var(--ease), background .25s; }
.to-top.on { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: rgba(40, 30, 70, .95); }
.to-top .ico { width: 22px; height: 22px; rotate: -90deg; transition: transform .35s var(--ease); }
.to-top:hover .ico { transform: translateX(3px); }
.to-top svg.prog { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; rotate: -90deg; fill: none; stroke-width: 2.5; }
.to-top .prog circle { stroke: rgba(246, 241, 231, .12); }
.to-top .prog .bar { stroke: url(#ttGrad); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--p, 1); }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: .92rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand > svg { height: 54px; width: auto; color: var(--paper); margin-bottom: 14px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: .55em 1em .55em .8em; border-radius: 999px; text-decoration: none; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s, transform .3s var(--ease); }
.foot .social a:hover { text-decoration: none; transform: translateY(-2px); }
.social a[data-track="instagram"]:hover { background: linear-gradient(45deg, #f9a43b, #e1306c 50%, #8a3ab9); box-shadow: none; }
.social a[data-track="facebook"]:hover { background: #1877f2; box-shadow: none; }
.social .ico { width: 18px; height: 18px; flex: none; display: block; }
.social span:not(.sr) { line-height: 1; }
.foot-k { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 14px; }
.foot ul { display: grid; gap: 8px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.foot .lang { margin-bottom: 16px; }
.foot-mail { margin-bottom: 26px; }
.foot-mail a { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-weight: 600; font-size: 1.02rem; }
.foot-mail .ico { width: 20px; height: 20px; flex: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-copy { margin-top: 40px; font-size: .8rem; color: var(--faint); display: flex; flex-wrap: wrap; gap: 6px 10px; padding-right: 70px; }
.foot-copy span + span::before { content: '·'; margin-right: 10px; }
.foot-copy a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot-copy a:hover { color: var(--paper); }
.legal { max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; max-width: min(720px, 92vw); border: 0; border-radius: 22px; padding: 36px; background: var(--ink-2); color: var(--paper); box-shadow: 0 40px 120px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line); }
.legal::backdrop { background: rgba(6, 5, 12, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.legal h2 { font-size: 1.6rem; margin-bottom: 18px; }
.legal p { color: var(--muted); margin-bottom: 14px; font-size: .95rem; }
.legal p b, .legal strong { color: var(--paper); }
.legal h3 { font-size: 1rem; margin: 22px 0 8px; color: var(--paper); }
.legal a { color: var(--paper); }
.legal-x { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(246, 241, 231, .08); font-size: 1.5rem; line-height: 1; }
.noscript { position: fixed; bottom: 12px; left: 12px; right: 12px; padding: 12px 16px; border-radius: 12px; background: var(--ink-2); font-size: .85rem; z-index: 50; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-links + .nav-end { margin-left: auto; }
  .burger { display: block; }
  .nav .btn-spotify span { display: none; }
  .nav .btn-spotify { padding: .7em; }
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .portals { min-height: 420px; flex: none; height: 56vh; }
  .naya-head h2 { grid-column: 1 / -1; }
  .naya-lead { grid-column: 1 / -1; margin-top: 24px; }
  .naya-screen { grid-column: 1 / -1; }
  .album-art { grid-column: 1 / 6; grid-row: 2; translate: 0 -24%; margin-left: 4%; }
  .album-info { grid-column: 6 / -1; grid-row: 2; padding-top: 24px; }
  .cards-copy { grid-template-columns: minmax(0, 1fr); }
  .cards-copy .title-l { grid-row: auto; }
  .dino-cards > *, .dino-offer > *, .lab-groovi > * { min-width: 0; }
  .dino-offer { grid-template-columns: 1fr; }
  .lab-groovi { grid-template-columns: 1fr; }
  .lab-loopsy { grid-template-columns: 1fr; }
  .studio-body { grid-template-columns: 1fr; }
  .custom { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav { gap: 10px; }
  .nav-logo svg { height: 32px; }
  .nav .lang { display: none; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero-title { font-size: clamp(2.9rem, 14vw, 5rem); }
  /* smartphone : Naya et Dinosaures côte à côte en haut, les quatre labos en 2 × 2 dessous */
  .portals { height: auto; min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 62vw 62vw; gap: 10px; }
  .portal { border-radius: 14px; }
  .portal-label { padding: 12px 12px 13px; }
  .portal-label b { font-size: .98rem; gap: 7px; }
  .portal-label small { font-size: .72rem; padding-left: 16px; }
  .portal-label .ico { display: none; }
  .portal .portal-media img { filter: none; transform: none; }
  .portal-label .ico { opacity: 1; transform: none; }
  .naya-head { display: block; }
  .naya-stage { display: block; }
  .naya-screen { aspect-ratio: 4 / 3.4; }
  .lyric { font-size: 1.5rem; bottom: 20%; right: 6%; }
  /* smartphone : pochette posée sous l'image, sans chevauchement ; le disque sort dans la marge droite */
  .album-art { width: 58%; margin: 40px 0 0 2%; translate: 0 0; rotate: -3deg; }
  .album-info { padding-top: 44px; }
  .player { width: 100%; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .clip-head { grid-template-columns: 1fr; }
  .clip-steps { grid-template-columns: 1fr; }
  .frame { width: 70vw; }
  .dino-intro-copy .title-xl { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  /* mobile : même carrousel, carte du milieu en grand, les voisines dépassent sur les côtés */
  .cards-stage { height: calc(64vw * .7237 + 150px); margin: 0 calc(-1 * var(--gutter)); overflow: hidden; touch-action: pan-y; }
    .fcard { width: 64vw; top: calc(50% - 40px); transform: perspective(1000px) translateX(calc(var(--d) * 62%)) translateZ(calc(var(--ad) * -160px)) rotateY(calc(var(--d) * -22deg)); }
  .fcard.active .fcard-btn { animation: none; }
  .fcard-name { margin-top: 12px; }
  .box { grid-template-columns: 1fr; padding: 24px 22px 28px; }
  .box-visual { aspect-ratio: 16 / 10; }
  .box-copy .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .vols a { grid-template-columns: 72px 1fr auto; padding: 10px 14px 10px 10px; }
  .vol-img img { width: 72px; }
  .vols .free a { grid-template-columns: 72px 1fr; }
  .free-cards img { width: 54px; }
  .dino-doors { grid-template-columns: 1fr; }
  .door { min-height: 380px; }
  .g-row { grid-template-columns: repeat(8, 1fr); row-gap: 4px; }
  .g-name { grid-column: 1 / -1; }
  .g-step { border-radius: 6px; }
  .g-pads { grid-template-columns: repeat(2, 1fr); }
  .g-pad kbd { display: none; }
  .labs-duo { grid-template-columns: 1fr; }
  .lab-lumino { grid-template-columns: 1fr; }
  .lumino-view { aspect-ratio: 4 / 5; }
  .lumino-brushes { bottom: 10px; left: 10px; right: 10px; transform: none; justify-content: center; flex-wrap: wrap; overflow: visible; border-radius: 18px; }
  .lab-lumino .lab-hint { top: 16px; bottom: auto; max-width: 58%; }
  .lab-ink { margin-top: 0; }
  .principles { grid-template-columns: 1fr; }
  .custom { grid-template-columns: 1fr; border-radius: 24px; }
  .custom-contact .btn { white-space: normal; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-copy { flex-direction: column; }
  .foot-copy span + span::before { display: none; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .card3d { transform: rotateX(8deg) rotateY(-18deg); }
  .vinyl { animation: none !important; }
}
