/* =========================
       RESET & BASE
    ==========================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto,
    sans-serif;
  color: #1a1a1a;
  background: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
}

/* =========================
       TOKENS (cores, espaçamento, etc.)
    ==========================*/
:root {
  --azul: #1b295c;
  --azul-700: #15204a;
  --accent: #3a4cc7;
  --accent-2: #2a3f8e;
  --accent-gradient: linear-gradient(90deg, var(--accent), var(--accent-2));
  --dourado: #fecb00;
  --cinza-100: #f7f7f8;
  --cinza-200: #f0f1f4;
  --texto: #1f2937;
  --ok: #10b981;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.06);
  --container: 1200px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 16px;
}
.section {
  padding: clamp(48px, 7vw, 88px) 0;
}
.title {
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--azul);
}
.subtitle {
  color: #374151;
  margin-top: 10px;
  font-size: clamp(16px, 2.6vw, 18px);
}

/* =========================
       HEADER
    ==========================*/
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(27, 41, 92, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 44px;
  width: auto;
}
.menu {
  display: none;
  gap: 24px;
}
.menu a {
  color: #fff;
  font-weight: 600;
  opacity: 0.9;
}
.menu a:hover {
  color: var(--dourado);
}
@media (min-width: 768px) {
  .menu {
    display: flex;
  }
}

/* =========================
       HERO (super foco em CTA)
    ==========================*/
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(40px, 6vw, 84px);
}
.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  align-items: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding-inline: 18px;
}

/* Grid interno do hero: conteúdo + ilustração */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.hero-illustration svg {
  max-width: 100%;
  height: auto;
}

.hero-illustration img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  display: block;
}

.cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.18);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
}

/* Variante: hero que ocupa a viewport inteira (sem ilustração) */
.hero--full {
  min-height: 100vh;
  /* remove paddings grandes para garantir que ocupe a viewport */
  padding-top: 0;
  padding-bottom: 0;
  display: grid;
  place-items: center;
}
.hero--full .hero-wrap {
  padding-inline: 18px;
  width: 100%;
}
.hero--full .hero-content {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 84px) 0;
}
.hero--full h1 {
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.03;
}
.hero--full .hero-sub {
  font-size: clamp(16px, 2.4vw, 20px);
  margin: 12px auto 0;
  max-width: 760px;
}
.hero--full .hero-ctas {
  justify-content: center;
}
.hero--full .quick-benefits {
  margin-top: 18px;
  justify-content: center;
}
.cta-outline:hover {
  background: rgba(255, 255, 255, 0.04);
}
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: clamp(16px, 2.6vw, 20px);
  opacity: 0.95;
  max-width: 760px;
  margin: 0 auto;
}
.hero .dates {
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-top: 6px;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--dourado);
  color: var(--azul);
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.cta:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}
.cta.pulse {
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 203, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(254, 203, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(254, 203, 0, 0);
  }
}

/* hero background animado */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Mais suave e com camadas para destaque visual do hero */
  background: radial-gradient(
      900px 420px at 10% -20%,
      rgba(58, 76, 199, 0.9) 0%,
      rgba(58, 76, 199, 0) 45%
    ),
    radial-gradient(
      900px 500px at 110% 20%,
      rgba(27, 41, 92, 0.9) 0%,
      rgba(27, 41, 92, 0) 40%
    ),
    var(--accent-gradient);
}
/* animação removida para estabilidade visual */

/* blocos de destaque abaixo do hero */
.quick-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.q-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
}

.q-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--dourado);
}
@media (max-width: 800px) {
  .quick-benefits {
    grid-template-columns: 1fr;
  }
}

/* =========================
       CONTADOR REGRESSIVO
    ==========================*/
.countdown {
  display: grid;
  grid-auto-flow: column;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}
.cd-box {
  background: #fff;
  color: var(--azul);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  min-width: 70px;
  text-align: center;
}
.cd-box small {
  display: block;
  font-weight: 600;
  color: #334155;
  font-size: 11px;
}
@media (max-width: 520px) {
  .countdown {
    grid-auto-flow: row;
  }
}

/* =========================
       POR QUE PARTICIPAR
    ==========================*/
.why {
  background: var(--cinza-100);
}
.why-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--cinza-200);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}
.why-card:hover {
  transform: translateY(-3px);
}
.why-icon {
  font-size: 28px;
}
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
       RESULTADOS 2024 (Vocês Pediram / Nós Fizemos)
    ==========================*/
