* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: #001542;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  z-index: 1;
}

hr {
  border: 0;
  height: 1px;
  margin: 10px 0 20px 0;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
}

h1 {
  font-size: 35px;
  margin-bottom: 5px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
  color: #001542;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.vcard-container {
  max-width: 1500px;
  height: 100%;
  background: transparent;
  display: grid;
  grid-template-columns: 100px 400px 1fr;
  gap: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0);
  border-radius: 0 0 10px 10px;
  overflow-y: auto;
  gap: 2px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 1;
}

/* ===== MENU ===== */
.menu {
  background: #fff;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  max-width: 100px;
  max-height: 400px;
  border-radius: 8px;
  z-index: 1;
}

.menu ul li {
  margin-bottom: 23px;
}

.menu a {
  color: #001542;
  text-decoration: none;
  font-size: 18px;
  align-items: center;
  gap: 15px;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #0015421a;
  z-index: 1;
}

.noborder a {
  border: none;
}

.menu a:hover {
  color: #747474;
  transform: translateX(5px);
}

.menu-item {
  position: relative;
  display: flex;
  justify-items: center;
  align-items: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  width: 100%;
  height: 40px;
  overflow: visible;
}

#toggleButton img {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

#toggleButton {
  cursor: pointer;
  margin-bottom: 10px;
}

.menu-item::after {
  content: attr(data-label);
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #085454;
  color: white;
  padding: 6px 12px;
  border-top-left-radius: 13px;
  border-bottom-right-radius: 13px;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.3s ease;
  font-size: 14px;
  z-index: 10;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.menu-item:hover::after {
  width: auto;
  opacity: 1;
}

/* ===== PROFILE ===== */
.profile {
  background: #fff;
  padding: 0px 0px;
  text-align: center;
  display: flex;
  flex-direction: column;
  z-index: 0;
  height: auto;
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}

.profile-img-container {
  position: relative;
  width: 100%;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: none;
  margin-bottom: 0px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  display: block;
}

.profile-img-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* sobreposição escura */
  z-index: 1;
}

.profile-img-container img {
  width: 100%;
  max-height: 500px;
  display: block;
  position: relative;
  background-color: transparent;
  margin: 0;
  padding: 0;
}

.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
}

.profile h1 {
  font-size: 34px;
  margin-bottom: 5px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.profile p {
  font-size: 16px;
  color: #555;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.social-icons {
  font-size: 25px;
  margin: 20px 0 0 0;
  cursor: pointer;
}

.social-icons i,
.social-icons a {
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  vertical-align: middle;
}

#typed-text {
  font-size: 18px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: #333;
  min-height: 1.5em; /* ⬅ Garante que o espaço vertical não varie */
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}

.curriculo {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #cccccc50;
}

.curriculo a {
  width: 100%;
  height: 70px;
  text-decoration: none;
  text-align: center;
  padding: 25px 10px;
  color: #000;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.curriculo a:hover {
  color: #747474;
  transform: translateX(5px);
}

.link {
  border-right: 1px solid #cccccc50;
}

/* ===== CONTENT ===== */
.content {
  padding: 40px;
  background-color: #fff;
  /* min-height: 720px; */
  height: 725px;
  max-width: 1500px;
  overflow-y: scroll;
}

