/* ================================================================
   OWL FILMES — STYLE.CSS
   Estética: Cinematográfica · Editorial · Preto & Branco
   Abordagem: Mobile-first com breakpoints explícitos
   Variáveis CSS no :root para manutenção fácil
================================================================ */

/* ──────────────────────────────────────────────
   1. TOKENS / VARIÁVEIS CSS
   Centralizamos cores, tipografia e espaçamentos
   para consistência e fácil customização.
────────────────────────────────────────────── */
:root {
  /* Paleta base */
  --c-black:   #000000;
  --c-white:   #ffffff;
  --c-gray-1:  #111111;  /* fundo escuro suave */
  --c-gray-2:  #1a1a1a;  /* cards escuros */
  --c-gray-3:  #2a2a2a;  /* borders e divisores */
  --c-gray-4:  #555555;  /* textos secundários escuros */
  --c-gray-5:  #888888;  /* textos secundários claros */
  --c-gray-6:  #cccccc;  /* textos sobre fundo escuro */

  /* Tipografia */
  --f-display: "Google Sans", sans-serif;
  --f-body:    'Cormorant Garamond', serif;
  --f-mono:    'Space Mono', monospace;

  /* Tamanhos de fonte fluidos (clamp: mínimo | ideal | máximo) */
  --fs-hero:   clamp(5rem, 18vw, 18rem);  /* Título hero */
  --fs-h2:     clamp(2.8rem, 6vw, 5.5rem);
  --fs-h3:     clamp(1.6rem, 3vw, 2.4rem);
  --fs-body:   clamp(1rem, 1.2vw, 1.15rem);
  --fs-small:  0.8rem;
  --fs-tag:    0.7rem;

  /* Espaçamentos de seção */
  --sp-section: clamp(5rem, 10vw, 9rem);
  --sp-inner:   clamp(2rem, 4vw, 4rem);

  /* Largura máxima do container */
  --max-w: 1320px;

  /* Transições padrão */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --dur-fast: 0.25s;
  --dur-mid:  0.5s;
  --dur-slow: 0.9s;

  /* Z-index layers */
  --z-base:      1;
  --z-cards:     10;
  --z-nav:       100;
  --z-menu:      200;
  --z-cursor:    900;
  --z-preloader: 1000;
}


/* ──────────────────────────────────────────────
   2. RESET & BASE
   Reset mínimo e estilos fundamentais
────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Otimização de renderização de fontes */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  background-color: var(--c-white);
  color: var(--c-black);
  overflow-x: hidden;
  /* Cursor personalizado oculta o default */
  cursor: none;
}

/* Cursor padrão para dispositivos de toque */
@media (hover: none) {
  body { cursor: auto; }
}

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

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

ul, ol { list-style: none; }

address { font-style: normal; }

/* Seleção de texto com cores da marca */
::selection {
  background: var(--c-black);
  color: var(--c-white);
}

/* Foco acessível - ring fino */
:focus-visible {
  outline: 1.5px solid var(--c-black);
  outline-offset: 3px;
}

/* Container centralizado com padding lateral */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}


/* ──────────────────────────────────────────────
   3. CURSOR PERSONALIZADO
   Dois elementos: ponto e anel (aura)
   O JS move ambos com mousemove
   O anel tem lag proposital (GSAP ease)
────────────────────────────────────────────── */
.cursor,
.cursor-aura {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;        /* não intercepta cliques */
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  will-change: transform;      /* hint para GPU */
}

/* Ponto central: pequeno e preciso */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--c-black);
  transition: width var(--dur-fast) var(--ease-out),
              height var(--dur-fast) var(--ease-out),
              background var(--dur-fast);
}

/* Anel externo: maior, atrasa o movimento (via GSAP) */
.cursor-aura {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0,0,0,0.35);
  transition: width var(--dur-mid) var(--ease-out),
              height var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid);
}

/* Estado hover: cursor cresce e inverte cor */
body.cursor--hover .cursor {
  width: 14px;
  height: 14px;
  background: var(--c-black);
}

