* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto Mono", monospace;
}

:root {
  font-size: 62.5%;
  --nav-height: 7.2rem;
  --primary-color: #006ddd;
  --secondary-color: #004388;
  --tertinary-color: #001326;
  --color-text: #e4e4e4;
  --p-color: #6e6e6e;
}
body.interna {
  background-color: #06000a;
  color: #e4e4e4;
  font-family: "Poppins", sans-serif;
  padding-top: 10rem;
}

/* Estilo dos vídeos e textos nas páginas internas */
body.interna .wrapper {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 2rem;
}

body.interna .image {
  margin-bottom: 2rem;
}

body.interna .image video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

body.interna .text {
  max-width: 800px;
  margin: 2rem auto 5rem;
  text-align: center;
}

body.interna .text h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

body.interna .text p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #c7c7c7;
  margin-bottom: 0.8rem;
}
body.interna .logo-sticker {
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}
body.interna .video-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

body.interna .video-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* 🔥 ESSENCIAL: centraliza tudo horizontalmente */
  gap: 1rem;
}


body.interna .video-item video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  max-width: 600px;
}

body.interna .video-item .text {
  text-align: center;
  width: 100%;
  padding: 0;
  margin-top: 1rem;
}



@media (min-width: 768px) {
  body.interna .video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25rem;
  }
  body.interna .logo-sticker {
  max-width: 150px;
  height: auto;
  display: block;
  margin: -6rem auto 4rem auto; /* margem em cima e centralizado horizontalmente */
  }


  body.interna .video-item {
    flex-direction: column;
    max-width: 600px;
  }

  body.interna .video-item .text {
    text-align: center;
    margin-top: 2rem;
  }
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  height: 100%;
  text-align: center;
}

body {
  background-color: #06000a;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

ul {
  list-style: none;
}

.wrapper {
  width: min(50rem, 100%);
  margin-inline: auto;
  padding-inline: 2.4rem;
}

.wrapper-home {
  width: min(130rem, 100%);
  margin-inline: auto;
  padding-inline: 0.4rem;
}

section {
  padding-block: 10rem;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 1rem;
  background-color: #111111;
}

::-webkit-scrollbar-thumb {
  width: 1rem;
  background-color: #333333;
}

#particles-js {
  background-color: transparent;
  opacity: 0.8;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
}

/* botões inicial */
/* Estilo base para os cards com imagem retangular */
.categoria-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: 2rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 16, 225, 0.1);
  transition: transform 0.3s ease;
}

.categoria-card:hover {
  transform: scale(3.02);
  box-shadow: 0 0 40px rgba(139, 16, 225, 0.3);
}

.categoria-card .bg-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;


  z-index: 0;
}

.categoria-card .categoria-info {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.categoria-card .categoria-info h3 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.categoria-card .categoria-info p {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #FFFFFF;
}
#projects .cards {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}


@media (min-width: 768px) {
  #projects .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .categoria-card .categoria-info h3 {
    font-size: 4.4rem;
  }

  .categoria-card .categoria-info p {
    font-size: 1.6rem;
  }
}

/* HOME */
#home {
  overflow: hidden;
}

#home .banner video {
  display: none;
}

.banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20rem;
}

.banner video {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 120vh;
  filter: brightness(0.1);
}

.banner::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
}


.banner .content {
  display: flex;
  gap: 20rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#home .content .text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0rem;
}

#home .content .text .paragraphy {
  display: flex;
  align-items: center;
}

#home .social-links {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: sticky;
  top: 100px;
}


#home .social-links a svg:hover {
  cursor: pointer;
}

#home .social-links a:nth-child(2) svg {
  animation-delay: 200ms;
}

#home .social-links a:nth-child(3) svg {
  animation-delay: 400ms;
}

#home .social-links svg,
#home .social-links img {
  animation: floating 2.5s infinite ease-in-out;
  transition: all 200ms ease-in-out;
}

#home .social-links a img:hover,
#home .social-links a svg:hover {
  cursor: pointer;
}
/* Estilo global para qualquer .social-links */
.social-links {
  margin-top: 4rem;
  gap: 344rem;
}
.social-links a {
  margin: 0 1.5rem; /* margem horizontal de 1.5rem entre os botões */
  display: inline-block;
}

.social-links a img {
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}

.social-links a:hover img {
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}
.social-links a {
  margin: 0 1.5rem; /* margem horizontal */
  display: inline-block;
  border-radius: 8px; /* bordas arredondadas pra ficar mais bonito */
  transition: box-shadow 0.3s ease;
}

.social-links a:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5); /* sombra maior no hover */
}





#home .content .text svg {
  width: 5rem;
  height: 5rem;
}

#home .content .text .paragraphy p {
  font-size: 2rem;
  color: #d8d8d8;
  font-weight: 400;
}

