/**
 * ============================================
 * RCS MARKET SECTION CSS
 * ============================================
 * 
 * Estilos para seção de mercado e expectativas
 * 
 * @component .rcs-market-section - Seção de mercado
 */

/* ============================================
   SEÇÃO: MERCADO E EXPECTATIVAS
   ============================================ */

.rcs-market-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.rcs-market-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(199deg, #7b2fff 0%, #3ac6ff 100%);
  z-index: 0;
}

.rcs-market-section .container {
  position: relative;
  z-index: 1;
}

.rcs-market-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rcs-market-header.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.rcs-market-badge {
  display: inline-block;
  background: #fff;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(123, 47, 255, 0.25);
}

.rcs-market-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rcs-market-intro {
  font-size: 1.15rem;
  color: #f3f3f3;
  line-height: 1.7;
}

/* Cards de Estatísticas */
.rcs-market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.rcs-market-stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.rcs-market-stat-card.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.rcs-market-stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(123, 47, 255, 0.15);
}

.rcs-stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #7b2fff 0%, #3ac6ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  line-height: 1;
}

.rcs-stat-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.rcs-stat-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.rcs-market-highlight {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rcs-market-highlight.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.rcs-highlight-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
}

.rcs-rocket-svg {
  width: 100%;
  height: 100%;
  animation: rocketFloat 3s ease-in-out infinite;
}

.rocket-body {
  transform-origin: 50% 50%;
  animation: rocketShake 0.3s ease-in-out infinite;
}

.rocket-window {
  animation: windowGlow 2s ease-in-out infinite;
}

.rocket-flame {
  transform-origin: 50% 88%;
  animation: flameFlicker 0.2s ease-in-out infinite;
}

.flame-outer {
  animation: flamePulse 0.3s ease-in-out infinite;
}

.flame-middle {
  animation: flamePulse 0.25s ease-in-out infinite 0.05s;
}

.flame-inner {
  animation: flamePulse 0.2s ease-in-out infinite 0.1s;
}

.star {
  animation: starTwinkle 2s ease-in-out infinite;
}

.star-1 {
  animation-delay: 0s;
}

.star-2 {
  animation-delay: 0.5s;
}

.star-3 {
  animation-delay: 1s;
}

.star-4 {
  animation-delay: 1.5s;
}

@keyframes rocketFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes rocketShake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-1deg);
  }
  75% {
    transform: rotate(1deg);
  }
}

@keyframes windowGlow {
  0%, 100% {
    opacity: 0.9;
    filter: drop-shadow(0 0 3px rgba(123, 47, 255, 0.5));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(58, 198, 255, 0.8));
  }
}

@keyframes flameFlicker {
  0%, 100% {
    transform: scaleY(1) scaleX(1);
    opacity: 0.8;
  }
  50% {
    transform: scaleY(1.2) scaleX(0.9);
    opacity: 1;
  }
}

@keyframes flamePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.rcs-highlight-text {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
}

.rcs-highlight-text strong {
  color: #7b2fff;
  font-weight: 700;
}

/* ============================================
   RESPONSIVIDADE - MERCADO
   ============================================ */

@media (max-width: 992px) {
  .rcs-market-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .rcs-market-section {
    padding: 60px 0;
  }

  .rcs-market-title {
    font-size: 3rem;
  }

  .rcs-market-stats {
    grid-template-columns: 1fr;
  }

  .rcs-stat-number {
    font-size: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rcs-market-header,
  .rcs-market-stat-card,
  .rcs-market-highlight {
    transition: opacity 0.4s linear;
    transform: none;
  }
}

