@charset "UTF-8";
/*ARQUIVO PRINCIPAL DE ESTILOS (SASS)*/
/* ESTILOS GLOBAIS E VARIÁVEIS */
/* Variáveis de Cor */
:root {
  --primary-color: blueviolet;
  --text-color: #ffffff;
  --text-color-gray: #8d8d8d;
  --background-color: #000000;
  --card-border-color: #252525;
  --form-bg-color: rgba(128, 128, 128, 0.307);
  --overlay-bg-color: rgba(0, 0, 0, 0.649);
  --shadow-color: rgba(255, 255, 255, 0.131);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
}

.interface {
  max-width: 1280px;
  margin: 0 auto;
}

.flex {
  display: flex;
}

h2.titulo {
  font-size: 38px;
  text-align: center;
  margin-bottom: 60px;
}

h2.titulo span {
  color: var(--primary-color);
}

/* Animação de elevação */
@keyframes elevar {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}
/* COMPONENTE: HEADER */
header {
  padding: 40px 4%;
}

header > .interface {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* GRUPO DA ESQUERDA */
.header-left {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* GRUPO DA DIREITA */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

header nav.menu-desktop a {
  color: var(--text-color-gray);
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease-out;
  position: relative;
}
header nav.menu-desktop a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
header nav.menu-desktop a:hover {
  color: var(--text-color);
}
header nav.menu-desktop a:hover::after {
  transform: scaleX(1);
}

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

header nav.menu-desktop ul li {
  display: inline-block;
  padding: 0 20px;
}

/* --- ESTILOS DO MENU MOBILE --- */
.btn-abrir-menu i {
  color: var(--primary-color);
  font-size: 40px;
  cursor: pointer;
}

.menu-mobile {
  background-color: var(--background-color);
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99999;
  width: 0%;
  overflow: hidden;
  transition: 0.5s;
}

.menu-mobile.abrir-menu {
  width: 70%;
}

.menu-mobile.abrir-menu ~ .overlay-menu {
  display: block;
}

.menu-mobile .btn-fechar {
  padding: 20px 5%;
}

.menu-mobile .btn-fechar i {
  color: var(--primary-color);
  font-size: 40px;
}

.menu-mobile nav ul {
  text-align: right;
}

.menu-mobile nav ul li a {
  color: var(--text-color);
  font-size: 20px;
  font-weight: 300;
  padding: 20px 8%;
  display: block;
  text-decoration: none;
}

.menu-mobile nav ul li a:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.overlay-menu {
  background-color: rgba(0, 0, 0, 0.538);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 88888;
  display: none;
}

/* FOOTER */
footer {
  padding: 30px 4%;
  box-shadow: 0 0 40px 10px var(--shadow-color);
}

footer .flex {
  justify-content: space-between;
  align-items: center;
}

footer .line-footer {
  padding: 20px 0;
}

.borda {
  border-top: 2px solid var(--primary-color);
}

footer .line-footer p i {
  color: var(--primary-color);
  font-size: 25px;
  padding: 10px;
}

footer .line-footer p a {
  color: var(--text-color);
  text-decoration: none;
}

.btn-contato button {
  padding: 10px 40px;
  font-size: 18px;
  font-weight: 600;
  background-color: var(--primary-color);
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  color: var(--text-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease-out;
}
.btn-contato button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1);
  z-index: -1;
}
.btn-contato button:hover {
  color: var(--primary-color);
  transition-delay: 0.1s;
}
.btn-contato button:hover::before {
  transform: scaleX(1);
}

.btn-social button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background-color: var(--primary-color);
  color: var(--text-color);
  font-size: 25px;
  cursor: pointer;
  margin: 0 5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease-out;
}
.btn-social button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1);
  z-index: -1;
}
.btn-social button:hover {
  color: var(--primary-color);
  transition-delay: 0.1s;
}
.btn-social button:hover::before {
  transform: scaleX(1);
}
.btn-social button i {
  position: relative;
  z-index: 2;
}

/* COMPONENTE: CARROSSEL DE SKILLS */
section#stacks-carousel {
  padding: 80px 4%;
}

