/* Yllaw Productions : fond bleu lumineux, verre dépoli, tuiles 3D. Un seul thème, volontairement. */
:root {
  --ink: #ffffff;
  --soft: rgba(255,255,255,.82);
  --muted: rgba(255,255,255,.64);
  --navy: #0b0b0d;
  --blue: #2a5bff;
  --accent: #8fb2ff;
  --glass: rgba(255,255,255,.06);
  --glass-strong: rgba(255,255,255,.12);
  --line: rgba(255,255,255,.16);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: #000; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: linear-gradient(180deg, #000 0%, #030304 60%, #08080a 100%) fixed;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { color: #e6e8ee; margin: 0; font-weight: 500; text-wrap: balance; letter-spacing: -.03em; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; }
.page { position: relative; z-index: 2; }
#wave { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#powder { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
/* boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); font: 600 15px var(--font); cursor: pointer; backdrop-filter: blur(10px); transition: background .25s, color .25s, transform .25s; }
.btn:hover { background: var(--glass-strong); transform: translateY(-2px); }
.btn.solid { background: #fff; color: var(--navy); border-color: #fff; }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); }
.pill { display: inline-block; padding: 5px 13px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid var(--line); font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); }

/* en-tête */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: #000; }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); background: rgba(0,0,0,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.14); }
.bar { display: flex; align-items: center; gap: 20px; height: 76px; }
html { scroll-padding-top: 90px; }
.logo img { height: 36px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav a { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--soft); transition: background .2s, color .2s; }
.nav a:hover { color: #fff; background: var(--glass-strong); }
.nav a[aria-current="page"] { background: #fff; color: var(--navy); }
.ig { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); transition: background .2s; }
.ig:hover { background: var(--glass-strong); }
.ig svg { width: 20px; height: 20px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: #fff; cursor: pointer; font-size: 18px; }
.cart-btn { position: relative; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; }

/* accueil */
.hero { padding-block: clamp(40px, 8vw, 110px) clamp(24px, 4vw, 40px); }
.about { padding-block: 10px 120px; }
.about { text-align: center; }
.about .lead { margin: 0 auto; max-width: 70ch; }
.about .cta { justify-content: center; }
.hero h1, .page-head h1 { font-family: var(--display); font-weight: 500; color: #f2f3f7; }
.hero { text-align: center; }
.hero h1 { font-size: clamp(48px, 8vw, 108px); line-height: .98; letter-spacing: -.045em; max-width: 12ch; margin-inline: auto; }
.hero h1 em { display: block; font-style: normal; color: var(--accent); }
/* glitch marqué mais bref, déclenché toutes les 10 secondes par app.js */
.hero h1.glitch { animation: glitch-a .6s steps(1, end); }
.hero h1.glitch em { animation: glitch-b .6s steps(1, end); }
@keyframes glitch-a {
  0% { transform: none; text-shadow: none; clip-path: none; }
  8% { transform: translate(-6px, 0) skewX(-4deg); text-shadow: 5px 0 rgba(255,40,90,.85), -5px 0 rgba(40,170,255,.85); }
  16% { transform: translate(5px, -2px) skewX(3deg); text-shadow: -6px 0 rgba(255,40,90,.8), 6px 0 rgba(40,170,255,.8); clip-path: inset(0 0 62% 0); }
  24% { transform: translate(-3px, 1px); text-shadow: 4px 0 rgba(255,40,90,.8), -4px 0 rgba(40,170,255,.8); clip-path: inset(38% 0 28% 0); }
  32% { transform: translate(7px, 0) skewX(-5deg); text-shadow: -5px 0 rgba(255,40,90,.85), 5px 0 rgba(40,170,255,.85); clip-path: none; }
  42% { transform: translate(-4px, 0); text-shadow: 3px 0 rgba(255,40,90,.7), -3px 0 rgba(40,170,255,.7); clip-path: inset(55% 0 0 0); }
  52% { transform: translate(2px, 0); text-shadow: 2px 0 rgba(255,40,90,.6), -2px 0 rgba(40,170,255,.6); clip-path: none; }
  62% { transform: none; text-shadow: none; clip-path: none; }
  100% { transform: none; text-shadow: none; clip-path: none; }
}
@keyframes glitch-b {
  0% { transform: none; }
  12% { transform: translateX(12px) skewX(-6deg); }
  26% { transform: translateX(-9px); }
  38% { transform: translateX(8px) skewX(4deg); }
  50% { transform: translateX(-4px); }
  62% { transform: none; }
  100% { transform: none; }
}
.lead { margin-top: 34px; max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--soft); display: grid; gap: 14px; }
.lead p + p { font-size: .94em; color: var(--muted); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* tuiles 3D */
.clients-cta { display: flex; justify-content: center; margin-top: -40px; padding-bottom: 64px; }
.btn.big { min-height: 58px; padding: 0 34px; font-size: 16.5px; }
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding-block: 24px 70px; }
.tile-wrap { width: 216px; height: 290px; perspective: 1000px; }
.tile {
  --mx: 0; --my: 0; --tz: 0px;
  display: block; position: relative; width: 100%; height: 100%; border-radius: 24px; transform-style: preserve-3d;
  transform: translateZ(var(--tz)) rotateX(calc(var(--my) * -9deg)) rotateY(calc(var(--mx) * 11deg));
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.tile:hover { --tz: 18px; }
.tile-edge { position: absolute; inset: 6px; border-radius: 24px; background: #0b0b0d; transform: translateZ(-20px); box-shadow: 0 40px 80px -18px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.14) inset; }
.tile-face { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); background: #08080a; box-shadow: 0 1px 0 rgba(255,255,255,.28) inset; }
.tile-img { position: absolute; inset: -7%; background-size: cover; background-position: center; transform: translate(calc(var(--mx) * -14px), calc(var(--my) * -14px)) scale(1.03); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.tile-tint { position: absolute; inset: 0; background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(0,0,0,.4)); mix-blend-mode: soft-light; }
.tile-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%); }
.tile-glare { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; background: radial-gradient(circle at calc(50% + var(--mx) * 50%) calc(50% + var(--my) * 50%), rgba(255,255,255,.8), rgba(255,255,255,0) 48%); mix-blend-mode: overlay; }
.tile-sheen { position: absolute; inset: 0; background: linear-gradient(112deg, transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%); transform: translateX(-130%); }
.tile:hover .tile-glare { opacity: 1; }
.tile:hover .tile-sheen { transform: translateX(130%); transition: transform 1.8s cubic-bezier(.3,.6,.3,1); }
.tile-label { position: absolute; left: 18px; right: 16px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; transform: translateZ(40px); pointer-events: none; }
.tile-label h3 { font-size: 19px; line-height: 1.15; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0,0,0,.7); }
.tile .tile-arrow { width: 36px; height: 36px; }
.tile .tile-arrow svg { width: 15px; height: 15px; }
.tile-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.4); transition: transform .5s; }
.tile:hover .tile-arrow { transform: translateX(6px) rotate(-45deg); }

