/*
   BRAZILIAN NUTS — DOCUMENTÁRIO DE SURF
   Site Institucional — Design System Cinematográfico
   Produção: ABUBAKIR FILMES | Design: Delusional Brand Growth Studio
   Light/Dark Mode: Areia (dia) ↔ Mar (noite)
*/

/* ---- Fontes ---- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@200,300,400,500,600,700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-grotesk@200,300,400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');


/* Fallback/Garantia de carregamento HTTPS para Clash Display (evitando bloqueio protocol-relative //cdn no localhost) */
@font-face {
  font-family: 'Clash Display';
  src: url('https://cdn.fontshare.com/wf/VFMK2COV3DN37JR7JQ4CAOJPZ7KWKNY7/ODD5YJNDLHZZB2MIT3DPVH4EIHAMZ34D/BSY64LPTT3OPLVKAZKL3AHKRWZ3D74AC.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/VFMK2COV3DN37JR7JQ4CAOJPZ7KWKNY7/ODD5YJNDLHZZB2MIT3DPVH4EIHAMZ34D/BSY64LPTT3OPLVKAZKL3AHKRWZ3D74AC.woff') format('woff'),
       url('https://cdn.fontshare.com/wf/VFMK2COV3DN37JR7JQ4CAOJPZ7KWKNY7/ODD5YJNDLHZZB2MIT3DPVH4EIHAMZ34D/BSY64LPTT3OPLVKAZKL3AHKRWZ3D74AC.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('https://cdn.fontshare.com/wf/2GQIT54GKQY3JRFTSHS4ARTRNRQISSAA/3CIP5EBHRRHE5FVQU3VFROPUERNDSTDF/JTSL5QESUXATU47LCPUNHZQBDDIWDOSW.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/2GQIT54GKQY3JRFTSHS4ARTRNRQISSAA/3CIP5EBHRRHE5FVQU3VFROPUERNDSTDF/JTSL5QESUXATU47LCPUNHZQBDDIWDOSW.woff') format('woff'),
       url('https://cdn.fontshare.com/wf/2GQIT54GKQY3JRFTSHS4ARTRNRQISSAA/3CIP5EBHRRHE5FVQU3VFROPUERNDSTDF/JTSL5QESUXATU47LCPUNHZQBDDIWDOSW.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('https://cdn.fontshare.com/wf/FPDAZ2S6SW4QMSRIIKNNGTPM6VIXYMKO/5HNPQ453FRLIQWV2FNOBUU3FKTDZQVSG/Z3MGHFHX6DCTLQ55LJYRJ5MDCZPMFZU6.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/FPDAZ2S6SW4QMSRIIKNNGTPM6VIXYMKO/5HNPQ453FRLIQWV2FNOBUU3FKTDZQVSG/Z3MGHFHX6DCTLQ55LJYRJ5MDCZPMFZU6.woff') format('woff'),
       url('https://cdn.fontshare.com/wf/FPDAZ2S6SW4QMSRIIKNNGTPM6VIXYMKO/5HNPQ453FRLIQWV2FNOBUU3FKTDZQVSG/Z3MGHFHX6DCTLQ55LJYRJ5MDCZPMFZU6.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('https://cdn.fontshare.com/wf/BFBSY7LX5W2U2EROCLVVTQP4VS7S4PC3/IIUX4FGTMD2LK2VWD3RVTAS4SSMUN7B5/53RZKGODFYDW3QHTIL7IPOWTBCSUEZK7.woff2') format('woff2'),
       url('https://cdn.fontshare.com/wf/BFBSY7LX5W2U2EROCLVVTQP4VS7S4PC3/IIUX4FGTMD2LK2VWD3RVTAS4SSMUN7B5/53RZKGODFYDW3QHTIL7IPOWTBCSUEZK7.woff') format('woff'),
       url('https://cdn.fontshare.com/wf/BFBSY7LX5W2U2EROCLVVTQP4VS7S4PC3/IIUX4FGTMD2LK2VWD3RVTAS4SSMUN7B5/53RZKGODFYDW3QHTIL7IPOWTBCSUEZK7.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

/* ==========================================================================
   1. TOKENS SEMÂNTICOS — MODELO: PALCO, PEÇA, PRANCHA
   ========================================================================== */

:root {
  /* Accent Fixos (Prancha) — Laranja Delusional no Light, Areia no Dark */
  --accent: #444b37;
  --accent-alt: #f5f7b8;
  --accent-glow: rgba(255, 72, 0, 0.15);
  --accent-logo-stroke: #ffe99c;

  /* Palco (Fundo — Modo Claro: Areia) */
  --bg: #fafaf5;
  --bg-gradient: linear-gradient(180deg, #fafaf5 0%, #f0f0e8 100%);

  /* Peças (Superfícies, Cards — Modo Claro mais suave e elegante) */
  --surface: #eaeae0;
  --surface-hover: #e0e0d6;
  --surface-elevated: #ffffff;
  --fg: #0d0d0d;
  --fg-2: #555550;
  --fg-faint: #8a8a80;
  --border: #cfcfc2;
  --border-focus: #adada0;

  /* Tipografia */
  --font-title: 'Clash Display', 'Clash Grotesk', 'Arial Black', sans-serif;
  --font-body: 'Clash Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Clash Display', 'Clash Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier Prime', 'Courier New', monospace;

  /* Grid e Layout */
  --container-max: 1380px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Navbar styling */
  --navbar-bg: rgba(250, 250, 245, 0.85);
  --navbar-shadow: 0 4px 20px rgba(13, 13, 13, 0.05);
}

/* Modo Escuro (Dark Mode — Mar / Noite com Contraste Realçado) */
[data-theme="dark"] {
  --accent: #f5f7b8;
  --accent-alt: #444b37;
  --accent-glow: rgba(245, 247, 184, 0.12);

  --bg: #0d0d0d;
  --bg-gradient: linear-gradient(180deg, #0d0d0d 0%, #111111 100%);

  --surface: #161616;
  --surface-hover: #1f1f1f;
  --surface-elevated: #222222;
  --fg: #fafaf5;
  --fg-2: #a0a098;
  --fg-faint: #565650;
  --border: #333330;
  --border-focus: #444440;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
  --navbar-bg: rgba(13, 13, 13, 0.85);
  --navbar-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Contraste entre Seções (Brutalist Section Boundary) */
.section-surface {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   2. RESET & BASE (PALCO NEUTRO)
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Sidebar Accent — REMOVIDA a pedido do cliente */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ==========================================================================
   3. TIPOGRAFIA EDITORIAL
   ========================================================================== */

h1, h2, h3, h4, .font-title {
  font-family: var(--font-display);
  color: var(--fg);
  text-wrap: balance;
}

h1 {
  font-weight: 900;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 {
  font-weight: 600;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: 1.15;
}

h4 {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
}

p {
  color: var(--fg-2);
  line-height: 1.7;
}

/* Eyebrow (Micro-Label) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  background-color: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

/* Utility Nowrap para Brazilian Nuts em texto */
.nowrap {
  white-space: nowrap;
}

/* Section Helpers */
.section-padding {
  padding: 7rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-title {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-desc {
  max-width: 480px;
  font-size: 1.0625rem;
}

/* ==========================================================================
   4. NAVEGAÇÃO & HEADER CINEMATOGRÁFICO
   ========================================================================== */

.top-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--navbar-shadow);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

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

.navbar-brand-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-logo {
  min-width: 120px;
  width: 120px;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.navbar-brand-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg-2);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--fg);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1001;
}

.mobile-only-action {
  display: none !important;
}

/* Light/Dark Toggle */
.light-switch {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--fg);
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  position: relative;
  flex-shrink: 0;
}

.light-switch:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.light-switch svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.light-switch:hover svg {
  transform: scale(1.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  z-index: 1001;
  color: var(--fg);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--fg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Buttons */
.btn {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.875rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  border-radius: 0;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-outline {
  background-color: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--fg);
  background-color: var(--surface);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: none;
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.btn-ghost::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   5. HERO CINEMATOGRÁFICO (Full-Bleed 16:9)
   ========================================================================== */

.hero-cinematic {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-cinematic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.60) 30%,
    rgba(0, 0, 0, 0.15) 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
}

.hero-content .eyebrow {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
}

.hero-content .eyebrow::before {
  background-color: var(--accent-logo-stroke);
}

.hero-content h1 {
  color: #ffffff;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background-color: var(--accent-logo-stroke);
  color: #0d0d0d;
}

.hero-actions .btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(255, 233, 156, 0.35);
}

.hero-actions .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Year badge */
.hero-year {
  position: absolute;
  right: 2.5rem;
  bottom: 5rem;
  z-index: 2;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 8rem);
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}

/* ==========================================================================
   6. SEÇÃO "O FILME" — Grid Editorial
   ========================================================================== */

.film-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.film-synopsis h2 {
  margin-bottom: 1.5rem;
}

.film-synopsis p {
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.film-synopsis p:last-of-type {
  margin-bottom: 2rem;
}

/* Ficha Técnica */
.film-specs {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.film-specs-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-faint);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

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

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-faint);
}

.spec-value {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  text-align: right;
}

/* Accent highlight */
.spec-value--accent {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   7. BREAK EDITORIAL (Citação Dramática Full-Width)
   ========================================================================== */

.editorial-break {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 50vh;
  min-height: 380px;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editorial-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.editorial-break-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.editorial-break-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 2rem 2.5rem;
}

.editorial-break-content blockquote {
  font-family: var(--font-title);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
}

.editorial-break-content blockquote::before {
  content: '"';
  display: block;
  font-size: 4rem;
  color: var(--accent-logo-stroke);
  line-height: 0.5;
  margin-bottom: 1rem;
  font-style: normal;
}

.editorial-break-content cite {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.5rem;
  font-style: normal;
}

/* ==========================================================================
   8. SEÇÃO PERSONAGENS — Cards com Imagens
   ========================================================================== */

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

.character-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.character-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.character-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.character-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.character-card:hover .character-img-wrap img {
  transform: scale(1.04);
}

.character-body {
  padding: 1.75rem;
}

.character-role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.character-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.character-body p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   9. SEÇÃO "OS NUTS" — Lista de Nomes Estilizada
   ========================================================================== */

.nuts-section {
  background: var(--bg);
}

.nuts-roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  margin-bottom: 3.5rem;
}

.roster-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transition: var(--transition-smooth);
  position: relative;
}

.roster-item:hover {
  background: var(--surface-hover);
  border-color: var(--fg);
  transform: translateY(-2px);
}

.roster-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.roster-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
  text-transform: uppercase;
}

.nuts-judges-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 2.5rem 3rem;
}

.judges-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.judges-header h3 {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--fg);
  margin-top: 0.35rem;
}

.judges-header p {
  font-size: 0.9375rem;
  color: var(--fg-2);
  max-width: 440px;
  line-height: 1.5;
}

.judges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.judge-item {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  text-transform: uppercase;
}

.judge-item::before {
  content: '✕';
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #D9302E; /* Acento de conflito / brutalismo técnico */
}

/* ==========================================================================
   10. GALERIA DE STILLS — Grid Cinematográfico
   ========================================================================== */

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.60) 35%, rgba(0,0,0,0) 65%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
}

.gallery-item-caption span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

/* Variante grande (span 2 cols) */
.gallery-item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

/* Sub-seção da Galeria (Stills / Imagens de Arquivo) */
.gallery-subsection {
  margin-bottom: 4rem;
}

.gallery-subsection:last-child {
  margin-bottom: 0;
}

.gallery-subsection-header {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-subsection-title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--fg);
  margin-top: 0.5rem;
}