section#stacks-carousel .interface {
  overflow: hidden;
  position: relative;
  padding-bottom: 40px;
}

section#stacks-carousel .interface::before,
section#stacks-carousel .interface::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

section#stacks-carousel .interface::before {
  left: 0;
  background: linear-gradient(to right, var(--background-color), transparent);
}

section#stacks-carousel .interface::after {
  right: 0;
  background: linear-gradient(to left, var(--background-color), transparent);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
section#stacks-carousel .flex {
  display: flex;
  gap: 60px;
  width: -moz-max-content;
  width: max-content;
}

section#stacks-carousel .flex.scrolling {
  animation: scroll 60s linear infinite;
}

section#stacks-carousel .flex.paused {
  animation-play-state: paused;
}

section#stacks-carousel .skills-box {
  color: var(--text-color);
  padding: 20px;
  border-radius: 20px;
  border: 2px solid var(--card-border-color);
  transition: 0.5s;
  flex: 0 0 180px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

section#stacks-carousel .skills-box h3 {
  font-size: 22px;
  margin-top: 25px;
}

section#stacks-carousel .skills-box svg {
  width: 70px;
  height: 70px;
  fill: var(--primary-color);
  transition: fill 0.3s ease-in-out;
}

section#stacks-carousel .icon-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
}

section#stacks-carousel .icon-wrapper svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease-in-out;
}

section#stacks-carousel .icon-wrapper .icon-solid {
  fill: var(--primary-color);
  opacity: 1;
}

section#stacks-carousel .icon-wrapper .icon-gradient,
section#stacks-carousel .icon-wrapper .icon-color {
  opacity: 0;
}

section#stacks-carousel .skills-box:hover .icon-wrapper .icon-solid {
  opacity: 0;
}

section#stacks-carousel .skills-box:hover .icon-wrapper .icon-gradient,
section#stacks-carousel .skills-box:hover .icon-wrapper .icon-color {
  opacity: 1;
}

/* 5. EFEITOS DE HOVER INDIVIDUAIS */
/* HTML5 - Laranja */
section#stacks-carousel .skills-box.html:hover {
  transform: scale(1.05);
  border-color: #e44d26;
  box-shadow: 0 0 20px #e44d26;
}

section#stacks-carousel .skills-box.html:hover svg {
  fill: #e44d26;
}

/* CSS3 - Azul */
section#stacks-carousel .skills-box.css:hover {
  transform: scale(1.05);
  border-color: #1572b6;
  box-shadow: 0 0 20px #1572b6;
}

section#stacks-carousel .skills-box.css:hover svg {
  fill: #1572b6;
}

/* JavaScript - Amarelo */
section#stacks-carousel .skills-box.js:hover {
  transform: scale(1.05);
  border-color: #f0db4f;
  box-shadow: 0 0 20px #f0db4f;
}

section#stacks-carousel .skills-box.js:hover svg {
  fill: #f0db4f;
}

/* React - Azul Claro */
section#stacks-carousel .skills-box.react:hover {
  transform: scale(1.05);
  border-color: #61dafb;
  box-shadow: 0 0 20px #61dafb;
}

section#stacks-carousel .skills-box.react:hover svg {
  fill: #61dafb;
}

/* React Native - Azul Claro */
section#stacks-carousel .skills-box.react-native:hover {
  transform: scale(1.05);
  border-color: #61dafb;
  box-shadow: 0 0 20px #61dafb;
}

section#stacks-carousel .skills-box.react-native:hover svg {
  fill: #61dafb;
}

/* Vite - Roxo */
section#stacks-carousel .skills-box.vite:hover {
  transform: scale(1.05);
  border-color: #646cff;
  box-shadow: 0 0 20px #646cff;
}

/* SCSS - Rosa */
.skills-box.scss:hover {
  transform: scale(1.05);
  border-color: #cd6799; /* Cor rosa do ícone */
  box-shadow: 0 0 20px #cd6799;
}

