/* ==================================================================== */
/* johann-10nov-grupo                                                 */
/* Camada da rodada de 10/11/2026 para as telas 02, 03, 08 e 09.       */
/* Carregada por ultimo, entao vence as folhas anteriores.             */
/* ==================================================================== */

/* ------------------------------------------------------------------ */
/* Tela 02 . Da engenharia ao investimento                             */
/* B1: o azul do fundo fica mais clean, mais proximo de um velo        */
/* transparente sobre as fotos. O mosaico ja vem com duotone claro e  */
/* com parte da cor original de cada foto. Aqui o veu cede espaco     */
/* para as fotos aparecerem e so pesa onde tem texto.                 */
/* ------------------------------------------------------------------ */
#scene-2 .history-wash {
  background:
    linear-gradient(90deg,
      rgba(5,24,34,.78) 0%,
      rgba(5,24,34,.56) 22%,
      rgba(5,24,34,.16) 38%,
      rgba(5,24,34,0) 50%) no-repeat 0 0 / 100% 44%,
    linear-gradient(180deg,
      rgba(5,24,34,.52) 0%,
      rgba(5,24,34,.44) 14%,
      rgba(5,24,34,.18) 30%,
      rgba(5,24,34,.10) 44%,
      rgba(5,24,34,.14) 58%,
      rgba(4,19,28,.46) 68%,
      rgba(4,18,27,.64) 80%,
      rgba(4,17,26,.80) 100%);
}

/* ------------------------------------------------------------------ */
/* Tela 03 . Resultados que constroem confianca                        */
/* C1: os numeros dominam a tela e a imagem dos produtos sai.          */
/* ------------------------------------------------------------------ */
#scene-3 .group-project-mosaic { display: none !important; }

#scene-3.group-results-redesign .scale-tripod {
  left: 64px;
  top: 244px;
  width: 1312px;
  height: 396px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 26px;
  animation: none !important;
}
#scene-3.group-results-redesign .scale-tripod > svg { display: none; }

#scene-3.group-results-redesign .scale-tripod article {
  position: relative;
  inset: auto !important;
  top: auto !important;
  bottom: auto;
  width: auto;
  margin: 0;
  padding: 40px 36px;
  text-align: left;
  background: #0e435e;
  border-radius: 5px;
  box-shadow: 0 13px 28px #103e5610;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#scene-3.group-results-redesign .scale-tripod article:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 66px;
  height: 100%;
  background: #7ac1db13;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 78%);
  pointer-events: none;
}
#scene-3.group-results-redesign .scale-tripod .scale-left { background: #1c647f; }
#scene-3.group-results-redesign .scale-tripod .scale-right { background: #d5e7ee; }
#scene-3.group-results-redesign .scale-tripod strong {
  font: 500 66px/1 Unbounded, Arial, sans-serif;
  letter-spacing: -3.4px;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#scene-3.group-results-redesign .scale-tripod .scale-right strong { font-size: 68px; color: #0c4562; }
#scene-3.group-results-redesign .scale-tripod span {
  display: block;
  font: 500 27px/1.2 Hanken, Arial, sans-serif;
  color: #fff;
  max-width: none;
  letter-spacing: 0;
  margin-top: 20px;
}
#scene-3.group-results-redesign .scale-tripod .scale-right span { color: #164e66; margin-top: 9px; }

/* A foto do grupo no alto a direita perde forca, para nao competir com  */
/* os numeros.                                                           */
#scene-3.group-results-redesign:before { opacity: .42; }

/* ------------------------------------------------------------------ */
/* Tela 08 . Pouca oferta. Demanda por espaco.                         */
/* E1: o rotulo e o percentual ficam DENTRO da barrinha, sem a faixa   */
/* translucida atras e sem as caixas escuras: so a barrinha inteira,   */
/* como no modelo do Johann. As larguras seguem a ordem dos dados e    */
/* garantem espaco para o texto (escala visual, os valores no texto    */
/* sao os do cliente).                                                  */
/* E2: a barra carrega quando o slide entra. Comeca em 1%, passa por    */
/* 3% e assume o valor final. Com movimento reduzido o valor final     */
/* aparece de imediato.                                                 */
/* ------------------------------------------------------------------ */
#scene-10 .vacancy > div:nth-child(1) .track i { --vac-final: 36%; }
#scene-10 .vacancy > div:nth-child(2) .track i { --vac-final: 50%; }
#scene-10 .vacancy > div:nth-child(3) .track i { --vac-final: 64%; }
#scene-10 .vacancy > div:nth-child(4) .track i { --vac-final: 100%; }
#scene-10 .vacancy > div:nth-child(1) .track { --vac-final: 36%; }
#scene-10 .vacancy > div:nth-child(2) .track { --vac-final: 50%; }
#scene-10 .vacancy > div:nth-child(3) .track { --vac-final: 64%; }
#scene-10 .vacancy > div:nth-child(4) .track { --vac-final: 100%; }

