/* v2 — home. Medidas do Framer: docs/refazer-nativo.md e _framer-ref/medicoes/home-tree-1440.txt / -390.txt */

.home { display: flex; flex-direction: column; gap: 128px; padding: 128px 0; }
.home > section { width: 100%; }

/* ---------- Vídeo de fundo do hero (1440x691, atrás do menu) ---------- */
.home-bg { position: absolute; top: 0; left: 0; width: 100%; height: 691px; overflow: hidden; z-index: 0; pointer-events: none; }
.home-bg video, .home-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.gl-cards .home-bg video, .gl-cards .home-bg img { opacity: 0; } /* o WebGL desenha o vídeo (com o degradê) para o fluido entortar */
.gl-cards .home-bg::after { display: none; }
.home-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 45%, #000 100%); }

/* ---------- Hero ---------- */
.home-hero { --hs: 1; display: flex; justify-content: flex-end; align-items: flex-end; gap: 32px; padding: 100px var(--pad) 0; }
.home-hero__bio, .home-hero__cue--d { flex: 1 1 0; min-width: 0; }
.home-hero__bio { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.home-hero__status { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 8px 10px; border-radius: 28px; font: 300 16px/24px var(--inter); color: #303030; white-space: nowrap; }
.home-hero__status img { width: 40px; height: 40px; border-radius: 99px; object-fit: cover; }
.home-hero__dot { position: relative; width: 6px; height: 6px; border-radius: 99px; background: var(--green); flex: none; }
.home-hero__dot i { position: absolute; inset: 0; border-radius: 99px; background: var(--green); opacity: .5; animation: home-glow 2s ease-out infinite; }
@keyframes home-glow { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3); opacity: 0; } }
.home-hero__row { display: flex; align-items: flex-end; gap: 57px; }
.home-hero__socials { flex: none; }
.home-hero__title { display: flex; flex-direction: column; gap: calc(36px * var(--hs)); width: calc(718px * var(--hs)); margin: 0; font-family: var(--manrope); font-weight: 400; color: #fff; }
.home-hero__l1, .home-hero__l2 { display: flex; align-items: center; gap: 10px; height: calc(97px * var(--hs)); }
.home-hero__l1 > span, .home-hero__for, .rot__w { font-size: calc(120px * var(--hs)); letter-spacing: calc(-3.6px * var(--hs)); white-space: nowrap; }
.home-hero__l1 > span, .home-hero__for { line-height: calc(120px * var(--hs)); }
.home-hero__for { flex: none; font-weight: 200; color: rgba(255, 255, 255, .5); }
.home-hero__rot { position: relative; display: block; flex: 1 1 0; min-width: 0; height: calc(168px * var(--hs)); overflow-x: visible; overflow-y: clip; }
.rot__w { position: absolute; left: 0; top: 0; line-height: calc(168px * var(--hs)); }
html:not(.js) .rot__w:not(:first-child) { display: none; }
.js .rot__w:not(:first-child) { transform: translateY(100%); }
.home-hero__cue { font: 400 16px/25.76px var(--inter); color: var(--muted); text-align: right; white-space: nowrap; }
.home-hero__cue--m { display: none; }

/* ---------- Trabalhos em destaque (estudo do Featured Work do Lusion) ----------
 * 3 colunas (2 no tablet, 1 no celular), mídia 1080x1350 (retrato, pedido do Felipe 13/11) com raio 20; categorias e título embaixo.
 * Com WebGL (html.gl-cards) a mídia do DOM fica invisível e o canvas desenha o card
 * (assets/v2/js/gl-cards.js); o quadro continua no lugar como alvo de clique e de medida. */
.home-feat { display: flex; flex-direction: column; gap: 48px; padding: 0 var(--pad); }
.home-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.home-card { display: flex; flex-direction: column; gap: 14px; color: #fff; }
.home-card__frame { position: relative; display: block; aspect-ratio: 1080 / 1350; max-height: calc(100svh - 190px); border-radius: 20px; overflow: hidden; background: #0d0d0d; isolation: isolate; } /* card + título cabem numa tela */
.home-card__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.home-card:hover .home-card__media, .home-card:focus-visible .home-card__media { transform: scale(1.03); }
.gl-cards .home-card__frame { background: transparent; }
.gl-cards .home-card__media { opacity: 0; }
/* embaixo do card, como no Lusion: categorias em caixa alta e o título; a seta entra no hover */
.home-card__meta { display: flex; flex-direction: column; gap: 4px; }
.home-card__tags { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 6px; }
.home-card__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; background: var(--red); font: 600 11px/1 var(--inter); letter-spacing: .04em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.home-card__title { display: flex; align-items: center; font: 400 30px/38px var(--inter); letter-spacing: -.025em; }
.home-card__arrow { display: inline-flex; width: 0; overflow: hidden; opacity: 0; transform: translateX(-14px); transition: width .55s cubic-bezier(.22, 1, .36, 1), opacity .4s ease, transform .55s cubic-bezier(.22, 1, .36, 1); }
.home-card__arrow svg { flex: none; }
.home-card:hover .home-card__arrow, .home-card:focus-visible .home-card__arrow { width: 44px; opacity: 1; transform: none; }
.home-card:focus-visible { outline: none; }
.home-card:focus-visible .home-card__frame { outline: 2px solid var(--red); outline-offset: 4px; }


/* ---------- Títulos de seção (a base dá 64/76.8; aqui sem o padding próprio) ---------- */
.home-head { padding: 0; }
.home-head--tight h2 { line-height: 64px; }
.home-head--tight .v2-label { line-height: 24px; }

/* ---------- Títulos grandes (formato Featured Work do Lusion) ---------- */
.home-head--xl { align-items: flex-end; gap: 48px; }
.home-head--xl h2 { font: 400 clamp(64px, 8.3vw, 128px)/.98 var(--inter); letter-spacing: -.045em; color: #fff; }
.home-head--xl .sw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.home-head--xl .sw > span { display: inline-block; }
.js .home-head--xl .sw > span { transform: translateY(110%); }
.home-head__desc { flex: 0 1 400px; padding-bottom: .9em; font: 500 13px/20px var(--inter); letter-spacing: .01em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.js .home-head__desc { opacity: 0; }

/* ---------- Sobre ---------- */
.home-about { display: flex; flex-direction: column; gap: 64px; padding: 0 var(--pad); }
.home-about__body { display: flex; align-items: center; gap: 32px; }
.home-about__gallery { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 32px; overflow: clip; }
.home-about__photos { display: flex; gap: 16px; width: 100%; height: 403px; }
.home-about__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.home-photo { position: relative; margin: 0; display: flex; align-items: flex-end; justify-content: center; padding: 16px; border-radius: 20px; overflow: hidden; isolation: isolate; background: #111; }
.home-photo--big { flex: 0 0 calc((100% - 16px) * 319 / 624); min-width: 0; }
.home-photo--small { flex: 1 1 0; min-height: 0; }
.home-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .45) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.home-photo figcaption { display: inline-flex; align-items: center; gap: 8px; padding: 8px; border-radius: 458px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 300 12px/18px var(--inter); color: rgba(255, 255, 255, .3); white-space: nowrap; }
.home-photo figcaption svg { flex: none; }
.home-clients { width: 100%; height: 81px; display: flex; align-items: center; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.home-clients__track { display: flex; align-items: center; width: max-content; }
.home-clients__track img { width: 71px; height: 42px; margin-right: 16px; object-fit: contain; flex: none; }

.home-about__info { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 16px; }
.home-about__content { flex: 0 1 541px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.home-about__tags { display: flex; flex-wrap: wrap; gap: 16px; }
.home-about__text { display: flex; flex-direction: column; gap: 20px; font: 400 16px/24px var(--inter); }
.home-tools { overflow: hidden; }
.home-tools--x { display: none; }
.home-tools--y { flex: 0 0 83px; height: 442px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 8%, #000 80%, transparent); }
.home-tools--y .home-tools__track { display: flex; flex-direction: column; align-items: center; }
.home-tools--y img { width: 44px; height: 44px; margin-bottom: 32px; object-fit: contain; flex: none; }

.home-xp { display: flex; flex-direction: column; gap: 32px; }
.home-xp__head { font: 400 16px/19.2px var(--inter); }
.home-xp__head span { color: var(--muted); margin-left: 4px; }
.home-xp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-xp__item { min-height: 72px; padding: 9px 4px 9px 12px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(255, 255, 255, .12); }
.home-xp__name { font: 400 16px/19.2px var(--inter); }
.home-xp__name svg { display: inline-block; vertical-align: -1px; margin-left: 6px; color: rgba(255, 255, 255, .5); }
.home-xp__role { font: 400 11px/13.2px var(--inter); }
.home-xp__mode { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 20px; background: rgba(255, 255, 255, .12); font-size: 9px; line-height: 10.8px; vertical-align: 1px; white-space: nowrap; }
.home-xp__when { display: flex; align-items: center; gap: 8px; font: 400 10px/12px var(--inter); color: var(--muted); }
.home-xp__when img { width: 14px; height: 10px; object-fit: cover; }

/* ---------- Projetos (416x300, raio 30) ---------- */
.home-projects { display: flex; flex-direction: column; gap: 64px; padding: 0 var(--pad); }
.home-projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.home-proj { position: relative; display: block; aspect-ratio: 416 / 300; border-radius: 30px; overflow: hidden; isolation: isolate; background: #111; transition: transform .55s cubic-bezier(.34, 1.3, .64, 1); }
.home-proj__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 30px; z-index: -1; }
.home-proj__ico { position: absolute; top: 24px; right: 24px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 90px; background: #000; color: #fff; transform: rotate(-45deg); transition: background-color .3s ease; }
.home-proj:hover, .home-proj:focus-visible { transform: translateY(-8px) scale(1.02); }
.home-proj:hover .home-proj__ico, .home-proj:focus-visible .home-proj__ico { background: var(--red); }

/* ---------- 960–1279 (tablet do Framer): título do hero menor ---------- */
@media (max-width: 1279.98px) {
  .home-hero { --hs: .78; }
  .home-hero__row { gap: 40px; }
  .home-xp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .home-card__title { font-size: 26px; line-height: 32px; }
}

/* ---------- Celular (<960) — home-tree-390.txt ---------- */
@media (max-width: 959.98px) {
  .home { gap: 64px; padding: 0 0 64px; }
  .home-bg { height: 487px; }
  .home-hero { --hs: 1; flex-direction: column; align-items: center; gap: 0; padding: 111px var(--pad) 0; }
  .home-hero__bio { flex: none; width: 100%; align-items: center; }
  .home-hero__cue--d, .home-hero__socials { display: none; }
  .home-hero__cue--m { display: block; width: 100%; font-size: 14px; line-height: 22.54px; }
  .home-hero__row { width: 100%; }
  .home-hero__title { width: 100%; gap: 0; }
  .home-hero__l1 { height: 64px; }
  .home-hero__l1 > span, .home-hero__for { font-size: 64px; line-height: 64px; letter-spacing: -1.92px; }
  /* no Framer a palavra rotativa continua em 120px no celular e é cortada na borda da caixa */
  .home-hero__rot { overflow: hidden; }

  .home-feat { gap: 32px; }
  .home-cards { grid-template-columns: 1fr; gap: 40px; }
  .home-card { gap: 12px; }
  .home-card__frame { aspect-ratio: 1080 / 1350; max-height: none; }
  .home-card__title { font-size: 24px; line-height: 30px; }

  .home-head h2 { font-size: 46px; line-height: 57.04px; font-weight: 700; }
  .home-head .v2-label { line-height: 25.76px; }
  .home-head--tight .v2-label { line-height: 24px; }

  .home-about__body { flex-direction: column; align-items: stretch; }
  /* fotos também no celular (antes ficavam escondidas, como no Framer) */
  .home-about__gallery { flex: none; width: 100%; gap: 24px; overflow: visible; }
  .home-about__photos { height: auto; aspect-ratio: 342 / 300; gap: 10px; }
  .home-about__col { gap: 10px; }
  .home-photo { border-radius: 16px; padding: 10px; }
  .home-photo figcaption { font-size: 10px; padding: 6px; }
  .home-polaroid { width: 104px; bottom: -14px; left: calc((100% - 10px) * 319 / 624 - 80px); padding: 5px 5px 0; }
  .home-polaroid figcaption { font-size: 11px; padding: 4px 1px 6px; }
  .home-about__info { flex-direction: column; }
  .home-about__content { flex: none; width: 100%; }
  .home-about__text { font-size: 14px; line-height: 21px; }
  .home-tools--y { display: none; }
  .home-tools--x { display: flex; align-items: center; height: 53px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .home-tools--x .home-tools__track { display: flex; align-items: center; width: max-content; }
  .home-tools--x img { width: 44px; height: 44px; margin-right: 34px; object-fit: contain; flex: none; }
  .home-xp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .home-projects__grid { grid-template-columns: 1fr; gap: 16px; }
  .home-proj { aspect-ratio: 342 / 300; }
}

/* ---------- Títulos grandes no celular ---------- */
@media (max-width: 959.98px) {
  .home-head--xl { flex-direction: column; align-items: flex-start; gap: 16px; }
  .home-head.home-head--xl h2 { font-size: 52px; line-height: 1; font-weight: 400; letter-spacing: -.04em; }
  .home-head__desc { flex: none; padding: 0; font-size: 12px; line-height: 18px; }
}

/* ---------- Sobre mais largo (pedido do Felipe 13/11): a galeria cresce com a tela, sem achatar
   (a altura acompanha a largura), e o texto ocupa o resto da linha até a coluna de ferramentas ---------- */
@media (min-width: 960px) {
  .home-about__body { align-items: stretch; gap: 48px; }
  .home-about__gallery { flex: 1.2 1 0; justify-content: center; }
  .home-about__photos { height: clamp(403px, 31vw, 640px); }
  .home-about__info { flex: 1 1 0; align-items: center; gap: 32px; }
  .home-about__content { flex: 1 1 auto; max-width: 760px; }
  .home-about__text { font-size: 17px; line-height: 27px; }
  .home-xp__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-tools--y { height: clamp(442px, 31vw, 640px); }
}

/* ---------- Experiência: hover (pedido do Felipe 13/11) ---------- */
.home-xp__item { position: relative; isolation: isolate; border-radius: 0 12px 12px 0; transition: background-color .5s ease; }
.home-xp__item::before { content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: 100%; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.home-xp__item::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 0, 61, .14), rgba(255, 0, 61, 0) 70%); opacity: 0; transition: opacity .5s ease; }
.home-xp__name, .home-xp__role, .home-xp__when { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.home-xp__role { transition-delay: .03s; }
.home-xp__when { transition-delay: .06s; }
.home-xp__name svg { transition: transform .45s cubic-bezier(.34, 1.4, .64, 1), color .3s ease; }
@media (hover: hover) {
  .home-xp__item:hover::before { transform: scaleY(1); }
  .home-xp__item:hover::after { opacity: 1; }
  .home-xp__item:hover .home-xp__name, .home-xp__item:hover .home-xp__role, .home-xp__item:hover .home-xp__when { transform: translateX(6px); }
  .home-xp__item:hover .home-xp__name svg { transform: translate(3px, -3px); color: var(--red); }
}
.home-photo img { will-change: transform; }

/* ---------- Prêmios no Sobre (selo de louros do site atual, assets/css/style.css .award) ---------- */
.home-awards { display: flex; flex-direction: column; gap: 18px; }
.home-awards__list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.home-awards .award { --tone: #d9b45a; position: relative; width: 156px; aspect-ratio: 184 / 110; flex: none; color: var(--tone); }
.home-awards .award--silver { --tone: #c9ced6; }
.home-awards .award--bronze { --tone: #c7895b; }
.home-awards .award--white { --tone: rgba(255, 255, 255, .85); }
.home-awards .award--custom { color: var(--tone); }
.home-awards .award__laurel { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-awards .award__txt { position: absolute; inset: 10% 17%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 3px; line-height: 1.1; color: #fff; }
.home-awards .award__txt small { font: 500 6.6px/1.1 var(--inter); letter-spacing: .16em; text-transform: uppercase; color: var(--tone); }
.home-awards .award__txt strong { font: 600 14.5px/1.1 var(--inter); letter-spacing: -.01em; }
.home-awards .award__txt span { font: 400 8.2px/1.1 var(--inter); color: rgba(255, 255, 255, .62); }
@media (max-width: 959.98px) { .home-awards .award { width: 132px; } }

/* ---------- Foto de 2007 (polaroid sobre a foto grande do Sobre) ---------- */
.home-about__photos { position: relative; }
.home-polaroid { position: absolute; z-index: 2; left: calc((100% - 16px) * 319 / 624 - 120px); bottom: -22px; width: clamp(132px, 11vw, 176px); margin: 0; padding: 8px 8px 0; background: #f4f1ea; border-radius: 4px; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); rotate: -7deg; transition: rotate .6s cubic-bezier(.34, 1.3, .64, 1), scale .6s cubic-bezier(.34, 1.3, .64, 1), box-shadow .4s ease; }
.home-polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; filter: saturate(.85) contrast(1.02); }
.home-polaroid figcaption { padding: 6px 2px 9px; font: 400 15px/1.15 var(--hand); color: #2a2a2a; text-align: center; }
.home-polaroid:hover { rotate: -1deg; scale: 1.06; box-shadow: 0 12px 28px rgba(0, 0, 0, .26); }

/* cards crescem com a rolagem (site.js [data-grow]) */
.js .home-card__frame { transform-origin: 50% 100%; will-change: transform, clip-path; }

/* ==========================================================================
   Hero com o rosto (WebGL, assets/v2/js/hero-face.js) — tela cheia, por trás do menu
   ========================================================================== */
.v2-nav { z-index: 80; } /* acima do hero e do painel do menu */
.home { padding-top: 0; }
.home-bg { height: 100svh; }
.home-hero--face { position: relative; display: block; height: 100svh; min-height: 620px; margin-top: 0; padding: 0; overflow: hidden; } /* o menu agora é fixo (fora do fluxo) */
.hero-face { position: absolute; inset: 0; }
.hero-face__img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); object-fit: contain; transition: opacity .6s ease; }
.hero-face__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-face.is-gl .hero-face__img { opacity: 0; }
.js .hero-face:not(.is-gl) .hero-face__img { opacity: 0; } /* espera o WebGL ou a falta dele (site.js tira .js sem motion) */
/* degradê embaixo: o rosto se funde com a próxima seção */
.home-hero--face::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000); pointer-events: none; }
/* HUD */
.hero-hud { position: absolute; z-index: 2; font: 500 11px/16px var(--inter); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hero-hud--side { left: var(--pad); top: 50%; transform: translateY(-50%); }
.hero-hud--side-r { right: calc(var(--pad) + 8px); top: 50%; transform: translateY(-50%); }
.hero-hud--bl { left: var(--pad); bottom: 48px; display: flex; flex-direction: column; gap: 4px; }
.hero-hud--br { right: var(--pad); bottom: 48px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.hero-hud--tl { left: var(--pad); top: 132px; }
.hero-hud__k { color: #fff; }
.hero-hud__v { color: var(--muted); }
.hero-hud__rot { position: relative; display: block; width: 260px; height: 16px; overflow: hidden; }
.hero-hud__rot .rot__w { position: absolute; right: 0; top: 0; font: inherit; letter-spacing: inherit; white-space: nowrap; line-height: 16px; }
.hero-hud__tick { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .4); }
.hero-hud__tick::before { content: ""; width: 18px; height: 1px; background: rgba(255, 255, 255, .4); }
.hero-hud--scroll { left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .5); }
.hero-hud--scroll i { position: relative; width: 1px; height: 36px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.hero-hud--scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--red); animation: hero-scroll 2.2s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes hero-scroll { to { top: 100%; } }
@media (max-width: 959.98px) {
  /* celular: o hero ocupa a tela inteira (sem a borda da foto antes do fim da tela) e a base some
     num degradê mais longo até o preto */
  .home-hero--face { margin-top: 0; min-height: 560px; height: 100svh; }
  .home-hero--face::after { height: 34%; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 45%, #000); }
  .hero-face__img { height: 78%; }
  .hero-hud--tl { display: none; }
  /* idiomas na vertical, na lateral direita; redes no canto de baixo à direita, na linha do nome */
  .hero-hud--side-r { right: 18px; top: 50%; transform: translateY(-50%); }
  .hero-hud--side { left: auto; right: 14px; top: auto; bottom: 22px; transform: none; }
  .hero-hud--side .v2-socials--col { flex-direction: row; gap: 2px; }
  .hero-hud--side .v2-socials a, .hero-hud--side .v2-socials .hi { width: 36px; height: 36px; }
  .hero-hud--bl { left: 24px; bottom: 32px; }
  /* as linhas da grade começam esfumadas logo abaixo do hero (sem a borda reta no fim da foto) */
  .home-feat { position: relative; }
  .home-feat::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -65px; height: 220px; background: linear-gradient(180deg, #000 20px, rgba(0, 0, 0, 0)); pointer-events: none; }
  .hero-hud--br { right: 24px; bottom: 32px; }
  .hero-hud__hint, .hero-hud--scroll { display: none; }
  /* celular: os cargos girando ficam centralizados acima da cabeça, entre o menu e o cabelo */
  .hero-hud--br { left: 50%; right: auto; top: 17%; bottom: auto; transform: translateX(-50%); align-items: center; text-align: center; }
  .hero-hud--br .hero-hud__v { display: none; }
  .hero-hud--br .hero-hud__rot { width: 240px; color: rgba(255, 255, 255, .88); }
  .hero-hud--br .hero-hud__rot .rot__w { left: 0; right: 0; text-align: center; }
}
html:not(.js) .hero-hud__hint { display: none; } /* sem animação não há o que revelar */

/* ---------- Selo de premiação nas thumbnails da home (canto superior esquerdo) ---------- */
.home-awards-mini { position: absolute; left: 18px; top: 18px; z-index: 3; display: flex; flex-wrap: wrap; gap: 0 2px; max-width: calc(100% - 36px); pointer-events: none; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .28)); }
.home-awards-mini::before { content: ""; position: absolute; left: -6px; top: -8px; width: 300px; height: 170px; z-index: -1; background: radial-gradient(closest-side at 30% 35%, rgba(0, 0, 0, .2), rgba(0, 0, 0, .08) 55%, rgba(0, 0, 0, 0)); } /* sombra bem suave, só para o texto do selo respirar */
.home-awards-mini .award { --tone: #d9b45a; position: relative; display: block; width: 142px; aspect-ratio: 184 / 110; flex: none; color: var(--tone); }
.home-awards-mini .award--silver { --tone: #c9ced6; }
.home-awards-mini .award--bronze { --tone: #c7895b; }
.home-awards-mini .award--white { --tone: rgba(255, 255, 255, .9); }
.home-awards-mini .award__laurel { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-awards-mini .award__txt { position: absolute; inset: 10% 17%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px; line-height: 1.1; color: #fff; }
.home-awards-mini .award__txt small { font: 500 6.4px/1.1 var(--inter); letter-spacing: .14em; text-transform: uppercase; color: var(--tone); }
.home-awards-mini .award__txt strong { font: 600 13.6px/1.1 var(--inter); letter-spacing: -.01em; }
.home-awards-mini .award__txt span { font: 400 7.8px/1.1 var(--inter); color: rgba(255, 255, 255, .7); }
.home-awards-mini--sm { left: 22px; top: 20px; }
.home-awards-mini--sm .award { width: 124px; }
.is-leaving .home-awards-mini { opacity: 0; transition: opacity .3s ease; }
@media (max-width: 959.98px) { .home-awards-mini { left: 14px; top: 14px; } .home-awards-mini .award { width: 124px; } }

/* ---------- Toque que revela (ping) e dica do pincel fantasma (hero-face.js) ---------- */
.hero-ping { position: absolute; z-index: 3; width: 0; height: 0; pointer-events: none; }
.hero-ping i { position: absolute; left: -120px; top: -120px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 22px rgba(255, 255, 255, .16), inset 0 0 22px rgba(255, 255, 255, .1); opacity: 0; transform: scale(.06); animation: hero-ping .95s cubic-bezier(.16, 1, .3, 1) forwards; }
.hero-ping i + i { border-color: rgba(255, 255, 255, .38); animation-delay: .12s; animation-duration: 1.1s; }
.hero-ping b { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .9); animation: hero-ping-dot .7s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes hero-ping { 0% { opacity: 0; transform: scale(.06); } 14% { opacity: 1; } 100% { opacity: 0; transform: scale(1); } }
@keyframes hero-ping-dot { 0% { opacity: 0; transform: scale(.2); } 25% { opacity: 1; transform: scale(1.25); } 100% { opacity: 0; transform: scale(.6); } }
.hero-hint { position: absolute; z-index: 3; left: 50%; top: 82%; display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px 0 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px;
  background: rgba(0, 0, 0, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 11px/1 var(--inter); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
  opacity: 0; transform: translate(-50%, 10px); filter: blur(6px); transition: opacity .6s ease, transform .8s cubic-bezier(.22, 1, .36, 1), filter .6s ease; pointer-events: none; white-space: nowrap; }
.hero-hint.is-on { opacity: 1; transform: translate(-50%, 0); filter: none; }
.hero-hint i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.hero-hint i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); animation: hero-hint-ping 1.6s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes hero-hint-ping { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }

/* celular: toque no card antes de abrir o projeto (gl-cards.js softGo) */
.home-card.is-tapped { opacity: .55; filter: blur(2px); transition: opacity .4s ease, filter .4s ease; } /* sem mexer no transform (é da animação de rolagem) */

/* ---------- Outros trabalhos: arco 3D de cards que gira com a rolagem (arc.js) ----------
   Sem JS (ou com movimento reduzido) vira uma fileira que rola para o lado. */
.home-arc { position: relative; }
.home-arc__pin { display: flex; flex-direction: column; gap: 48px; }
.home-arc .home-head { padding: 0 var(--pad); }
.home-arc__stage { display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--pad) 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.home-arc__stage::-webkit-scrollbar { display: none; }
.home-arc__card { position: relative; display: block; flex: none; width: 260px; aspect-ratio: 10 / 13; scroll-snap-align: center; color: #fff; outline: none; }
.home-arc__frame { position: absolute; inset: 0; display: block; border-radius: 22px; overflow: hidden; isolation: isolate; background: #0d0d0d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 50px rgba(0, 0, 0, .55);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease, filter .45s ease; }
.home-arc__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 4; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.home-arc__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.home-arc__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .78) 100%); opacity: 0; transition: opacity .5s ease; }
.home-arc__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; transform: translateY(10px); filter: blur(6px); transition: opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1), filter .5s ease; }
.home-arc__cap small { font: 500 10px/1.2 var(--inter); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.home-arc__cap strong { font: 600 16px/1.25 var(--inter); letter-spacing: -.01em; }
.home-arc__card .home-awards-mini { transform: scale(.8); transform-origin: 0 0; }

/* hover (e foco): o card sobe um pouco para fora do arco, ganha a borda vermelha e mostra o título */
.home-arc__card:hover .home-arc__frame, .home-arc__card:focus-visible .home-arc__frame, .home-arc__card.is-center .home-arc__frame {
  box-shadow: 0 0 0 1px rgba(255, 0, 0, .55), 0 0 40px rgba(255, 0, 0, .18), 0 24px 60px rgba(0, 0, 0, .6); }
.home-arc__card:hover .home-arc__frame, .home-arc__card:focus-visible .home-arc__frame { transform: translateY(-16px) scale(1.04); }
.home-arc__card:hover .home-arc__media, .home-arc__card:focus-visible .home-arc__media { transform: scale(1.05); }
.home-arc__card:hover .home-arc__shade, .home-arc__card:focus-visible .home-arc__shade, .home-arc__card.is-center .home-arc__shade { opacity: 1; }
.home-arc__card:hover .home-arc__cap, .home-arc__card:focus-visible .home-arc__cap, .home-arc__card.is-center .home-arc__cap { opacity: 1; transform: none; filter: none; }
.home-arc__stage:has(.home-arc__card:hover) .home-arc__card:not(:hover) .home-arc__frame { filter: brightness(.5) saturate(.75); }

/* modo arco (JS ligado): seção alta, o miolo fica preso na tela e a rolagem gira os cards */
.home-arc.is-arc { height: calc(100svh + var(--n) * 18vh); }
.is-arc .home-arc__pin { position: sticky; top: 0; height: 100svh; padding-top: 120px; gap: 0; overflow: hidden; }
.is-arc .home-arc__stage { position: relative; flex: 1 1 auto; display: block; overflow: visible; padding: 0; perspective: 1800px; perspective-origin: 50% 20%; scroll-snap-type: none; }
.is-arc .home-arc__card { position: absolute; left: 50%; top: 0; width: var(--arc-w, 280px); height: auto; will-change: transform, opacity; transform-style: preserve-3d; }
.is-arc .home-arc__card:hover, .is-arc .home-arc__card:focus-visible { z-index: 200 !important; } /* o card em foco passa na frente dos vizinhos */
.is-arc .home-arc__card[hidden] { display: block; visibility: hidden; }
.is-arc .home-arc__pin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 5; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000); }
@media (max-width: 959.98px) {
  .is-arc .home-arc__pin { padding-top: 96px; }
  .home-arc__card { width: 200px; }
  .home-arc__cap strong { font-size: 14px; }
  .home-arc__card .home-awards-mini { transform: scale(.62); }
}

/* ---------- Outros trabalhos em lente: carrossel num cilindro visto de fora (olho de peixe), em loop (lens.js) ----------
   Sem JS: fileira que rola para o lado (mesmos cards do arco). */
.home-lens { position: relative; display: flex; flex-direction: column; gap: 56px; }
.home-lens .home-head { padding: 0 var(--pad); }
.home-lens__stage { display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--pad) 24px; scrollbar-width: none; }
.home-lens__stage::-webkit-scrollbar { display: none; }
.home-lens .home-arc__frame { border-radius: 16px; }
.home-lens__stage:has(.home-arc__card:hover) .home-arc__card:not(:hover) .home-arc__frame { filter: brightness(.5) saturate(.75); }
.home-lens .home-arc__card:hover .home-arc__frame, .home-lens .home-arc__card:focus-visible .home-arc__frame { transform: scale(1.035); }
.is-lens .home-lens__stage { position: relative; display: block; overflow: visible; padding: 0; height: calc(var(--lens-h, 420px) + 80px); perspective: var(--lens-p, 1000px); perspective-origin: 50% 50%;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.is-lens .home-lens__stage.is-drag { cursor: grabbing; }
.is-lens .home-lens__stage.is-drag .home-arc__card { pointer-events: none; }
.is-lens .home-arc__card { position: absolute; left: 50%; top: 50%; width: var(--lens-w, 320px); will-change: transform, opacity; -webkit-user-drag: none; }
.is-lens .home-arc__card img, .is-lens .home-arc__card video { -webkit-user-drag: none; pointer-events: none; }
.is-lens .home-arc__card[hidden] { display: block; visibility: hidden; }
.is-lens .home-arc__card:hover, .is-lens .home-arc__card:focus-visible { z-index: 200 !important; }
@media (max-width: 959.98px) {
  .home-lens { gap: 32px; }
}

/* Fotos do Sobre se encaixando (site.js "data-assemble"): saem de fora da coluna, então a galeria não corta */
.home-about__gallery { overflow: visible; }
[data-assemble] { will-change: transform, opacity, filter; }
.home-photo[data-assemble] img { transform: scale(1.16); }

/* ---------- Cards do arco/lente: hover sem contorno vermelho e título bruto em caixa alta (13/11) ---------- */
.home-arc__card { container-type: inline-size; }
.home-arc__card:hover .home-arc__frame, .home-arc__card:focus-visible .home-arc__frame, .home-arc__card.is-center .home-arc__frame {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 30px 70px rgba(0, 0, 0, .7); }
.home-arc__shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, .5) 52%, rgba(0, 0, 0, .93) 100%); }
.home-arc__cap { left: 8cqw; right: 8cqw; bottom: 7cqw; gap: 10px; opacity: 1; transform: none; filter: none; transition: none; }
.home-arc__cap small { display: flex; align-items: center; gap: 10px; font: 500 10px/1 var(--inter); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
  opacity: 0; transform: translateY(6px); transition: opacity .4s ease .08s, transform .6s cubic-bezier(.22, 1, .36, 1) .08s; }
.home-arc__cap small b { font-weight: 600; color: #fff; }
.home-arc__cap small i { font-style: normal; display: inline-flex; align-items: center; gap: 10px; }
.home-arc__cap small i::before { content: ""; width: 18px; height: 1px; background: rgba(255, 255, 255, .45); }
.home-arc__cap strong { display: block; overflow: hidden; padding-bottom: .04em; font: 800 26px/.9 var(--inter); font-size: clamp(20px, 11.5cqw, 44px); letter-spacing: -.045em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.home-arc__cap strong span { display: block; transform: translateY(105%); transition: transform .75s cubic-bezier(.22, 1, .36, 1); }
.home-arc__card:hover .home-arc__cap small, .home-arc__card:focus-visible .home-arc__cap small, .home-arc__card.is-center .home-arc__cap small { opacity: 1; transform: none; }
.home-arc__card:hover .home-arc__cap strong span, .home-arc__card:focus-visible .home-arc__cap strong span, .home-arc__card.is-center .home-arc__cap strong span { transform: none; }
.home-arc__card .home-arc__cap strong span { transition-delay: 0s; }

/* Lente em WebGL (lens.js): o canvas desenha os cards com a deformação de olho de peixe; os links de
   verdade ficam no HTML, invisíveis, para teclado e leitor de tela */
.is-lens-gl .home-lens__stage { position: relative; display: block; overflow: visible; padding: 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.is-lens-gl .home-lens__stage.is-drag { cursor: grabbing !important; }
.home-lens__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.is-lens-gl .home-arc__card { position: absolute; left: 50%; top: 0; width: 1px; height: 1px; aspect-ratio: auto; overflow: hidden; clip-path: inset(50%); opacity: 0; }

/* ---------- Respiro e títulos minimalistas (13/11) ----------
   Mais espaço entre as seções (cada uma respira sozinha na tela) e título menor: peso médio,
   entrelinha curta, tracking apertado; a descrição fica no canto, discreta. */
@media (min-width: 960px) {
  .home { gap: clamp(180px, 24vh, 280px); }
  .home-head--xl h2 { font-size: clamp(44px, 4.6vw, 76px); line-height: 1; font-weight: 500; letter-spacing: -.045em; }
  .home-head--xl { gap: 40px; }
  .home-head__desc { flex: 0 1 340px; padding-bottom: .35em; font-size: 11px; line-height: 17px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
  .home-about { gap: 56px; }
  .home-feat { gap: 56px; }
  .home-lens { gap: 40px; }
}
@media (max-width: 959.98px) {
  .home { gap: 120px; }
  .home-head.home-head--xl h2 { font-size: 38px; font-weight: 500; letter-spacing: -.045em; }
  .home-head__desc { font-size: 11px; line-height: 17px; letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
}

/* títulos mais afastados do conteúdo (13/11) */
@media (min-width: 960px) {
  .home-feat { gap: clamp(88px, 12vh, 128px); }
  .home-about { gap: clamp(80px, 11vh, 112px); }
  .home-lens { gap: clamp(64px, 9vh, 96px); }
}
@media (max-width: 959.98px) {
  .home-feat, .home-about { gap: 56px; }
  .home-lens { gap: 48px; }
}

/* ---------- Auditoria de UI (13/11) ---------- */
/* nome dos projetos sobe pela máscara (site.js, cards de destaque) */
.home-card__name .cw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.home-card__name .cw > span { display: inline-block; }
.cw-on .home-card__name .cw > span { transform: translateY(110%); }
/* seta da experiência presa ao nome (não cai sozinha na linha de baixo) */
.home-xp__name { white-space: nowrap; }
/* descrições dos títulos um pouco maiores no computador (leitura) */
@media (min-width: 960px) { .home-head__desc { font-size: 12.5px; line-height: 19px; } }
/* fundo do hero (sem WebGL): mais escuro e quase sem cor */
.home-bg video, .home-bg img { opacity: .12; filter: grayscale(.8); }
/* barra da faixa do Arquivo: mostra onde a faixa está e que ela anda para o lado */
.home-lens__bar { position: relative; height: 1px; margin: -100px var(--pad) 0; background: rgba(255, 255, 255, .14); overflow: hidden; }
.home-lens__bar i { position: absolute; left: 0; top: 0; width: 18%; height: 1px; background: #fff; will-change: transform; }
.home-lens:not(.is-lens-gl) .home-lens__bar { display: none; }
@media (max-width: 959.98px) { .home-lens__bar { margin-top: -70px; } }