body.cursor--hover .cursor-aura {
  width: 56px;
  height: 56px;
  border-color: rgba(0,0,0,0.5);
}

/* Sobre fundo preto: cursor fica branco */
body.cursor--light .cursor      { background: var(--c-white); }
body.cursor--light .cursor-aura { border-color: rgba(255,255,255,0.45); }

/* Esconde cursor em mobile (não existe mouse) */
@media (hover: none) {
  .cursor, .cursor-aura { display: none; }
}


/* ──────────────────────────────────────────────
   4. PRELOADER
   Tela de entrada preta, centralizada.
   O JS anima e depois remove do DOM.
────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;                           /* cobre 100vw × 100vh */
  background: var(--c-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: var(--z-preloader);
}

/* SVG da coruja: dimensão responsiva */
.preloader__owl {
  width: clamp(80px, 14vw, 130px);
  height: auto;
}

/* Logotipo textual */
.preloader__brand {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.preloader__owl-text {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--c-white);
  letter-spacing: 0.08em;
}

.preloader__filmes-text {
  font-family: var(--f-body);
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.2em;
  font-weight: 300;
}

/* Barra de progresso */
.preloader__track {
  width: clamp(180px, 30vw, 280px);
  height: 1px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}

.preloader__fill {
  height: 100%;
  width: 0%;                          /* animado pelo JS */
  background: var(--c-white);
  transform-origin: left;
}

/* Contador percentual */
.preloader__pct {
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}

/* Classe adicionada pelo JS ao sair: dissolve */
.preloader.is-leaving {
  pointer-events: none;
}


/* ──────────────────────────────────────────────
   5. NAVEGAÇÃO
   Fixed no topo, muda entre transparente e sólida
   via .nav--solid adicionada no scroll pelo JS
────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 70px;
  transition: background var(--dur-mid), box-shadow var(--dur-mid);
}

/* Estado transparente (sobre o hero) */
.nav { background: transparent; }

/* Ao rolar: fundo branco + sombra */
.nav--solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Logo: ícone SVG + texto */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--c-white);            /* branco sobre hero */
  transition: color var(--dur-mid);
}

.nav--solid .nav__logo { color: var(--c-black); }

.nav__logo-icon {
  width: 32px;
  height: auto;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-text strong {
  font-family: var(--f-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.nav__logo-text em {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  opacity: 0.6;
  text-transform: lowercase;
}

/* Links de navegação desktop */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--dur-fast);
  position: relative;
}

.nav--solid .nav__link { color: var(--c-gray-4); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--dur-mid) var(--ease-out);
}

.nav__link:hover::after,
.nav__link:focus-visible::after { width: 100%; }

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--c-white);
}

.nav--solid .nav__link:hover,
.nav--solid .nav__link:focus-visible { color: var(--c-black); }

/* Link CTA: borda fina */
.nav__link--cta {
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.45rem 1rem;
  border-radius: 2px;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.nav--solid .nav__link--cta { border-color: var(--c-gray-3); }

.nav__link--cta:hover {
  background: rgba(255,255,255,0.15);
}

.nav--solid .nav__link--cta:hover {
  background: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}

/* Hamburguer mobile */
.nav__burger {
  display: none;                      /* visível apenas no mobile */
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.nav__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-white);
  transition: transform var(--dur-mid) var(--ease-out),
              opacity var(--dur-fast),
              background var(--dur-mid);
  transform-origin: center;
}

.nav--solid .nav__bar { background: var(--c-black); }

/* X: quando menu aberto */
.nav__burger.is-open .nav__bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.nav__burger.is-open .nav__bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav__links  { display: none; }
  .nav__burger { display: flex; }
}


/* ──────────────────────────────────────────────
   6. MENU MOBILE (overlay)
   Cobre a tela inteira, slide vindo de cima
   via GSAP. Oculto por padrão.
────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--c-black);
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 8vw, 4rem);
  /* Inicia fora da tela (JS controla) */
  clip-path: inset(0 0 100% 0);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu__link {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 10vw, 5rem);
  color: var(--c-white);
  opacity: 0;                         /* animado pelo JS */
  transform: translateY(30px);        /* animado pelo JS */
  display: block;
  letter-spacing: 0.04em;
  transition: color var(--dur-fast);
}

