* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #0b0e0d;
  margin: 0px;
  font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
}
button:hover,
form .btn-enviar input:hover {
  box-shadow: 0 0 8px #00ff99c5;
  transform: scale(1.05);
}
.btn-social {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background-color: #00ff99;
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0e0d;
}
/* interface */
.interface {
  max-width: 1200px;
  margin: 0 auto;
}
header > .interface {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------------------header --------------------------------*/
header {
  background-color: #0b0e0d;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .lucas-contato button {
  padding: 10px 40px;
  font-size: 18px;
  font-weight: 600;
  background-color: #00ff99;
  border: 0;
  border-radius: 40px;
  cursor: pointer;
}

header h1 {
  color: #ffffff;
  font-size: 2.5rem;
}

header span {
  color: #00ff99;
}
header a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
}

header nav ul {
  list-style-type: none;
}

header nav ul li {
  display: inline-block;
  padding: 0 18px;
}

header a:hover {
  color: #00ff99;
  transform: scale(1.1);
  transition: 0.3s;
}
header .lucas-contato button:hover {
  box-shadow: 0 0 8px #00ff99c5;
}

/* ícone hambúrguer — escondido no desktop */
header .bi-three-dots-vertical,
header .bi-x {
  display: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* menu mobile — oculto por padrão */
.menu_mobile {
  display: none;
  background-color: #0b0e0d;
  width: 100%;
  padding: 10px 0;
}

.menu_mobile ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
}

.menu_mobile ul li a {
  color: #ffffff;
  font-size: 1.1rem;
}

.menu_mobile.aberto {
  display: block;
}

/* ------------------------DOWLOAD CV SECAO----------------------- */
.section-div {
  animation: inicializar 0.7s forwards;
  background-color: #0b0e0d;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-around;
  align-items: center;
  gap: 60px;
  padding: 60px;
}

.section-div div {
  margin-top: 120px;
  align-self: start;
  display: grid;
  gap: 30px;
}

.section-div h2 {
  font-weight: 600;
  color: #ffffff;
}

.section-div div p {
  font-weight: 300;
  color: white;
}

.section-div div a {
  justify-self: start;
  color: white;
  padding: 15px 40px;
  border-radius: 5px;
  border: 2px solid white;
}

.section-div img {
  max-width: 100%;
  position: relative;
  animation: flutuar 2s ease-in-out infinite alternate;
}

.digitando::after {
  content: "|";
  margin-left: 5px;
  animation: pisca 0.5s infinite;
}

