/* ==========================================================================
   UÍGE RECORD — DO ESTÚDIO PARA O MUNDO
   Design tokens
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root{
  /* base */
  --bg: #0a0908;
  --bg-alt: #121009;
  --bg-raised: #17130c;
  --card: #161209;
  --card-border: rgba(212,175,55,0.16);
  --card-border-strong: rgba(212,175,55,0.38);

  /* gold */
  --gold: #d4af37;
  --gold-light: #f2dd8a;
  --gold-pale: #f9efc9;
  --gold-deep: #8a6a1c;
  --gold-glow: rgba(212,175,55,0.35);

  /* red */
  --red: #a91224;
  --red-bright: #d21730;
  --red-glow: rgba(210,23,48,0.35);

  /* neutrals */
  --white: #f8f5ee;
  --muted: #b8ad98;
  --muted-2: #776b56;
  --line: rgba(248,245,238,0.08);

  /* type */
  --f-display: 'Anton', 'Arial Narrow', sans-serif;
  --f-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1160px;
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{ margin:0; font-family: var(--f-body); font-weight:800; letter-spacing: -0.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }

:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* subtle grain + vignette background, applied once to body */
.bg-video-wrap{
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--bg);
}
.bg-video-wrap video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.bg-video-wrap::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(10,9,8,0.78), rgba(10,9,8,0.5) 32%, rgba(10,9,8,0.6) 68%, rgba(10,9,8,0.88) 100%);
}
@media (max-width: 560px){
  /* em telemóvel, o vídeo passa para o recorte vertical 9:16 (a troca de fonte é feita no HTML) */
  .bg-video-wrap::after{ background: linear-gradient(180deg, rgba(10,9,8,0.72), rgba(10,9,8,0.5) 35%, rgba(10,9,8,0.85) 100%); }
}

