@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Lacquer&display=swap");

:root {
  --black: #050505;
  --black-soft: #101010;
  --white: #f5f2ed;
  --paper: #f4f0e6;
  --yellow: #f3d96c;
  --red: #d9091f;
  --blue: #172c35;
  --blue-soft: #26373a;
  --line: rgba(255, 255, 255, 0.14);

  --title: "Lacquer", cursive;
  --body: "DM Sans", Arial, sans-serif;

  --container: 1200px;
  --pad: 24px;

  --shadow: 8px 10px 24px rgba(0, 0, 0, 0.22);
  --shadow-heavy: 0 24px 70px rgba(0, 0, 0, 0.35);

  --ease: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

img,
video,
svg,
iframe {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--title);
  font-weight: 400;
  line-height: 0.98;
  text-transform: lowercase;
  padding-top: 20px;
}

.production-person a {
  color: var(--blue-soft);
}
p {
  line-height: 1.6;
}

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

.section {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}

.section-label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.section-title {
  font-size: clamp(48px, 10vw, 96px);
  margin-bottom: 24px;
}

.section-intro {
  max-width: 620px;
  font-size: 18px;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  width: 145px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.header-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity var(--ease);
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease);
}

.header-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform var(--ease),
    opacity var(--ease);
}

/* =========================================================
   HERO / A FESTA
========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(39, 75, 88, 0.55), transparent 35%),
    linear-gradient(135deg, #0a1114 0%, var(--blue-soft) 58%, #10191c 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background: repeating-linear-gradient(
    112deg,
    transparent 0 90px,
    rgba(255, 255, 255, 0.07) 91px,
    transparent 93px
  );
}

.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  bottom: -100px;
  background: var(--red);
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.8;
  transform: rotate(-12deg);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 110px;
  padding-bottom: 70px;
}

.hero-content {
  max-width: 780px;
}

.hero-logo {
  width: min(76vw, 360px);
  margin-bottom: 34px;
}

.hero-title {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(50px, 12vw, 110px);
  text-transform: uppercase;
  font-weight: 700;
}

.hero-kicker {
  font-weight: bold;
}
.hero-description {
  max-width: 650px;
  margin-bottom: 36px;
  font-size: 18px;
  font-family: var(--title);
  text-transform: lowercase;
}

.hero-video {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-top: 42px;
  margin-left: auto;
  transform: rotate(1.5deg);
  background: #000;
  box-shadow: var(--shadow-heavy);
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid var(--yellow);
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero-video iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
}

.hero-video-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 16;
  padding: 30px;
  background: #111;
  color: var(--white);
  text-align: center;
}

.hero-postit {
  position: absolute;
  right: 5%;
  top: 14%;
  width: 180px;
  padding: 20px;
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow);
  transform: rotate(5deg);
}

.hero-postit strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-family: var(--title);
  font-size: 24px;
}

.hero-postit p {
  font-size: 14px;
  line-height: 1.35;
}

/* =========================================================
   FOTOS
========================================================= */

.photos {
  background: var(--paper);
  color: var(--blue);
}

.photos::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 0 24%,
      rgba(23, 44, 53, 0.5) 24.1%,
      transparent 24.3%
    ),
    linear-gradient(
      72deg,
      transparent 0 68%,
      rgba(23, 44, 53, 0.35) 68.1%,
      transparent 68.3%
    );
}

.photos-header {
  position: relative;
  z-index: 2;
  margin-bottom: 42px;
}

.photos .section-title {
  color: var(--red);
}

.photos-credit {
  max-width: 580px;
  font-size: 18px;
}

.photos-credit strong {
  color: var(--red);
}

.gallery {
  position: relative;
  z-index: 2;
  min-height: 260px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-item {
  overflow: hidden;
  background: #ddd;
}

.gallery-item:nth-child(2n) {
  transform: translateY(18px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-empty {
  padding: 70px 24px;
  border: 2px dashed rgba(23, 44, 53, 0.35);
  text-align: center;
}

.gallery-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-family: var(--title);
  font-size: 34px;
}

/* =========================================================
   REGISTROS / ENVIE A SUA
========================================================= */

.records {
  background: var(--black);
}

.records-grid {
  display: grid;
  gap: 24px;
}

.record-card {
  position: relative;
  min-height: 260px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--black-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.record-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -55px;
  right: -45px;
  background: var(--yellow);
  transform: rotate(15deg);
}

.record-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  font-size: 42px;
}

.record-card p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  opacity: 0.72;
}

/* =========================================================
   DJS
========================================================= */

.djs {
  background: #111b1f;
}

.djs-header {
  margin-bottom: 42px;
}

.djs-header .section-title {
  color: var(--yellow);
}

.djs-grid {
  display: grid;
  gap: 28px;
}

.dj-card {
  position: relative;
}

