/* Seções normais */
.section {
  position: relative;
    
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* imagem de fundo */
.section-bg {
  position: absolute;
  inset: 0;
  background-size: 100% auto;   /* usa toda a largura */
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 0;
}


/* sobreposição escura */
.section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-color);
  z-index: 1;
  pointer-events: none;
}



/* layout interno */
.section-layout {
  position: relative;
  width: 100%;
  height: 100%;
}

/* título */
.section-title {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  font-weight: 900;
  z-index: 3;
  text-shadow: 0 5px 20px rgba(0,0,0,0.9);
}

.section::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--invasion-height));
  left: 0;
  right: 0;
  height: var(--invasion-height);
  background: linear-gradient(to top, var(--overlay-color) 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.section-content {
  position: relative;
  z-index: 2;
  padding: 4rem 3rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  max-width: 80%;
}

/* Media Query - Mobile */
@media (max-width: 900px) {
  .fixed-logo { top: 1.2rem; right: 1.8rem; }
  .fixed-logo img { height: 55px; max-width: 170px; }

  nav {
    top: 25%;
    right: 1rem;
    transform: translateY(0%);
    flex-direction: column;
    gap: 1rem;
  }

  nav a { font-size: 0.95rem; }

  .hero-overlay-content {
    padding: 0 0% 15% 5%;
    align-items: flex-start;
    text-align: left;
  }

  .hero-main-block {
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-subtitle { font-size: 1rem; }
  .hero-info { font-size: 0.8rem; margin-bottom: 1rem; }
  .hero-main-logo { height: 200px; margin-bottom: -6px; }

  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
    width: auto;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.7rem;
  }
}

/* BLOCO DAS CAIXAS DE CONTEÚDO */
.info-box {
  position: absolute;
  left: 5%;
  top: 15%;
  width: 55%;
  z-index: 3;
}

/* caixa direita para armas */
.info-box.right {
  left: auto;
  right: 19vh;
}

/* área da imagem */
.info-image {
  position: relative;
  height: 65vh;
  border: 3px solid #2525255a;
  border-radius: 20px;
  overflow: hidden;
}

.info-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* descrição */
.info-description {
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.041);
  padding: 1rem 1.5rem;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
  z-index: 3;
}


/* ================= AGENTES MOBILE ================= */
@media (max-width: 900px) {

  /* empilha os elementos */
  #agentes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 1rem 3rem 1rem;
  }

  /* título continua centralizado */
  #agentes .section-title {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  /* caixa da imagem */
  #agentes .info-box {
    position: relative;
    top: auto;
    left: auto;
    width: 70%;
    margin-bottom: 1.2rem;
    z-index: 3;
  }

  /* imagem mais baixa no mobile */
  #agentes .info-image {
    height: auto;
  }

  #agentes .info-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* descrição separada abaixo */
  #agentes .info-description {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 1rem;
    background: rgba(0,0,0,0.4);
    text-align: left;
    font-size: 1.1rem;
  }

  /* bloco do vídeo */
  #agentes .video-box-right {
    position: relative;
    right: auto;
    top: auto;
    width: 70%;
    height: auto;
    margin: 1rem 0;
    pointer-events: auto;
  }

  /* vídeo vertical 9:16 */
  #agentes .video-inner {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
  }

  #agentes .video-inner video {
    object-fit: cover;
    opacity: 1;
  }
}

/* ================= ARMAS MOBILE ================= */
@media (max-width: 900px) {

  #armas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 1rem 3rem 1rem;
  }

  /* título */
  #armas .section-title {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  /* caixa da imagem */
  #armas .info-box.right {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 70%;
    margin-bottom: 1.2rem;
    z-index: 3;
  }

  #armas .info-image {
    height: auto;
  }

  #armas .info-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* descrição abaixo */
  #armas .info-description {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 1rem;
    background: rgba(0,0,0,0.4);
    text-align: left;
    font-size: 1.1rem;
  }

  /* vídeo */
  #armas .video-box-left {
    position: relative;
    left: auto;
    top: auto;
    width: 70%;
    height: auto;
    margin: 1.5rem 0;
    pointer-events: auto;
  }

  /* vídeo vertical */
  #armas .video-inner {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
  }

  #armas .video-inner video {
    object-fit: cover;
    opacity: 1;
  }
}
/* ================= GAMEPLAY MOBILE AJUSTE ================= */
@media (max-width: 900px) {

  #destaque.video-frame-section {
    justify-content: flex-start;
    padding-top: 120px; /* espaço para o título */
  }

  #destaque .section-title {
    top: 60px; /* posição do título */
    font-size: 2.2rem;
  }

  #destaque .video-frame {
    width: 85%;
    margin-top: 40px; /* espaço entre título e vídeo */
  }

}
/* ================= GAMEPLAY ALTURA AUTOMÁTICA MOBILE ================= */
@media (max-width: 900px) {

  #destaque.section {
    min-height: auto;
    padding-bottom: 60px; /* espaço final bonito */
  }

}


