/* ESTILO GERAL */
* {
  margin: 0;
  /* padding: 0; */
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #000;
  min-height: 100vh;
}
/* barra no topo site */
.barra {
  background-color: #0000006b;
  display: flex;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  justify-content: center;
  align-items: center;

  font-size: 22px;
  font-weight: 700;
  color: #0044ff;
  gap: 5px;

  z-index: 999; /*em frente tudo */
}

.dinamico {
  border-right: 4px solid #fff;
  white-space: nowrap;
  overflow: hidden;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #111;
  color: #fff;
  padding: 15px 20px;
  border-left: 4px solid blue;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}
.img-responsive {
  width: 100%;
  max-width: 800px;
  height: auto;
}
.interface {
  max-width: 1280px;
  margin: 0 auto;
}
.flex {
  display: flex;
}
.btn-contato button {
  padding: 10px 40px;
  font-size: 18px;
  font-weight: 600;
  background-color: blue;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.2s;
}
h2.titulo {
  color: #fff;
  font-size: 38px;
  text-align: center;
}
h2.titulo span {
  color: blue;
}
button:hover,
form .btn-enviar input:hover {
  box-shadow: 0px 0px 8px blue;
  transform: scale(1.2);
}

/* ESTILO DO CABEÇALHO */
header {
  padding: 40px 4%;
}
header > .interface {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header a {
  color: #7d7d7d;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s;
}
header nav.menu-desktop a:hover {
  color: #fff;
  transform: scale(1.2);
}
header nav ul {
  list-style-type: none;
}
header nav.menu-desktop ul li {
  display: inline-block;
  padding: 0 40px;
}
/* estilo do menu mobile */
.btn-abrir-menu i {
  color: blue;
  font-size: 40px;
  cursor: pointer;
}
.menu-mobile {
  background-color: #000;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99999;
  width: 0%;
  overflow: hidden;
  transition: 0.5s;
}
.menu-mobile.abrir-menu {
  width: 70%;
  cursor: pointer;
}
.menu-mobile.abrir-menu ~ .overley-menu {
  display: block;
}
.menu-mobile .btn-fechar i {
  color: blue;
  font-size: 30px;
}
.menu-mobile .btn-fechar {
  padding: 20px 5%;
}
.menu-mobile nav ul {
  text-align: right;
}
.menu-mobile nav ul li a {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  padding: 20px 8%;
  display: block;
}
.menu-mobile nav ul li a:hover {
  background-color: blue;
  color: #000;
}
.overley-menu {
  background-color: #000000d0;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 88888;
  display: none;
}
/* ESTILO DO TOPO DO SITE */
section.topo-do-site {
  padding: 40px 4%;
}
section.topo-do-site .flex {
  align-items: center;
  justify-content: center;
  gap: 90px;
}
.topo-do-site h1 {
  color: #fff;
  font-size: 42px;
  line-height: 40px;
}
.topo-do-site .txt-topo-site h1 span {
  color: blue;
}
.topo-do-site .txt-topo-site p {
  color: #fff;
  margin: 40px 0;
  font-size: 20px;
}

.topo-do-site .img-topo-site img {
  position: relative;
  animation: flutuar 2s ease-in-out infinite alternate;
}

@keyframes flutuar {
  0% {
    top: 0;
  }
  100% {
    top: 30px;
  }
}

/* Estilos da especialidades */
.btn-veja {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: blue;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: 0.3s;
}
.btn-veja:hover {
  background: #0044ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 255, 0.4);
}
section.especialidades {
  padding: 40px 4%;
}
section.especialidades .flex {
  gap: 60px;
}
.especialidades .especialidades-box {
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  margin-top: 45px;
  transition: 0.2s;
}

.especialidades .especialidades-box:hover {
  transform: scale(1.02);
  box-shadow: 0 0 8px #ffffff58;
}
.especialidades .especialidades-box i {
  font-size: 70px;
  color: blue;
}
.especialidades .especialidades-box h3 {
  font-size: 28px;
  margin: 15px 0;
}

.projeto-card {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(145deg, #1e1e1e, #111);
  padding: 20px;
  border-radius: 16px;

  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Efeito glow top */
.projeto-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  top: 0;
  left: 0;
  background: blue;
}

.projeto-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 0 20px rgba(0, 0, 255, 0.4);
}

.projeto-card h3 {
  color: #fff;
  font-size: 20px;
}

.projeto-card p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.4;
}

