/* Index Page - Minimal Flat Design Inspirado em Behance/Dribbble */

/* Reset e configurações base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.index-page {
  background: #ffffff;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  overflow-x: hidden;
  border-radius: 24px 24px 24px 24px; /* Apenas cantos superiores */
}

/* Hero Section Minimal */
.hero-minimal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  border-radius: 24px 24px 0 0; /* Apenas cantos superiores */
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  z-index: 2;
  border-radius: 24px 24px 0 0; /* Apenas cantos superiores */
}

/* Badge do evento */
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}

.event-badge-icon {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
}

/* Título principal */
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title-accent {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Subtítulo */
.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: #64748b;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Informações do evento */
.event-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px 0;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.event-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.event-info-card:hover::before {
  transform: scaleY(1);
}

.event-info-card:hover {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.event-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-bottom: 16px;
}

.event-info-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.event-info-text {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* Contador regressivo */
.countdown-section {
  margin: 64px 0;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.countdown-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 24px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.countdown-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.countdown-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.countdown-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Botões de ação */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 90px 45px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 200px;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: white;
  color: #3b82f6;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 200px;
  justify-content: center;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  transform: translateY(-2px);
  color: #3b82f6;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

/* Elementos decorativos */
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(29, 78, 216, 0.05)
  );
  animation: float 6s ease-in-out infinite;
}

.decoration-circle:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -150px;
  animation-delay: 0s;
}

.decoration-circle:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: -100px;
  animation-delay: 2s;
}

.decoration-circle:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 4s;
}

/* Seção de features minimal */
.features-minimal {
  padding: 80px 0;
  background: #f8fafc;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.features-subtitle {
  font-size: 18px;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin: 0 auto 24px auto;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.feature-description {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-container {
    padding: 20px 20px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .event-info-grid {
    grid-template-columns: 1fr;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .features-container {
    padding: 0 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .countdown-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .countdown-item {
    padding: 16px 12px;
  }

  .countdown-number {
    font-size: 20px;
  }

  .countdown-label {
    font-size: 10px;
  }
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