.bg-texture{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(169,18,36,0.14), transparent 55%),
    radial-gradient(1400px 900px at 50% 120%, rgba(212,175,55,0.06), transparent 60%);
}
.bg-texture::after{
  content:"";
  position:absolute; inset:0;
  opacity:.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main{ position: relative; z-index: 1; }

/* Rasto de partículas douradas a seguir o cursor/toque */
.cursor-trail-canvas{
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,9,8,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.brand img{
  height: 46px;
  width: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-text .name{
  font-family: var(--f-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-text .tag{
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 4px;
}
.nav-links a{
  position: relative;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color .25s var(--ease);
}
.nav-links a:hover{ color: var(--white); }
.nav-links a.active{ color: var(--gold-light); }
.nav-links a.active::after{
  content:"";
  position:absolute;
  left: 16px; right:16px; bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--red-bright));
  border-radius: 2px;
}
.nav-links a.yt-link{
  display:flex; align-items:center; gap:7px;
  color: var(--white);
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--card-border-strong);
}
.nav-links a.yt-link:hover{
  background: rgba(212,175,55,0.16);
  border-color: var(--gold);
}
.nav-links a.yt-link svg{ width:16px; height:16px; flex-shrink:0; }

.nav-toggle{
  display:none;
  background: transparent;
  border: 1px solid var(--card-border-strong);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  align-items:center; justify-content:center;
  color: var(--white);
}
.nav-toggle svg{ width:20px; height:20px; }

@media (max-width: 780px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position: fixed;
    top: 70px; left: 0; right:0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10,9,8,0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  .nav-links.open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a{ padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius:0; }
  .nav-links a.yt-link{ margin-top: 8px; justify-content:center; border-radius: var(--radius-sm); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 9px;
  padding: 14px 26px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn svg{ width:17px; height:17px; flex-shrink:0; }
.btn:hover{ transform: translateY(-2px); }

.btn-gold{
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #1a1305;
  box-shadow: 0 10px 30px -10px var(--gold-glow);
}
.btn-gold:hover{ box-shadow: 0 16px 34px -10px var(--gold-glow); }

.btn-outline{
  background: transparent;
  border-color: var(--card-border-strong);
  color: var(--white);
}
.btn-outline:hover{ border-color: var(--gold); background: rgba(212,175,55,0.08); }

.btn-red{
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: var(--white);
  box-shadow: 0 10px 30px -10px var(--red-glow);
}
.btn-red:hover{ box-shadow: 0 16px 34px -10px var(--red-glow); }

.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 18px; font-size: 0.82rem; }

/* ==========================================================================
   Hero (index)
   ========================================================================== */

.hero{
  position: relative;
  padding: 72px 0 60px;
  overflow: hidden;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items:center;
  gap: 48px;
}

.eyebrow-line{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.eyebrow-line .dot{
  width: 7px; height:7px; border-radius:50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-glow);
}

.hero h1{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  background: linear-gradient(115deg, var(--gold-pale) 10%, var(--gold-light) 35%, var(--gold) 60%, var(--gold-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(212,175,55,0.18));
}

.hero .slogan{
  margin-top: 14px;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}
.hero .slogan span{ color: var(--red-bright); }

.hero p.lead{
  margin-top: 22px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-art{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.vinyl{
  position: relative;
  width: min(74vw, 420px);
  aspect-ratio: 1/1;
  border-radius:50%;
  animation: spin 22s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
.vinyl svg{ width:100%; height:100%; }

.hero-art .glow{
  position:absolute;
  width: 120%; height:120%;
  border-radius:50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%);
  filter: blur(6px);
  z-index:-1;
}

.hero-logo-badge{
  position:absolute;
  width: 30%; height:30%;
  left:50%; top:50%;
  transform: translate(-50%,-50%);
  border-radius:50%;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background: #0a0908;
  border: 2px solid var(--gold-deep);
}
.hero-logo-badge img{ width:88%; height:88%; object-fit:contain; }

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; text-align:center; }
  .hero p.lead{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-art{ order:-1; }
}

/* ==========================================================================
   Section shell
   ========================================================================== */

section{ padding: 76px 0; position: relative; }
section.alt{ background: linear-gradient(180deg, transparent, var(--bg-alt) 12%, var(--bg-alt) 88%, transparent); }

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2{
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800;
}
.section-head h2 em{
  font-style: normal;
  color: var(--gold-light);
}
.section-head p{
  color: var(--muted);
  max-width: 52ch;
  margin-top: 8px;
}
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red-bright);
  margin-bottom: 10px;
}
.section-kicker::before{
  content:"";
  width: 18px; height: 2px;
  background: var(--red-bright);
}

/* ==========================================================================
   Stats / "EM NÚMEROS"
   ========================================================================== */

.stats-wrap{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items:stretch;
}

.counter-block{
  background: linear-gradient(165deg, var(--bg-raised), var(--card));
  border: 1px solid var(--card-border-strong);
  border-radius: var(--radius);
  padding: 26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 14px;
  position: relative;
  overflow:hidden;
  min-height: 320px;
}
.counter-block::before{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 50% 20%, var(--gold-glow), transparent 60%);
  opacity:.5;
  pointer-events:none;
}
.counter-block iframe{
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 260px;
  border: 0;
  border-radius: var(--radius-sm);
}
.counter-caption{
  position: relative;
  font-size: 0.78rem;
  color: var(--muted-2);
  text-align:center;
}

.stat-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  display:flex;
  flex-direction:column;
  gap: 6px;
  justify-content:center;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.stat-card:hover{ border-color: var(--card-border-strong); transform: translateY(-3px); }
.stat-card .value{
  font-family: var(--f-display);
  font-weight:400;
  font-size: 2rem;
  color: var(--gold-light);
  line-height:1;
}
.stat-card .label{
  color: var(--muted);
  font-size: 0.84rem;
}
.stat-card.accent .value{ color: var(--red-bright); }

@media (max-width: 860px){
  .stats-wrap{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .stat-grid{ grid-template-columns: 1fr 1fr; }
  .counter-block iframe{ height: 220px; }
}

/* ==========================================================================
   About
   ========================================================================== */

.about-wrap{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items:center;
}
.about-visual{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--card-border-strong);
  background: linear-gradient(160deg, var(--bg-raised), #0d0b06);
  aspect-ratio: 4/5;
  display:flex;
  align-items:center;
  justify-content:center;
}
.about-visual img{
  width: 62%;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.5));
}
.about-visual::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 30% 20%, var(--gold-glow), transparent 55%);
  mix-blend-mode: screen;
}
.about-text p{ color: var(--muted); font-size: 1.03rem; margin-bottom: 18px; }
.about-callout{
  margin-top: 22px;
  padding: 18px 22px;
  border-left: 3px solid var(--red-bright);
  background: rgba(169,18,36,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
  color: var(--gold-light);
}

@media (max-width: 860px){
  .about-wrap{ grid-template-columns: 1fr; }
  .about-visual{ aspect-ratio: 16/10; }
}

/* ==========================================================================
   Track cards (grid, used on musicas.html + home preview)
   ========================================================================== */

.track-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.track-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.track-card:hover{
  transform: translateY(-5px);
  border-color: var(--card-border-strong);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6), 0 0 0 1px var(--card-border-strong);
}
.track-thumb{
  position:relative;
  aspect-ratio: 16/9;
  overflow:hidden;
  background: #000;
}
.track-thumb img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s var(--ease);
}
.track-card:hover .track-thumb img{ transform: scale(1.06); }
.track-thumb .play{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(10,9,8,0) 40%, rgba(10,9,8,0.65));
}
.track-thumb .play svg{
  width: 52px; height:52px;
  color: var(--gold-light);
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.6));
  opacity: 0.92;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.track-card:hover .play svg{ transform: scale(1.1); opacity:1; }

