/* ============================================================
   COR-LEN — Design System
   Identidade: atardecer caribeño — a paleta sai da capa de
   "Vive La Vida": coral do pôr do sol, dourado do reflexo na
   água e o azul-petróleo do mar à noite.
   Linguagem: cantos arredondados (o oposto do selo), pílulas,
   tipografia Anton/Inter, brilho difuso em vez de hairline.
   ============================================================ */

/* ---------- tokens ---------- */

:root {
  /* cores */
  --bg: #060b13;
  --bg-2: #0d1826;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-hover: rgba(255, 255, 255, 0.09);
  --ink: #f8f1e8;
  --muted: #9aa5b1;

  --hot: #ff6a3d;      /* coral do sol */
  --warm: #ffc46b;     /* dourado do reflexo */
  --cool: #35c8d6;     /* azul-caribe */
  --on-hot: #1a0803;

  /* bordas */
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 138, 76, 0.55);

  /* gradientes reutilizáveis */
  --grad-hot: linear-gradient(102deg, var(--hot) 0%, #ff8f45 55%, var(--warm) 100%);
  --grad-text: linear-gradient(96deg, #ff7a45 0%, #ffb35c 46%, #ffe2a8 100%);
  --grad-card: linear-gradient(158deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02) 72%);

  /* sombras */
  --glow-hot: 0 14px 40px -14px rgba(255, 106, 61, 0.75), 0 0 60px -18px rgba(255, 196, 107, 0.45);
  --shadow-card: 0 24px 60px -30px rgba(0, 0, 0, 0.9);

  /* tipografia */
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* movimento */
  --dur: 0.24s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* layout — hub curto, coluna estreita e centrada */
  --container: 560px;
  --gutter: clamp(1.25rem, 6vw, 2rem);
}

/* ---------- base ---------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100svh;
}

/* Luz de palco: dois focos quentes no topo e um frio embaixo.
   Fica fixo para não "descolar" do conteúdo durante o scroll. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(62% 40% at 26% -8%, rgba(255, 106, 61, 0.4), transparent 68%),
    radial-gradient(50% 34% at 86% 2%, rgba(255, 196, 107, 0.26), transparent 66%),
    radial-gradient(74% 46% at 50% 106%, rgba(53, 200, 214, 0.16), transparent 72%),
    linear-gradient(178deg, var(--bg-2), var(--bg) 58%);
}

/* Textura de ruído — tira o aspecto "flat digital" dos gradientes */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--cool);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 12px 0;
  font-weight: 600;
  z-index: 10;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main { padding-bottom: 3rem; }

section + section { margin-top: clamp(2.5rem, 7vw, 3.75rem); }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(3rem, 12vw, 5.5rem);
  padding-bottom: clamp(2rem, 6vw, 2.75rem);
  text-align: center;
}

/* A própria capa vira a luz do hero: desfocada, esmaecida e
   dissolvida para baixo. Dá contexto visual sem competir com o nome. */
.hero::before {
  content: "";
  position: absolute;
  inset: -18% -18% 0;
  z-index: -1;
  background: url("../img/vive-la-vida.jpg") center 32% / cover no-repeat;
  filter: blur(46px) saturate(1.25);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.55) 52%, transparent 92%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.55) 52%, transparent 92%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cool);
  box-shadow: 0 0 10px var(--cool);
}

/* O nome é o principal elemento gráfico da página — ele carrega
   o peso que uma foto de artista carregaria, então vai grande. */
.artist-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 21vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 1.25rem 0 0.75rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* o brilho vive numa camada atrás, senão o clip do texto o corta */
  filter: drop-shadow(0 10px 34px rgba(255, 45, 111, 0.4));
}

.tagline {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 30ch;
  margin-inline: auto;
  text-wrap: balance;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ---------- botões ---------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}

.btn--primary {
  background: var(--grad-hot);
  color: var(--on-hot);
  box-shadow: var(--glow-hot);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--ink);
}

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { box-shadow: 0 18px 46px -14px rgba(255, 45, 111, 0.9), 0 0 70px -16px rgba(255, 138, 43, 0.6); }
  .btn--ghost:hover { background: var(--panel-hover); border-color: var(--line-strong); }
}
.btn:active { transform: translateY(0); }

.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- álbum em destaque ---------- */

.release {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--grad-card);
  box-shadow: var(--shadow-card);
}

/* Capa do álbum. O gradiente abaixo é só a rede de segurança
   para o instante antes do JPEG carregar. */
.cover {
  object-fit: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(255, 138, 43, 0.9), transparent 60%),
    linear-gradient(150deg, var(--hot), #7b1fa2 70%, #2a1040);
  font-family: var(--font-display);
  font-size: 0.72rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.release-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm);
}
.release-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 7vw, 1.95rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 0.3rem 0 0.35rem;
}
.release-meta {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- faixas ---------- */

.tracks {
  list-style: none;
  margin-top: 1rem;
  display: grid;
}
.track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.62rem 0.35rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.track:last-child { border-bottom: 0; }
.track-num {
  width: 1.15rem;
  flex: none;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.track-name { flex: 1; }
.track-time {
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- lista de plataformas ---------- */

.links {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  font-weight: 600;
  transition: transform var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
@media (hover: hover) {
  .link-item:hover {
    transform: translateY(-2px);
    background: var(--panel-hover);
    border-color: var(--line-strong);
  }
  .link-item:hover .link-go { transform: translateX(3px); color: var(--ink); }
}
.link-item:active { transform: translateY(0); }

.link-icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--ink);
}
.link-label { flex: 1; }
.link-sub {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.link-go {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

/* Estado "sem URL ainda": a página nunca mostra um link quebrado.
   Assim que a URL entra no config, o item volta a ser clicável. */
.link-item[aria-disabled="true"],
.btn[aria-disabled="true"] {
  opacity: 0.42;
  pointer-events: none;
  filter: saturate(0.4);
}
.link-item[aria-disabled="true"] .link-go { display: none; }
.link-item[aria-disabled="true"]::after {
  content: "próximamente";
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- redes sociais ---------- */

.socials {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.social {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out);
}
.social svg { width: 21px; height: 21px; }
@media (hover: hover) {
  .social:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    background: var(--panel-hover);
  }
}
.social[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }

/* ---------- bio ---------- */

.bio p + p { margin-top: 0.9rem; }
.bio p { color: #cfc6d4; }
.bio strong { color: var(--ink); font-weight: 600; }

/* ---------- contato ---------- */

.contact {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
  background: var(--grad-card);
  text-align: center;
}
.contact h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}
.contact p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.contact .btn { display: inline-flex; word-break: break-all; }

.footer-mail {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- rodapé ---------- */

.site-footer {
  margin-top: clamp(3rem, 9vw, 4.5rem);
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.site-footer a { border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.site-footer a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.footer-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}

noscript .nojs {
  display: block;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-size: 0.86rem;
  color: var(--ink);
}

/* ---------- entrada suave ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.7s var(--ease-out) forwards;
  }
  .reveal:nth-child(2) { animation-delay: 0.06s; }
  .reveal:nth-child(3) { animation-delay: 0.12s; }
  @keyframes rise {
    to { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- telas maiores ---------- */

@media (min-width: 560px) {
  .hero-cta { flex-direction: row; justify-content: center; }
  .hero-cta .btn { flex: 1; max-width: 250px; }
  .release { grid-template-columns: 128px 1fr; padding: 1.25rem; gap: 1.4rem; }
  .cover { font-size: 0.85rem; }
}
