/* =========================================================
   Visual animado da faixa azul (página inicial).
   Código do ChatGPT, mantido como veio. Só a regra .hero-visual (espaçamento) é nossa.
   Para desligar: SITE.heroVisual = false em js/data.js.
   Para remover de vez: apague este arquivo, o <link> e o bloco "hero-visual" em index.html.
   ========================================================= */

.hero-visual { margin-top: clamp(20px, 3vw, 36px); }
.hero-visual .resultado-visual { max-width: 480px; }

.resultado-visual {
  width: 100%;
  max-width: 680px;
  margin: auto;
  overflow: hidden;
}

.resultado-visual svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Barras */
.resultado-barra {
  fill: rgba(91, 165, 230, 0.10);
  stroke: #79b9f2;
  stroke-width: 4;
  opacity: 0;
  transform-box: view-box;
  transform-origin: bottom;
  animation: crescer 1s ease-out forwards;
}

.resultado-barra:nth-child(1) { animation-delay: .2s; }
.resultado-barra:nth-child(2) { animation-delay: .5s; }
.resultado-barra:nth-child(3) { animation-delay: .8s; }
.resultado-barra:nth-child(4) { animation-delay: 1.1s; }

@keyframes crescer {
  from { opacity: 0; transform: scaleY(0.1); }
  to   { opacity: 1; transform: scaleY(1); }
}

/* Ícones */
.resultado-icone {
  fill: none;
  stroke: #9bd5ff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Seta */
.resultado-seta {
  fill: none;
  stroke: #ffa51e;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: desenhar-seta 2s ease-out 1.3s forwards;
}

@keyframes desenhar-seta {
  to { stroke-dashoffset: 0; }
}

/* Brilho */
.resultado-destaque {
  fill: #ffad25;
  filter: drop-shadow(0 0 9px #ffad25);
}

.resultado-base {
  fill: none;
  stroke: #69bafa;
  stroke-width: 4;
  opacity: .65;
}

@media (prefers-reduced-motion: reduce) {
  .resultado-visual * {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}
