/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: system-ui, sans-serif;
  background: #11151c;
  color: #f5f7fb;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 1.5rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* NAV */
.primary-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.primary-nav a {
  color: #e5e9f0;
  text-decoration: none;
  font-size: 0.95rem;
}

.primary-nav a.cta {
  background: #f25b3d;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

/* MOBILE MENU */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #fff;
  padding: 0.3rem;
}

/* HERO */
.hero-banner {
  width: 100%;
  height: 90vh;
  background-image: url("../images/hero/hero-desktop.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* SECTIONS */
.section {
  padding: 4rem 0;
}

.section.alt {
  background: #161b22;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.4rem;
  background: #f25b3d;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
}

/* FOOTER */
.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3b5;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .hero-banner {
    height: 85vh;
    background-image: url("../images/hero/hero-mobile.jpg");
  }

  .primary-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #161b22;
    display: none;
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    background-position: center top;
  }
}

/* ===== PERSONAGENS ===== */

.personagens-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.personagem-card {
  background: #161b22;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.personagem-card img {
  width: 100%;
  max-width: 160px;
  margin: 0 auto 1rem;
  display: block;
}

.personagem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.personagem-card .papel {
  font-size: 0.85rem;
  color: #9ca3b5;
  margin-bottom: 0.6rem;
}

.personagem-card.placeholder {
  opacity: 0.9;
  background: linear-gradient(145deg, #141a23, #0f141b);
  border: 1px dashed rgba(255,255,255,0.15);
}

.placeholder-img {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2230, #0e131a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: grayscale(40%) blur(0.2px);
}

.placeholder-img::after {
  content: "＋";
  position: absolute;
  font-size: 3rem;
  color: rgba(255,255,255,0.35);
}

