/* ═══════════════════════════════════════════════════
   AFTERWORK BY HEINEKEN — A Primeira Estrela
   Paleta oficial: verde #037E40 · estrela #EC1C24 · branco
   ═══════════════════════════════════════════════════ */

@font-face {
  font-family: "Monoblock";
  src: url("../fonts/Monoblock-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Monoblock";
  src: url("../fonts/Monoblock-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #037e40;
  --green-dark: #052e1b;
  --green-deep: #031f12;
  --red: #ec1c24;
  --paper: #f7f4ec;
  --white: #ffffff;
  --ink: #0b0f0c;
  --sans: "Helvetica Neue", Helvetica, "Arial Narrow", Arial, sans-serif;
  --mono: "Monoblock", "Courier New", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--sans);
  background: var(--green-dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
.is-hidden { display: none !important; }

/* ── Reveal on scroll ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ── Botões ───────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--solid { background: var(--white); color: var(--green-dark); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { border-color: var(--white); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(3,126,64,0.4); }
.btn--full { width: 100%; text-align: center; }

.star { color: var(--red); font-size: 0.45em; vertical-align: super; margin-left: 0.15em; }

/* ═══════════ AGE GATE ═══════════ */
.agegate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 1.5rem;
  background: var(--green-deep);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.agegate.is-open { opacity: 0; visibility: hidden; pointer-events: none; }
.agegate__bg {
  position: absolute; inset: 0;
  background: url("../img/bg-luanda-1-900.webp") center/cover no-repeat;
  opacity: 0.25;
}
.agegate__card {
  position: relative;
  width: min(420px, 100%);
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 2.6rem 2.2rem 2rem;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}
.agegate__lockup { width: 210px; height: auto; margin: 0 auto 1.4rem; }
.agegate__eyebrow {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.6rem;
}
.agegate__title { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 1.6rem; }
.agegate__actions { display: flex; gap: 0.8rem; justify-content: center; }
.agegate__actions .btn--solid { background: var(--green); color: var(--white); }
.agegate__actions .btn--ghost { color: var(--green-dark); border-color: rgba(5,46,27,0.35); }
.agegate__actions .btn--ghost:hover { border-color: var(--green-dark); }
.agegate__note {
  display: none; margin-top: 1rem; font-family: var(--mono);
  font-size: 0.78rem; color: var(--red);
}
.agegate__note.is-visible { display: block; }
.agegate__legal { margin-top: 1.6rem; font-size: 0.72rem; color: rgba(11,15,12,0.55); }

/* ═══════════ ECRÃ 01 · HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding: clamp(2.5rem, 6vh, 4.5rem) max(1.5rem, env(safe-area-inset-left)) 5rem;
  overflow: hidden;
}
.hero__art { position: absolute; inset: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,31,18,0.45) 0%, rgba(3,31,18,0) 22%),
    linear-gradient(90deg, rgba(3,31,18,0.8) 0%, rgba(3,31,18,0.42) 34%, rgba(3,31,18,0.08) 55%, rgba(3,31,18,0) 66%);
}
.hero__inner {
  position: relative; display: flex; flex-direction: column;
  align-items: flex-start; text-align: left;
  gap: 1.1rem; width: 100%; max-width: 900px;
}
/* Logótipo centrado no viewport/hero (inner já está centrada; coluna de texto fica à esquerda) */
.hero__badge {
  align-self: center;
  --d: 0.05s;
}
.hero__badge img {
  width: clamp(290px, 26vw, 400px); height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.35));
}
.hero__kicker {
  font-family: var(--mono); font-size: clamp(0.7rem, 2vw, 0.85rem);
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-top: 0.8rem; line-height: 1.6; --d: 0.15s;
}
.hero__title {
  font-size: clamp(2.2rem, 7vw, 4.1rem);
  font-weight: 900; line-height: 0.94;
  letter-spacing: -0.03em; text-transform: uppercase;
  text-shadow: 0 10px 50px rgba(0,0,0,0.45); --d: 0.25s;
}
.hero__meta {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(0.85rem, 2.6vw, 1.1rem);
  letter-spacing: 0.18em; text-transform: uppercase; --d: 0.35s;
}
.hero__invite { font-size: 1.15rem; font-style: italic; color: rgba(255,255,255,0.9); --d: 0.4s; }
.hero__cta { margin-top: 0.8rem; --d: 0.5s; }

/* Contador: âncora na zona inferior central do hero (filho directo, fora da coluna de texto),
   fora da cara/cabeça do DJEFF; no mobile fica no fluxo, sobre a faixa verde limpa acima dos artistas */
.countdown__anchor {
  position: absolute; left: 0; right: 0;
  bottom: clamp(3.6rem, 7vh, 4.6rem);
  display: flex; justify-content: center;
  margin-right: clamp(70px, 9vw, 160px);
  pointer-events: none;
}
.countdown {
  pointer-events: auto;
  display: flex; align-items: baseline; gap: 0.8rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 14px;
  background: rgba(3,31,18,0.5);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  --d: 0.6s;
}
.countdown__cell { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.countdown__num { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.countdown__lbl { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.countdown__sep { font-family: var(--mono); color: rgba(255,255,255,0.4); }

.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 2px; background: var(--white);
  animation: scrollhint 1.8s var(--ease) infinite;
}
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ═══════════ SECÇÕES GENÉRICAS ═══════════ */
.section { position: relative; padding: 6rem 1.5rem; overflow: hidden; }
.section__inner {
  position: relative; max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.3rem;
}
.section__inner--narrow { max-width: 560px; }

.section--paper { background: var(--paper); color: var(--ink); }
.section--dark { background: var(--green-dark); color: var(--white); }

.section__band {
  display: block; margin: -6rem -1.5rem 3rem;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.section__band img { width: 100%; height: auto; }

.section__bgimg {
  position: absolute; inset: 0;
  background: url("../img/bg-luanda-1-1920.webp") center/cover no-repeat;
  opacity: 0.35;
}
.section__bgimg--alt { background-image: url("../img/bg-luanda-2-1920.webp"); }
@media (max-width: 760px) {
  .section__bgimg { background-image: url("../img/bg-luanda-1-900.webp"); }
  .section__bgimg--alt { background-image: url("../img/bg-luanda-2-900.webp"); }
}

.eyebrow {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--green);
}
.eyebrow--light { color: #7fd6a4; }

.h2 {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 900; line-height: 0.95;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.h2--light { color: var(--white); }

.lead { font-size: clamp(1.2rem, 3.5vw, 1.6rem); font-weight: 600; line-height: 1.35; }
.body { font-size: 1.05rem; line-height: 1.6; color: rgba(11,15,12,0.75); max-width: 46ch; }
.body--light { color: rgba(255,255,255,0.8); }
.body--light strong { color: var(--white); }

.signature {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--green); margin-top: 0.6rem;
}

/* Line-up */
.lineup { margin-top: 1rem; }
.lineup__label {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(11,15,12,0.5); margin-bottom: 0.7rem;
}
.lineup__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem; }
.lineup__list li { font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
.lineup__list li + li { position: relative; }
.lineup__list li + li::before {
  content: "★"; position: absolute; left: -1.15rem; top: 50%;
  transform: translateY(-50%); font-size: 0.55em; color: var(--red);
}

/* ═══════════ MARQUEE ═══════════ */
.marquee { background: var(--green); color: var(--white); overflow: hidden; padding: 1rem 0; border-block: 3px solid var(--green-deep); }
.marquee__track {
  display: flex; align-items: center; gap: 2.5rem; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  font-family: var(--mono); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.marquee__track i { font-style: normal; color: var(--red); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ ECRÃ 03 · GREEN HOUR ═══════════ */
.greenhour { display: flex; flex-direction: column; gap: 0.7rem; align-items: center; }
.greenhour__label { font-family: var(--mono); letter-spacing: 0.35em; text-transform: uppercase; font-size: 0.8rem; color: #7fd6a4; }
.greenhour__time { font-family: var(--mono); font-weight: 700; font-size: clamp(1.8rem, 6vw, 3rem); letter-spacing: 0.04em; }
.greenhour__time .arrow { color: var(--red); }

.eighty {
  font-family: var(--mono); letter-spacing: 0.25em; text-transform: uppercase;
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
  display: flex; align-items: baseline; gap: 0.7rem; margin-top: 0.6rem;
}
.eighty span {
  font-size: clamp(4rem, 14vw, 7rem); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--white);
}

/* ═══════════ ECRÃ 04 · FORM ═══════════ */
.form { width: 100%; display: flex; flex-direction: column; gap: 1.4rem; margin-top: 0.8rem; text-align: left; }
.field { display: flex; flex-direction: column; gap: 0.45rem; border: none; }
.field label, .field legend {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-dark);
}
.field--dark label { color: rgba(255,255,255,0.85); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  font-family: var(--sans); font-size: 1.05rem;
  padding: 0.95rem 1.1rem;
  border: 2px solid rgba(5,46,27,0.2); border-radius: 12px;
  background: var(--white); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(3,126,64,0.15); }
.field.is-invalid input { border-color: var(--red); }
.field__err { display: none; font-family: var(--mono); font-size: 0.72rem; color: var(--red); }
.field.is-invalid .field__err { display: block; }
.field__hint { font-family: var(--mono); font-size: 0.72rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.field--dark input[type="text"] {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: var(--white);
}
.field--dark input[type="text"]:focus { border-color: #7fd6a4; box-shadow: 0 0 0 4px rgba(127,214,164,0.15); }

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; font-family: var(--mono); font-size: 0.78rem;
  padding: 0.55rem 1rem; border-radius: 999px;
  border: 2px solid rgba(5,46,27,0.25); color: var(--green-dark);
  transition: all 0.2s var(--ease); cursor: pointer; user-select: none;
}
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(3,126,64,0.25); }
.chip--dark span { border-color: rgba(255,255,255,0.3); color: var(--white); }
.chip--dark input:checked + span { background: var(--white); border-color: var(--white); color: var(--green-dark); }

.form__note { font-family: var(--mono); font-size: 0.7rem; color: rgba(11,15,12,0.45); text-align: center; }

/* ═══════════ ECRÃ 05 · GREEN PASS ═══════════ */
.pass {
  width: 100%; max-width: 400px;
  background: var(--paper); color: var(--ink);
  border-radius: 22px; padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
  text-align: center;
}
.pass::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--green) 70%, var(--red) 70%);
}
.pass__head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--green);
}
.pass__star { color: var(--red); font-size: 1rem; }
.pass__edition { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(11,15,12,0.5); margin-top: 0.9rem; }
.pass__name {
  font-size: 1.6rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; margin: 0.4rem 0 1.2rem;
  overflow-wrap: anywhere;
}
.pass__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem;
  text-align: left; padding: 1.1rem 0;
  border-block: 1px dashed rgba(5,46,27,0.3);
}
.pass__grid span {
  display: block; font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(11,15,12,0.5);
}
.pass__grid strong { font-family: var(--mono); font-size: 0.92rem; color: var(--green-dark); overflow-wrap: anywhere; }
.pass__qr { display: grid; place-items: center; padding: 1.2rem 0 0.6rem; }
.pass__qr canvas { width: 132px; height: 132px; image-rendering: pixelated; }
.pass__foot { font-size: 0.85rem; font-style: italic; color: rgba(11,15,12,0.6); margin-top: 0.5rem; }