.results-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}
.result {
  background: #fff;
  border: 1px solid var(--cinza-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.result-top {
  padding: 18px;
  display: grid;
  gap: 6px;
}
.badge {
  display: inline-block;
  background: #eef2ff;
  color: #3730a3;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.result-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px dashed #e5e7eb;
}
.result-col {
  padding: 14px 18px;
}
.result-col h4 {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.result-col p {
  font-size: 14px;
  color: #111827;
}
@media (max-width: 1000px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
  .result-split {
    grid-template-columns: 1fr;
  }
}

.report-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--azul);
  font-weight: 700;
}
.report-link:hover {
  text-decoration: underline;
}

/* KPIs / Métricas */
.kpi-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--cinza-200);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}
.kpi h4 {
  font-size: 14px;
  color: #4b5563;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.kpi .big {
  font-size: 28px;
  font-weight: 800;
  color: var(--azul);
  margin-top: 6px;
}
.meter {
  height: 10px;
  background: #eef2ff;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}
.meter > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2a3f8e, #3a4cc7);
}
@media (max-width: 900px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* Ações em andamento */
.acoes-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}
.acao {
  background: #fcfdfa;
  border: 1px dashed #d1d5db;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.acao h4 {
  font-size: 15px;
  color: #111827;
  margin-bottom: 6px;
}
.acao p {
  color: #374151;
  font-size: 14px;
}
@media (max-width: 1000px) {
  .acoes-grid {
    grid-template-columns: 1fr;
  }
}
.report-link:hover {
  text-decoration: underline;
}

/* =========================
       COMO FUNCIONA (timeline)
    ==========================*/
.timeline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}
.step {
  background: #fff;
  border: 1px solid var(--cinza-200);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.step .num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  color: var(--azul);
  background: #eef2ff;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: #374151;
}
@media (max-width: 1000px) {
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

/* =========================
       CTA SEGMENTADA (ALUNO/PROF/CLB)
    ==========================*/
.cta-section {
  background: linear-gradient(180deg, var(--azul) 0%, var(--azul-700) 100%);
  color: #fff;
  position: relative;
}
.role-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}
.role {
  background: #fff;
  color: var(--azul);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--cinza-200);
  transition: transform 0.2s ease;
}
.role:hover {
  transform: translateY(-4px);
}
.role h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.role .cta-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dourado);
  color: var(--azul);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
}
@media (max-width: 900px) {
  .role-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
       FAQ (accordion)
    ==========================*/
.faq details {
  background: #fff;
  border: 1px solid var(--cinza-200);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.faq details + details {
  margin-top: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--azul);
}
.faq p {
  margin-top: 8px;
  color: #374151;
}

/* Wrapper que conterá o conteúdo do details para animar altura */
.details-content-wrapper {
  overflow: hidden;
  height: 0;
  transition: height 260ms cubic-bezier(0.2, 0, 0, 1);
}
.faq .title {
  margin: 16px auto;
}
.faq {
  padding: 16px;
}

/* =========================
       FOOTER + FAB mobile
    ==========================*/
footer {
  background: var(--azul);
  color: #fff;
  padding: 28px 0;
  text-align: center;
}
.brand img {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

/* Pequenos ajustes responsivos para hero */
@media (min-width: 1024px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }
  .hero h1 {
    font-size: 64px;
  }
  .quick-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Desktop: hero com duas colunas (conteúdo + ilustração) */
  .hero-grid {
    grid-template-columns: 1fr 420px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
  }
  .quick-benefits {
    grid-template-columns: 1fr;
  }
  .countdown {
    gap: 8px;
  }
}
.social {
  display: inline-flex;
  gap: 12px;
  margin-top: 10px;
}
.fab {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: var(--dourado);
  color: var(--azul);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .fab {
    display: inline-flex;
    right: 24px;
    bottom: 24px;
  }
}

/* =========================
       ANIMAÇÕES GLOBAIS (CSS puro)
    ==========================*/
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
:root {
  --fade-duration: 0.8s;
  --fade-ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}
.animate-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp var(--fade-duration) var(--fade-ease) forwards;
}
.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp var(--fade-duration) var(--fade-ease) forwards;
}
.stagger > *:nth-child(1) {
  animation-delay: 0.05s;
}
.stagger > *:nth-child(2) {
  animation-delay: 0.15s;
}
.stagger > *:nth-child(3) {
  animation-delay: 0.25s;
}
.stagger > *:nth-child(4) {
  animation-delay: 0.35s;
}
.stagger > *:nth-child(5) {
  animation-delay: 0.45s;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* micro animações */
.underline-anim {
  background: linear-gradient(currentColor, currentColor) bottom/0% 2px
    no-repeat;
  transition: background-size 0.3s ease;
}
.underline-anim:hover {
  background-size: 100% 2px;
}

/* brilho sutil no CTA */
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%);
  animation: sheen 3s infinite;
  pointer-events: none;
}
.cta {
  position: relative;
  overflow: hidden;
}
@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

/* flutuar ao pairar */
.float:hover {
  transform: translateY(-4px);
}

/* acordeão com indicador animado */
.faq summary {
  position: relative;
  padding-right: 22px;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}

