/* ========================================
   INDEX.CSS - HERO MINIMALISTA + GRIDS CENTRALIZADOS
   ======================================== */

/* ============================================ */
/* HERO MINIMALISTA - SEM EXAGEROS */
/* ============================================ */

.hero-epic {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

/* Vídeo mais claro em light mode */
html.light-mode .hero-video {
  opacity: 0.5;
  filter: brightness(1.3) contrast(0.9);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}

/* Overlay mais claro em light mode */
html.light-mode .hero-overlay {
  background: linear-gradient(to bottom, rgba(250, 249, 247, 0.75) 0%, rgba(245, 243, 240, 0.85) 100%);
}
/* CONTEÚDO SIMPLES */
.hero-content-epic {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: clamp(2rem, 4vw, 3rem);
  animation: fadeInUp 1s ease;
}

/* Bem-vindo - SIMPLES */
.hero-subtitle-small {
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: clamp(3px, 1vw, 4px);
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeIn 1s ease 0.3s both;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Título - BEM DESTACADO mas elegante */
.hero-title-epic {
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  animation: fadeIn 1s ease 0.5s both;
  line-height: 1.1;

  /* Sombra MUITO DISCRETA */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);

  /* Renderização limpa */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Gradiente Animado Bonito */
.gradient-text-animated {
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 33%, #ec4899 66%, #6366f1 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease-in-out infinite;

  /* Anti-aliasing para evitar textura feia */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes gradientFlow {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* Tagline */
.hero-tagline {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.2rem;
  animation: fadeIn 1s ease 0.7s both;
  letter-spacing: clamp(2px, 0.5vw, 3px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Descrição */
.hero-description-epic {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1s ease 0.9s both;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Botões */
.hero-buttons-epic {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1s ease 1.1s both;
  margin-bottom: 3rem; /* Espaço extra para a seta não conflitar */
}

.btn-primary-epic {
  padding: clamp(1rem, 2vw, 1.2rem) clamp(2rem, 4vw, 2.5rem);
  border-radius: 50px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.1rem);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  min-width: 180px;
  text-align: center;
}

.btn-primary-epic:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5);
}

.btn-secondary-epic {
  padding: clamp(1rem, 2vw, 1.2rem) clamp(2rem, 4vw, 2.5rem);
  border-radius: 50px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(99, 102, 241, 0.6);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.1rem);
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.btn-secondary-epic:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  transform: translateY(-3px);
  border-color: transparent;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeIn 1s ease 1.5s both;
  z-index: 10;
}

/* Em telas menores, move ainda mais para baixo */
@media (max-width: 1024px) {
  .scroll-indicator {
    bottom: 2rem;
  }
}

/* Em tablets médios, move mais ainda */
@media (max-width: 900px) {
  .scroll-indicator {
    bottom: 2rem;
  }
}

.scroll-arrow {
  font-size: clamp(1.5rem, 3vw, 2rem);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 768px) {
  /* Mantém vídeo mas com opacidade reduzida */
  .hero-video {
    opacity: 0.2;
  }

  .hero-epic {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  }

  .hero-buttons-epic {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Esconde seta em mobile para não conflitar */
  .scroll-indicator {
    display: none;
  }
}

/* ============================================ */
/* ESTATÍSTICAS - GRID CENTRALIZADO */
/* ============================================ */

.stats-epic {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--light-bg);
}

.stats-container-epic {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-epic {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-gray);
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

/* GRID CENTRALIZADO - SOLUÇÃO! */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 250px));
  gap: clamp(2rem, 4vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  justify-items: center;
}

/* Tablets - Força 2 colunas (desce em PARES) */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(200px, 250px));
  }
}

/* Mobile - 1 coluna */
@media (max-width: 550px) {
  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}

.stat-item {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--dark-bg);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
  width: 100%;
  max-width: 250px; /* Evita ficar muito largo */
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
}

.stat-number {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-suffix {
  display: inline-block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-color);
  margin-left: 0.3rem;
}

.stat-label {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================ */
/* ÚLTIMOS LANÇAMENTOS - GRID CENTRALIZADO */
/* ============================================ */

.ultimos-lancamentos {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--dark-bg);
}

.container-epic {
  max-width: 1400px;
  margin: 0 auto;
}

/* GRID CENTRALIZADO */
.lancamentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(2rem, 4vw, 2.5rem);
  margin-top: clamp(2.5rem, 4vw, 3rem);
  justify-content: center; /* Centraliza colunas */
  justify-items: center; /* Centraliza items */
}

