/* MCI Music — Design profissional */
:root {
    --bg: #000;
    --bg-elevated: #0a0a0a;
    --bg-card: #111;
    --border: rgba(255,255,255,0.12);
    --text: #fff;
    --text-muted: rgba(255,255,255,0.65);
    --text-dim: rgba(255,255,255,0.4);
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 4px;
    --radius-lg: 8px;
    --container: 1280px;
    --nav-h: 72px;
    --nav-total-h: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}
.main-content { width: 100%; max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
    max-width: var(--container); width: 100%; margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    padding-left: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

/* ─── Top bar ─── */
.top-bar {
    display: flex; align-items: center; justify-content: center;
    background: #000; padding: 10px 48px 10px 20px;
    font-size: 0.8125rem; position: relative; z-index: 1001;
    border-bottom: 1px solid var(--border);
    width: 100%; max-width: 100%; overflow: hidden;
}
.top-bar p {
    margin: 0; max-width: 100%; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}
.top-bar a { text-decoration: underline; text-underline-offset: 3px; }
.top-bar-close {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; background: none; border: none; cursor: pointer;
}
.top-bar-close::before, .top-bar-close::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 14px; height: 1px; background: #fff;
}
.top-bar-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.top-bar-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
body.topbar-hidden .top-bar { display: none; }

/* ─── Navigation ─── */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 10001;
    width: 100%; max-width: 100%;
    transition: background 0.4s var(--ease), border-color 0.4s;
}
body.nav-open .site-nav {
    background: #000 !important;
    border-bottom-color: var(--border) !important;
}
body.nav-open .site-logo { opacity: 0; visibility: hidden; pointer-events: none; }
.site-nav--overlay { background: transparent; border-bottom: 1px solid transparent; }
.site-nav--overlay.scrolled {
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}
.site-nav:not(.site-nav--overlay) {
    background: rgba(0,0,0,0.95);
    border-bottom: 1px solid var(--border);
}
.site-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: var(--nav-h); height: var(--nav-total-h); max-width: 100%;
    box-sizing: border-box;
    padding: env(safe-area-inset-top, 0px) clamp(20px, 4vw, 48px) 0;
    padding-left: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right, 0px));
    position: relative; z-index: 10002;
}
.site-nav-left { display: flex; align-items: center; gap: 48px; min-width: 0; flex: 1; }
.site-nav-right { display: flex; align-items: center; flex-shrink: 0; position: relative; z-index: 10002; }
.site-logo { flex-shrink: 0; }
.site-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.site-nav-links { display: flex; gap: 32px; }
.site-nav-links a {
    font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; opacity: 0.85; transition: opacity 0.2s;
}
.site-nav-links a:hover { opacity: 1; }

.nav-toggle {
    background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px; cursor: pointer;
    width: 44px; height: 44px;
    display: none; align-items: center; justify-content: center;
    flex-direction: column; gap: 6px;
    padding: 0; position: relative; z-index: 10003;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
body.nav-open .nav-toggle {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.nav-toggle span {
    display: block; width: 22px; height: 3px; background: #fff;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
    flex-shrink: 0;
}
.nav-toggle.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.nav-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; max-width: 100%;
    height: 100%; height: 100dvh; min-height: -webkit-fill-available;
    background: #000;
    z-index: 10000; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    display: flex; flex-direction: column; justify-content: flex-start;
    overflow-x: hidden; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: calc(var(--nav-total-h) + 24px) clamp(20px, 5vw, 48px) max(48px, env(safe-area-inset-bottom, 0px));
    padding-left: max(clamp(20px, 5vw, 48px), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(20px, 5vw, 48px), env(safe-area-inset-right, 0px));
}
body.has-topbar:not(.topbar-hidden) .nav-overlay {
    padding-top: calc(var(--nav-total-h) + 44px + 24px);
}
.nav-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
body.nav-open {
    overflow: hidden; width: 100%; max-width: 100%;
    position: fixed; left: 0; right: 0;
}
.nav-overlay-menu { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; width: 100%; }
.nav-overlay-menu a {
    font-size: clamp(1.5rem, 7vw, 2.5rem); font-weight: 300;
    letter-spacing: -0.02em; line-height: 1.25;
    opacity: 0.9; transition: opacity 0.2s;
    padding: 6px 0; max-width: 100%; overflow-wrap: anywhere;
}
.nav-overlay-menu a:hover { opacity: 1; }
.nav-overlay-social p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-dim); margin-bottom: 12px; }
.social-row { display: flex; flex-wrap: wrap; gap: 20px; }
.social-row a { font-size: 0.9375rem; opacity: 0.7; }
.social-row a:hover { opacity: 1; }