.mobile-menu__link:hover { color: rgba(255,255,255,0.5); }

.mobile-menu__address {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;                         /* animado pelo JS */
}

.mobile-menu__address a {
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  transition: color var(--dur-fast);
}

.mobile-menu__address a:hover { color: var(--c-white); }


/* ──────────────────────────────────────────────
   7. SEÇÃO HERO
   100vh, fundo preto.
   Múltiplas camadas sobrepostas:
   canvas de ruído → grid perspectiva → mira → conteúdo
────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Padding-top compensa a nav fixed */
  padding-top: 70px;
}

/* Canvas de ruído de grão de filme */
.hero__noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* Grade perspectiva: linhas finas evocam profundidade */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

/* ── Viewfinder (mira de câmera) ──
   Quatro cantos em L + cruz central
   Animados pelo GSAP ao entrar */
.hero__vf {
  position: absolute;
  inset: clamp(1.5rem, 4vw, 3.5rem);
  pointer-events: none;
  z-index: 2;
}

/* Cada canto é um elemento com bordas em L (CSS) */
.hero__vf-corner {
  position: absolute;
  width: clamp(18px, 3vw, 28px);
  height: clamp(18px, 3vw, 28px);
  border-color: rgba(255,255,255,0.35);
  border-style: solid;
  border-width: 0;
}

.hero__vf-corner--tl { top: 0;  left: 0;  border-top-width: 1px; border-left-width: 1px;  }
.hero__vf-corner--tr { top: 0;  right: 0; border-top-width: 1px; border-right-width: 1px; }
.hero__vf-corner--bl { bottom: 0; left: 0;  border-bottom-width: 1px; border-left-width: 1px;  }
.hero__vf-corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* Cruz central (horizontal + vertical) */
.hero__vf-h,
.hero__vf-v {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}

.hero__vf-h {
  width: clamp(30px, 5vw, 50px);
  height: 1px;
  transform: translate(-50%, -50%);
}

.hero__vf-v {
  width: 1px;
  height: clamp(30px, 5vw, 50px);
  transform: translate(-50%, -50%);
}

/* Labels laterais decorativos (rotacionados 90°) */
.hero__side {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
}

.hero__side--l {
  left: 0;
  top: 50%;
  transform: translateX(calc(clamp(1.5rem, 3vw, 2.5rem))) translateY(-50%) rotate(-90deg);
  transform-origin: left center;
}

.hero__side--r {
  right: 0;
  top: 50%;
  transform: translateX(calc(-1 * clamp(1.5rem, 3vw, 2.5rem))) translateY(-50%) rotate(90deg);
  transform-origin: right center;
}

@media (max-width: 600px) {
  .hero__side { display: none; }
}

/* Código de frame (canto superior esquerdo) */
.hero__frame-code {
  position: absolute;
  top: calc(70px + 1.5rem);
  left: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.25);
  z-index: 2;
}

/* ── Conteúdo central ── */
.hero__body {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1rem;
  max-width: 1100px;
}

/* Eyebrow: linha + texto pequeno */
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hero__ey-line {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.35);
}

/* Título hero: Bebas Neue gigante */
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 0.85;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Uma linha do título */
.hero__line {
  display: flex;
  gap: 0.02em;
}

/* Letra individual (alvo das animações GSAP) */
.hero__word {
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  color: var(--c-white);
  /* Clip inicial para animação de reveal */
  display: inline-block;
}

/* Segunda linha: texto em outline (stroke) */
.hero__line--stroke .hero__word {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.7);
  color: transparent;
}

/* Subtítulo */
.hero__sub {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hero__sub em { font-style: italic; color: rgba(255,255,255,0.75); }

/* CTAs do hero */
.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Indicador de scroll */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  pointer-events: none;
}

.hero__scroll-rail {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

/* Ponto deslizante animado pelo GSAP (loop) */
.hero__scroll-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
}

