:root {
  --bg: #06120f;
  --bg-soft: #0e221d;
  --text: #f9f2e9;
  --muted: #d7cfc4;
  --accent: #c7964e;
  --accent-strong: #8f5f23;
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: #030806;
  line-height: 1.6;
}

/* fundo fixo: a foto cobre a tela e fica parada enquanto rola (funciona no celular).
   A camada escura uniforme vem por cima. Para clarear/escurecer mude só o 0.6. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(3, 8, 6, 0.6), rgba(3, 8, 6, 0.6)),
    url('./Fundo.jpg') center / cover no-repeat;
}

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

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

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2rem;
  background: rgba(4, 10, 9, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__brand {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.topbar__nav a:hover {
  color: var(--text);
}

/* botão "Comprar ingresso" no menu do topo (mesmo tamanho dos outros itens) */
.topbar__nav a.topbar__cta {
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.topbar__nav a.topbar__cta:hover {
  background: var(--accent);
  color: #1d1307;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 7rem 1.5rem 3rem;
  background: transparent;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* o escurecimento agora vem da camada uniforme do body */
  background: transparent;
}

.hero__content {
  position: relative;
  width: min(100%, 1100px);
  text-align: center;
  z-index: 1;
}

.hero__logo {
  width: min(100%, 320px);
  margin: 0 auto 1.8rem;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.25));
}

.hero__eyebrow,
.section__eyebrow,
.lineup__label {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.hero__intro {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero__intro--secondary {
  color: var(--muted);
  font-size: 1rem;
}

.hero__actions {
  margin-top: 2.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent);
  color: #1d1307;
}

.button--light {
  background: var(--text);
  color: #09110e;
}

.button--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--accent);
}

.button--outline:hover {
  background: var(--accent);
  color: #1d1307;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 1rem;
  max-width: 620px;
  margin: 3rem auto 0;
}

.countdown__item {
  padding: 0;
}

.countdown__item span {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(
    180deg,
    #f7e3ad 0%,
    #e7c067 22%,
    #b9822f 50%,
    #f3d893 68%,
    #a4641f 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.section {
  padding: 5.5rem 1.5rem;
}

.section--accent {
  background: transparent;
  color: inherit;
}

.section--alt {
  /* sem tom próprio, para o fundo ficar uniforme em toda a página */
  background: transparent;
}

.section__heading {
  max-width: 780px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section__heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.7rem;
}

.section__heading p {
  color: var(--muted);
  margin: 0;
}

.section--accent .section__heading p {
  color: rgba(24, 17, 11, 0.8);
}

.lineup {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== CARROSSEL DO LINE-UP (desliza da direita para a esquerda) ===== */
.lineup__viewport {
  overflow: hidden;
  /* máscara suave nas bordas, como no original */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.lineup__track {
  display: flex;
  width: max-content;
  animation: desliza 45s linear infinite;
}

/* pausa quando o mouse passa por cima */
.lineup__viewport:hover .lineup__track {
  animation-play-state: paused;
}

@keyframes desliza {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } /* metade = um conjunto completo (loop sem emenda) */
}

.lineup__card {
  /* ~4 cards visíveis por vez */
  flex: 0 0 clamp(190px, 23vw, 280px);
  margin-right: 1.2rem; /* o espaçamento entra na largura p/ o loop ficar perfeito */
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.lineup__card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.lineup__card-name {
  padding: 0.9rem 1rem 0.2rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* quando o card só tem o nome (line-up dos DJs), mantém o respiro embaixo */
.lineup__card-name:last-child {
  padding-bottom: 0.9rem;
}

.lineup__card-sub {
  padding: 0 1rem 0.9rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* line-up completo em texto, abaixo do carrossel */
.lineup__full {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 1rem;
  font-weight: 600;
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
}

/* cada grupo de nomes flui e centraliza; quebra de forma responsiva */
.lineup__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.4em 0.6em;
  margin: 0 0 0.4em;
}

/* nomes nunca quebram no meio (mesmo com mais de uma palavra) */
.lineup__line .nm {
  white-space: nowrap;
}

/* separador • (inserido via JS); some quando cai na ponta de uma linha */
.lineup__line .sep {
  color: var(--accent);
}

.lineup__line .sep.is-edge {
  visibility: hidden;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card,
.info-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.card h3,
.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

.card p,
.info-card p {
  color: var(--muted);
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.info-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.footer {
  padding: 1.3rem 1.5rem 2rem;
  text-align: center;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
}

/* ===== LOCALIZAÇÃO (texto à esquerda, imagem à direita) ===== */
.local {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
  max-width: 1150px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.local__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.local__eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.local__title {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.local__desc {
  max-width: 460px;
  margin: 0 0 2.2rem;
  color: var(--muted);
}

.local__rows {
  margin: 0;
}

.local__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.local__row dt {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.local__row dd {
  margin: 0;
  text-align: right;
  font-family: ui-monospace, 'SFMono-Regular', 'Courier New', monospace;
  letter-spacing: 0.04em;
  color: var(--text);
}

.local__image {
  background-size: cover;
  background-position: center bottom; /* mostra a parte de baixo da foto */
  min-height: 340px;
  border-radius: 20px;
}

@media (max-width: 860px) {
  .local {
    grid-template-columns: 1fr;
  }

  .local__image {
    order: -1;
    min-height: 280px;
  }
}

/* ===== ACCORDION (Informações) ===== */
.accordion {
  max-width: 828px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion__item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.accordion__item[open] {
  border-color: rgba(199, 150, 78, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.accordion__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.6rem;
}

.accordion__item summary::-webkit-details-marker {
  display: none;
}

.accordion__title {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 600;
}

/* seta (chevron) que gira ao abrir */
.accordion__item summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  margin-right: 4px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.accordion__item[open] summary::after {
  transform: rotate(-135deg);
}

.accordion__body {
  padding: 0 1.6rem 1.4rem;
}

.accordion__body p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
}

.accordion__body p + p {
  margin-top: 1em;
}

.accordion__image {
  display: block;
  width: 100%;
  max-width: 560px;
  border-radius: 12px;
}

.faq__cta {
  margin-top: 2.2rem;
  text-align: center;
}

/* botão hambúrguer — escondido no desktop */
.topbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.topbar__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 820px) {
  .topbar {
    padding: 0.9rem 1.3rem;
  }

  .topbar__toggle {
    display: flex;
  }

  /* menu vira um painel que abre abaixo da barra */
  .topbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 1rem 1.3rem 1.4rem;
    background: rgba(4, 10, 9, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }

  .topbar.is-open .topbar__nav {
    display: flex;
  }

  .topbar__nav a {
    padding: 0.7rem 0.4rem;
    font-size: 1.05rem;
  }

  .topbar__nav a.topbar__cta {
    text-align: center;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.3rem;
  }

  /* hambúrguer vira "X" quando aberto */
  .topbar.is-open .topbar__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.is-open .topbar__toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.is-open .topbar__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .cards,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 8.5rem;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
  }

  .hero__intro {
    font-size: 1rem;
  }
}