.section {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

/* ===== CONTENT ANIAMTION ===== */
#contato,
.tilt-in-fwd-bl {
  -webkit-animation: tilt-in-fwd-bl 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: tilt-in-fwd-bl 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

#sobre,
.tilt-in-fwd-tl {
  -webkit-animation: tilt-in-fwd-tl 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: tilt-in-fwd-tl 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

#habilidades,
.tilt-in-fwd-br {
  -webkit-animation: tilt-in-fwd-br 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: tilt-in-fwd-br 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

#projetos,
.tilt-in-fwd-tr {
  -webkit-animation: tilt-in-fwd-tr 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: tilt-in-fwd-tr 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes tilt-in-fwd-bl {
  0% {
    -webkit-transform: rotateY(-20deg) rotateX(-35deg) translate(-300px, 300px)
      skew(-35deg, 10deg);
    transform: rotateY(-20deg) rotateX(-35deg) translate(-300px, 300px)
      skew(-35deg, 10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}
@keyframes tilt-in-fwd-bl {
  0% {
    -webkit-transform: rotateY(-20deg) rotateX(-35deg) translate(-300px, 300px)
      skew(-35deg, 10deg);
    transform: rotateY(-20deg) rotateX(-35deg) translate(-300px, 300px)
      skew(-35deg, 10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}

@-webkit-keyframes tilt-in-fwd-tl {
  0% {
    -webkit-transform: rotateY(-20deg) rotateX(35deg) translate(-300px, -300px)
      skew(35deg, -10deg);
    transform: rotateY(-20deg) rotateX(35deg) translate(-300px, -300px)
      skew(35deg, -10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}
@keyframes tilt-in-fwd-tl {
  0% {
    -webkit-transform: rotateY(-20deg) rotateX(35deg) translate(-300px, -300px)
      skew(35deg, -10deg);
    transform: rotateY(-20deg) rotateX(35deg) translate(-300px, -300px)
      skew(35deg, -10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}

@-webkit-keyframes tilt-in-fwd-br {
  0% {
    -webkit-transform: rotateY(20deg) rotateX(-35deg) translate(300px, 300px)
      skew(35deg, -10deg);
    transform: rotateY(20deg) rotateX(-35deg) translate(300px, 300px)
      skew(35deg, -10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}
@keyframes tilt-in-fwd-br {
  0% {
    -webkit-transform: rotateY(20deg) rotateX(-35deg) translate(300px, 300px)
      skew(35deg, -10deg);
    transform: rotateY(20deg) rotateX(-35deg) translate(300px, 300px)
      skew(35deg, -10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}

@-webkit-keyframes tilt-in-fwd-tr {
  0% {
    -webkit-transform: rotateY(20deg) rotateX(35deg) translate(300px, -300px)
      skew(-35deg, 10deg);
    transform: rotateY(20deg) rotateX(35deg) translate(300px, -300px)
      skew(-35deg, 10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}
@keyframes tilt-in-fwd-tr {
  0% {
    -webkit-transform: rotateY(20deg) rotateX(35deg) translate(300px, -300px)
      skew(-35deg, 10deg);
    transform: rotateY(20deg) rotateX(35deg) translate(300px, -300px)
      skew(-35deg, 10deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}

.section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* section  home*/

.highlight-text {
  color: #fff;
  background-color: #085454;
  padding: 8px 23px;
  font-weight: bold;
  border-radius: 0.9em;
}

.highlight-text,
.flicker-4 {
  -webkit-animation: flicker-4 4s linear infinite both;
  animation: flicker-4 4s linear infinite both;
}

@-webkit-keyframes flicker-4 {
  0%,
  100% {
    opacity: 1;
  }
  31.98% {
    opacity: 1;
  }
  32% {
    opacity: 0;
  }
  32.8% {
    opacity: 0;
  }
  32.82% {
    opacity: 1;
  }
  34.98% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  35.7% {
    opacity: 0;
  }
  35.72% {
    opacity: 1;
  }
  36.98% {
    opacity: 1;
  }
  37% {
    opacity: 0;
  }
  37.6% {
    opacity: 0;
  }
  37.62% {
    opacity: 1;
  }
  67.98% {
    opacity: 1;
  }
  68% {
    opacity: 0;
  }
  68.4% {
    opacity: 0;
  }
  68.42% {
    opacity: 1;
  }
  95.98% {
    opacity: 1;
  }
  96% {
    opacity: 0;
  }
  96.7% {
    opacity: 0;
  }
  96.72% {
    opacity: 1;
  }
  98.98% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  99.6% {
    opacity: 0;
  }
  99.62% {
    opacity: 1;
  }
}
@keyframes flicker-4 {
  0%,
  100% {
    opacity: 1;
  }
  31.98% {
    opacity: 1;
  }
  32% {
    opacity: 0;
  }
  32.8% {
    opacity: 0;
  }
  32.82% {
    opacity: 1;
  }
  34.98% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  35.7% {
    opacity: 0;
  }
  35.72% {
    opacity: 1;
  }
  36.98% {
    opacity: 1;
  }
  37% {
    opacity: 0;
  }
  37.6% {
    opacity: 0;
  }
  37.62% {
    opacity: 1;
  }
  67.98% {
    opacity: 1;
  }
  68% {
    opacity: 0;
  }
  68.4% {
    opacity: 0;
  }
  68.42% {
    opacity: 1;
  }
  95.98% {
    opacity: 1;
  }
  96% {
    opacity: 0;
  }
  96.7% {
    opacity: 0;
  }
  96.72% {
    opacity: 1;
  }
  98.98% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  99.6% {
    opacity: 0;
  }
  99.62% {
    opacity: 1;
  }
}

.text-home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 30vh;
}

.text-home h2 {
  color: #001542;
  text-align: center;
}

.container-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-projetos button {
  margin: 0 10px;
  padding: 10px 10px;
  cursor: pointer;
  background-color: #ffb30d;
  border: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-projetos button:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-sobre-mim button {
  margin: 0 10px;
  padding: 10px 10px;
  cursor: pointer;
  background-color: #085454;
  border: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  color: #fff;
}

.btn-sobre-mim button:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#home h2 {
  text-align: center;
  font-size: 2.5rem;
  line-height: 3.3rem;
  margin-top: 0; /* zera espaçamento indesejado */
  margin-bottom: 20px; /* espaçamento abaixo */
  color: #333;
  justify-self: center;
  align-self: center;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-highlights {
  display: flex;
  gap: 20px;
  margin: 50px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 20px;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.ver-projetos {
  width: 100%;
  display: flex;
}
.btn-saiba-mais {
  display: inline-block;
  text-align: center;
  margin: 20px auto;
  background-color: #ffb30d;
  color: #001542;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
}

.btn-saiba-mais:hover {
  background-color: #9e6d04;
}

.card {
  transition: all 0.3s ease;
  box-shadow: 1px 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tooltip-custom {
  position: relative;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  position: absolute;
  bottom: 120%;
  background-color: #333;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tooltip-custom:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-message {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Balãozinho tipo "mensagem" */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  margin-left: -5px;
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.tooltip-message:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Cards da secao sobre mim*/

.container-section-about {
  margin-top: 40px;
}

.sobre::after {
  content: " Mim";
  color: #ffb30d;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.text-dark-mode::after {
  content: " Silva";
  color: #001542;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.skill-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px 30px;
  width: 300px;
  text-align: left;
}

.skill-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.skill-card ul {
  list-style: none;
  padding: 0;
}

.skill-card li {
  margin-bottom: 8px;
  padding-left: 1em;
  position: relative;
}

.skill-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #4caf50;
}

/* Section habilidades*/

#habilidades h2 {
  text-align: center;
}

.soft-hard {
  padding: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: auto;
  justify-content: center;
  align-self: center;
  margin: 30px 0;
}

.skill-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 5px;
  margin: 10px 10px;
  box-shadow: 1px 1px 1px 3px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 12px;
  text-align: center;
  width: 13rem;
}

.skill-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Section Projetos*/

#projetos {
  width: auto;
}

.galeria {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.card-projeto {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 1px 1px 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  background-color: #001542;
  height: 30vh;
}

.card-projeto img {
  width: 100%;
  height: 100%;
  display: block;
}

.card-projeto h2 {
  margin: 15px 0;
}

.card-projeto p {
  margin: 15px 0;
}

.card-projeto a {
  margin: 15px 0;
}

.card-projeto .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s ease;
  /* margin: 15px 0; */
}

.card-projeto:hover .overlay {
  opacity: 1;
}

.card-projeto:hover {
  transform: translateY(-5px);
}

.card-projeto .overlay h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card-projeto .overlay a {
  padding: 8px 15px;
  /* background: #00bcd4; */
  border: 1px solid #fff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.card-projeto .overlay a:hover {
  background: #ffb30d;
}

.description {
  text-align: left;
  margin: 20px;
  padding: 0 10px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 15px;
}

.badge {
  padding: 5px 10px;
  margin-top: 20px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: bold;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

/* Cores por tecnologia */

.badges {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.badges i {
  font-size: 22px;
  margin-right: 8px;
  background-color: #fff;
  padding: 6px;
  border-radius: 8px;
}

.badges i {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.badges i:hover {
  transform: scale(1.2);
}

.badge-ai {
  width: 34px;
  height: 34px;
  margin-right: 8px;
  background-color: #fff;
  padding: 6px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.badge-ai:hover {
  transform: scale(1.2);
}

.icon img {
  width: auto;
  height: auto;
  margin-right: 8px;
  background-color: #fff;
  padding: 6px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* Section Contato */

#contato {
  width: 50vw;
  box-sizing: border-box;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.section-contato {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contato-info p {
  margin: 10px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contato-info a {
  color: #007bff;
  text-decoration: none;
}

.form-contato {
  max-width: 350px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-contato input,
.form-contato textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
}

.form-contato button {
  padding: 12px;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.form-contato button:hover {
  background-color: #0056b3;
}

.form-contato i {
  margin-right: 6px;
}

/* Formulário container */
.form-contato {
  border: 1px solid var(--border-color);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--input-bg);
  color: var(--text-color);
  position: relative;
  transition: all 0.3s ease;
}

/* Ícones do formulário */
.form-contato i {
  font-size: 1.2rem;
  color: var(--border-color);
  transition: all 0.3s ease;
  margin-left: 0.2rem;
}

/* Inputs e textarea */
.form-contato input,
.form-contato textarea {
  padding: 0.8rem 1rem;
  border: none;
  border-bottom: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-color);
  outline: none;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.form-contato input::placeholder,
.form-contato textarea::placeholder {
  color: #555;
}

/* Efeito no ícone ao focar no campo */
.form-contato input:focus + i,
.form-contato textarea:focus + i {
  color: #5d1f2e;
  transform: scale(1.2);
}

/* Efeito no ícone anterior ao campo focado */
.form-contato i:has(+ input:focus),
.form-contato i:has(+ textarea:focus) {
  color: #5d1f2e;
  transform: scale(1.2);
}

/* Botão */
.form-contato button {
  background-color: #5d1f2e;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-enviar i {
  color: #ffffff;
}

.form-contato button:hover {
  background-color: #350f18;
}

/* Wrapper dos inputs com ícones */
.input-wrapper i {
  color: #ffffff;
}

.input-wrapper input,
.input-wrapper textarea {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  color: #333;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
  color: #888;
}

.form-contato button {
  background-color: #5d1f2e;
}

.filtros button {
  padding: 8px 16px;
  border: 1px solid #ccc !important;
  background: #f0f0f0;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* BOTÕES */
.filtros {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filtros button {
  position: relative;
  padding: 10px 20px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: #5c1f2e;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
}

.filtros button:hover {
  color: #3a0613;
  transform: translateY(-2px);
}

.filtros button.active {
  color: #fff;
  background: linear-gradient(135deg, #5c1f2e, #3a0613);
  box-shadow: 0 6px 15px rgba(0, 212, 255, 0.35);
  transform: translateY(-2px) scale(1.05);
}

.filtros button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #5c1f2e, #3a0613);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 4px;
}

.filtros button.active::after {
  width: 60%;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

/* estado normal */
.card-projeto {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* animando saída */
.card-projeto.hiding {
  opacity: 0;
  transform: scale(0.9);
}

/* some do layout */
.card-projeto.hidden {
  display: none;
}