/* animações de entrada aplicadas */
header .nav,
.hero-wrap,
.why .title,
.why .subtitle,
.why-grid,
#resultados .title,
#resultados .subtitle,
.results-grid,
.report-link,
#flowtitle,
.timeline,
#ctatitle,
#participar .subtitle,
.role-grid,
.faq .title,
.faq details {
  animation: fadeUp var(--fade-duration) var(--fade-ease) forwards;
  opacity: 0;
  transform: translateY(14px);
}
header .nav {
  animation-delay: 0.05s;
}
.hero-wrap {
  animation-delay: 0.1s;
}
.why .title {
  animation-delay: 0.1s;
}
.why .subtitle {
  animation-delay: 0.18s;
}
.why-grid {
  animation-delay: 0.26s;
}
#resultados .title {
  animation-delay: 0.1s;
}
#resultados .subtitle {
  animation-delay: 0.18s;
}
.results-grid {
  animation-delay: 0.26s;
}
.report-link {
  animation-delay: 0.34s;
}
#flowtitle {
  animation-delay: 0.1s;
}
.timeline {
  animation-delay: 0.2s;
}
#ctatitle {
  animation-delay: 0.1s;
}
#participar .subtitle {
  animation-delay: 0.18s;
}
.role-grid {
  animation-delay: 0.26s;
}
.faq .title {
  animation-delay: 0.1s;
}
.faq details {
  animation-delay: 0.2s;
}

/* hover states adicionais */
.role .cta-mini {
  transition: transform 0.2s ease, filter 0.2s ease;
}
.role .cta-mini:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
}
.result:hover {
  transform: translateY(-3px);
  transition: transform 0.25s ease;
}

/* links do topo com underline animado */
.menu a {
  position: relative;
}
.menu a.underline-anim {
  padding-bottom: 2px;
}

/* =========================
       NAVBAR RESPONSIVA (CSS-only)
    ==========================*/
.nav {
  position: relative;
}
.nav-toggle {
  display: none;
}
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  margin-left: auto;
  margin-right: auto;
}

/* Menu desktop já existia: .menu { display:none; } @media >=768 mostra */
/* Reconfigurar para mobile: painel deslizante */
@media (max-width: 767px) {
  .burger {
    display: inline-flex;
  }
  .menu {
    position: fixed;
    top: 60px;
    right: 12px;
    left: 12px;
    background: rgba(27, 41, 92, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    display: grid;
    gap: 10px;
    padding: 14px;
    transform: translateY(-16px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
    box-shadow: var(--shadow);
  }
  .menu a {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
  }
  .nav-toggle:checked ~ .menu {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  /* animação do ícone hamburguer -> X */
  .nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* scrim */
  .scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .nav-toggle:checked ~ .scrim {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Desktop mantém menu visível e esconde hambúrguer */
@media (min-width: 768px) {
  .burger {
    display: none;
  }
  .scrim {
    display: none;
  }
}

/* =========================
       CTA & FAB – atenção extra
    ==========================*/
.cta {
  will-change: transform, box-shadow;
  animation: callout 7s ease-in-out infinite;
}
@keyframes callout {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  5% {
    transform: translateY(-2px) scale(1.03);
  }
  10% {
    transform: translateY(0) scale(1);
  }
}

.fab {
  z-index: 70;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: glow 2.2s ease-in-out infinite, bob 6s ease-in-out infinite;
}
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(254, 203, 0, 0.45), var(--shadow);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(254, 203, 0, 0), var(--shadow);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Hover reforçado nos CTAs */
.cta:hover,
.cta-mini:hover,
.fab:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
}

/* Garantia de visibilidade do CTA no hero */
.hero .cta {
  display: inline-flex;
}

/* =========================
       ANIMAÇÕES ON-SCROLL (CSS puro, View Timelines)
       Ativam apenas quando os cards entram na área visível
    ==========================*/
@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pop {
  0% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Fallback universal (sem view-timeline): estado inicial "fora de vista" */
.kpi,
.result,
.acao {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}
.kpi.in-view,
.result.in-view,
.acao.in-view {
  animation: itemIn 0.8s var(--fade-ease) forwards;
}
.kpi.in-view .big {
  display: inline-block;
  transform-origin: center;
  animation: pop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.1s;
}
.kpi.in-view .meter > span {
  transform-origin: left;
  transform: scaleX(0);
  animation: bar 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards 0.2s;
}

/* Progressive enhancement: só aplica se o navegador suportar view-timeline */
@supports (animation-timeline: view()) {
  /* KPIs */
  .kpi {
    opacity: 0;
    animation: itemIn 0.8s var(--fade-ease) forwards;
    /* animation-timeline: view(); */
    animation-range: entry 10% cover 35%;
  }
  .kpi .big {
    display: inline-block;
    transform-origin: center;
    animation: pop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    /* animation-timeline: view(); */
    animation-range: entry 20% cover 30%;
  }
  .kpi .meter > span {
    transform-origin: left;
    transform: scaleX(0);
    animation: bar 1s cubic-bezier(0.2, 0.7, 0.2, 1);
    animation-timeline: view();
    animation-range: cover 60% cover 80%;
  }

  /* Cards de resultado (Vocês pediram / Nós fizemos) */
  .result {
    opacity: 0;
    animation: itemIn 0.8s var(--fade-ease) forwards;
    animation-timeline: view();
    animation-range: entry 15% cover 35%;
  }

  /* Ações em andamento */
  .acao {
    opacity: 0;
    animation: itemIn 0.8s var(--fade-ease) forwards;
    animation-timeline: view();
    animation-range: entry 15% cover 35%;
  }
}