/* ==========================================================================
   11. SEÇÃO RELEVÂNCIA CULTURAL — Texto Editorial
   ========================================================================== */

.relevance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.relevance-text h2 {
  margin-bottom: 1.5rem;
}

.relevance-text p {
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}

.relevance-highlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.relevance-highlight p {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 0;
}

/* Métricas / Stats */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-faint);
  line-height: 1.4;
}

/* ==========================================================================
   12. SEÇÃO A PRODUTORA — Info + Partners
   ========================================================================== */

.producer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.producer-text h2 {
  margin-bottom: 1.5rem;
}

.producer-text p {
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}

.producer-motto {
  font-family: var(--font-title);
  font-weight: 600;
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.35;
  color: var(--fg);
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

.partners-section {
  padding: 4rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partners-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-faint);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.partner-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  min-height: 96px;
  aspect-ratio: 1 / 1;
  transition: var(--transition-smooth);
}

.partner-logo {
  max-height: 42px;
  max-width: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.partner-badge:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.partner-badge:hover .partner-logo {
  transform: scale(1.04);
}

/* Suporte para Modo Escuro em logos escuras e azul escuro */
[data-theme="dark"] .partner-logo.invert-on-dark,
[data-theme="dark"] .partner-logo.prime-logo {
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   13. CTA FINAL — Chamada para Ação
   ========================================================================== */

.cta-section {
  background: var(--surface);
}

.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner .eyebrow {
  justify-content: center;
  margin-bottom: 1rem;
}

.cta-inner h2 {
  margin-bottom: 1.5rem;
}

.cta-inner p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.cta-contacts {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.cta-contact-item {
  text-align: center;
}

.cta-contact-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.cta-contact-role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-faint);
  display: block;
  margin-bottom: 0.5rem;
}

.cta-contact-email {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.cta-contact-email:hover {
  opacity: 0.7;
}

/* ==========================================================================
   14. FOOTER EDITORIAL
   ========================================================================== */

.bn-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  min-width: 150px;
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--fg-faint);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-faint);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9375rem;
  color: var(--fg-2);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--fg);
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-faint);
}