.hero__scroll-lbl {
  font-family: var(--f-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
}

/* Badge REEL (canto inferior direito) */
.hero__reel-badge {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.25);
  z-index: 2;
}

.hero__reel-yr {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}


/* ──────────────────────────────────────────────
   8. BOTÕES
   Dois tipos: sólido (branco) e ghost (contorno)
   Com animação de seta deslizante no hover
────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 0.85rem 1.75rem;
  border: 1.5px solid transparent;
  cursor: none;
  transition: background var(--dur-fast), color var(--dur-fast),
              border-color var(--dur-fast), transform var(--dur-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.97); }

/* Sólido: fundo branco, texto preto */
.btn--solid {
  background: var(--c-white);
  color: var(--c-black);
}

/* Efeito fill no hover (pseudo-elemento) */
.btn--solid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-gray-1);
  transform: translateX(-101%);
  transition: transform var(--dur-mid) var(--ease-out);
  z-index: 0;
}

.btn--solid:hover::before { transform: translateX(0); }
.btn--solid:hover { color: var(--c-white); }

.btn--solid span, .btn--solid svg {
  position: relative;
  z-index: 1;
}

/* Ghost: fundo transparente, borda branca */
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.25);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--c-white);
  border-color: rgba(255,255,255,0.5);
}

/* Variante full-width (para o formulário) */
.btn--full {
  width: 100%;
  justify-content: center;
}

/* Spinner dentro do botão (oculto por padrão) */
.btn__spin {
  display: none;
  animation: spin 0.8s linear infinite;
}

.btn.is-loading .btn__lbl { opacity: 0.4; }
.btn.is-loading .btn__spin { display: block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ──────────────────────────────────────────────
   9. MARQUEE / TICKER
   Linha horizontal com texto rolante.
   GSAP anima translateX de 0 → -50% infinito.
────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  background: var(--c-black);
  border-top: 1px solid var(--c-gray-3);
  border-bottom: 1px solid var(--c-gray-3);
  padding: 0.9rem 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;            /* hint para GPU compositing */
}

.marquee__track span {
  font-family: var(--f-display);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  padding: 0 0.6rem;
}

/* Separador × ou — */
.marquee__track b {
  font-family: var(--f-mono);
  color: rgba(255,255,255,0.2);
  font-weight: 400;
  padding: 0 0.4rem;
}

/* Segunda faixa (reversa) fica entre seções escuras/claras */
.marquee--rev {
  background: var(--c-white);
  border-color: rgba(0,0,0,0.08);
}

.marquee--rev .marquee__track span { color: rgba(0,0,0,0.45); }
.marquee--rev .marquee__track b    { color: rgba(0,0,0,0.2);  }


/* ──────────────────────────────────────────────
   10. UTILITÁRIOS DE SEÇÃO
   Classes reutilizáveis para headers e layout
────────────────────────────────────────────── */
.section {
  padding: var(--sp-section) 0;
}

.section--dark {
  background: var(--c-gray-1);
  color: var(--c-white);
}

/* Header padrão de seção */
.section__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section__header--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

/* Tag de número: /01 */
.section__tag {
  font-family: var(--f-mono);
  font-size: var(--fs-tag);
  letter-spacing: 0.2em;
  color: var(--c-gray-5);
  padding-top: 0.5rem;
}

.section__tag--light { color: rgba(255,255,255,0.35); }

/* Título de seção */
.section__title {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--c-black);
}

.section__title--light { color: var(--c-white); }

/* Itálico no título usa Cormorant Garamond */
.section__title em {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 300;
  font-size: 0.9em;
}

/* Descrição ao lado do título */
.section__desc {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--c-gray-5);
  line-height: 1.7;
  max-width: 28ch;
  align-self: end;
}

@media (max-width: 768px) {
  .section__header {
    grid-template-columns: auto 1fr;
  }
  .section__desc {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}


/* ──────────────────────────────────────────────
   11. CARDS DE SERVIÇO
────────────────────────────────────────────── */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;                          /* gap de linha = divisória */
  background: var(--c-gray-3);         /* a cor de fundo vira divisória */
  border: 1.5px solid var(--c-gray-3);
}

