/*
Theme Name: immerspace
Description: immerspace.net
Version: 2.0
*/

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
    --bg:         #050a12;
    --accent:     #7DE5FA;
    --text:       rgba(255,255,255,0.88);
    --text-dim:   rgba(255,255,255,0.45);
    --font-main:  'Raleway', sans-serif;
    --transition: 0.3s ease;
    --header-h:   22vh; /* banner + player-bar + nav */
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    font-size: 13px;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-main); }

/* ── Background défilant ─────────────────────────────────────────────────── */
.site-bg {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none; overflow: hidden;
    opacity: 0.65;
}
.site-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 55% 62% at center,
        transparent 0%, transparent 30%,
        rgba(0,0,0,0.5) 52%,
        rgba(0,0,0,0.85) 72%,
        #050a12 88%
    );
    pointer-events: none;
}
.site-bg-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out;
}
.site-bg-slide.active { opacity: 1; }
.home-page .site-bg { display: none !important; }

/* ── Site wrapper ────────────────────────────────────────────────────────── */
.site {
    position: relative; z-index: 1;
    min-height: 100vh;
    display: flex; flex-direction: column;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; flex-direction: column; align-items: stretch;
    background: transparent;
    border-bottom: none;
}

/* Bannière */
.site-banner { display: flex; justify-content: center; padding: 10px 0 2px; }
.banner-img { display: none !important; }
.site-banner-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 0.45em;
    color: var(--accent);
    text-transform: lowercase;
    text-align: center;
    margin-top: 10px;
    text-shadow: 0 0 40px rgba(125,229,250,0.3);
    text-decoration: none;
    cursor: default;
    pointer-events: none;
    font-family: var(--font-main);
}