/* Next.js - Branco */
section#stacks-carousel .skills-box.nextjs:hover {
  transform: scale(1.05);
  border-color: #fff;
  box-shadow: 0 0 20px #fff;
}

section#stacks-carousel .skills-box.nextjs:hover svg {
  fill: #fff;
}

/* Node.js - Verde */
section#stacks-carousel .skills-box.nodejs:hover {
  transform: scale(1.05);
  border-color: #3c873a;
  box-shadow: 0 0 20px #3c873a;
}

section#stacks-carousel .skills-box.nodejs:hover svg {
  fill: #3c873a;
}

/* PHP - Lilás */
section#stacks-carousel .skills-box.php:hover {
  transform: scale(1.05);
  border-color: #777bb4;
  box-shadow: 0 0 20px #777bb4;
}

section#stacks-carousel .skills-box.php:hover svg {
  fill: #777bb4;
}

/* MySQL - Azul Banco de Dados */
section#stacks-carousel .skills-box.mysql:hover {
  transform: scale(1.05);
  border-color: #00758f;
  box-shadow: 0 0 20px #00758f;
}

section#stacks-carousel .skills-box.mysql:hover svg {
  fill: #00758f;
}

/* MongoDB - Verde Banco de Dados */
section#stacks-carousel .skills-box.mongodb:hover {
  transform: scale(1.05);
  border-color: #4db33d;
  box-shadow: 0 0 20px #4db33d;
}

section#stacks-carousel .skills-box.mongodb:hover svg {
  fill: #4db33d;
}

/* NPM - Vermelho */
section#stacks-carousel .skills-box.npm:hover {
  transform: scale(1.05);
  border-color: #cb3837;
  box-shadow: 0 0 20px #cb3837;
}

/* Git - Laranja Escuro */
section#stacks-carousel .skills-box.git:hover {
  transform: scale(1.05);
  border-color: #f05032;
  box-shadow: 0 0 20px #f05032;
}

section#stacks-carousel .skills-box.git:hover svg {
  fill: #f05032;
}

/* GitHub - Cinza/Branco */
section#stacks-carousel .skills-box.github:hover {
  transform: scale(1.05);
  border-color: #a0a0a0;
  box-shadow: 0 0 20px #a0a0a0;
}

section#stacks-carousel .skills-box.github:hover svg {
  fill: #ffffff;
}

/* COMPONENTE: PORTFOLIO (DESTAQUES) */
section.portfolio .flex {
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.project-card {
  max-width: 360px;
  background-color: #1a1a1a;
  border: 1px solid var(--card-border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--primary-color);
}

.project-card .card-img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

.project-card .card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card .card-title {
  color: var(--text-color);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-card .card-text {
  color: var(--text-color-gray);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-card .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  background-color: var(--primary-color);
  border-radius: 8px;
  text-decoration: none;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease-out;
}
.project-card .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1);
  z-index: -1;
}
.project-card .btn-primary:hover {
  color: var(--primary-color);
  transition-delay: 0.15s;
}
.project-card .btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.project-card .btn-primary svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ======================================= */
/* COMPONENTE: PORTFOLIO (PÁGINA COMPLETA) */
/* ======================================= */
section.portfolio {
  padding: 80px 4%;
  box-shadow: 0 0 40px 10px var(--shadow-color);
}

section.portfolio > .flex { /* Seletor mais específico para o layout principal */
  justify-content: space-around;
  align-items: flex-start;
  margin-top: 60px;
}

.img-port {
  width: 360px;
  height: 460px;
  background-size: cover;
  background-position: 100% 0%;
  transition: background-position 6s ease-in-out;
  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: var(--overlay-bg-color);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  opacity: 0;
  transition: 0.5s;
}

.overlay:hover {
  opacity: 1;
}

/* --- ESTILO DOS CARDS DE PROJETOS MENORES --- */
.fa-jin-h2 {
  text-align: center;
  color: var(--text-color);
  margin: 65px 4% -35px 4%;
  font-size: 35px;
}

.fa-jin-h2 span {
  color: var(--primary-color);
}

section.card-projetos {
  padding: 40px 4%;
}