/* Card individual */
.s-card {
  background: var(--c-white);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-mid) var(--ease-out);
}

/* Variante escura */
.s-card--dark {
  background: var(--c-black);
  color: var(--c-white);
}

/* Número de ordem */
.s-card__num {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--c-gray-5);
}

.s-card--dark .s-card__num { color: rgba(255,255,255,0.3); }

/* Ícone */
.s-card__icon {
  color: var(--c-black);
  width: 40px;
  height: 40px;
}

.s-card--dark .s-card__icon { color: var(--c-white); }

/* Título do card */
.s-card__title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: 0.5rem;
}

/* Descrição */
.s-card__desc {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--c-gray-5);
  line-height: 1.65;
  flex: 1;
}

.s-card--dark .s-card__desc { color: rgba(255,255,255,0.45); }

/* CTA link */
.s-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  border: 1px solid rgba(0,0,0,0.2);
  color: var(--c-black);
  padding: 0.45rem 0.85rem;
  width: fit-content;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.s-card--dark .s-card__cta {
  border-color: rgba(255,255,255,0.2);
  color: var(--c-white);
}

.s-card:hover .s-card__cta,
.s-card--dark:hover .s-card__cta {
  background: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}

.s-card--dark:hover .s-card__cta {
  background: var(--c-white);
  color: var(--c-black);
}

/* Linha de borda animada (pseudo-elemento no topo) */
.s-card__bdr {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--c-black);
  transition: width 0.6s var(--ease-out);
}

.s-card--dark .s-card__bdr { background: var(--c-white); }
.s-card:hover .s-card__bdr { width: 100%; }

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


/* ──────────────────────────────────────────────
   12. SEÇÃO SOBRE
────────────────────────────────────────────── */
.sobre__layout {
  display: grid;
  grid-template-columns: 58% 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Coluna de texto */
.sobre__text { padding-right: 1rem; }

.sobre__p {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.sobre__p strong { color: var(--c-white); font-weight: 600; }

/* Quote em destaque */
.sobre__quote {
  border-left: 2px solid rgba(255,255,255,0.2);
  padding-left: 1.25rem;
  margin-top: 2rem;
  font-family: var(--f-body);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* Coluna visual */
.sobre__visual {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* SVG de película animado */
.sobre__film-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  /* Animação de respiração lenta */
  animation: filmBreath 6s ease-in-out infinite;
}

@keyframes filmBreath {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Painel de stats */
.sobre__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sobre__stat {
  padding: 1.25rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sobre__stat-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}

/* Número: animado pelo GSAP (contagem de 0 ao target) */
.sobre__stat-n {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--c-white);
  line-height: 1;
}

.sobre__stat-sfx {
  font-family: var(--f-mono);
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
}

.sobre__stat-lbl {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .sobre__layout {
    grid-template-columns: 1fr;
  }
  .sobre__film-svg { max-width: 220px; }
}

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


/* ──────────────────────────────────────────────
   13. SEÇÃO CLIENTES
────────────────────────────────────────────── */
/* Logo wall */
.logos__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--c-gray-3);
  border: 1px solid var(--c-gray-3);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.logo-item {
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 100px;
  transition: background var(--dur-fast);
}

.logo-item:hover {
  background: var(--c-gray-1);
}

.logo-item span {
  color: var(--c-gray-4);
  text-align: center;
  transition: color var(--dur-fast);
}

.logo-item:hover span { color: var(--c-white); }

@media (max-width: 900px) {
  .logos__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .logos__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Grid dos cards de showreel */
.reel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Card de reel */
.reel-card {
  display: flex;
  flex-direction: column;
  cursor: none;
}

/* Área visual (thumbnail) */
.reel-card__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--c-gray-1);
  overflow: hidden;
  border: 1px solid var(--c-gray-3);
}

/* SVG de arte do frame */
.reel-card__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.reel-card:hover .reel-card__art {
  transform: scale(1.04);
}

/* Linhas de scan (efeito CRT/VHS) */
.reel-card__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.06) 3px,
    rgba(0,0,0,0.06) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Overlay escuro com botão de play (aparece no hover) */
