/* =========================================================
   ROBSON DRUM — Stylesheet
   Paleta: preto/grafite com dourado e vermelho de palco
   Fontes: Bebas Neue (display) + Poppins (corpo)
   ========================================================= */

:root {
  /* Cores base */
  --bg: #0b0b0d;
  --bg-alt: #15141a;
  --surface: #1d1b21;
  --surface-2: #28252c;
  --border: rgba(255, 255, 255, 0.08);

  /* Cores de destaque */
  --gold: #dba955;
  --gold-soft: #f3d9ab;
  --red: #a3242f;
  --red-deep: #5c1219;

  /* Texto */
  --text: #f4f1ec;
  --text-muted: #a9a5a0;

  /* Tipografia */
  --font-display: 'Bebas Neue', 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius: 14px;
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

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

/* Foco visível para acessibilidade */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============ TEXTURA DE FUNDO (luz de palco) ============ */
.stage-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(163, 36, 47, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 30%, rgba(219, 169, 85, 0.10), transparent 65%),
    var(--bg);
}

/* ============ TIPOGRAFIA GERAL ============ */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.center { text-align: center; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 14px 0;
  background: rgba(11, 11, 13, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-mark {
  width: 30px;
  height: 30px;
  color: var(--gold);
  display: inline-flex;
  flex-shrink: 0;
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-text strong {
  color: var(--gold);
  font-weight: 400;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 6px;
  transition: color var(--transition);
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.main-nav a:not(.nav-cta):hover,
.main-nav a:not(.nav-cta):focus-visible {
  color: var(--text);
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold) !important;
  transition: var(--transition);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold);
  color: var(--bg) !important;
}

/* Menu mobile (hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(15%) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11,11,13,0.97) 0%, rgba(11,11,13,0.78) 38%, rgba(11,11,13,0.35) 70%, rgba(11,11,13,0.65) 100%),
    linear-gradient(to top, rgba(11,11,13,1) 0%, rgba(11,11,13,0.15) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  padding-bottom: 90px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 13vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title-line { display: block; }

.hero-title-accent {
  color: var(--gold);
  -webkit-text-stroke: 1px var(--gold);
}

.hero-tagline {
  margin-top: 26px;
  max-width: 540px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text);
  font-weight: 300;
}

.hero-actions {
  margin-top: 42px;
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-arrow {
  transition: transform var(--transition);
  display: inline-block;
}

.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  transform: translateX(5px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b9803b);
  color: #1a1308;
  box-shadow: 0 8px 28px rgba(219, 169, 85, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 12px 34px rgba(219, 169, 85, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--gold);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--gold);
  color: #1a1308;
  transform: translateY(-2px);
}

/* ============ EQUALIZADOR (assinatura visual) ============ */
.equalizer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: clamp(2px, 0.6vw, 6px);
  padding: 0 4%;
  z-index: 1;
}

.equalizer span {
  flex: 1;
  min-width: 2px;
  max-width: 14px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--gold), var(--red));
  opacity: 0.55;
  animation: eq-bounce 2.6s ease-in-out infinite;
}

