/* =========================================================
   ITALO MENDES · PORTFÓLIO
   Paleta oficial: 70% preto · 25% bege · 5% bordô
   ========================================================= */

@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-Thin.otf") format("opentype"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-ExtraBold.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bootzy"; src: url("../fonts/BootzyTM.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Garamond"; src: url("../fonts/AppleGaramond-LightItalic.ttf") format("truetype"); font-style: italic; font-weight: 300; font-display: swap; }

:root {
  --bordo: #9E0B0F;
  --bordo-hi: #C4141A;
  --preto: #0E0E0E;
  --preto-2: #151413;
  --preto-3: #1C1B19;
  --bege: #EFE4D0;
  --bege-60: rgba(239, 228, 208, .6);
  --bege-35: rgba(239, 228, 208, .35);
  --bege-12: rgba(239, 228, 208, .12);
  --bege-06: rgba(239, 228, 208, .06);
  --grafite: #3B3B3B;
  --tl: #3F3D39;

  --f-sans: "Creato", "Helvetica Neue", Arial, sans-serif;
  --f-big: "Bootzy", "Creato", Impact, sans-serif;
  --f-serif: "Garamond", "Times New Roman", serif;

  --gut: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .1, 1);
  --snap: cubic-bezier(.7, 0, .2, 1);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--preto);
  color: var(--bege);
  font-family: var(--f-sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--bordo); color: var(--bege); }

.rec { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--bordo-hi); box-shadow: 0 0 12px rgba(196, 20, 26, .7); vertical-align: middle; }
.label { font-weight: 500; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--bege-60); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 300; letter-spacing: -.01em; }
.big { font-family: var(--f-big); text-transform: uppercase; font-weight: normal; line-height: .86; letter-spacing: .005em; }

/* ---------- Textura ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .13; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-6%, 4%); } 33% { transform: translate(5%, -7%); }
  50% { transform: translate(-3%, 8%); } 67% { transform: translate(8%, 2%); } 83% { transform: translate(-7%, -4%); } 100% { transform: translate(2%, 6%); }
}
.vignette { position: fixed; inset: 0; z-index: 89; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%); }

/* ---------- Intro (vinheta) ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: #000; display: grid; place-items: center; transition: opacity .5s var(--ease), visibility .5s; }
.intro video { width: 100%; height: 100%; object-fit: cover; }
.intro-skip { position: absolute; right: var(--gut); bottom: 28px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bege-60); padding: 8px 4px; }
.intro.done { opacity: 0; visibility: hidden; }

/* ---------- HUD de câmera ---------- */
.hud { position: fixed; inset: 14px; z-index: 80; pointer-events: none; font-weight: 500; font-size: 11px; letter-spacing: .22em; color: var(--bege-35); }
.hud-corner { position: absolute; width: 18px; height: 18px; border: 1.5px solid var(--bege-35); }
.hud-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud-tc { position: absolute; right: 30px; bottom: 6px; font-variant-numeric: tabular-nums; }
.hud-meta { position: absolute; left: 30px; bottom: 6px; }
.hud-clip { position: absolute; right: 30px; top: 6px; display: none; }

