/* VGiroo · Página de manutenção
   Paleta e tipografia conforme "Proposta de Estruturação de Marca" */

:root {
  --indigo: #332F6B;        /* Índigo VGiroo — marca, títulos */
  --verde-1: #087186;       /* Verde Giro (degradê) — início */
  --verde-2: #01AE8C;       /* Verde Giro — meio */
  --verde-3: #01E75D;       /* Verde Giro — ponta viva */
  --ambar: #F2A93B;         /* Âmbar Varejo / Atenção */
  --marfim: #FBF7F1;        /* Marfim Quente — fundo */
  --tinta: #1E1B2E;         /* Tinta VGiroo — texto principal */
  --grafite: #56526B;       /* Grafite Violeta — texto secundário */
  --nevoa: #A8A3BD;         /* Névoa — bordas, inativos */

  --verde-giro: linear-gradient(90deg, var(--verde-1), var(--verde-2), var(--verde-3));
  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font-texto: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--marfim);
  color: var(--tinta);
  font-family: var(--font-texto);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Fundo ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .28;
}
.blob--verde {
  width: 520px; height: 520px;
  right: -160px; top: -140px;
  background: linear-gradient(135deg, var(--verde-1), var(--verde-3));
  animation: flutuar 18s ease-in-out infinite;
}
.blob--ambar {
  width: 360px; height: 360px;
  left: -120px; bottom: -80px;
  background: var(--ambar);
  opacity: .22;
  animation: flutuar 22s ease-in-out infinite reverse;
}
.blob--indigo {
  width: 420px; height: 420px;
  left: 30%; bottom: -260px;
  background: var(--indigo);
  opacity: .12;
}
@keyframes flutuar {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-30px, 40px); }
}

/* ---------- Topo ---------- */
.topo {
  display: flex;
  justify-content: center;
  padding: 40px 16px 8px;
}
.logo {
  width: 220px;
  height: auto;
}

/* ---------- Cartão central ---------- */
.palco {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
}
.cartao {
  width: 100%;
  max-width: 620px;
  padding: 48px 48px 40px;
  text-align: center;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(168, 163, 189, .35);
  border-radius: 28px;
  box-shadow:
    0 1px 2px rgba(30, 27, 46, .04),
    0 24px 60px -24px rgba(51, 47, 107, .28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Ícone girando */
.giro {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto 24px;
}
.giro__anel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.giro__trilho {
  fill: none;
  stroke: rgba(168, 163, 189, .25);
  stroke-width: 6;
}
.giro__arco {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 110 217;
  transform-origin: 60px 60px;
  animation: girar 1.8s linear infinite;
}
.giro__arco--ambar {
  stroke: var(--ambar);
  stroke-width: 4;
  stroke-dasharray: 40 212;
  animation-duration: 2.6s;
  animation-direction: reverse;
}
.giro__icone {
  position: absolute;
  inset: 30px;
  width: calc(100% - 60px);
  height: auto;
}
@keyframes girar {
  to { transform: rotate(360deg); }
}

/* Selo */
.selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(242, 169, 59, .16);
  color: #8A5A10;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.selo__ponto {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ambar);
  animation: pulsar 1.6s ease-in-out infinite;
}
@keyframes pulsar {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 169, 59, .55); }
  50%      { box-shadow: 0 0 0 6px rgba(242, 169, 59, 0); }
}

h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  color: var(--indigo);
  text-wrap: balance;
}

.lead {
  margin: 0 auto 32px;
  max-width: 480px;
  color: var(--grafite);
  font-size: 17px;
  text-wrap: pretty;
}

/* Barra de progresso indeterminada */
.progresso {
  position: relative;
  height: 8px;
  margin: 0 auto 28px;
  max-width: 420px;
  border-radius: 999px;
  background: rgba(168, 163, 189, .25);
  overflow: hidden;
}
.progresso__barra {
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  border-radius: inherit;
  background: var(--verde-giro);
  animation: correr 1.9s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes correr {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* Etapas */
.etapas {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 28px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--nevoa);
}
.etapa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.etapa__marca {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--nevoa);
  flex: none;
}
.etapa--ok { color: var(--grafite); }
.etapa--ok .etapa__marca {
  border: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
    linear-gradient(135deg, var(--verde-1), var(--verde-3));
}
.etapa--ativa { color: var(--indigo); }
.etapa--ativa .etapa__marca {
  border-color: var(--verde-2);
  border-top-color: transparent;
  animation: girar 1s linear infinite;
}

.nota {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(168, 163, 189, .3);
  color: var(--grafite);
  font-size: 14px;
}

/* ---------- Rodapé ---------- */
.rodape {
  padding: 0 16px 32px;
  text-align: center;
}
.rodape__tagline {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  background: var(--verde-giro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rodape__copy {
  margin: 0;
  font-size: 13px;
  color: var(--nevoa);
}

/* ---------- Responsivo ---------- */
@media (max-width: 560px) {
  .topo { padding-top: 28px; }
  .logo { width: 170px; }
  .cartao { padding: 36px 20px 28px; border-radius: 22px; }
  .giro { width: 104px; height: 104px; }
  .giro__icone { inset: 24px; width: calc(100% - 48px); }
  .lead { font-size: 16px; }
  .etapas { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
  }
  .progresso__barra { left: 0; width: 60%; }
}