@keyframes pisca {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes inicializar {
  from {
    opacity: 0;
    transform: translate3d(0, -60px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

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

/* ------------------SEÇÃO PRINCIPAL SOBRE MIM -----------------*/

main {
  background-color: #0b0e0d;
  color: #e8f5e9;
}

main .sobre {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  justify-content: center;
  padding: 40px;
}

.sobre_titulo {
  margin: 30px 0;
  grid-column: 1/-1;
  text-align: center;
  color: #ffffff;
}

.sobre_titulo h1 {
  font-size: 2.5rem;
  color: #00ff99;
  margin-bottom: 15px;
}

.sobre_titulo p {
  color: #e8f5e9;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
}

.sobre_titulo div {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.sobre_titulo span {
  display: block;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #00ff99b6;
}

.img-borda {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  padding: 5px;
  overflow: hidden;
  grid-row: 2;
  width: 100%;
  max-width: 100%;
  animation: ladoSecao 0.6s ease-in-out forwards;
}

.img-borda::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(#00ff99, #00bfff, #fff, #00ff99, #00bfff);
  animation: girarBorda 3s linear infinite;
}

.sobre img {
  display: block;
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  filter: blur(0);
  position: relative;
  z-index: 1;
}

@keyframes girarBorda {
  to {
    transform: rotate(360deg);
  }
}

.sobre img:hover {
  transition: 0.5s ease-in;
  filter: blur(1px);
}

.sobre_conteudo {
  animation: sobeSecao 0.6s ease-in-out forwards;
  grid-column: 2/-1;
  display: grid;
  color: #ffffff;
  grid-template-columns: 1fr 1fr;
}

.sobre_texto {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: 1fr 1fr;
}

.sobre_texto h1 {
  font-size: 2.3rem;
  color: #e8f5e9;
  grid-column: 1/-1;
}

.sobre_texto h1::after {
  background-color: #00ff99b6;
  height: 6px;
  width: 60px;
  margin: 20px 0;
  content: "";
  display: block;
  border-radius: 5px;
}

.sobre_texto p {
  font-size: 1.3rem;
  grid-row: 2;
  grid-column: 1/-1;
}

.sobre_info {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: 1/-1;
  gap: 15px;
  align-items: center;
}

.sobre_info i {
  color: #00ff99b6;
  display: inline-block;
  padding-right: 15px;
  font-size: 1.5rem;
}

.sobre_info p {
  font-size: 0.9rem;
}

@keyframes sobeSecao {
  from {
    transition: 0.5s;
    transform: translate3d(60px, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes ladoSecao {
  from {
    transition: 0.5s;
    transform: translate3d(-60px, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* ------------------SEÇÃO SERVIÇOS -----------------*/

.serviços {
  margin-top: -20px;
  padding: 60px 0px;
  background-color: #0b0e0d;
}

.meu_serviço {
  padding: 60px;
  color: #efefef;
}

.meu_serviço ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.meu_serviço ul li {
  cursor: pointer;
  border-radius: 6px;
  position: relative;
  padding: 10px;
  display: grid;
  gap: 30px;
  text-align: center;
  width: 100%;
  align-content: center;
  height: 300px;
  background-color: #111815;
}

.meu_serviço ul li i {
  font-size: 1rem;
  color: #00ff99b6;
}

.meu_serviço ul li h3 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 500;
}

.meu_serviço ul li p {
  color: #e2f8e4;
  font-size: 1.1rem;
}

.meu_serviço li::before {
  content: "";
  transition: 0.5s ease-in-out;
  border-radius: 1px;
  width: 0px;
  height: 0px;
  position: absolute;
  top: -2px;
  right: -2px;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
}
.meu_serviço li::after {
  content: "";
  transition: 0.5s ease-in-out;
  border-radius: 1px;
  width: 0px;
  height: 0px;
  position: absolute;
  bottom: -2px;
  left: -2px;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
}

.meu_serviço li:hover::before {
  width: 100%;
  height: 100%;
  border-top: 4px solid #00ff99b6;
  border-right: 4px solid #00ff99b6;
}
.meu_serviço li:hover::after {
  width: 100%;
  height: 100%;
  border-bottom: 4px solid #00ff99b6;
  border-left: 4px solid #00ff99b6;
}
.meu_serviço li:hover {
  transform: scale(1.02);
}
/* -------- Flip Card -------- */
.meu_serviço ul li.flip-card {
  background-color: transparent;
  perspective: 1000px;
  padding: 0;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 300px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 6px;
}
.flip-card.virado .flip-inner {
  transform: rotateY(180deg);
}
.flip-frente,
.flip-verso {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 6px;
  display: grid;
  gap: 20px;
  text-align: center;
  align-content: center;
  padding: 20px;
}
.flip-frente {
  background-color: #111815;
}
.icones {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.flip-verso {
  background-color: #111815;
  transform: rotateY(180deg);
  border: 1px solid #00ff9940;
}
.flip-verso i {
  font-size: 1.4rem;
  color: #00ff99b6;
}
.flip-verso h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
}
.nivel-texto {
  color: #e2f8e4;
  font-size: 1rem;
  margin: 0;
}
.nivel-texto strong {
  color: #00ff99b6;
}
.barra-nivel {
  width: 80%;
  margin: 0 auto;
  height: 6px;
  background-color: #15e487;
  border-radius: 10px;
  overflow: hidden;
}
.barra-preenchimento {
  height: 100%;
  background: linear-gradient(90deg, #00ff99b6, #00cc77);
  border-radius: 10px;
}
.porcentagem {
  color: #00ff99b6;
  font-size: 1.1rem;
  font-weight: 600;
}
/* ----------------------------------estilo do portfólio---------------------------- */
section.portfolio {
  padding: 80px 4%;
  box-shadow: 0 0 40px 10px #0b0e0d;
}
.port {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px;
  justify-content: center;
}

.img-port {
  width: 360px;
  max-width: 100%;
  height: 460px;
  background-size: cover;
  background-position: 100% 0%;
  transition: 5s;
  cursor: pointer;
  border-radius: 40px;
  position: relative;
}

.img-port:hover {
  background-position: 100% 100%;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000008d;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0;
  transition: 0.5s;
}
.overlay:hover {
  opacity: 1;
}

/* -----------------------------------------formulario---------------------------------------- */
section.formulario {
  padding: 80px 4%;
}
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
form input,
form textarea {
  width: 100%;
  background-color: #1a1a1a83;
  border: 0;
  outline: 0;
  padding: 20px 15px;
  border-radius: 15px;
  color: #ffffff;
}
form textarea {
  resize: none;
  max-width: 100%;
}
form .btn-enviar {
  margin-top: 10px;
  text-align: center;
}
form .btn-enviar input {
  width: 120px;
  background-color: #00ff99;
  color: #1a1a1a;
  cursor: pointer;
  transition: 0.2s;
}
/* ---------------------------------rodape------------------------------ */
.logoflex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.social-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.logo-footer h2 {
  color: #ffffff;
  font-size: 1.8rem;
}
.logo-footer h2 span {
  color: #00ff99;
}
footer {
  padding: 60px 4%;
  box-shadow: 0 0 40px 10px #111815;
}
footer .line-footer {
  padding: 20px 0;
}
.borda {
  border-top: 2px solid #00ff99;
}
footer .line-footer p i {
  color: #00ff99;
  font-size: 22px;
}
footer .line-footer p a {
  color: #ffffff;
}
/* ----------------------responsivo---------------------------------- */

@media (max-width: 992px) {
  /* HEADER */
  header > .interface {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
  }

  header .menu_desktop {
    display: none;
  }

  /* mostra o ícone hambúrguer */
  header .bi-three-dots-vertical,
  header .bi-x {
    display: block;
  }

  /* HERO */
  .section-div {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
  }
  .section-div div {
    margin-top: 20px;
    justify-items: center;
  }
  .section-div div a {
    justify-self: center;
  }
  .section-div img {
    width: 70%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* SOBRE */
  main .sobre {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .img-borda {
    grid-row: auto;
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .sobre_conteudo {
    grid-column: 1/-1;
    grid-template-columns: 1fr;
  }
  .sobre_texto {
    grid-template-columns: 1fr;
  }
  .sobre_info {
    grid-template-columns: 1fr;
  }
  .sobre_texto p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* SERVIÇOS */
  .meu_serviço {
    padding: 20px;
  }
  .meu_serviço ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .meu_serviço ul li {
    width: 100%;
    height: 250px;
  }
  .flip-inner {
    height: 250px;
  }

  /* PORTFOLIO */
  .img-port {
    width: 100%;
    max-width: 380px;
    height: 320px;
  }
}

@media (max-width: 576px) {
  header h1 {
    font-size: 1.8rem;
  }

  .section-div img {
    width: 90%;
    max-width: 280px;
  }

  /* Serviços em coluna única no celular */
  .meu_serviço ul {
    grid-template-columns: 1fr;
  }
  .meu_serviço ul li {
    height: 220px;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
  .flip-inner {
    height: 220px;
  }

  /* Portfolio em coluna única */
  .img-port {
    width: 100%;
    max-width: 100%;
    height: 280px;
    border-radius: 20px;
  }

  .sobre_texto h1 {
    font-size: 1.6rem;
  }

  form {
    padding: 0 10px;
  }
}