/* Player bar */
.header-player-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 6px 24px;
    border-top: 1px solid rgba(125,229,250,0.05);
    border-bottom: 1px solid rgba(125,229,250,0.05);
    transition: all 0.4s ease;
}
.header-player-bar.hidden {
    max-height: 0; overflow: hidden; padding: 0;
    border: none; opacity: 0;
}
.header-player-inner .rtplwrapperForIe {
    display: flex !important; align-items: center !important;
}
.header-player-inner .rtplmain_window {
    float: none !important; margin: 0 !important;
}
.header-np-bar {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: nowrap;
}
.np-label {
    font-size: 9px; letter-spacing: 0.2em;
    color: var(--accent); text-transform: uppercase; flex-shrink: 0;
}
.np-title {
    font-size: 12px; font-weight: 600; color: #fff;
    max-width: 200px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.np-sep { color: var(--text-dim); flex-shrink: 0; }
.np-artist {
    font-size: 12px; color: var(--text-dim);
    max-width: 160px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.np-stream-links { display: flex; align-items: center; gap: 5px; }
.np-stream-links a img {
    height: 16px; width: auto; opacity: 0.5;
    filter: brightness(1.4); transition: opacity var(--transition);
}
.np-stream-links a:hover img { opacity: 1; }
.np-immersound-link {
    display: flex; align-items: center; gap: 5px;
    padding-left: 8px;
    border-left: 1px solid rgba(125,229,250,0.15);
    opacity: 0.6; transition: opacity var(--transition);
}
.np-immersound-link:hover { opacity: 1; }
.np-immersound-logo { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.np-immersound-link span { font-size: 12px; letter-spacing: 0.12em; color: var(--accent); font-weight: 500; }

/* Navigation onglets */
.site-nav {
    display: flex; align-items: center; justify-content: center;
    gap: 0; padding: 4px 0 8px;
}
.nav-tab {
    padding: 0.6vh 1.5vw; font-size: clamp(10px, 1.1vw, 14px);
    letter-spacing: 0.15em; text-transform: lowercase;
    color: var(--text-dim); cursor: pointer;
    position: relative; transition: color var(--transition);
    font-family: var(--font-main);
}
.nav-tab::after {
    content: ''; position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 1px; background: var(--accent);
    transition: width var(--transition);
}
.nav-tab:hover { color: rgba(125,229,250,0.7); }
.nav-tab.active { color: var(--accent); }
.nav-tab.active::after { width: 20px; }
.nav-mail {
    padding: 8px 12px; color: var(--text-dim);
    font-size: 13px; transition: color var(--transition);
}
.nav-mail:hover { color: var(--accent); }

/* ── Main content ────────────────────────────────────────────────────────── */
.site-main {
    flex: 1;
    padding-top: var(--header-h);
    display: flex;
    flex-direction: column;
}

/* ── Page générique ──────────────────────────────────────────────────────── */
.page-wrap {
    max-width: 1100px; margin: 0 auto;
    padding: 40px 32px 48px;
    position: relative; z-index: 1;
}
.page-title { display: none !important; }
.page-intro {
    font-size: 12px; color: var(--text-dim);
    line-height: 1.9; margin-bottom: 32px;
    text-align: center;
}

/* ── Nav dropdowns ───────────────────────────────────────────────────────── */
.nav-tab-group { position: relative; }
.nav-tab-group .nav-dropdown {
    display: none; position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 240px; background: rgba(3,7,15,0.97);
    border: 1px solid rgba(125,229,250,0.1);
    border-radius: 0 0 6px 6px; padding: 8px 0;
    opacity: 0; visibility: hidden;
    transition: all var(--transition);
    backdrop-filter: blur(16px); z-index: 9999;
}
.nav-tab-group:hover .nav-dropdown { opacity: 1; visibility: visible; display: block; }
.nav-dropdown a {
    display: block; padding: 10px 20px;
    font-size: 12px; letter-spacing: 0.12em;
    color: var(--text-dim); transition: color var(--transition);
}
.nav-dropdown a:hover { color: var(--accent); }

/* ── Home slider ─────────────────────────────────────────────────────────── */
.home-slider-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 4vw !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex: 1 !important;
    min-height: 0 !important;
}
.home-slider {
    position: relative !important;
    width: 85vw !important;
    height: 78vh !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: none !important;
    flex-shrink: 0 !important;
    margin: auto !important;
}
.slider-stack {
    position: absolute; inset: 0;
    border-radius: 50%; overflow: hidden;
}
.slider-layer {
    display: block; position: absolute; inset: 0;
    cursor: pointer; text-decoration: none; will-change: opacity;
    border-radius: 50%;
}
.slider-layer img {
    display: block !important; width: 100% !important;
    height: 100% !important; object-fit: cover !important;
    /* Fondu circulaire vers le fond */
    mask-image: radial-gradient(ellipse 55% 62% at center,
        black 0%, black 25%,
        rgba(0,0,0,0.7) 45%,
        rgba(0,0,0,0.25) 62%,
        transparent 78%
    );
    -webkit-mask-image: radial-gradient(ellipse 55% 62% at center,
        black 0%, black 25%,
        rgba(0,0,0,0.7) 45%,
        rgba(0,0,0,0.25) 62%,
        transparent 78%
    );
}
/* Flèches repositionnées autour du cercle */
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10; background: rgba(0,0,0,0.4);
    border: 1px solid rgba(125,229,250,0.2);
    color: var(--accent); font-size: 28px; line-height: 1;
    width: 36px; height: 56px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition), color var(--transition);
    padding: 0; border-radius: 2px;
}
.slider-arrow:hover { background: rgba(125,229,250,0.1); color: #fff; }
.slider-prev { left: -50px; }
.slider-next { right: -50px; }
.slider-section-label {
    position: absolute; bottom: 28%; left: 0; right: 0;
    text-align: center;
    font-size: 11px; letter-spacing: 0.2em;
    text-transform: lowercase; color: rgba(255,255,255,0.7);
    z-index: 2; pointer-events: none;
}


/* ── Couleurs Gutenberg / palette thème ─────────────────────────────────── */
:root {
    --wp--preset--color--accent: #7DE5FA;
    --wp--preset--color--foreground: #7DE5FA;
    --wp--preset--color--background: #050a12;
}
.has-accent-color { color: #7DE5FA !important; }
.has-foreground-color { color: #7DE5FA !important; }
.has-text-color { /* keep Gutenberg inline color */ }
/* Default text color for page content when no Gutenberg color set */
.page-content { color: #7DE5FA; }

/* ── Gallery Index — bulles ──────────────────────────────────────────────── */
.gi-wrap {
    width: 100%;
    min-height: calc(100vh - var(--header-h));
    display: flex; flex-direction: column; align-items: center;
    padding: 2vh 4vw 2vh; box-sizing: border-box;
    position: relative; z-index: 1;
}
/* Mode galerie ouverte: row layout */
.gi-wrap.gallery-open {
    flex-direction: row;
    align-items: flex-start;
    padding: 1vh 1vw;
    gap: 1vw;
}
.gi-wrap.gallery-open .gi-bubbles {
    flex: 0 0 6vw !important;
    width: 6vw !important;
    min-width: 44px !important;
    max-width: 90px !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-content: flex-start !important;
    justify-content: flex-start !important;
    gap: 1.5vh !important;
    padding: 1vh 0 !important;
}
.gi-wrap.gallery-open .gi-bubble {
    width: 5vw !important;
    height: 5vw !important;
    min-width: 40px;
    min-height: 40px;
    max-width: 70px;
    max-height: 70px;
}
.gi-wrap.gallery-open .gi-label { display: none; }
.gi-wrap.gallery-open .gi-intro,
.gi-wrap.gallery-open .gi-hint { display: none; }
.gi-wrap.gallery-open .gi-gallery-ajax {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 0 !important;
}
.gi-intro {
    font-size: 13px; line-height: 1.6;
    text-align: center; width: 100%;
    max-width: 100%; margin-bottom: 4px; flex-shrink: 0;
}
.gi-intro p { margin: 0 !important; }
.gi-bubbles {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-content: center; gap: 2vw; flex: 1;
    width: 100%; max-width: 100%;
    min-height: 0;
    transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
}
.gi-wrap.gallery-open .gi-bubbles {
    flex: 0 0 6vw !important;
    width: 6vw !important;
    max-width: 80px !important;
    min-width: 44px !important;
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    gap: 1.5vh !important;
}
/* Taille normale */
.gi-bubble {
    width: 20vw;
    height: 20vw;
    border-radius: 50% !important;
    overflow: visible; position: relative;
    cursor: pointer; flex-shrink: 0;
    transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
}
.gi-bubble-inner {
    width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
    position: relative;
}
.gi-bubble img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 0.5s ease;
}
.gi-bubble:hover img { transform: scale(1.12); }
.gi-label {
    position: absolute; bottom: 18%; left: 0; right: 0;
    text-align: center; font-size: clamp(10px, 1.2vw, 14px);
    letter-spacing: 0.15em; color: rgba(255,255,255,0.85);
    text-transform: lowercase; pointer-events: none; z-index: 2;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
    transition: color 0.3s; padding: 0 10%;
}
.gi-bubble:hover .gi-label { color: var(--accent); }
.gi-bubbles.has-hover .gi-bubble:not(.active) { opacity: 0.18; transform: scale(0.88); }
.gi-bubbles.has-hover .gi-bubble.active { opacity: 1; transform: scale(1.1); }

/* Mode mini (sous-galerie ouverte) */
.gi-bubbles.mini-mode { gap: 8px; align-content: flex-start; flex: 0 0 6vw !important; width: 6vw !important; min-width: 44px !important; max-width: 90px !important; padding: 8px 0; min-height: auto; }
.gi-bubbles.mini-mode .gi-bubble {
    width: 6vw !important;
    height: 6vw !important;
}
.gi-bubbles.mini-mode .gi-label { font-size: 8px; bottom: -18px; color: rgba(125,229,250,0.6); }
.gi-bubbles.mini-mode .gi-bubble.selected { box-shadow: 0 0 0 1.5px var(--accent); border-radius: 50%; }
.gi-bubbles.mini-mode .gi-bubble:not(.selected) { opacity: 0.4; }

/* Panel sous-galerie */
.gi-gallery-panel {
    flex: 1; width: 100%; overflow-y: auto;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 8px 0 24px;
    min-height: 0;
}
.gi-gallery-panel.show { opacity: 1; pointer-events: auto; display: flex; flex-direction: column; }
/* Grille dans le panel */
.gi-gallery-panel .gi-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 4px;
    width: 100%;
}
.gi-gallery-panel .gi-gallery-item {
    aspect-ratio: 1; overflow: hidden; cursor: pointer;
    position: relative;
    transition: opacity var(--transition);
}
.gi-gallery-panel .gi-gallery-item img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; display: block !important;
    transition: transform 0.4s;
}
.gi-gallery-panel .gi-gallery-item:hover img { transform: scale(1.06); opacity: 0.9; }
.gi-hint {
    font-size: 10px; color: rgba(125,229,250,0.2);
    letter-spacing: 0.2em; text-transform: lowercase;
    flex-shrink: 0; padding-bottom: 8px;
}

/* Expanded overlay */
.gi-expanded {
    display: none; position: fixed; inset: 0; z-index: 9999;
    align-items: center; justify-content: center;
    background: rgba(5,10,18,0.6); backdrop-filter: blur(2px);
}
.gi-expanded.show { display: flex; }
.gi-expanded-inner {
    width: min(58vw, 72vh); height: min(58vw, 72vh);
    position: relative; cursor: pointer; overflow: hidden;
    border-radius: 50%;
    animation: gi-pop 0.45s cubic-bezier(0.34,1.4,0.64,1);
}
@keyframes gi-pop { from { transform: scale(0.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.gi-expanded-inner img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    mask-image: radial-gradient(circle, black 25%, rgba(0,0,0,0.9) 38%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.25) 62%, rgba(0,0,0,0.05) 72%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle, black 25%, rgba(0,0,0,0.9) 38%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.25) 62%, rgba(0,0,0,0.05) 72%, transparent 78%);
}
.gi-exp-label {
    position: absolute; bottom: 24%; left: 0; right: 0;
    text-align: center; font-size: 18px; letter-spacing: 0.3em;
    color: var(--accent); text-transform: lowercase;
    text-shadow: 0 0 24px rgba(125,229,250,0.5); z-index: 2; pointer-events: none;
}
.gi-exp-sub {
    position: absolute; bottom: 18%; left: 0; right: 0;
    text-align: center; font-size: 10px; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.45); text-transform: lowercase; z-index: 2; cursor: pointer;
}


