/* =====================================================================
   PORTFÓLIO — Gabriel Luiz Vieira Lemos
   Folha de estilos única. Organização:
   1. Tokens  2. Base  3. Intro  4. Fundo  5. Navegação  6. Hero
   7. Trabalho (leque)  8. Websites (carrosséis)  9. Sistemas
   10. Sobre / Habilidades  11. Contato / Rodapé  12. Trilho / Mascote
   13. Lightbox  14. Reveals  15. Responsivo  16. Reduced motion
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --bg: #050505;
  --bg-2: #0b0b0c;
  --bg-3: #121214;
  --ink: #f1ede6;
  --ink-2: #b9b3a9;
  --ink-3: #7f7970;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --accent: #ff5a2d;
  --accent-2: #ff8a5b;
  --accent-deep: #7a230c;
  --glow: rgba(255, 90, 45, 0.32);

  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Poppins', 'Segoe UI', system-ui, sans-serif; /* rótulos em caixa alta (antes JetBrains Mono) */

  --pad: clamp(20px, 4.5vw, 72px);
  --max: 1520px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 84px;
  --hero-img: url('../img/hero/capa.jpg');
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-intro { overflow: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.serif em { font-style: italic; color: var(--accent); }
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
main { position: relative; z-index: 2; }
section { position: relative; padding-inline: var(--pad); }
section.hero { padding-inline: 0; }
.sec-head { max-width: var(--max); margin: 0 auto; padding-block: clamp(72px, 10vw, 140px) clamp(36px, 5vw, 64px); }
.sec-head__label { color: var(--accent); margin-bottom: 18px; font-size: clamp(14px, 1.15vw, 17px); letter-spacing: 0.16em; }
.sec-head__title { font-size: clamp(42px, 6.4vw, 96px); line-height: 0.98; max-width: 14ch; }
.sec-head__text { color: var(--ink-2); max-width: 58ch; margin-top: 22px; font-size: 17px; }

/* botões */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; letter-spacing: 0.01em;
  transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .5s;
  border: 1px solid transparent;
}
.btn--accent { background: var(--accent); color: #140905; box-shadow: 0 10px 40px -12px var(--glow); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 48px -10px var(--glow); background: var(--accent-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 13px; }
.badge {
  display: inline-block; padding: 4px 10px; margin-left: 10px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2);
  font: 500 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; vertical-align: middle;
}
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,90,45,0.18); margin-right: 10px; vertical-align: middle; }