/* Tech tags mais bonitas */
.tech span {
  display: inline-block;
  background: rgba(0, 0, 255, 0.15);
  color: #00bfff;
  padding: 6px 10px;
  border-radius: 20px;
  margin: 4px 4px 0 0;
  font-size: 12px;
  border: 1px solid rgba(0, 191, 255, 0.3);
}

/* Botões */
.actions a {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  border: 1px solid blue;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.actions a:hover {
  background: blue;
  color: #000;
}
.portifolio .flex {
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
}
/* ESTILO DO SOBRE */
section.sobre {
  padding: 80px 4%;
}
section.sobre .flex {
  align-items: center;
  gap: 60px;
}
.sobre .txt-sobre {
  color: #fff;
}
.sobre .txt-sobre h2 {
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 30px;
}
.sobre .txt-sobre h2 span {
  color: blue;
  display: block;
}
.sobre .txt-sobre p {
  margin: 20px 0;
  text-align: justify;
}
.btn-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.btn-social a {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  color: #fff;
  transition: 0.3s;
  text-decoration: none;
}

/* insta */
.btn-social a.instagram {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

/* Github */
.btn-social a.github {
  background: #181717;
}

/* linkedin */
.btn-social a.linkedin {
  background: #0a66c2;
}

.btn-social a:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}
/* ESTILO DO FORMULARIO DE CONTATO */
section.formulario {
  padding: 80px 4%;
}
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}
form input,
form textarea {
  width: 100%;
  border-radius: 15px;
  background-color: #343434;
  border: 0;
  padding: 20px 15px;
  color: #fff;
  font-size: 18px;
}
form textarea {
  resize: none;
  max-height: 150px;
}
form .btn-enviar {
  margin-top: 20px;
  text-align: center;
}
form .btn-enviar input[type="submit"] {
  width: 120px;
  background-color: blue;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
/* ESTILO DO RODAPÉ */
footer {
  padding: 60px 4%;
  box-shadow: 0 0 40px 01px #ffffff0e;
  border-top: 10px solid;
  border-image: linear-gradient(
      90deg,
      #020617,
      #0a0f2c,
      #0b1f3a,
      #0033ff,
      #0055ff,
      #007bff,
      #00aaff
    )
    1;
}
footer .flex {
  justify-content: space-between;
}
footer .line-footer {
  padding: 20px 0;
}
.borda {
  border-top: 2px solid blue;
}
footer .line-footer p i {
  color: blue;
  font-size: 25px;
}
footer .line-footer p a {
  color: #fff;
}

.direitos {
  color: #fff;
  text-align: center;
}

/* RESPONSIVIDADE DE DISPOSITIVOS MOVEIS */
.btn-abrir-menu {
  display: none; /* Oculta o ícone por padrão */
}

/* filtragem da parte de projetos na index bb */
.filtros {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.filtros select {
  border: 2px solid #0044ff;
  background-color: #000;
  color: #ffffff;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.badge {
  margin-left: 8px;
  color: black;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 20px;
}

@media screen and (max-width: 1020px) {
  /* classes gerais */
  .btn-abrir-menu {
    display: block; /* Mostra o ícone apenas em telas menores que 1020px */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
  }
  .flex {
    flex-direction: column;
  }
  .topo-do-site .flex {
    flex-direction: column-reverse;
  }
  h2.titulo {
    font-size: 34px;
    line-height: 30px;
  }
  /* CABEÇALHO */
  .menu-desktop,
  .btn-contato {
    display: none;
  }
  section.topo-do-site {
    padding: 20px 8%;
  }
  /* TOPO DO SITE */
  .topo-do-site h1 {
    font-size: 28px;
  }
  section.topo-do-site .flex {
    gap: 40px;
  }
  .topo-do-site .img-topo-site img {
    width: 100%;
  }
  /* Estilos da especialidades */
  section.especialidades {
    padding: 40px 8%;
  }
  section.especialidades .flex {
    gap: 30px;
    flex-wrap: wrap;
  }
  /* SOBRE */
  section.sobre {
    padding: 80px 8%;
  }
  section.sobre .flex {
    gap: 10px;
  }
  .sobre .txt-sobre h2 {
    font-size: 32px;
    line-height: 30px;
  }
  /* CONTATO */
  section.formulario {
    padding: 80px 8%;
  }
  form {
    margin-top: 0px;
  }
  form input,
  form textarea {
    padding: 10px 15px;
    font-size: 16px;
  }
  form .btn-enviar input[type="submit"] {
    width: 100%;
  }
  footer .line-footer p {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .projeto-card {
    max-width: 100%;
  }

  .portifolio .flex {
    padding: 0 10px;
  }
}
