/* Tulio Prod — transplante de 1820productions.com (capturada em 17/09/2026).
   Tokens medidos na captura: fundo oklch(0.1448 0 0), tinta oklch(0.9761 0 0), rodapé #0f0f0f, raio 2px,
   escala 72 · 24 · 16 · 14 · 12.5px. Suisse Intl (comercial) trocada por Archivo (OFL): condensada nos títulos. */

:root {
  --bg: oklch(0.1448 0 0);        /* ≈ #0a0a0a */
  --ink: oklch(0.9761 0 0);       /* ≈ #f7f7f7 — contraste 19.1:1 sobre --bg */
  --ink-80: oklch(0.9761 0 0 / 0.8);
  --ink-20: oklch(0.9761 0 0 / 0.2);
  --foot: #0f0f0f;                /* tinta sobre ele: 18.6:1 */
  --radius: 2px;
  --gutter: 16px;
  --display: "Archivo", Arial, sans-serif;
  --text: "Archivo", Arial, sans-serif;
  --h1: clamp(44px, 3.75vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--display);
  font-stretch: 75%;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }

.u-container { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.u-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* tipografia medida */
.h1 {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 600;
  font-size: var(--h1);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.p-xs { font-family: var(--text); font-stretch: 100%; font-size: 12.5px; line-height: 1; letter-spacing: -0.01em; }
.p-sm { font-family: var(--text); font-stretch: 100%; font-size: 14px; line-height: 1.1; letter-spacing: -0.01em; }
.w-500 { font-weight: 500; }
.w-300 { font-weight: 300; }

/* split: máscara por palavra/letra (revelação de baixo pra cima) */
.mask { display: inline-block; overflow: hidden; vertical-align: top; }
.mask > span { display: inline-block; will-change: transform; }

/* ---------- 01 cortina (troca de página) ---------- */
.page_overlay {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  pointer-events: none; opacity: 1; transition: opacity .5s ease;
}
.is-ready .page_overlay { opacity: 0; }
.is-leaving .page_overlay { opacity: 1; }

/* ---------- 03 menu ---------- */
.page_header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 16px 0; mix-blend-mode: normal; }
.page_header_layout { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; }
.page_nav_ul { display: flex; flex-direction: column; }
.page_nav_li { height: 18.75px; }
.nav_link { display: inline-flex; align-items: center; height: 12.5px; position: relative; text-transform: uppercase; }
.nav_link .p-xs { font-weight: 500; }
.nav_link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.nav_link:hover::after, .nav_link.is-current::after { transform: scaleX(1); transform-origin: left; }

.brand { display: block; width: 76px; height: 40px; }
.brand svg { width: 76px; height: 37px; display: block; }

.nav_btns { display: flex; gap: 8px; justify-content: flex-end; }
.nav_btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 4.96px 8px; height: 22.4px; text-transform: uppercase;
}
.nav_btn .p-xs { position: relative; font-weight: 500; }
.nav_btn_bg {
  position: absolute; inset: 0; background: var(--ink-20); border-radius: 2.08px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s ease;
}
.nav_btn:hover .nav_btn_bg { background: oklch(0.9761 0 0 / 0.35); }

/* menu aberto (MENU) */
.menu_panel {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s;
}
.menu_panel.is-open { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.menu_panel a { display: block; text-align: center; }
.menu_panel .h1 { transition: opacity .3s ease; }
.menu_panel ul:hover .h1 { opacity: .4; }
.menu_panel ul .h1:hover { opacity: 1; }
.menu_panel_foot { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 24px; text-transform: uppercase; }

/* ---------- botão primário: [ TEXTO ] ---------- */
.primary_btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 16px; text-transform: uppercase; isolation: isolate;
}
.primary_btn_before {
  position: absolute; inset: 0 6.4px; background: var(--ink); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .3s ease;
}
.primary_btn_icon { display: flex; width: 6.4px; height: 16px; }
.primary_btn_icon svg { width: 6.4px; height: 16px; }
.primary_btn_text_wrap { position: relative; padding: 0 1px; }
.primary_btn_text { font-weight: 500; transition: color .3s ease; }
.primary_btn_line { position: absolute; left: 1px; right: 1px; top: 14.4px; height: 1px; background: var(--ink); transition: opacity .3s ease; }
.primary_btn:hover .primary_btn_before { transform: scaleY(1); }
.primary_btn:hover .primary_btn_text { color: var(--bg); }
.primary_btn:hover .primary_btn_line { opacity: 0; }
.primary_btn.is-active .primary_btn_before { transform: scaleY(1); }
.primary_btn.is-active .primary_btn_text { color: var(--bg); }
.primary_btn.is-active .primary_btn_line { opacity: 0; }

