/* =========================================================
   GUSTAVINN — style.css
   ========================================================= */

:root {
  --yellow: #FFE600;
  --magenta: #FF2D8A;
  --cyan: #00E5FF;
  --blue-dark: #1A1A4E;
  --purple: #7B2FBE;
  --bg: #0D0D1A;

  --font-display: 'Black Ops One', sans-serif;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-script: 'Pacifico', cursive;
  --font-body: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

html, body {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: #fff;
  font-family: var(--font-body);
  cursor: none;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* === CUSTOM CURSOR === */
.cursor {
  position: fixed;
  width: 18px; height: 18px;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-trail {
  position: fixed;
  width: 40px; height: 40px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease, opacity 0.3s;
  opacity: 0.5;
}

@media (hover: none) {
  .cursor, .cursor-trail { display: none; }
  html, body { cursor: auto; }
}

/* === NOISE + SCANLINES === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9997;
  animation: noiseAnim 0.15s steps(1) infinite;
}
@keyframes noiseAnim {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2px, 1px); }
  50%  { transform: translate(2px, -1px); }
  75%  { transform: translate(-1px, 2px); }
  100% { transform: translate(1px, -2px); }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 9996;
}

/* === ANIMATED BG === */
.bg-canvas { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.bg-gradient {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse 60% 50% at 20% 40%, rgba(255,45,138,0.35) 0%, transparent 60%),
              radial-gradient(ellipse 50% 60% at 80% 60%, rgba(123,47,190,0.4) 0%, transparent 60%),
              radial-gradient(ellipse 70% 40% at 50% 90%, rgba(0,229,255,0.2) 0%, transparent 50%),
              #0D0D1A;
  animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.08) rotate(3deg); }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: blobMove 12s ease-in-out infinite alternate;
}
.blob-1 { width: 500px; height: 500px; background: var(--magenta); top: -100px; left: -100px; }
.blob-2 { width: 400px; height: 400px; background: var(--purple); bottom: -80px; right: -80px; animation-delay: -4s; }
.blob-3 { width: 300px; height: 300px; background: var(--cyan); top: 50%; left: 60%; animation-delay: -8s; opacity: 0.3; }
@keyframes blobMove {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

/* === PARTICLES === */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.particle { position: absolute; border-radius: 50%; animation: floatUp linear infinite; }
@keyframes floatUp {
  0%   { transform: translateY(110vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* === TOP BAR / NAV === */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(13,13,26,0.9), transparent);
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-bar-dot {
  width: 10px; height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-link-hire {
  color: var(--bg);
  background: var(--yellow);
  padding: 8px 16px !important;
  border-radius: 30px;
  font-weight: 700;
}
.nav-link-hire::after { display: none; }
.nav-link-hire:hover { background: var(--cyan); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 10;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none; /* deixa cliques passarem pro conteúdo do hero */
}
.hero-video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;     /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 calculado a partir da altura da tela */
  transform: translate(-50%, -50%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,26,0.55) 0%, rgba(13,13,26,0.75) 60%, var(--bg) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 20px;
  max-width: 900px;
}
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 0.95;
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--magenta), 8px 8px 0 var(--purple);
  margin-bottom: 18px;
}
.hero-tagline {
  font-size: 1.1rem;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0%   { top: 8px; opacity: 1; }
  70%  { opacity: 0; }
  100% { top: 20px; opacity: 0; }
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 40px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 0 0 rgba(255,45,138,0.5);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(255,45,138,0.45); }
.btn-outline {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
}
.btn-outline:hover { background: rgba(0,229,255,0.1); }
.btn-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,230,0,0.08);
}
.btn-new:hover { background: rgba(255,230,0,0.15); }
.btn-new-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  border-radius: 20px;
  background: var(--yellow);
  color: #0D0D1A;
  animation: btnNewPulse 1.6s ease-in-out infinite;
}
@keyframes btnNewPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.94); }
}

/* === MARQUEE === */
.marquee-wrap {
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-top: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  background: var(--blue-dark);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 2px;
}
.marquee-track .highlight { color: var(--magenta); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* === SECTIONS === */
.section {
  position: relative;
  z-index: 10;
  padding: 100px 20px;
}
.section-alt { background: rgba(255,255,255,0.02); }
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: 1px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.section-title .accent { color: var(--magenta); }
.section-sub {
  opacity: 0.75;
  margin-bottom: 40px;
}

/* === SOBRE === */
.sobre-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}
.sobre-media img {
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.sobre-text p { margin-bottom: 18px; line-height: 1.7; opacity: 0.9; }
.sobre-text .quote {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--yellow);
  margin: 24px 0;
}
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  padding: 6px 16px;
  border: 1px solid var(--purple);
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple);
}