.paragraphy {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 0;
}

/* Logo */
.logo-container {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 100%;
}

.logo-sticker {
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#home .content .text h1 {
  font-family: "Poppins", sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px #ffffffe8;
  text-stroke: 1px #ffffffc5;
  margin-top: 50px;
  background: radial-gradient(
    circle farthest-corner at center center,
    #cfcfcf17 0%,
    #0000002d 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  text-align: center;
}

#home .content .arrow {
  margin-top: -15rem;
  padding-bottom: 1rem;
  transition: all 200ms ease-in-out;
}

#home .content .arrow:hover {
  transform: scale(1.1);
}

/* PROJECTS */
#projects {
  overflow: hidden;
  background: rgba(0, 0, 0, 0.519);
  box-shadow: 0 8px 32px 0 rgba(135, 0, 255, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  position: relative;
}

#projects img.textoPortfolio {
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: -1;
  opacity: 0.02;
}

#projects img.looper {
  position: absolute;
  animation: rotate infinite linear 20s;
  z-index: -1;
  filter: brightness(0.1);
}

#projects img.looper.um {
  bottom: 91%;
  right: -24rem;
}

#projects img.looper.dois {
  bottom: 45%;
  left: -24rem;
}

#projects img.looper.tres {
  bottom: 10%;
  right: -24rem;
}

#projects header h2 {
  line-height: 1.1;
  color: var(--color-text);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
#projects header h3 {
  line-height: 1.1;
  color: var(--color-text);
  font-size: 1.6rem;

}
#projects header p {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  color: var(--p-color);
  font-weight: 400;
  margin-bottom: 4.5rem;
}


#projects header {
  margin-bottom: 10rem;
}


#projects .image video,
#projects .image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 15px;
  transition: all 200ms ease-in-out;
  animation: floating 3s ease-in-out infinite;
  filter: drop-shadow(2px 4px 20px rgba(28, 12, 52, 0.4));
  margin-bottom: 4rem;
  object-fit: contain; /* <-- Aqui está a correção */
  aspect-ratio: auto;
}

#projects .card.right .image video,
#projects .card.right .image img {
  animation-delay: 500ms;
}

#projects .image video:hover,
#projects .image img:hover {
  cursor: pointer;
  filter: drop-shadow(1px 3px 15px rgba(28, 12, 52, 1));
  transform: scale(1.02);
}


.floating {
  animation: floating 6s ease-in-out infinite;
}

video {
  object-fit: contain !important;
  width: 100%;
  height: 100%;
  background-color: black; /* para garantir bordas pretas */
}
video:-webkit-full-screen {
  object-fit: contain !important;
  background-color: black;
}
video:fullscreen {
  object-fit: contain !important;
  background-color: black;
}


/* COMPETENCIAS */
#competencias {
  overflow: hidden;
}

#competencias {
  display: block;
}


#competencias img.textoHabilidades {
  width: 100%;
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translate(-50%);
  z-index: -1;
  opacity: 0.02;
}

#competenciasDesktop {
  display: none;
}


#competencias header {
  margin-bottom: 10rem; /* reduzido — era maior antes */
  text-align: center;
}

#competencias header h2 {
  font-size: 3.5rem;
  color: var(--color-text);
  margin-bottom: 0.5rem; /* reduzido — estava 1.5rem ou mais */
}

#competencias header p {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  color: #a1a1a1;
  font-weight: 400;
  margin-bottom: 1rem; /* controla o espaço entre o “arraste” e o card */
}

.card .text {
  margin-bottom: 100px; /* ajustável */
}




#competencias .cards .card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background: rgba(39, 39, 39, 0.1);
  backdrop-filter: blur(3.9px);
  -webkit-backdrop-filter: blur(3.9px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  min-height: 30rem;
  box-shadow: 5px 5px 20px rgba(139, 16, 225, 0.4);
}


#competencias .cards .card ion-icon {
  font-size: 6rem;
  color: var(--color-text);
}

#competencias .cards .card span {
  color: #d8d8d8;
  font-weight: 700;
  font-size: 2rem;
  margin-top: -1rem;
}

#competencias,
#competenciasDesktop {
  position: relative;
}
#competencias .cards .card p {
  font-family: "Poppins", sans-serif;
  color: var(--p-color);
  font-size: 1.6rem;
  font-weight: 500;
}

/* SOBRE */
#sobre {
  position: relative;
  background-color: #050505;
  overflow: hidden;
}


#sobre .image {
  margin-bottom: 3rem;
}

#sobre .image img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  box-shadow: 19px 19px 30px #1818182d, -19px -19px 30px rgba(28, 12, 52, 0.5);
  animation: move 3s ease-in-out infinite;
}

