/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: 'Montserrat', Arial, sans-serif; }

/* VÍDEO DE FUNDO */
#bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* NAVBAR */
header {
  background: rgba(0,0,0,0.8);
  padding: 15px 30px;
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
}
nav { display: flex; justify-content: space-between; align-items: center; }
nav .logo { display: flex; align-items: center; }
.brand-logo { height: 64px; }
nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 20px; }
nav ul li a {
  color: #fff; text-decoration: none; transition: 0.3s;
  text-transform: uppercase; letter-spacing: .6px;
}
nav ul li a:hover { color: #ff5722; }

/* HERO */
.hero {
  height: 100vh;
  display: flex; justify-content: center; align-items: center;
  text-align: center; color: #fff;
}
.hero-content { background: rgba(0,0,0,0.6); padding: 40px; border-radius: 12px; }
.hero h1 { font-size: 42px; line-height: 1.2; margin-bottom: 10px; }

/* LISTA EM LINHA NA CAPA */
.hero-list {
  list-style: none;
  margin: 10px auto 18px; padding: 0;
  display: flex; justify-content: center; align-items: center;
  gap: 18px; flex-wrap: wrap;   /* quebra em telas pequenas */
}
.hero-list li {
  font-size: 18px; line-height: 1.3;
  opacity: 0; transform: translateY(6px);
  animation: fadeUp 500ms ease forwards;
}
.hero-list li:nth-child(1){ animation-delay:.08s }
.hero-list li:nth-child(2){ animation-delay:.18s }
.hero-list li:nth-child(3){ animation-delay:.28s }

.hero-cta { display:block; width:max-content; margin: 8px auto 0; }

@keyframes fadeUp { to { opacity:1; transform: translateY(0);} }

.btn {
  display: inline-block; background:#ff5722; color:#fff;
  padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: 700;
}
.btn:hover { background:#e64a19; }

/* SEÇÕES PADRÃO */
.section {
  min-height: 100vh;
  padding: 110px 20px 80px;
  text-align: center; color: #fff;
  background: rgba(0,0,0,0.7);
  display: flex; flex-direction: column; justify-content: center;
}
.section h2 { font-size: 28px; margin-bottom: 18px; color: #ff5722; }
.section p  { max-width: 900px; margin: 0 auto 16px; line-height: 1.6; }

/* CARDS */
.cards { display:flex; flex-wrap:wrap; justify-content:center; gap:20px; }
.card {
  background: rgba(255,255,255,0.05); color:#fff; padding:20px; border-radius:10px;
  min-width:220px; text-align:left; box-shadow:0 4px 8px rgba(0,0,0,0.5); transition:.3s;
}
.card:hover { background: rgba(255,87,34,0.8); }

/* SERVIÇOS EM LISTA VERTICAL (compacto) */
.cards.vertical { flex-direction:column; align-items:center; max-width:800px; margin:10px auto 0; gap:12px; }
.cards.vertical .card { width:100%; max-width:700px; padding:18px; }

/* ===== APIS – nomes e meta centralizados ===== */
.apis-grid .api-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;   /* centraliza conteúdo do card */
  text-align: center;    /* garante texto centralizado */
}
.api-line {
  display: flex;
  align-items: center;
  justify-content: center; /* centraliza dot + nome */
  gap: 8px;
}
.api-name { font-weight:700; font-size:18px; }
.api-dot { width:8px; height:8px; border-radius:50%; display:inline-block; }
.online { background:#41d17d; box-shadow:0 0 6px #41d17d; }

/* centraliza apenas a linha de meta (APIs · N) */
.api-meta {
  font-size:12px; opacity:.85;
  display:flex; align-items:center; justify-content:center;
  gap:6px; text-transform:uppercase; letter-spacing:.4px;
}
.api-type { font-weight:600; }
.api-count { font-weight:700; }
.api-sep { opacity:.6; }

/* ROLETAS */
.subtitle { font-size: 18px; margin-bottom: 14px; color: #ddd; }
.roulette { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:6px; }
.ball {
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; box-shadow:0 0 10px rgba(0,0,0,0.6);
  opacity:0; transform:scale(.8); animation: pop 260ms ease forwards;
}
.red{background:#e53935;} .black{background:#111; border:1px solid #333;} .green{background:#2e7d32;}
.hint{ margin-top:12px; color:#bbb; font-size:14px; }
@keyframes pop{ to{ opacity:1; transform:scale(1);} }

/* CONTATO */
.social-icons img { width:50px; margin:10px; transition:.3s; }
.social-icons img:hover { transform: scale(1.08); }

/* REVEAL SUAVE */
.section, .hero { opacity:0; transform: translateY(10px); transition: 500ms ease; }
.section.show, .hero.show { opacity:1; transform: translateY(0); }