/* ---------- 3. INTRO ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000; background: #000; color: var(--ink);
  display: grid; place-items: center;
  transition: opacity 1.1s var(--ease-io), visibility 0s linear 1.1s;
}
.intro::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.2)), var(--hero-img) center 60% / cover no-repeat; opacity: .55; }
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro__gate {
  position: relative; text-align: center; padding: 24px;
  display: flex; flex-direction: column; align-items: center; z-index: 1;
  transition: opacity .45s var(--ease-io), transform .6s var(--ease);
}
.intro__gate.is-hidden { opacity: 0; transform: scale(.98); pointer-events: none; }
.intro__mark { position: relative; margin-bottom: 22px; display: grid; place-items: center; }
.intro__mascot { position: relative; z-index: 1; width: clamp(110px, 17vh, 170px); height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.8)); animation: hover-bob 4s ease-in-out infinite; }
@keyframes hover-bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.intro__eyebrow { color: var(--accent); margin-bottom: 14px; font-size: 14px; letter-spacing: 0.18em; }
.intro__eyebrow--glow {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,.85), 0 0 22px var(--glow), 0 0 42px var(--accent);
  animation: eyebrow-glow 2.6s ease-in-out infinite;
}
@keyframes eyebrow-glow {
  0%, 100% { text-shadow: 0 0 8px rgba(255,255,255,.85), 0 0 22px var(--glow), 0 0 42px var(--accent); }
  50% { text-shadow: 0 0 12px rgba(255,255,255,1), 0 0 32px var(--glow), 0 0 60px var(--accent-2); }
}
.intro__name { font-size: clamp(48px, 8vw, 92px); line-height: 1; }
.intro__name em { color: var(--accent); }
.intro__role { color: var(--ink-3); margin-top: 14px; }
.intro__actions { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 44px; }
.intro__enter { padding: 18px 34px 18px 30px; font-size: 15px; }
.intro__enter .btn__note { font-size: 10px; opacity: .7; letter-spacing: .16em; margin-left: 4px; }
@media (max-width: 520px) { .intro__mark::before, .intro__mark::after { display: none; } }
/* anel de marcações (eco do anel de contagem do vídeo) ao redor do mascote */
.intro__mark::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: clamp(200px, 30vh, 300px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, var(--accent) 0 1.1deg, transparent 1.1deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 0 calc(50% - 7px), #000 calc(50% - 6px) 50%, transparent calc(50% + 1px));
          mask: radial-gradient(circle, transparent 0 calc(50% - 7px), #000 calc(50% - 6px) 50%, transparent calc(50% + 1px));
  opacity: .5; animation: spin 40s linear infinite; pointer-events: none;
}
.intro__mark::after { content: ''; position: absolute; left: 50%; top: 50%; width: clamp(224px, 33vh, 330px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,90,45,.25); transform: translate(-50%, -50%); pointer-events: none; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.intro__mute { color: var(--ink-3); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.intro__mute:hover { color: var(--ink); border-color: var(--ink); }
.intro__hint { position: absolute; bottom: -80px; left: 0; right: 0; color: var(--ink-3); font-size: 10.5px; }
.intro__stage { position: absolute; inset: 0; background: #000; }
.intro__stage[hidden] { display: none; }
.intro__video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s; }
.intro__video.is-on { opacity: 1; }
.intro__skip {
  position: absolute; top: max(22px, env(safe-area-inset-top)); right: max(22px, env(safe-area-inset-right));
  color: var(--ink); opacity: .75; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  backdrop-filter: blur(6px); transition: opacity .3s, border-color .3s;
}
.intro__skip:hover { opacity: 1; border-color: var(--ink); }

/* revelação do site quando o túnel termina */
body.is-revealed main, body.is-revealed .nav { animation: reveal 1.5s var(--ease) backwards; }
@keyframes reveal { from { opacity: 0; transform: scale(1.045); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* ---------- 4. FUNDO (cetim) ---------- */
.satin { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.satin.is-on { opacity: 1; }
.satin-fallback {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 60% at 15% 10%, rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(90% 50% at 85% 55%, rgba(255,255,255,0.045), transparent 60%),
    radial-gradient(70% 40% at 40% 95%, rgba(255,255,255,0.035), transparent 60%),
    var(--bg);
}
.satin.is-on ~ .satin-fallback { opacity: 0; }

/* ---------- 5. NAVEGAÇÃO ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h); padding-inline: var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 16px; /* respiro entre o menu (7 links) e os botões */
  transition: background .5s, backdrop-filter .5s, height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { height: 70px; background: rgba(5,5,5,0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.nav__logo { width: 150px; height: 82px; object-fit: contain; transform: translateY(-4px); filter: drop-shadow(0 5px 10px rgba(0,0,0,.4)); }
.nav__monogram { font-size: 26px; line-height: 1; letter-spacing: -0.04em; }
.nav__monogram em { color: var(--accent); font-style: italic; }
.nav__name { font-weight: 700; font-size: 14px; letter-spacing: 0.01em; }
.nav__name span { color: var(--ink-3); font-weight: 600; }
.nav__links { display: flex; gap: 4px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.nav__links a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink-2); transition: color .3s, background .3s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); background: rgba(255,255,255,0.06); }
.nav__links a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.nav__right { display: flex; align-items: center; gap: 14px; justify-self: end; }

.sound { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); transition: color .3s, border-color .3s, background .3s; }
.sound__icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #140905; }
.sound__icon svg { width: 11px; height: 11px; }
.sound__pause { display: none; }
.sound[aria-pressed="true"] .sound__play { display: none; }
.sound[aria-pressed="true"] .sound__pause { display: block; }
.sound:hover { color: var(--ink); border-color: var(--line-2); }
.sound__bars { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.sound[aria-pressed="true"] .sound__bars { display: inline-flex; }
.sound__bars i { width: 2px; height: 3px; background: var(--accent); border-radius: 1px; transition: height .3s; }
.sound[aria-pressed="true"] { color: var(--ink); border-color: rgba(255,90,45,0.5); background: rgba(255,90,45,0.08); }
.sound[aria-pressed="true"] .sound__bars i { animation: eq 0.9s ease-in-out infinite; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: .15s } .sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: .3s } .sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: .45s }
@keyframes eq { 0%,100% { height: 3px } 50% { height: 12px } }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: rgba(5,5,5,0.985); display: grid; place-items: center; padding: var(--pad); }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.menu__links a { font-size: clamp(38px, 9vw, 64px); line-height: 1.15; color: var(--ink-2); transition: color .3s; }
.menu__links a:hover { color: var(--accent); }
.menu__foot { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: var(--ink-3); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  padding-top: var(--nav-h); padding-bottom: 0; overflow: hidden;
}
/* a foto real fica à direita, grande, com as bordas fundindo no preto (tratamento da referência a.jpeg) */
.hero__figure {
  position: absolute; right: 0; top: 0; bottom: 0; width: 52%; margin: 0; z-index: 1; pointer-events: none;
  transform: translate3d(calc(var(--px, 0px) * -0.4), calc(var(--py, 0px) * -0.3), 0);
}
.hero__photo {
  position: absolute; top: calc(var(--nav-h) * 0.55); left: 52%; height: 118%; width: auto; max-width: none;
  transform: translateX(-50%);
  /* máscara elíptica: a foto some para baixo (pernas) e na borda esquerda, fundindo no preto como na referência */
  -webkit-mask-image: radial-gradient(ellipse 82% 60% at 62% 30%, #000 38%, rgba(0,0,0,.55) 58%, transparent 80%);
          mask-image: radial-gradient(ellipse 82% 60% at 62% 30%, #000 38%, rgba(0,0,0,.55) 58%, transparent 80%);
  filter: saturate(0.96) contrast(1.03);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; padding: 4vh 0 12vh var(--pad); justify-self: start; width: 100%; }
.hero__status { display: inline-flex; align-items: center; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(5,5,5,.4); margin-bottom: 28px; }
.hero__title { font-size: clamp(54px, 7.6vw, 128px); line-height: 0.95; letter-spacing: -0.02em; }
.hero__line { display: block; overflow: hidden; }
.hero__role { color: var(--accent); margin-top: 22px; font-size: clamp(13px, 1.05vw, 16px); letter-spacing: 0.16em; }
.hero__text { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 46ch; margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero { background: linear-gradient(90deg, rgba(19,20,27,.92) 0%, rgba(19,20,27,.56) 52%, rgba(19,20,27,.2)), var(--hero-img) center / cover no-repeat; }
.hero.is-transparent { background-image: linear-gradient(90deg, rgba(19,20,27,.95), rgba(19,20,27,.72)); }
.hero__transparent { margin-top: 16px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; font-size: 10px; letter-spacing: .12em; }
.hero__logo-drop { position:absolute; top:130px; right:1%; bottom:62px; width:min(47vw,650px); z-index:2; display:grid; place-items:center; pointer-events:none; }
.hero__brand-logo { width:100%; height:auto; filter:drop-shadow(0 24px 30px rgba(0,0,0,.58)); opacity:0; transform:translateY(-115vh) rotate(-14deg) scale(.82); }
body.is-revealed .hero__brand-logo { animation:logo-drop 1.45s cubic-bezier(.2,.75,.2,1) .18s forwards; }
@keyframes logo-drop { 0%{opacity:0;transform:translateY(-115vh) rotate(-14deg) scale(.82)} 12%{opacity:1} 68%{transform:translateY(28px) rotate(3deg) scale(1.01)} 82%{transform:translateY(-12px) rotate(-1.5deg) scale(.99)} 100%{opacity:1;transform:none} }
.hero__meta { position: absolute; left: var(--pad); bottom: 30px; color: var(--ink-3); z-index: 3; }
.hero__cue { position: absolute; left: 50%; transform: translateX(-50%); bottom: 30px; display: inline-flex; align-items: center; gap: 14px; color: var(--ink-3); z-index: 3; white-space: nowrap; }
.hero__cue i { width: 56px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; display: block; }
.hero__cue i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateX(-100%) } 60%, 100% { transform: translateX(100%) } }

/* ---------- 7. TRABALHO (capa + leque) ---------- */
.deck { padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(40px, 6vw, 90px); }
.deck__head { position: relative; max-width: var(--max); margin: 0 auto; text-align: center; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.deck__bar {
  position: absolute; left: 50%; top: -8%; width: clamp(56px, 8.5vw, 132px); height: 108%; background: var(--accent);
  transform: translateX(-50%) scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) .1s; z-index: 0;
}
.deck.is-in .deck__bar { transform: translateX(-50%) scaleY(1); }
.deck__eyebrow { position: absolute; left: 24px; top: 0; z-index: 2; color: var(--ink-2); text-align: left; line-height: 1.6; max-width: 10ch; }
.deck__title { position: relative; z-index: 1; display: grid; place-items: center; height: clamp(70px, 13vw, 210px); }
.deck__word {
  grid-area: 1 / 1; font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(56px, 12.5vw, 200px); line-height: 1; letter-spacing: -0.04em; white-space: nowrap;
  transition: transform 1.3s var(--ease), opacity 1.3s var(--ease);
}
.deck__word--solid { color: var(--ink); mix-blend-mode: normal; }
.deck__word--ghost, .deck__word--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(241,237,230,0.55); opacity: 0; }
.deck__word--ghost { transform: translate(0, 0) skewX(0); }
.deck__word--outline { transform: translate(0, 0); }
.deck.is-in .deck__word--ghost { opacity: .6; transform: translate(-0.16em, -0.22em) skewX(-10deg); }
.deck.is-in .deck__word--outline { opacity: .7; transform: translate(0.18em, 0.2em); }
.deck__side { position: absolute; bottom: 0; color: var(--ink-3); z-index: 2; }
.deck__side--l { left: 24px; } .deck__side--r { right: 24px; }
.cross { position: absolute; width: 10px; height: 10px; opacity: .5; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--ink-3); }
.cross::before { left: 0; right: 0; top: 4.5px; height: 1px; } .cross::after { top: 0; bottom: 0; left: 4.5px; width: 1px; }
.cross--tl { left: 0; top: 0 } .cross--tr { right: 0; top: 0 } .cross--bl { left: 0; bottom: 0 } .cross--br { right: 0; bottom: 0 }
.deck__lead { text-align: center; color: var(--ink-2); max-width: 46ch; margin: 10px auto 0; }

.deck__fan { position: relative; height: clamp(260px, 32vw, 480px); margin-top: clamp(40px, 5vw, 70px); max-width: var(--max); margin-inline: auto; }
.card {
  --w: clamp(150px, 16.5vw, 250px);
  position: absolute; left: 50%; top: 0; width: var(--w); aspect-ratio: 3 / 4; margin-left: calc(var(--w) / -2);
  transform-origin: 50% 300%;
  transform: rotate(0deg) translateY(30px);
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity .8s var(--ease), box-shadow .5s;
  transition-delay: calc(var(--i) * 70ms);
  border-radius: 14px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  cursor: pointer; text-align: left;
}
.deck.is-in .card { opacity: 1; transform: rotate(var(--a)) translateY(0); }
.deck.is-in .card:hover, .deck.is-in .card:focus-visible { transform: rotate(var(--a)) translateY(-34px) scale(1.04); box-shadow: 0 50px 80px -20px rgba(0,0,0,.95), 0 0 0 1px rgba(255,90,45,.5); z-index: 10; transition-delay: 0s; transition-duration: .6s; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover img { transform: scale(1.06); }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,5,.92) 0%, rgba(5,5,5,.35) 32%, transparent 60%); }
.card--omega {
  --w: clamp(190px, 20vw, 300px);
  border: 1.5px solid rgba(232, 194, 96, .65);
  box-shadow: 0 0 0 1px rgba(232, 194, 96, .25), 0 40px 80px -20px rgba(232, 194, 96, .55), 0 30px 60px -20px rgba(0,0,0,.9);
  animation: card-omega-glow 3.2s ease-in-out infinite;
}
@keyframes card-omega-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(232, 194, 96, .25), 0 40px 80px -20px rgba(232, 194, 96, .55), 0 30px 60px -20px rgba(0,0,0,.9); }
  50% { box-shadow: 0 0 0 1px rgba(232, 194, 96, .45), 0 44px 90px -18px rgba(232, 194, 96, .8), 0 30px 60px -20px rgba(0,0,0,.9); }
}
.deck.is-in .card--omega:hover, .deck.is-in .card--omega:focus-visible { box-shadow: 0 0 0 1px rgba(232, 194, 96, .6), 0 50px 90px -16px rgba(232, 194, 96, .9); }
.card__cat--omega { border-color: rgba(232, 194, 96, .6); background: linear-gradient(135deg, #f7dd93, #e8c260); color: #1b1405; font-weight: 800; }
.card .card__brand { position: absolute; inset: auto 12px auto auto; top: 44px; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.card__title--omega { bottom: 12px; }
.card__resumo { display: block; margin-top: 6px; font-family: var(--sans); font-size: 10.5px; line-height: 1.35; color: var(--ink-2); font-weight: 500; }
.card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.card__tags i { font: 600 8px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--ouro-2, #f7dd93); padding: 3px 7px; border-radius: 999px; border: 1px solid rgba(232, 194, 96, .4); background: rgba(232, 194, 96, .08); }
.card__go--omega { color: var(--ouro, #e8c260); }
.card__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; z-index: 2; color: var(--ink-2); font-size: 10px; }
.card__cat { padding: 4px 8px; border-radius: 999px; background: rgba(5,5,5,.55); border: 1px solid var(--line-2); }
.card__title { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 23px); line-height: 1.05; }
.card__go { display: block; margin-top: 8px; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.deck__me { text-align: center; color: var(--ink-3); margin-top: clamp(20px, 3vw, 40px); }

/* ---------- 8. WEBSITES (carrosséis alternados) ---------- */
.works { padding-bottom: clamp(40px, 6vw, 90px); }
.work-cat { max-width: var(--max); margin: 0 auto; padding-top: clamp(30px, 4vw, 60px); }
.work-cat__head { display: flex; align-items: center; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.work-cat__mark { width: clamp(46px, 5vw, 70px); height: clamp(46px, 5vw, 70px); object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .28)); }
.work-cat__mark--casuais { width: clamp(82px, 8vw, 122px); padding: 5px 8px; border-radius: 8px; background: linear-gradient(135deg, #fff8e9, #e9dfcb); }
.work-cat__name { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1; }
.work-cat__count { color: var(--accent); }
.work-cat__desc { color: var(--ink-3); margin-left: auto; max-width: 42ch; text-align: right; font-size: 13.5px; }

.work-row {
  position: relative; display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px);
  align-items: center; padding-block: clamp(36px, 4.5vw, 64px); border-bottom: 1px solid var(--line);
}
.work-row--rtl { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
.work-row--rtl .work-info { order: 2; }
.work-info { position: relative; z-index: 2; }
.work-info__index { display: flex; align-items: center; gap: 12px; color: var(--ink-3); margin-bottom: 18px; }
.work-info__index b { color: var(--accent); font-weight: 700; font-size: 14px; }
.work-info__cat { padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px; }
.work-info__name { font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); line-height: 1.02; }
.work-info__sub { color: var(--ink-3); margin-top: 8px; font-size: 14px; }
.work-info__desc { color: var(--ink-2); margin-top: 16px; font-size: 15px; max-width: 40ch; }
.work-info__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.work-info__tags li { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; }
.work-info__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.ctrl-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: border-color .3s, color .3s, transform .3s; }
.ctrl-btn:hover { border-color: var(--ink); color: var(--ink); transform: scale(1.06); }
.work-info__view { margin-left: 6px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.work-info__view:hover { color: var(--ink); border-color: var(--ink); }

.strip { position: relative; overflow: hidden; margin-right: calc(var(--pad) * -1); padding-block: 10px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  cursor: grab; touch-action: pan-y; user-select: none; }
.strip.is-dragging { cursor: grabbing; }
.work-row--rtl .strip { margin-right: 0; margin-left: calc(var(--pad) * -1); }
.strip__track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.shot { position: relative; flex: 0 0 auto; width: clamp(260px, 30vw, 520px); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-3); transition: transform .6s var(--ease), border-color .4s, box-shadow .6s; }
.shot img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.shot__n { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(5,5,5,.7); color: var(--ink-2); font: 500 10px var(--mono); letter-spacing: .12em; opacity: 0; transition: opacity .3s; }
.shot:hover { transform: translateY(-6px); border-color: rgba(255,90,45,.55); box-shadow: 0 30px 50px -24px rgba(0,0,0,.9); }
.shot:hover .shot__n { opacity: 1; }

/* ---------- 9. SISTEMAS ---------- */
.systems__list { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line-2); }
.sys { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(34px, 4.5vw, 64px); border-bottom: 1px solid var(--line); }
.sys__thumb {
  /* a altura vem da própria imagem (fluxo normal), não de aspect-ratio + object-fit/background-size
     numa caixa fixa: essa combinação tem um bug intermitente e difícil de reproduzir de forma
     confiável (crop nas laterais em certos tamanhos de tela). Com a imagem em fluxo normal, a
     caixa some sempre igual à imagem inteira, sem corte possível. */
  position: relative; min-width: 0; border-radius: 18px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-2); cursor: zoom-in; isolation: isolate;
}
.sys__thumb .bgimg { position: absolute; inset: 0; min-width: 0; min-height: 0; background-size: cover; background-position: center; transform: scale(1.15); filter: blur(28px) saturate(1.2); opacity: .55; z-index: 0; }
.sys__thumb .main { position: relative; display: block; width: 100%; height: auto; z-index: 1; transition: transform .9s var(--ease), opacity .6s; }
.sys__thumb .alt { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; z-index: 2; opacity: 0; transition: opacity .7s; }
.sys__thumb:hover .main { transform: scale(1.025); }
.sys__thumb:hover .alt { opacity: 1; }
.sys__badge { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 5px 9px; border-radius: 6px; background: rgba(5,5,5,.78); color: var(--ink); font: 500 10.5px var(--mono); letter-spacing: .12em; }
.sys__open { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%) scale(.9); padding: 10px 16px; border-radius: 999px; background: rgba(5,5,5,.7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); color: var(--ink); opacity: 0; transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.sys__thumb:hover .sys__open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sys__title { font-family: var(--serif); font-size: clamp(28px, 2.9vw, 42px); line-height: 1.05; }
.sys__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--ink-3); margin-top: 12px; }
.sys__meta li + li::before { content: '·'; margin-right: 14px; color: var(--ink-3); }
.sys__channel { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.sys__channel img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.sys__channel b { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.sys__channel b svg { width: 14px; height: 14px; color: var(--accent); }
.sys__channel small { display: block; color: var(--ink-3); font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.sys__desc { color: var(--ink-2); margin-top: 18px; font-size: 15.5px; max-width: 54ch; }
.sys__abas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sys__abas button { display: flex; flex-direction: column; gap: 6px; width: 132px; padding: 6px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,.025); text-align: left; transition: border-color .3s, transform .4s var(--ease); }
.sys__abas button:hover { border-color: rgba(255,90,45,.55); transform: translateY(-3px); }
.sys__abas img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: left top; border-radius: 6px; background: #0b0e21; }
.sys__abas span { color: var(--ink-2); font-size: 9.5px; padding: 0 2px 2px; }
      .sys__actions { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.sys__link { display: inline-block; color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.sys__link:hover { color: var(--ink); border-color: var(--ink); }
.sys__download { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #1f9d55; color: #06170c; font-weight: 700; letter-spacing: .06em; box-shadow: 0 10px 26px -10px rgba(31,157,85,.65); transition: transform .35s var(--ease), background .3s, box-shadow .35s; }
.sys__download svg { width: 15px; height: 15px; }
.sys__download:hover { background: #27b563; transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(31,157,85,.8); }
.sys__filenote { margin-top: 10px; color: var(--ink-3); font-size: 10.5px; }

/* ---------- 10. SOBRE / HABILIDADES ---------- */
.about__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.profile__card { border: 1px solid var(--line-2); border-radius: 22px; padding: 14px; background: rgba(255,255,255,0.02); position: sticky; top: 96px; }
.profile__avatar { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 14px; }
.profile__info { padding: 18px 8px 8px; }
.profile__name { font-weight: 700; font-size: 17px; }
.profile__role { color: var(--accent); margin-top: 8px; font-size: 13px; }
.profile__city { color: var(--ink-3); margin-top: 6px; }
.about__text p { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; color: var(--ink); max-width: 30em; }
.about__text p + p { margin-top: 1em; color: var(--ink-2); }
.about__text strong { color: var(--accent); font-weight: 700; }
.about__sub { color: var(--ink-3); margin-top: 44px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.quals li { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.quals__n { color: var(--accent); font: 500 11px var(--mono); }
.quals__t { font-weight: 700; font-size: 16px; }
.quals__d { color: var(--ink-3); font-size: 13.5px; }

.skills { max-width: var(--max); margin: clamp(80px, 10vw, 140px) auto 0; }
.skills__head { padding-bottom: 30px; }
.skills__title { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; margin-top: 12px; }
.office { position: relative; border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; background: radial-gradient(80% 80% at 50% 110%, rgba(255,90,45,.10), transparent 60%), rgba(255,255,255,0.015); }
.office__canvas { display: block; width: 100%; height: clamp(240px, 34vw, 420px); cursor: crosshair; touch-action: pan-y; }
.office__fallback { display: none; justify-content: center; gap: 6vw; padding: 60px 20px; }
.office.no-webgl .office__canvas { display: none; }
.office.no-webgl .office__fallback { display: flex; }
.office__caption { position: absolute; left: 22px; bottom: 18px; right: 22px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; pointer-events: none; }
.office__name { font-weight: 700; font-size: 16px; }
.office__detail { color: var(--ink-2); text-transform: none; letter-spacing: 0; font-size: 13.5px; max-width: 60ch; }
.skill-list { margin-top: 10px; border-top: 1px solid var(--line-2); }
.skill { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); --c: var(--accent); }
.skill__logo { width: 60px; height: 60px; object-fit: contain; transition: transform .7s var(--ease), filter .7s var(--ease); filter: drop-shadow(0 0 0 transparent); }
.skill:hover .skill__logo { transform: scale(1.12) rotate(-4deg); filter: drop-shadow(0 0 22px color-mix(in srgb, var(--c) 55%, transparent)); }
.skill__name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; transition: transform .6s var(--ease); }
.skill:hover .skill__name { transform: translateX(6px); }
.skill__detail { color: var(--ink-2); margin-top: 8px; font-size: 14.5px; line-height: 1.55; max-width: 62ch; }
.skill__tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.skill__tools li { font: 500 12px/1.4 var(--sans); color: var(--ink-2); padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,0.025); transition: border-color .3s, color .3s; }
.skill:hover .skill__tools li { border-color: color-mix(in srgb, var(--c) 45%, transparent); color: var(--ink); }
.skill__level { justify-self: end; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); font: 600 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: border-color .4s, color .4s, background .4s; }
.skill:hover .skill__level { border-color: color-mix(in srgb, var(--c) 60%, transparent); color: var(--ink); }

/* ---------- 11. CONTATO / RODAPÉ ---------- */
.contact { max-width: var(--max); margin: 0 auto; padding-block: clamp(100px, 14vw, 200px) clamp(60px, 8vw, 120px); }
.contact .sec-head__label { margin-bottom: 20px; }
.contact__title { font-size: clamp(40px, 7vw, 108px); line-height: .98; max-width: 12ch; }
.contact__text { color: var(--ink-2); max-width: 46ch; margin-top: 26px; font-size: 17px; }
.idea-form { position: relative; max-width: 920px; margin-top: 44px; padding: clamp(24px, 4vw, 42px); overflow: hidden; border: 1px solid rgba(255,90,45,.36); border-radius: 22px; background: linear-gradient(135deg, rgba(255,90,45,.14), rgba(255,255,255,.025) 45%, rgba(0,0,0,.28)); box-shadow: 0 26px 64px rgba(0,0,0,.24); }
.idea-form::after { content: ''; position: absolute; width: 260px; height: 260px; right: -100px; top: -140px; border-radius: 50%; background: var(--accent); opacity: .16; filter: blur(8px); pointer-events: none; }
.idea-form__heading { position: relative; z-index: 1; max-width: 56ch; }
.idea-form__eyebrow { color: var(--accent); margin-bottom: 8px; }
.idea-form h3 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 800; line-height: .98; letter-spacing: -.065em; }
.idea-form h3 em { color: var(--accent); font-style: normal; }
.idea-form__heading > p:last-child { margin-top: 13px; color: var(--ink-2); font-size: 15px; }
.idea-form__field { position: relative; z-index: 1; display: block; margin-top: 28px; }
.idea-form__field > span { display: block; color: var(--ink); margin-bottom: 9px; font-size: 10px; }
.idea-form textarea { display: block; width: 100%; min-height: 160px; resize: vertical; padding: 17px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; outline: 0; color: var(--ink); background: rgba(5,5,6,.66); font: 500 15px/1.55 var(--sans); transition: border-color .25s, box-shadow .25s, background .25s; }
.idea-form textarea::placeholder { color: rgba(241,237,230,.44); }
.idea-form textarea:focus { border-color: var(--accent); background: rgba(5,5,6,.85); box-shadow: 0 0 0 4px rgba(255,90,45,.14); }
.idea-form__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; }
.idea-form__foot > span { color: var(--ink-3); font-size: 9px; }
@media (max-width: 560px) { .idea-form { margin-top: 32px; padding: 22px 18px; } .idea-form__foot { align-items: flex-start; flex-direction: column; } }
.contact__mail { display: inline-block; margin-top: 44px; font-size: clamp(24px, 3.6vw, 52px); line-height: 1.1; color: var(--ink); position: relative; word-break: break-all; }
.contact__mail::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--line-2); }
.contact__mail::before { content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--accent); transition: width .7s var(--ease); z-index: 1; }
.contact__mail:hover::before { width: 100%; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--ink-3); }
.contact__links a { border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.contact__links a:hover { color: var(--ink); border-color: var(--ink); }
.footer { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--ink-3); }
.footer__top:hover { color: var(--ink); }