/* ---------- Timeline de rolagem ---------- */
.scrolltl { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 110; background: var(--bege-06); }
.scrolltl-fill { height: 100%; width: 0; background: var(--bordo); }
.scrolltl-needle { position: absolute; top: 0; left: 0; width: 2px; height: 14px; background: var(--bege); transform: translateX(-1px); }
.scrolltl-needle::before { content: ""; position: absolute; top: -2px; left: -4px; width: 10px; height: 6px; background: var(--bege); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- Assinatura ---------- */
.sig { display: inline-flex; align-items: baseline; gap: .22em; font-size: 26px; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.sig-italo { font-weight: 800; }
.sig-mendes { font-weight: 100; }
.sig-i { position: relative; display: inline-block; }
.sig-i .rec { position: absolute; left: 50%; top: -.06em; width: .3em; height: .3em; transform: translateX(-50%); box-shadow: 0 0 10px rgba(196, 20, 26, .65); }
.sig.sig-lg { font-size: clamp(44px, 7vw, 96px); }

/* Timeline da marca (7 clipes, 1 bordô, agulha) */
.brand-tl { position: relative; display: flex; gap: .45%; height: 14px; margin-top: 14px; }
.brand-tl span { height: 100%; border-radius: 3px; background: var(--tl); }
.brand-tl span.on { background: var(--bordo); }
.brand-tl .needle { position: absolute; top: -8px; bottom: -10px; width: 2px; background: var(--bege); left: 43%; }
.brand-tl .needle::before { content: ""; position: absolute; top: -2px; left: -5px; width: 12px; height: 7px; background: var(--bege); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gut); transition: padding .4s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(14, 14, 14, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-links { display: flex; align-items: center; gap: 34px; font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.nav-links > a { position: relative; color: var(--bege-60); transition: color .25s; }
.nav-links > a:hover, .nav-links > a.active { color: var(--bege); }
.nav-links > a.active:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--bordo); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--bege-35); border-radius: 999px; color: var(--bege) !important; transition: background .25s, border-color .25s; }
.nav-cta:hover { background: var(--bordo); border-color: var(--bordo); }
.nav-drop { display: flex; gap: 16px; padding-left: 18px; border-left: 1px solid var(--bege-12); }
.nav-drop a { font-size: 11px; color: var(--bege-35); transition: color .2s; }
.nav-drop a:hover, .nav-drop a.active { color: var(--bege); }
.nav-burger { display: none; width: 44px; height: 44px; position: relative; }
.nav-burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--bege); transition: transform .35s var(--snap); }
.nav-burger span:first-child { top: 17px; }
.nav-burger span:last-child { top: 25px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--preto); padding: 110px var(--gut) 40px;
  display: flex; flex-direction: column; gap: 6px; clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .6s var(--snap);
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu a { font-family: var(--f-big); font-size: clamp(44px, 13vw, 72px); line-height: 1; text-transform: uppercase; }
.mobile-menu a small { font-family: var(--f-sans); font-size: 12px; letter-spacing: .25em; color: var(--bege-35); margin-left: 10px; vertical-align: middle; }
.mobile-menu .mm-sub { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 22px; }
.mobile-menu .mm-sub a { font-family: var(--f-sans); font-size: 15px; letter-spacing: .18em; color: var(--bege-60); }

/* ---------- Layout ---------- */
main { position: relative; z-index: 1; }
.section { padding: clamp(80px, 12vw, 160px) var(--gut); position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.sec-head .big { font-size: clamp(54px, 10vw, 150px); }
.sec-head .label { margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.sec-num { font-weight: 500; font-size: 12px; letter-spacing: .3em; color: var(--bege-35); }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--bordo); color: var(--bege); box-shadow: 0 10px 40px -12px rgba(158, 11, 15, .8); }
.btn-red:hover { background: var(--bordo-hi); }
.btn-line { border: 1px solid var(--bege-35); }
.btn-line:hover { border-color: var(--bege); }
.btn .play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px var(--gut) 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--preto); }
.hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,.2) 0%, rgba(14,14,14,.1) 50%, var(--preto) 100%); }

/* Fundo com profundidade: timelines desfocadas correndo + luzes bordô */
.depth { position: absolute; inset: -10% -20%; filter: blur(22px); }
.depth-row { position: absolute; left: 0; display: flex; gap: 2.2vw; width: max-content; animation: drift 38s linear infinite; }
.depth-row.r2 { animation-direction: reverse; animation-duration: 52s; }
.depth-row span { height: 7vw; border-radius: 1.2vw; background: rgba(63, 61, 57, .55); }
.depth-row span.on { background: rgba(158, 11, 15, .75); }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.blob { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(158, 11, 15, .55), transparent 65%); animation: float 14s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(4vw, -3vh) scale(1.15); } }

.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero-kicker .rec { animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hero-title { font-weight: 300; font-size: clamp(46px, 8.6vw, 148px); line-height: .95; letter-spacing: -.045em; max-width: 13ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--snap); }
.ready .hero-title .line > span { transform: none; }
.ready .hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.hero-title b { font-weight: 800; display: inline-flex; align-items: center; gap: .14em; }
.hero-title b .rec { width: .42em; height: .42em; }
.hero-sub { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; left: var(--gut); bottom: 46px; display: flex; align-items: center; gap: 14px; }
.hero-scroll i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--bege), transparent); animation: scrollcue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }
.hero-reel { position: absolute; right: var(--gut); bottom: 40px; width: min(300px, 32vw); aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; border: 1px solid var(--bege-12); cursor: pointer; }
.hero-reel video, .hero-reel .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-reel .hero-reel-cap { position: absolute; left: 12px; bottom: 10px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.hero-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.7)); }