.dj-photo {
  position: relative;
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.dj-card:nth-child(even) .dj-photo {
  transform: rotate(1.5deg);
}

.dj-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.dj-info {
  position: relative;
  z-index: 2;
  width: 88%;
  margin: -28px auto 0;
  padding: 18px;
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.dj-info h3 {
  font-size: 30px;
}

.dj-info span {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.65;
}

/* =========================================================
   QUEM FEZ ACONTECER
========================================================= */

.team {
  background: var(--paper);
  color: var(--blue);
}

.team-header {
  margin-bottom: 42px;
}

.team-header .section-title {
  color: var(--red);
}

.team-grid {
  display: grid;
  gap: 16px;
}

.team-card {
  padding: 24px;
  background: #fff;
  box-shadow: 5px 7px 0 rgba(23, 44, 53, 0.12);
}

.team-card:nth-child(3n + 1) {
  transform: rotate(-0.8deg);
}

.team-card:nth-child(3n + 2) {
  transform: rotate(0.7deg);
}

.team-card:nth-child(3n) {
  transform: rotate(-0.4deg);
}

.team-card h3 {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 30px;
}

.team-card .handle {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.55;
}

.team-card p {
  font-size: 15px;
}

/* =========================================================
   PARCEIROS
========================================================= */

.partners {
  background: var(--red);
  color: var(--white);
}

.partners .section-title {
  margin-bottom: 40px;
}

.partners-grid {
  display: grid;
  gap: 14px;
}

.partner-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.12);
}

.partner-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--title);
  font-size: 28px;
}

.partner-card span {
  font-size: 13px;
  opacity: 0.75;
}

/* =========================================================
   SOCIAL / COMUNIDADE
========================================================= */

.social-community {
  display: flex;
  background:
    radial-gradient(circle at 20% 50%, rgba(31, 58, 68, 0.45), transparent 45%),
    linear-gradient(135deg, #070b0d, #101b20 55%, #081014);
}

.pitty-social,
.comunidade {
  width: 50%;
  padding: 80px 0;
}

.pitty-social .container,
.comunidade .container {
  text-align: center;
}

.pitty-social h2,
.comunidade-title h2 {
  margin-bottom: 30px;
  font-size: clamp(36px, 4vw, 56px);
}

.social-links,
.comunidade-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.social-links a,
.comunidade-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform var(--ease),
    background var(--ease);
}

.social-links a:hover,
.comunidade-links a:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px) rotate(-1deg);
}

.social-links i,
.comunidade-links i {
  font-size: 26px;
}

.social-divider {
  width: 40px;
  flex-shrink: 0;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 50px 8%;
  background:
    radial-gradient(circle at 20% 50%, rgba(26, 70, 78, 0.45), transparent 45%),
    linear-gradient(135deg, #050809, #0b1b20 55%, #020303);
  color: var(--white);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-logo img {
  width: 150px;
}

.footer-info {
  text-align: center;
}

.footer-info p {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.footer-info p:first-child {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-dev {
  text-align: right;
}

.footer-dev p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-dev strong {
  font-size: 15px;
}

.footer-dev a:hover {
  color: var(--red);
}

/* =========================================================
   ACCESSIBILITY / MOTION
========================================================= */

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

@media (min-width: 769px) {
  .hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    align-items: center;
    gap: 70px;
  }

  .hero-video {
    margin-top: 0;
  }

  .records-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .djs-grid {
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================================
   GALERIA — FOTOS OFICIAIS
========================================================= */

.official-photos {
  background: var(--paper);
  color: var(--blue);
}

.official-photos .section-heading {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 42px;
}

.official-photos .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.official-photos h2 {
  margin-bottom: 20px;
  color: var(--red);
  font-size: clamp(40px, 8vw, 64px);
  text-transform: lowercase;
}

.official-photos .section-heading p {
  max-width: 620px;
  font-size: 18px;
}

.official-photos .section-heading a {
  color: var(--red);
  font-weight: 700;
}

/* =========================================================
   GALERIA — MOSAICO EDITORIAL
========================================================= */

.photo-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(110px, calc((100vw - 78px) / 4), 292px);
  grid-auto-flow: dense;
  gap: 10px;
}

.photo-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
}

/* Peças maiores para quebrar a repetição da grade */
.photo-gallery-item:nth-child(8n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-gallery-item:nth-child(8n + 5) {
  grid-column: span 2;
}

.photo-gallery-item:nth-child(8n + 7) {
  grid-row: span 2;
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.photo-gallery-item:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.gallery-loading,
.gallery-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  border: 2px dashed rgba(23, 44, 53, 0.25);
  text-align: center;
  font-size: 17px;
}

.gallery-empty {
  flex-direction: column;
  gap: 8px;
}

.gallery-empty strong {
  color: var(--red);
  font-family: var(--title);
  font-size: 42px;
}

/* =========================================================
   LIGHTBOX — NAVEGAÇÃO ENTRE FOTOS
========================================================= */

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 90px;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.photo-lightbox-figure {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  max-width: 100%;
  max-height: 90vh;
}

.photo-lightbox-image {
  display: block;
  max-width: min(1200px, 88vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow-heavy);
}

.photo-lightbox-close,
.photo-lightbox-arrow {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.photo-lightbox-close {
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 34px;
  line-height: 1;
}

.photo-lightbox-arrow {
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 30px;
  transform: translateY(-50%);
}

.photo-lightbox-prev {
  left: 24px;
}

.photo-lightbox-next {
  right: 24px;
}

.photo-lightbox-close:hover,
.photo-lightbox-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
}

.photo-lightbox-arrow:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.08);
}

.photo-lightbox-arrow:disabled {
  opacity: 0.22;
  cursor: default;
}

.photo-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.instagram-video {
}

.instagram-video iframe {
  display: block;
  width: auto;
  min-height: 620px;
  border: 0;
  overflow: hidden;
  border-radius: 16px;
  margin: auto 0 auto auto;
}