/* ---------- 12. TRILHO E MASCOTE ---------- */
.rail { position: fixed; right: 26px; top: 50%; height: 44vh; transform: translateY(-50%); z-index: 30; width: 14px; opacity: 0; transition: opacity 1s; }
body.is-revealed .rail { opacity: 1; }
.rail__line { position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.rail__tick { position: absolute; left: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ink-3); transform: translateY(-50%); transition: background .4s, border-color .4s, box-shadow .4s; cursor: pointer; }
.rail__tick::after { content: attr(data-label); position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.rail:hover .rail__tick::after { opacity: 1; }
.rail__tick.is-active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent); }
.rail__car { position: absolute; left: 4px; top: 0; width: 5px; height: 14px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 14px 2px rgba(255,90,45,.6); transform: translateY(-50%); }

.mascot { position: fixed; right: 18px; bottom: 6px; width: 200px; height: 240px; z-index: 35; opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); pointer-events: none; }
.mascot.is-ready { opacity: 1; transform: none; pointer-events: auto; }
.mascot.is-hidden { opacity: 0; pointer-events: none; }
.mascot__canvas { width: 100%; height: 100%; display: block; cursor: pointer; }
.mascot__tip { position: absolute; left: 50%; top: 6px; transform: translate(-50%, 6px); padding: 7px 10px; border-radius: 999px; background: rgba(5,5,5,.8); border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; opacity: 0; transition: opacity .3s, transform .5s var(--ease); pointer-events: none; font-size: 10px; }
.mascot:hover .mascot__tip, .mascot.is-talking .mascot__tip { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 13. LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4,4,4,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; padding: 20px; animation: fade .3s ease; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0 } }
.lightbox__figure { margin: 0; max-width: min(1600px, 94vw); text-align: center; }
.lightbox__img { max-width: 94vw; max-height: 82vh; width: auto; height: auto; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0,0,0,.8); animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.96); opacity: 0 } }
.lightbox__cap { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; color: var(--ink-2); text-transform: none; letter-spacing: .04em; font-size: 12.5px; }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 26px; line-height: 1; color: var(--ink); display: grid; place-items: center; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); background: rgba(5,5,5,.5); font-size: 18px; display: grid; place-items: center; transition: background .3s; }
.lightbox__nav:hover { background: rgba(255,90,45,.25); }
.lightbox__nav--prev { left: 22px; } .lightbox__nav--next { right: 22px; }

