/******************** Fontes usadas */
@import url("https://fonts.cdnfonts.com/css/tt-hoves-pro-trial");

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

:root {
  --font-grande: "TT Hoves Pro Trial", sans-serif;
  --font-pequena: "ClashGrotesk-Light", sans-serif;
  --color-black: #000;
  --color-gray1: #3d4143;
  --color-gray2: #9c9d9d;
  --color-white: #f6f6f6;
  --color-destaque1: #c35be2;
  --color-destaque2: #a60ce4;
}

/* Estilizando a barra de rolagem */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--color-black);
}
::-webkit-scrollbar-thumb {
  background-color: var(--color-gray1);
  border-radius: 20px;
  border: 3px solid var(--color-black);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-gray2);
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--color-black);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--font-pequena);
}

li {
  list-style: none;
}
a {
  text-decoration: none;
}

/*Botões fixos*/
.fixed-button {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-black);
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transition:
    opacity 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.3s ease;
}

#backToTop {
  bottom: 20px;
  left: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
#whatsappButton {
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  box-shadow: 0px 0px 10px rgba(0, 255, 0, 0.5);
  animation: pulse 2s infinite;
}
#whatsappButton i {
  font-size: 24px;
  color: #fff;
}
.fixed-button i {
  font-size: 24px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  }
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*************** HEADER *****/
.header {
  user-select: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  transition: all 0.3s ease-in-out;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo img {
  width: 150px;
  border-radius: 18px 12px;
}
.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1001;
}
.hamburger {
  cursor: pointer;
}
.hamburger input {
  display: none;
}
.hamburger svg {
  height: 3em;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  transition:
    stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line-top-bottom {
  stroke-dasharray: 12 63;
}
.hamburger input:checked + svg {
  transform: rotate(-45deg);
}
.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

.menu-aberto {
  background-color: var(--color-black);
  position: fixed;
  left: 0;
  top: 0;
  height: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    height 0.5s ease-in-out,
    opacity 0.5s ease-in-out;
  opacity: 0;
}
.menu-aberto.active {
  height: 100vh;
  opacity: 1;
}
.nav-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.nav-menu a {
  color: var(--color-white);
  font-family: var(--font-pequena);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  opacity: 0;
  transform: translateY(-20px);
  transition:
    transform 0.5s ease-in-out,
    opacity 0.5s ease-in-out,
    color 0.3s ease;
}
.menu-aberto.active .nav-menu a {
  opacity: 1;
  transform: translateY(0);
}
.nav-menu a:hover {
  color: var(--color-destaque1);
}

/*************** INICIO *****/
.inicio {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 1rem 2rem;
  position: relative;
  background-color: var(--color-black);
}
.container-inicio {
  width: 100%;
  max-width: 1200px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.conteudo-inicio {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}
.titulo-inicio h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
}
.destaque-inicio {
  font-weight: lighter;
  color: var(--color-destaque1);
}
.paragrafo-inicio p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  max-width: 800px;
  color: var(--color-gray2);
  line-height: 1.6;
}
.cta {
  position: relative;
  padding: 15px 30px;
  transition: all 0.3s ease;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 50px;
  background: var(--color-destaque2);
  width: 50px;
  height: 50px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.cta span {
  position: relative;
  font-family: var(--font-pequena);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-left: 10px;
}
.cta svg {
  position: relative;
  margin-left: 10px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2;
  transition: all 0.3s ease;
}
.cta:hover:before {
  width: 100%;
}
.cta:active {
  transform: scale(0.95);
}
.complemento-inicio {
  position: absolute;
  bottom: 3rem;
  width: 100%;
  padding: 0 5%;
  display: flex;
  justify-content: center;
  text-align: center;
}
.complemento-inicio h2 {
  font-size: 1rem;
  color: var(--color-gray2);
  font-weight: normal;
  max-width: 400px;
}

/*************** SOBRE *****/
.sobre {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  background-color: var(--color-black);
}
.headline-sobre {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  background-color: rgba(255, 255, 255, 0.02);
}
.headline-scroll {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scroll 15s linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.headline-scroll span {
  font-family: var(--font-grande);
  font-size: clamp(3rem, 10vw, 6rem);
  text-transform: uppercase;
}
.headline-scroll .divisor {
  width: 15px;
  height: 15px;
  background-color: var(--color-destaque1);
  border-radius: 50%;
  margin: 0 30px;
}
.headline-scroll .bold {
  font-weight: bold;
  color: var(--color-white);
}
.headline-scroll .light {
  font-weight: lighter;
  -webkit-text-stroke: 1px var(--color-gray2);
  color: transparent;
}
.container-sobre {
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 4rem;
}
.conteudo-sobre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}
.left-sobre {
  flex: 1;
  min-width: 300px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.textos-sobre h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.textos-sobre p {
  color: var(--color-gray2);
  font-size: 1.2rem;
  line-height: 1.6;
}
.redes-sociais {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.redes-sociais a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  font-size: 1.1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.redes-sociais a:hover {
  color: var(--color-destaque1);
  padding-left: 10px;
}
.right-sobre {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  position: relative;
}
.imagem-sobre {
  position: relative;
  z-index: 2;
}
.imagem-sobre img {
  width: 230px;
  height: 230px;
  margin-top: 130px;
  margin-left: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--color-black);
}
.complemento-sobre {
  position: absolute;
  z-index: 1;
  width: 350px;
}
.complemento-sobre img {
  width: 140%;
  border-radius: 100%;
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*************** SKILLS *****/
.skills {
  width: 100%;
  padding: 8rem 0;
  background-color: var(--color-black);
}
.container-skills {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.text-headline-skills {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-white);
}
.text-headline-skills h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.text-headline-skills p {
  color: var(--color-gray2);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}
.conteudo-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.box-skills {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  }
.box-skills:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-destaque1);
}
.box-skills i {
  font-size: 3rem;
  color: var(--color-destaque1);
}
.box-skills h3 {
  color: var(--color-white);
  font-size: 1.5rem;
}
.box-skills p {
  color: var(--color-gray2);
  line-height: 1.5;
}

/*************** SERVIÇOS *****/
.servicos {
  width: 100%;
  background-color: var(--color-white);
  padding: 8rem 0;
}
.container-servicos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.headline-servicos {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.titulo-servicos h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-family: var(--font-grande);
  line-height: 1;
  color: var(--color-black);
}
.descricao-servicos {
  max-width: 400px;
  font-size: 1.2rem;
  color: var(--color-gray1);
  text-align: right;
}
.servicos-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.card-servicos,
.card-servicos-left {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  background: transparent;
  color: var(--color-black);
}
.card-servicos:hover,
.card-servicos-left:hover {
  background: var(--color-black);
  color: var(--color-white);
}
.card-titulo h1 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 500;
}
.card-icon {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.card-icon i {
  font-size: 2rem;
  color: var(--color-black);
}
.card-servicos:hover .card-icon,
.card-servicos-left:hover .card-icon {
  border-color: var(--color-destaque1);
}
.card-servicos:hover i,
.card-servicos-left:hover i {
  color: var(--color-destaque1);
}

/*************** PORTFOLIO *****/
.portfolio {
  width: 100%;
  padding: 8rem 0;
  background-color: var(--color-black);
}
.container-portfolio {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.headline-portfolio {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 6rem;
  color: var(--color-white);
  flex-wrap: wrap;
  gap: 2rem;
}
.headline-portfolio .titulo {
  font-size: clamp(3rem, 8vw, 6rem);
  font-family: var(--font-grande);
  line-height: 1;
}
.headline-portfolio .descricao {
  max-width: 400px;
  font-size: 1.2rem;
  color: var(--color-gray2);
  text-align: right;
}
.container-case {
  display: flex;
  flex-direction: column;
  gap: 10rem;
}
.case1,
.case2,
.case3,
.case4,
.case5,
.case6,
.case7 {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.case2,
.case4,
.case6 {
  flex-direction: row-reverse;
}
.imagens-case {
  flex: 1.2;
  min-width: 300px;
}

/* Slideshow Styles */
.slide-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.slide {
  position: relative;
  width: 100%;
  height: 400px;
}
.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.slide img.active {
  opacity: 1;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.prev:hover,
.next:hover {
  background: var(--color-destaque1);
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.textos-case {
  flex: 1;
  min-width: 300px;
  color: var(--color-white);
}
.conteudo-textos-case h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  font-family: var(--font-grande);
}
.conteudo-textos-case p {
  color: var(--color-gray2);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.conteudo-textos-case span {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--color-white);
  color: #000;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;

  a {
    color: black;
    transition: all 0.3s ease-in-out;
  }

  a:hover {
    color: #a60ce4;
  }
}

/*************** CONTATO *****/
.contato {
  width: 100%;
  background-color: var(--color-white);
  padding: 8rem 0;
}
.container-contato {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.headline-contato {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.titulo-contato h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-family: var(--font-grande);
  line-height: 1;
  color: var(--color-black);
}
.descricao-contato a {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--color-black);
  font-weight: bold;
  border-bottom: 2px solid var(--color-destaque1);
}
.conteudo-contato {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}
.formulario-contato {
  flex: 1;
  min-width: 300px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form input,
.form textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f9f9f9;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}
.form input:focus,
.form textarea:focus {
  border-color: var(--color-destaque1);
}
.btn {
  padding: 1.2rem;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn:hover {
  background: var(--color-destaque1);
}
.logo-contato {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-contato img {
  width: 70%;
  max-width: 400px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/*************** FOOTER *****/
.footer {
  width: 100%;
  background-color: var(--color-black);
  padding: 6rem 0 2rem;
  color: var(--color-white);
}
.container-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  img {
    border-radius: 40px 20px;
  }
}
.footer-column h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.footer-nav,
.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-nav a,
.social-links a {
  color: var(--color-gray2);
  transition: color 0.3s ease;
}
.footer-nav a:hover,
.social-links a:hover {
  color: var(--color-destaque1);
}
.credits-column {
  text-align: center;
  padding-top: 2rem;
  color: var(--color-gray2);
  font-size: 0.9rem;
}

/* Responsividade Geral (Mobile) */
@media (max-width: 768px) {
  .case2,
  .case4,
  .case6 {
    flex-direction: row;
  }
  .headline-servicos,
  .headline-portfolio,
  .headline-contato {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .descricao-servicos,
  .headline-portfolio .descricao {
    text-align: left;
  }
  .slide {
    height: 250px;
  }
}