.d-desktop { display: flex; }
@media (max-width: 900px) {
    .d-desktop { display: none; }
    .nav-toggle { display: flex; }
    .site-nav--overlay {
        background: rgba(0,0,0,0.55);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
}

/* Shop header (legacy) */
.site-header.shop-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(0,0,0,0.95); border-bottom: 1px solid var(--border);
    padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 72px; gap: 24px;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}
.main-nav { display: flex; gap: 24px; }
.main-nav a { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.mobile-toggle {
    display: none; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px; cursor: pointer; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; align-items: center; justify-content: center;
    padding: 0; flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.mobile-toggle span { width: 22px; height: 3px; background: #fff; border-radius: 1px; display: block; }

/* ─── Hero vídeo ─── */
.hero-video {
    position: relative; width: 100%; max-width: 100%;
    height: 100vh; min-height: 600px;
    display: flex; align-items: flex-end; overflow: hidden;
}
.hero-video-bg { position: absolute; inset: 0; background: #000; overflow: hidden; z-index: 0; width: 100%; }
.hero-yt-wrap {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    overflow: hidden; pointer-events: none; z-index: 0;
}
.hero-yt-wrap iframe {
    position: absolute; top: 50%; left: 50%;
    width: 100%; height: 250%;
    border: 0; pointer-events: none;
    transform: translate(-50%, -50%);
}
.hero-poster { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.15) 100%);
}
.hero-scrim--heavy { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%); }

.hero-video-content {
    position: relative; z-index: 2; width: 100%; max-width: 100%;
    padding: 0 clamp(20px, 4vw, 48px) clamp(40px, 6vw, 80px);
    padding-left: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right, 0px));
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero-video-text { max-width: 720px; width: 100%; min-width: 0; }
.hero-video-text h1 {
    font-size: clamp(1.75rem, 5vw, 4.5rem); font-weight: 300;
    letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px;
    max-width: 100%; overflow-wrap: anywhere; word-break: break-word;
    hyphens: auto;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 300;
    color: var(--text-muted); margin-bottom: 28px; max-width: 480px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-ghost {
    display: inline-flex; align-items: center;
    padding: 14px 28px; border: 1px solid rgba(255,255,255,0.5);
    border-radius: 100px; font-size: 0.8125rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { background: #fff; color: #000; border-color: #fff; opacity: 1; }
.btn-ghost--sm { padding: 10px 20px; font-size: 0.75rem; }

.hero-scroll {
    flex-shrink: 0; opacity: 0.6; transition: opacity 0.2s;
    animation: bounce 2s infinite;
}
.hero-scroll:hover { opacity: 1; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ─── Subnav ─── */
.subnav { background: #000; border-bottom: 1px solid var(--border); width: 100%; max-width: 100%; overflow: hidden; }
.subnav-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    max-width: var(--container); width: 100%; margin: 0 auto;
}
.subnav-item {
    padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 32px);
    border-right: 1px solid var(--border);
    transition: background 0.3s;
}
.subnav-item:last-child { border-right: none; }
.subnav-item:hover { background: rgba(255,255,255,0.04); opacity: 1; }
.subnav-num { display: block; font-size: 0.6875rem; letter-spacing: 0.15em; color: var(--text-dim); margin-bottom: 8px; }
.subnav-title { display: block; font-size: 1.125rem; font-weight: 500; margin-bottom: 6px; }
.subnav-desc { display: block; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

/* ─── Featured release ─── */
.featured-release {
    background: #1a1a1a; padding: clamp(60px, 10vw, 120px) 0;
    width: 100%; max-width: 100%; overflow: hidden;
}
.featured-release-inner {
    max-width: var(--container); width: 100%; margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    padding-left: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right, 0px));
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px);
    align-items: center; box-sizing: border-box;
}
.featured-release-content,
.featured-release-visual { min-width: 0; max-width: 100%; }
.featured-release-visual { position: relative; }
.featured-release-mobile-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: clamp(24px, 4vw, 36px);
    align-items: flex-end;
    align-content: flex-end;
    flex-wrap: wrap;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.68) 42%, rgba(0,0,0,0.18) 72%, rgba(0,0,0,0) 100%);
}
.featured-release-mobile-overlay > * {
    width: 100%;
}
.featured-release-mobile-overlay h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.featured-release-mobile-overlay .featured-release-desc {
    max-width: 32rem;
    margin-bottom: 22px;
}
.featured-release-mobile-overlay .hero-ctas {
    width: 100%;
}
.featured-release-mobile-overlay .btn-ghost,
.featured-release-mobile-overlay .stream-links--buttons .stream-link {
    width: 100%;
    justify-content: center;
    text-align: center;
}
.featured-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-dim); display: block; margin-bottom: 12px; }
.featured-release-content h2 {
    font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 20px;
    max-width: 100%; overflow-wrap: anywhere; word-break: break-word;
}
.featured-release-content p,
.featured-release-desc {
    color: var(--text-muted); font-size: 1.0625rem; line-height: 1.55; margin-bottom: 28px;
    max-width: 100%; overflow-wrap: anywhere; word-break: break-word;
    white-space: pre-line;
}
.release-player--featured { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
.featured-release-visual img {
    width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center;
    border-radius: 4px; box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.featured-release-placeholder {
    aspect-ratio: 1; background: #222; display: flex; align-items: center;
    justify-content: center; font-size: 4rem; opacity: 0.3; border-radius: 4px;
}

/* ─── Sections ─── */
.section { padding: clamp(60px, 10vw, 100px) 0; width: 100%; max-width: 100%; overflow-x: hidden; }
.section .container { width: 100%; max-width: 100%; box-sizing: border-box; }
.section-dark { background: #000; }
.section-elevated { background: var(--bg-elevated); }
.section-header { margin-bottom: 48px; }
.section-header--left { text-align: left; }
.section-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--text-dim); display: block; margin-bottom: 12px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 300; letter-spacing: -0.02em; }
.link-arrow { display: inline-block; margin-top: 12px; font-size: 0.875rem; opacity: 0.7; }
.link-arrow:hover { opacity: 1; }

/* ─── Releases row ─── */
.releases-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .releases-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .releases-row { grid-template-columns: 1fr; } }
.release-tile-link { display: block; transition: transform 0.3s; }
.release-tile-link:hover { transform: translateY(-4px); opacity: 1; }
.release-tile-cover { aspect-ratio: 1; overflow: hidden; border-radius: 4px; margin-bottom: 16px; background: #111; }
.release-tile-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.release-tile-link:hover .release-tile-cover img { transform: scale(1.04); }
.release-cover-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; opacity: 0.2; }
.release-type { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-dim); }
.release-tile-info h3 {
    font-size: 1.125rem; font-weight: 500; margin: 4px 0 8px;
    overflow-wrap: anywhere; word-break: break-word;
}
.release-cta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; }
.release-tile-info .release-cta { display: inline-block; margin-top: 4px; }

