/* Kharliito — styles du site */
/* ============================================================
   Kharliito — site v1
   Univers : une nuit à Wendake. Marine, bleu Liito, écorce,
   touches d'ocre et de baie, perles, le loup qui se brode.
   ============================================================ */
:root {
  --navy: #0c2a51; --navy-deep: #081d38; --navy-raised: #10325e; --navy-line: #1b4677;
  --blue: #287ed8; --blue-night: #5aa6ee;
  --ecorce: #F5EFE4; --ecorce-deep: #E6D8BF;
  --ocre: #E8B45A; --ocre-ink: #8A5A12; --baie: #A8432F; --baie-night: #E8836E;

  /* sections de contenu : thème clair (écorce) */
  --bg: #F5EFE4; --surface: #ffffff; --ink: #0c2a51; --body: #2c3440; --muted: #5c5f61; --line: #dccfb8;
  --accent: #8A5A12; --link: #0c2a51; --chip: #E6D8BF;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1180px, calc(100% - 48px));

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #081d38; --surface: #0c2a51; --ink: #F5EFE4; --body: #d9dfe7; --muted: #b4bdc9; --line: #1b4677;
    --accent: #E8B45A; --link: #F5EFE4; --chip: #10325e;
  }
}
:root[data-theme="dark"] {
  --bg: #081d38; --surface: #0c2a51; --ink: #F5EFE4; --body: #d9dfe7; --muted: #b4bdc9; --line: #1b4677;
  --accent: #E8B45A; --link: #F5EFE4; --chip: #10325e;
}
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 72px); scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--f-sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; }
a { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- Navigation ---------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); transition: background .3s ease, box-shadow .3s ease; }
.nav.solid { background: rgba(8,29,56,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(245,239,228,.08); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ecorce); font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.nav .brand svg { width: 34px; height: 34px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--ecorce-deep); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav ul a:hover { color: var(--ecorce); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--f-sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease; }
.btn:active { transform: scale(.97); }
.btn-live { background: var(--baie); color: #fff; min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-live i { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.btn-live.on i { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.menu-btn { display: none; margin-left: 8px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(245,239,228,.3); background: none; color: var(--ecorce); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ecorce); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }
@media (max-width: 960px) {
  .nav ul { display: none; }
  .nav .btn-live { margin-left: auto; }
  .menu-btn { display: grid; place-items: center; }
  .nav.open { background: rgba(8,29,56,.97); }
  .nav.open ul { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px 24px 24px; background: rgba(8,29,56,.97); }
  .nav.open ul a { display: block; padding: 14px 0; font-size: 22px; font-family: var(--f-display); font-weight: 700; color: var(--ecorce); border-bottom: 1px solid rgba(245,239,228,.1); }
}

/* ---------------- Hero : la nuit ---------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--navy); color: var(--ecorce); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.layer { position: absolute; inset: 0; pointer-events: none; }
.aurora { inset: -20%; mix-blend-mode: screen; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); }
.aurora i:nth-child(1) { width: 70%; height: 36%; left: 8%; top: 6%; background: #287ed8; opacity: .36; animation: d1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 46%; height: 26%; left: 48%; top: 22%; background: #5aa6ee; opacity: .24; animation: d2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 36%; height: 22%; left: 24%; top: 64%; background: #D9962B; opacity: .12; animation: d3 38s ease-in-out infinite alternate; }
@keyframes d1 { to { transform: translate(14%, 8%) rotate(8deg) scaleX(1.2); } }
@keyframes d2 { to { transform: translate(-18%, 10%) rotate(-10deg) scale(1.25); } }
@keyframes d3 { to { transform: translate(16%, -12%) scale(1.4); } }
.hex { opacity: .45; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97'%3E%3Cpath d='M21 1.5 L63 1.5 L84 48.5 L63 95.5 L21 95.5 L0 48.5 Z' fill='none' stroke='%2316427a' stroke-width='3'/%3E%3C/svg%3E"); animation: hexmove 40s linear infinite; }
@keyframes hexmove { to { background-position: 84px 194px; } }
.river { opacity: 0; transition: opacity 1.4s ease; -webkit-mask: radial-gradient(ellipse 34% 46% at var(--wx, 72%) 46%, #000 0%, rgba(0,0,0,.8) 35%, rgba(0,0,0,.3) 62%, transparent 82%); mask: radial-gradient(ellipse 34% 46% at var(--wx, 72%) 46%, #000 0%, rgba(0,0,0,.8) 35%, rgba(0,0,0,.3) 62%, transparent 82%); }
.river.on { opacity: .85; }
.river video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); }
.river::after { content: ""; position: absolute; inset: 0; background: #287ed8; mix-blend-mode: color; }
#motes { width: 100%; height: 100%; }
.vignette { background: radial-gradient(ellipse 80% 75% at 50% 45%, rgba(8,29,56,0) 55%, rgba(4,14,28,.7) 100%); }
.grain { inset: -50%; opacity: .06; mix-blend-mode: overlay; background-size: 256px 256px; }

.hero-inner { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 24px; padding: 110px 0 40px; }
.hero-copy { max-width: 680px; }
.place { margin: 0 0 18px; font-size: 17px; font-weight: 600; color: var(--ocre); }
.hero h1 { margin: 0; white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-size: clamp(58px, 10.2vw, 172px); line-height: .84; letter-spacing: -.055em; color: var(--ecorce); }
.hero h1 .ch { display: inline-block; opacity: 0; transform: translateY(40%) scale(.7); filter: blur(10px); }
.entered .hero h1 .ch { animation: ch .6s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(.9s + var(--i) * .05s); }
@keyframes ch { to { opacity: 1; transform: none; filter: none; } }
.lead { margin: 26px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; color: var(--ecorce-deep); max-width: 22ch; opacity: 0; }
.entered .lead { animation: up .9s ease forwards 1.6s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; opacity: 0; }
.entered .hero-actions { animation: up .9s ease forwards 1.9s; }
.btn-primary { background: var(--ecorce); color: var(--navy); }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: none; color: var(--ecorce); border-color: rgba(245,239,228,.35); }
.btn-ghost:hover { border-color: var(--ecorce); }
.btn svg { width: 18px; height: 18px; }

.wolf-wrap { position: relative; justify-self: center; width: min(460px, 38vw); aspect-ratio: 1; perspective: 1200px; }
.halo { position: absolute; inset: 0; display: grid; place-items: center; }
.halo i { position: absolute; width: 62%; height: 62%; border-radius: 50%; border: 3px solid var(--ocre); opacity: 0; animation: wave 4.5s ease-out infinite 2.6s; }
.halo i:nth-child(2) { animation-delay: 4.1s; border-color: var(--blue-night); }
.halo i:nth-child(3) { animation-delay: 5.6s; border-color: var(--ecorce-deep); }
@keyframes wave { 0% { transform: scale(.7); opacity: .55; } 100% { transform: scale(1.45); opacity: 0; } }
.float { position: absolute; inset: 0; transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.float svg { width: 100%; height: 100%; filter: drop-shadow(0 34px 36px rgba(2,10,24,.55)) drop-shadow(0 0 40px rgba(90,166,238,.28)); }
@keyframes float { 0%, 100% { transform: translateY(0) rotateY(-9deg) rotateX(3deg); } 50% { transform: translateY(-16px) rotateY(9deg) rotateX(-3deg); } }

/* le loup se brode */
.w-fill { opacity: 0; transition: opacity .5s ease; }
.w-line { fill: none; stroke: var(--ecorce); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.w-stitch { fill: none; stroke: var(--ecorce); stroke-width: 1.6; stroke-dasharray: .018 .014; opacity: 0; transition: opacity .6s ease; }
.w-pop { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.sewn .w-line { animation: sew 1.3s ease-in-out forwards; animation-delay: var(--t, 0s); }
.sewn .w-fill { opacity: 1; transition-delay: calc(var(--t, 0s) + .7s); }
.sewn .w-stitch { opacity: .85; transition-delay: 1.6s; }
.sewn .w-pop { transform: scale(1); transition-delay: var(--t, 0s); }
@keyframes sew { to { stroke-dashoffset: 0; } }
.glint { animation: glint 7s ease-in-out infinite 4s; }
@keyframes glint { 0% { transform: translateX(-150px) skewX(-20deg); } 16%, 100% { transform: translateX(170px) skewX(-20deg); } }

/* prochain direct */
.next-live { position: relative; z-index: 2; border-top: 1px solid rgba(245,239,228,.12); }
.next-live .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 18px 0 22px; font-size: 16px; color: var(--ecorce-deep); }
.next-live strong { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ecorce); font-variant-numeric: tabular-nums; }
.next-live .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ocre); box-shadow: 0 0 0 5px rgba(232,180,90,.2); }
.next-live.live .dot { background: var(--baie-night); box-shadow: 0 0 0 5px rgba(232,131,110,.25); animation: pulse 1.6s ease-in-out infinite; }
.next-live a { color: var(--ecorce); font-weight: 600; margin-left: auto; }
.band { position: relative; z-index: 2; height: 44px; overflow: hidden; background: var(--navy-deep); }
.band svg { display: block; width: 3840px; height: 44px; animation: bandscroll 70s linear infinite; }
@keyframes bandscroll { to { transform: translateX(-1920px); } }