/* ---------- Placeholder de vídeo (até entrar a mídia) ---------- */
.ph { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--preto-3); }
.ph::before { content: ""; position: absolute; inset: -20%; filter: blur(30px); background:
  radial-gradient(40% 50% at var(--x1, 25%) var(--y1, 40%), rgba(158, 11, 15, .55), transparent 70%),
  radial-gradient(45% 40% at var(--x2, 75%) var(--y2, 70%), rgba(63, 61, 57, .9), transparent 70%),
  linear-gradient(135deg, #1b1a18, #0f0e0d); animation: phmove 9s ease-in-out infinite alternate; }
@keyframes phmove { to { transform: translate(-4%, 3%) scale(1.08); } }
.ph-ui { position: absolute; inset: 12px; font-weight: 500; font-size: 10px; letter-spacing: .22em; color: var(--bege-35); }
.ph-ui span { position: absolute; }
.ph-ui .a { top: 0; left: 0; display: flex; align-items: center; gap: 6px; }
.ph-ui .b { top: 0; right: 0; }
.ph-ui .c { bottom: 0; right: 0; }
.ph-ui .a .rec { width: 7px; height: 7px; }
.ph-mark { position: absolute; inset: 0; display: grid; place-items: center; }
.ph-mark .mini-tl { display: flex; gap: 4px; width: 34%; height: 9px; position: relative; opacity: .6; }
.ph-mark .mini-tl span { flex: 1; border-radius: 2px; background: var(--tl); }
.ph-mark .mini-tl span:nth-child(3) { flex: 1.8; background: var(--bordo); }

/* ---------- Carrossel em destaque ---------- */
.reel-sec { padding-left: 0; padding-right: 0; }
.reel-sec .sec-head { padding: 0 var(--gut); }
.carousel { position: relative; }
.car-track {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px var(--gut) 30px; scroll-padding: 0 var(--gut); cursor: grab; overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.car-track.dragging * { pointer-events: none; }
.slide { flex: 0 0 auto; width: min(78vw, 1040px); scroll-snap-align: center; transition: opacity .5s var(--ease), transform .6s var(--ease); opacity: .38; transform: scale(.94); }
.slide.v { width: min(38vw, 420px); }
.slide.active { opacity: 1; transform: none; }
.slide-media { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--preto-3); cursor: pointer; }
.slide.v .slide-media { aspect-ratio: 9/16; max-height: 72vh; }
.slide-media video, .slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.75)); pointer-events: none; }
.slide-play { position: absolute; z-index: 3; left: 50%; top: 50%; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(14,14,14,.4); border: 1px solid var(--bege-35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translate(-50%, -50%) scale(.85); opacity: 0; transition: .35s var(--ease); }
.slide-play .play { width: 0; height: 0; margin-left: 4px; border-left: 16px solid var(--bege); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.slide.active .slide-media:hover .slide-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.slide-cap { position: absolute; z-index: 2; left: clamp(16px, 2.4vw, 32px); right: clamp(16px, 2.4vw, 32px); bottom: clamp(14px, 2.2vw, 28px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; pointer-events: none; }
.slide-cap h3 { font-weight: 800; font-size: clamp(20px, 2.8vw, 42px); line-height: 1; letter-spacing: -.03em; }
.slide-cap p { margin-top: 8px; font-size: 13px; color: var(--bege-60); }
.slide-cap .chip { flex: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--bege-35); font-weight: 500; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; background: rgba(14,14,14,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip .rec { width: 6px; height: 6px; }

.car-ctrl { display: flex; align-items: center; gap: 26px; padding: 0 var(--gut); }
.car-tl { position: relative; flex: 1; display: flex; gap: 6px; height: 34px; align-items: center; }
.car-tl button { flex: 1; height: 14px; border-radius: 3px; background: var(--tl); transition: background .3s, flex .5s var(--ease); position: relative; }
.car-tl button:hover { background: #57534d; }
.car-tl button.on { background: var(--bordo); flex: 2.4; }
.car-tl button .prog { position: absolute; inset: 0; border-radius: 3px; background: var(--bordo-hi); transform-origin: left; transform: scaleX(0); }
.car-tl .needle { position: absolute; top: 2px; bottom: 0; width: 2px; background: var(--bege); transition: left .55s var(--ease); pointer-events: none; }
.car-tl .needle::before { content: ""; position: absolute; top: -2px; left: -5px; width: 12px; height: 7px; background: var(--bege); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.car-arrows { display: flex; gap: 10px; }
.car-arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--bege-35); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.car-arrows button:hover { background: var(--bordo); border-color: var(--bordo); }
.car-arrows svg { width: 18px; height: 18px; stroke: var(--bege); fill: none; stroke-width: 1.6; }
.car-count { font-weight: 500; font-size: 12px; letter-spacing: .22em; color: var(--bege-60); font-variant-numeric: tabular-nums; min-width: 64px; }

/* ---------- Índice de categorias ---------- */
.cat-index { border-top: 1px solid var(--bege-12); }
.cat-row { position: relative; display: grid; grid-template-columns: 70px 1fr auto 40px; align-items: center; gap: 20px; padding: clamp(18px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--bege-12); overflow: hidden; }
.cat-row::before { content: ""; position: absolute; inset: 0; background: var(--bordo); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--snap); z-index: -1; }
.cat-row:hover::before { transform: scaleY(1); }
.cat-row .sec-num { transition: color .3s; }
.cat-row .big { font-size: calc(clamp(46px, 9vw, 138px) * var(--k, 1)); transition: transform .5s var(--ease), letter-spacing .5s var(--ease); }
.cat-row:hover .big { transform: translateX(18px); }
.cat-row .cat-desc { max-width: 320px; font-size: 14px; color: var(--bege-60); text-align: right; transition: color .3s; }
.cat-row:hover .cat-desc, .cat-row:hover .sec-num { color: var(--bege); }
.cat-row .arrow { width: 28px; height: 28px; stroke: var(--bege); fill: none; stroke-width: 1.4; transform: rotate(-45deg); transition: transform .4s var(--ease); }
.cat-row:hover .arrow { transform: none; }

.cursor-preview { position: fixed; z-index: 70; left: 0; top: 0; width: 320px; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-4deg); transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.cursor-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.cursor-preview video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Grid de trabalhos ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tab { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--bege-12); font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bege-60); transition: .25s; display: inline-flex; align-items: center; gap: 10px; }
.tab:hover { border-color: var(--bege-35); color: var(--bege); }
.tab.on { background: var(--bege); color: var(--preto); border-color: var(--bege); }
.tab sup { font-size: 9px; letter-spacing: .1em; opacity: .7; }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 26px); grid-auto-flow: dense; }
.card { grid-column: span 6; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.card.in { opacity: 1; transform: none; }
.card.v { grid-column: span 3; }
.card.wide { grid-column: span 12; }
.card-media { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--preto-3); cursor: pointer; }
.card.v .card-media { aspect-ratio: 9/16; }
.card.wide .card-media { aspect-ratio: 21/9; }
.card-media > video, .card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-media:hover > video, .card-media:hover > img, .card-media:hover .ph { transform: scale(1.04); }
.card-media .ph { transition: transform .8s var(--ease); }
.card-media .slide-play { width: 62px; height: 62px; }
.card-media:hover .slide-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-top: 16px; }
.card-meta h3 { font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.025em; line-height: 1.1; }
.card-meta p { font-size: 13px; color: var(--bege-60); margin-top: 4px; }
.card-meta .yr { font-weight: 500; font-size: 11px; letter-spacing: .24em; color: var(--bege-35); padding-top: 5px; }
.empty { padding: 80px 0; text-align: center; color: var(--bege-60); }