/* ── Gallery row (mode galerie ouverte) ─────────────────────────────────── */
.gi-row .gi-bubbles {
    flex: 0 0 6vw !important;
    width: 6vw !important;
    max-width: 80px !important;
    min-width: 44px !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-content: flex-start !important;
    justify-content: flex-start !important;
    gap: 1.5vh !important;
    padding: 1vh 0 !important;
    flex-shrink: 0 !important;
}
.gi-row .gi-bubble {
    width: 100% !important;
    height: 6vw !important;
    max-width: 80px !important;
    max-height: 80px !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

/* ── AJAX gallery panel ──────────────────────────────────────────────────── */
.gi-gallery-ajax {
    flex: 1; width: 100%; overflow-y: auto;
    opacity: 0; transition: opacity 0.4s ease;
    min-height: 0; padding: 8px 0;
}
.gi-gallery-ajax.show { opacity: 1; }
.gi-gallery-ajax .page-content {
    margin: 0 !important;
    padding: 0 0 8px !important;
    max-width: 100% !important;
    width: 100% !important;
}
/* Grille galerie dans le panel AJAX */
.gi-ajax-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(120px, 12vw), 1fr));
    gap: 3px;
    width: 100%;
    max-width: 100%;
}
.gi-ajax-grid-item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: rgba(125,229,250,0.03);
    transition: opacity 0.2s;
}
.gi-ajax-grid-item:hover { opacity: 0.85; }
.gi-ajax-grid-item img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
/* Lightbox custom */
.gi-lightbox {
    display: none; position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,0.92);
    align-items: center; justify-content: center;
}
.gi-lightbox.open { display: flex; }
.gi-lightbox-img {
    max-width: 90vw; max-height: 88vh;
    object-fit: contain; display: block;
    border-radius: 2px;
}
.gi-lightbox-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; color: rgba(255,255,255,0.5);
    font-size: 28px; cursor: pointer; line-height: 1;
    transition: color 0.2s; font-family: sans-serif;
}
.gi-lightbox-close:hover { color: #fff; }
.gi-lightbox-prev, .gi-lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: rgba(255,255,255,0.4);
    font-size: 48px; cursor: pointer; padding: 0 16px;
    transition: color 0.2s; font-family: sans-serif; line-height: 1;
}
.gi-lightbox-prev:hover, .gi-lightbox-next:hover { color: #fff; }
.gi-lightbox-prev { left: 0; }
.gi-lightbox-next { right: 0; }

/* ── Music page ──────────────────────────────────────────────────────────── */
.music-wrap {
    width: 100%; max-width: 1000px; margin: 0 auto;
    padding: 40px 48px 48px; box-sizing: border-box;
    position: relative; z-index: 1;
}
.music-intro { font-size: 13px; color: var(--text-dim); line-height: 1.9; margin-bottom: 36px; text-align: center; }
.music-tabs { display: flex; justify-content: center; margin-bottom: 28px; border-bottom: 1px solid rgba(125,229,250,0.1); }
.music-tab {
    padding: 12px 40px; font-size: 14px; letter-spacing: 0.18em;
    text-transform: lowercase; color: var(--text-dim); cursor: pointer;
    border: none; background: none; font-family: var(--font-main);
    transition: color var(--transition); position: relative;
}
.music-tab::after {
    content: ''; position: absolute; bottom: -1px; left: 50%;
    transform: translateX(-50%); width: 0; height: 1px;
    background: var(--accent); transition: width var(--transition);
}
.music-tab:hover, .music-tab.active { color: var(--accent); }
.music-tab.active::after { width: 28px; }
.music-panel { animation: musicFadeIn 0.35s ease; }
@keyframes musicFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }
.music-player-wrapper {
    width: 100%; background: rgba(10,22,40,0.6);
    border: 1px solid rgba(125,229,250,0.08); border-radius: 4px;
    backdrop-filter: blur(8px); margin-bottom: 20px;
    display: flex; justify-content: center; padding: 8px 0;
}
.music-player-wrapper .rtplwrapperForIe { display: flex !important; justify-content: center !important; width: 100% !important; }
.music-player-wrapper .rtplmain_window { float: none !important; margin: 0 auto !important; }
.music-nowplaying { width: 100%; }
.mixes-list { display: flex; flex-direction: column; gap: 12px; }
.mixes-list iframe, .mixes-list > * { margin: 0 !important; border-radius: 3px !important; opacity: 0.85; transition: opacity var(--transition); width: 100% !important; display: block !important; }
.mixes-list > *:hover { opacity: 1; }