section.card-projetos .flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card-box {
  color: var(--text-color);
  padding: 40px;
  border-radius: 20px;
  margin-top: 45px;
  transition: 0.5s;
  flex: 1 1 200px;
  max-width: 250px;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
}

.card-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.card-box a {
  color: var(--text-color);
  text-decoration: none;
}

.card-box i {
  font-size: 30px;
  color: var(--primary-color);
}

.card-box h3 {
  font-size: 15px;
  margin: 5px 0;
}

/* SEÇÃO: HERO (COM EFEITO DE DIGITAÇÃO) */
section.topo-do-site {
  padding: 80px 4%;
}

section.topo-do-site .flex {
  align-items: center;
  justify-content: center;
  gap: 90px;
}

.topo-do-site .txt-topo-site h1 {
  color: var(--text-color);
  font-size: 42px;
  line-height: 1.2;
  font-family: "Courier New", Courier, monospace;
  min-height: 110px;
}

.dynamic-text .keyword {
  color: var(--primary-color);
}

.dynamic-text .variable {
  color: #7ee787;
}

.dynamic-text .string {
  color: #f7b731;
}

.dynamic-text::after {
  content: "|";
  margin-left: 8px;
  color: var(--primary-color);
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.topo-do-site .txt-topo-site p {
  color: var(--text-color-gray);
  margin: 40px 0;
  font-size: 18px;
  line-height: 1.6;
}

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

section.especialidades {
  padding: 80px 4% 100px 4%;
  overflow-x: hidden;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: 1;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s ease-out;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 2;
  top: 30px;
}

.timeline-item {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  opacity: 0;
  transition: all 0.6s ease-out;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 70px;
  transform: translateX(-100px);
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 70px;
  transform: translateX(100px);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.especialidades.section-visible .timeline::after {
  transform: scaleY(1);
}

.especialidades.section-visible .timeline-item {
  opacity: 1;
  transform: translateX(0);
}

.especialidades.section-visible .timeline-item:nth-child(1) {
  transition-delay: 1s;
}

.especialidades.section-visible .timeline-item:nth-child(2) {
  transition-delay: 1.2s;
}

.especialidades.section-visible .timeline-item:nth-child(3) {
  transition-delay: 1.4s;
}

.especialidades.section-visible .timeline-item:nth-child(4) {
  transition-delay: 1.6s;
}

.especialidades.section-visible .timeline-item:nth-child(5) {
  transition-delay: 1.8s;
}

.timeline .skills-box {
  padding: 20px;
  border-radius: 20px;
  background-color: #111;
  border: 1px solid var(--card-border-color);
  transition: 0.5s;
}

.timeline .skills-box:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-color);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.card-header svg {
  width: 35px;
  height: 35px;
  fill: var(--primary-color);
}

.card-header h3 {
  margin: 0;
  font-size: 22px;
}

.timeline .skills-box p {
  text-align: left;
  color: var(--text-color-gray);
  font-size: 15px;
}

.skills-box.figma svg {
  fill: none;
}

.skills-box.frontend svg {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 1.5;
}

#card-about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 4% 150px 4%;
  min-height: auto;
}

.about-slider-container {
  width: 100%;
  max-width: 1100px;
  position: relative;
  display: flex;
  justify-content: center;
}

.about-slider {
  position: relative;
  width: 900px;
  height: 450px;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.about-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: rgba(26, 26, 26, 0.5);
  border-radius: 30px;
  border: 1px solid var(--card-border-color);
  overflow: hidden;
  --i: 0;
  --abs-i: 0;
  --z-offset: 0px;
  transform: translateZ(calc(var(--z-offset) + var(--abs-i) * -100px)) rotateY(calc(var(--i) * -15deg)) translateX(calc(var(--i) * 80px)) scale(calc(1 - var(--abs-i) * 0.1));
  z-index: calc(100 - var(--abs-i));
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.6s ease-out;
  pointer-events: auto;
}

.about-card.active-card {
  background-color: #1a1a1a;
  --z-offset: 50px;
}

.about-card.hidden-card {
  opacity: 0;
  pointer-events: none;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  height: 100%;
}