/* Release preview player */
.release-player { position: relative; }
.release-player-media { position: relative; overflow: hidden; border-radius: 4px; }
.release-player-cover {
    width: 100%; height: 100%;
    display: block; object-fit: cover; object-position: center;
}
.release-player-cover--placeholder {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    background: #111; font-size: 3rem; opacity: 0.2;
}
.release-player--featured .release-player-media {
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    aspect-ratio: 1;
}
.release-player--featured .release-player-cover,
.release-player--featured .release-player-poster {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}
.release-player--tile .release-player-media {
    margin-bottom: 16px; position: relative; aspect-ratio: 1;
    background: #111;
}
.release-player--tile .release-player-cover,
.release-player--tile .release-player-poster {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}
.release-player-poster { transition: opacity 0.3s; }
.release-player-yt {
    position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none;
}
.release-player-yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.release-player.has-started .release-player-yt { opacity: 1; pointer-events: auto; z-index: 2; }
.release-player.has-started .release-player-poster { opacity: 0; }
.release-player.preview-ended .release-player-play { display: none; }
.release-player.preview-ended .release-player-yt { opacity: 0; pointer-events: none; }
.release-player-play--media {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%; border: none;
    background: rgba(0,0,0,0.65); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px); transition: transform 0.2s, background 0.2s;
    z-index: 3;
}
.release-player.is-playing .release-player-play--media { background: rgba(255,255,255,0.15); }
.release-player-play--media:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(255,255,255,0.2); }
.release-player--featured .release-player-play--media { display: none; }
.release-player--tile { position: relative; }
.release-player-full-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.78); backdrop-filter: blur(8px); z-index: 4; border-radius: 4px;
}
.release-player-full-overlay[hidden] { display: none !important; }
.release-player-youtube-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 28px; border-radius: 999px;
    background: #ff0000; color: #fff; font-weight: 600; font-size: 0.9375rem;
    text-transform: none; letter-spacing: 0; opacity: 1;
    transition: transform 0.2s, box-shadow 0.2s;
}
.release-player-youtube-btn:hover { transform: scale(1.04); box-shadow: 0 8px 32px rgba(255,0,0,0.35); opacity: 1; }
.release-player-controls {
    display: flex; align-items: center; gap: 16px; margin-top: 16px;
    padding: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px;
    min-width: 0; max-width: 100%; box-sizing: border-box;
}
.release-player--featured .release-player-controls { margin-top: 0; border-radius: 0 0 4px 4px; border-top: none; }
.release-player-play {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
    background: transparent; color: var(--text); cursor: pointer;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.release-player-play .icon-pause[hidden] { display: none; }
.release-player.is-playing .release-player-play .icon-play { display: none; }
.release-player.is-playing .release-player-play .icon-pause { display: block; }
.release-player.is-playing .release-player-play .icon-pause[hidden] { display: block; }
.release-player-track { flex: 1; min-width: 0; }
.release-player-title { display: block; font-weight: 500; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release-player-status { display: block; font-size: 0.75rem; color: var(--text-dim); margin-bottom: 8px; }
.release-player-progress { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.release-player-progress-bar { height: 100%; width: 0; background: var(--text); border-radius: 2px; transition: width 0.1s linear; }

/* Streaming links */
.stream-links { display: flex; flex-wrap: wrap; gap: 10px; }
.stream-links--buttons .stream-link,
.hero-ctas .stream-link {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px; font-size: 0.8125rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
    transition: background 0.2s, border-color 0.2s; opacity: 1;
}
.stream-links--buttons .stream-link:hover,
.hero-ctas .stream-link:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); opacity: 1; }
.stream-links--compact { gap: 6px; margin-top: 8px; }
.stream-links--compact .stream-link {
    font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 4px 8px; border: 1px solid var(--border); border-radius: 4px;
    color: var(--text-muted); opacity: 1;
}
.stream-links--compact .stream-link:hover { color: var(--text); border-color: rgba(255,255,255,0.35); opacity: 1; }
.stream-section-actions { justify-content: center; }

/* ─── Video section ─── */
.video-section {
    position: relative; width: 100%; max-width: 100%; overflow: hidden;
    min-height: 70vh; display: flex; align-items: flex-end;
    padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 48px);
}
.video-section-bg { position: absolute; inset: 0; overflow: hidden; width: 100%; }
.video-section-bg .hero-yt-wrap { inset: 0; width: 100%; height: 100%; }
.video-section-bg .hero-yt-wrap--muted { opacity: 0.5; }
.video-section-content { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; }
.video-section-list {
    list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 8px;
}
.video-section-list li {
    font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 300;
    color: rgba(255,255,255,0.85); letter-spacing: -0.01em;
}

