/**
 * PROMAKE ART · SÍMBOLO EDITORIAL 360° CINÉTICO NO FUNDO DAS LETRAS
 * Emblema circular técnico em rotação contínua (50s loop), ampliado e posicionado
 * diretamente atrás da tipografia de "Performance 360°".
 * Tipografia cinética orgânica individual letra por letra.
 */

/* ── Container do Header ── */
.pm-services-header {
  position: relative !important;
  isolation: isolate;
  padding: clamp(32px, 4.5vw, 60px) clamp(16px, 2.5vw, 36px) !important;
  border-radius: 28px;
}

/* ── Stage de Fundo ── */
.pm-perf-collage-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

/* 1. Glow Central Suave no Fundo */
.pm-clg-glow--center {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(240px, 28vw, 360px);
  height: clamp(200px, 24vw, 280px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 118, 7, 0.20) 0%, rgba(123, 47, 247, 0.10) 45%, rgba(255, 118, 7, 0) 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  animation: pmGlowPulse 6s ease-in-out infinite alternate;
  will-change: opacity;
}

@keyframes pmGlowPulse {
  0%   { opacity: 0.50; }
  100% { opacity: 0.90; }
}

/* 2. Selo Circular Giratório no Fundo das Letras (Escala Ajustada para não invadir blocos adjacentes) */
.pm-clg-seal-wrap {
  --seal-size: clamp(240px, 26vw, 340px);
  position: absolute;
  top: 40%;
  left: 50%;
  width: var(--seal-size);
  height: var(--seal-size);
  margin-top: calc(var(--seal-size) * -0.5);
  margin-left: calc(var(--seal-size) * -0.5);
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.pm-clg-seal-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: pmSpinSeal 50s linear infinite;
  transform-origin: center center;
}

@keyframes pmSpinSeal {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.pm-clg-seal-text {
  text-transform: uppercase;
  user-select: none;
}

/* 3. Mascaramento Central Sutil para Manter a Legibilidade Cristalina do Texto */
.pm-clg-center-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 38%, rgba(244, 241, 234, 0.72) 18%, rgba(244, 241, 234, 0.35) 50%, transparent 80%);
  pointer-events: none;
  z-index: 2;
}

/* ── 4. Tipografia em Primeiro Plano (Foreground) ── */
.pm-services-title {
  position: relative !important;
  z-index: 10 !important;
}
.pm-services-lead {
  position: relative !important;
  z-index: 10 !important;
}

/* Palavra "Performance 360°" perfeitamente alinhada com efeito pulsando contínuo e ultra leve */
.pm-gradient-text-orange {
  font-family: var(--upw-serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 1.08em !important;
  letter-spacing: -.02em !important;
  color: var(--upw-accent) !important;
  display: inline-block !important;
  white-space: nowrap !important;
  cursor: default;
  transform-origin: center baseline;
  animation: pmWordPulse 2.8s ease-in-out infinite;
  will-change: transform, text-shadow;
  transition: transform .3s ease, text-shadow .3s ease;
}

@keyframes pmWordPulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(255, 118, 7, 0);
  }
  50% {
    transform: scale(1.042);
    text-shadow: 0 0 18px rgba(255, 118, 7, 0.55), 0 0 35px rgba(255, 118, 7, 0.22);
  }
}

.pm-gradient-text-orange:hover {
  transform: scale(1.065);
  text-shadow: 0 0 25px rgba(255, 118, 7, 0.7);
}

/* ════════════════════════════════════════════════════════════
   5. SEÇÃO STATS: "MARCAS QUE CRESCEM" · TIPOGRAFIA & CINÉTICA
   ════════════════════════════════════════════════════════════ */

.pm-stats-title .pm-gradient-text {
  font-family: var(--upw-serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: clamp(1.16em, 1.22em, 1.28em) !important;
  letter-spacing: -.02em !important;
  color: var(--upw-accent) !important;
  display: inline-block !important;
  white-space: nowrap !important;
  cursor: default;
  transform-origin: center baseline;
  animation: pmStatsPulse 3s ease-in-out infinite;
  will-change: transform, text-shadow;
  transition: transform .3s ease, text-shadow .3s ease;
}

@keyframes pmStatsPulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(255, 118, 7, 0);
  }
  50% {
    transform: scale(1.038);
    text-shadow: 0 0 16px rgba(255, 118, 7, 0.48);
  }
}

.pm-stats-title .pm-gradient-text:hover {
  transform: scale(1.06);
  text-shadow: 0 0 22px rgba(255, 118, 7, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .pm-gradient-text-orange,
  .pm-stats-title .pm-gradient-text {
    animation: none !important;
    transform: none !important;
  }
}

/* ── 6. Responsivo (Tablet & Celular) ── */
@media (max-width: 991px) {
  .pm-clg-seal-wrap {
    --seal-size: clamp(210px, 34vw, 280px);
    top: 38%;
  }
}

@media (max-width: 600px) {
  .pm-services-header {
    padding: 24px 12px !important;
  }
  .pm-clg-seal-wrap {
    --seal-size: clamp(170px, 52vw, 230px);
    top: 36%;
  }
  .pm-perf-char {
    animation-duration: 5.6s;
  }
  .pm-stats-title .pm-gradient-text {
    font-size: clamp(1.12em, 1.18em, 1.22em) !important;
  }
  .pm-stat-char {
    animation-duration: 5.8s;
  }
}

/* ── 7. Acessibilidade: Prefers Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .pm-perf-char,
  .pm-stat-char,
  .pm-clg-seal-wrap,
  .pm-clg-seal-svg,
  .pm-clg-glow--center {
    animation: none !important;
    transform: none !important;
  }
}