#sobre .content header h2 {
  font-size: 4rem;
  color: var(--color-text);
  text-align: left;
}

#sobre .content .text {
  text-align: left;
}

#sobre .content .text p {
  font-weight: 300;
  color: #6e6e6e;
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
}

#sobre .content .text p span {
  font-weight: 600;
}

#sobre .content .text ul {
  margin-top: 3rem;
  margin-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: start;
  text-align: left;
}

#sobre .content .text ul li {
  font-size: 1.4rem;
  color: #9b9b9b;
  list-style: disc;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

#sobre .content .text a {
  text-decoration: none;
  color: var(--color-text);
}

#sobre .content .text a button {
  font-family: "Poppins", sans-serif;
  margin-top: 2rem;
  border-radius: 1rem;
  padding: 1rem 2rem;
  background-color: transparent;
  outline: 1px solid var(--color-text);
  color: var(--color-text);
  font-weight: 700;
  border: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease-in-out;
}

#sobre .content .text a button:hover {
  background-color: var(--color-text);
  color: #111111;
  box-shadow: 5px 5px 10px #FFFFFF;
  cursor: pointer;
}

#sobre .content .text a button:hover ion-icon {
  color: #111111;
  animation: moveicon 2s ease-in-out infinite;
}

#sobre .content .text a button ion-icon {
  color: var(--color-text);
  font-size: 2rem;
}

/* BUTTON HOME */
#buttonHome {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: all 300ms ease-in-out;
}

#buttonHome.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#buttonHome img {
  width: 6rem;
  transition: all 300ms ease-in-out;
}

#buttonHome svg:hover {
  transform: scale(1.1);
}



/* ANIMATIONS */
@keyframes move {
  50% {
    transform: translateY(10px);
  }
}

@keyframes moveicon {
  50% {
    transform: translateX(5px);
  }
}

.floating {
  animation: floating 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes floating {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}


@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* MEDIA QUERIES CELULAR */
@media (max-width: 768px) {
  .logo-sticker {
    max-width: 300px;
  }

  .intro-text {
    margin-bottom: 1rem;
  }
}


/* MEDIA QUERIES PC */
@media (min-width: 1080px) {
  .wrapper {
    width: min(150rem, 100%);
  }

  #projects header h2 {
    font-size: 4.5rem; /* maior que o padrão para telas grandes */
  }

  #projects header h3 {
    font-size: 2.2rem;
  }

  #projects header p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }

  header#home {
    background-image: none;
    background-repeat: initial;
    background-size: initial;
    background-position: initial;
  }

  header#home .wrapper-home .banner .text h1 {
    font-size: 10rem;
  }

  header#home .content .text .paragraphy p {
    font-size: 3rem;
  }

  header#home .banner video {
    filter: brightness(0.5);
    display: initial;
  }

  section#projects .wrapper header h2 {
    font-size: 5rem;
  }



    #projects .image video,
    #projects .image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 8px;
  transition: all 200ms ease-in-out;
  animation: floating 3s ease-in-out infinite;
  filter: drop-shadow(2px 4px 20px rgba(28, 12, 52, 0.4));
  margin-bottom: 4rem;
  object-fit: cover;
  aspect-ratio: auto; /* ou remova */
}

  section#sobre {
    background-color: #050505;
  }

  section#sobre .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  section#sobre .image img {
    width: 60%;
  }

  section#sobre .content header h2 {
    text-align: left;
  }

  section#sobre .content .text {
    text-align: left;
  }
  social-icons {
  display: flex;
  align-items: center;
  gap: 444px;
}


  section#competencias {
  display: none;
  }


  section#competenciasDesktop {
  display: inherit;
  }


  #competenciasDesktop img.textoHabilidades {
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: -1;
  opacity: 0.02;
}
  section#competenciasDesktop header h2 {
    font-size: 5rem;
    color: var(--color-text);
    margin-bottom: 5rem;
  }

  section#competenciasDesktop .cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  section#competenciasDesktop .cards .card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-radius: 1rem;
    align-items: center;
    justify-content: space-between;
    background: rgba(61, 61, 61, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1.9px);
    -webkit-backdrop-filter: blur(1.9px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 6px 6px 30px #141414, -6px -6px 30px rgba(139, 16, 225, 0.4);
  }

  section#competenciasDesktop .cards .card ion-icon {
    font-size: 5rem;
    color: var(--color-text);
  }


  section#competenciasDesktop .cards .card span {
    color: var(--color-text);
    font-weight: 700;
    font-size: 2rem;
  }

  section#competenciasDesktop .cards .card p {
    font-family: "Poppins", sans-serif;
    color: #aeaeae;
    font-size: 1.6rem;
  }
    .competencias.mobile {
    display: none;
  }
  .competencias.desktop {
    display: block;
  }
}