/* ==========================================================================
   15. ANIMAÇÕES DE ENTRADA (Scroll Reveal)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   16. RESPONSIVO MOBILE
   ========================================================================== */

@media (max-width: 1024px) {
  .film-grid,
  .relevance-grid,
  .producer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  /* characters-grid: já é 2 colunas por padrão; em telas menores colapsa para 1 no breakpoint de 768px */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  body {
    line-height: 1.6;
  }

  .container {
    padding: 0 1.25rem;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  /* Navbar Mobile */
  .top-navbar {
    height: 64px;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    z-index: 999;
    /* Animação suave em vez de display: none */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .nav-links a:not(.btn) {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.5rem 0;
  }

  .nav-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .top-navbar.nav-menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: var(--bg);
  }

  .nav-menu-open .mobile-menu-toggle span:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
  }

  .nav-menu-open .mobile-menu-toggle span:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-only-action {
    display: flex !important;
    width: 100%;
    max-width: 280px;
    margin-top: 1.5rem;
  }
  
  .mobile-only-action .btn {
    width: 100%;
    padding: 1.125rem;
    font-size: 1.125rem;
  }

  .navbar-actions .btn {
    display: none;
  }

  /* Hero Mobile */
  .hero-cinematic {
    height: 85vh;
    min-height: 500px;
  }

  .hero-cinematic img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    max-width: none;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    transform: translate3d(0, 0, 0);
  }

  .hero-content {
    padding: 0 1.25rem 3rem;
  }

  .hero-year {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Cards Mobile */
  .characters-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .character-img-wrap {
    aspect-ratio: 4 / 3;
  }

  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
    aspect-ratio: 16 / 10;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  /* Os Nuts Mobile */
  .nuts-roster-grid,
  .judges-grid {
    grid-template-columns: 1fr;
  }

  .judges-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nuts-judges-box {
    padding: 1.75rem 1.5rem;
  }

  /* Partners */
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* CTA */
  .cta-contacts {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-tagline {
    font-size: 1.0625rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .partners-logos {
    grid-template-columns: 1fr;
  }
}