/* ── Inspirations ────────────────────────────────────────────────────────── */
.inspi-wrap { max-width: 1400px; width: 100%; margin: 0 auto; padding: 40px 32px 48px; box-sizing: border-box; }
.inspi-wrap .page-title { display: none !important; }
.inspi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inspi-card {
    display: block; text-decoration: none; background: rgba(0,0,0,0.4);
    border: 1px solid rgba(125,229,250,0.1); border-radius: 3px; overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.inspi-card:hover { border-color: rgba(125,229,250,0.35); transform: translateY(-3px); }
.inspi-thumb { width: 100%; height: 220px; overflow: hidden; background: #050a12; display: flex; align-items: center; justify-content: center; }
.inspi-thumb img { max-width: 100% !important; max-height: 220px !important; width: auto !important; height: auto !important; object-fit: contain !important; display: block !important; transition: transform 0.4s; }
.inspi-card:hover .inspi-thumb img { transform: scale(1.04); }
.inspi-thumb--empty { background: rgba(125,229,250,0.04); }
.inspi-info { padding: 14px 16px 16px; }
.inspi-title { font-size: 14px !important; font-weight: 400 !important; letter-spacing: 0.1em; color: #fff !important; margin: 0 0 8px !important; text-transform: lowercase; line-height: 1.4; }
.inspi-excerpt { font-size: 12px; color: var(--text-dim); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.inspi-pagination { margin-top: 32px; text-align: center; }

/* ── Studio coming soon ──────────────────────────────────────────────────── */
.studio-wrap { max-width: 1400px; width: 100%; margin: 0 auto; padding: 40px 32px 48px; box-sizing: border-box; position: relative; z-index: 1; }
.studio-wrap .page-title { display: none !important; }
.studio-coming-soon { display: flex !important; align-items: center; justify-content: center; min-height: calc(100vh - var(--header-h) - 80px); }
.coming-soon-inner { text-align: center; }
.studio-logo { max-width: 500px !important; width: 80% !important; height: auto !important; display: block !important; margin: 0 auto 40px !important; opacity: 0.9; }
.coming-soon-text { font-size: clamp(24px, 5vw, 72px); letter-spacing: 0.5em; color: var(--accent); text-transform: lowercase; text-shadow: 0 0 40px rgba(125,229,250,0.5); opacity: 0.7; animation: cs-pulse 3s ease-in-out infinite; font-weight: 300; }
@keyframes cs-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.9; } }

/* ── About / pages génériques ────────────────────────────────────────────── */
.page-wrap { max-width: 90vw; margin: 0 auto; padding: 4vh 4vw 6vh; position: relative; z-index: 2; overflow: visible; }
.page-wrap p { margin-bottom: 16px; color: var(--text-dim); line-height: 1.9; font-size: 14px; font-family: var(--font-main); }
.page-wrap a { color: var(--accent); }
.page-wrap h1, .page-wrap h2, .page-wrap h3 { color: var(--accent); letter-spacing: 0.2em; font-weight: 300; margin-bottom: 16px; font-family: var(--font-main); }
/* Garder le contenu WordPress lisible */
.page-wrap .wp-block-group,
.page-wrap .wp-block-paragraph,
.page-wrap .entry-content { color: var(--text-dim); font-family: var(--font-main); font-size: 14px; line-height: 1.9; }
.page-wrap img { max-width: 400px !important; height: auto !important; margin: 0 0 20px !important; }




/* ── About page: force all text styling ─────────────────────────────────── */
body.page-id-about .page-content,
body.page-slug-about .page-content,
.page-template-default .page-content {
    font-family: var(--font-main) !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
}


/* ── About: respect Gutenberg inline colors ─────────────────────────────── */
/* Let inline style="color:..." win by not setting color on p */
.page-content p.has-text-color { /* color set by inline style */ }

/* ── Gallery subnav (mini bulles verticales à gauche) ───────────────────── */
.gallery-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2vw;
    padding: 1.5vh 0 3vh;
    border-bottom: 1px solid rgba(125,229,250,0.08);
    margin-bottom: 2vh;
    width: 100%;
}
.gallery-subnav-bubble {
    position: relative; display: block;
    width: 5vw; height: 5vw;
    min-width: 44px; min-height: 44px;
    max-width: 80px; max-height: 80px;
    border-radius: 50%; overflow: visible;
    opacity: 0.35; transition: opacity var(--transition), transform var(--transition);
    text-decoration: none;
}
.gallery-subnav-bubble.active { opacity: 1; box-shadow: 0 0 0 1.5px var(--accent); }
.gallery-subnav-bubble:hover { opacity: 0.75; transform: scale(1.12); }
.gallery-subnav-inner {
    width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
}
.gallery-subnav-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-subnav-label {
    position: absolute;
    left: calc(100% + 8px);
    top: 50%; transform: translateY(-50%);
    font-size: 9px; letter-spacing: 0.12em;
    color: rgba(125,229,250,0.5); text-transform: lowercase;
    white-space: nowrap; pointer-events: none;
    opacity: 0; transition: opacity var(--transition);
}
.gallery-subnav-bubble:hover .gallery-subnav-label,
.gallery-subnav-bubble.active .gallery-subnav-label {
    opacity: 1; color: var(--accent);
}

/* ── Page content (about, generic pages) ────────────────────────────────── */
.page-content {
    font-family: var(--font-main) !important;
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.03em;
}
.page-content *,
.page-content p,
.page-content span,
.page-content div,
.page-content li,
.page-content td {
    font-family: var(--font-main) !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
}
.page-content p { margin-bottom: 18px; /* color from Gutenberg inline styles */ }
.page-content h1, .page-content h2, .page-content h3 {
    color: var(--accent) !important; font-weight: 300;
    letter-spacing: 0.2em; margin-bottom: 16px;
    text-transform: lowercase;
}
.page-content a { color: var(--accent) !important; }
/* font-style: laissé à Gutenberg */
/* Cacher le logo sur about uniquement */
.page-template-page-about .page-content > p:first-child img { display: none !important; }


/* ── About page force styles ─────────────────────────────────────────────── */
body.page-template-default .page-content,
body.page-template-default .page-content p,
body.page-template-default .page-content span,
body.page-template-default .page-content div,
body.page-template-default .page-content li,
body.page-template-default .page-content *  {
    font-family: 'Raleway', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
    letter-spacing: 0.03em !important;
    /* color: intentionally not set — let Gutenberg inline styles win */
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { text-align: center; padding: 10px 24px 14px; border-top: 1px solid rgba(125,229,250,0.08); flex-shrink: 0; }
.footer-tagline { font-size: 12px !important; letter-spacing: 0.11em !important; color: #7DE5FA !important; line-height: 1.7 !important; max-width: 760px !important; margin: 0 auto 4px !important; opacity: 0.8 !important; display: block !important; }
.footer-copy { font-size: 10px; color: var(--text-dim); letter-spacing: 0.15em; opacity: 0.4; }

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.lightbox { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 92vw; max-height: 85vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--text-dim); font-size: 24px; cursor: pointer; transition: color var(--transition); }
.lightbox-close:hover { color: #fff; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-dim); font-size: 48px; cursor: pointer; padding: 0 20px; transition: color var(--transition); }
.lightbox-prev:hover, .lightbox-next:hover { color: #fff; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-caption { color: var(--text-dim); font-size: 12px; letter-spacing: 0.1em; margin-top: 16px; }

/* ── Gallery (RL shortcode) ──────────────────────────────────────────────── */
.gallery-item { cursor: pointer; overflow: hidden; border-radius: 2px; transition: opacity var(--transition); }
.gallery-item:hover { opacity: 0.85; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* RL Gallery plugin overrides */
.page-content .rl-gallery-container { width: 100% !important; max-width: 100% !important; }
.page-content .rl-gallery-container,
.page-content .rl-gallery-container * { max-height: none !important; }
.page-content .rl-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(80px, 10vw), 1fr)) !important;
    gap: 2px !important;
    grid-auto-rows: min(80px, 10vw) !important;
}
.page-content .rl-gallery-item {
    aspect-ratio: 1 !important;
    overflow: hidden !important;
    height: min(80px, 10vw) !important;
}
.page-content .rl-gallery-item { overflow: hidden !important; aspect-ratio: 1 !important; }
.page-content .rl-gallery-item img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; display: block !important;
    transition: transform 0.4s !important;
}
.page-content .rl-gallery-item:hover img { transform: scale(1.05) !important; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .np-artist { display: none; }
    .np-stream-links { display: none; }
    .np-immersound-link { display: none; }
    .nav-tab { padding: 8px 12px; font-size: 12px; }
}
@media (max-width: 800px) {
    :root { --header-h: 200px; }
    .inspi-grid { grid-template-columns: repeat(2, 1fr); }
    .header-player-bar { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 480px) {
    :root { --header-h: 170px; }
    .inspi-grid { grid-template-columns: 1fr; }
    .nav-tab { padding: 6px 8px; font-size: 11px; }
    .header-player-bar { display: none; }
}