/* ─── Members ─── */
.members-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 32px; }
.member-tile { text-align: center; transition: opacity 0.2s; }
.member-tile:hover { opacity: 0.85; }
.member-tile-photo {
    width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px;
    overflow: hidden; background: #1a1a1a;
}
.member-tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-tile-photo span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2rem; opacity: 0.3; }
.member-tile h3 { font-size: 0.9375rem; font-weight: 500; margin-bottom: 4px; }
.member-tile p { font-size: 0.8125rem; color: var(--text-muted); }

/* ─── Events ─── */
.events-row { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.event-tile {
    display: flex; align-items: center; gap: 24px; padding: 24px 0;
    background: var(--bg-elevated);
}
.event-tile-date { text-align: center; min-width: 64px; }
.event-day { display: block; font-size: 2rem; font-weight: 300; line-height: 1; }
.event-month { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-dim); }
.event-tile-body { flex: 1; }
.event-tile-body h3 { font-size: 1.0625rem; font-weight: 500; margin-bottom: 4px; }
.event-tile-body p { font-size: 0.875rem; color: var(--text-muted); }

/* ─── Shop preview ─── */
.shop-preview { border-top: 1px solid var(--border); }
.shop-preview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.shop-preview-header h2 { font-size: 2rem; font-weight: 300; }
.product-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