/* Página de categoria */
.cat-hero { padding: clamp(140px, 18vw, 220px) var(--gut) 40px; position: relative; overflow: hidden; }
.cat-hero .big { font-size: calc(clamp(70px, 17vw, 280px) * var(--k, 1)); margin-top: 18px; }
.cat-hero .big .rec { width: .14em; height: .14em; margin-left: .06em; vertical-align: baseline; }
.cat-hero p.lead { max-width: 560px; margin-top: 28px; font-size: clamp(17px, 1.6vw, 21px); color: var(--bege-60); }
.crumbs { display: flex; gap: 12px; align-items: center; }
.crumbs a { color: var(--bege-60); }
.crumbs a:hover { color: var(--bege); }
.cat-next { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 60px var(--gut) 0; border-top: 1px solid var(--bege-12); margin: 0 var(--gut); padding-left: 0; padding-right: 0; }
.cat-next a.big { font-size: clamp(40px, 7vw, 100px); transition: color .3s; }
.cat-next a.big:hover { color: var(--bordo-hi); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.about-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--preto-3); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: contrast(1.04) saturate(.95); }
.about-photo .ph-ui .c { color: var(--bege-60); }
.about-photo .ph-frame { position: absolute; inset: 0; display: grid; place-items: center; color: var(--bege-35); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; text-align: center; }
.about-lead { font-weight: 300; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.03em; }
.about-lead em { font-family: var(--f-serif); font-style: italic; font-weight: 300; color: var(--bege); }
.about-lead b { font-weight: 800; }
.about-text { margin-top: 34px; display: grid; gap: 18px; max-width: 620px; color: var(--bege-60); font-size: 17px; }
.stats { margin-top: 50px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--bege-12); }
.stat { padding: 26px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--bege-12); }
.stat b { display: block; font-family: var(--f-big); font-weight: normal; font-size: clamp(42px, 5vw, 76px); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--bege-60); }
.services { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Marquee de clientes ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--bege-12); border-bottom: 1px solid var(--bege-12); padding: 30px 0; }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: drift 40s linear infinite; }
.marquee-track span { font-weight: 800; font-size: clamp(22px, 3vw, 40px); letter-spacing: -.03em; color: var(--bege-35); white-space: nowrap; display: inline-flex; align-items: center; gap: 70px; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bordo); }

