/* Reset e estilo base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #f0f0f0;
  background-color: #0b0c14;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Barra lateral social fixa */
.social-sidebar {
  position: fixed;
  top: 50%;
  left: 10px; /* ou right:10px se quiser no lado direito */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}
.social-sidebar .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  transition: background 0.3s, transform 0.2s;
}
.social-sidebar .social-icon:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}

/* Navbar / Header */
header {
  position: fixed;
  width: 100%;
  z-index: 999;
  background: rgba(0,0,0,0.6);
}
.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links li a:hover {
  color: #7356ff;
}
.nav-actions .btn {
  margin-left: 10px;
  padding: 8px 16px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
}
.nav-actions .btn.registro {
  background: #7356ff;
  border: none;
}
.nav-actions .btn:hover {
  background: #4f3dbf;
}

/* Botão de menu mobile (hambúrguer) */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

/* Hero section */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  background: url('../imgs/bg-top.jpg') no-repeat center top fixed;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* se quiser overlay extra, pode ajustar opacidade */
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  color: #fff;
}
.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 2rem;
  color: #ddd;
}

#countdown {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.time-box {
  background: rgba(255,255,255,0.1);
  padding: 15px 20px;
  border-radius: 8px;
  min-width: 70px;
}
.time-box span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.time-box small {
  display: block;
  font-size: 0.8rem;
  color: #ccc;
}

.btn.big-btn {
  padding: 14px 28px;
  background: #7356ff;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
}
.btn.big-btn:hover {
  background: #4f3dbf;
  transform: translateY(-3px);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  background: #020213;
  color: #666;
  font-size: 0.9rem;
}

/* Responsividade: menu móvel */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60%;
    gap: 30px;
    transition: right 0.3s ease-in-out;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-toggle {
    display: flex;
  }
}
/* Seção de cards / features */
.features {
  padding: 60px 20px;
  background: rgba(11,12,20, 0.9); /* fundo escuro/transparente, ajuste conforme seu tema */
  color: #f0f0f0;
}
.features .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.features h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.features .subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #ccc;
}

/* Grid dos cards */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  /* Isso garante que a grid seja responsiva e adapte o número de colunas conforme o espaço disponível. */
}

/* Card individual */
.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, background 0.3s;
}

/* Imagem do card */
.card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Conteúdo do card */
.card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #fff;
}

/* Botão dentro do card */
.btn.card-btn {
  padding: 10px 18px;
  background-color: #d64040; /* cor de exemplo, ajuste conforme seu tema */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
  text-transform: uppercase;
}

.btn.card-btn:hover {
  background-color: #b53030;
  transform: translateY(-2px);
}

/* Efeito hover no card */
.card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

/* Responsividade — ajustes se quiser */
@media (max-width: 480px) {
  .features h2 {
    font-size: 2rem;
  }
  .card-content h3 {
    font-size: 1.2rem;
  }
  .btn.card-btn {
    font-size: 0.9rem;
  }
}