/* ---------- cabeçalho de seção: + RÓTULO + com linha ---------- */
.section_header {
  display: flex; align-items: center; justify-content: space-between; position: relative;
  padding: 16px 0 0; height: 32px;
}
.section_header.is-tall { height: 128px; padding: 16px 0 96px; }
.section_header_line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink-80); transform-origin: left; }
.section_header_icon { width: 16px; height: 16px; display: flex; }
.section_header_icon svg { width: 16px; height: 16px; }
.section_header_title { text-transform: uppercase; font-weight: 500; }
.section_header.is-center { justify-content: center; }

/* ---------- 02 hero (ciclo de vídeos, fixo enquanto o resto passa por cima) ---------- */
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0; }
.hero_video_contain { position: absolute; inset: 0; }
.hero_video_wrap { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero_video_wrap.is-active { opacity: 1; }
.hero_video_wrap img, .hero_video_wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero_overlay { position: absolute; inset: 0; background: oklch(0.1448 0 0 / 0.4); z-index: 1; }
.hero_noise { position: absolute; inset: 0; overflow: hidden; opacity: .1; z-index: 2; pointer-events: none; }
.hero_noise_inner {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: noise-dist .8s linear infinite;
}
@keyframes noise-dist {
  0%   { transform: translate3d(1%, -1%, 0); animation-timing-function: steps(3); }
  10%  { transform: translate3d(-5%, -2%, 0); animation-timing-function: steps(3); }
  20%  { transform: translate3d(10%, 5%, 0); animation-timing-function: steps(3); }
  30%  { transform: translate3d(5%, -11%, 0); animation-timing-function: steps(3); }
  40%  { transform: translate3d(-12%, -5%, 0); animation-timing-function: steps(3); }
  50%  { transform: translate3d(10%, 9%, 0); animation-timing-function: steps(3); }
  60%  { transform: translate3d(15%, 0, 0); animation-timing-function: steps(3); }
  70%  { transform: translate3d(-10%, 8%, 0); animation-timing-function: steps(3); }
  80%  { transform: translate3d(10%, 2%, 0); animation-timing-function: steps(3); }
  90%  { transform: translate3d(-1%, 5%, 0); animation-timing-function: steps(3); }
  100% { transform: translate3d(0, 8%, 0); }
}
.hero_content { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; }
.hero_project_wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; width: min(1056px, 100% - 32px); }
.hero_title_wrap { position: relative; height: var(--h1); width: 100%; perspective: 1000px; }
.hero_title_item {
  position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: center;
  transform-origin: 50% 50% -60px; backface-visibility: hidden;
}
.hero_title_item .h1 { white-space: nowrap; }
.hero_title_item a { display: block; }
.hero_sub_wrap { position: relative; height: 12.5px; width: 100%; overflow: hidden; }
.hero_sub_item { position: absolute; left: 0; right: 0; top: 0; text-align: center; font-weight: 300; }
/* antes do GSAP chegar, só o primeiro título e a primeira legenda aparecem */
.hero_title_item:not(:first-child) .ch, .hero_sub_item:not(:first-child) { transform: translateY(110%); }
.hero_play { position: absolute; left: 50%; top: calc(100% + 64px); transform: translateX(-50%); white-space: nowrap; }
.hero_prev, .hero_next { position: absolute; top: 0; bottom: 0; width: 28%; z-index: 1; }
.hero_prev { left: 0; cursor: w-resize; }
.hero_next { right: 0; cursor: e-resize; }
.hero_control { position: absolute; left: 50%; bottom: 35.2px; transform: translateX(-50%); z-index: 5; }
.hero_control_wrap { display: flex; align-items: center; gap: 16px; }
.hero_num { width: 16px; height: 12.5px; overflow: hidden; position: relative; font-weight: 500; }
.hero_num.is-left { text-align: right; }
.hero_num span { display: block; transition: transform .5s cubic-bezier(.65,0,.35,1); }
.hero_control_list { display: flex; align-items: center; gap: 12.8px; height: 16px; }
.hero_control_item { position: relative; width: 2px; height: 16px; background: var(--ink-80); transition: width .5s cubic-bezier(.65,0,.35,1), background .3s; cursor: pointer; }
.hero_control_item.is-active { width: 26.4px; background: transparent; outline: 1px solid var(--ink); outline-offset: -1px; }
.hero_control_item .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); }
.hero_control_item::before { content: ""; position: absolute; inset: -8px -6px; }