/* ---------------- Sections ---------------- */
section.block { padding: clamp(80px, 11vw, 150px) 0; }
.h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 6.4vw, 92px); line-height: .95; letter-spacing: -.04em; color: var(--ink); max-width: 14ch; }
.kicker { margin: 0 0 20px; font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--accent); }
.prose p { margin: 0 0 1.1em; max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }

/* Qui je suis */
.who { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.who .h2 { max-width: 9ch; }
.who .big { font-family: var(--f-serif); font-size: clamp(28px, 2.8vw, 36px); line-height: 1.25; color: var(--ink); margin: 0 0 28px; max-width: 26ch; }
.facts { margin: 44px 0 0; padding: 26px 0 0; border-top: 2px solid var(--line); font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -.015em; color: var(--ink); }
.facts span { color: var(--accent); }

/* Musique */
.music { background: var(--navy); color: var(--ecorce); position: relative; overflow: hidden; }
.music .h2 { color: var(--ecorce); }
.music .kicker { color: var(--ocre); }
.music-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.music p.intro { color: var(--ecorce-deep); max-width: 36ch; margin: 24px 0 32px; }
.tracks { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tracks li { border-top: 1px solid rgba(245,239,228,.14); }
.tracks li:last-child { border-bottom: 1px solid rgba(245,239,228,.14); }
.tracks a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 20px 6px; color: var(--ecorce); text-decoration: none; transition: background .2s ease, padding .2s ease; }
.tracks a:hover { background: rgba(245,239,228,.05); padding-left: 14px; }
.tracks .n { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: var(--ocre); font-variant-numeric: tabular-nums; }
.tracks .t { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.tracks .play { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(245,239,228,.3); display: grid; place-items: center; transition: background .2s ease, border-color .2s ease; }
.tracks a:hover .play { background: var(--ecorce); border-color: var(--ecorce); }
.tracks .play svg { width: 14px; height: 14px; fill: var(--ecorce); margin-left: 2px; }
.tracks a:hover .play svg { fill: var(--navy); }

/* ---------------- Salle d'écoute ---------------- */
.listen { background: var(--navy); color: var(--ecorce); position: relative; overflow: hidden; }
.listen .h2 { color: var(--ecorce); }
.listen .kicker { color: var(--ocre); }
.listen-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; }
.listen-head .sum { color: var(--ecorce-deep); font-size: 17px; margin: 0; }
.listen-head .sum b { color: var(--ecorce); font-family: var(--f-display); font-weight: 700; }
.room { display: grid; grid-template-columns: minmax(300px, .9fr) 1.3fr; gap: clamp(28px, 4vw, 60px); margin-top: 48px; align-items: start; }
.deck { position: sticky; top: 96px; background: var(--navy-deep); border-radius: 30px; padding: 22px; box-shadow: 0 0 0 1px rgba(245,239,228,.08), 0 40px 80px rgba(0,0,0,.35); }
.cover { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; padding: 8%; display: flex; flex-direction: column; justify-content: space-between; background: var(--cv, #10325e); isolation: isolate; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97'%3E%3Cpath d='M21 1.5 L63 1.5 L84 48.5 L63 95.5 L21 95.5 L0 48.5 Z' fill='none' stroke='%23ffffff' stroke-opacity='.12' stroke-width='3'/%3E%3C/svg%3E"); }
.cover::after { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -18%; bottom: -18%; border-radius: 50%; background: radial-gradient(circle, var(--cv2, #287ed8) 0%, transparent 70%); opacity: .7; }
.cover .ct { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 52px); line-height: .92; letter-spacing: -.04em; color: #F5EFE4; overflow-wrap: anywhere; }
.cover .cb { display: flex; justify-content: space-between; align-items: end; font-weight: 700; font-size: 13px; letter-spacing: .24em; color: rgba(245,239,228,.8); }
.cover .beads { display: flex; gap: 6px; }
.cover .beads i { width: 9px; height: 9px; border-radius: 50%; background: var(--ocre); }
.cover .beads i:nth-child(2) { background: #5aa6ee; } .cover .beads i:nth-child(3) { background: #E8836E; }
.cover.spin { animation: coverpulse 2.4s ease-in-out infinite; }
@keyframes coverpulse { 50% { transform: scale(1.015); } }
.np { margin: 18px 4px 0; }
.np h3 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -.03em; line-height: 1.05; color: var(--ecorce); }
.np p { margin: 6px 0 0; color: var(--ecorce-deep); font-size: 15px; }
.viz { display: flex; align-items: end; gap: 5px; height: 36px; margin: 16px 4px 8px; }
.viz i { flex: 1; border-radius: 6px; background: linear-gradient(var(--ocre), #E8836E); height: 12%; transition: height .12s linear; }
.viz i:nth-child(3n) { background: linear-gradient(#5aa6ee, #287ed8); }
.scrub { position: relative; height: 22px; margin: 4px 4px 0; cursor: pointer; touch-action: none; }
.scrub .rail { position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; background: rgba(245,239,228,.14); }
.scrub .fill { position: absolute; left: 0; top: 9px; height: 4px; border-radius: 4px; width: 0; background: repeating-linear-gradient(90deg, var(--ocre) 0 8px, #5aa6ee 8px 16px, #E8836E 16px 24px); }
.scrub .knob { position: absolute; top: 3px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ecorce); left: 0; box-shadow: 0 0 0 4px rgba(245,239,228,.15); }
.times { display: flex; justify-content: space-between; margin: 2px 4px 0; font-size: 13px; color: var(--ecorce-deep); font-variant-numeric: tabular-nums; }
.ctrl { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.ic { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--ecorce); display: grid; place-items: center; cursor: pointer; }
.ic svg { width: 20px; height: 20px; fill: currentColor; }
.ic[aria-pressed="true"] { color: var(--ocre); }
.ic.big { width: 66px; height: 66px; background: var(--ecorce); color: var(--navy); transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.ic.big:hover { transform: scale(1.06); }
.ic.big svg { width: 24px; height: 24px; }
.vol { display: flex; align-items: center; gap: 10px; margin: 12px 8px 2px; color: var(--ecorce-deep); }
.vol svg { width: 18px; height: 18px; flex: none; }
.vol input { flex: 1; accent-color: var(--ocre); }
.finder { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.finder input { flex: 1 1 220px; min-height: 46px; border-radius: 999px; border: 2px solid rgba(245,239,228,.18); background: rgba(245,239,228,.06); color: var(--ecorce); padding: 0 18px; font: 500 16px var(--f-sans); }
.finder input::placeholder { color: #93a1b3; }
.finder input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.chipbtn { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid rgba(245,239,228,.2); background: none; color: var(--ecorce); font: 600 14px var(--f-sans); cursor: pointer; }
.chipbtn[aria-pressed="true"] { background: var(--ecorce); color: var(--navy); border-color: var(--ecorce); }
.tl { list-style: none; margin: 0; padding: 0; max-height: 720px; overflow: auto; border-radius: 18px; scrollbar-width: thin; scrollbar-color: #1b4677 transparent; }
.tl li button { width: 100%; display: grid; grid-template-columns: 34px 42px 1fr auto auto; gap: 14px; align-items: center; padding: 10px 12px; border: 0; background: none; color: var(--ecorce); font: inherit; text-align: left; cursor: pointer; border-radius: 14px; transition: background .15s ease; }
.tl li button:hover, .tl li button:focus-visible { background: rgba(245,239,228,.07); }
.tl li.on button { background: rgba(232,180,90,.14); }
.tl .i { font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--ocre); text-align: right; font-variant-numeric: tabular-nums; }
.tl .mc { width: 42px; height: 42px; border-radius: 10px; background: var(--cv); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 18px; color: #F5EFE4; position: relative; overflow: hidden; }
.tl .mc::after { content: ""; position: absolute; width: 60%; height: 60%; right: -20%; bottom: -20%; border-radius: 50%; background: var(--cv2); opacity: .8; }
.tl .nm { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -.015em; line-height: 1.15; }
.tl .tg { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(245,239,228,.1); color: var(--ecorce-deep); white-space: nowrap; }
.tl .tg.lt { background: rgba(232,131,110,.2); color: #E8836E; }
.tl .du { font-size: 14px; color: var(--ecorce-deep); font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.tl li.on .i { visibility: hidden; position: relative; }
.tl li.on .i::after { content: ""; visibility: visible; position: absolute; right: 2px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ocre), var(--ocre)) 0 100%/3px 60% no-repeat, linear-gradient(var(--ocre), var(--ocre)) 50% 100%/3px 100% no-repeat, linear-gradient(var(--ocre), var(--ocre)) 100% 100%/3px 40% no-repeat; animation: eq .9s ease-in-out infinite alternate; }
@keyframes eq { to { background-size: 3px 100%, 3px 30%, 3px 90%; } }
.tl li.off button { opacity: .45; }
.tl .empty { padding: 30px 12px; color: var(--ecorce-deep); }
.listen .card h3 { color: var(--ecorce); } .listen .card p { color: var(--ecorce-deep); }
.music-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; align-items: start; }
.music-extra .intro { color: var(--ecorce-deep); max-width: 44ch; margin: 0 0 20px; }

/* mini-lecteur qui suit */
.mini { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 94; width: min(620px, calc(100% - 24px)); transform: translate(-50%, 160%); visibility: hidden; transition: transform .5s cubic-bezier(.2,1.2,.3,1), visibility 0s .5s; display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 22px; background: rgba(8,29,56,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ecorce); box-shadow: 0 0 0 1px rgba(245,239,228,.12), 0 24px 50px rgba(0,0,0,.45); }
.mini.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s cubic-bezier(.2,1.2,.3,1); }
.mini .mc { width: 48px; height: 48px; border-radius: 12px; background: var(--cv); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 20px; }
.mini .mt { min-width: 0; background: none; border: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; padding: 0; }
.mini .mt b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .mt small { display: block; font-size: 12.5px; color: var(--ecorce-deep); }
.mini .mbar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(245,239,228,.12); overflow: hidden; margin-top: -4px; }
.mini .mbar i { display: block; height: 100%; width: 0; background: var(--ocre); }
.mini .ctl { display: flex; gap: 4px; }
.mini .ic { width: 40px; height: 40px; }
.mini .ic.big { width: 44px; height: 44px; }
body.has-mini .toasts { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }

/* clips : vraies miniatures */
.card .thumb img.shot { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: none; transition: transform .5s ease; }
.card:hover .thumb img.shot, .card:focus-visible .thumb img.shot { transform: scale(1.06); }
.card .thumb .views { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(8,29,56,.8); color: var(--ecorce); }
.m-grid.clips .card:first-child { grid-column: span 2; }
.m-grid.clips .card:first-child h3 { font-size: 30px; }
.card .rank { position: absolute; right: 12px; top: 12px; font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--navy); background: var(--ocre); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 700px) { .m-grid.clips .card:first-child { grid-column: auto; } }

@media (max-width: 900px) {
  .room, .music-extra { grid-template-columns: 1fr; }
  .deck { position: relative; top: 0; }
  .tl { max-height: 560px; }
  .tl li button { grid-template-columns: 26px 38px 1fr auto; }
  .tl .tg { display: none; }
}

.privacy-note { margin: 16px 0 0; font-size: 13.5px; color: var(--ecorce-deep); max-width: 52ch; }
.privacy-note a { color: inherit; }
.privacy-note.dark { color: var(--muted); }

/* Horaire */
.sched { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.days { display: flex; flex-wrap: wrap; gap: 14px; }
.day { flex: 1 1 150px; border-radius: 28px; padding: 28px 26px 30px; background: var(--navy); color: var(--ecorce); }
.day b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 4vw, 54px); line-height: 1; letter-spacing: -.03em; }
.day span { display: block; margin-top: 10px; font-weight: 600; color: var(--ocre); }
.day.soon { background: var(--ocre); color: var(--navy); }
.day.soon span { color: var(--navy); }
.sched .countdown { margin-top: 26px; font-size: 17px; color: var(--muted); }
.sched .countdown strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* Parcours : un fil de perles */
.path { position: relative; margin-top: 56px; padding-left: 44px; list-style: none; }
.path::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--line); }
.path .thread { position: absolute; left: 11px; top: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--ocre), var(--baie-night)); height: 0; transition: height 1.6s cubic-bezier(.2,1,.3,1); }
.path.seen .thread { height: calc(100% - 20px); }
.path li { position: relative; padding: 0 0 46px; }
.path li:last-child { padding-bottom: 0; }
.path li::before { content: ""; position: absolute; left: -41px; top: 8px; width: 19px; height: 19px; border-radius: 50%; background: var(--bg); border: 3px solid var(--ocre); }
.path time { display: block; font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--accent); }
.path h3 { margin: 4px 0 6px; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.025em; line-height: 1.05; color: var(--ink); }
.path p { margin: 0; color: var(--muted); max-width: 52ch; }

/* Emotes */
.emotes { background: var(--navy-deep); color: var(--ecorce); }
.emotes .h2 { color: var(--ecorce); }
.emotes .kicker { color: var(--ocre); }
.em-group { margin-top: 56px; }
.em-group h3 { margin: 0 0 18px; font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -.01em; color: var(--ecorce); }
.em-group h3 span { font-family: var(--f-sans); font-weight: 500; font-size: 16px; color: var(--ecorce-deep); margin-left: 8px; }
.em-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px; }
.em { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: center; }
.em .tile { aspect-ratio: 1; border-radius: 26%; background: var(--navy-raised); display: grid; place-items: center; transition: transform .25s cubic-bezier(.3,1.6,.5,1), background .2s ease; }
.em img { width: 68%; height: 68%; image-rendering: auto; }
.em:hover .tile, .em:focus-visible .tile { transform: translateY(-4px) rotate(-4deg) scale(1.06); background: #16427a; }
.em code { display: block; margin-top: 8px; font-family: var(--f-sans); font-size: 12.5px; font-weight: 600; color: var(--ecorce-deep); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em.copied code { color: var(--ocre); }
.emotes .note { margin: 40px 0 0; color: var(--ecorce-deep); font-size: 16px; max-width: 60ch; }
.emotes .note a { color: var(--ecorce); }

/* ---------------- Le direct ---------------- */
.live-sec { background: var(--navy-deep); color: var(--ecorce); position: relative; overflow: hidden; }
.live-sec .h2 { color: var(--ecorce); max-width: 12ch; }
.live-sec .kicker { color: var(--ocre); }
.live-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.live-status { margin: 26px 0 30px; font-size: 18px; color: var(--ecorce-deep); max-width: 34ch; }
.live-status strong { color: var(--ecorce); font-variant-numeric: tabular-nums; }
.live-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stage { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; }
.stage.embedded { grid-template-columns: 1fr 320px; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--navy); box-shadow: 0 0 0 1px rgba(245,239,228,.1), 0 40px 80px rgba(0,0,0,.4); }
.screen iframe, .chatbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chatbox { position: relative; border-radius: 22px; overflow: hidden; background: var(--navy); min-height: 300px; box-shadow: 0 0 0 1px rgba(245,239,228,.1); }
.facade { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; color: var(--ecorce); background: radial-gradient(ellipse 70% 80% at 30% 40%, #16427a 0%, var(--navy) 60%); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4%; padding: 0 7%; text-align: left; font: inherit; }
.facade::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97'%3E%3Cpath d='M21 1.5 L63 1.5 L84 48.5 L63 95.5 L21 95.5 L0 48.5 Z' fill='none' stroke='%2316427a' stroke-width='3'/%3E%3C/svg%3E"); }
.facade > * { position: relative; }
.facade .fw { width: clamp(90px, 18vw, 190px); aspect-ratio: 1; }
.facade .fw svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 24px rgba(0,0,0,.45)); }
.facade .ft .chip { display: inline-flex; margin: 0 0 14px; font-size: clamp(12px, 1.2vw, 15px); }
.facade .ft b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 3.1vw, 46px); overflow-wrap: anywhere; letter-spacing: -.035em; line-height: 1; }
.facade .ft span { display: block; margin-top: 10px; color: var(--ecorce-deep); font-size: clamp(14px, 1.4vw, 18px); }
.facade .pbtn { position: absolute; right: 5%; bottom: 8%; width: clamp(56px, 7vw, 84px); aspect-ratio: 1; border-radius: 50%; background: var(--ecorce); display: grid; place-items: center; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.facade .pbtn svg { width: 34%; fill: var(--navy); margin-left: 6%; }
.facade:hover .pbtn, .facade:focus-visible .pbtn { transform: scale(1.1); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(245,239,228,.1); color: var(--ecorce); }
.chip.live { background: var(--baie); color: #fff; }
.chip.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }

/* ---------------- Les moments ---------------- */
.moments { position: relative; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 32px; }
.tab { font: 600 16px/1 var(--f-sans); padding: 12px 18px; border-radius: 999px; border: 2px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tab span { opacity: .6; margin-left: 6px; font-weight: 500; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.m-grid.shorts { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card { appearance: none; border: 0; padding: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-start; align-self: start; width: 100%; }
.card .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: radial-gradient(ellipse 80% 90% at 30% 35%, #16427a 0%, var(--navy) 65%); display: grid; place-items: center; }
.m-grid.shorts .card .thumb { aspect-ratio: 9 / 14; }
.card .thumb::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97'%3E%3Cpath d='M21 1.5 L63 1.5 L84 48.5 L63 95.5 L21 95.5 L0 48.5 Z' fill='none' stroke='%2316427a' stroke-width='3'/%3E%3C/svg%3E"); }
.card .thumb img { position: relative; width: 42%; max-width: 132px; transition: transform .35s cubic-bezier(.3,1.6,.5,1); filter: drop-shadow(0 16px 20px rgba(0,0,0,.4)); }
.m-grid.shorts .card .thumb img { width: 60%; }
.card:hover .thumb img, .card:focus-visible .thumb img { transform: rotate(-8deg) scale(1.12); }
.card .kind { position: absolute; left: 12px; top: 12px; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(8,29,56,.7); color: var(--ecorce); }
.card .kind.tw { background: #6e44c9; }
.card .kind.yt { background: #c4302b; }
.card .play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; background: var(--ecorce); display: grid; place-items: center; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.card .play svg { width: 14px; fill: var(--navy); margin-left: 3px; }
.card:hover .play, .card:focus-visible .play { transform: scale(1.12); }
.card h3 { margin: 14px 2px 4px; font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.m-grid.shorts .card h3 { font-size: 19px; }
.card p { margin: 0 2px; font-size: 15px; color: var(--muted); }
.m-more { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-line { border-color: var(--line); color: var(--ink); }

/* lecteur (fenêtre) */
dialog.player { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
dialog.player::backdrop { background: rgba(4,14,28,.88); backdrop-filter: blur(6px); }
.pl-box { position: relative; margin: auto; width: min(1100px, 92vw); top: 50%; transform: translateY(-50%); }
.pl-box.vertical { width: min(420px, 88vw); }
.pl-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.pl-box.vertical .pl-frame { aspect-ratio: 9 / 16; max-height: 80vh; margin: 0 auto; }
.pl-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pl-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; color: var(--ecorce); }
.pl-meta h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.pl-meta a { color: var(--ecorce-deep); font-weight: 600; white-space: nowrap; }
.pl-close { position: absolute; right: -8px; top: -56px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ecorce); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; }

/* musique : vidéo vedette + Spotify */
.feature { margin-top: 40px; }
.feature .card .thumb { border-radius: 22px; }
.spot { margin-top: 26px; position: relative; border-radius: 16px; overflow: hidden; height: 152px; background: rgba(245,239,228,.06); }
.spot iframe { width: 100%; height: 152px; border: 0; }
.spot button { position: absolute; inset: 0; width: 100%; border: 0; background: none; color: var(--ecorce); font: 600 16px var(--f-sans); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; }
.spot button svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr; }
  .stage.embedded { grid-template-columns: 1fr; }
  .chatbox { min-height: 420px; }
}

/* =================== EFFETS « INSANE » =================== */
/* porte d'entrée : Bienvenue à la maison */
.gate { position: fixed; inset: 0; z-index: 100; background: radial-gradient(ellipse 70% 70% at 50% 42%, #10325e 0%, #081d38 70%); color: var(--ecorce); display: none; place-items: center; overflow: hidden; }
html.gated .gate { display: grid; }
html.gated body { overflow: hidden; }
.gate canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gate .rays { position: absolute; left: 50%; top: 42%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; border-radius: 50%; opacity: 0; transition: opacity 1.4s ease;
  background: repeating-conic-gradient(from 0deg, rgba(90,166,238,0) 0deg 7deg, rgba(90,166,238,.2) 9deg, rgba(90,166,238,0) 11deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 30%, transparent 62%); mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 30%, transparent 62%); animation: spin 50s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.gate.lit .rays { opacity: .8; }
.gate-inner { position: relative; text-align: center; padding: 24px; }
.gate .gw { width: min(300px, 56vw); aspect-ratio: 1; margin: 0 auto; position: relative; }
.gate .gw .float svg { width: 100%; height: 100%; }
.gate h2 { margin: 18px 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(46px, 8vw, 110px); line-height: .92; letter-spacing: -.045em; }
.gate h2 em { display: block; font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: 0; color: var(--ocre); font-size: .78em; }
.gate .ltr { display: inline-block; white-space: pre; opacity: 0; transform: translateY(45%) scale(.6); filter: blur(8px); }
.gate.lit .ltr { animation: ch .55s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(var(--d) + var(--i) * .04s); }
.gate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; opacity: 0; transform: translateY(14px); transition: opacity .8s ease 2.2s, transform .8s ease 2.2s; }
.gate.lit .gate-actions { opacity: 1; transform: none; }
.gate .skip-gate { position: absolute; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); background: none; border: 0; color: var(--ecorce-deep); font: 600 15px var(--f-sans); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.gate.out { animation: gateout 1.1s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes gateout { 0% { clip-path: circle(150% at 50% 42%); } 100% { clip-path: circle(0% at 50% 42%); } }
.flash { position: fixed; inset: 0; z-index: 101; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash .7s ease-out; }
@keyframes flash { 0% { opacity: .6; } 100% { opacity: 0; } }

/* barre de progression perlée */
.progress { position: fixed; left: 0; top: 0; height: 4px; z-index: 25; width: 100%; transform-origin: 0 0; transform: scaleX(var(--p, 0)); background: repeating-linear-gradient(90deg, var(--ocre) 0 10px, var(--blue-night) 10px 20px, var(--baie-night) 20px 30px); }

/* curseur perlé */
.trail { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* boutons de la nav : son et effets */
.nav-tools { display: flex; gap: 6px; margin-left: 10px; }
.tool { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(245,239,228,.25); background: none; color: var(--ecorce); display: grid; place-items: center; cursor: pointer; }
.tool svg { width: 18px; height: 18px; }
.tool[aria-pressed="true"] { background: var(--ecorce); color: var(--navy); border-color: var(--ecorce); }

/* bandeau défilant entre les sections */
.marquee { overflow: hidden; background: var(--navy); color: var(--ecorce); padding: 26px 0; border-block: 1px solid rgba(245,239,228,.08); }
.marquee .track { display: flex; width: max-content; animation: marq 38s linear infinite; will-change: transform; }
.marquee span { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 7vw, 104px); letter-spacing: -.04em; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee span.o { color: transparent; -webkit-text-stroke: 2px rgba(245,239,228,.55); }
.marquee i { display: inline-block; width: .32em; height: .32em; border-radius: 50%; margin: 0 .45em; background: var(--ocre); }
.marquee span:nth-child(3n+2) i { background: var(--blue-night); } .marquee span:nth-child(3n) i { background: var(--baie-night); }
@keyframes marq { to { transform: translateX(-50%); } }

/* titres de section qui montent mot par mot */
.h2 .hw { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .02em .12em; margin: -.08em -.02em -.12em; }
.h2 .hw i { font-style: normal; display: inline-block; transform: translateY(110%) rotate(5deg); transition: transform .9s cubic-bezier(.2,.9,.25,1); transition-delay: calc(var(--w) * .08s); }
.h2.in .hw i { transform: none; }

/* fenêtre vidéo derrière le direct */
.live-sec .lvid { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; pointer-events: none;
  -webkit-mask: radial-gradient(ellipse 36% 60% at 72% 50%, #000 0%, rgba(0,0,0,.7) 40%, transparent 80%); mask: radial-gradient(ellipse 36% 60% at 72% 50%, #000 0%, rgba(0,0,0,.7) 40%, transparent 80%); }
.live-sec .lvid.on { opacity: .55; }
.live-sec .lvid video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.live-sec .lvid::after { content: ""; position: absolute; inset: 0; background: #287ed8; mix-blend-mode: color; }
.live-sec .wrap { position: relative; }

/* alertes façon stream (toasts) */
.toasts { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: grid; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 20px; background: var(--navy); color: var(--ecorce); box-shadow: 0 0 0 3px var(--ecorce), 0 20px 40px rgba(0,0,0,.35); transform: perspective(800px) translateX(-120%) rotateY(30deg); transition: transform .55s cubic-bezier(.2,1.3,.4,1); max-width: min(420px, calc(100vw - 40px)); pointer-events: auto; }
.toast.show { transform: none; }
.toast img, .toast .tw { width: 52px; height: 52px; flex: none; }
.toast small { display: block; font-weight: 700; font-size: 13px; color: var(--ocre); }
.toast b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1.1; }

/* pluie d'emotes */
.rain { position: fixed; z-index: 96; pointer-events: none; width: 56px; height: 56px; left: 0; top: 0; }

/* raid de la meute (easter egg) */
.raid { position: fixed; inset: 0; z-index: 97; display: grid; place-items: center; background: radial-gradient(ellipse 70% 70% at 50% 45%, rgba(16,50,94,.95) 0%, rgba(8,29,56,.97) 70%); color: var(--ecorce); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; text-align: center; }
.raid.show { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.raid p { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: .3em; color: var(--ocre); }
.raid h2 { margin: 10px 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(60px, 11vw, 170px); letter-spacing: -.045em; line-height: .9; }
.raid .rw { width: min(280px, 50vw); aspect-ratio: 1; margin: 0 auto 10px; }
.shake { animation: shake .6s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 20%, 60% { transform: translate(-10px, 4px); } 40%, 80% { transform: translate(10px, -4px); } }

/* boutons magnétiques */
.btn.mag { transition: transform .25s cubic-bezier(.2,1,.3,1), background .2s ease; }

@media (max-width: 960px) { .nav-tools { margin-left: 4px; } .tool { width: 36px; height: 36px; } }

/* Collaborations */
.collab-list { margin: 48px 0 0; padding: 0; list-style: none; }
.collab-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 30px; align-items: baseline; padding: 26px 0; border-top: 2px solid var(--line); }
.collab-list li:last-child { border-bottom: 2px solid var(--line); }
.collab-list h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.025em; color: var(--ink); line-height: 1.1; }
.collab-list p { margin: 4px 0 0; color: var(--muted); grid-column: 1; }
.collab-list .yr { font-family: var(--f-display); font-weight: 700; color: var(--accent); font-size: 20px; grid-row: 1; grid-column: 2; }

/* Me retrouver */
.find { background: var(--navy); color: var(--ecorce); }
.find .h2 { color: var(--ecorce); max-width: 12ch; }
.links { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.links a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(245,239,228,.16); color: var(--ecorce); text-decoration: none; }
.links a:hover .n { color: var(--ocre); }
.links .n { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; line-height: 1; transition: color .2s ease; }
.links .d { font-size: 15px; color: var(--ecorce-deep); text-align: right; }
.partner { margin-top: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 38px; border-radius: 32px; background: var(--ecorce); color: var(--navy); }
.partner p { margin: 0; font-family: var(--f-serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; max-width: 24ch; }
.partner .btn { background: var(--navy); color: var(--ecorce); }

footer { background: var(--navy-deep); color: var(--ecorce-deep); padding: 60px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
footer .ft-top { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, .6fr)); gap: 36px 48px; }
footer .ft-col { display: flex; flex-direction: column; gap: 10px; }
footer .ft-col b { font-family: var(--f-display); font-size: 17px; color: var(--ecorce); margin-bottom: 4px; }
footer .ft-col a { color: var(--ecorce-deep); text-decoration: none; }
footer .ft-col a:hover { color: var(--ecorce); text-decoration: underline; }
footer .ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(245,239,228,.1); font-size: 13.5px; color: #93a1b3; }
footer h2 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; color: var(--ecorce); line-height: 1.05; }
footer p { margin: 0 0 8px; max-width: 52ch; }
footer a { color: var(--ecorce); }
footer small { display: block; color: #93a1b3; font-size: 13px; margin-top: 18px; }

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(58px, 19vw, 150px); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 96px; text-align: left; }
  .wolf-wrap { order: -1; width: min(260px, 60vw); justify-self: start; }
  .river { --wx: 30%; }
  .who, .music-grid, .sched { grid-template-columns: 1fr; }
  .links { grid-template-columns: 1fr; }
  footer .ft-top { grid-template-columns: 1fr 1fr; } footer .ft-brand { grid-column: 1 / -1; }
}

html[data-fx="calm"] { scroll-behavior: auto; }
html[data-fx="calm"] .aurora i, html[data-fx="calm"] .hex, html[data-fx="calm"] .halo i, html[data-fx="calm"] .float, html[data-fx="calm"] .band svg, html[data-fx="calm"] .glint, html[data-fx="calm"] .btn-live.on i, html[data-fx="calm"] .next-live.live .dot, html[data-fx="calm"] .marquee .track { animation: none !important; }
html[data-fx="calm"] .hero h1 .ch, html[data-fx="calm"] .lead, html[data-fx="calm"] .hero-actions { animation: none !important; opacity: 1; transform: none; filter: none; }
html[data-fx="calm"] .sewn .w-line { animation: none; stroke-dashoffset: 0; }
html[data-fx="calm"] .w-fill, html[data-fx="calm"] .w-stitch, html[data-fx="calm"] .w-pop, html[data-fx="calm"] .path .thread { transition: none; }
html[data-fx="calm"] .h2 .hw, html[data-fx="calm"] .h2 .hw i { transform: none !important; opacity: 1 !important; transition: none !important; }

/* =================== SITE À PAGES =================== */
.page-hero { position: relative; background: var(--navy); color: var(--ecorce); overflow: hidden; isolation: isolate; }
.page-hero .ph-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; padding: calc(120px + env(safe-area-inset-top, 0px)) 0 64px; }
.page-hero .kicker { color: var(--ocre); margin-bottom: 14px; }
.page-hero h1 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(60px, 10vw, 150px); line-height: .86; letter-spacing: -.05em; color: var(--ecorce); }
.page-hero .ph-lead { margin: 22px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; color: var(--ecorce-deep); max-width: 34ch; }
.page-hero .ph-wolf { position: relative; width: clamp(120px, 16vw, 220px); aspect-ratio: 1; }
.page-hero .ph-wolf svg { width: 100%; height: 100%; filter: drop-shadow(0 24px 28px rgba(2,10,24,.5)); }
.crumbs { margin: 0 0 18px; font-size: 14px; color: var(--ecorce-deep); }
.crumbs a { color: var(--ecorce-deep); }
.nav ul a[aria-current="page"] { color: var(--ecorce); text-decoration: underline; text-decoration-color: var(--ocre); text-decoration-thickness: 3px; text-underline-offset: 8px; }
@media (max-width: 700px) { .page-hero .ph-inner { grid-template-columns: 1fr; } .page-hero .ph-wolf { display: none; } }

/* accueil : portes d'entrée */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.door { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; padding: 26px 26px 24px; border-radius: 28px; background: var(--navy); color: var(--ecorce); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .3s cubic-bezier(.2,1,.3,1), box-shadow .3s ease; }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97'%3E%3Cpath d='M21 1.5 L63 1.5 L84 48.5 L63 95.5 L21 95.5 L0 48.5 Z' fill='none' stroke='%2316427a' stroke-width='3'/%3E%3C/svg%3E"); }
.door:nth-child(2) { background: var(--navy-raised); } .door:nth-child(4) { background: #16427a; } .door:nth-child(6) { background: var(--navy-deep); }
.door.big { grid-column: span 2; min-height: 300px; background: radial-gradient(ellipse 80% 90% at 25% 30%, #16427a 0%, var(--navy) 65%); }
.door:hover, .door:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(4,14,28,.35); }
.door .dk { font-size: 15px; font-weight: 700; color: var(--ocre); }
.door b { display: block; margin-top: 8px; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: .98; letter-spacing: -.035em; max-width: 12ch; }
.door.big b { font-size: clamp(40px, 5vw, 68px); max-width: 16ch; }
.door .dm { font-size: 15px; color: var(--ecorce-deep); font-variant-numeric: tabular-nums; }
.door img { position: absolute; right: 18px; bottom: 16px; width: 92px; height: 92px; transition: transform .35s cubic-bezier(.3,1.6,.5,1); filter: drop-shadow(0 12px 16px rgba(0,0,0,.35)); }
.door.big img { width: 140px; height: 140px; }
.door:hover img { transform: rotate(-10deg) scale(1.1); }
.door .go { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: rgba(245,239,228,.12); display: grid; place-items: center; }
.door .go svg { width: 16px; height: 16px; stroke: var(--ecorce); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.home-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.home-tracks { list-style: none; margin: 24px 0 26px; padding: 0; }
.home-tracks a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.home-tracks li:last-child a { border-bottom: 1px solid var(--line); }
.home-tracks .nm { font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -.015em; }
.home-tracks .du { color: var(--muted); font-variant-numeric: tabular-nums; }
.home-tracks a:hover .nm { color: var(--accent); }
.see-all { margin-top: 30px; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr 1fr; } .home-split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .doors { grid-template-columns: 1fr; } .door.big { grid-column: auto; } }

/* aperçu à page unique */
[data-view][hidden] { display: none !important; }