.product-row .product-card { background: transparent; border: none; }
.product-row .product-cta,
.product-row .product-desc,
.product-row .product-category-tag,
.product-row .product-placeholder { display: none; }

/* ─── Bio section (homepage) ─── */
.bio-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: clamp(80px, 12vw, 140px) 0;
    background: #0a0a0a;
}
.bio-section-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    transform: scale(1.02);
}
.bio-section-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.45) 100%);
}
.bio-section-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.bio-section-text .section-label { margin-bottom: 12px; }
.bio-section-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.bio-section-text p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 540px;
}
.bio-section-photo {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
    background: #111;
}
.bio-section-photo img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.about-hero--with-photo {
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-total-h, 72px) + 64px) 0 60px;
}
.about-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
}
.about-hero-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.9) 100%);
}
.about-hero-inner { position: relative; z-index: 2; text-align: center; }
.about-group-photo {
    max-width: 860px;
    margin: 40px auto 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
    background: #111;
}
.about-group-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center center;
}

/* ─── Page header (inner pages) ─── */
.page-header { padding: calc(var(--nav-total-h, 72px) + 48px) 0 40px; text-align: center; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.page-header p { color: var(--text-muted); margin-top: 12px; }

/* ─── About ─── */
.about-hero { padding: calc(var(--nav-total-h, 72px) + 64px) 0 60px; text-align: center; }
.about-hero h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 300; margin-bottom: 24px; overflow-wrap: anywhere; }
.about-text { max-width: 680px; margin: 0 auto; color: var(--text-muted); font-size: 1.125rem; line-height: 1.8; }
.member-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.member-detail-card {
    display: flex; gap: 24px; padding: 32px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px;
}
.member-detail-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #1a1a1a; }
.member-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-detail-info h3 { font-size: 1.125rem; margin-bottom: 4px; }
.member-detail-info .role { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 12px; }
.member-detail-info p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }
.member-ig { display: inline-block; margin-top: 12px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; }