/* ---------- Contato ---------- */
.contact { text-align: center; overflow: hidden; }
.contact .big { font-size: clamp(70px, 16vw, 260px); }
.contact .big .q { color: var(--bordo-hi); }
.contact-sub { margin: 30px auto 0; max-width: 540px; color: var(--bege-60); font-size: 18px; }
.contact-sub em { font-family: var(--f-serif); color: var(--bege); }
.contact-actions { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-links { margin-top: 60px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.contact-links a { font-weight: 500; font-size: 14px; letter-spacing: .16em; color: var(--bege-60); border-bottom: 1px solid transparent; transition: .2s; }
.contact-links a:hover { color: var(--bege); border-color: var(--bordo); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; padding: 90px var(--gut) 60px; border-top: 1px solid var(--bege-12); display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: end; }
.footer-sig { display: inline-block; }
.footer-sig .label { margin-top: 18px; }
.footer-cols { display: flex; justify-content: flex-end; gap: clamp(30px, 6vw, 90px); flex-wrap: wrap; }
.footer-cols h4 { font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--bege-35); margin-bottom: 14px; }
.footer-cols a { display: block; font-size: 15px; color: var(--bege-60); padding: 3px 0; transition: color .2s; }
.footer-cols a:hover { color: var(--bege); }
.footer-copy { grid-column: 1 / -1; font-size: 12px; color: var(--bege-35); letter-spacing: .08em; }
.footer-copy b { color: var(--bege-60); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(8, 8, 8, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px var(--gut) 30px; }
.lightbox[hidden] { display: none; }
.lb-frame { position: relative; width: min(100%, calc((100vh - 200px) * 16 / 9)); aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; animation: lbIn .5s var(--ease); }
.lb-frame.v { width: min(100%, calc((100vh - 200px) * 9 / 16)); aspect-ratio: 9/16; }
.lb-frame iframe, .lb-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-frame .lb-soon { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.lb-frame .lb-soon p { position: relative; z-index: 2; color: var(--bege-60); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-info { margin-top: 20px; text-align: center; }
.lb-info h3 { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.lb-info p { font-size: 13px; color: var(--bege-60); margin-top: 4px; }
.lb-close { position: absolute; top: 18px; right: var(--gut); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--bege-35); font-size: 16px; transition: background .2s; }
.lb-close:hover { background: var(--bordo); border-color: var(--bordo); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* Transição entre páginas: flash de corte */
.cut-flash { position: fixed; inset: 0; z-index: 140; background: var(--bege); pointer-events: none; opacity: 0; }
.cut-flash.go { animation: cut .32s steps(3) forwards; }
@keyframes cut { 0% { opacity: .0; } 33% { opacity: .9; } 66% { opacity: .25; background: var(--bordo); } 100% { opacity: 0; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav-drop { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .hud-meta, .hud-corner { display: none; }
  .hero-reel { display: none; }
  .slide { width: 86vw; }
  .slide.v { width: 56vw; }
  .car-ctrl { flex-wrap: wrap; gap: 16px; }
  .car-tl { flex-basis: 100%; order: -1; }
  .cat-row { grid-template-columns: 40px 1fr 28px; }
  .cat-row .cat-desc { display: none; }
  .card, .card.wide { grid-column: span 12; }
  .card.v { grid-column: span 6; }
  .card.wide .card-media { aspect-ratio: 16/9; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .stat, .stat + .stat { padding: 20px 10px 0; }
  .footer { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { justify-content: flex-start; }
  .cursor-preview { display: none; }
}
@media (max-width: 480px) {
  .sig { font-size: 22px; }
  .hero-title { font-size: clamp(42px, 12.5vw, 64px); }
  .stat b { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Formato q (4:3 / quase quadrado) — proporção real vem do inline aspect-ratio */
.card.q { grid-column: span 4; }
.slide.q { width: min(56vw, 640px); }
.slide.q .slide-media { max-height: 72vh; }
.slide.v .slide-media, .slide.q .slide-media { margin: 0 auto; }
@media (max-width: 860px) {
  .card.q { grid-column: span 12; }
  .slide.q { width: 76vw; }
}

/* Selo de vídeo completo (com áudio) */
.badge-full { position: absolute; z-index: 3; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: var(--bordo); color: var(--bege); font-weight: 500; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; box-shadow: 0 6px 20px -6px rgba(158, 11, 15, .9); pointer-events: none; }
.badge-full .play { width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.slide-media .badge-full { top: clamp(14px, 2vw, 24px); left: clamp(16px, 2.4vw, 32px); }

/* ---------- Artistas: feed contínuo, bordas em degradê, foco no centro ---------- */
.artists-sec { padding-left: 0; padding-right: 0; overflow: hidden; }
.artists-sec .sec-head { padding: 0 var(--gut); }
.artists-sub { max-width: 340px; color: var(--bege-60); font-size: 16px; }
.artists-sub em { font-family: var(--f-serif); font-style: italic; color: var(--bege); }
.artists { position: relative; cursor: grab; touch-action: pan-y; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
.artists:active { cursor: grabbing; }
.artists-track { display: flex; gap: clamp(14px, 2vw, 28px); width: max-content; padding: 30px 0 10px; will-change: transform; }
.artist { --f: 0; flex: 0 0 auto; width: clamp(190px, 21vw, 300px); margin: 0;
  transform: scale(calc(.86 + var(--f) * .14)); opacity: calc(.45 + var(--f) * .55); transition: none; }
.artist-photo { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--preto-3);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); outline: 1px solid rgba(158, 11, 15, calc(var(--f) * .9)); outline-offset: -1px; }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(calc(1 - var(--f))) contrast(1.05); pointer-events: none; }
.artist-photo .ph { position: absolute; inset: 0; }
.artist-soon { position: absolute; inset: auto 0 18px; text-align: center; font-weight: 500; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--bege-35); }
.artist figcaption { margin-top: 14px; font-weight: 800; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.02em; text-align: center; }
@media (max-width: 860px) {
  .artist { width: 58vw; }
  .artists { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
}

/* Título de seção em destaque (vermelho), pra separar da lista bege embaixo */
.big-red { color: var(--bordo-hi); }

.card-meta p:empty, .slide-cap p:empty { display: none; }