/* ---------- 04 · 05 · 06 seções de vídeo cheio ---------- */
.stack { position: relative; z-index: 1; background: var(--bg); }
.home_section { position: relative; background: var(--bg); padding-top: 128px; }
.home_section .section_header { height: 128px; padding: 16px 0 96px; }
.home_content_wrap { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; overflow: hidden; }
.home_bg_wrap { position: absolute; inset: 0; overflow: hidden; }
.home_bg_media { position: absolute; left: 0; width: 100%; top: -30%; height: 130%; object-fit: cover; will-change: transform; }
.home_bg_overlay { position: absolute; inset: 0; background: oklch(0.1448 0 0 / 0.2); }
.home_heading_wrap { position: relative; max-width: 14em; font-size: var(--h1); padding: 0 var(--gutter); text-align: center; will-change: transform; }
.home_heading_wrap .h1 { text-shadow: 0 1px 24px oklch(0.1448 0 0 / 0.35); }
.home_btn_wrap { position: relative; }

/* ---------- 07 bastidores (rastro de fotos no cursor) ---------- */
.bts_section { position: relative; background: var(--bg); padding-top: 128px; overflow: hidden; }
.bts_content_wrap { position: relative; height: calc(100vh - 32px); min-height: 640px; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
.bts_heading_wrap { max-width: 424px; text-align: center; padding: 0 var(--gutter); }
.bts_btn_wrap { position: absolute; left: 50%; bottom: 83px; transform: translateX(-50%); padding: 48px; pointer-events: auto; }
.bts_img_list { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bts_img_item { position: absolute; left: 0; top: 0; overflow: hidden; opacity: 0; will-change: transform, opacity; }
.bts_img_item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); will-change: transform; }

/* ---------- 08 showreel ---------- */
.reel_section { position: relative; background: var(--bg); }
.reel_content_wrap { display: flex; flex-direction: column; gap: 192px; padding-top: 144px; }
.reel_heading_wrap { max-width: 297px; margin: 0 auto; text-align: center; will-change: transform; }
.reel_preview_wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.reel_preview { position: absolute; inset: 0; clip-path: inset(22% 22% 22% 22%); will-change: clip-path; cursor: pointer; }
.reel_preview video, .reel_preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel_play {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: var(--ink-20); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 3;
}
.reel_play svg { width: 12px; height: 12px; }

/* ---------- 09 clientes ---------- */
.page_end { position: relative; }
.client_section { position: relative; z-index: 1; background: var(--bg); padding-top: 128px; }
.client_content_wrap { display: flex; flex-direction: column; justify-content: space-between; gap: 240px; padding: 240px 0 48px; }
.client_heading_wrap { max-width: 424px; margin: 0 auto; text-align: center; will-change: transform; }
.marquee { position: relative; display: flex; align-items: center; height: 72px; overflow: hidden; }
.marquee_fade { position: absolute; top: 0; bottom: 0; width: 240px; z-index: 1; pointer-events: none; }
.marquee_fade.is-left { left: 0; background: linear-gradient(90deg, var(--bg), oklch(0.1448 0 0 / 0)); }
.marquee_fade.is-right { right: 0; background: linear-gradient(270deg, var(--bg), oklch(0.1448 0 0 / 0)); }
.marquee_move { display: flex; align-items: center; height: 72px; will-change: transform; }
.marquee_item { display: flex; align-items: center; justify-content: space-between; width: 283px; height: 72px; flex: none; }
.marquee_icon { width: 47.7px; height: 72px; display: flex; align-items: center; justify-content: center; color: oklch(0.9761 0 0 / 0.35); }
.marquee_icon svg { width: 47.7px; height: 47.7px; }
.marquee_logo { flex: 1; text-align: center; white-space: nowrap; font-family: var(--display); font-stretch: 75%; font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; color: oklch(0.9761 0 0 / 0.85); }
.marquee_logo small { display: block; margin-top: 4px; font-family: var(--text); font-stretch: 100%; font-weight: 300; font-size: 11px; text-transform: none; color: oklch(0.9761 0 0 / 0.6); }

/* rodapé fixo por baixo (revelado ao fim) */
.footer_sticky { position: sticky; bottom: 0; z-index: 0; background: var(--foot); }
.page_footer { padding: 200px 0 44.8px; background: var(--foot); }
.footer_layout { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 9.6px; }
.footer_heading { font-family: var(--text); font-stretch: 100%; font-size: 24px; font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; max-width: 384px; padding-bottom: 96px; }
.footer_links { display: flex; flex-direction: column; gap: 2.08px; padding-bottom: 96px; }
.footer_links a, .footer_util a { font-weight: 300; }
.footer_links a:hover, .footer_util a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer_util { position: relative; padding-top: 48px; display: flex; flex-direction: column; gap: 18px; }
.footer_util::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink); }
.footer_util_head { font-weight: 300; text-transform: uppercase; opacity: .6; }
.footer_util ul { display: flex; flex-direction: column; gap: 2.08px; }
.footer_bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 96px; gap: 16px; }
.footer_word { font-family: var(--display); font-stretch: 75%; font-weight: 600; text-transform: uppercase; font-size: clamp(64px, 14.5vw, 280px); line-height: .8; letter-spacing: -0.03em; }
.footer_legal { text-align: right; font-weight: 300; opacity: .6; line-height: 1.4; }