/* === MÚSICAS === */
.musicas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 36px;
}
.tracklist ol { display: flex; flex-direction: column; gap: 4px; }
.tracklist li {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  counter-increment: track;
}
.tracklist li::before {
  content: counter(track);
  color: var(--cyan);
  font-weight: 700;
  margin-right: 14px;
}
.tracklist ol { counter-reset: track; }
.track-name { flex: 1; }
.track-time { opacity: 0.6; }
.player-embed { border-radius: 16px; overflow: hidden; }
.spotify-frame { display: block; border-radius: 16px; }
.music-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* === GALERIA === */
.gallery-strip {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  padding: 20px 0 50px;
  cursor: grab;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.gallery-strip.dragging { cursor: grabbing; }
.gallery-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
}
.gallery-item {
  flex: 0 0 auto;
  width: 220px;
  height: 280px;
  padding: 0;
  border: none;
  background: none;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 5px 5px 0 var(--magenta), 10px 10px 0 var(--purple);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.gallery-item:nth-child(even) {
  transform: rotate(3deg);
  box-shadow: 5px 5px 0 var(--cyan), 10px 10px 0 var(--purple);
}
.gallery-item:nth-child(3n) {
  transform: rotate(-2deg);
  box-shadow: 5px 5px 0 var(--yellow), 10px 10px 0 var(--magenta);
}
.gallery-item:hover {
  transform: rotate(0deg) scale(1.06);
  filter: saturate(1.25);
  box-shadow: 7px 7px 0 var(--cyan), 14px 14px 0 var(--magenta);
  z-index: 2;
}

@media (max-width: 720px) {
  .gallery-item { width: 160px; height: 210px; }
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 16, 0.92);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-frame {
  max-width: min(88vw, 900px);
  max-height: 82vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--magenta), 16px 16px 0 var(--purple);
  animation: lightboxIn 0.25s ease;
}
@keyframes lightboxIn {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.lightbox-frame img { max-width: 100%; max-height: 82vh; display: block; }
.lightbox-close, .lightbox-arrow {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lightbox-close:hover, .lightbox-arrow:hover { background: var(--magenta); border-color: var(--magenta); }
.lightbox-close {
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  font-size: 1.2rem;
}
.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 1.8rem;
  line-height: 1;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--cyan);
}

@media (max-width: 600px) {
  .lightbox-arrow { width: 40px; height: 40px; font-size: 1.4rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* === LINKS SOCIAIS === */
.links-section {
  position: relative;
  z-index: 10;
  padding: 60px 20px;
  text-align: center;
}
.links-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}
.link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.link-btn:hover { transform: translateY(-2px); border-color: var(--cyan); }
.link-btn.featured { background: var(--magenta); border-color: var(--magenta); }

/* === FORM === */
.form-box {
  max-width: 640px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.7; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.field select option {
  background: #12121a;
  color: #fff;
}
.submit-btn { width: 100%; margin-top: 8px; }
.form-msg { margin-top: 14px; font-size: 0.85rem; min-height: 1.2em; }

/* === FOOTER === */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  opacity: 0.7;
  font-size: 0.85rem;
}
.footer a { text-decoration: underline; }
.footer-credit { margin-top: 10px; opacity: 0.6; }

/* === RESPONSIVE === */
@media (max-width: 860px) {
  .sobre-grid, .musicas-grid { grid-template-columns: 1fr; }
  .sobre-media { max-width: 280px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(75vw, 300px);
    background: var(--blue-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

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

/* === HERO LOGO === */
.hero-logo {
  max-width: 100%;
  width: 500px; /* Ajuste este valor conforme o tamanho ideal do seu logo */
  height: auto;
  margin: 0 auto;
  display: block;
}

/* === WHATSAPP CTA - SEÇÃO CONTATO === */
.wpp-contact-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.btn-whatsapp {
  background: #25D366; /* Verde oficial do WhatsApp */
  color: #fff;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.1rem;
  padding: 16px 36px;
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  color: #fff; /* Mantém branco no hover */
}

.wpp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  opacity: 0.5;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.wpp-divider::before, 
.wpp-divider::after {
  content: '';
  height: 1px;
  width: 80px;
  background: #fff;
  margin: 0 16px;
}

@media (max-width: 600px) {
  .btn-whatsapp {
    width: 100%;
    max-width: 320px;
  }
}