/* ---------- 14. REVEALS ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-30px); } [data-reveal="right"] { transform: translateX(30px); }
.hero__line > * { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
body.is-revealed .hero__line > * { transform: none; }
body.is-revealed .hero__line:nth-child(2) > * { transition-delay: .12s; }

/* ---------- 15. RESPONSIVO ---------- */
@media (max-width: 1440px) {
  .nav__links a { padding: 8px 11px; font-size: 12.5px; }
  .sound__label { display: none; }
}
@media (max-width: 1180px) {
  .mascot { width: 150px; height: 180px; right: 10px; }
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__name { display: none; }
}
@media (max-width: 1024px) {
  .work-row, .work-row--rtl { grid-template-columns: 1fr; gap: 20px; }
  .work-row--rtl .work-info { order: 0; }
  .strip, .work-row--rtl .strip { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); -webkit-mask-image: none; mask-image: none; }
  .work-cat__desc { display: none; }
  .sys { grid-template-columns: 1fr; gap: 22px; }
  .about__grid { grid-template-columns: 1fr; }
  .profile__card { position: static; display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 14px; }
  .profile__avatar { border-radius: 12px; }
  .rail { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 72px; --hero-img: url('../img/hero/capa-m.jpg'); }
  .hero { grid-template-columns: 1fr; align-items: start; padding-top: calc(var(--nav-h) + 26px); min-height: auto; }
  .hero__content { order: 1; padding: 10px var(--pad) 0; }
  .hero__figure { position: relative; order: 2; width: 100%; height: min(64vh, 560px); margin-top: 16px; transform: none; }
  .hero__photo { top: 0; left: 50%; height: 122%; -webkit-mask-image: radial-gradient(ellipse 80% 58% at 50% 30%, #000 40%, rgba(0,0,0,.55) 60%, transparent 82%); mask-image: radial-gradient(ellipse 80% 58% at 50% 30%, #000 40%, rgba(0,0,0,.55) 60%, transparent 82%); }
  .hero__meta, .hero__cue { position: static; margin-top: 18px; }
  .hero__meta { order: 3; margin-top: 0; padding: 0 var(--pad) 8px; }
  .mascot.is-mobile-hidden { opacity: 0; pointer-events: none; }
  .hero__cue { display: none; }
  .hero__title { font-size: clamp(52px, 15vw, 96px); }
  .deck__side { display: none; }
  .deck__fan { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--pad) 30px; margin-inline: calc(var(--pad) * -1); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .deck__fan::-webkit-scrollbar { display: none; }
  .card { position: relative; left: auto; margin-left: 0; width: min(64vw, 280px); flex: 0 0 auto; scroll-snap-align: center; transform: none !important; opacity: 1; transition-delay: 0s !important; }
  .deck.is-in .card:hover { transform: translateY(-6px) !important; }
  .deck__word { font-size: clamp(48px, 15vw, 120px); }
  .sound__label { display: none; }
  .nav__right .btn { display: none; }
  .quals li { grid-template-columns: 36px 1fr; }
  .quals__d { grid-column: 2; }
  .skill { grid-template-columns: 60px 1fr; gap: 16px; }
  .skill__logo { width: 46px; height: 46px; }
  .skill__level { grid-column: 2; justify-self: start; }
  .office__caption { position: static; padding: 14px 18px 18px; }
  .mascot { width: 124px; height: 150px; right: 6px; bottom: 0; }
  .mascot__tip { display: none; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 10px; } .lightbox__nav--next { right: 10px; }
  .footer { flex-direction: column; }
  .contact__mail { font-size: clamp(20px, 6.6vw, 40px); }
}
@media (max-width: 520px) {
  .shot { width: 78vw; }
  .intro__hint { display: none; }
  .hero__status { font-size: 10px; }
}
@media (hover: none) {
  .card:hover img { transform: none; }
}

/* ---------- 16. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__line > * { transform: none; }
  .deck .card { opacity: 1; }
}

/* Abertura editorial: tipografia sobre o retrato, conforme a.jpeg. */
section.hero {
  isolation: isolate; background: #202127; min-height: 850px;
  height: 100svh; max-height: 1100px; display: block;
  padding-top: calc(var(--nav-h) + 52px); overflow: hidden;
}
.hero__content { width: 100%; max-width: none; padding: 0 var(--pad); z-index: 3; }
.hero__status { border: 0; padding: 0; background: none; border-radius: 0; margin-bottom: 22px; font-size: 11px; }
.hero__title {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(92px, 12.8vw, 230px); line-height: .9;
  letter-spacing: -.072em; text-transform: uppercase; color: #f4f4f6;
  -webkit-text-stroke: 5px #090909;
  paint-order: stroke fill;
  text-shadow: 0 7px 0 #090909, 0 18px 36px rgba(0,0,0,.72);
  width: 72%; position: relative;
}
.hero__line { overflow: visible; }
.hero__title em { font-style: normal; color: inherit; }
.hero__role { color: #fff; max-width: 46%; margin-top: 28px; font-size: 17px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-shadow: 0 2px 14px rgba(0,0,0,.85); }
.hero__text { max-width: 42%; font-size: 19px; line-height: 1.55; margin-top: 16px; color: #ececf0; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.hero__actions { margin-top: 28px; gap: 14px; display: flex; flex-wrap: wrap; }
.hero__actions .btn { border-radius: 4px; padding: 15px 28px; font-size: 14px; font-weight: 800; letter-spacing: .02em; border: 0; transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .3s; }
/* Ver trabalhos: dourado */
.hero__actions .btn--accent { background: linear-gradient(135deg, #f7d977 0%, #d9a826 52%, #b8860b 100%); color: #1a1205; box-shadow: 0 12px 34px -12px rgba(217,168,38,.75), inset 0 1px 0 rgba(255,255,255,.35); }
.hero__actions .btn--accent:hover { transform: scale(1.07); background: linear-gradient(135deg, #ffe38a 0%, #e6b52e 52%, #c8931a 100%); box-shadow: 0 20px 44px -12px rgba(217,168,38,.9), inset 0 1px 0 rgba(255,255,255,.4); }
/* Falar comigo: verde */
.hero__actions .btn--ghost { background: linear-gradient(135deg, #45d27b 0%, #22a65a 55%, #178a49 100%); color: #06180c; border: 0; box-shadow: 0 12px 34px -12px rgba(34,166,90,.75), inset 0 1px 0 rgba(255,255,255,.3); }
.hero__actions .btn--ghost:hover { transform: scale(1.07); background: linear-gradient(135deg, #58e08c 0%, #27b563 55%, #1b9a52 100%); box-shadow: 0 20px 44px -12px rgba(34,166,90,.9), inset 0 1px 0 rgba(255,255,255,.35); }
.hero__figure {
  position: absolute; z-index: 1; top: 95px; bottom: 0; right: -3%;
  width: 68%; margin: 0; transform: none; pointer-events: none;
  display: flex; align-items: flex-end; justify-content: center;
  mix-blend-mode: screen;
}
.hero__photo {
  position: relative; top: auto; left: auto; transform: none;
  width: 100%; height: auto; max-width: none; max-height: 100%;
  object-fit: contain; object-position: bottom;
  filter: grayscale(.7) brightness(.79) contrast(1.12);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.hero__meta { color: #a7a7b0; }
.hero__cue { left: auto; right: var(--pad); transform: none; color: #a7a7b0; }
body:has(.nav__links a[data-sec="inicio"].is-active) .mascot { opacity: 0; pointer-events: none; }
@media (min-width: 901px) and (max-height: 850px) {
  section.hero { min-height: 740px; padding-top: calc(var(--nav-h) + 24px); }
  .hero__title { font-size: clamp(110px, 12vw, 205px); }
}
@media (max-width: 900px) {
  section.hero { height: auto; min-height: 940px; max-height: none; padding-top: 115px; }
  .hero__content { padding: 0 var(--pad); }
  .hero__status { font-size: 9px; }
  .hero__title { font-size: clamp(88px, 21vw, 170px); width: 100%; }
  .hero__figure { position: absolute; top: 190px; bottom: auto; right: -16%; width: 105%; height: auto; }
  .hero__photo { width: 100%; height: auto; max-height: none; }
  .hero__role { margin-top: 340px; max-width: 100%; }
  .hero__brand-logo { width: min(52vw, 210px); margin-top: 18px; }
  .hero__text { max-width: 100%; }
  .hero__meta { position: relative; left: auto; bottom: auto; margin-top: 32px; padding: 0 var(--pad) 25px; }
}
@media (min-width: 521px) and (max-width: 900px) {
  section.hero { min-height: 1150px; }
  .hero__figure { width: 82%; right: -6%; top: 210px; }
  .hero__role { margin-top: 430px; }
}
@media (min-width: 901px) {
  .hero__title { font-size: clamp(150px, 17vw, 280px); font-weight: 400; letter-spacing: -.025em; line-height: .88; }
  .hero__line:nth-child(2) { margin-left: 10vw; }
  .hero__figure { right: 0; width: 72%; }
  .hero__role { margin-top: 20px; }
  .hero__text { margin-top: 14px; font-size: 19px; }
}
@media (min-width: 901px) {
  section.hero { min-height: max(860px, calc(40vw + 360px)); max-height: none; }
}
@media (max-width: 900px) {
  .hero__title { font-weight: 800; letter-spacing: -.055em; -webkit-text-stroke-width: 3px; }
}

/* Photo in the entrance, animated robot in the hero. */
.intro__portrait { width: clamp(150px, 23vh, 230px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; animation: none; }
.intro__mark { margin-bottom: 40px; }
.hero__robot { mix-blend-mode: normal; pointer-events: auto; top: 100px; bottom: 60px; }
.hero__robot canvas { display: block; width: 100%; height: 100%; cursor: pointer; opacity: 0; transition: opacity .6s; }
.hero__robot.is-ready canvas { opacity: 1; }
.hero__robot-fallback { position: absolute; width: 65%; max-height: 85%; object-fit: contain; bottom: 0; }
.hero__robot.is-ready .hero__robot-fallback { display: none; }
#mascot { display: none; }
.contact__links { align-items: center; flex-wrap: wrap; }
.contact__links a { display: flex; align-items: center; gap: 12px; }
.contact__links img { width: 58px; height: 58px; border-radius: 14px; object-fit: contain; transition: transform .25s; }
.contact__links a:hover img { transform: translateY(-4px); }
.office:not(.is-ready) .office__fallback { display: flex; }
.office:not(.is-ready) .office__canvas { position: absolute; inset: 0; opacity: 0; }
.office.is-ready .office__fallback { display: none; }
@media(max-width:900px) {
  .hero__robot { top: 200px; bottom: auto; height: 440px; width: 95%; right: -8%; }
  .contact__links { gap: 22px; }
}
@media(min-width:521px) and (max-width:900px) { .hero__robot { height: 540px; } }

/* A foto de entrada preenche o mesmo diâmetro do círculo externo. */
.intro__mark { width: clamp(224px, 33vh, 330px); aspect-ratio: 1; margin-inline: auto; }
.intro__mark .intro__portrait { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 42%; border-radius: 50%; filter: none; }
.intro__mark::before { display: none; }
.intro__mark::after { z-index: 2; width: 100%; height: 100%; box-sizing: border-box; }
/* Início sem robô: elimina o espaço reservado à figura no celular. */
@media (max-width: 900px) {
  section.hero { min-height: auto; padding-bottom: 24px; }
  .hero__role { margin-top: 26px; }
}
/* Destaque maior para a etiqueta da seção Conhecendo mais. */
.about > .sec-head .sec-head__label {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.2;
}
/* Seletor de fundos — imagens enviadas e três acabamentos de cor. */
.wallpaper {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.01); transition: opacity .45s ease, background .35s ease;
  box-shadow: inset 0 0 0 100vmax rgba(4, 4, 6, .46);
}
body.has-custom-background .wallpaper { opacity: 1; }
body.has-custom-background .satin,
body.has-custom-background .satin-fallback { opacity: 0 !important; }
body.has-custom-background section.hero { background: transparent; }
body[data-background-type="color"] .wallpaper { box-shadow: inset 0 0 0 100vmax rgba(4, 4, 6, .18); }

.bg-picker__trigger {
  position: fixed; right: 22px; bottom: 20px; z-index: 46;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  color: #fff; background: rgba(7,7,8,.82); backdrop-filter: blur(14px);
  box-shadow: 0 14px 38px rgba(0,0,0,.38); transition: transform .25s, border-color .25s;
}
.bg-picker__trigger:hover { transform: translateY(-2px); border-color: var(--accent); }
.bg-picker__trigger > span { color: var(--accent); font-size: 18px; line-height: 1; }
.bg-picker[hidden] { display: none; }
.bg-picker { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.bg-picker__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(10px); }
.bg-picker .bg-picker__panel {
  position: relative; width: min(1040px, 94vw); max-height: min(820px, 90vh); overflow: auto;
  padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 22px;
  background: rgba(13,13,15,.96); box-shadow: 0 32px 100px rgba(0,0,0,.65);
}
.bg-picker__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.bg-picker__head .mono { color: var(--accent); margin-bottom: 5px; }
.bg-picker__head h2 { font-size: clamp(38px,5vw,68px); line-height: 1; }
.bg-picker__close { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 28px; line-height: 1; }
.bg-picker__hint { color: var(--ink-2); margin: 14px 0 22px; }
.bg-picker__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.bg-picker__option {
  overflow: hidden; border: 2px solid transparent; border-radius: 13px; background: #1b1b1e;
  text-align: left; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.bg-picker__option:hover { transform: translateY(-3px); }
.bg-picker__option[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,90,45,.18); }
.bg-picker__option img,.bg-picker__swatch { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.bg-picker__option > span:last-child { display: block; padding: 10px 11px 12px; font-size: 12px; font-weight: 700; line-height: 1.25; }
@media (max-width: 700px) {
  .bg-picker { padding: 10px; }
  .bg-picker .bg-picker__panel { width: 100%; max-height: 92vh; padding: 20px 14px; border-radius: 18px; }
  .bg-picker__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .bg-picker__trigger { right: 12px; bottom: 12px; padding: 9px 12px; font-size: 10px; }
}


/* Dragão 3D na abertura: corpo fixo e animação somente nas asas. */
.hero__dragon {
  top: 118px;
  right: -1%;
  bottom: 78px;
  width: 57%;
  mix-blend-mode: normal;
  pointer-events: none;
  z-index: 2;
}
.hero__dragon canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, .35));
  transition: opacity .55s ease;
}
.hero__dragon.is-ready canvas { opacity: 1; }

@media (min-width: 901px) and (max-height: 850px) {
  .hero__dragon { top: 92px; bottom: 45px; width: 55%; }
}
@media (max-width: 900px) {
  section.hero { min-height: 1040px; padding-bottom: 32px; }
  .hero__dragon { top: 300px; right: -16%; bottom: auto; width: 116%; height: 500px; }
  .hero__role { margin-top: 475px; }
}
@media (min-width: 521px) and (max-width: 900px) {
  section.hero { min-height: 1190px; }
  .hero__dragon { top: 330px; right: -8%; width: 92%; height: 610px; }
  .hero__role { margin-top: 585px; }
}
@media (max-width: 520px) {
  section.hero { min-height: 970px; }
  .hero__dragon { top: 235px; right: -12%; width: 108%; height: 430px; }
  .hero__role { margin-top: 380px; }
}

/* Fundo fixo e composição final da abertura. */
section.hero,
body.has-custom-background section.hero:not(.is-transparent) {
  background:
    linear-gradient(90deg, rgba(6, 7, 12, .80) 0%, rgba(6, 7, 12, .42) 46%, rgba(6, 7, 12, .10) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0) 74%, #050505 100%),
    var(--hero-img) center 62% / cover no-repeat;
}
/* o menu fica transparente sobre a capa e só ganha fundo ao rolar */
body:has(.hero) .nav:not(.is-scrolled) { background: linear-gradient(180deg, rgba(5, 5, 6, .55), rgba(5, 5, 6, 0)); }
section.hero.is-transparent { background: linear-gradient(90deg, rgba(19,20,27,.95), rgba(19,20,27,.72)); }
.hero__title {
  width: 46%;
  font-family: var(--sans);
  font-size: clamp(74px, 8.8vw, 156px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.075em;
  -webkit-text-stroke: 7px #050505;
  paint-order: stroke fill;
  text-shadow: 0 8px 0 #050505, 0 18px 34px rgba(0,0,0,.78);
}
.hero__figure.hero__logo-drop {
  top: 74px;
  right: 1%;
  bottom: 40px;
  width: min(60vw, 760px);
  height: auto;
  z-index: 2;
  mix-blend-mode: normal;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .hero__title { width: 100%; font-size: clamp(72px, 16vw, 126px); -webkit-text-stroke-width: 4px; }
  .hero__figure.hero__logo-drop { top: 224px; right: -7%; width: min(80vw, 400px); bottom: auto; }
}

/* Tipografia mais encorpada e títulos mais destacados. */
.sec-head__title,
.skills__title,
.contact__title,
.work-cat__name,
.work-info__name,
.sys__title,
.skill__name {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -.055em;
  text-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.sec-head__title em { font-style: normal; color: var(--accent); }
.sec-head__label, .deck__lead, .work-info__desc, .about__text p, .contact__text { font-weight: 600; }

/* Legenda das três categorias de projetos. */
.project-legend {
  max-width: var(--max);
  margin: -12px auto clamp(26px, 4vw, 50px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.project-legend__item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 106px;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(8,8,10,.6);
  box-shadow: 0 16px 32px rgba(0,0,0,.16);
}
.project-legend__item img { width: 58px; height: 58px; object-fit: contain; flex: 0 0 auto; }
.project-legend__item:nth-child(3) img { width: 74px; background: #fff8e9; padding: 4px 6px; border-radius: 7px; }
.project-legend__label { display: block; color: var(--accent); font-size: 9px; margin-bottom: 2px; }
.project-legend__item strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.1; }
.project-legend__item p { color: var(--ink-2); font-size: 12px; line-height: 1.35; margin-top: 5px; }
@media (max-width: 900px) {
  .project-legend { grid-template-columns: 1fr; margin-inline: 0; }
}

/* ---------- 17. POSSIBILIDADES (o que seu site pode ter) ---------- */
/* Composição editorial em 12 colunas: cards de tamanhos diferentes, cada um com uma
   demonstração ilustrativa (.pd-*) que reage ao cursor. Nada aqui é um sistema real. */
.poss { padding-bottom: clamp(30px, 5vw, 70px); }
.poss__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.poss-card {
  --mx: .5; --my: .5;
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 300px;
  border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 55%, rgba(0,0,0,.22));
  box-shadow: 0 24px 50px -34px rgba(0,0,0,.85);
  transition: transform .7s var(--ease), border-color .4s, box-shadow .7s var(--ease);
}
/* holofote que acompanha o cursor */
.poss-card::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(480px circle at calc(var(--mx) * 100%) calc(var(--my) * 100%), rgba(255,90,45,.14), transparent 60%); }
.poss-card:hover::before { opacity: 1; }
.poss-card.is-in:hover { transform: translateY(-5px); border-color: rgba(255,90,45,.38); box-shadow: 0 36px 70px -36px rgba(0,0,0,.95); }
.poss-card.is-picked { border-color: rgba(255,90,45,.6); }
.poss-card.is-picked::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,90,45,.3), inset 0 0 70px -34px rgba(255,90,45,.6); }
.poss-card__body { position: relative; z-index: 1; padding: 18px 22px 22px; margin-top: auto; }
.poss-card__n { color: var(--accent); font-size: 10.5px; }
.poss-card__title { font-family: var(--sans); font-weight: 800; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.08; letter-spacing: -.045em; margin-top: 8px; }
.poss-card__text { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; margin-top: 8px; max-width: 42ch; }
.poss-card__ideal { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.poss-card__ideal .mono { color: var(--accent); font-size: 9.5px; margin-right: 6px; }
.poss-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-top: 14px; }
.poss-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.poss-card__tags li { font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; transition: color .3s, border-color .3s; }
.poss-card:hover .poss-card__tags li { color: var(--ink-2); border-color: var(--line-2); }
.poss-card__want { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(5,5,6,.45); font-size: 10px; white-space: nowrap; transition: color .3s, border-color .3s, background .3s, transform .4s var(--ease); }
.poss-card__want:hover { color: var(--ink); border-color: var(--ink-2); transform: translateY(-1px); }
.poss-card__want[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #140905; }

/* tamanhos na composição */
.poss-card--identidade { grid-column: span 7; grid-row: span 2; min-height: 420px; }
.poss-card--3d { grid-column: span 5; grid-row: span 2; min-height: 420px; }
.poss-card--video, .poss-card--pagamentos, .poss-card--area-cliente { grid-column: span 4; }
.poss-card--dados { grid-column: span 4; }
.poss-card--editorial { grid-column: span 8; min-height: 540px; }
.poss-card--conversao { grid-column: span 12; flex-direction: row; align-items: stretch; min-height: 0; }
.poss-card--conversao .pd { flex: 1.25 1 0; min-height: 0; }
.poss-card--conversao .poss-card__body { flex: 1 1 0; margin-top: 0; padding-block: 26px; display: flex; flex-direction: column; justify-content: center; }

/* base das demonstrações */
.pd { position: relative; z-index: 1; flex: 1 1 auto; min-height: 150px; overflow: hidden; }

/* 01 · identidade: mockup de navegador com o site rolando no hover + tipografia e paleta do design */
.pd-identity { display: flex; align-items: flex-end; gap: 20px; padding: 22px 22px 0; }
.pd-identity__browser { flex: 0 0 58%; max-width: 470px; border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; background: #0b0b0c; box-shadow: 0 30px 60px -30px rgba(0,0,0,.95); transform: translateY(8px); transition: transform .8s var(--ease); }
.poss-card:hover .pd-identity__browser { transform: translateY(0); }
.pd-identity__bar { display: flex; gap: 5px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.pd-identity__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.pd-identity__bar i:first-child { background: #f5c518; }
.pd-identity__screen { height: 214px; overflow: hidden; background: #000; }
.pd-identity__screen img { width: 100%; height: auto; display: block; transform: translateY(0); transition: transform 8s linear; }
.poss-card:hover .pd-identity__screen img { transform: translateY(calc(214px - 100%)); }
.pd-identity__side { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 26px; }
.pd-identity__type { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.pd-identity__type em { font-family: var(--serif); font-style: italic; font-size: 72px; color: var(--ink); transition: transform .8s var(--ease); }
.pd-identity__type b { font-family: var(--sans); font-weight: 800; font-size: 72px; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px #f5c518; transition: transform .8s var(--ease); }
.poss-card:hover .pd-identity__type em { transform: translateX(-4px) rotate(-3deg); }
.poss-card:hover .pd-identity__type b { transform: translate(6px, -4px); }
.pd-identity__swatches { display: flex; gap: 6px; }
.pd-identity__swatches i { width: 22px; height: 48px; border-radius: 999px; transition: height .7s var(--ease), transform .7s var(--ease); }
.pd-identity__swatches i:nth-child(1) { background: #f5c518; }
.pd-identity__swatches i:nth-child(2) { background: #0a0a0a; border: 1px solid var(--line-2); }
.pd-identity__swatches i:nth-child(3) { background: #f6f1e7; }
.pd-identity__swatches i:nth-child(4) { background: #d4380d; }
.poss-card:hover .pd-identity__swatches i:nth-child(odd) { height: 62px; }
.poss-card:hover .pd-identity__swatches i:nth-child(even) { transform: translateY(12px); }
.pd-identity__note { color: var(--ink-3); font-size: 9.5px; }

/* 02 · 3D e 08 · dados: modelos GLB (Three.js) com prévia enquanto carregam */
.pd-model { touch-action: pan-y; cursor: grab; user-select: none; }
.pd-model.is-dragging { cursor: grabbing; }
.pd-model__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .7s; }
.pd-model.is-ready .pd-model__canvas { opacity: 1; }
.pd-model__fallback { position: absolute; inset: 0; transition: opacity .7s; }
.pd-model.is-ready .pd-model__fallback { opacity: 0; pointer-events: none; }
video.pd-model__fallback { width: 100%; height: 100%; object-fit: cover; }
.pd-model::after { content: ''; position: absolute; left: 50%; bottom: 8%; width: 190px; height: 34px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,90,45,.38), transparent); filter: blur(6px); pointer-events: none; opacity: 0; transition: opacity .7s; }
.pd-model.is-ready::after { opacity: 1; }
.pd-model__hint { position: absolute; left: 22px; top: 18px; z-index: 2; color: var(--ink-3); font-size: 10px; pointer-events: none; }
/* card 3D: vídeo (produto 3D em um site) à esquerda e modelo interativo à direita */
.pd-model--split .pd-model__video { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; transition: width .8s var(--ease); }
.pd-model--split.is-ready .pd-model__video { width: 52%; }
.pd-model--split .pd-model__canvas { left: 52%; width: 48%; }
.pd-model--split::after { left: 76%; }
.pd-model--split .pd-model__hint { left: auto; right: 22px; top: auto; bottom: 14px; }
.pd-model--lock .pd-model__canvas { width: 62%; }
.pd-model--lock::after { left: 31%; }
.pd-model--lock .pd-db__tags { position: absolute; right: 22px; top: 50%; z-index: 2; transform: translateY(-50%); }
.pd-model--lock .pd-model__fallback.pd-db { justify-content: flex-start; }

/* 04 · vídeo: quadro letterbox com cena, feixe de luz e Ken Burns no hover */
.pd-film { padding: 18px 22px 0; }
.pd-film__frame { position: relative; height: 100%; min-height: 150px; border-radius: 12px 12px 0 0; overflow: hidden; background: #000; }
.pd-film__scene { position: absolute; left: 0; right: 0; top: 11%; bottom: 11%; background: radial-gradient(120% 90% at 82% 8%, rgba(255,138,91,.6), transparent 55%), radial-gradient(70% 60% at 18% 95%, rgba(122,35,12,.75), transparent 60%), linear-gradient(180deg, #1c110c, #060606); transform: scale(1.02); transition: transform 7s linear; }
.poss-card:hover .pd-film__scene { transform: scale(1.14); }
.pd-film__video { position: absolute; left: 0; top: 11%; width: 100%; height: 78%; object-fit: cover; display: block; }
.pd-film__tc { position: absolute; left: 14px; bottom: calc(11% + 10px); color: rgba(255,255,255,.72); font-size: 9.5px; }

/* 05 · pagamentos: mini checkout com QR ilustrativo e confirmação no hover */
.pd-pay { display: grid; place-items: center; padding: 24px 22px 10px; }
.pd-pay__card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px 16px; align-items: center; width: min(100%, 300px); padding: 14px; border-radius: 16px; background: rgba(5,5,6,.62); border: 1px solid var(--line-2); box-shadow: 0 24px 44px -22px rgba(0,0,0,.9); transform: rotate(-2deg); transition: transform .7s var(--ease); }
.poss-card:hover .pd-pay__card { transform: rotate(0) translateY(-4px); }
.pd-pay__qr { display: block; width: 72px; height: 72px; padding: 6px; background: #fff; border-radius: 8px; }
.pd-pay__qr svg { display: block; width: 100%; height: 100%; fill: #050505; }
.pd-pay__info b { display: block; font-size: 14px; font-weight: 700; }
.pd-pay__info small { display: block; color: var(--accent); margin-top: 5px; font-size: 10px; }
.pd-pay__btn { grid-column: 1 / -1; position: relative; height: 40px; border-radius: 999px; overflow: hidden; background: var(--accent); color: #140905; font-weight: 700; font-size: 12.5px; }
.pd-pay__btn span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .55s var(--ease), opacity .4s; }
.pd-pay__btn span:last-child { transform: translateY(100%); opacity: 0; background: #1f7a4d; color: #eaf7ee; }
.poss-card:hover .pd-pay__btn span:first-child { transform: translateY(-100%); opacity: 0; }
.poss-card:hover .pd-pay__btn span:last-child { transform: none; opacity: 1; }

/* 06 · área do cliente: janela representativa com pedidos e progresso */
.pd-portal { display: grid; place-items: center; padding: 24px 22px 10px; }
.pd-portal__win { width: min(100%, 320px); padding: 14px 16px; border-radius: 14px; background: rgba(5,5,6,.62); border: 1px solid var(--line-2); transform: translateY(6px); transition: transform .7s var(--ease); }
.poss-card:hover .pd-portal__win { transform: translateY(0); }
.pd-portal__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pd-portal__avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.pd-portal__head b { font-size: 13.5px; }
.pd-portal__head small { margin-left: auto; color: var(--ink-3); font-size: 9px; }
.pd-portal__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding-top: 11px; }
.pd-portal__row em { font-style: normal; font-size: 12px; font-weight: 700; }
.pd-portal__row small { color: var(--ink-3); font-size: 9px; }
.pd-portal__row i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.pd-portal__row i::after { content: ''; position: absolute; inset: 0; width: var(--w, 50%); background: var(--accent); transform-origin: left; transform: scaleX(.35); transition: transform 1.1s var(--ease) .1s; }
.poss-card:hover .pd-portal__row i::after { transform: scaleX(1); }

/* 08 · banco de dados: cilindro estilizado + registros que se organizam */
.pd-db { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 22px 10px; }
.pd-db__stack { position: relative; width: 96px; height: 112px; flex: 0 0 auto; }
.pd-db__stack i { position: absolute; left: 0; right: 0; height: 36px; border-radius: 50% / 42%; border: 1px solid rgba(255,138,91,.7); background: linear-gradient(180deg, rgba(255,90,45,.3), rgba(255,90,45,.06)); transition: transform .7s var(--ease); }
.pd-db__stack i:nth-child(1) { top: 0; }
.pd-db__stack i:nth-child(2) { top: 38px; }
.pd-db__stack i:nth-child(3) { top: 76px; }
.poss-card:hover .pd-db__stack i:nth-child(1) { transform: translateY(-9px); }
.poss-card:hover .pd-db__stack i:nth-child(3) { transform: translateY(9px); }
.pd-db__tags { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pd-db__tags li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5,5,6,.55); font-size: 9.5px; color: var(--ink-2); transform: translateX(12px); opacity: .7; transition: transform .6s var(--ease), opacity .6s; }
.pd-db__tags li b { color: var(--ink); }
.pd-db__tags li:nth-child(2) { transition-delay: .06s; }
.pd-db__tags li:nth-child(3) { transition-delay: .12s; }
.poss-card:hover .pd-db__tags li { transform: none; opacity: 1; }

/* 09 · fora do óbvio: o próprio card quebra o grid */
.pd-editorial { min-height: 370px; }
.pd-editorial__ghost { position: absolute; left: -6px; top: 4px; font-family: var(--sans); font-weight: 800; font-size: clamp(110px, 11vw, 180px); line-height: .85; letter-spacing: -.07em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(241,237,230,.5); transition: transform 1s var(--ease); }
.pd-editorial__solid { position: absolute; left: 32%; top: 48%; z-index: 2; font-family: var(--serif); font-style: italic; font-size: clamp(54px, 5vw, 84px); line-height: .9; color: var(--ink); text-shadow: 0 10px 30px rgba(0,0,0,.6); transition: transform 1s var(--ease); }
.pd-editorial__img { position: absolute; right: 8%; top: 18px; z-index: 1; height: calc(100% - 36px); width: auto; border-radius: 6px; transform: rotate(4deg); box-shadow: 0 34px 60px -22px rgba(0,0,0,.95); transition: transform 1s var(--ease); }
.pd-editorial__block { position: absolute; right: -34px; bottom: -34px; width: 170px; height: 170px; border: 1px solid var(--accent); transform: rotate(12deg); opacity: .6; transition: transform 1s var(--ease); }
.poss-card:hover .pd-editorial__ghost { transform: translateX(10px); }
.poss-card:hover .pd-editorial__solid { transform: translate(-8px, -6px); }
.poss-card:hover .pd-editorial__img { transform: rotate(0deg) scale(1.03); }
.poss-card:hover .pd-editorial__block { transform: rotate(0); }

/* 10 · conversão: etapas que acendem em sequência até a ação */
.pd-funnel { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: center; padding: 30px 22px; }
.pd-funnel__step { position: relative; flex: 1; padding: 14px 16px 0; border-top: 1px solid var(--line-2); font-size: 13px; font-weight: 700; color: var(--ink-3); transition: color .4s; }
.pd-funnel__step b { display: block; margin-bottom: 6px; color: var(--accent); font: 600 10px var(--mono); letter-spacing: .14em; opacity: .65; }
.pd-funnel__step::before { content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width .8s var(--ease); }
.pd-funnel__step:nth-child(2)::before { transition-delay: .22s; }
.pd-funnel__step:nth-child(3)::before { transition-delay: .44s; }
.poss-card:hover .pd-funnel__step { color: var(--ink); }
.poss-card:hover .pd-funnel__step::before { width: 100%; }
.pd-funnel__btn { position: relative; display: block; width: max-content; margin-top: 12px; padding: 9px 14px; border-radius: 999px; background: var(--accent); color: #140905; font-style: normal; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pd-funnel__btn::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--accent); animation: cta-pulse 2.4s ease-out infinite; }
@keyframes cta-pulse { 0% { transform: scale(1); opacity: .8 } 100% { transform: scale(1.32); opacity: 0 } }

/* nota + chamada final */
.poss__note { max-width: var(--max); margin: 16px auto 0; color: var(--ink-3); font-size: 10px; }
.poss__cta { position: relative; overflow: hidden; max-width: var(--max); margin: clamp(36px, 5vw, 64px) auto 0; padding: clamp(26px, 4vw, 44px); border-radius: 24px; border: 1px solid rgba(255,90,45,.32); background: linear-gradient(120deg, rgba(255,90,45,.13), rgba(255,255,255,.02) 50%, rgba(0,0,0,.3)); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.poss__cta::after { content: ''; position: absolute; left: -140px; bottom: -220px; width: 340px; height: 340px; border-radius: 50%; background: var(--accent); opacity: .12; filter: blur(10px); pointer-events: none; }
.poss__cta-text { position: relative; z-index: 1; }
.poss__cta-eyebrow { color: var(--accent); margin-bottom: 10px; }
.poss__cta-title { font-family: var(--sans); font-weight: 800; font-size: clamp(30px, 3.8vw, 54px); line-height: .98; letter-spacing: -.06em; max-width: 16ch; }
.poss__cta-desc { color: var(--ink-2); margin-top: 14px; font-size: 15px; max-width: 48ch; }
.poss__cta-side { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; justify-self: end; width: min(100%, 380px); }
.poss__picked { color: var(--ink-3); font-size: 10px; line-height: 1.7; letter-spacing: .1em; }
.poss__picked.has-picks { color: var(--ink-2); }

@media (max-width: 1180px) {
  .poss__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poss-card { grid-column: span 1; grid-row: auto; min-height: 320px; }
  .poss-card--identidade, .poss-card--editorial, .poss-card--conversao { grid-column: span 2; }
  .poss-card--identidade, .poss-card--3d, .poss-card--editorial { min-height: 380px; }
  .poss-card--conversao { min-height: 0; }
}
@media (max-width: 720px) {
  .poss__grid { grid-template-columns: 1fr; gap: 12px; }
  .poss-card, .poss-card--identidade, .poss-card--editorial, .poss-card--conversao { grid-column: span 1; min-height: 0; }
  .poss-card--identidade, .poss-card--3d, .poss-card--editorial { min-height: 0; }
  .pd { min-height: 190px; flex: 0 0 auto; }
  .pd-identity { flex-direction: column-reverse; align-items: stretch; gap: 14px; padding: 18px 18px 0; }
  .pd-identity__browser { flex: 0 0 auto; max-width: none; transform: none; }
  .pd-identity__screen { height: 160px; }
  .poss-card:hover .pd-identity__screen img { transform: translateY(calc(160px - 100%)); }
  .pd-identity__side { flex-direction: row; align-items: center; justify-content: space-between; padding-bottom: 0; }
  .pd-identity__type em, .pd-identity__type b { font-size: 44px; }
  .pd-identity__swatches i { width: 16px; height: 36px; }
  .pd-identity__note { display: none; }
  .pd-editorial { min-height: 330px; }
  .pd-editorial__ghost { font-size: 96px; }
  .pd-editorial__solid { font-size: 46px; top: 52%; }
  .pd-editorial__img { right: 5%; top: 14px; height: calc(100% - 28px); }
  .poss-card--conversao { flex-direction: column; }
  .poss-card--conversao .poss-card__body { padding-top: 0; }
  .pd-funnel { flex-direction: column; flex-wrap: nowrap; align-content: stretch; gap: 4px; padding: 22px 22px 8px; }
  .pd-funnel__step { width: 100%; padding: 10px 0 8px; }
  .pd-funnel__step b { display: inline-block; margin: 0 10px 0 0; }
  .pd-funnel__btn { display: block; width: max-content; margin-top: 8px; }
  .poss-card__foot { flex-direction: column; align-items: flex-start; }
  .poss__cta { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; }
  .poss__cta-side { justify-self: start; width: 100%; }
}
@media (hover: none) {
  .poss-card::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-funnel__btn::after { animation: none; }
}

@media (max-width: 900px) {
  .hero__role { font-size: 14px; }
  .hero__text { font-size: 17px; }
  .skill__level { padding: 8px 13px; font-size: 11.5px; }
}

/* Celular: o logo entra no fluxo entre o título e o cargo (sem espaços vazios nem sobreposição). */
@media (max-width: 900px) {
  section.hero { min-height: auto; padding-bottom: 28px; }
  .hero__figure.hero__logo-drop { position: static; width: min(80vw, 400px); height: auto; margin: 12px 0 0 auto; top: auto; right: auto; bottom: auto; }
  .hero__role { margin-top: 22px; }
  .hero__meta { margin-top: 26px; }
}

/* Mantém o título do novo projeto visível abaixo da navegação fixa. */
#work-gimenez { scroll-margin-top: 110px; }

/* ---------- 19. OMÊGA (projeto em destaque) ---------- */
/* Seção de maior peso visual da página: dourado sobre preto, logo com brilho,
   pilares técnicos, texto e as telas reais do sistema em produção. */
.omega {
  --ouro: #e8c260;
  --ouro-2: #f7dd93;
  --ouro-deep: #8a6a1f;
  position: relative;
  isolation: isolate;
  max-width: var(--max);
  margin: 0 auto;
  padding-block: clamp(80px, 11vw, 160px) clamp(60px, 8vw, 110px);
  border-top: 1px solid rgba(232, 194, 96, .22);
  border-bottom: 1px solid rgba(232, 194, 96, .22);
}
.omega__aura {
  position: absolute; inset: -10% -20% auto; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 0%, rgba(232, 194, 96, .16), transparent 70%);
  filter: blur(6px);
}

/* cabeçalho: logo + apresentação */
.omega__head { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.omega__mark { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.omega__logo {
  width: min(100%, 250px); height: auto;
  filter: drop-shadow(0 0 26px rgba(232, 194, 96, .45)) drop-shadow(0 18px 40px rgba(0, 0, 0, .7));
  animation: omega-float 6s ease-in-out infinite;
}
@keyframes omega-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.omega__tag {
  padding: 9px 16px; border-radius: 999px; text-align: center;
  border: 1px solid rgba(232, 194, 96, .5); background: rgba(232, 194, 96, .08);
  color: var(--ouro-2); font-size: 11px; letter-spacing: .16em; white-space: nowrap;
  box-shadow: 0 0 22px -6px rgba(232, 194, 96, .5);
}
.omega__label { color: var(--ouro); margin-bottom: 14px; font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .18em; }
.omega__title {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.05em; line-height: .92;
  font-size: clamp(64px, 9vw, 150px);
  background: linear-gradient(120deg, var(--ouro-2) 0%, var(--ouro) 42%, #fff6dc 58%, var(--ouro-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 18px 50px rgba(232, 194, 96, .18);
}
.omega__sub { font-family: var(--sans); font-weight: 800; font-size: clamp(19px, 2.1vw, 30px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); margin-top: 10px; max-width: 24ch; }
.omega__lead { color: var(--ink-2); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; margin-top: 16px; max-width: 58ch; }
.omega__cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 16px 30px; border-radius: 999px;
  background: linear-gradient(135deg, var(--ouro-2), var(--ouro) 55%, var(--ouro-deep));
  color: #1b1405; font-weight: 800; font-size: 15px; letter-spacing: .02em;
  box-shadow: 0 16px 40px -14px rgba(232, 194, 96, .8), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .3s;
}
.omega__cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 56px -14px rgba(232, 194, 96, .95), inset 0 1px 0 rgba(255, 255, 255, .55); }

/* pilares técnicos */
.omega__pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(44px, 6vw, 80px); }
.omega-pillar {
  padding: 24px 22px; border-radius: 18px;
  border: 1px solid rgba(232, 194, 96, .22); background: linear-gradient(165deg, rgba(232, 194, 96, .075), rgba(255, 255, 255, .012) 60%, rgba(0, 0, 0, .25));
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.omega-pillar:hover { transform: translateY(-4px); border-color: rgba(232, 194, 96, .55); box-shadow: 0 26px 50px -30px rgba(232, 194, 96, .5); }
.omega-pillar__icon { width: 30px; height: 30px; color: var(--ouro); }
.omega-pillar__title { font-family: var(--sans); font-weight: 800; font-size: 17px; line-height: 1.15; letter-spacing: -.02em; margin-top: 16px; }
.omega-pillar__text { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; margin-top: 8px; }

/* texto + stack */
.omega__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); margin-top: clamp(44px, 6vw, 76px); align-items: start; }
.omega__text p { color: var(--ink); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.65; max-width: 62ch; }
.omega__text p + p { margin-top: 1em; color: var(--ink-2); }
.omega__stack { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.omega__stack li {
  padding: 9px 15px; border-radius: 999px; font: 600 12.5px/1.3 var(--sans); color: var(--ouro-2);
  border: 1px solid rgba(232, 194, 96, .32); background: rgba(232, 194, 96, .07);
}

/* telas do sistema */
.omega__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(44px, 6vw, 76px); }
.omega-shot { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.omega-shot--wide { grid-column: span 2; }
.omega-shot:hover { transform: translateY(-4px); border-color: rgba(232, 194, 96, .5); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .95); }
.omega-shot__btn { position: relative; display: block; width: 100%; cursor: zoom-in; background: #0a0f18; }
.omega-shot__btn img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.omega-shot:hover .omega-shot__btn img { transform: scale(1.02); }
.omega-shot__zoom { position: absolute; right: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(5, 5, 5, .74); border: 1px solid rgba(232, 194, 96, .45); color: var(--ouro-2); font-size: 9.5px; opacity: 0; transition: opacity .3s; }
.omega-shot:hover .omega-shot__zoom, .omega-shot__btn:focus-visible .omega-shot__zoom { opacity: 1; }
.omega-shot figcaption { display: block; padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.omega-shot__name { display: block; color: var(--ouro); font-size: 10px; }
.omega-shot__cap { display: block; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; margin-top: 7px; }
.omega__note { color: var(--ink-3); font-size: 10px; margin-top: 18px; }

@media (max-width: 1024px) {
  .omega__head { grid-template-columns: 1fr; gap: 28px; }
  .omega__mark { flex-direction: row; justify-content: flex-start; gap: 22px; }
  .omega__logo { width: min(40vw, 170px); }
  .omega__pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .omega__body { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 680px) {
  .omega__pillars { grid-template-columns: 1fr; }
  .omega__shots { grid-template-columns: 1fr; }
  .omega-shot--wide { grid-column: span 1; }
  .omega__mark { flex-direction: column; align-items: flex-start; }
  .omega__tag { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .omega__logo { animation: none; }
}