.reel-card__hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--dur-mid);
}

.reel-card:hover .reel-card__hover { opacity: 1; }

/* Botão play: círculo com ícone */
.reel-card__play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-fast), background var(--dur-fast);
}

.reel-card:hover .reel-card__play {
  transform: scale(1.1);
  background: rgba(255,255,255,0.15);
}

/* Metadados abaixo do thumb */
.reel-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.25rem 0;
  border-bottom: 1px solid var(--c-gray-3);
  padding-bottom: 0.85rem;
  margin-bottom: 0;
}

.reel-card__dur {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  color: var(--c-gray-5);
  letter-spacing: 0.1em;
}

.reel-card__title {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--c-black);
}

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


/* ──────────────────────────────────────────────
   14. SEÇÃO CONTATO
────────────────────────────────────────────── */
.contato__layout {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

/* Coluna de info */
.contato__address {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.contato__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}

.contato__row svg { flex-shrink: 0; opacity: 0.6; }

.contato__row a {
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast);
}

.contato__row a:hover { color: var(--c-white); }

/* Redes sociais */
.contato__social {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.5rem 0.85rem;
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}

.social-btn:hover {
  color: var(--c-white);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
}

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

/* Formulário de contato */
.cform {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cform__field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cform__label {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

.cform__input {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--c-white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 0.65rem 0;
  width: 100%;
  outline: none;
  transition: border-color var(--dur-mid);
  resize: none;
  /* Autocomplete background: mantém escuro */
  -webkit-text-fill-color: var(--c-white);
}

.cform__input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--c-gray-1) inset;
}

.cform__input::placeholder { color: rgba(255,255,255,0.2); }

.cform__input:focus { border-bottom-color: rgba(255,255,255,0.6); }

/* Linha animada embaixo do input (cresce no focus) */
.cform__line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-white);
  transition: width 0.5s var(--ease-out);
}

.cform__input:focus ~ .cform__line { width: 100%; }

.cform__input--ta { min-height: 90px; }

/* Mensagem de sucesso */
.cform__success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1rem 1.25rem;
  animation: fadeUp 0.5s var(--ease-out) both;
}

.cform__success[hidden] { display: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ──────────────────────────────────────────────
   15. RODAPÉ
────────────────────────────────────────────── */
.footer {
  background: var(--c-black);
  border-top: 1px solid var(--c-gray-3);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: 3rem;
}

/* Logo do footer */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-white);
  margin-bottom: 1.25rem;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer__logo-text strong {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.footer__logo-text em {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
}

.footer__tagline {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  max-width: 28ch;
}

/* Navegação do footer */
.footer__nav h3,
.footer__contact h3 {
  font-family: var(--f-mono);
  font-size: var(--fs-tag);
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__nav a,
.footer__contact a,
.footer__contact p {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  transition: color var(--dur-fast);
}

.footer__nav a:hover,
.footer__contact a:hover { color: var(--c-white); }

.footer__contact address {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Linha de copyright */
.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--c-gray-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
}

.footer__bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--dur-fast);
}

.footer__bottom a:hover { color: var(--c-white); }

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}


/* ──────────────────────────────────────────────
   16. ANIMAÇÕES DE ENTRADA (ScrollTrigger)
   Estado inicial antes da animação GSAP revelar
────────────────────────────────────────────── */

/* Elementos que entram de baixo */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

/* Elementos que aparecem por fade */
.reveal-fade {
  opacity: 0;
}

/* Clip-path reveal (da base para cima) */
.reveal-clip {
  clip-path: inset(0 0 100% 0);
}


/* ──────────────────────────────────────────────
   17. UTILITÁRIOS GERAIS
────────────────────────────────────────────── */

/* Visibilidade acessível (screen-readers only) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Linha divisória horizontal */
.divider {
  width: 100%;
  height: 1px;
  background: var(--c-gray-3);
}
