/* ============================================================
   Rodrigo Mozart — estilos
   Paleta quente, elegância soul/R&B, moderno brasileiro
   ============================================================ */

:root {
  --bg:        #0e1116;
  --bg-2:      #141a22;
  --bg-3:      #1b222c;
  --line:      rgba(214, 190, 142, 0.16);
  --cream:     #f4efe4;
  --muted:     #a89f8d;
  --gold:      #c9a05c;
  --gold-lt:   #e6c988;
  --gold-deep: #a97e3c;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1120px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #1a1206;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(14, 17, 22, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-lt);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list a {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-list a:hover, .nav-list a:focus-visible { color: var(--cream); }
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-lt) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--gold); color: #1a1206 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold-deep));
  color: #1a1206;
  font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(201, 160, 92, 0.6);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(201, 160, 92, 0.18), transparent 55%),
    radial-gradient(90% 80% at 15% 90%, rgba(169, 126, 60, 0.14), transparent 60%),
    linear-gradient(180deg, #0b0e13, #12171f 60%, #0e1116);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  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'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: screen;
}
.hero-inner { position: relative; z-index: 2; }

/* Retrato do hero — some sozinho se a imagem não existir (onerror) */
.hero-portrait {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(52%, 720px);
  margin: 0;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%);
  mask-image: linear-gradient(90deg, transparent, #000 38%);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(0.25) contrast(1.02);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(201,160,92,0.14), transparent 55%);
  mix-blend-mode: overlay;
}
@media (max-width: 820px) {
  .hero-portrait {
    width: 100%;
    opacity: 0.28;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: var(--gold-lt);
  margin: 0 0 1.2rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.92;
  margin: 0;
  font-size: clamp(3.4rem, 13vw, 9rem);
  letter-spacing: -0.02em;
}
.hero-title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  background: linear-gradient(120deg, var(--gold-lt), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-tagline {
  max-width: 40ch;
  color: var(--muted);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  margin: 1.6rem 0 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  z-index: 3;
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 9px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold-lt);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.74rem;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.4rem;
}
.section-sub { color: var(--muted); margin: 0.4rem 0 0; }
.section-head { margin-bottom: 3rem; max-width: 60ch; }
.section-head.center { text-align: center; margin-inline: auto; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

/* ---------- Sobre ---------- */
.sobre { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 30% 10%, rgba(201, 160, 92, 0.22), transparent 60%),
    linear-gradient(160deg, #202832, #12171f);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.portrait > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.portrait::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.4));
}
.portrait-mark {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 7rem);
  color: rgba(230, 201, 136, 0.22);
  letter-spacing: 0.05em;
}
.sobre-text p { color: #d9d2c4; margin: 0 0 1.1rem; }
.sobre-text strong { color: var(--gold-lt); }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  list-style: none;
  padding: 1.8rem 0 0;
  margin: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}
.facts li { display: flex; flex-direction: column; }
.fact-num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--gold-lt);
  line-height: 1.1;
}
.fact-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Escute / plataformas ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.platform:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--bg-3);
}
.platform-name { font-family: var(--font-serif); font-size: 1.2rem; }
.platform-go { color: var(--gold); transition: transform 0.3s var(--ease); }
.platform:hover .platform-go { transform: translate(3px, -3px); }

/* ---------- Músicas ---------- */
.musicas { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.tracklist {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.tracklist li {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.15rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease), color 0.3s var(--ease);
}
.tracklist li:hover { padding-left: 1.2rem; color: var(--gold-lt); }
.track-i {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 0.95rem;
  min-width: 2ch;
}
.track-name { font-family: var(--font-serif); font-size: clamp(1.2rem, 3vw, 1.6rem); }

/* ---------- Ao Vivo ---------- */
.ao-vivo { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 3vw, 1.6rem);
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  background: var(--bg-3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.92);
}
.gallery-item:hover img { transform: scale(1.04); filter: saturate(1.05); }

/* ---------- Vídeos ---------- */
.video-cta { text-align: center; }

/* ---------- Contato ---------- */
.contato { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.contato .grid-2 { align-items: start; }
.contato p { color: #d9d2c4; }
.mail {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  color: var(--gold-lt);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease);
}
.mail:hover { border-color: var(--gold); }

.social-list { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.social-list li { border-bottom: 1px solid var(--line); }
.social-list a {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  color: var(--cream);
  transition: color 0.25s var(--ease), padding 0.3s var(--ease);
}
.social-list a:hover { color: var(--gold-lt); padding-left: 0.5rem; }
.social-list span { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0;
  text-align: center;
  background: var(--bg);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-name { font-family: var(--font-serif); font-size: 1.3rem; margin: 0.4rem 0 0; }
.footer-copy { color: var(--muted); font-size: 0.85rem; margin: 0; }
.footer-credit {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  margin: 0.8rem 0 0;
  opacity: 0.8;
}
.footer-credit a {
  color: var(--gold-lt);
  font-family: var(--font-serif);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.footer-credit a:hover { border-bottom-color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; }
  .sobre-media { max-width: 380px; }

  .nav-toggle { display: flex; z-index: 60; }
  .nav-list {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem 2.4rem;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-list.open { transform: none; }
  .nav-list a { font-size: 1.15rem; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
