/* Ato 2: cenas dos clientes em órbita, dentro da mesma cena fixa do Ato 1 */
.act1-next__pos { will-change: transform; }
.act2-pos { visibility: hidden; }

/* luz de fundo na cor do cliente; a posição alterna de uma cena para a outra */
.act2-glow { position: absolute; inset: -6%; opacity: 0; background:
  radial-gradient(60% 50% at 26% 34%, color-mix(in srgb, var(--c) 42%, transparent) 0%, transparent 70%),
  radial-gradient(90% 70% at 72% 42%, color-mix(in srgb, var(--c) 52%, transparent) 0%, color-mix(in srgb, var(--c) 24%, #09110F) 36%, #09110F 76%); }
.act2-glow--1 { background:
  radial-gradient(50% 44% at 18% 66%, color-mix(in srgb, var(--c) 38%, transparent) 0%, transparent 70%),
  radial-gradient(80% 76% at 66% 30%, color-mix(in srgb, var(--c) 50%, transparent) 0%, color-mix(in srgb, var(--c) 22%, #09110F) 38%, #09110F 78%); }

/* camada da frente: logo do cliente numa placa de vidro */
.act2-logo { position: absolute; right: -26px; bottom: 16%; display: grid; place-items: center; height: 64px; padding: 0 20px; border-radius: 14px;
  background: rgba(9, 17, 15, .6); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(143, 240, 171, .3), 0 18px 40px rgba(0, 0, 0, .5); }
.act2-logo img { display: block; height: 30px; width: auto; max-width: 150px; object-fit: contain; }

/* anotações com números do projeto, presas à tela por uma linha fina (vocabulário das redlines) */
.act2-note { position: absolute; width: 210px; color: #fff; }
.act2-note b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; color: #8FF0AB; }
.act2-note b small { font-size: .5em; letter-spacing: 0; margin-left: .2em; color: rgba(143, 240, 171, .7); }
.act2-note > span { display: block; margin-top: 7px; font-size: .78rem; line-height: 1.35; color: rgba(255, 255, 255, .78); }
.act2-note::before { content: ""; position: absolute; background: #5FDD80; opacity: .7; }
.act2-note::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #5FDD80; }
.act2-note--a { right: 7%; bottom: calc(100% + 40px); padding-left: 14px; }
.act2-note--a::before { left: 0; top: 2px; width: 1px; height: calc(100% + 58px); }
.act2-note--a::after { left: -2px; top: calc(100% + 58px); }
.act2-note--b { right: calc(100% + 34px); top: 46%; text-align: right; padding-bottom: 12px; }
.act2-note--b::before { right: -56px; bottom: 0; height: 1px; width: calc(100% + 56px); }
.act2-note--b::after { right: -58px; bottom: -2px; }
/* variação: nas cenas ímpares as anotações trocam de lado */
.act2-v1 .act2-note--a { right: auto; left: 9%; }
.act2-v1 .act2-logo { bottom: auto; top: 14%; }
.act2-v1 .act2-note--b { top: 62%; }

.act2-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-bottom: 5px; pointer-events: auto;
  font-weight: 600; font-size: 1rem; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(143, 240, 171, .6); }
.act2-go:hover svg { transform: translateX(4px); }
.act2-go svg { transition: transform .25s; }
.act2-go:focus-visible { outline: 2px solid #8FF0AB; outline-offset: 6px; border-radius: 4px; }
/* com a abertura fora de cena, ela não pode ficar na frente do link */
.act2-live .hero__visual, .act2-live .hero__content { pointer-events: none; }
/* os clientes que viraram cena saem da grade de trabalhos */
.act2 .proj.act2-in { display: none; }

@media (max-width: 979px) {
  .act2-logo { right: 10px; bottom: auto; top: -24px; height: 44px; padding: 0 12px; border-radius: 10px; }
  .act2-v1 .act2-logo { top: -24px; }
  .act2-logo img { height: 20px; max-width: 96px; }
  .act2-note { width: 46%; text-align: left; padding: 0 0 0 12px; top: calc(100% + 64px); bottom: auto; }
  .act2-note b { font-size: 1.3rem; }
  .act2-note > span { font-size: .72rem; }
  .act2-note::after { display: none; }
  .act2-note::before, .act2-note--a::before, .act2-note--b::before { left: 0; right: auto; top: 2px; bottom: auto; width: 1px; height: 100%; }
  .act2-note--a, .act2-v1 .act2-note--a { left: 0; right: auto; }
  .act2-note--b, .act2-v1 .act2-note--b { right: 0; left: auto; top: calc(100% + 64px); }
}
@media (max-width: 979px) and (max-height: 739px) { .act2-note { display: none; } }

/* notebooks e janelas baixas: as anotações chegam mais perto da tela para não encostar no menu nem no texto */
@media (min-width: 980px) and (max-height: 900px) {
  .act2-note--a { bottom: calc(100% + 14px); }
  .act2-note--a::before { height: calc(100% + 32px); }
  .act2-note--a::after { top: calc(100% + 32px); }
  .act2-note > span { font-size: .74rem; margin-top: 5px; }
  .act2-note b { font-size: 1.45rem; }
  .act2-note--b, .act2-v1 .act2-note--b { top: 40%; }
}
@media (min-width: 980px) and (max-height: 660px) { .act2-note { display: none; } }
