/* ═══════════════════════════════════════════════
   DNK PRODUTORA — CSS GLOBAL
   Compartilhado por todas as páginas do site
═══════════════════════════════════════════════ */

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

:root {
  --c1: #ff6a00;
  --c2: #ee0979;
  --c3: #6a0572;
  --grad: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
  --grad-diag: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));
  --bg:    #080808;
  --bg2:   #0f0f0f;
  --text:  #f4f4f4;
  --muted: #777;
  --border: rgba(255,255,255,0.08);
  --ff-head: 'Barlow Condensed', sans-serif;
  --ff-body: 'Barlow', sans-serif;
  --px: 20px;
  --section-py: 80px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  overflow-x: hidden;
}

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

/* ── UTILITÁRIOS ── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.s-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.s-eyebrow-line { width: 24px; height: 2px; background: var(--grad); flex-shrink: 0; }
.s-eyebrow span { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }

.s-title {
  font-family: var(--ff-head);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
  font-size: clamp(40px, 10vw, 88px);
}

.grad-rule { width: 100%; height: 1px; background: var(--grad); opacity: .35; margin: 32px 0; }

/* ── BOTÕES ── */
.btn-grad {
  display: inline-block;
  padding: 14px 32px;
  background: var(--grad);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  border: none;
}
.btn-grad:hover   { opacity: .85; transform: translateY(-2px); }
.btn-grad:active  { opacity: .8;  transform: scale(.98); }

.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-family: var(--ff-body);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s, border-color .2s;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn-outline:hover  { color: var(--text); border-color: rgba(255,255,255,.3); }
.btn-outline:active { color: var(--text); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--px);
}
nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,8,.95) 60%, transparent);
  pointer-events: none;
}

.nav-logo {
  position: relative; z-index: 1;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 3px;
  text-decoration: none;
}
.nav-logo .dot { -webkit-text-fill-color: var(--text); color: var(--text); font-weight: 300; }

.nav-links { display: none; gap: 28px; list-style: none; position: relative; z-index: 1; }
.nav-links a {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  position: relative; z-index: 1;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  padding: 10px 22px;
  background: var(--grad);
  -webkit-tap-highlight-color: transparent;
  transition: opacity .2s;
  white-space: nowrap;
}
.nav-cta:active { opacity: .8; }

.nav-burger {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform .3s, opacity .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0;
  background: rgba(8,8,8,.97);
  z-index: 400;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 36px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nav-drawer.open { opacity: 1; pointer-events: all; }
.nav-drawer a {
  font-family: var(--ff-head);
  font-size: 44px; font-weight: 900;
  text-transform: uppercase; text-decoration: none;
  color: var(--text); letter-spacing: 2px;
  transition: color .2s;
}
.nav-drawer a:hover { color: var(--c2); }

/* ── HERO DE PÁGINA INTERNA ── */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--px) 56px;
  overflow: hidden;
}

.page-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-media img,
.page-hero-media video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, #080808 0%, rgba(8,8,8,.85) 25%, rgba(8,8,8,.3) 70%, rgba(8,8,8,.15) 100%),
    linear-gradient(to right, rgba(8,8,8,.4) 0%, transparent 60%);
}

/* fallback quando não tem imagem */
.page-hero-fallback {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(255,106,0,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(106,5,114,.09) 0%, transparent 55%),
    #080808;
}

.page-hero-content { position: relative; z-index: 2; padding-top: 100px; }
.page-hero-content .s-title { margin-top: 12px; }
.page-hero-content p {
  font-size: 14px; color: var(--muted);
  line-height: 1.8; max-width: 400px; margin-top: 16px;
}

/* ── SEÇÃO GENÉRICA ── */
.section { padding: var(--section-py) var(--px); }
.section-alt { background: var(--bg2); }

/* ── GRID DE VÍDEOS (cards YouTube) ── */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.video-card {
  position: relative;
  background: var(--bg2);
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-info {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.video-title {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.video-tag {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}

/* expandir vídeos */
.videos-hidden { display: none; }
.videos-hidden.expanded { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }

@media (min-width: 640px) {
  .videos-hidden.expanded { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .videos-hidden.expanded { grid-template-columns: repeat(3, 1fr); }
}

.expand-btn-wrap { text-align: center; margin-top: 32px; }

/* ── GALERIA DE FOTOS (Lightbox) ── */
.photo-gallery {
  columns: 2;
  column-gap: 10px;
  gap: 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg2);
  -webkit-tap-highlight-color: transparent;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease, filter .4s;
  filter: brightness(.85);
}
.gallery-item:hover img { transform: scale(1.05); filter: brightness(.6); }

.gallery-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { width: 32px; fill: none; stroke: #fff; stroke-width: 1.5; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.lb-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 32px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color .2s;
}
.lb-close:hover { color: var(--text); }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 16px;
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-prev:hover, .lb-next:hover { color: var(--text); }

.lb-counter {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 3px;
  color: var(--muted);
}

/* ── CTA ORÇAMENTO (rodapé de página interna) ── */
.cta-band {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 80px var(--px);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--ff-head);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  margin-bottom: 32px;
}
.cta-band p {
  font-size: 14px; color: var(--muted);
  line-height: 1.8; max-width: 400px;
  margin: 0 auto 32px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── CURSOR ── */
.cursor, .cursor-ring { display: none; }
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--grad);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(238,9,121,.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
}

/* ── TABLET ≥ 640px ── */
@media (min-width: 640px) {
  :root { --px: 36px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .photo-gallery { columns: 3; }
}

/* ── DESKTOP ≥ 1024px ── */
@media (min-width: 1024px) {
  :root { --px: 44px; --section-py: 96px; }
  nav { padding: 28px var(--px); }
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-gallery { columns: 4; }
  .page-hero { min-height: 60vh; }
}
/* ── ESCALA GERAL ── */
@media (min-width: 1024px) {
  .s-title { font-size: clamp(32px, 5vw, 64px); }
  .hero h1  { font-size: clamp(48px, 8vw, 110px); }
  .cta-title { font-size: clamp(36px, 6vw, 80px); }
  :root { --px: 44px; --section-py: 96px; }
}

/* ── TICKER DE LOGOS ── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: relative;
}
/* ticker posicionado dentro do hero */
.ticker-hero {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-top: 40px;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.ticker-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.client-logo {
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-logo img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) brightness(10);
  opacity: 0.4;
  transition: filter 0.3s, opacity 0.3s;
}

.client-logo:hover img {
  filter: none;
  opacity: 1;
}

.client-logo.arcaplast img {
  filter: invert(100%) grayscale(100%) brightness(10);
  opacity: 0.4;
}

.client-logo.arcaplast:hover img {
  filter: invert(100%);
  opacity: 1;
}