/* suporte-de-ti — estilo exclusivo desta tela.
   O que e reaproveitado por mais de uma pagina mora em css/style.css,
   que carrega antes deste. */
/* ===== 20-cena-suporte.css ===== */
/* Cena do hero de /servicos/suporte-de-ti/: o dia da TI num anel de 24 horas.

   O ponteiro varre o dia; os alertas acendem na borda e a maioria se apaga
   sozinha, tratada antes de virar chamado. Um deles vira o cartao de chamado no
   meio do mostrador e percorre remoto -> presencial -> resolvido, enquanto o
   registro do dia se escreve embaixo. Todas as medidas sao `cqw`, a largura da
   propria cena: nao ha tamanho fixo, entao a figura acompanha a coluna. */
.sup-cena {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  aspect-ratio: 400 / 490;
  container-type: inline-size;
}

.sup-fundo {
  position: absolute;
  inset: -4%;
  background:
    radial-gradient(circle at 50% 26%, rgba(57, 150, 216, 0.14), transparent 50%),
    radial-gradient(circle at 78% 78%, rgba(22, 163, 74, 0.08), transparent 46%);
  filter: blur(6px);
}

/* --- O anel das 24 horas --- */
.sup-anel {
  position: absolute;
  z-index: 2;
  top: 2.0%;
  left: 15.0%;
  width: 70.0%;
  overflow: visible;
}

/* Um disco palido por baixo: sem ele o mostrador nao se le como objeto. */
.sup-mostrador {
  fill: #fff;
  opacity: 0.6;
}

.sup-trilho {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 3;
}

/* O arco acompanha o ponteiro: e o quanto do dia ja passou. */
.sup-arco {
  fill: none;
  stroke: rgba(57, 150, 216, 0.5);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 464.96;
  stroke-dashoffset: 464.96;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
  transform-box: view-box;
  animation: sup-arco 14s linear infinite;
}

