/* Sections : sorties (bento), écoute, process, connexions, pied de page */
section { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-head > p { max-width: 28rem; color: var(--muted); }
.panel { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }

/* Sorties : grille bento. Le texte repose toujours sur une surface pleine (jamais sur une image). */
.releases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.rel {
    display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
    border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
    transition: transform .4s var(--ease), border-color .3s, background-color .3s, box-shadow .45s var(--ease);
}
/* --c-primary / --c-on : couleurs de la pochette, calculées par le moteur lumen (js/motion.js) */
.rel:hover { --ty: -6px; border-color: var(--c-primary, var(--primary)); background: var(--surface2); box-shadow: 0 34px 70px -26px var(--c-primary, var(--primary)); }
.rel-art { position: relative; overflow: hidden; aspect-ratio: 1; }
.rel-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; background: radial-gradient(340px circle at var(--sx, 50%) var(--sy, 50%), var(--c-primary, var(--primary)), transparent 65%); }
.rel:hover .rel-art::after { opacity: .7; }
.rel-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rel:hover .rel-art img { transform: scale(1.06); }
.rel-info { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.rel-info h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
.rel-info p { margin-top: .25rem; font: 500 .75rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rel-go { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--c-primary, var(--primary)); color: var(--c-on, var(--on-primary)); transition: transform .35s var(--ease); }
#releases { isolation: isolate; overflow: clip; }
.ambient { position: absolute; z-index: -1; left: 50%; top: 58%; width: min(95vw, 980px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; background: var(--amb, var(--primary-subtle)); filter: blur(120px); opacity: .16; transition: background-color .8s; }
.rel:hover .rel-go { transform: rotate(-45deg); }
.rel-a { grid-column: span 6; grid-row: span 2; }
.rel-b, .rel-c { grid-column: span 3; }
.rel-d { grid-column: span 6; flex-direction: row; }
.rel-d .rel-art { flex: 0 0 42%; }
.rel-d .rel-info { flex: 1; }
@media (min-width: 761px) { .rel-a .rel-art { flex: 1; aspect-ratio: auto; min-height: 20rem; } }
@media (max-width: 760px) {
    .releases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rel-a, .rel-d { grid-column: span 2; grid-row: auto; }
    .rel-b, .rel-c { grid-column: span 1; }
    .rel-info { padding: .8rem 1rem; }
    .rel-info h3 { font-size: 1.05rem; }
    .rel-go { display: none; }
}

/* Spotify */
#spotify { --spotify-h: clamp(460px, 72svh, 640px); }   /* hauteur du lecteur : à régler ici (352px = format compact de Spotify) */
.facade { display: grid; place-content: center; justify-items: center; gap: .6rem; min-height: var(--spotify-h); padding: 2rem 1rem; text-align: center; border-radius: var(--radius); background: var(--surface2); }
.facade-ico { width: 3rem; height: 3rem; color: var(--primary); }
.facade h3 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.02em; }
.facade p { max-width: 28rem; color: var(--muted); }
.facade .cta { justify-content: center; margin-top: .8rem; }
#spotify iframe { display: block; width: 100%; height: var(--spotify-h); border-radius: var(--radius); color-scheme: normal; }

/* Étiquettes */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.tags li { padding: .55rem 1.1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font: 500 .85rem/1 var(--mono); }

/* Connexions */
.big-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.big {
    display: flex; align-items: center; gap: 1.1rem; padding: 1.6rem; text-decoration: none; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15;
    border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.big svg { width: 2.2rem; height: 2.2rem; flex: none; color: var(--primary); }
.big small { display: block; margin-top: .3rem; font: 500 .78rem/1 var(--mono); letter-spacing: .04em; color: var(--muted); }
.big:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); transform: translateY(-4px); }
.big:hover svg, .big:hover small { color: inherit; }

/* Pied de page */
.foot { padding: 2.5rem 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.foot a { text-underline-offset: 4px; }
.foot a:hover { color: var(--text); }

/* Grand logotype de fin de page (décoratif) */
.foot-word { margin: 0 0 2.2rem; font-size: clamp(2rem, 9.4vw, 8.2rem); font-weight: 700; letter-spacing: -.05em; line-height: .85; white-space: nowrap; color: var(--surface2); user-select: none; }