/* ─── Calendar ─── */
.calendar-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 40px; }
.calendar-nav h2 { font-size: 1.5rem; font-weight: 400; min-width: 200px; text-align: center; }
.calendar-nav button { background: transparent; border: 1px solid var(--border); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 700px; margin: 0 auto 24px; }
.cal-header { text-align: center; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); padding: 8px; }
.cal-day {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    font-size: 0.875rem; border-radius: 4px; position: relative;
    background: transparent; border: none; color: inherit; font-family: inherit;
}
.cal-day.has-event {
    background: rgba(255,255,255,0.08); font-weight: 500;
    cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.cal-day.has-event:hover,
.cal-day.has-event.is-selected {
    background: rgba(255,255,255,0.16);
}
.cal-day.has-event:hover { transform: scale(1.04); }
.cal-day.today { border: 1px solid rgba(255,255,255,0.4); }
.cal-day.empty { opacity: 0.2; }
.cal-day-num { position: relative; z-index: 2; }
.cal-day-mark {
    position: absolute; inset: 18%;
    width: auto; height: auto; max-width: 64%; max-height: 64%;
    margin: auto; opacity: 0.22;
    filter: brightness(0) invert(1);
    pointer-events: none; object-fit: contain;
}
.calendar-day-panel {
    max-width: 700px; margin: 0 auto 48px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden;
}
.calendar-day-panel[hidden] { display: none !important; }
.calendar-day-panel-inner { padding: 20px 24px; }
.calendar-day-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 16px;
}
.calendar-day-panel-head h3 { font-size: 1.125rem; font-weight: 500; margin: 0; }
.calendar-day-close {
    background: transparent; border: 1px solid var(--border); color: #fff;
    width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
}
.calendar-day-event + .calendar-day-event {
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.calendar-day-event h4 { font-size: 1.0625rem; font-weight: 500; margin: 0 0 8px; }
.calendar-day-event p { color: var(--text-muted); font-size: 0.875rem; margin: 0 0 8px; line-height: 1.6; }
.calendar-day-meta { color: var(--text-dim) !important; }
.calendar-day-event .btn { margin-top: 8px; }

.events-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.event-item {
    display: flex; align-items: center; gap: 20px;
    padding: 20px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 8px;
}
.event-date-box { text-align: center; min-width: 64px; }
.event-date-box .event-day { font-size: 1.75rem; font-weight: 300; line-height: 1; }
.event-date-box .event-month { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
.event-location { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 80px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 8px; }
.form-control {
    width: 100%; padding: 14px 16px; background: transparent;
    border: 1px solid var(--border); border-radius: 4px;
    color: #fff; font-family: inherit; font-size: 1rem;
}
.form-control:focus { outline: none; border-color: rgba(255,255,255,0.4); }
textarea.form-control { min-height: 140px; resize: vertical; }
.contact-info h3 { font-size: 1.5rem; font-weight: 300; margin-bottom: 20px; }
.contact-info p { color: var(--text-muted); margin-bottom: 12px; }
.contact-social { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.contact-social a { opacity: 0.7; font-size: 0.9375rem; }

/* ─── Buttons (shop/forms) ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: 100px; font-size: 0.8125rem;
    font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
    border: none; cursor: pointer; transition: 0.3s;
}
.btn-primary { background: #fff; color: #000; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: #fff; }
.btn-ghost { background: transparent; color: #fff; }
.btn-lg { padding: 16px 36px; }
.btn-sm { padding: 8px 18px; }
.btn-block { width: 100%; }

/* ─── Footer ─── */
.site-footer { padding: 80px 0 40px; border-top: 1px solid var(--border); background: #000; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand img { filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9375rem; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-social a { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.5; }
.footer-grid h4 { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-dim); margin-bottom: 20px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 0.9375rem; color: var(--text-muted); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: 0.8125rem; color: var(--text-dim); }
.footer-bottom a { color: var(--text-muted); opacity: 0.85; }
.footer-bottom a:hover { opacity: 1; color: var(--text); }

/* ─── Flash ─── */
.flash { padding: 14px 0; font-size: 0.9375rem; }
.flash-success { background: #052e16; color: #4ade80; }
.flash-error { background: #450a0a; color: #fca5a5; }
.flash-warning { background: #422006; color: #fcd34d; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .subnav-grid { grid-template-columns: 1fr 1fr; }
    .subnav-item:nth-child(2) { border-right: none; }
    .subnav-item { border-bottom: 1px solid var(--border); }
    .featured-release-inner { grid-template-columns: 1fr; }
    .featured-release-visual { order: -1; max-width: 100%; width: 100%; }
    .featured-release-content { display: none; }
    .featured-release-mobile-overlay {
        display: flex;
        padding: clamp(24px, 5vw, 40px);
    }
    .featured-release-mobile-overlay .hero-ctas {
        flex-direction: column;
    }
    .featured-release-visual img,
    .featured-release-placeholder,
    .release-player--featured .release-player-media {
        aspect-ratio: 1;
        border-radius: 28px 28px 0 0;
        width: 100%;
        object-fit: cover;
        object-position: center;
        box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    }
    .release-player--featured .release-player-play--media {
        display: flex;
    }
    .release-player--featured .release-player-controls {
        display: flex;
        border-radius: 0 0 28px 28px;
        background: rgba(255,255,255,0.06);
    }
    .release-player--featured .release-player-play--bar {
        display: none;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-scroll { display: none; }
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-video {
        min-height: 100svh; height: 100svh;
        display: flex; align-items: flex-end;
        position: relative; overflow: hidden;
    }
    .hero-video-bg,
    .hero-yt-wrap {
        position: absolute; inset: 0;
        width: 100%; height: 100%;
        overflow: hidden;
    }
    /* Cobre o ecrã vertical no telemóvel/tablet (vídeo 16:9) */
    .hero-yt-wrap iframe {
        position: absolute; top: 50%; left: 50%;
        width: max(100%, 177.78vh);
        height: max(100%, 56.25vw);
        max-width: none;
        transform: translate(-50%, -50%);
    }
    .hero-scrim {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.92) 0%,
            rgba(0,0,0,0.55) 35%,
            rgba(0,0,0,0.2) 65%,
            rgba(0,0,0,0.15) 100%
        );
    }
    .hero-video-content {
        position: relative; z-index: 2;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        width: 100%;
        padding-bottom: max(clamp(32px, 8vw, 56px), env(safe-area-inset-bottom, 0px));
    }
    .hero-video-text { max-width: 100%; }
    .hero-video-text h1 {
        font-size: clamp(1.5rem, 8vw, 2.75rem);
        letter-spacing: -0.01em;
        text-shadow: 0 2px 24px rgba(0,0,0,0.55);
    }
    .hero-subtitle {
        max-width: 100%;
        text-shadow: 0 2px 16px rgba(0,0,0,0.5);
    }
    .hero-ctas { width: 100%; flex-direction: column; }
    .hero-ctas .btn-ghost {
        width: 100%; text-align: center; justify-content: center;
        background: rgba(0,0,0,0.35);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    .release-player-title {
        white-space: normal; overflow-wrap: anywhere;
    }
    .subnav-grid { grid-template-columns: 1fr; }
    .subnav-item { border-right: none !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .member-detail-card { flex-direction: column; text-align: center; }
    .member-detail-photo { margin: 0 auto; }
    .bio-section-inner { grid-template-columns: 1fr; }
    .bio-section-photo { order: -1; max-width: 420px; width: 100%; margin: 0 auto; }
    .bio-section-text { text-align: left; }
    .bio-section-text p { max-width: 100%; }
    .bio-section-scrim {
        background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.45) 100%);
    }
    .section, .featured-release, .video-section, .shop-preview, .cta-band, .bio-section {
        width: 100%; max-width: 100%; overflow-x: hidden;
    }
    /* Loja: menu principal escondido; navegação via ícones/carrinho */
    .shop-header .main-nav { display: none; }
    .shop-preview-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .shop-preview-header h2 { font-size: 1.5rem; }
    .event-tile { gap: 16px; padding: 20px 0; }
    .event-tile-date { min-width: 52px; }
    .event-day { font-size: 1.5rem; }
    .video-section { min-height: 60vh; }
    .members-row { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 24px; }
    .member-tile-photo { width: 96px; height: 96px; }
    .calendar-nav { gap: 12px; }
    .calendar-nav h2 { font-size: 1.125rem; min-width: 0; }
    .event-item { flex-direction: column; align-items: flex-start; gap: 12px; }
    .calendar-day-panel-inner { padding: 16px; }
    .stream-links--buttons .stream-link,
    .hero-ctas .stream-link { padding: 12px 20px; font-size: 0.75rem; }
}