.track-body{
  padding: 18px 20px 20px;
  display:flex;
  flex-direction:column;
  gap: 12px;
  flex:1;
}
.track-body .title{ font-size: 1.05rem; font-weight: 800; line-height:1.3; }
.track-body .artist{
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.track-body .btn{ margin-top:auto; }

/* ==========================================================================
   Artist cards
   ========================================================================== */

.artist-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.artist-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.artist-card:hover{ transform: translateY(-5px); border-color: var(--card-border-strong); }

.artist-photo{
  width: 116px; height:116px;
  border-radius:50%;
  overflow:hidden;
  border: 2px solid var(--gold-deep);
  background: linear-gradient(160deg, var(--bg-raised), #0d0b06);
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.artist-photo img{ width:100%; height:100%; object-fit:cover; }
.artist-photo .initials{
  font-family: var(--f-display);
  font-size: 2.1rem;
  color: var(--gold-light);
}
.artist-photo::after{
  content:"";
  position:absolute; inset:0; border-radius:50%;
  box-shadow: inset 0 0 22px rgba(0,0,0,.5);
}

.artist-card .name{ font-size: 1.05rem; font-weight: 800; }
.artist-card .role{ color: var(--muted); font-size: 0.82rem; margin-top:-6px; }
.artist-card .assoc{
  font-size: 0.78rem;
  color: var(--muted-2);
}
.artist-card .assoc strong{ color: var(--white); font-weight:600; }

/* ==========================================================================
   Contact cards
   ========================================================================== */

.contact-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.contact-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display:flex;
  flex-direction:column;
  gap: 14px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.contact-card:hover{ transform: translateY(-5px); border-color: var(--card-border-strong); }
.contact-icon{
  width: 46px; height:46px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--card-border-strong);
  color: var(--gold-light);
}
.contact-icon svg{ width:22px; height:22px; }
.contact-card .label{ font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted-2); font-weight:700; }
.contact-card .value{ font-size: 1.05rem; font-weight:700; word-break: break-word; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band{
  border-radius: var(--radius);
  padding: 48px 40px;
  background: linear-gradient(120deg, rgba(212,175,55,0.12), rgba(169,18,36,0.14));
  border: 1px solid var(--card-border-strong);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 28px;
  flex-wrap:wrap;
}
.cta-band h3{
  font-family: var(--f-display);
  font-weight:400;
  font-size: 1.7rem;
  color: var(--white);
  max-width: 26ch;
}
.cta-band h3 em{ font-style: normal; color: var(--gold-light); }

/* ==========================================================================
   Page hero (musicas / contactos)
   ========================================================================== */

.page-hero{
  padding: 56px 0 20px;
  text-align:center;
}
.page-hero h1{
  font-family: var(--f-display);
  font-weight:400;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  background: linear-gradient(115deg, var(--gold-pale), var(--gold-light) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p{
  color: var(--muted);
  max-width: 54ch;
  margin: 14px auto 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{
  border-top: 1px solid var(--line);
  padding: 52px 0 30px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.footer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  flex-wrap:wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.footer-brand{ display:flex; align-items:center; gap:14px; }
.footer-brand img{ height:52px; width:52px; object-fit:contain; }
.footer-brand .name{
  font-family: var(--f-display);
  font-weight:400;
  font-size: 1.3rem;
  letter-spacing:0.03em;
  color: var(--gold-light);
}
.footer-brand .tag{ font-size: 0.72rem; letter-spacing:0.12em; color: var(--muted); margin-top:2px; }

.footer-links{ display:flex; gap: 10px; flex-wrap:wrap; }
.footer-links a{
  width: 42px; height:42px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid var(--card-border-strong);
  color: var(--white);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.footer-links a:hover{ background: rgba(212,175,55,0.12); border-color: var(--gold); transform: translateY(-2px); }
.footer-links a svg{ width:18px; height:18px; }

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  color: var(--muted-2);
  font-size: 0.82rem;
}
.footer-bottom a{ color: var(--muted); }
.footer-bottom a:hover{ color: var(--gold-light); }

/* ==========================================================================
   Utility
   ========================================================================== */

[data-reveal]{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

.mt-56{ margin-top:56px; }
.center{ text-align:center; }
.hide-mobile{ display:initial; }
@media (max-width: 640px){ .hide-mobile{ display:none; } }

/* ==========================================================================
   Fundo interactivo + scroll-driven (vídeo controlado pelo scroll)
   ========================================================================== */

.bg-video-wrap.is-interactive video{
  transform: scale(1.14);
  transform-origin: 50% 50%;
  will-change: transform;
}
.bg-glow{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(560px circle at var(--bg-x, 50%) var(--bg-y, 30%),
      rgba(242,221,138,calc(.20 * var(--bg-i, .6))) 0%,
      rgba(212,175,55,calc(.08 * var(--bg-i, .6))) 40%,
      transparent 72%);
}
/* a "lanterna" abre um buraco na camada escura para revelar o vídeo */
.bg-video-wrap.is-interactive:not(.is-touch)::after{
  -webkit-mask-image: radial-gradient(circle 380px at var(--bg-x, 50%) var(--bg-y, 30%), rgba(0,0,0,.18) 0%, rgba(0,0,0,.7) 55%, #000 100%);
  mask-image: radial-gradient(circle 380px at var(--bg-x, 50%) var(--bg-y, 30%), rgba(0,0,0,.18) 0%, rgba(0,0,0,.7) 55%, #000 100%);
}

/* ==========================================================================
   Carrossel 3D (musicas.html)
   ========================================================================== */

.carousel3d{
  --c3d-w: 290px;
  --c3d-h: 360px;
  position: relative;
}
.c3d-stage{
  position: relative;
  height: 440px;
  perspective: 1500px;
  perspective-origin: 50% 42%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  border-radius: var(--radius);
}
.c3d-stage.is-dragging{ cursor: grabbing; }
.c3d-stage:focus-visible{ outline-offset: -3px; }
.c3d-stage::before{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width: min(760px, 90%); height: 340px;
  transform: translate(-50%,-50%);
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.16), transparent 66%);
  pointer-events:none;
}
.c3d-ring{
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.c3d-item{
  position: absolute;
  left: 0; top: 0;
  width: var(--c3d-w);
  height: var(--c3d-h);
  margin-left: calc(var(--c3d-w) / -2);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.c3d-item .track-card{ height: 100%; }
.c3d-item::after{
  content:"";
  position:absolute; inset:0;
  border-radius: var(--radius);
  background: #0a0908;
  opacity: var(--c3d-shade, 0);
  pointer-events: none;
}
.c3d-item.is-front .track-card{
  border-color: var(--card-border-strong);
  box-shadow: 0 30px 50px -24px rgba(0,0,0,.75), 0 0 36px -8px var(--gold-glow);
}

.c3d-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  margin-top: 18px;
}
.c3d-btn{
  width: 46px; height: 46px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--card-border-strong);
  color: var(--white);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.c3d-btn:hover{ background: rgba(212,175,55,0.18); border-color: var(--gold); transform: translateY(-2px); }
.c3d-btn svg{ width: 20px; height: 20px; }
.c3d-dots{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content:center;
  max-width: 260px;
}
.c3d-dot{
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(248,245,238,0.22);
  transition: width .3s var(--ease), background .3s var(--ease);
}
.c3d-dot:hover{ background: rgba(248,245,238,0.45); }
.c3d-dot.is-active{ width: 24px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); }

@media (max-width: 560px){
  .carousel3d{ --c3d-w: 240px; --c3d-h: 360px; }
  .c3d-stage{ perspective: 1100px; }
}

/* ==========================================================================
   Motor de carrosséis (coverflow / faixa / pilha) — contactos e início
   ========================================================================== */

.flow{ position: relative; --flow-w: 300px; --flow-ih: 360px; --flow-h: 440px; }
.flow-stage{
  position: relative;
  height: var(--flow-h);
  perspective: 1500px;
  perspective-origin: 50% 42%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  border-radius: var(--radius);
}
.flow-stage.is-dragging{ cursor: grabbing; }
.flow-stage:focus-visible{ outline-offset: -3px; }
.flow-stage::before{
  content:"";
  position:absolute; left:50%; top:50%;
  width: min(760px, 90%); height: 70%;
  transform: translate(-50%,-50%);
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.15), transparent 66%);
  pointer-events:none;
}
.flow-track{ position:absolute; inset:0; transform-style: preserve-3d; }
.flow-item{
  position: absolute;
  left: 50%; top: 50%;
  width: var(--flow-w);
  height: var(--flow-ih);
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flow-item > *{ height: 100%; }
.flow-item .track-card{ height: 100%; }
.flow-item::after{
  content:"";
  position:absolute; inset:0;
  border-radius: var(--radius);
  background:#0a0908;
  opacity: var(--flow-shade, 0);
  pointer-events:none;
}
.flow-item.is-front .track-card,
.flow-item.is-front .artist-slide,
.flow-item.is-front .contact-slide{
  border-color: var(--card-border-strong);
  box-shadow: 0 30px 50px -24px rgba(0,0,0,.75), 0 0 36px -8px var(--gold-glow);
}
.flow .c3d-btn:disabled{ opacity:.35; pointer-events:none; }
.flow-controls{ display:flex; align-items:center; justify-content:center; gap:18px; margin-top:18px; }

/* tamanhos por tipo */
.flow-artists{ --flow-w: 300px; --flow-ih: 430px; --flow-h: 500px; }
.flow-contacts{ --flow-w: 340px; --flow-ih: 290px; --flow-h: 390px; }
.flow-releases{ --flow-w: 300px; --flow-ih: 360px; --flow-h: 440px; }
.flow-strip .flow-stage{
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
@media (max-width: 560px){
  .flow-artists{ --flow-w: 250px; --flow-ih: 390px; --flow-h: 460px; }
  .flow-contacts{ --flow-w: 280px; --flow-ih: 290px; --flow-h: 380px; }
  .flow-releases{ --flow-w: 250px; --flow-ih: 360px; --flow-h: 430px; }
  .flow-stage{ perspective: 1100px; }
}

/* ---- slide de artista ---- */
.artist-slide{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: linear-gradient(160deg, var(--bg-raised), #0d0b06);
  display:flex; flex-direction:column; justify-content:flex-end;
}
.artist-slide .photo{ position:absolute; inset:0; }
.artist-slide .photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position: center 22%; }
.artist-slide .initials{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--f-display); font-size: 5.5rem; color: var(--gold-deep); opacity:.6;
}
.artist-slide::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,9,8,0) 38%, rgba(10,9,8,.78) 72%, rgba(10,9,8,.96) 100%);
  pointer-events:none;
}
.artist-slide .info{ position:relative; z-index:1; padding: 22px; display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
.artist-slide .role{ font-size:.72rem; letter-spacing:.12em; font-weight:700; color: var(--red-bright); text-transform:uppercase; }
.artist-slide .name{ font-family: var(--f-display); font-size: 2rem; line-height:1; color: var(--gold-light); letter-spacing:.02em; }
.artist-slide .assoc{ font-size:.84rem; color: var(--muted); margin-bottom: 8px; }
.artist-slide .assoc strong{ color: var(--white); font-weight:600; }

/* ---- slide de contacto (pilha) ---- */
.contact-slide{
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: linear-gradient(165deg, var(--bg-raised), var(--card));
  padding: 26px 24px;
  display:flex; flex-direction:column; align-items:flex-start; gap: 10px;
  overflow:hidden;
}
.contact-slide::before{
  content:""; position:absolute; inset:-30% -30% auto auto; width:70%; height:70%;
  background: radial-gradient(circle, var(--brand-glow, var(--gold-glow)), transparent 65%);
  opacity:.55; pointer-events:none;
}
.contact-slide .brand-ico{
  position:relative;
  width: 68px; height: 68px;
  border-radius: 18px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(248,245,238,0.05);
  border: 1px solid var(--card-border-strong);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.45));
  margin-bottom: 6px;
}
.contact-slide .brand-ico svg{ width: 40px; height: 40px; }
.contact-slide .label{ position:relative; font-size:.74rem; letter-spacing:.1em; font-weight:700; color: var(--muted-2); }
.contact-slide .value{ position:relative; font-size:1.12rem; font-weight:800; word-break:break-word; line-height:1.3; }
.contact-slide .btn{ position:relative; margin-top:auto; }

/* ==========================================================================
   HUD futurista — "UÍGE RECORD EM NÚMEROS"
   ========================================================================== */

.hud{
  --hud-line: rgba(242,221,138,.34);
  position: relative;
  display:flex; flex-direction:column;
  min-height: 320px;
  padding: 18px 24px 20px;
  border-radius: 6px;
  border: 1px solid rgba(242,221,138,.22);
  background:
    linear-gradient(rgba(242,221,138,.045) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(242,221,138,.045) 1px, transparent 1px) 0 0 / 28px 100%,
    linear-gradient(165deg, rgba(16,13,6,.94), rgba(7,6,4,.96));
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 24px 60px -30px rgba(212,175,55,.35), inset 0 0 60px rgba(212,175,55,.05);
  overflow:hidden;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
.hud::after{ /* linha de varrimento */
  content:""; position:absolute; left:0; right:0; top:-30%; height:30%;
  background: linear-gradient(180deg, transparent, rgba(242,221,138,.10), transparent);
  animation: hudScan 5.5s linear infinite; pointer-events:none;
}
@keyframes hudScan{ to{ top: 110%; } }
.hud-c{ position:absolute; width:16px; height:16px; border:0 solid var(--gold-light); pointer-events:none; }
.hud-c.tl{ top:8px; left:8px; border-top-width:2px; border-left-width:2px; }
.hud-c.tr{ top:8px; right:8px; border-top-width:2px; border-right-width:2px; }
.hud-c.bl{ bottom:8px; left:8px; border-bottom-width:2px; border-left-width:2px; }
.hud-c.br{ bottom:8px; right:8px; border-bottom-width:2px; border-right-width:2px; }

.hud-top{ display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:.68rem; letter-spacing:.16em; color: var(--muted); padding: 0 6px; }
.hud-live{ display:inline-flex; align-items:center; gap:8px; color: var(--gold-light); }
.hud-live i{ width:7px; height:7px; border-radius:50%; background: var(--red-bright); box-shadow:0 0 10px var(--red-bright); animation: hudBlink 1.4s infinite; }
@keyframes hudBlink{ 50%{ opacity:.25; } }

.hud-body{ position:relative; flex:1; min-height: 190px; margin: 10px 0 8px; }
.hud-slide{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:center; gap:6px;
  padding: 0 6px;
  opacity:0; visibility:hidden;
  transform: translateX(34px) skewX(-6deg);
  filter: blur(6px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s var(--ease), visibility 0s .55s;
}
.hud-slide.is-past{ transform: translateX(-34px) skewX(6deg); }
.hud-slide.is-active{ opacity:1; visibility:visible; transform:none; filter:none; transition-delay:0s; }
.hud-label{ font-size:.74rem; letter-spacing:.2em; color: var(--red-bright); font-weight:700; }
.hud-label::before{ content:"> "; color: var(--gold); }
.hud-value{
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 8.5vw, 5.4rem);
  line-height: 1;
  letter-spacing: .01em;
  background: linear-gradient(115deg, var(--gold-pale) 5%, var(--gold-light) 35%, var(--gold) 70%, var(--gold-deep));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter: drop-shadow(0 0 22px rgba(212,175,55,.45));
  font-variant-numeric: tabular-nums;
}
.hud-note{ font-size:.8rem; color: var(--muted); letter-spacing:.04em; }
.hud-slide.is-active .hud-value{ animation: hudGlitch .6s steps(2,end) 1; }
@keyframes hudGlitch{
  0%{ clip-path: inset(0 0 100% 0); } 30%{ clip-path: inset(40% 0 20% 0); transform: translateX(-4px); }
  60%{ clip-path: inset(10% 0 50% 0); transform: translateX(3px); } 100%{ clip-path: inset(0); transform:none; }
}

.hud-eq{
  position:absolute; right:6px; bottom:0;
  display:flex; align-items:flex-end; gap:3px; height: 54px; opacity:.7;
}
.hud-eq i{
  display:block; width:4px; height:100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  transform-origin: bottom; transform: scaleY(.2);
  animation: hudEq 1.4s ease-in-out infinite;
  border-radius: 1px;
}
@keyframes hudEq{ 0%,100%{ transform:scaleY(.12); } 50%{ transform:scaleY(1); } }

.hud-bottom{ display:flex; align-items:center; gap:12px; padding: 0 2px; }
.hud-arrow{
  width: 34px; height: 34px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background: transparent; color: var(--gold-light);
  border: 1px solid var(--hud-line); border-radius: 4px;
  transition: background .2s, border-color .2s;
}
.hud-arrow:hover{ background: rgba(212,175,55,.14); border-color: var(--gold); }
.hud-arrow svg{ width:16px; height:16px; }
.hud-segs{ flex:1; display:flex; gap:6px; }
.hud-seg{ flex:1; height: 14px; padding:0; background:none; border:0; display:flex; align-items:center; }
.hud-seg span{ position:relative; display:block; width:100%; height:3px; background: rgba(248,245,238,.16); overflow:hidden; }
.hud-seg span::after{ content:""; position:absolute; inset:0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin:left; }
.hud-seg.is-done span::after{ transform: scaleX(1); }
.hud-seg.is-active span::after{ transform: scaleX(1); opacity:.55; }
.hud-seg.is-active.is-run span::after{ opacity:1; animation: hudFill 5.2s linear forwards; }
@keyframes hudFill{ from{ transform: scaleX(0); } to{ transform: scaleX(1); } }
.hud-index{ font-size:.7rem; letter-spacing:.14em; color: var(--muted); min-width: 52px; text-align:right; }

@media (prefers-reduced-motion: reduce){
  .hud::after, .hud-eq i, .hud-live i{ animation: none; }
}
@media (max-width: 480px){
  .hud{ padding: 16px 14px 16px; }
  .hud-eq{ display:none; }
}
.contact-slide .value{ font-size: clamp(.92rem, 4.2vw, 1.05rem); letter-spacing: -.005em; overflow-wrap:anywhere; }