/* ---------- trabalhos.html ---------- */
.work_page { position: relative; z-index: 1; background: var(--bg); padding: 160px 0 160px; }
.work_intro { display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 96px 0 96px; text-align: center; }
.work_intro .h1 { max-width: 760px; }
.work_filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.work_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 9.6px; }
.work_card { display: flex; flex-direction: column; gap: 12px; text-align: left; cursor: pointer; }
.work_card[hidden] { display: none; }
.work_card_media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #151515; border-radius: var(--radius); }
.work_card_media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.work_card:hover .work_card_media img { transform: scale(1.04); }
.work_card_tag { position: absolute; left: 10px; top: 10px; padding: 4.96px 8px; border-radius: 2.08px; background: oklch(0.1448 0 0 / 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); text-transform: uppercase; font-weight: 500; }
.work_card_play { position: absolute; right: 10px; bottom: 10px; opacity: 0; transition: opacity .3s; }
.work_card:hover .work_card_play { opacity: 1; }
.work_card_meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.work_card_title { font-family: var(--display); font-stretch: 75%; font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.work_card_sub { font-weight: 300; opacity: .75; margin-top: 6px; line-height: 1.3; }
.work_card_date { font-weight: 300; opacity: .6; white-space: nowrap; }

/* modal do vídeo (Instagram / showreel) */
.modal { position: fixed; inset: 0; z-index: 85; background: oklch(0.1448 0 0 / 0.94); display: flex; align-items: center; justify-content: center; padding: 64px 16px 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.modal_close { position: absolute; top: 16px; right: 16px; }
.modal_frame { width: min(420px, 100%); height: min(760px, calc(100svh - 96px)); background: #fff; border-radius: var(--radius); overflow: hidden; }
.modal_frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal_frame.is-video { width: min(1280px, 100%); height: auto; aspect-ratio: 16 / 9; background: #000; }
.modal_frame video { width: 100%; height: 100%; }
.modal_link { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; }

/* ---------- responsivo ---------- */
@media (max-width: 991px) {
  .footer_layout { grid-template-columns: 1fr 1fr; }
  .footer_heading { grid-column: 1 / -1; padding-bottom: 48px; }
  .work_grid { grid-template-columns: repeat(2, 1fr); }
  .client_content_wrap { gap: 160px; padding-top: 160px; }
  .reel_content_wrap { gap: 120px; }
}
@media (max-width: 767px) {
  .page_nav_col { display: none; }
  .page_header_layout { grid-template-columns: auto 1fr; align-items: center; }
  /* no celular o respiro de 128px vira buraco preto entre os vídeos: encurta */
  .home_section, .bts_section, .client_section { padding-top: 40px; }
  .section_header.is-tall, .home_section .section_header { height: 56px; padding: 16px 0 24px; }
  .home_content_wrap { height: 88svh; min-height: 480px; }
  .home_bg_media { top: 0; height: 100%; }
  .bts_content_wrap { height: 80svh; min-height: 520px; }
  .bts_btn_wrap { bottom: 24px; }
  .reel_content_wrap { gap: 56px; padding-top: 64px; }
  /* rodapé mais alto que a tela não pode ficar preso no fundo: o começo dele sumia */
  .footer_sticky { position: relative; }
  .page_footer { padding-top: 96px; }
  .hero_play { top: calc(100% + 40px); }
  .hero_prev, .hero_next { width: 22%; }
  .reel_preview { clip-path: none; }
  .marquee_fade { width: 64px; }
  .marquee_item { width: 240px; }
  .marquee_logo { font-size: 17px; }
  .client_content_wrap { gap: 72px; padding: 72px 0 40px; }
  .footer_layout { grid-template-columns: 1fr; }
  .footer_links { padding-bottom: 48px; }
  .footer_bottom { flex-direction: column; align-items: flex-start; }
  .footer_legal { text-align: left; }
  .work_grid { grid-template-columns: 1fr; }
  .work_page { padding-top: 96px; }
  .bts_heading_wrap { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero_noise_inner { animation: none; }
  * { scroll-behavior: auto !important; }
}