#scene-10 .vacancy .track {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#scene-10 .vacancy .track i {
  width: var(--vac-final) !important;
  box-shadow: none;
  border-radius: 6px;
}
#scene-10 .vacancy-name,
#scene-10 .vacancy-value {
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  padding: 0 !important;
  color: #06293b !important;
}
#scene-10 .vacancy-name { left: 24px !important; }
#scene-10 .vacancy-value {
  left: auto !important;
  right: calc(100% - var(--vac-final) + 24px) !important;
  font-weight: 600;
}

#scene-10.active .vacancy .track i {
  animation: vacancia-carrega 1.6s cubic-bezier(.22, 1, .36, 1) both;
}
#scene-10.active .vacancy > div:nth-child(2) .track i { animation-delay: .16s; }
#scene-10.active .vacancy > div:nth-child(3) .track i { animation-delay: .32s; }
#scene-10.active .vacancy > div:nth-child(4) .track i { animation-delay: .48s; }
#scene-10.active .vacancy-name,
#scene-10.active .vacancy-value {
  animation: vacancia-texto 1.9s ease both;
}
#scene-10.active .vacancy > div:nth-child(2) .vacancy-name,
#scene-10.active .vacancy > div:nth-child(2) .vacancy-value { animation-delay: .16s; }
#scene-10.active .vacancy > div:nth-child(3) .vacancy-name,
#scene-10.active .vacancy > div:nth-child(3) .vacancy-value { animation-delay: .32s; }
#scene-10.active .vacancy > div:nth-child(4) .vacancy-name,
#scene-10.active .vacancy > div:nth-child(4) .vacancy-value { animation-delay: .48s; }

@keyframes vacancia-carrega {
  0%   { width: 1%; }
  40%  { width: 3%; }
  100% { width: var(--vac-final); }
}
@keyframes vacancia-texto {
  0%, 45% { opacity: 0; }
  100%    { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #scene-10 .vacancy .track i {
    animation: none !important;
    width: var(--vac-final) !important;
  }
  #scene-10 .vacancy-name,
  #scene-10 .vacancy-value { animation: none !important; opacity: 1; }
}

/* ------------------------------------------------------------------ */
/* Tela 09 . AMBX . Garuva                                             */
/* F1: o azul do fundo quebra um pouco e ganha variacao de matiz, sem  */
/* estourar. O verde vem da mata e o calor vem da luz do fim de tarde.  */
/* ------------------------------------------------------------------ */
#scene-11 .ambx-cover-photos img {
  filter: saturate(1.16) contrast(1.02) brightness(.95);
}
#scene-11 .shade {
  background:
    radial-gradient(58% 48% at 82% 78%, rgba(216,148,68,.30) 0%, rgba(216,148,68,0) 72%),
    radial-gradient(70% 60% at 8% 14%, rgba(28,116,124,.36) 0%, rgba(28,116,124,0) 74%),
    linear-gradient(168deg,
      rgba(9,56,84,.70) 0%,
      rgba(12,72,90,.62) 34%,
      rgba(22,66,88,.56) 62%,
      rgba(10,40,58,.72) 100%) !important;
}

/* ------------------------------------------------------------------ */
/* Tela 07 . Porto Itapoa                                              */
/* Pedido das 16:31 (audio): o dado "R$ 500 milhoes / Fase IV" estava   */
/* solto sobre os conteineres. Passa para a coluna da esquerda, logo    */
/* abaixo do dado de TEUs, com o detalhe ja consolidado no deck (+120   */
/* mil m2 de patio).                                                    */
/* ------------------------------------------------------------------ */
#scene-8 .port-proof > div {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: 560px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.42);
}
#scene-8 .port-proof { top: auto !important; bottom: 118px !important; }
#scene-8 .port-proof > div > b { display: block; }
#scene-8 .port-proof > div > span { margin-top: 8px !important; line-height: 1.35; }