.passform { width: 100%; display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1rem; }
.passform__q { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.7rem; }

/* ═══════════ ECRÃ 06 · FECHO ═══════════ */
.section--final { min-height: 80svh; display: grid; place-items: center; }
.final__line { font-size: 1.2rem; font-style: italic; color: rgba(255,255,255,0.85); }
.final__big {
  font-size: clamp(3rem, 12vw, 7rem); font-weight: 900;
  line-height: 0.92; letter-spacing: -0.03em; text-transform: uppercase;
}

/* ═══════════ ECRÃ 07 · FOOTER ═══════════ */
.footer {
  background: var(--green-deep);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 1.2rem; padding: 4rem 1.5rem 3rem;
}
.footer__lockup { width: 220px; height: auto; }
.footer__sig { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.footer__legal { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.6rem; }
.footer__legal p { font-size: 0.72rem; color: rgba(255,255,255,0.45); line-height: 1.6; text-align: left; }
.footer__age {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border: 2px solid var(--red); border-radius: 50%;
  font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: var(--red);
}

/* ═══════════ FECHO PÚBLICO · TEASER ═══════════ */
.section--teaser { padding: 5rem 1.5rem; }
.teaser__line {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.01em; text-transform: uppercase;
  text-align: center;
}
.teaser__line strong { color: #7fd6a4; }
.teaser__sub {
  margin-top: 1rem;
  font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ═══════════ RESPONSIVO ═══════════ */
@media (max-width: 640px) {
  .section { padding: 4.5rem 1.25rem; }
  .section__band { margin: -4.5rem -1.25rem 2.2rem; }

  /* Mobile: composição própria — faixa "poster" com ambos os artistas + nomes visíveis,
     bloco de texto compacto no topo sobre textura verde */
  .hero {
    justify-content: flex-start;
    background: var(--green-deep);
    padding-top: max(2.5rem, env(safe-area-inset-top));
  }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background: url("../img/bg-luanda-1-900.webp") center/cover no-repeat;
    opacity: 0.32;
  }
  .hero__art { inset: auto 0 0 0; height: 100%; }
  .hero__art img {
    position: absolute; bottom: 0; left: 50%; top: auto;
    width: 220vw; max-width: none; height: auto;
    transform: translateX(-76.7%);
    object-fit: contain;
  }
  .hero__veil {
    background: linear-gradient(180deg, rgba(3,31,18,0.5) 0%, rgba(3,31,18,0.1) 30%, rgba(3,31,18,0) 58%, rgba(3,31,18,0.3) 100%);
  }
  .hero__inner { gap: 0.65rem; }
  .countdown__anchor { position: static; bottom: auto; margin-top: 0.9rem; margin-right: 0; }
  .hero__badge img { width: min(200px, 52vw); }
  .hero__kicker { font-size: 0.62rem; letter-spacing: 0.18em; margin-top: 0.6rem; }
  .hero__title { font-size: clamp(1.7rem, 7.6vw, 2.1rem); }
  .hero__meta { font-size: 0.78rem; }
  .hero__invite { font-size: 1rem; }
  .countdown { padding: 0.6rem 0.9rem; gap: 0.5rem; }
  .countdown__num { font-size: 1.1rem; }
  .lineup__list li + li::before { left: -1.05rem; }
}