/* pages intérieures */
.page-head { padding-block: clamp(28px, 6vw, 80px) 36px; }
.page-head h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1; letter-spacing: -.04em; }
.page-head p { margin-top: 18px; max-width: 58ch; color: var(--soft); font-size: 19px; }
.back { display: inline-flex; gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--soft); }
.back:hover { color: #fff; }
.stack { display: grid; gap: 24px; padding-bottom: 110px; }

/* carte client + lecteur */
.pc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); border-radius: 30px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.pc-img { position: relative; min-height: 280px; background-size: cover; background-position: center; }
.pc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0) 55%); }
.pc-img.noimg { background: radial-gradient(circle at 30% 30%, #4b4f5a, #17181c 60%, #030304); display: grid; place-items: center; font-weight: 700; font-size: 34px; letter-spacing: -.03em; text-align: center; padding: 20px; }
.chip { display: flex; align-items: center; gap: 12px; }
.chip-logo { width: 52px; height: 52px; flex: none; border-radius: 16px; background: rgba(0,0,0,.6); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; backdrop-filter: blur(8px); }
.chip-logo img { width: 76%; height: 76%; object-fit: contain; }
.chip-logo.round img { width: 100%; height: 100%; object-fit: cover; }
.chip-logo b { font-size: 20px; }
.pc-img .chip { position: absolute; left: 20px; bottom: 20px; z-index: 2; }
.pc-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; justify-content: center; min-width: 0; }
.pc-body h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.pc-body .sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.sel { appearance: none; -webkit-appearance: none; width: 100%; min-height: 50px; padding: 0 48px 0 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 20px center; color: #fff; font: 600 15px var(--font); cursor: pointer; }
.sel option { color: #0b0b0d; }
.pl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); }
.pl-top { display: flex; align-items: center; gap: 16px; }
.pp { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: transform .25s, background .25s; }
.pp:hover { transform: scale(1.06); background: var(--accent); }
.pp svg { width: 18px; height: 18px; fill: currentColor; }
.pp .i-pause { display: none; }
.pl.on .pp .i-play { display: none; }
.pl.on .pp .i-pause { display: block; }
.pl-info { min-width: 0; flex: 1; }
.pl-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-note { font-size: 12px; color: var(--accent); margin-top: 2px; }
.times { display: flex; justify-content: space-between; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); margin-top: -6px; }
.pl-vol { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.pl-vol svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pl-vol input { max-width: 160px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; cursor: pointer; background: linear-gradient(90deg, #fff var(--p, 0%), rgba(255,255,255,.28) var(--p, 0%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 0; }
input[type=range]::-moz-range-track { background: transparent; }
.pc-body .more { font-size: 14px; font-weight: 600; color: var(--accent); }
.pc-body .more:hover { color: #fff; }
.solo .pl { margin: 0; min-width: 0; }
.solo { grid-template-columns: minmax(0, 1fr); padding: 0; }
.solo-in { padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }

/* références */
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 110px; }
.rc { position: relative; display: block; min-height: 360px; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: #08080a; }
.rc-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.rc:hover .rc-img { transform: scale(1.06); }
.rc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.1) 60%), linear-gradient(165deg, rgba(255,255,255,.04), rgba(0,0,0,.3)); }
.rc-tags { position: absolute; top: 20px; right: 20px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rc-foot { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.rc-foot h3 { font-size: 24px; line-height: 1.15; }
.rc-foot .tile-arrow { transition: transform .5s; }
.rc:hover .tile-arrow { transform: translateX(6px) rotate(-45deg); }

/* page client */
.banner { position: relative; height: clamp(240px, 34vw, 400px); border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background-size: cover; background-position: center; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0) 60%); }
.client { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; padding-bottom: 60px; align-items: start; }
.client .about { display: grid; gap: 20px; }
.client .about p { color: var(--soft); font-size: 19px; max-width: 56ch; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.todo { font-size: 14px; color: var(--accent); }
.others { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 110px; }

/* shop */
.shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 110px; }
.pr { border-radius: 28px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pr:hover { transform: translateY(-6px); }
.pr-art { height: 190px; position: relative; overflow: hidden; }
.pr-art svg { width: 100%; height: 100%; display: block; }
.pr-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pr-body h3 { font-size: 22px; line-height: 1.2; }
.pr-body p { color: var(--muted); font-size: 15px; flex: 1; }
.pr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.price { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pr-btns { display: flex; gap: 8px; }
.pr-btns .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.notice { display: inline-block; margin-bottom: 26px; font-size: 14px; color: var(--accent); }
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 61; transform: translateX(105%); transition: transform .5s cubic-bezier(.2,.7,.2,1); background: linear-gradient(180deg, #0e0e10, #050506); border-left: 1px solid var(--line); padding: max(24px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) 24px; display: flex; flex-direction: column; gap: 18px; }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { font-size: 26px; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: #fff; cursor: pointer; font-size: 18px; }
.lines { flex: 1; overflow: auto; display: grid; gap: 12px; align-content: start; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); font-size: 15px; }
.line small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: #fff; cursor: pointer; }
.total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line); }
.empty { color: var(--muted); }
#checkoutMsg { font-size: 14px; color: var(--accent); min-height: 40px; }

/* contact, légal */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; padding-bottom: 110px; align-items: start; }
.coords { display: grid; gap: 22px; }
.coords .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.coords .v { font-size: 22px; user-select: all; }
.copy-btn { margin-left: 10px; font: 600 12px var(--font); min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: #fff; cursor: pointer; }
form.glass { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; font-size: 13px; color: var(--soft); }
input:not([type=range]), textarea { width: 100%; background: rgba(255,255,255,.07); border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; color: #fff; font: 400 16px var(--font); }
input:not([type=range]):focus, textarea:focus { outline: none; border-color: #fff; }
textarea { min-height: 140px; resize: vertical; }
#sent { min-height: 24px; font-size: 14px; color: var(--accent); }
#sent.bad { color: #ffb4a8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rgpd { font-size: 13px; color: var(--muted); margin-top: -6px; }
.legal { max-width: 70ch; display: grid; gap: 16px; padding-bottom: 110px; color: var(--soft); }
.legal h2 { font-size: 24px; margin-top: 10px; color: #fff; }

footer.foot { position: relative; z-index: 2; border-top: 1px solid var(--line); padding-block: 36px 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--soft); font-size: 14px; }
footer.foot nav { display: flex; align-items: center; gap: 22px; }
footer.foot a:hover { color: #fff; }
footer.foot .ig { width: 40px; height: 40px; }

@media (max-width: 960px) {
  .pc { grid-template-columns: minmax(0, 1fr); }
  .pc-img { min-height: 220px; }
  .client, .contact { grid-template-columns: minmax(0, 1fr); }
  .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .menu-btn { display: block; margin-left: auto; }
  .bar .ig { display: none; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; border-radius: 26px; padding: 10px; background: rgba(4,7,22,.97); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 18px; font-size: 16px; }
  .refs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .tiles { gap: 14px; }
  .tile-wrap { width: calc(50% - 7px); height: 240px; }
  .tile-label h3 { font-size: 17px; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  form .row { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
}
@media (hover: none) { .tile:hover { --tz: 0px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* tuile horizontale « Shop » : compacte, même fond que le site */
.tiles .tile-wrap.wide { width: 100%; height: 58px; perspective: 800px; flex: 0 0 100%; display: flex; justify-content: center; }
.tile-wrap.wide .tile { width: min(100%, 500px); }
.tile-wrap.wide .tile, .tile-wrap.wide .tile-face, .tile-wrap.wide .tile-edge { border-radius: 18px; }
.tile-wrap.wide .tile-edge { inset: 4px; transform: translateZ(-12px); }
.tile-wrap.wide .tile-face { background: #060607; }
.tile-wrap.wide .tile-label { top: 0; bottom: 0; left: 20px; right: 12px; align-items: center; transform: translateZ(22px); }
.tile-wrap.wide .tile-label h3 { font-size: clamp(11px, 3vw, 16px); font-weight: 500; white-space: nowrap; }
.tile-wrap.wide .tile-arrow { width: 34px; height: 34px; }
.tile-wrap.wide .tile-arrow svg { width: 15px; height: 15px; }
@media (max-width: 480px) { .tile-wrap.wide .tile-label { left: 16px; right: 16px; } .tile-wrap.wide .tile-arrow { display: none; } }

[hidden] { display: none !important; }
/* page Escape Games : une vignette par son, classées par genre */
.gchips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.gchip { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--soft); font: 600 14px var(--font); cursor: pointer; transition: background .25s, color .25s; }
.gchip:hover { background: var(--glass-strong); color: #fff; }
.gchip[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.genres { padding-bottom: 110px; }
.gh { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.035em; margin: 44px 0 18px; display: flex; align-items: baseline; gap: 12px; }
.gh span { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.vc { border-radius: 24px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); display: flex; flex-direction: column; }
.vc-img { aspect-ratio: 3 / 2; background-size: cover; background-position: center; background-color: #08080a; }
.vc-body { padding: 16px 18px 18px; display: grid; gap: 14px; }
.vc-title { font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.vc-brand { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.vc-brand:hover { color: #fff; }
.pl.compact { grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 12px 14px; border-radius: 18px; }
.pl.compact .pl-top { grid-area: 1 / 1 / 3 / 2; }
.pl.compact .pl-info { display: none; }
.pl.compact .pp { width: 46px; height: 46px; }
.pl.compact .seek { grid-area: 1 / 2; align-self: end; }
.pl.compact .times { grid-area: 2 / 2; margin: 0; }
.pl.compact .pl-vol { grid-area: 3 / 1 / 4 / 3; margin-top: 4px; }
.pl.compact .pl-vol input { max-width: none; }

/* bouton « jingle » sous l'encart podcasts */
.cta-tile { padding-block: 0 110px; }
.cta-tile .tile-wrap.wide .tile { width: min(100%, 580px); }

.cta-tile.top { padding-block: 0 22px; justify-content: flex-start; }
.cta-tile.top .tile-wrap.wide { justify-content: flex-start; }
.cta-tile.top .tile-wrap.wide .tile { width: min(100%, 640px); }
@media (max-width: 600px) {
  .cta-tile.top .tile-wrap.wide { height: 76px; }
  .cta-tile.top .tile-label { left: 16px; right: 14px; }
  .cta-tile.top .tile-label h3 { white-space: normal; font-size: 13px; line-height: 1.3; }
  .cta-tile.top .tile-arrow { display: grid; width: 30px; height: 30px; }
}

/* boutons « Par ici » : texte et flèche centrés dans le bouton */
.cta-tile .tile-wrap.wide .tile-label { left: 16px; right: 16px; justify-content: center; gap: 14px; }
.cta-tile .tile-wrap.wide .tile-label h3 { text-align: center; }
.cta-tile.top .tile-wrap.wide .tile { width: min(100%, 620px); }
.genres { padding-bottom: 50px; }

.cta-tile.top.long .tile-wrap.wide .tile { width: min(100%, 820px); }
@media (max-width: 600px) { .cta-tile.top.long .tile-wrap.wide { height: 100px; } }

.chip-logo.light { background: rgba(255,255,255,.92); }

.banner.tall { height: auto; aspect-ratio: 16 / 10; background-position: center 52%; }

/* apparition en fondu flou */
@keyframes blur-in { from { opacity: 0; filter: blur(16px); transform: translateY(14px); } }
.bar > *, main > :not(.tiles):not(.stack):not(.refs):not(.shop), :is(.tiles, .stack, .refs, .shop) > *, .foot {
  animation: blur-in .95s cubic-bezier(.2,.7,.2,1) backwards;
}
.bar > * { animation-delay: calc(var(--j, 0) * .06s); }
.bar > :nth-child(2) { --j: 1; } .bar > :nth-child(3) { --j: 2; } .bar > :nth-child(4) { --j: 3; }
main > :nth-child(1) { animation-delay: .08s; }
main > :nth-child(2) { animation-delay: .2s; }
main > :nth-child(3) { animation-delay: .35s; }
main > :nth-child(4) { animation-delay: .5s; }
:is(.tiles, .stack, .refs, .shop) > * { animation-delay: calc(.22s + var(--i, 0) * .09s); }
:is(.tiles, .stack, .refs, .shop) > :nth-child(1) { --i: 1; }
:is(.tiles, .stack, .refs, .shop) > :nth-child(2) { --i: 2; }
:is(.tiles, .stack, .refs, .shop) > :nth-child(3) { --i: 3; }
:is(.tiles, .stack, .refs, .shop) > :nth-child(4) { --i: 4; }
:is(.tiles, .stack, .refs, .shop) > :nth-child(5) { --i: 5; }
:is(.tiles, .stack, .refs, .shop) > :nth-child(6) { --i: 6; }
:is(.tiles, .stack, .refs, .shop) > :nth-child(7) { --i: 7; }
:is(.tiles, .stack, .refs, .shop) > :nth-child(8) { --i: 8; }
.foot { animation-delay: .6s; }
/* transition douce entre deux pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s ease both vt-out; }
::view-transition-new(root) { animation: .3s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; filter: blur(10px); } }
@keyframes vt-in { from { opacity: 0; } }

/* ───── Playlists : tuiles + lecteur ───── */
.tile-label small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.74); letter-spacing: .01em; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.tile-wrap.soon .tile { opacity: .5; filter: grayscale(.55); cursor: default; }
.tile-wrap.soon .tile:hover { --tz: 0px; }
.tile-wrap.soon .tile:hover .tile-glare { opacity: 0; }
#pl-grid[hidden], .lp[hidden] { display: none; }
.notice { display: inline-block; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); color: var(--soft); font-size: 14px; }
.lp { padding-bottom: 30px; }
.lp-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; margin-bottom: 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); font: 600 14px var(--font); cursor: pointer; backdrop-filter: blur(14px); transition: background .2s, transform .3s; }
.lp-back:hover { background: var(--glass-strong); transform: translateX(-3px); }
.lp-card { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(20px, 4vw, 44px); padding: clamp(20px, 3.2vw, 38px); border-radius: 30px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); align-items: center; }
.lp-cover { position: relative; aspect-ratio: 1; border-radius: 22px; background-size: cover; background-position: center; background-color: #101014; box-shadow: 0 30px 70px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.2) inset; transition: box-shadow .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.lp-cover.on { transform: scale(1.015); box-shadow: 0 30px 90px -16px rgba(143,178,255,.38), 0 0 0 1px rgba(255,255,255,.3) inset; }
.lp-main { display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 0; }
.lp-kicker { font: 700 12px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.lp-name { font: 500 clamp(36px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; color: #f2f3f7; outline: none; }
.lp-count { color: var(--muted); font-size: 15px; margin-top: -6px; }
.lp-now { display: grid; gap: 2px; margin-top: 12px; min-height: 32px; }
.lp-title { font-weight: 600; font-size: clamp(18px, 2vw, 22px); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-from { display: none; }
.lp-prog, .rx .lp-prog { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; font: 500 13px var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-prog input, .lp-vol input { height: 6px; }
.lp-prog input:disabled { cursor: default; opacity: .6; }
.lp-ctrl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-b { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .25s, opacity .2s; }
.lp-b:hover:not(:disabled) { background: var(--glass-strong); transform: scale(1.06); }
.lp-b:disabled { opacity: .38; cursor: default; }
.lp-b svg { width: 18px; height: 18px; fill: currentColor; }
.lp-play { width: 68px; height: 68px; background: #fff; color: var(--navy); border-color: #fff; }
.lp-play:hover:not(:disabled) { background: var(--accent); }
.lp-play svg { width: 24px; height: 24px; }
.lp-play .i-pause, .lp-play .i-spin { display: none; }
:is(.lp, .rx)[data-state=playing] .lp-play .i-play, :is(.lp, .rx)[data-state=loading] .lp-play .i-play { display: none; }
:is(.lp, .rx)[data-state=playing] .lp-play .i-pause { display: block; }
:is(.lp, .rx)[data-state=loading] .lp-play .i-spin { display: block; animation: spin .9s linear infinite; }
:is(.lp, .rx)[data-state=playing] .lp-play { box-shadow: 0 0 0 9px rgba(255,255,255,.1); }
@keyframes spin { to { transform: rotate(360deg); } }
.lp-vol { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.lp-vol svg { width: 18px; height: 18px; flex: none; }
.lp-vol input { width: 120px; }
.no-vol .lp-vol, .rx.no-vol .lp-vol { display: none; }
.lp-msg, .rx .status { min-height: 1.2em; font-size: 13px; color: var(--accent); }
.lp-list { list-style: none; margin: 18px 0 0; padding: 8px; display: grid; gap: 2px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); }
.lp-row { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 16px; border: 0; border-radius: 18px; background: transparent; color: var(--soft); font: 500 16px var(--font); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.lp-row:hover { background: rgba(255,255,255,.07); color: #fff; }
.lp-row.on { background: rgba(255,255,255,.13); color: #fff; }
.lp-row .n { color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; font-size: 14px; }
.lp-row .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-row .g { font-size: 12px; color: var(--muted); padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line); }
.lp-row .eq { display: none; height: 16px; align-items: flex-end; justify-content: center; gap: 2px; }
.lp-row.on .n { display: none; }
.lp-row.on .eq { display: flex; }
.eq i { width: 3px; height: 16px; border-radius: 2px; background: var(--accent); transform-origin: bottom; transform: scaleY(.3); animation: eq 1s ease-in-out infinite; animation-play-state: paused; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.75s; }
.lp[data-state=playing] .lp-row.on .eq i { animation-play-state: running; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.lp-lic { padding-block: 40px 120px; }
.lic-card { max-width: 860px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); display: grid; gap: 16px; justify-items: start; }
.lic-card p { color: var(--soft); font-size: 17px; }
.lic-card p + p { color: var(--muted); }
::view-transition-group(lpcover) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
::view-transition-old(lpcover), ::view-transition-new(lpcover) { height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .lp-card { grid-template-columns: 1fr; }
  .lp-cover { max-width: 340px; width: 100%; margin: 0 auto; }
  .lp-vol { margin-left: 0; width: 100%; }
  .lp-vol input { flex: 1; width: auto; }
}
@media (pointer: coarse) { .lp-prog input, .lp-vol input, .rx-seek { height: 8px; } input[type=range]::-webkit-slider-thumb { width: 24px; height: 24px; } input[type=range]::-moz-range-thumb { width: 24px; height: 24px; } .lp-prog, .lp-vol { min-height: 44px; } }

/* ───── Références : Deep Inside (Spotify) et DJ ───── */
.client-side { display: grid; gap: 24px; min-width: 0; }
.sp-intro { color: var(--soft); font-size: 18px; }
.sp-box { position: relative; display: grid; place-items: center; min-height: 352px; border-radius: 12px; }
.sp-frame { position: relative; z-index: 1; display: block; width: 100%; border: 0; border-radius: 12px; color-scheme: normal; }
.sp-fallback { position: absolute; z-index: 0; }
.dj-stack { display: grid; gap: 24px; margin-top: 28px; padding-bottom: 60px; }
.dj-card h2 { letter-spacing: .06em; font-size: clamp(26px, 3vw, 36px); }
.dj-logo { margin: 0; line-height: 0; }
.dj-logo img { display: block; height: clamp(34px, 4.6vw, 52px); width: auto; max-width: 100%; }
.dj-role { color: var(--muted); margin-top: -10px; }
.dj-card iframe { display: block; width: 100%; border: 0; border-radius: 14px; margin-bottom: 8px; }
.rx { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 34px); align-items: center; }
.rx-main { display: grid; gap: 16px; min-width: 0; }
.rx-select { display: grid; gap: 10px; }
.rx-label { font: 700 12px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rx-select select { -webkit-appearance: none; appearance: none; width: 100%; min-height: 52px; padding: 0 44px 0 18px; border-radius: 16px; border: 1px solid var(--line); color: var(--ink); font: 500 15px var(--font); cursor: pointer; background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 18px center; }
.rx-select select option { background: #0b0b0d; color: #fff; }
.rx-select select:hover { border-color: rgba(255,255,255,.4); }
.rx-np { display: grid; gap: 4px; min-height: 36px; }
.rx-title { font: 500 clamp(22px, 2.6vw, 30px)/1.1 var(--display); letter-spacing: -.02em; color: #f2f3f7; overflow-wrap: anywhere; }
.rx-artist { display: none; }
.rx-wave { height: clamp(150px, 20vw, 220px); border-radius: 18px; border: 1px solid var(--line); background: rgba(0,0,0,.28); overflow: hidden; }
.rx-wave canvas { width: 100%; height: 100%; display: block; }
.rx-note { grid-column: 1 / -1; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.rx-note a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
@media (max-width: 860px) { .rx { grid-template-columns: 1fr; } .rx-wave { order: 2; } .rx-main { order: 1; } .rx-note { order: 3; } }