/* Variação de altura/tempo para cada barra, criando um padrão orgânico */
.equalizer span:nth-child(1)  { height: 18%; animation-delay: -0.1s; animation-duration: 2.1s; }
.equalizer span:nth-child(2)  { height: 42%; animation-delay: -0.6s; animation-duration: 2.6s; }
.equalizer span:nth-child(3)  { height: 70%; animation-delay: -1.1s; animation-duration: 1.9s; }
.equalizer span:nth-child(4)  { height: 30%; animation-delay: -0.4s; animation-duration: 2.4s; }
.equalizer span:nth-child(5)  { height: 55%; animation-delay: -1.4s; animation-duration: 2.2s; }
.equalizer span:nth-child(6)  { height: 22%; animation-delay: -0.8s; animation-duration: 2.8s; }
.equalizer span:nth-child(7)  { height: 80%; animation-delay: -0.2s; animation-duration: 2.0s; }
.equalizer span:nth-child(8)  { height: 38%; animation-delay: -1.6s; animation-duration: 2.5s; }
.equalizer span:nth-child(9)  { height: 60%; animation-delay: -0.5s; animation-duration: 2.3s; }
.equalizer span:nth-child(10) { height: 25%; animation-delay: -1.0s; animation-duration: 2.7s; }
.equalizer span:nth-child(11) { height: 48%; animation-delay: -0.3s; animation-duration: 2.1s; }
.equalizer span:nth-child(12) { height: 90%; animation-delay: -1.3s; animation-duration: 1.8s; }
.equalizer span:nth-child(13) { height: 34%; animation-delay: -0.7s; animation-duration: 2.6s; }
.equalizer span:nth-child(14) { height: 65%; animation-delay: -0.0s; animation-duration: 2.2s; }
.equalizer span:nth-child(15) { height: 20%; animation-delay: -1.5s; animation-duration: 2.9s; }
.equalizer span:nth-child(16) { height: 52%; animation-delay: -0.9s; animation-duration: 2.0s; }
.equalizer span:nth-child(17) { height: 75%; animation-delay: -0.4s; animation-duration: 2.4s; }
.equalizer span:nth-child(18) { height: 28%; animation-delay: -1.2s; animation-duration: 2.5s; }
.equalizer span:nth-child(19) { height: 58%; animation-delay: -0.6s; animation-duration: 2.1s; }
.equalizer span:nth-child(20) { height: 40%; animation-delay: -1.7s; animation-duration: 2.7s; }
.equalizer span:nth-child(21) { height: 85%; animation-delay: -0.1s; animation-duration: 1.9s; }
.equalizer span:nth-child(22) { height: 32%; animation-delay: -0.9s; animation-duration: 2.6s; }
.equalizer span:nth-child(23) { height: 62%; animation-delay: -0.3s; animation-duration: 2.3s; }
.equalizer span:nth-child(24) { height: 18%; animation-delay: -1.4s; animation-duration: 2.8s; }
.equalizer span:nth-child(25) { height: 50%; animation-delay: -0.7s; animation-duration: 2.2s; }
.equalizer span:nth-child(26) { height: 72%; animation-delay: -0.2s; animation-duration: 2.0s; }
.equalizer span:nth-child(27) { height: 26%; animation-delay: -1.1s; animation-duration: 2.5s; }
.equalizer span:nth-child(28) { height: 45%; animation-delay: -0.5s; animation-duration: 2.4s; }
.equalizer span:nth-child(29) { height: 68%; animation-delay: -1.6s; animation-duration: 2.1s; }
.equalizer span:nth-child(30) { height: 22%; animation-delay: -0.8s; animation-duration: 2.7s; }

@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.55); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 0.95; }
}

/* ============ SOBRE ============ */
.about {
  padding: 120px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
  max-width: 540px;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.about-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(11,11,13,0.55) 100%);
}

.about-ring {
  position: absolute;
  width: 120%;
  height: 120%;
  border: 1px dashed rgba(219, 169, 85, 0.35);
  border-radius: 50%;
  z-index: -1;
  animation: spin-slow 50s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* ============ FILOSOFIA ============ */
.philosophy {
  padding: 110px 0 130px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 15%, transparent 85%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: var(--transition);
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(219, 169, 85, 0.4);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.pillar-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(219, 169, 85, 0.08);
  margin-bottom: 22px;
}

.pillar-icon svg { width: 28px; height: 28px; }

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ============ REDES SOCIAIS ============ */
.social {
  position: relative;
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
}

.social::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(163, 36, 47, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(219, 169, 85, 0.12), transparent 70%);
  z-index: -1;
}

.social-inner {
  max-width: 720px;
  margin: 0 auto;
}

.social-text {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin: 0 auto 38px;
  max-width: 520px;
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 70px 0 50px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-alt);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
}

.footer-brand .logo-mark {
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-name strong {
  color: var(--gold);
  font-weight: 400;
}

.footer-place {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  margin: 0 auto 30px;
  max-width: 600px;
  text-transform: uppercase;
}

.footer-rights {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============ BOTÃO VOLTAR AO TOPO ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(29, 27, 33, 0.85);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 90;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.back-to-top svg { width: 20px; height: 20px; }

/* ============ ANIMAÇÕES DE ENTRADA (scroll reveal) ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Atraso progressivo para elementos do hero */
.hero-content .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero-content .reveal:nth-child(2) { transition-delay: 0.18s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.32s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.46s; }

.pillars .pillar:nth-child(1) { transition-delay: 0s; }
.pillars .pillar:nth-child(2) { transition-delay: 0.12s; }
.pillars .pillar:nth-child(3) { transition-delay: 0.24s; }

/* ============ RESPONSIVO ============ */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .about-text p { margin-left: auto; margin-right: auto; }

  .about-visual { order: -1; }

  .pillars {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: rgba(11, 11, 13, 0.97);
    padding: 26px 24px 32px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-cta { align-self: flex-start; }

  .menu-toggle { display: flex; }

  .hero-content { padding-top: 130px; }

  .equalizer { height: 44px; }

  .about, .philosophy, .social { padding: 80px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { letter-spacing: 0.02em; }
  .btn { padding: 14px 24px; font-size: 0.88rem; }
  .footer-quote { font-size: 1.15rem; }
}

/* ============ ACESSIBILIDADE: reduzir movimento ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
