/* ==========================================================
   Henzo Canabarro — portfólio
   Cores e fontes ficam aqui em cima para trocar fácil.
   ========================================================== */
:root {
  --bg: #0c0b0b;
  --bg-2: #151313;
  --fg: #f3efe9;
  --muted: #8f8a84;
  --line: rgba(243, 239, 233, .12);
  --accent: #e8643f;      /* coral */
  --accent-2: #ff8a63;
  --light: #ecebe7;       /* seção clara */
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

section { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); }

.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 2px; }
h2 { font-size: clamp(36px, 6vw, 84px); line-height: .98; letter-spacing: -.035em; font-weight: 700; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: background .3s, transform .3s;
}
.btn span { transition: transform .3s; }
.btn:hover { background: var(--accent-2); }
.btn:hover span { transform: translateX(4px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 20px 34px; font-size: clamp(16px, 2vw, 22px); }

/* ---------- placeholder de mídia ----------
   Cada .media mostra um degradê animado até você colocar o
   arquivo real (o vídeo/imagem cobre o placeholder). */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: #1b1818; isolation: isolate; }
.media::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, hsl(var(--h, 20) 70% 55% / .85), transparent 70%),
    radial-gradient(50% 60% at 75% 70%, hsl(calc(var(--h, 20) + 40) 60% 35% / .9), transparent 70%),
    hsl(var(--h, 20) 25% 12%);
  animation: drift 14s ease-in-out infinite alternate;
}
.media::after { /* granulado */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.media video, .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media .ph {
  position: absolute; left: 12px; bottom: 10px; z-index: 0;
  font-size: 11px; letter-spacing: .05em; color: rgba(255,255,255,.55);
  font-family: ui-monospace, Menlo, monospace;
}
@keyframes drift { to { transform: translate(8%, -6%) rotate(8deg) scale(1.1); } }
.media:has(> video, > img)::before { animation: none; opacity: .3; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; pointer-events: none; z-index: 200;
  transform: translate(-50%, -50%); transition: width .25s, height .25s; display: none;
}
.cursor.big { width: 64px; height: 64px; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- topo ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
body.nav-hidden:not(.menu-open) .topbar { transform: translateY(-110%); }
.logo { font-weight: 700; font-size: 13px; letter-spacing: .12em; display: flex; align-items: center; gap: 10px; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,100,63,.2); }
.logo, .burger span { transition: color .3s, background .3s; }
body.on-light:not(.menu-open) .logo { color: #141212; }
body.on-light:not(.menu-open) .burger span { background: #141212; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.burger { width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; border-radius: 50%; }
.burger span { display: block; width: 22px; height: 2px; background: var(--fg); transition: transform .35s; }
body.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- menu tela cheia ---------- */
.menu {
  position: fixed; inset: 0; z-index: 110; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.77,0,.18,1);
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
body.menu-open { overflow: hidden; }
.menu-list { list-style: none; }
.menu-list li { display: flex; align-items: flex-start; gap: 20px; overflow: hidden; }
.menu-list span { font-size: 13px; color: var(--muted); padding-top: 1.1em; width: 24px; }
.menu-list a {
  font-size: clamp(40px, 8vw, 96px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02;
  color: var(--fg); transition: color .3s, transform .3s; display: inline-block;
}
.menu-list a:hover { color: var(--accent); transform: translateX(10px); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; color: var(--muted); font-size: 14px; }
.menu-foot a:hover { color: var(--fg); }

/* ---------- botão som ---------- */
.sound {
  position: fixed; left: var(--gutter); bottom: 20px; z-index: 100;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .14em; font-weight: 600;
  background: rgba(20,18,18,.7); backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
}
.sound-bars { display: flex; align-items: flex-end; gap: 2px; height: 10px; }
.sound-bars i { width: 2px; height: 3px; background: var(--fg); }
.sound[aria-pressed="true"] .sound-bars i { animation: bar .8s ease-in-out infinite alternate; background: var(--accent); }
.sound[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: .2s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: .4s; }
@keyframes bar { to { height: 10px; } }

/* ==========================================================
   1. HERO
   ========================================================== */
.hero {
  min-height: 100svh; padding-top: clamp(64px, 10vh, 110px); padding-bottom: 0;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-text { position: relative; z-index: 2; text-align: center; }
.hero-title { font-size: clamp(54px, 11vw, 168px); line-height: .9; letter-spacing: -.05em; }
.hero-title .line { display: block; }
.hero-title .light { font-weight: 300; font-style: italic; letter-spacing: -.04em; }
.hero-title .strong { font-weight: 800; color: var(--accent); }
.hero-title .strong em { color: var(--fg); }
.hero-name { margin-top: 28px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.hero-role { margin: 6px 0 30px; color: var(--muted); font-size: clamp(14px, 1.4vw, 17px); }

.reel-badge {
  position: absolute; z-index: 3; right: clamp(16px, 7vw, 120px); top: 46%;
  width: 116px; height: 116px; display: grid; place-items: center;
}
.reel-badge svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.reel-badge text { fill: var(--fg); font-size: 10.5px; letter-spacing: 3px; font-weight: 600; }
.reel-play {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; font-size: 14px; padding-left: 3px; transition: transform .3s;
}
.reel-badge:hover .reel-play { transform: scale(1.12); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-panels {
  position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 70px);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.2vw, 18px);
  width: min(1180px, 100%); align-items: start;
}
.panel { aspect-ratio: 9 / 15; }
.panel:nth-child(odd) { margin-top: 40px; }

/* ==========================================================
   2. FAIXA AUDIOVISUAL (horizontal fixa)
   ========================================================== */
.strip { height: 100svh; padding: 0; overflow: hidden; display: flex; align-items: center; }
.strip-bg {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  white-space: nowrap; font-size: clamp(90px, 18vw, 280px); font-weight: 800; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(243,239,233,.18); pointer-events: none;
}
.strip-track { position: relative; display: flex; gap: 3vw; padding: 0 12vw; align-items: center; }
.strip-item { flex: 0 0 auto; width: 38vw; aspect-ratio: 4 / 5; }
.strip-item.tall { width: 30vw; aspect-ratio: 9 / 16; }

/* ==========================================================
   3. APRESENTAÇÃO (seção clara)
   ========================================================== */
.intro { background: var(--light); color: #141212; border-radius: 28px 28px 0 0; }
.intro .eyebrow { color: #77716b; }
.intro-lines p {
  font-size: clamp(36px, 6.4vw, 96px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02;
  color: #141212;
}
.intro-body { max-width: 640px; margin-top: 48px; margin-left: auto; font-size: clamp(17px, 1.6vw, 21px); color: #3b3734; }

/* ==========================================================
   4. MOSAICO (3D)
   ========================================================== */
.mosaic { height: 100svh; padding: 0; overflow: hidden; }
.mosaic-stage { position: absolute; inset: 0; perspective: 900px; display: grid; place-items: center; }
.mosaic-title { position: relative; z-index: 0; text-align: center; font-size: clamp(44px, 8vw, 120px); }
.tile {
  position: absolute; left: 50%; top: 50%;
  width: clamp(130px, 17vw, 260px); aspect-ratio: 4 / 5; margin: calc(clamp(130px, 17vw, 260px) * -0.625) 0 0 calc(clamp(130px, 17vw, 260px) * -0.5);
  opacity: 0;
  will-change: transform, opacity; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

/* ==========================================================
   5. ÁREAS
   ========================================================== */
.area-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: minmax(300px, 34vw); gap: 14px; }
.area { border-radius: 20px; display: flex; align-items: flex-end; }
.area:first-child { grid-row: span 2; }
.area:nth-child(4) { grid-column: span 2; }
.area video, .area > img { filter: grayscale(1) brightness(.72); transition: filter .7s, transform 1.4s cubic-bezier(.2,.7,.2,1); }
.area.playing video, .area:hover > img { filter: none; }
.area:hover > img, .area.playing video { transform: scale(1.04); }
.area-photo > img { object-position: 50% 30%; }
.area-info {
  position: relative; z-index: 2; padding: clamp(20px, 2.5vw, 32px); width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.area h3 { font-size: clamp(26px, 3vw, 42px); letter-spacing: -.035em; line-height: 1; font-weight: 700; margin-bottom: 10px; }
.area p { max-width: 420px; color: rgba(243,239,233,.8); font-size: 15px; }
.area small { display: block; margin-top: 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,239,233,.55); }
.area-accent { background: var(--accent); position: relative; overflow: hidden; }
.area-accent .area-info { background: none; }
.area-accent p, .area-accent small { color: rgba(255,255,255,.88); }

/* ==========================================================
   6. FERRAMENTAS (cards)
   ========================================================== */
.tools { padding-bottom: clamp(40px, 6vw, 80px); }
.tools + .projects { padding-top: clamp(40px, 6vw, 80px); }
.tool-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 28px); }
.tool-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #161414, #0f0e0e);
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px, 2.6vw, 38px);
  transition: border-color .4s, transform .4s;
}
.tool-card::before { /* brilho que segue o mouse */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(232,100,63,.12), transparent 60%);
}
.tool-card:hover { border-color: rgba(243,239,233,.25); transform: translateY(-4px); }
.tool-card:hover::before { opacity: 1; }
.tc-head { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.tc-head i { flex: 1; height: 1px; background: var(--line); }
.tool-card h3 { font-size: clamp(24px, 2.3vw, 34px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 18px 0 26px; }
.tool-card ul { list-style: none; display: grid; gap: 16px; }
.tool-card li { display: grid; grid-template-columns: 46px auto 1fr; align-items: center; gap: 18px; font-size: clamp(16px, 1.35vw, 20px); }
.ti { width: 46px; height: 46px; flex: none; }
.adobe {
  display: grid; place-items: center; border-radius: 9px; border: 1.5px solid currentColor;
  font-weight: 700; font-size: 20px; letter-spacing: -.02em;
}
.adobe.ps { color: #31a8ff; background: #001e36; }
.adobe.ai { color: #ff9a00; background: #330000; }
.adobe.id { color: #ff3366; background: #49021f; }
.adobe.pr, .adobe.ae { color: #9999ff; background: #00005b; }
.adobe.vg { color: #cfcac4; background: #2a2727; border-color: #3a3636; width: 40px; height: 40px; font-size: 18px; }
.badge { font-style: normal; color: var(--accent); font-size: 14px; display: inline-flex; align-items: center; gap: 10px; justify-self: end; white-space: nowrap; }
.badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.tc-past { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
@media (max-width: 1100px) { .tool-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .tool-cards { grid-template-columns: 1fr; }
  .tool-card li { grid-template-columns: 40px 1fr; row-gap: 2px; }
  .ti { width: 40px; height: 40px; }
  .badge { grid-column: 2; justify-self: start; font-size: 12px; }
}

/* ==========================================================
   7. PROJETOS (lista com prévia)
   ========================================================== */
.project-list { list-style: none; border-top: 1px solid var(--line); }
.project-list a {
  display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px;
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line);
  transition: color .3s, padding .4s;
}
.project-list .num { font-size: 13px; color: var(--muted); }
.project-list .name { font-size: clamp(30px, 5.6vw, 82px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.project-list .tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.project-list:hover a { color: rgba(243,239,233,.3); }
.project-list a:hover { color: var(--accent); padding-left: 16px; }
.preview {
  position: fixed; left: 0; top: 0; z-index: 90; width: 300px; aspect-ratio: 4 / 5;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8);
  transition: opacity .3s, transform .3s;
}
.preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ==========================================================
   7b. OLHAR (olho de partículas)
   ========================================================== */
.gaze {
  min-height: 112svh; padding-top: 0; padding-bottom: clamp(60px, 8vw, 120px);
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.gaze-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 78%; }
.gaze-text { position: relative; z-index: 2; pointer-events: none; }
.gaze-title {
  font-size: clamp(52px, 10.5vw, 170px); line-height: .9; letter-spacing: -.055em; font-weight: 800;
}
.gaze-title .l { display: block; }
.gaze-body { max-width: 640px; margin-top: 32px; font-size: clamp(16px, 1.5vw, 20px); color: rgba(243,239,233,.75); }

/* ==========================================================
   8. SOBRE E PROCESSO
   ========================================================== */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 22px; }
.about-text h2 { margin-bottom: 28px; }
.about-text p { color: rgba(243,239,233,.75); font-size: clamp(16px, 1.4vw, 19px); margin-bottom: 16px; max-width: 620px; }
.process { margin-top: clamp(80px, 10vw, 140px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.steps li { --p: 0%; border-top: 2px solid var(--line); padding-top: 22px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: var(--p, 0%); background: var(--accent); }
.steps span { font-size: 12px; color: var(--accent); font-weight: 600; }
.steps h3 { font-size: 22px; letter-spacing: -.02em; margin: 10px 0 8px; }
.steps p { font-size: 14px; color: var(--muted); }

/* ==========================================================
   9. CONTATO
   ========================================================== */
.contact { text-align: center; min-height: 90svh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact .eyebrow { justify-content: center; }
.contact-title { font-size: clamp(54px, 11vw, 170px); line-height: .9; letter-spacing: -.055em; margin-bottom: 48px; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 40px; font-size: 15px; color: var(--muted); }
.contact-links a { border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.contact-links a:hover { color: var(--fg); border-color: var(--accent); }

.footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px var(--gutter) 80px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}

/* ==========================================================
   PÁGINA DE PROJETO
   ========================================================== */
.p-hero { padding-top: clamp(64px, 10vh, 110px); }
.p-back { display: inline-block; margin-bottom: 40px; color: var(--muted); font-size: 14px; }
.p-back:hover { color: var(--accent); }
.p-title { font-size: clamp(48px, 9vw, 140px); line-height: .92; letter-spacing: -.05em; font-weight: 800; }
.p-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; border-top: 1px solid var(--line); padding-top: 24px; }
.p-meta dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.p-cover { aspect-ratio: 16 / 8; border-radius: 22px; margin: 0 var(--gutter); }
.p-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.p-body h2 { font-size: clamp(30px, 4vw, 54px); }
.p-body p { color: rgba(243,239,233,.78); font-size: 18px; margin-bottom: 18px; }
.p-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-top: 0; }
.p-gallery .media { aspect-ratio: 4 / 5; }
.p-gallery .media.wide { grid-column: span 2; aspect-ratio: 16 / 8; }
.p-next { display: block; text-align: center; padding: 120px var(--gutter); border-top: 1px solid var(--line); }
.p-next small { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.p-next strong { display: block; font-size: clamp(40px, 8vw, 110px); letter-spacing: -.05em; line-height: 1; margin-top: 12px; transition: color .3s; }
.p-next:hover strong { color: var(--accent); }

/* ---------- faixa: legendas ---------- */
.strip-item { display: block; }
.strip-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 20px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s;
}
.strip-cap small { display: block; font-weight: 400; font-size: 12px; color: rgba(243,239,233,.65); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.strip-item:hover .strip-cap { opacity: 1; transform: none; }

/* ---------- página de projeto: capa em vídeo ---------- */
.p-cover video { object-fit: cover; }

/* ---------- grade de trabalhos ---------- */
.p-works { padding-top: 0; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.work { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.work-media { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; }
.work-media video, .work-media img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.work:hover .work-media video, .work:hover .work-media img { transform: scale(1.04); }
.work-play {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(12,11,11,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(243,239,233,.18);
  transition: background .3s;
}
.work-play i { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-style: normal; font-size: 9px; padding-left: 2px; }
.work:hover .work-play { background: var(--accent); }
.work:hover .work-play i { background: rgba(0,0,0,.25); }
.work-info strong { display: block; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.02em; line-height: 1.15; }
.work-info small { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.4; }
.work-info em { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: .12em; color: var(--accent); }

/* ---------- molduras de navegador (sites) ---------- */
.site-frames { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); padding-top: 0; padding-bottom: 0; }
.browser { display: block; text-align: left; }
.browser-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-radius: 16px 16px 0 0;
  background: #1c1a1a; border: 1px solid var(--line); border-bottom: 0; font-size: 12px; color: var(--muted);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3636; }
.browser-bar i:first-child { background: var(--accent); }
.browser-bar span { margin-left: 10px; }
.screen {
  display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 11; container-type: size;
  border: 1px solid var(--line); border-radius: 0 0 16px 16px; background: #fff;
}
.screen img { position: absolute; top: 0; left: 0; width: 100%; height: auto; animation: siteScroll 22s ease-in-out infinite alternate; animation-play-state: paused; }
.browser:hover .screen img, .browser.inview .screen img { animation-play-state: running; }
@keyframes siteScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
.browser-cap { display: block; margin-top: 16px; }
.browser-cap strong { display: block; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; }
.browser-cap small { color: var(--muted); font-size: 14px; }

/* ---------- visualizador (vídeo com som / imagem) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 64px var(--gutter) 32px;
  background: rgba(8,7,7,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; transform: scale(.96); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.lightbox.open .lb-stage { transform: none; }
.lb-stage video { max-width: min(100%, 1400px); max-height: calc(100svh - 150px); border-radius: 14px; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.lb-scroll { width: min(1100px, 100%); height: calc(100svh - 150px); overflow-y: auto; border-radius: 14px; background: #fff; overscroll-behavior: contain; }
.lb-scroll img { width: 100%; height: auto; }
.lb-stage > img { max-width: 100%; max-height: calc(100svh - 150px); border-radius: 14px; }
.lb-title { font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.lb-close {
  position: absolute; top: 16px; right: var(--gutter); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(20,18,18,.8); font-size: 22px; line-height: 1; display: grid; place-items: center;
  transition: background .3s, transform .3s;
}
.lb-close:hover { background: var(--accent); transform: rotate(90deg); }
body.lb-open { overflow: hidden; }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 900px) {
  .reel-badge { width: 92px; height: 92px; top: auto; bottom: 34%; right: 16px; }
  .hero-panels { grid-template-columns: repeat(3, 1fr); }
  .hero-panels .panel:nth-child(n+4) { display: none; }
  .strip { height: auto; padding: 80px 0; }
  .strip-track { flex-direction: column; padding: 0 var(--gutter); gap: 14px; width: 100%; }
  .strip-item, .strip-item.tall { width: 100%; aspect-ratio: 4 / 5; }
  .strip-bg { font-size: 22vw; top: 40px; transform: none; }
  .area-grid { grid-template-columns: 1fr; grid-auto-rows: 420px; }
  .area:first-child { grid-row: auto; }
  .area:nth-child(4) { grid-column: auto; }
  .area video { filter: none; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .p-body { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .p-meta { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .site-frames { grid-template-columns: 1fr; }
  .strip-cap { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .topbar .btn-sm { display: none; }
  .tool-grid { grid-template-columns: 1fr; }
  .project-list a { grid-template-columns: 32px 1fr; }
  .project-list .tag { grid-column: 2; text-align: left; }
  .preview { display: none; }
  .tile { width: 120px; margin: -75px 0 0 -60px; }
  .p-gallery { grid-template-columns: 1fr; }
  .p-gallery .media.wide { grid-column: auto; }
  .work-grid { gap: 12px; }
  .work-play { font-size: 0; gap: 0; padding: 6px; }
  .work-info small { font-size: 13px; }
  .p-cover { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