@keyframes sup-arco {
  0% {
    stroke-dashoffset: 464.96;
    opacity: 1;
  }

  92.0% {
    opacity: 1;
  }

  99%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.sup-marcas line {
  stroke: #e2e8f0;
  stroke-width: 2;
  stroke-linecap: round;
}

.sup-horas text {
  font-family: inherit;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-anchor: middle;
  fill: #cbd5e1;
}

.sup-ponto {
  fill: #fff;
  stroke: #cbd5e1;
  stroke-width: 2.6;
}

.sup-onda {
  fill: none;
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.sup-ponteiro {
  transform-origin: 100px 100px;
  transform-box: view-box;
  animation: sup-varre 14s linear infinite;
}

.sup-ponteiro line {
  stroke: #3996d8;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.sup-ponteiro circle {
  fill: #3996d8;
}

/* O eixo do relogio, com um halo branco para o ponteiro sair limpo de dentro. */
.sup-eixo-halo {
  fill: #fff;
}

.sup-eixo {
  fill: #3996d8;
}

@keyframes sup-varre {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

.sup-evento-disco .sup-ponto {
  animation: sup-ponto-disco 14s ease-out infinite;
}

@keyframes sup-ponto-disco {
  0%,
  9.71% {
    fill: #fff;
    stroke: #cbd5e1;
  }

  9.72%,
  11.72% {
    fill: #fff;
    stroke: #f59e0b;
  }

  13.72%,
  92.0% {
    fill: #dcfce7;
    stroke: #22c55e;
  }

  96.0%,
  100% {
    fill: #fff;
    stroke: #cbd5e1;
  }
}

.sup-evento-disco .sup-onda {
  stroke: #f59e0b;
  animation: sup-onda-disco 14s ease-out infinite;
}

@keyframes sup-onda-disco {
  0%,
  9.71% {
    scale: 1;
    opacity: 0;
  }

  9.72% {
    scale: 1;
    opacity: 0.7;
  }

  14.72%,
  100% {
    scale: 3.4;
    opacity: 0;
  }
}

.sup-linha-1 {
  animation: sup-linha-1 14s ease-out infinite;
}

@keyframes sup-linha-1 {
  0%,
  9.71% {
    opacity: 0;
    translate: 0 1.4cqw;
  }

  12.22%,
  92.0% {
    opacity: 1;
    translate: 0 0;
  }

  96.0%,
  100% {
    opacity: 0;
    translate: 0 1.4cqw;
  }
}

.sup-evento-update .sup-ponto {
  animation: sup-ponto-update 14s ease-out infinite;
}

@keyframes sup-ponto-update {
  0%,
  28.46% {
    fill: #fff;
    stroke: #cbd5e1;
  }

  28.47%,
  30.47% {
    fill: #fff;
    stroke: #f59e0b;
  }

  32.47%,
  92.0% {
    fill: #dcfce7;
    stroke: #22c55e;
  }

  96.0%,
  100% {
    fill: #fff;
    stroke: #cbd5e1;
  }
}

.sup-evento-update .sup-onda {
  stroke: #f59e0b;
  animation: sup-onda-update 14s ease-out infinite;
}

@keyframes sup-onda-update {
  0%,
  28.46% {
    scale: 1;
    opacity: 0;
  }

  28.47% {
    scale: 1;
    opacity: 0.7;
  }

  33.47%,
  100% {
    scale: 3.4;
    opacity: 0;
  }
}

.sup-linha-2 {
  animation: sup-linha-2 14s ease-out infinite;
}

@keyframes sup-linha-2 {
  0%,
  28.46% {
    opacity: 0;
    translate: 0 1.4cqw;
  }

  30.97%,
  92.0% {
    opacity: 1;
    translate: 0 0;
  }

  96.0%,
  100% {
    opacity: 0;
    translate: 0 1.4cqw;
  }
}

.sup-evento-link .sup-ponto {
  animation: sup-ponto-link 14s ease-out infinite;
}

@keyframes sup-ponto-link {
  0%,
  46.87% {
    fill: #fff;
    stroke: #cbd5e1;
  }

  46.88%,
  48.88% {
    fill: #fff;
    stroke: #f59e0b;
  }

  50.88%,
  92.0% {
    fill: #dcfce7;
    stroke: #22c55e;
  }

  96.0%,
  100% {
    fill: #fff;
    stroke: #cbd5e1;
  }
}

.sup-evento-link .sup-onda {
  stroke: #f59e0b;
  animation: sup-onda-link 14s ease-out infinite;
}

@keyframes sup-onda-link {
  0%,
  46.87% {
    scale: 1;
    opacity: 0;
  }

  46.88% {
    scale: 1;
    opacity: 0.7;
  }

  51.88%,
  100% {
    scale: 3.4;
    opacity: 0;
  }
}

.sup-linha-3 {
  animation: sup-linha-3 14s ease-out infinite;
}

@keyframes sup-linha-3 {
  0%,
  46.87% {
    opacity: 0;
    translate: 0 1.4cqw;
  }

  49.38%,
  92.0% {
    opacity: 1;
    translate: 0 0;
  }

  96.0%,
  100% {
    opacity: 0;
    translate: 0 1.4cqw;
  }
}

.sup-evento-impressora .sup-ponto {
  animation: sup-ponto-impressora 14s ease-out infinite;
}

@keyframes sup-ponto-impressora {
  0%,
  58.67% {
    fill: #fff;
    stroke: #cbd5e1;
  }

  58.68%,
  73.68% {
    fill: #fff;
    stroke: #3996d8;
  }

  75.68%,
  92.0% {
    fill: #dcfce7;
    stroke: #22c55e;
  }

  96.0%,
  100% {
    fill: #fff;
    stroke: #cbd5e1;
  }
}

.sup-evento-impressora .sup-onda {
  stroke: #3996d8;
  animation: sup-onda-impressora 14s ease-out infinite;
}

@keyframes sup-onda-impressora {
  0%,
  58.67% {
    scale: 1;
    opacity: 0;
  }

  58.68% {
    scale: 1;
    opacity: 0.7;
  }

  63.68%,
  100% {
    scale: 3.4;
    opacity: 0;
  }
}

.sup-linha-4 {
  animation: sup-linha-4 14s ease-out infinite;
}

@keyframes sup-linha-4 {
  0%,
  58.67% {
    opacity: 0;
    translate: 0 1.4cqw;
  }

  61.18%,
  92.0% {
    opacity: 1;
    translate: 0 0;
  }

  96.0%,
  100% {
    opacity: 0;
    translate: 0 1.4cqw;
  }
}

/* --- O miolo do anel --- */
.sup-centro {
  position: absolute;
  z-index: 1;
  top: 35.57%;
  left: 50%;
  translate: -50% 0;
  width: 44%;
  font-size: 2.1cqw;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: #94a3b8;
  animation: sup-centro 14s ease-in-out infinite;
}

@keyframes sup-centro {
  0%,
  56.68% {
    opacity: 1;
  }

  58.68%,
  90.0% {
    opacity: 0;
  }

  92.0%,
  100% {
    opacity: 1;
  }
}

/* --- O chamado que nao se resolveu sozinho --- */
.sup-chamado {
  position: absolute;
  z-index: 3;
  top: 19.17%;
  left: 26%;
  width: 48%;
  border-radius: 3cqw;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 2.8cqw 3cqw;
  box-shadow: 0 2.6cqw 5cqw rgba(15, 23, 42, 0.14);
  opacity: 0;
  animation: sup-chamado 14s ease-out infinite;
}

@keyframes sup-chamado {
  0%,
  58.67% {
    opacity: 0;
    translate: 0 1.6cqw;
  }

  61.18%,
  90.0% {
    opacity: 1;
    translate: 0 0;
  }

  92.0%,
  100% {
    opacity: 0;
    translate: 0 0;
  }
}

.sup-chamado-topo {
  font-size: 1.8cqw;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sup-chamado-cabeca {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  margin-top: 2cqw;
}

.sup-chamado-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7cqw;
  height: 7cqw;
  border-radius: 2cqw;
  background: #f1f5f9;
  font-size: 2.6cqw;
  color: #64748b;
}

.sup-chamado-nome strong {
  display: block;
  font-size: 2.7cqw;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.sup-chamado-nome em {
  display: block;
  margin-top: 0.3cqw;
  font-size: 2.1cqw;
  font-style: normal;
  font-weight: 500;
  color: #94a3b8;
}

/* Os tres passos ocupam a mesma linha, um de cada vez: o cartao nao cresce e o
   anel continua visivel em volta. */
.sup-passos {
  display: inline-grid;
  width: 100%;
  margin-top: 2.4cqw;
  padding-top: 2.2cqw;
  border-top: 1px solid #f1f5f9;
}

.sup-passo {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  font-size: 2.2cqw;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
}

.sup-passo i {
  font-size: 2.2cqw;
}

.sup-passo-1 {
  color: #334155;
  animation: sup-passo-1 14s ease-out infinite;
}

@keyframes sup-passo-1 {
  0%,
  63.67% {
    opacity: 0;
  }

  64.68%,
  69.68% {
    opacity: 1;
  }

  70.68%,
  100% {
    opacity: 0;
  }
}

.sup-passo-2 {
  color: #334155;
  animation: sup-passo-2 14s ease-out infinite;
}

@keyframes sup-passo-2 {
  0%,
  69.67% {
    opacity: 0;
  }

  70.68%,
  75.68% {
    opacity: 1;
  }

  76.68%,
  100% {
    opacity: 0;
  }
}

.sup-passo-3 {
  color: #16a34a;
  animation: sup-passo-3 14s ease-out infinite;
}

@keyframes sup-passo-3 {
  0%,
  75.67% {
    opacity: 0;
  }

  76.68%,
  92.0% {
    opacity: 1;
  }

  93.0%,
  100% {
    opacity: 0;
  }
}

/* --- O registro do dia --- */
.sup-titulo {
  position: absolute;
  top: 61.64%;
  left: 0;
  right: 0;
  font-size: 2cqw;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #94a3b8;
}

.sup-registro {
  position: absolute;
  top: 65.64%;
  left: 0;
  right: 0;
  list-style: none;
}

.sup-linha {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  padding: 1.5cqw 2.8cqw;
  border-radius: 2.4cqw;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1.2cqw 2.6cqw rgba(15, 23, 42, 0.05);
  opacity: 0;
}

.sup-linha + .sup-linha {
  margin-top: 1.2cqw;
}

.sup-hora {
  font-size: 2.1cqw;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
}

.sup-texto {
  flex: 1;
  min-width: 0;
  font-size: 2.3cqw;
  font-weight: 600;
  line-height: 1.3;
  color: #334155;
}

.sup-selo {
  padding: 0.6cqw 1.6cqw;
  border-radius: 9999px;
  font-size: 1.8cqw;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sup-selo-ok {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #16a34a;
}

/* Os dois selos do chamado ocupam a mesma celula: um se apaga sobre o outro no
   instante em que o chamado fecha. */
.sup-selo-par {
  display: inline-grid;
}

.sup-selo-par > * {
  grid-area: 1 / 1;
}

.sup-selo-aberto {
  border: 1px solid rgba(57, 150, 216, 0.25);
  background: rgba(57, 150, 216, 0.08);
  color: #2b7bb9;
  animation: sup-selo-aberto 14s ease-out infinite;
}

.sup-selo-fechado {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #16a34a;
  opacity: 0;
  animation: sup-selo-fechado 14s ease-out infinite;
}

@keyframes sup-selo-aberto {
  0%,
  75.68% {
    opacity: 1;
  }

  77.18%,
  100% {
    opacity: 0;
  }
}

@keyframes sup-selo-fechado {
  0%,
  75.68% {
    opacity: 0;
  }

  77.18%,
  100% {
    opacity: 1;
  }
}

/* Quem pediu menos movimento ve o dia inteiro parado: o registro completo, o
   chamado ja resolvido e o anel sem ponteiro correndo. */
@media (prefers-reduced-motion: reduce) {
  .sup-arco,
  .sup-ponteiro,
  .sup-onda,
  .sup-ponto,
  .sup-centro,
  .sup-chamado,
  .sup-linha,
  .sup-passo,
  .sup-selo-aberto,
  .sup-selo-fechado {
    animation: none;
  }

  .sup-arco {
    stroke-dashoffset: 0;
  }

  .sup-ponteiro,
  .sup-centro,
  .sup-selo-aberto {
    opacity: 0;
  }

  .sup-linha,
  .sup-chamado,
  .sup-selo-fechado,
  .sup-passo-3 {
    opacity: 1;
  }
}

