/* Reset global de projetos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Previene scroll horizontal no deseado */
html, body {
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background-color: #070846;
}

/* NAVBAR */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 999;
      width: 100%;
      height: 70px;
      background-color: rgba(7, 8, 70, 0.9);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 5%;
    }

    .logo {
      display: flex;
      justify-content: left;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .logo img {
      height: 65px;
      width: auto;
      margin-top: 1.2rem;
      margin-left: 0;
      object-fit: contain;
    }

    .logos {
      display: flex;
      justify-content: center;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .menu {
      display: flex;
      list-style: none;
      gap: 30px;
    }
    
    .menu li a {
      text-decoration: none;
      color: white;
      font-family: 'Cinzel', serif;
      white-space: nowrap;
      font-size: 1.1rem;
      transition: color 0.3s;
    }
    
    .menu li a:hover {
      color: #acacac;
    }
    
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-around;
      width: 2rem;
      height: 2rem;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1000;
    }

    .hamburger span {
      width: 2rem;
      height: 0.25rem;
      background: white;
      border-radius: 10px;
      transition: all 0.3s linear;
      position: relative;
      transform-origin: 1px;
    }

    /* HERO */
    .hero {
      background-color: #070846;
      max-width: 1920px;
      height: 80px;
      margin: 0 auto;
      color: white;
      font-family: 'Cinzel', serif;
      justify-content: center;
      position: relative;
      padding-top: 70px;
      padding-bottom: 0;
    }

.background-video {
  width: 100vw;
  max-width: 1920px;
  height: 720px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

/* PROJETOS */
.projetos-lista {
  padding: 0;
  background-color: #070846;
  color: white;
  font-family: 'Cinzel', serif;
}

.categoria {
  margin-bottom: 150px;
}
.categoria h3 {
  font-size: 2rem;
  margin-bottom: 60px;
  border-bottom: 2px solid white;
  padding-bottom: 10px;
  text-align: center;
}
.categoria .imagens {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.categoria .imagens video {
  width: 1000px;
  height: 500px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.categoria .imagens video:hover {
  transform: scale(1.05);
}

.myBotton {
  background-color: #acacac; /* Gris */
  border: none;
  color: rgb(0, 0, 0);
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 200px; 
  height: 60px;  
  font-size: 16px;
  margin: auto;
  margin-top: 150px;
  cursor: pointer;
  border-radius: 12px;
}

.myBotton:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.myLine {
  margin-bottom: 50px;

}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}



/* FOOTER */
footer {
  background-color: #070846;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin: 0;
}

/* ---- MENU HAMBURGUESA ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- HERO RESPONSIVO ---- */
.hero {
  padding: 100px 20px 60px;
  background-color: #070846;
  max-width: 1920px;
  height: 720px;
  margin: 0 auto;
  color: white;
  font-family: 'Cinzel', serif;
  justify-content: center;
  position: relative;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

/* 🔥 Ajuste responsivo */
@media (max-width: 1024px) {
  .hero {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 350px;
    padding: 80px 10px 40px;
  }
}

/* ---- PROJETOS RESPONSIVOS ---- */
.categoria .imagens video {
  width: 100%;
  max-width: 1000px;
  height: auto;
  aspect-ratio: 16 / 9; /* mantiene proporción sin deformar */
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .categoria {
    margin-bottom: 80px;
  }

  .categoria h3 {
    font-size: 1.5rem;
  }

  .myBotton {
    margin-top: 40px;
    width: 70%;
    height: auto;
    font-size: 14px;
    padding: 10px;
  }
}


/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .menu {
    position: fixed;
    top: 70px;
    right: 0;
    background: rgba(7, 8, 70, 0.95);
    height: 100vh;
    width: 220px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
    padding-top: 50px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .menu.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  /* Animación de hamburguesa a "X" */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}