/* ============================================================
   Estúdio RF · folha de estilo v4 (portfólio e currículo)
   Base: sala de edição (cinza neutro, texto quente, âmbar).
   Cada capítulo do portfólio tem a sua própria direção de arte.
   ============================================================ */

@font-face { font-family: "Archivo"; src: url(assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url(assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/instrument-sans-latin-wdth-normal.woff2) format("woff2-variations"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/instrument-sans-latin-ext-wdth-normal.woff2) format("woff2-variations"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces-latin-full-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(assets/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #121212; --bg-2: #181818; --panel: #1f1f1f;
  --line: #2b2b2b; --line-2: #3a3a3a;
  --ink: #ece8e1; --ink-2: #b3ada3; --ink-3: #8c867d;
  --accent: #ffb23e; --accent-2: #ffc56a; --accent-ink: #1c1405;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --body: "Instrument Sans", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --row: 210px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .7s var(--ease); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 95; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: .8rem; letter-spacing: -.02em; }
.brand-name { font-family: var(--display); font-weight: 750; font-stretch: 108%; font-size: 1.04rem; letter-spacing: -.01em; }
.brand-sub { font-size: .8rem; color: var(--ink-3); padding-left: 10px; border-left: 1px solid var(--line-2); }

/* ---------- barra ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 24px; padding: 16px var(--gutter); transition: background .4s, padding .4s var(--ease), border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.bar.scrolled { padding-top: 10px; padding-bottom: 10px; background: rgba(14,14,14,.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgba(255,255,255,.07); }
.bar.hide { transform: translateY(-110%); }
body:not(.home) .bar { position: sticky; }
.nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav a { position: relative; text-decoration: none; font-size: .92rem; color: var(--ink-2); transition: color .2s; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after, .nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav .nav-cta { color: var(--accent-ink); background: var(--accent); padding: 8px 15px; border-radius: 999px; font-weight: 600; white-space: nowrap; transition: background .2s, transform .3s var(--ease); }
.nav .nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
.nav-cta .cta-s { display: none; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: rgba(0,0,0,.25); }
.lang button { background: none; border: 0; padding: 6px 10px; font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); cursor: pointer; transition: color .2s, background .2s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; background: none; cursor: pointer; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--accent-2); }
.btn-line { border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink-2); }
.btn-glass { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.16); }

/* ---------- claquete de abertura ---------- */
.slate { position: fixed; inset: 0; z-index: 200; background: #0a0a0a; display: grid; place-items: center; }
.slate[hidden] { display: none; }
.slate-board { width: min(440px, 82vw); transform-origin: center; }
.slate-clap { height: 46px; display: flex; overflow: hidden; border-radius: 6px 6px 0 0; transform-origin: 0 100%; transform: rotate(-24deg); background: #0a0a0a; border: 2px solid #ece8e1; }
.slate-clap i { flex: 1; background: repeating-linear-gradient(115deg, #ece8e1 0 24px, #0a0a0a 24px 48px); }
.slate-body { display: grid; gap: 10px; padding: 20px 22px 22px; border: 2px solid #ece8e1; border-top: 0; border-radius: 0 0 8px 8px; background: #111; }
.slate-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.2rem; }
.slate-tc { font: 400 clamp(1.6rem, 6vw, 2.4rem) var(--mono); color: var(--accent); letter-spacing: .02em; }
.slate-row { font: 400 .78rem var(--mono); color: var(--ink-2); letter-spacing: .08em; }
.slate-row b { color: var(--ink-3); font-weight: 400; margin-right: 4px; }

/* ---------- hero em tela cheia ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero-frame { position: absolute; inset: 0; overflow: hidden; background: #000; transform-origin: 50% 40%; will-change: transform, border-radius; }
.hero-frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 82%, rgba(0,0,0,.92) 100%); pointer-events: none; }
.hero-over { position: absolute; left: 0; right: 0; bottom: 168px; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: end; pointer-events: none; }
.hero-over > * { pointer-events: auto; }
.hero-h1 { margin: 0; font-family: var(--display); line-height: .9; letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.hero-h1 .l1 { display: block; font-weight: 850; font-stretch: 125%; font-size: clamp(3rem, 9vw, 8.6rem); }
.hero-h1 .l2 { display: block; font-weight: 300; font-stretch: 100%; font-size: clamp(1.5rem, 3.6vw, 3.2rem); letter-spacing: -.025em; color: rgba(255,255,255,.78); margin-top: .2em; }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.02rem; margin: 0 0 22px; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reel-label { position: absolute; right: var(--gutter); top: 96px; display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); cursor: pointer; text-align: left; background: rgba(10,10,10,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600; color: #fff; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s; max-width: calc(100% - 2 * var(--gutter)); }
.reel-label.on { opacity: 1; transform: none; }
.reel-label:hover { background: rgba(10,10,10,.85); }
.reel-label small { color: rgba(255,255,255,.7); font-weight: 500; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-label .go { color: var(--accent); }

/* timeline do reel, acoplada ao hero */
.tl { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; z-index: 3; background: rgba(14,14,14,.62); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 14px 12px; user-select: none; }
.tl-head { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: var(--ink-3); margin-bottom: 8px; gap: 12px; }
.tl-name { font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.tl-tc { font-family: var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-tc #tc-now { color: var(--accent); }
.tl-ruler { position: relative; height: 14px; margin-left: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.tl-ruler i { position: absolute; bottom: 0; width: 1px; height: 5px; background: rgba(255,255,255,.18); }
.tl-ruler i.major { height: 9px; background: var(--ink-3); }
.tl-ruler b { position: absolute; top: -2px; font: 400 .6rem var(--mono); color: var(--ink-3); transform: translateX(3px); }
.tl-track { display: flex; align-items: stretch; margin-top: 6px; }
.tl-track-id { width: 30px; flex: none; font-size: .66rem; font-weight: 600; color: var(--ink-3); display: flex; align-items: center; }
.tl-clips { position: relative; flex: 1; min-width: 0; display: flex; gap: 2px; height: 44px; }
.tl-clip { position: relative; flex: 1 1 0; min-width: 0; border: 0; padding: 0 0 0 7px; cursor: pointer; text-align: left; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; color: var(--ink-2); font-size: .66rem; font-weight: 600; line-height: 1.2; display: flex; flex-direction: column; justify-content: center; transition: background .25s, color .25s; }
.tl-clip::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; background-image: var(--th); transition: opacity .25s; }
.tl-clip span { position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 4px; }
.tl-clip:hover { color: #fff; }
.tl-clip:hover::before { opacity: .55; }
.tl-clip.on { background: var(--accent); color: var(--accent-ink); }
.tl-clip.on::before { opacity: 0; }
.tl-playhead { position: absolute; top: 34px; bottom: 6px; width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; left: 44px; }
.tl-playhead::before { content: ""; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--accent); }
.tl.build .tl-clip { animation: drop .7s var(--ease) both; animation-delay: calc(var(--i) * 55ms + .2s); }
@keyframes drop { from { transform: translateY(-14px) scaleX(.6); transform-origin: left; opacity: 0; } to { transform: none; opacity: 1; } }
.tl-tip { position: absolute; bottom: calc(100% + 8px); z-index: 5; width: 210px; pointer-events: none; background: #141414; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 34px -12px rgba(0,0,0,.85); opacity: 0; transform: translate(-50%, 6px); transition: opacity .2s, transform .25s var(--ease); }
.tl-tip.on { opacity: 1; transform: translate(-50%, 0); }
.tl-tip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.tl-tip span { display: block; padding: 7px 9px; font-size: .74rem; color: var(--ink-2); }
.tl-tip b { color: var(--ink); font-weight: 600; margin-right: 6px; }

/* ---------- manifesto ---------- */
.manifesto { max-width: 1240px; margin: 0 auto; padding: clamp(110px, 18vh, 200px) var(--gutter) clamp(80px, 12vh, 140px); }
.manifesto-p { margin: 0; font-family: var(--display); font-weight: 600; font-stretch: 105%; font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.025em; text-wrap: pretty; }
.manifesto-p .w { opacity: .14; transition: opacity .2s; }
.no-motion .manifesto-p .w { opacity: 1; }
.manifesto-langs { margin: 34px 0 0; color: var(--ink-3); font-size: .95rem; }

/* ---------- cabeçalhos de seção ---------- */
.edit-head { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 48px; align-items: end; }
.kicker { grid-column: 1 / -1; font: 400 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.mega { grid-column: 1 / -1; margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(3rem, 9.4vw, 9.4rem); line-height: .84; letter-spacing: -.05em; }
.edit-lead { grid-column: 2; margin: 8px 0 0; color: var(--ink-2); font-size: clamp(1.02rem, 1.3vw, 1.16rem); max-width: 48ch; }

/* ---------- capítulos ---------- */
.ch { position: relative; padding: clamp(80px, 12vh, 130px) 0; --c-accent: var(--accent); --c-ink: var(--ink); --c-ink-2: var(--ink-2); --c-line: var(--line-2); color: var(--c-ink); }
.ch-head { max-width: var(--max); margin: 0 auto 40px; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.ch-num { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font: 400 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
.ch-num::after { content: ""; flex: 1; height: 1px; background: var(--c-line); max-width: 220px; }
.ch-h { margin: 0; font-family: var(--display); font-weight: 850; font-stretch: 118%; font-size: clamp(2.6rem, 6.6vw, 6.2rem); line-height: .9; letter-spacing: -.04em; text-wrap: balance; }
.ch-p { margin: 0 0 14px; color: var(--c-ink-2); font-size: 1.02rem; max-width: 50ch; }
.ch .craft { grid-column: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ch .craft li { font-size: .76rem; font-weight: 500; color: var(--c-ink-2); border: 1px solid var(--c-line); border-radius: 999px; padding: 3px 10px; }
.ch-hint { max-width: var(--max); margin: 18px auto 0; padding: 0 var(--gutter); font: 400 .74rem var(--mono); color: var(--c-ink-2); letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.ch-hint::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* cartão genérico */
.card { position: relative; display: block; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.card-media { display: block; position: relative; overflow: hidden; background: #1c1c1c; border-radius: 10px; aspect-ratio: var(--ar, 1.7778); }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform 1.1s var(--ease), filter .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); filter: brightness(.8); }
.card-media video { opacity: 0; transition: opacity .35s; }
.card.playing .card-media video { opacity: 1; }
.card-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .3s; pointer-events: none; }
.card:hover .card-media::after, .card:focus-visible .card-media::after { box-shadow: inset 0 0 0 2px var(--c-accent, var(--accent)); }
.card:focus-visible { outline: none; }
.card-dur { position: absolute; right: 10px; bottom: 10px; font: 400 .7rem var(--mono); background: rgba(10,10,10,.72); padding: 3px 7px; border-radius: 4px; color: #fff; transition: opacity .3s; }
.card-badge { position: absolute; left: 10px; top: 10px; font-size: .68rem; font-weight: 600; background: rgba(10,10,10,.6); color: #fff; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.14); opacity: 0; transition: opacity .3s; }
.card-prog i { display: block; height: 100%; background: var(--c-accent, var(--accent)); transform: scaleX(0); transform-origin: left; }
.card.playing .card-prog { opacity: 1; }
.card.playing .card-dur { opacity: 0; }
.card-txt { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; }
.card-cat { font-size: .76rem; color: var(--c-ink-2, var(--ink-3)); }
.card-h { font-size: 1rem; font-weight: 600; line-height: 1.3; text-wrap: pretty; }
.card-sub { font-size: .76rem; color: var(--ink-3); }

/* faixa horizontal (película e carrossel) */
.hscroll { position: relative; overflow: hidden; }
.htrack { display: flex; gap: 28px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.mobile-h .hscroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mobile-h .hscroll::-webkit-scrollbar { display: none; }
.mobile-h .htrack > * { scroll-snap-align: center; }

/* ===== 01 · DOCUMENTÁRIO: película de cinema ===== */
.ch-doc { --c-accent: #e9b25a; --c-ink: #efe4cf; --c-ink-2: #b9a98c; --c-line: #4a3f30; }
.ch-doc .ch-h { font-family: var(--serif); font-weight: 600; font-stretch: 100%; letter-spacing: -.03em; font-variation-settings: "opsz" 144; }
.film { padding: 34px 0; background: #070605; position: relative; }
.film::before, .film::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; background-image: radial-gradient(circle at 50% 50%, #1b1712 0 5px, transparent 5.5px), linear-gradient(#070605, #070605); background-size: 30px 22px, 100% 100%; background-repeat: repeat-x; z-index: 2; pointer-events: none; }
.film::before { top: 6px; } .film::after { bottom: 6px; }
.film .htrack { gap: 18px; }
.film .card { width: clamp(300px, 54vw, 880px); }
.film .card-media { border-radius: 4px; }
.film .card-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); }
.film .card-txt { padding: 14px 4px 0; }
.film .card-h { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }

/* ===== 02 · YOUTUBE: grade de estúdio ===== */
.ch-yt { --c-accent: #ff3b30; --c-ink: #f4f1ec; --c-ink-2: #b7b0a8; --c-line: #3b2a2a; }
.ch-yt .ch-h::before { content: ""; display: inline-block; width: .62em; height: .46em; margin-right: .18em; vertical-align: .06em; border-radius: .14em; background: var(--c-accent); }
.bento { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; grid-auto-flow: dense; }
.bento .card { grid-column: span 4; }
.bento .card.w-big { grid-column: span 8; grid-row: span 2; }
.bento .card.w-big .card-media { aspect-ratio: auto; height: calc(100% - 64px); min-height: 360px; }
.bento .card.w-tall { grid-column: span 2; }
.bento .card.w-tall .card-h { font-size: .9rem; }

/* ===== 03 · CURSOS: editorial claro ===== */
.ch-course { --c-accent: #1f3dd6; --c-ink: #191714; --c-ink-2: #4f4a43; --c-line: #c9c0b1; background: #ece6da; }
.ch-course .ch-h { font-family: var(--serif); font-weight: 500; font-stretch: 100%; letter-spacing: -.03em; }
.ch-course .card-sub, .ch-course .card-cat { color: var(--c-ink-2); }
.duo { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); }
.duo .card:nth-child(2) { margin-top: clamp(40px, 10vh, 120px); }
.duo .card-media { border-radius: 2px; box-shadow: 0 30px 60px -30px rgba(40,30,10,.55); }
.duo .card-h { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.15; margin-top: 4px; }
.duo .card-d { color: var(--c-ink-2); font-size: .98rem; margin: 8px 0 0; max-width: 46ch; }

/* ===== 04 · REELS: carrossel de celulares ===== */
.ch-reels { --c-accent: #d7ff3a; --c-ink: #f2f2ee; --c-ink-2: #a9aaa2; --c-line: #33352c; }
.ch-reels .ch-h span { color: var(--c-accent); }
.phones { padding: 30px 0 10px; perspective: 1400px; }
.phones .htrack { gap: 34px; align-items: center; }
.phone { width: clamp(200px, 19vw, 280px); transform-style: preserve-3d; }
.phone .card-media { border-radius: 30px; aspect-ratio: 9 / 19.5; border: 6px solid #1e1f1a; background: #111; box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.phone .card-media::before { content: ""; position: absolute; top: 9px; left: 50%; width: 30%; height: 16px; margin-left: -15%; background: #0a0a0a; border-radius: 99px; z-index: 2; }
.phone .card-media::after { border-radius: 24px; }
.phone .card-txt { text-align: center; align-items: center; }

/* ===== 05 · ANIMAÇÃO EM CÓDIGO: campo de partículas ===== */
.ch-code { --c-accent: #57d6ff; --c-ink: #e8f3ff; --c-ink-2: #8fa6bd; --c-line: #1f3247; overflow: hidden; }
.ch-code canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }
.ch-code > *:not(canvas) { position: relative; z-index: 1; }
.mosaic { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); columns: 3 300px; column-gap: 22px; }
.mosaic .card { break-inside: avoid; margin-bottom: 26px; width: 100%; }
.mosaic .card-media { border-radius: 8px; background: #0b1424; }
.mosaic .card-media::after { box-shadow: inset 0 0 0 1px rgba(87,214,255,.18); }

/* entrada dos cartões */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ---------- trilho de capítulos (desktop) ---------- */
.rail { position: fixed; right: 18px; top: 50%; z-index: 55; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.rail.on { opacity: 1; pointer-events: auto; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; color: var(--ink-3); font: 400 .7rem var(--mono); }
.rail a span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .3s var(--ease); white-space: nowrap; background: rgba(14,14,14,.8); padding: 3px 8px; border-radius: 999px; color: var(--ink); font-family: var(--body); font-size: .76rem; }
.rail a i { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: width .35s var(--ease), background .3s; }
.rail a:hover span { opacity: 1; transform: none; }
.rail a.on { color: var(--accent); }
.rail a.on i { width: 34px; background: var(--accent); }

/* ---------- IA ---------- */
.ai { padding: clamp(90px, 14vh, 150px) 0 clamp(70px, 10vh, 110px); }
.tabs { max-width: var(--max); margin: 0 auto 26px; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; gap: 8px; }
.tab { border: 1px solid var(--line-2); background: rgba(255,255,255,.02); border-radius: 999px; padding: 9px 16px; font-size: .88rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s, background .25s; }
.tab:hover { color: var(--ink); border-color: var(--ink-3); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 600; }
.ai-panel { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ai-intro { color: var(--ink-2); max-width: 66ch; margin: 0 0 26px; }
.clips { display: flex; flex-wrap: wrap; gap: 22px 16px; --row: 200px; }
.clips::after { content: ""; flex: 9999 1 0; }
.clips.tall { --row: 300px; }
.clips .card { flex: var(--ar) 1 calc(var(--ar) * var(--row)); min-width: 0; max-width: calc(var(--ar) * var(--row) * 1.6); }
.more { margin-top: 30px; }
.audio-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.audio { display: grid; grid-template-columns: 46px 1fr; gap: 6px 14px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.audio-btn { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; display: grid; place-items: center; }
.audio-btn::before { content: ""; margin-left: 3px; border: 8px solid transparent; border-left: 12px solid currentColor; border-right: 0; }
.audio.on .audio-btn { background: var(--accent); color: var(--accent-ink); }
.audio.on .audio-btn::before { margin: 0; width: 12px; height: 14px; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.audio-h { font-weight: 600; font-size: .95rem; }
.audio-bar { height: 4px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.audio-bar i { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- como funciona ---------- */
.steps { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 11vh, 120px) var(--gutter) 0; }
.steps-h { font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.03em; margin: 0 0 36px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.steps-list::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.steps-list li { position: relative; padding: 32px 28px 0 0; }
.steps-list li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 4px; background: var(--bg); border: 2px solid var(--accent); }
.steps-list li:first-child::before { background: var(--accent); }
.step-n { font: 400 .74rem var(--mono); color: var(--accent); display: block; margin-bottom: 6px; }
.step-h { font-weight: 700; font-size: 1.08rem; margin: 0 0 6px; }
.step-p { color: var(--ink-2); font-size: .93rem; margin: 0; max-width: 32ch; }

/* ---------- contato ---------- */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 14vh, 160px) var(--gutter) clamp(70px, 10vh, 120px); }
.contact-h { font-family: var(--display); font-weight: 900; font-stretch: 122%; font-size: clamp(2.8rem, 8vw, 7.4rem); line-height: .9; letter-spacing: -.045em; margin: 0 0 28px; max-width: 14ch; }
.contact-h em { font-style: normal; color: var(--accent); }
.contact-p { color: var(--ink-2); font-size: 1.12rem; max-width: 52ch; margin: 0 0 32px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.contact-link { display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-weight: 600; transition: border-color .2s, background .25s, transform .35s var(--ease); }
.contact-link:hover { transform: translateY(-2px); }
.contact-link.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.contact-link.primary:hover { background: var(--accent-2); }
.contact-link:not(.primary):hover { border-color: var(--ink-2); }
.contact-link svg { width: 20px; height: 20px; flex: none; }
.contact-offer { color: var(--ink-3); max-width: 60ch; margin: 0; font-size: .92rem; }

/* ---------- rodapé ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-nav a { text-decoration: none; color: var(--ink-2); font-size: .88rem; }
.foot-nav a:hover { color: var(--ink); }
.foot-c { margin: 0 0 0 auto; color: var(--ink-3); font-size: .8rem; }

/* ---------- selo que segue o mouse ---------- */
.cursor-pill { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px 9px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.5); transition: opacity .2s, transform .15s linear; }
.cursor-pill::before { content: ""; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; margin-left: 2px; }
.cursor-pill.on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1); }
.has-pill .card, .has-pill .card * { cursor: none; }

/* ---------- player ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6,6,6,.96); display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.lb[hidden] { display: none; }
.lb-amb { position: absolute; inset: -10%; z-index: 0; background-size: cover; background-position: center; filter: blur(70px) saturate(1.3); opacity: .35; transform: scale(1.1); pointer-events: none; }
.lb-inner { position: relative; z-index: 1; width: min(1400px, 100%); max-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: center; animation: fade .35s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lb-stage { display: flex; justify-content: center; align-items: center; min-height: 0; }
.lb-stage video, .lb-stage img { max-width: 100%; max-height: calc(100vh - 48px); border-radius: 8px; background: #000; }
.lb-stage audio { width: 100%; }
.lb-cat { color: var(--accent); font-weight: 600; font-size: .85rem; margin: 0 0 8px; }
.lb-h { font-family: var(--display); font-stretch: 108%; font-weight: 750; font-size: 1.6rem; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; }
.lb-p { color: var(--ink-2); margin: 0 0 14px; font-size: .95rem; }
.lb-meta { font: 400 .74rem var(--mono); color: var(--ink-3); margin: 0 0 24px; }
.lb-nav { display: flex; gap: 8px; }
.lb-nav button { border: 1px solid var(--line-2); background: none; border-radius: 999px; min-width: 46px; height: 42px; cursor: pointer; font-size: 1rem; }
.lb-nav button:hover { border-color: var(--ink-2); }
.lb-nav .lb-x { margin-left: auto; padding: 0 18px; font-size: .88rem; font-weight: 600; }
.lb-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; gap: 8px; overflow-x: auto; padding: 12px 24px 16px; scrollbar-width: none; background: linear-gradient(rgba(8,8,8,0), rgba(8,8,8,.85) 40%); }
.lb-strip::-webkit-scrollbar { display: none; }
.lb-strip button { flex: none; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--panel); cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.lb-strip button:hover { opacity: .9; }
.lb-strip button.on { opacity: 1; border-color: var(--accent); }
.lb-strip img { height: 100%; width: auto; display: block; }
.lb.has-strip { padding-bottom: 96px; }
.lb.has-strip .lb-stage video, .lb.has-strip .lb-stage img { max-height: calc(100vh - 140px); }

/* ---------- entrada ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .hero-over { grid-template-columns: 1fr; bottom: 150px; }
  .hero-side { display: none; }
  .bento .card, .bento .card.w-big { grid-column: span 6; grid-row: auto; }
  .bento .card.w-big .card-media { height: auto; min-height: 0; aspect-ratio: var(--ar, 1.7778); }
  .bento .card.w-tall { grid-column: span 3; }
  .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps-list::before { display: none; }
  .rail { display: none; }
}
@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
  .brand-sub { display: none; }
  .edit-head, .ch-head { grid-template-columns: 1fr; }
  .edit-lead { grid-column: 1; }
  .ch .craft { grid-column: 1; }
  .duo { grid-template-columns: 1fr; }
  .duo .card:nth-child(2) { margin-top: 0; }
  .lb-inner { grid-template-columns: 1fr; gap: 16px; overflow-y: auto; }
  .lb-stage video, .lb-stage img { max-height: 62vh; }
  .lb { align-items: flex-start; padding: 16px; overflow-y: auto; }
  .lb.has-strip { padding-bottom: 86px; }
  .lb-strip button { height: 44px; }
  .foot-c { margin-left: 0; width: 100%; }
  .reel-label { top: auto; bottom: 186px; right: auto; left: var(--gutter); }
}
@media (max-width: 560px) {
  .bar { gap: 10px; padding: 12px 16px; }
  .brand-name { font-size: .95rem; }
  .nav .nav-cta { padding: 7px 12px; font-size: .82rem; }
  .nav-cta .cta-l { display: none; }
  .nav-cta .cta-s { display: inline; }
  .lang button { padding: 6px 8px; }
  .hero { min-height: 560px; }
  .hero-over { bottom: 132px; }
  .tl { bottom: 14px; padding: 8px 10px 10px; }
  .tl-clip span + span { display: none; }
  .tl-clips { height: 34px; }
  .tl-head .tl-name { display: none; }
  .reel-label { bottom: 160px; }
  .bento .card, .bento .card.w-big { grid-column: span 12; }
  .bento .card.w-tall { grid-column: span 6; }
  .clips { --row: 150px; gap: 18px 12px; }
  .clips.tall { --row: 250px; }
  .clips .card { max-width: none; }
  .steps-list { grid-template-columns: 1fr; row-gap: 28px; }
  .contact-link { width: 100%; }
  .film .card { width: 82vw; }
  .phone { width: 62vw; }
}

/* ===== vídeo "Como é trabalhar com a gente" ===== */
.steps-k { font: 400 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.steps-p { color: var(--ink-2); font-size: 1.05rem; max-width: 62ch; margin: -18px 0 28px; }
.how-player { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0b0b0b; margin: 0 0 64px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 40px 90px -40px rgba(0,0,0,.9); }
.how-player video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #0b0b0b; }
.how-play { position: absolute; left: 50%; top: 82%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px 16px 20px;
  border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 1.05rem var(--body); cursor: pointer; box-shadow: 0 20px 50px -12px rgba(0,0,0,.7);
  transition: transform .2s var(--ease), background .2s; }
.how-play:hover { transform: translate(-50%, -52%); background: var(--accent-2); }
.how-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.how-player.playing .how-play { opacity: 0; pointer-events: none; }
.how-ic { display: inline-block; width: 0; height: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.btn-how .how-ic { border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; margin-right: 8px; }
@media (max-width: 720px) {
  .how-player { aspect-ratio: 9 / 16; width: min(100%, calc(78vh * 9 / 16)); margin-left: auto; margin-right: auto; }
  .how-play { top: 88%; }
  .steps-p { margin-top: -10px; }
}