.card-image {
  flex-basis: 250px;
  flex-shrink: 0;
  width: 250px;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-text h2 {
  font-size: 28px;
  line-height: 1.2;
  text-align: left;
  margin-bottom: 20px;
}
.card-text h2 span {
  color: var(--primary-color);
  display: block;
}
.card-text p {
  text-align: left;
  color: var(--text-color-gray);
  font-size: 16px;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
}

.nav-dots {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}
.nav-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--card-border-color);
  cursor: pointer;
  transition: 0.3s;
}
.nav-dots .dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.about-card .card-content {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.about-card.active-card .card-content {
  opacity: 1;
  transition-delay: 0.3s;
}

section.forms {
  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%;
  background-color: var(--form-bg-color);
  border: 2px solid transparent;
  outline: 0;
  padding: 20px 15px;
  border-radius: 15px;
  color: var(--text-color);
  font-size: 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

form textarea {
  resize: none;
  height: 150px;
}

form .btn-enviar {
  margin-top: 20px;
  text-align: center;
}

form .btn-enviar button {
  width: 120px;
  padding: 15px 0;
  background-color: var(--primary-color);
  color: var(--text-color);
  font-weight: 700;
  font-size: 18px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease-out;
}
form .btn-enviar button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1);
  z-index: -1;
}
form .btn-enviar button:hover {
  color: var(--primary-color);
  transition-delay: 0.1s;
}
form .btn-enviar button:hover::before {
  transform: scaleX(1);
}

/* COMPONENTE: IMAGEM ANIMADA GLOBAL */
section.img-global-animado {
  padding: 10px 4%;
  margin-top: -40px;
}

section.img-global-animado .flex {
  justify-content: center;
  align-items: center;
}

.animacao-global img {
  max-width: 200px;
  width: 100%;
  position: relative;
  animation: elevar 2s ease-in-out infinite alternate;
}

@media screen and (max-width: 1020px) {
  /* GERAL */
  h2.titulo {
    font-size: 34px;
    line-height: 1.2;
  }
  /* HEADER */
  .menu-desktop,
  .header-right .btn-contato {
    display: none;
  }
  /* HERO (TOPO DO SITE) */
  section.topo-do-site .flex {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .topo-do-site .txt-topo-site h1 {
    font-size: 30px;
    text-align: center;
  }
  .topo-do-site .txt-topo-site p {
    font-size: 16px;
    text-align: center;
  }
  .topo-do-site .img-topo-site img {
    width: 100%;
    max-width: 350px;
  }
  .topo-do-site .btn-contato {
    text-align: center;
  }
  /* SOBRE (CARD SLIDER) */
  #card-about .flex {
    flex-direction: column;
  }
  .about-slider {
    width: 90vw;
    aspect-ratio: 3/4.2;
    height: auto;
  }
  #card-about .card-content {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  #card-about .card-image {
    width: 100%;
    height: 45%;
    flex-basis: auto;
    border-radius: 15px;
    transform: translateY(-20px);
  }
  #card-about .card-text {
    height: 55%;
  }
  #card-about .card-text h2 {
    font-size: 22px;
    text-align: center;
  }
  #card-about .card-text p {
    font-size: 14px;
    text-align: center;
  }
  #card-about .card-footer {
    justify-content: center;
  }
  #card-about .card-footer .btn-social {
    position: static;
  }
  /* SKILLS (TIMELINE) */
  section.especialidades {
    padding: 40px 8%;
  }
  .timeline .skills-box {
    min-height: 180px;
  }
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 10px;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item .timeline-dot {
    left: 11px;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    transform: translateY(50px);
  }
  .especialidades.section-visible .timeline-item {
    transform: translateY(0);
  }
  /* PORTFOLIO */
  section.portfolio .flex {
    flex-direction: column;
    gap: 60px;
  }
  /* FOOTER */
  footer .flex {
    flex-direction: column;
    gap: 30px;
  }
  footer .line-footer {
    text-align: center;
  }
}/*# sourceMappingURL=style.css.map */