.lancamento-card {
  background: var(--light-bg);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
  opacity: 0;
  transform: translateY(30px);
  width: 100%;
  max-width: 380px; /* Evita ficar muito largo */
}

.lancamento-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hover funciona SEMPRE - mesmo com classe show */
.lancamento-card:hover,
.lancamento-card.show:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
  border-color: var(--primary-color);
}

.lancamento-image {
  position: relative;
  height: clamp(250px, 30vw, 300px);
  overflow: hidden;
}

.lancamento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lancamento-card:hover .lancamento-image img {
  transform: scale(1.08);
}

.lancamento-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.badge-lancamento {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.lancamento-info {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.lancamento-categoria {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lancamento-info h3 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  margin: 0.5rem 0 1rem 0;
  color: var(--text-light);
}

.lancamento-info p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.btn-lancamento {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-lancamento:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

/* ============================================ */
/* SOBRE RESUMO */
/* ============================================ */

.sobre-resumo {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--light-bg);
}

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: clamp(3rem, 5vw, 4rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-image-container {
  position: relative;
  justify-self: center;
}

.sobre-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
  transition: transform 0.3s ease;
}

.sobre-image-wrapper:hover {
  transform: scale(1.02);
}

.sobre-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.sobre-image-wrapper:hover .sobre-image {
  transform: scale(1.05);
}

.sobre-image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: clamp(80px, 12vw, 100px);
  height: clamp(80px, 12vw, 100px);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

.sobre-label {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

.sobre-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sobre-text {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.05rem);
}

.sobre-quote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.6;
}

.sobre-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-outline {
  padding: clamp(0.9rem, 2vw, 1rem) clamp(1.8rem, 3vw, 2rem);
  border-radius: 50px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

/* ============================================ */
/* UNIVERSO CRIATIVO - GRID CENTRALIZADO */
/* ============================================ */

.universo-criativo {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--dark-bg);
}

/* GRID CENTRALIZADO */
.universo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(2rem, 4vw, 2.5rem);
  margin-top: clamp(2.5rem, 4vw, 3rem);
  justify-content: center; /* Centraliza colunas */
  justify-items: center; /* Centraliza items */
}

.universo-card {
  background: var(--light-bg);
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  width: 100%;
  max-width: 380px; /* Evita ficar muito largo */
}

.universo-card.show {
  opacity: 1;
  transform: translateY(0);
}

.universo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.universo-card:hover::before {
  transform: scaleX(1);
}

/* Hover funciona SEMPRE - mesmo com classe show */
.universo-card:hover,
.universo-card.show:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
  border-color: var(--primary-color);
}

.universo-icon-container {
  position: relative;
  width: clamp(70px, 10vw, 80px);
  height: clamp(70px, 10vw, 80px);
  margin-bottom: 1.5rem;
}

.universo-icon {
  font-size: clamp(2.5rem, 5vw, 3rem);
  position: relative;
  z-index: 2;
}

.universo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.universo-card:hover .universo-glow {
  opacity: 1;
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.universo-card h3 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin-bottom: 1rem;
  color: var(--text-light);
}

.universo-card p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.05rem);
}

.universo-stats {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.universo-stats span {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 600;
}

.universo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.universo-link .arrow {
  transition: transform 0.3s ease;
}

.universo-link:hover {
  color: var(--accent-color);
}

.universo-link:hover .arrow {
  transform: translateX(5px);
}

/* ============================================ */
/* CALL TO ACTION */
/* ============================================ */

.cta-final {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  top: -250px;
  right: -250px;
  border-radius: 50%;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content-epic h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.cta-content-epic p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cta-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem !important;
}

.btn-cta {
  display: inline-block;
  padding: clamp(1rem, 2vw, 1.2rem) clamp(2.5rem, 4vw, 3rem);
  background: white;
  color: var(--primary-color);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

.btn-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================ */
/* ANIMAÇÕES */
/* ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================ */
/* RESPONSIVO */
/* ============================================ */

@media (max-width: 480px) {
  .stats-grid,
  .lancamentos-grid,
  .universo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sobre-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-outline,
  .btn-primary-epic {
    width: 100%;
  }
}

/* Touch targets */
@media (hover: none) and (pointer: coarse) {
  .btn-primary-epic,
  .btn-secondary-epic,
  .btn-outline,
  .btn-cta,
  .btn-lancamento,
  .universo-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}