@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

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

:root {
  --color-white: #ffffff;
  --color-pink: #d12f7a;
  --color-blue: #0000ff;;
  --color-black: rgb(12, 12, 12);
  --color-purple: rgb(95, 1, 172);
  --color-gold: #F1B12A;
  --color-red: #ff0000;
}

html {
  scroll-behavior: smooth;
  font-size: 10px;
  background: rgba(12, 12, 12, 0.99);
}

body {
  font-family: 'Poppins', sans-serif;
}

/* ============ HEADER =============== */
#header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  background-image: url('../images/bg-color.png');
  background-size: cover;
  transition: none;
  z-index: 9999;
}

/* ============================= */
/* CONTAINER NAVBAR */
/* ============================= */
.container-navbar {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title {
  margin: auto 0 auto 0;
}

.header-title img {
  text-decoration: none;
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-title h1 {
  color: var(--color-white);
  font-size: 2rem;
  transition: opacity .3s ease;
}

.header-title h1:hover {
  opacity: .8;
}

.navbar {
  max-width: 450px;
  width: 100%;
}

.navbar-links {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.navbar-links li {
  list-style: none;
  transition: all .2s ease-in-out;
}

.navbar-links li a {
  text-decoration: none;
  color: var(--color-white);
  font-size: 2.2rem;
  font-weight: 700;
  -webkit-text-stroke: .3px var(--color-black);
}

.navbar-links li a.active-link {
  color: var(--color-black) !important;
  -webkit-text-stroke: .3px var(--color-black);
}

.navbar-links li a:hover {
  transition: color .3s ease;
  color: var(--color-black);
}


.menu-hamburguer {
  display: none;
}
/* Final do header */

/* ============================= */
/* CONTAINER MAIN */
/* ============================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 70px;
}


/* ============================= */
        /* PERSON SECTION */
/* ============================= */
#person {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--color-black);
}

.container #person {
  display: flex;
}

.person-content {
  height: 100%;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: var(--color-black);
}

.person-wrapper {
  padding-left: 3%;
  width: 100%;
  max-width: 500px;
}

.person-content div h1 {
  padding: 0;
  color: transparent;
  position: relative;
  width: fit-content;
  font-size: calc(2vw + 1.5rem);
  line-height: calc(3vw + 1.8rem);
  animation: written_text .5s ease forwards;
}

.person-content div h1:nth-child(1) {
  font-size: 3.2em;
  animation-delay: 1s;
}

.person-content div h1:nth-child(2) {
  font-size: 3.2em;
  animation-delay: 2s;
}

.person-content div h1:nth-child(3) {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: written_text_name .5s ease forwards;
  animation-delay: 3s;
  font-family: 'Stalinist One', cursive;
  font-size: 2.9em;
  color: var(--color-gold);
  will-change: transform, opacity;
}

.person-content div h1:nth-child(4) {
  animation-delay: 4s;
  font-size: 2.8em;
  margin-bottom: 10px;
}

.person-content div h1 span {
  display: none;
}

.person-content div h1:nth-child(1) span {
  animation-delay: .5s;
}

.person-content div h1:nth-child(2) span {
  animation-delay: 1.5s;
}

.person-content div h1:nth-child(3) span {
  animation-delay: 2.5s;
}

.person-content div h1:nth-child(4) span {
  animation-delay: 3.5s;
}

.person-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0 20px 0;
  width: 100%;
  max-width: 500px;
  margin-bottom: 0;
}

.stacks-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 20px 0;
}

.stacks-content h3 {
  color: var(--color-white);
  font-size: calc(.85vw + .5rem);
  margin-left: 30px;
}

.stacks {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  gap: 20px;
}

.stacks li {
  display: flex;
  align-items: center;
  position: relative;
  list-style: none;
  margin-right: 5px;
}

.stacks li img {
  width: calc(2.5vw + 0.5rem);
  height: auto;
  transition: transform .3s ease;
}

.stacks li div img:hover {
  transform: scale(1.2);
  cursor: pointer;
}

.stacks li div:hover::after {
  content: attr(data);
  position: absolute;
  top: calc(5vw + 1rem);
  left: calc(1vw + 0.5rem);
  width: 20px;
  height: 20px;
  color: var(--color-white);
  font-size: 1.25vh;
}

.person-background {
  height: 100vh;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-direction: column;
  background-image: url(../images/backgound-person.png);
  background-size: cover;
  background-position: top center;
  z-index: 1;
  margin-right: 50px;
}

.person-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: .7;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 30%, var(--color-black)),
    linear-gradient(180deg, transparent 30%, var(--color-black)),
    linear-gradient(0deg, transparent 65%, var(--color-black));
}

.wrapper-profile-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(1vw + 0.2rem);
  margin: 20px 15px;
  border-radius: 50%;
  background:
    radial-gradient(rgba(0, 0, 0, 0.15) 60%, transparent 0),
    radial-gradient(#000 68%, transparent 0),
    linear-gradient(to top right, #ffa500 0%, #ff1493 100%);
}

.profile-photo {
  max-width: 320px;
  width: 100%;
  border-radius: 50%;
}

.links a {
  text-decoration: none;
}

.links a img {
  width: calc(2vw + 0.8rem);
  height: calc(2vw + 0.8rem);
  margin: calc(0.8vw + 0.8rem);
  filter: brightness(.8);
  transition: all .3s ease;
}

.links a img:hover {
  transform: scale(1.15);
  filter: brightness(1);
}
/* Final da seção de person */
/* Início da seção de about */
#about {
  width: 100%;
  height: auto;
  background: var(--color-black);
  display: flex;
  color: var(--color-white);
}

.background-about {
  width: 50%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}

.img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background:
    linear-gradient(.25turn, transparent 30%, var(--color-black)),
    linear-gradient(.5turn, transparent 30%, var(--color-black)),
    linear-gradient(1turn, transparent 65%, var(--color-black));
}

.img-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.box-about {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 50%;
  padding: 48px;
  margin: 96px 20px;
}

.section-subtitle h2 p {
  font-family: 'Stalinist One', cursive;
  display: inline-block;
  font-size: calc(.8vw + .8rem);
  margin-left: 28px;
}

.section-subtitle h2 p:nth-child(2) span {
  padding: 3px 5px;
  border-radius: 4px;
  color: var(--color-black);
  background: var(--color-white);
}

.box-about h3 {
  margin: 3rem;
  font-size: calc(.8vw + .8rem);
}

.box-about h3 p {
  display: inline-block;
  width: fit-content;
  padding: 2px 4px;
  border-radius: 4px;
  color: var(--color-black);
  background: var(--color-gold);
  font-size: .95em;
}

.box-about h4 {
  margin: 1rem 3rem;
  font-size: calc(.8vw + .5rem);
}

.box-about h4 p {
  display: inline;
  padding: 2px 4px;
  color: var(--color-red);
  font-size: 1.2em;
}

.button-cta {
  display: flex;
  max-width: 190px;
  margin: 4rem 3rem;
}

.button-cta a {
  display: inline-block;
  padding: calc(0.2vw + 0.8rem) calc(2vw + 0.8rem);
  margin-bottom: 3rem;
  font-size: calc(.7vw + .55rem);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: .15rem;
  color: var(--color-white);
  background: var(--color-gold);
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  filter: brightness(.8);
}

.button-cta a:hover {
  transition: all .3s ease;
  filter: brightness(1);
}
/* Final da about */
/* Início da seção de projetos */
#projects {
  height: auto;
  width: 100%;
  background-image: url('../images/projects-background.png');
  background-size: cover;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px;
}

.projects-container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

.projects-title {
  font-family: 'Stalinist One', cursive;
  width: 100%;
  margin-top: 60px;
}

.projects-title h2 {
  font-size: 2.2rem;
  color: var(--color-white);
  text-align: left;
}

.swiper-wrapper-container {
  max-width: 900px;
}

.swiper {
  width: 100%;
  max-width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding: 0;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-red);
}

.swiper-pagination-bullet-active {
  background: var(--color-gold);
}

.card-project {
  height: 100%;
  width: 100%;
  padding: 30px 20px 20px;
  position: relative;
  background: var(--color-black);
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 20px;
  z-index: 1;
}

.card-project::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 40%;
  width: 100%;
  background: var(--color-gold);
  border-radius: 20px 20px 0px 0px;
  z-index: -1;
}

.image-project {
  max-height: 500px;
  max-width: 600px;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 4px solid var(--color-gold);
  margin: 0 auto;
}

.image-project a img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid var(--color-white);
  transition: transform .3s ease-out;
  cursor: pointer;
}

.image-project img:hover {
  transform: scale(1.1);
}

.card-project span {
  color: var(--color-red);
  font-weight: bold;
  font-size: 1.7rem;
  margin: .75rem auto .5rem auto;
}

.card-project p {
  color: var(--color-white);
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0rem .75rem;
}

.cta-project {
  width: 200px;
  margin: auto auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-project a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 16px;
  font-size: 1.25rem;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 10px;
  text-decoration: none;
  transition: opacity .3s ease;
  opacity: .7;
  white-space: nowrap;
}

.cta-project a i,
.cta-project a svg,
.cta-project a img {
  display: inline-block;
  vertical-align: middle;
}

.cta-project a:hover {
  opacity: 1;
}
/* Final da seção de projetos */
/* Início da seção de contatos */
#contacts {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 300px;
  background: var(--color-white);
  color: var(--color-black);
  padding-top: 30px;
}

.section-container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-content {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 30px 0;
}

.contact-icons-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.contact-icon-content {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.contact-content h2 {
  font-size: 2.4rem;
  color: var(--color-black);
  text-align: left;
}

.contact-content h2 {
  font-family: 'Stalinist One', cursive;
}


.contact-icon-content a {
  text-decoration: none;
}

.contact-icon {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 2rem;
  padding: 1rem;
  border-radius: 50%;
}

.contact-icon img:hover {
  transition: all .3s ease;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.contact-info span {
  font-size: 1.2rem;
  font-weight: bold;
}

.contact-info p {
  margin: .25rem 0rem;
}

.contact-info a {
  display: block;
  margin: .25rem 0rem;

  text-decoration: none;
  color: var(--color-black);
}

.linkedin a:hover {
  transition: color .3s ease;
  color: #0a66c2;
}

.whatsapp a:hover {
  transition: color .3s ease;
  color: #25d366;
}

/* Final da seção de contatos */
/* Início do footer */
#footer {
  height: auto;
  width: 100%;
  padding: calc(3vw + 1rem) 0vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  background: var(--color-black);
}

.container-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: var(--color-white);
}
/* Final do footer */

@keyframes written_text {
  100% {
    color: var(--color-white);
  }
}

@keyframes written_text_name {
  100% {
    color: var(--color-gold);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes written_text_box {
  50% {
    width: 100%;
    left: 0;
  }

  100% {
    width: 0;
    left: 100%;
  }
}
/* FINAL DO CSS PARA DESKTOP */

/* ============================= */
/*      (1025px - 1400px) */
/* ============================= */
/* ===== HEADER ===== */
.container-navbar {
  width: 100%;
  max-width: 900px;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ===== FINAL DO HEADER ===== */
/* ===== PERSON ===== */
.person-wrapper {
  padding-left: 8%;
  width: 100%;
  max-width: 400px;
}
/* ===== FINAL DO PERSON ===== */
/* ===== PROJECTS ===== */
.projects-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
/* ===== FINAL DO PROJECTS ===== */
/* ===== CONTACTS ===== */
.section-container {
  max-width: 900px;
}
/* ===== FINAL DO CONTACTS ===== */
/* ===== Final do CSS para telas na range 1025px - 1400px ===== */

/* ============================= */
/* LAPTOP (769px - 1024px) */
/* ============================= */
@media (min-width: 769px) and (max-width: 1024px) {
/* ===== HEADER ===== */
  #header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: 60px;
    position: fixed !important;
    top: 0;
    left: 0;
    background-image: url('../images/bg-color.png');
    background-size: cover;
    z-index: 9999;
    padding: 10px 0;
    overflow: hidden;
  }

  .container-navbar {
    position: relative;
  }

  .header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 100%;
  }

  .header-title img {
    height: 40px;
    width: auto;
    object-fit: contain;
  }

  /* ===== NAVBAR ===== */
  .navbar {
    position: static;
  }

  /* ===== MENU ===== */
  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    backdrop-filter: blur(12px);
    background: rgba(241, 177, 42, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding-top: 140px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ATIVO */
  .navbar.active .navbar-links {
    transform: translateX(0);
  }

  /* LOGO */
  .navbar-links::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 65px;
    background: url('../images/icon_logo_savio_moraes.png') no-repeat center;
    background-size: contain;
  }

  /* LINHA */
  .navbar-links::after {
    content: "";
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255,0.5);
  }

  /* ===== LINKS ===== */
  .navbar-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    list-style: none;
  }

  .navbar.active .navbar-links li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar.active .navbar-links li:nth-child(1) { transition-delay: 0.1s; }
  .navbar.active .navbar-links li:nth-child(2) { transition-delay: 0.2s; }
  .navbar.active .navbar-links li:nth-child(3) { transition-delay: 0.3s; }
  .navbar.active .navbar-links li:nth-child(4) { transition-delay: 0.4s; }

  .navbar-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    padding-left: 10%;
    font-size: 1.8rem;
    color: var(--color-white);
    text-decoration: none;
    width: 100%;
    justify-content: flex-start;
  }

  /* ÍCONES */
  .navbar-links li a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
  }

  .navbar-links li:nth-child(1) a::before {
    background-image: url('../images/home.png');
  }

  .navbar-links li:nth-child(2) a::before {
    background-image: url('../images/about.png');
  }

  .navbar-links li:nth-child(3) a::before {
    background-image: url('../images/projetos.png');
  }

  .navbar-links li:nth-child(4) a::before {
    background-image: url('../images/contato.png');
  }

  .navbar-links li a.active-link::before {
    filter: brightness(0);
  }

  /* ACTIVE */
  .navbar-links li a.active-link {
    color: var(--color-black) !important;
    font-weight: bold;
  }

  /* ===== HAMBURGUER===== */
  .menu-hamburguer {
    display: block;
    border: none;
    background: transparent;
    width: 22px;
    height: 14px;
    position: absolute;
    left: 7.5%;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    cursor: pointer;
    border-top: 2px solid var(--color-white);
  }

  .menu-hamburguer::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    margin-top: 5px;
  }

  .menu-hamburguer::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    margin-top: 5px;
  }

  /* Vira X */
  .navbar.active .menu-hamburguer {
    border-top-color: transparent;
    left: auto;
    right: 7.5%;
  }

  .navbar.active .menu-hamburguer::before,
  .navbar.active .menu-hamburguer::after {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: 0px;
    transition: all 1s ease;
  }

  .navbar.active .menu-hamburguer::before {
    transform: translateY(-50%) rotate(45deg);
    background: var(--color-white);
  }

  .navbar.active .menu-hamburguer::after {
    transform: translateY(-50%) rotate(-45deg);
    background: var(--color-white);
  }

  /* ===== OVERLAY ===== */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 80vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: none;
    border-radius: 0 0 10px 0;
  }

  .navbar.active .menu-overlay {
    display: block;
  }

  /* ===== MAIN ===== */
  .container {
    padding: 60px 0 0 0;
    margin: 0;
  }

  /* ===== PERSON ===== */
  #person {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0;
    padding: 50px;
  }

  .person-content {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
  }

  .person-wrapper {
    max-width: 100%;
    padding-left: 0;
  }

  .person-name {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0 10px 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
  }

  .person-content div h1 {
    padding: 0;
    color: transparent;
    position: relative;
    width: fit-content;
    font-size: 2.6rem;
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 0;
  }

  .person-content div h1:nth-child(1) {
    font-size: 2.4em !important;
  }

  .person-content div h1:nth-child(2) {
    font-size: 2.4em !important;
  }

  .person-content div h1:nth-child(3) {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: written_text_name .5s ease forwards;
    animation-delay: 3s;
    font-family: 'Stalinist One', cursive;
    font-size: 2.2em;
    color: var(--color-gold);
    will-change: transform, opacity;
  }

  .person-content div h1:nth-child(4) {
    animation-delay: 4s;
    font-size: 2.1rem;
    margin-top: 4px;
  }

  .person-background {
    width: 100%;
    min-height: 100vh;
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .wrapper-profile-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none;
    margin-top: -30px;
  }

  .profile-photo {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 50%;
  }

  .links a img {
    width: 30px;
    height: 30px;
    margin-top: 20px;
  }

  /* ===== STACKS ===== */
  .stacks-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    width: 100%;     
  }

  .stacks {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 12px;
    width: 100%;
  }

  .stacks li img {
    width: 28px;
  }

  /* ===== ABOUT ===== */
  #about {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .background-about {
    display: none;
  }

  .box-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 20px 65px 40px 65px;
    margin: 0;
    color: var(--color-white);
    position: relative;
    z-index: 1;
    background: linear-gradient(
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.9)
    ),
    url('../images/img.2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: left;
  }

  .section-subtitle h2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 40px;
  }

  .section-subtitle h2 p {
    display: inline-block;
    font-size: 2rem;
    text-align: center;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .section-subtitle h2 p:nth-child(2) span {
    padding: 3px 5px;
    border-radius: 4px;
    color: var(--color-black);
    background: var(--color-white);
  }

  .box-about h3 {
    margin: 28px 0 16px 0;
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: left;
    text-wrap: wrap;
  }

  .box-about h3 p {
    display: inline-block;
    padding: 8px 4px;
    border-radius: 4px;
    color: var(--color-gold);
    background: rgba(0, 0, 0, 0.55);
    text-align: justify;
    font-size: 1.5rem;
  }

  .box-about h4 {
    margin: 16px 0;
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: justify;
  }

  .box-about h4 p {
    display: inline;
    color: var(--color-red);
    font-size: 1.8rem;
  }

  .button-cta {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 30px 0 10px 0;
  }

  .button-cta a {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-family: 'Stalinist One', cursive;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: var(--color-white);
    background: var(--color-red);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .button-cta a:hover {
    filter: brightness(0.85);
  }

  /* ===== PROJECTS ===== */
  #projects {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 10px;
    background-image: url('../images/projects-background.png');
    background-size: cover;
  }

  .projects-container {
    padding: 0 60px;
  }

  .projects-title {
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
  }

  .projects-title h2 {
    font-size: 2.2rem;
    text-align: left;
    margin: 0;
    padding-top: 10px;
  }

  .swiper-wrapper-container {
    max-width: 100%;
  }

  .swiper {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 2rem;
    padding: 20px 0 0 0;
  }

  .swiper-wrapper {
    display: flex;
    align-items: stretch;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
  }

  .swiper-pagination-bullet-active {
    background: var(--color-gold);
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: var(--color-red);
  }

  .card-project {
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 20px 50px 20px;
    background: var(--color-black);
    border-radius: 20px;
    position: relative;
    z-index: 1;
  }

  .card-project p {
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .image-project {
    max-width: 450px;
    max-height: 350px;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .image-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ===== CONTACT ===== */
  .section-container {
    padding: 0 60px 30px 60px;
  }

  .contact-icons-wrapper {
    display: flex;
    flex-direction: row;
    margin: 20px 0 0 0;
  }

  .contact-icon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
  }

  .contact-icon-content a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .contact-content h2 {
    font-size: 2.4rem;
  }

  .contact-icon {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .contact-info span {
    display: block;
    text-align: center;
    width: 100%;
  }

  /* ===== FOOTER ===== */
  .container-footer h2 {
    font-size: 1.6rem;
  }

  .container-footer h3 {
    font-size: 1.2rem;
  }
}

/* ============================= */
/* TABLET (481px - 768px) */
/* ============================= */
@media (min-width: 481px) and (max-width: 768px) {
/* ===== HEADER ===== */
  #header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: 60px;
    position: fixed !important;
    top: 0;
    left: 0;
    background-image: url('../images/bg-color.png');
    background-size: cover;
    z-index: 9999;
    padding: 10px 0;
    overflow: hidden;
  }

  .container-navbar {
    position: relative;
  }

  .header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 100%;
  }

  .header-title img {
    height: 40px;
    width: auto;
    object-fit: contain;
  }

  /* ===== NAVBAR ===== */
  .navbar {
    position: static;
  }

  /* ===== MENU ===== */
  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    backdrop-filter: blur(12px);
    background: rgba(241, 177, 42, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding-top: 140px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ATIVO */
  .navbar.active .navbar-links {
    transform: translateX(0);
  }

  /* LOGO */
  .navbar-links::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 65px;
    background: url('../images/icon_logo_savio_moraes.png') no-repeat center;
    background-size: contain;
  }

  /* LINHA */
  .navbar-links::after {
    content: "";
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255,0.5);
  }

  /* ===== LINKS ===== */
  .navbar-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    list-style: none;
  }

  .navbar.active .navbar-links li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar.active .navbar-links li:nth-child(1) { transition-delay: 0.1s; }
  .navbar.active .navbar-links li:nth-child(2) { transition-delay: 0.2s; }
  .navbar.active .navbar-links li:nth-child(3) { transition-delay: 0.3s; }
  .navbar.active .navbar-links li:nth-child(4) { transition-delay: 0.4s; }

  .navbar-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    padding-left: 10%;
    font-size: 1.8rem;
    color: var(--color-white);
    text-decoration: none;
    width: 100%;
    justify-content: flex-start;
  }

  /* ÍCONES */
  .navbar-links li a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
  }

  .navbar-links li:nth-child(1) a::before {
    background-image: url('../images/home.png');
  }

  .navbar-links li:nth-child(2) a::before {
    background-image: url('../images/about.png');
  }

  .navbar-links li:nth-child(3) a::before {
    background-image: url('../images/projetos.png');
  }

  .navbar-links li:nth-child(4) a::before {
    background-image: url('../images/contato.png');
  }

  .navbar-links li a.active-link::before {
    filter: brightness(0);
  }

  /* ACTIVE */
  .navbar-links li a.active-link {
    color: var(--color-black) !important;
    font-weight: bold;
  }

  /* ===== HAMBURGUER===== */
  .menu-hamburguer {
    display: block;
    border: none;
    background: transparent;
    width: 22px;
    height: 14px;
    position: absolute;
    left: 7.5%;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    cursor: pointer;
    border-top: 2px solid var(--color-white);
  }

  .menu-hamburguer::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    margin-top: 5px;
  }

  .menu-hamburguer::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    margin-top: 5px;
  }

  /* Vira X */
  .navbar.active .menu-hamburguer {
    border-top-color: transparent;
    left: auto;
    right: 7.5%;
  }

  .navbar.active .menu-hamburguer::before,
  .navbar.active .menu-hamburguer::after {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: 0px;
    transition: all 1s ease;
  }

  .navbar.active .menu-hamburguer::before {
    transform: translateY(-50%) rotate(45deg);
    background: var(--color-white);
  }

  .navbar.active .menu-hamburguer::after {
    transform: translateY(-50%) rotate(-45deg);
    background: var(--color-white);
  }

  /* ===== OVERLAY ===== */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 80vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: none;
    border-radius: 0 0 10px 0;
  }

  .navbar.active .menu-overlay {
    display: block;
  }

  /* ===== MAIN ===== */
  .container {
    padding: 60px 0 0 0;
    margin: 0;
  }

  /* ===== PERSON ===== */
  #person {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0;
    padding: 50px;
  }

  .person-content {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
  }

  .person-wrapper {
    padding-left: 0;
    max-width: 100%;
  }

  .person-name {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0 10px 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
  }

  .person-content div h1 {
    padding: 0;
    color: transparent;
    position: relative;
    width: fit-content;
    font-size: 2.6rem;
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 0;
  }

  .person-content div h1:nth-child(1) {
    font-size: 2.2em !important;
  }

  .person-content div h1:nth-child(2) {
    font-size: 2.2em !important;
  }

  .person-content div h1:nth-child(3) {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: written_text_name .5s ease forwards;
    animation-delay: 3s;
    font-family: 'Stalinist One', cursive;
    font-size: 2.3em;
    color: var(--color-gold);
    will-change: transform, opacity;
  }

  .person-content div h1:nth-child(4) {
    animation-delay: 4s;
    font-size: 2.1rem;
    margin-top: 4px;
  }

  .person-background {
    max-width: 768px;
    width: 100%;
    min-height: 90vh;
    height: auto;
    margin: 0;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .wrapper-profile-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none;
    margin-top: 20px;
  }

  .profile-photo {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 50%;
  }

  .links a img {
    width: 30px;
    height: 30px;
    margin-top: 130px;
  }

  /* ===== STACKS ===== */
  .stacks-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    width: 100%;     
  }

  .stacks {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 12px;
    width: 100%;
  }

  .stacks li img {
    width: 28px;
  }

  /* ===== ABOUT ===== */
  #about {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .background-about {
    display: none;
  }

  .box-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 20px 25px 40px 25px;
    margin: 0;
    color: var(--color-white);
    position: relative;
    z-index: 1;
    background: linear-gradient(
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.9)
    ),
    url('../images/img.2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: left;
  }

  .section-subtitle h2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 40px;
  }

  .section-subtitle h2 p {
    display: inline-block;
    font-size: 2rem;
    text-align: center;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .section-subtitle h2 p:nth-child(2) span {
    padding: 3px 5px;
    border-radius: 4px;
    color: var(--color-black);
    background: var(--color-white);
  }

  .box-about h3 {
    margin: 28px 0 16px 0;
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: left;
    text-wrap: wrap;
  }

  .box-about h3 p {
    display: inline-block;
    padding: 8px 4px;
    border-radius: 4px;
    color: var(--color-gold);
    background: rgba(0, 0, 0, 0.55);
    text-align: justify;
    font-size: 1.5rem;
  }

  .box-about h4 {
    margin: 16px 0;
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: justify;
  }

  .box-about h4 p {
    display: inline;
    color: var(--color-red);
    font-size: 1.8rem;
  }

  .button-cta {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 30px 0 10px 0;
  }

  .button-cta a {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-family: 'Stalinist One', cursive;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: var(--color-white);
    background: var(--color-red);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .button-cta a:hover {
    filter: brightness(0.85);
  }

  /* ===== PROJECTS ===== */
  #projects {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 0;
    background-image: url('../images/projects-background.png');
    background-size: cover;
  }

  .projects-container {
    padding: 0 25px;
  }

  .projects-title {
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
  }

  .projects-title h2 {
    font-size: 2rem;
    text-align: left;
    margin: 0;
    padding-top: 10px;
  }

  .swiper-wrapper-container {
    max-width: 100%;
  }

  .swiper {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 2rem;
    padding: 20px 0 0 0;
  }

  .swiper-wrapper {
    display: flex;
    align-items: stretch;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
  }

  .swiper-pagination-bullet-active {
    background: var(--color-gold);
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: var(--color-red);
  }

  .card-project {
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 20px 50px 20px;
    background: var(--color-black);
    border-radius: 20px;
    position: relative;
    z-index: 1;
  }

  .card-project p {
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .image-project {
    width: 75%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto 0 auto;
    padding-top: 10px;
  }

  .image-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ===== CONTACT ===== */
  .section-container {
    padding: 0 25px 30px 25px;
  }

  .contact-icons-wrapper {
    display: flex;
    flex-direction: row;
    margin: 20px 0 0 0;
  }

  .contact-icon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
  }

  .contact-icon-content a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .contact-content h2 {
    font-size: 2.2rem;
  }

  .contact-icon {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .contact-info span {
    display: block;
    text-align: center;
    width: 100%;
  }

  /* ===== FOOTER ===== */
  .container-footer h2 {
    font-size: 1.6rem;
  }

  .container-footer h3 {
    font-size: 1.2rem;
  }
}

/* ============================= */
/* MOBILE PADRÃO (375px - 480px) */
/* ============================= */

@media (min-width: 375px) and (max-width: 480px) {
  /* ===== HEADER ===== */
  #header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: 60px;
    position: fixed !important;
    top: 0;
    left: 0;
    background-image: url('../images/bg-color.png');
    background-size: cover;
    z-index: 9999;
    padding: 10px 0;
    overflow: hidden;
  }

  .container-navbar {
    position: relative;
  }

  .header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 100%;
  }

  .header-title img {
    height: 40px;
    width: auto;
    object-fit: contain;
  }

  /* ===== NAVBAR ===== */
  .navbar {
    position: static;
  }

  /* ===== MENU ===== */
  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    backdrop-filter: blur(12px);
    background: rgba(241, 177, 42, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding-top: 140px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ATIVO */
  .navbar.active .navbar-links {
    transform: translateX(0);
  }

  /* LOGO */
  .navbar-links::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 65px;
    background: url('../images/icon_logo_savio_moraes.png') no-repeat center;
    background-size: contain;
  }

  /* LINHA */
  .navbar-links::after {
    content: "";
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255,0.5);
  }

  /* ===== LINKS ===== */
  .navbar-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    list-style: none;
  }

  .navbar.active .navbar-links li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar.active .navbar-links li:nth-child(1) { transition-delay: 0.1s; }
  .navbar.active .navbar-links li:nth-child(2) { transition-delay: 0.2s; }
  .navbar.active .navbar-links li:nth-child(3) { transition-delay: 0.3s; }
  .navbar.active .navbar-links li:nth-child(4) { transition-delay: 0.4s; }

  .navbar-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    padding-left: 10%;
    font-size: 1.8rem;
    color: var(--color-white);
    text-decoration: none;
    width: 100%;
    justify-content: flex-start;
  }

  /* ÍCONES */
  .navbar-links li a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
  }

  .navbar-links li:nth-child(1) a::before {
    background-image: url('../images/home.png');
  }

  .navbar-links li:nth-child(2) a::before {
    background-image: url('../images/about.png');
  }

  .navbar-links li:nth-child(3) a::before {
    background-image: url('../images/projetos.png');
  }

  .navbar-links li:nth-child(4) a::before {
    background-image: url('../images/contato.png');
  }

  .navbar-links li a.active-link::before {
    filter: brightness(0);
  }

  /* ACTIVE */
  .navbar-links li a.active-link {
    color: var(--color-black) !important;
    font-weight: bold;
  }

  /* ===== HAMBURGUER===== */
  .menu-hamburguer {
    display: block;
    border: none;
    background: transparent;
    width: 22px;
    height: 14px;
    position: absolute;
    left: 5% !important;
    right: auto !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    cursor: pointer;
    border-top: 2px solid var(--color-white);
  }

  .menu-hamburguer::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    margin-top: 5px;
  }

  .menu-hamburguer::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    margin-top: 5px;
  }

  /* Vira X */
  .navbar.active .menu-hamburguer {
    border-top-color: transparent;
    right: 5% !important;
    left: auto !important;
  }

  .navbar.active .menu-hamburguer::before,
  .navbar.active .menu-hamburguer::after {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: 0px;
    transition: all 1s ease;
  }

  .navbar.active .menu-hamburguer::before {
    transform: translateY(-50%) rotate(45deg);
    background: var(--color-white);
  }

  .navbar.active .menu-hamburguer::after {
    transform: translateY(-50%) rotate(-45deg);
    background: var(--color-white);
  }

  /* ===== OVERLAY ===== */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 80vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: none;
    border-radius: 0 0 10px 0;
  }

  .navbar.active .menu-overlay {
    display: block;
  }

  /* ===== MAIN ===== */
  .container {
    padding: 60px 0 0 0;
    margin: 0;
  }

  /* ===== PERSON ===== */
  #person {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0;
    padding: 0 !important;
  }

  .person-content {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
  }

  .person-wrapper {
    max-width: 100%;
    padding: 0 !important;
  }

  .person-name {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .person-content div h1 {
    padding: 0;
    color: transparent;
    position: relative;
    width: fit-content;
    font-size: 2.6rem;
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 0;
  }

  .person-content div h1:nth-child(1) {
    font-size: 1.9em !important;
  }

  .person-content div h1:nth-child(2) {
    font-size: 1.9em !important;
  }

  .person-content div h1:nth-child(3) {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: written_text_name .5s ease forwards;
    animation-delay: 3s;
    font-family: 'Stalinist One', cursive;
    font-size: 2em;
    color: var(--color-gold);
    will-change: transform, opacity;
  }

  .person-content div h1:nth-child(4) {
    animation-delay: 4s;
    font-size: 1.8rem;
    margin-top: 4px;
  }

  .person-background {
    width: 100%;
    min-height: unset;
    height: auto;
    margin: 0;
    padding: 40px 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .wrapper-profile-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none;
    margin-top: 10px;
  }

  .profile-photo {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 50%;
  }

  .links a img {
    width: 30px;
    height: 30px;
    margin-top:50px;
  }

  /* ===== STACKS ===== */
  .stacks-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    width: 100%;     
  }

  .stacks {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    gap: 12px;
    width: 100%;
  }

  .stacks li img {
    width: 28px;
  }

  /* ===== ABOUT ===== */
  #about {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .background-about {
    display: none;
  }

  .box-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 20px 24px 40px 24px;
    margin: 0;
    color: var(--color-white);
    position: relative;
    z-index: 1;
    background: linear-gradient(
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.9)
    ),
    url('../images/img.2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: left;
  }

  .section-subtitle h2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 40px;
  }

  .section-subtitle h2 p {
    display: inline-block;
    font-size: 2rem;
    text-align: center;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .section-subtitle h2 p:nth-child(2) span {
    padding: 3px 5px;
    border-radius: 4px;
    color: var(--color-black);
    background: var(--color-white);
  }

  .box-about h3 {
    margin: 28px 0 16px 0;
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: left;
    text-wrap: wrap;
  }

  .box-about h3 p {
    display: inline-block;
    padding: 8px 4px;
    border-radius: 4px;
    color: var(--color-gold);
    background: rgba(0, 0, 0, 0.55);
    text-align: justify;
    font-size: 1.5rem;
  }

  .box-about h4 {
    margin: 16px 0;
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: justify;
  }

  .box-about h4 p {
    display: inline;
    color: var(--color-red);
    font-size: 1.8rem;
  }

  .button-cta {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 30px 0 10px 0;
  }

  .button-cta a {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-family: 'Stalinist One', cursive;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: var(--color-white);
    background: var(--color-red);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .button-cta a:hover {
    filter: brightness(0.85);
  }

  /* ===== PROJECTS ===== */
  #projects {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 0;
    background-image: url('../images/projects-background.png');
    background-size: cover;
  }

  .projects-title {
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
  }

  .projects-title h2 {
    font-size: 1.7rem;
    text-align: left;
    margin: 0;
    padding-top: 10px;
  }

  .swiper-wrapper-container {
    max-width: 100%;
  }

  .swiper {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 2rem;
    padding: 20px 0 0 0;
  }

  .swiper-wrapper {
    display: flex;
    align-items: stretch;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
  }

  .swiper-pagination-bullet-active {
    background: var(--color-gold);
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: var(--color-red);
  }

  .card-project {
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 20px 50px 20px;
    background: var(--color-black);
    border-radius: 20px;
    position: relative;
    z-index: 1;
  }

  .card-project p {
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .image-project {
    width: 85%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 20px;
  }

  .image-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ===== CONTACT ===== */
  .section-container {
    padding-bottom: 30px;
  }

  .contact-icons-wrapper {
    display: flex;
    flex-direction: row;
    margin: 20px 0 0 0;
  }

  .contact-icon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
  }

  .contact-icon-content a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .contact-content h2 {
    font-size: 1.9rem;
  }

  .contact-icon {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .contact-info span {
    display: block;
    text-align: center;
    width: 100%;
  }

  /* ===== FOOTER ===== */
  .container-footer h2 {
    font-size: 1.6rem;
  }

  .container-footer h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 374px) {
  /* ===== HEADER ===== */
  #header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: 60px;
    position: fixed !important;
    top: 0;
    left: 0;
    background-image: url('../images/bg-color.png');
    background-size: cover;
    z-index: 9999;
    padding: 10px 0;
    overflow: hidden;
  }

  .container-navbar {
    position: relative;
  }

  .header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 100%;
  }

  .header-title img {
    height: 28.5px;
    width: auto;
    object-fit: contain;
  }

  /* ===== NAVBAR ===== */
  .navbar {
    position: static;
  }

  /* ===== MENU ===== */
  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 90vh;
    backdrop-filter: blur(12px);
    background: rgba(241, 177, 42, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding-top: 110px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ATIVO */
  .navbar.active .navbar-links {
    transform: translateX(0);
  }

  /* LOGO */
  .navbar-links::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    background: url('../images/icon_logo_savio_moraes.png') no-repeat center;
    background-size: contain;
  }

  /* LINHA */
  .navbar-links::after {
    content: "";
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    height: 2px;
    background: rgba(255, 255, 255,0.5);
  }

  /* ===== LINKS ===== */
  .navbar-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    list-style: none;
  }

  .navbar.active .navbar-links li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar.active .navbar-links li:nth-child(1) { transition-delay: 0.1s; }
  .navbar.active .navbar-links li:nth-child(2) { transition-delay: 0.2s; }
  .navbar.active .navbar-links li:nth-child(3) { transition-delay: 0.3s; }
  .navbar.active .navbar-links li:nth-child(4) { transition-delay: 0.4s; }

  .navbar-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    padding-left: 10%;
    font-size: 1.5rem;
    color: var(--color-white);
    text-decoration: none;
    width: 100%;
    justify-content: flex-start;
  }

  /* ÍCONES */
  .navbar-links li a::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
  }

  .navbar-links li:nth-child(1) a::before {
    background-image: url('../images/home.png');
  }

  .navbar-links li:nth-child(2) a::before {
    background-image: url('../images/about.png');
  }

  .navbar-links li:nth-child(3) a::before {
    background-image: url('../images/projetos.png');
  }

  .navbar-links li:nth-child(4) a::before {
    background-image: url('../images/contato.png');
  }

  .navbar-links li a.active-link::before {
    filter: brightness(0);
  }

  /* ACTIVE */
  .navbar-links li a.active-link {
    color: var(--color-black) !important;
    font-weight: bold;
  }

  /* ===== HAMBURGUER===== */
  .menu-hamburguer {
    display: block;
    border: none;
    background: transparent;
    width: 18px;
    height: 14px;
    position: absolute;
    left: 5% !important;
    right: auto !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    cursor: pointer;
    border-top: 2px solid var(--color-white);
  }

  .menu-hamburguer::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    margin-top: 5px;
  }

  .menu-hamburguer::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    margin-top: 5px;
  }

  /* Vira X */
  .navbar.active .menu-hamburguer {
    border-top-color: transparent;
    right: 5% !important;
    left: auto !important;
  }

  .navbar.active .menu-hamburguer::before,
  .navbar.active .menu-hamburguer::after {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: 0px;
    transition: all 1s ease;
  }

  .navbar.active .menu-hamburguer::before {
    transform: translateY(-50%) rotate(45deg);
    background: var(--color-white);
  }

  .navbar.active .menu-hamburguer::after {
    transform: translateY(-50%) rotate(-45deg);
    background: var(--color-white);
  }

  /* ===== OVERLAY ===== */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 80vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: none;
    border-radius: 0 0 10px 0;
  }

  .navbar.active .menu-overlay {
    display: block;
  }

  /* ===== MAIN ===== */
  .container {
    padding: 60px 0 0 0;
    margin: 0;
  }

  /* ===== PERSON ===== */
  #person {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0;
    padding: 0 !important;
  }

  .person-content {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
  }

  .person-wrapper {
    max-width: 100%;
    padding: 0 !important;
  }

  .person-name {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .person-content div h1 {
    padding: 0;
    color: transparent;
    position: relative;
    width: fit-content;
    font-size: 2.6rem;
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 0;
  }

  .person-content div h1:nth-child(1) {
    font-size: 1.9em !important;
  }

  .person-content div h1:nth-child(2) {
    font-size: 1.9em !important;
  }

  .person-content div h1:nth-child(3) {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: written_text_name .5s ease forwards;
    animation-delay: 3s;
    font-family: 'Stalinist One', cursive;
    font-size: 2em;
    color: var(--color-gold);
    will-change: transform, opacity;
  }

  .person-content div h1:nth-child(4) {
    animation-delay: 4s;
    font-size: 1.8rem;
    margin-top: 4px;
  }

  .person-background {
    width: 100%;
    min-height: unset;
    height: auto;
    margin: 0;
    padding: 40px 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .wrapper-profile-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none;
    margin-top: 10px;
  }

  .profile-photo {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 50%;
  }

  .links a img {
    width: 30px;
    height: 30px;
    margin-top:50px;
  }

  /* ===== STACKS ===== */
  .stacks-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    width: 100%;     
  }

  .stacks {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    gap: 12px;
    width: 100%;
  }

  .stacks li img {
    width: 28px;
  }

  /* ===== ABOUT ===== */
  #about {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .background-about {
    display: none;
  }

  .box-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 20px 24px 40px 24px;
    margin: 0;
    color: var(--color-white);
    position: relative;
    z-index: 1;
    background: linear-gradient(
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.9)
    ),
    url('../images/img.2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: left;
  }

  .section-subtitle h2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 40px;
  }

  .section-subtitle h2 p {
    display: inline-block;
    font-size: 2rem;
    text-align: center;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .section-subtitle h2 p:nth-child(2) span {
    padding: 3px 5px;
    border-radius: 4px;
    color: var(--color-black);
    background: var(--color-white);
  }

  .box-about h3 {
    margin: 28px 0 16px 0;
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: left;
    text-wrap: wrap;
  }

  .box-about h3 p {
    display: inline-block;
    padding: 8px 4px;
    border-radius: 4px;
    color: var(--color-gold);
    background: rgba(0, 0, 0, 0.55);
    text-align: justify;
    font-size: 1.5rem;
  }

  .box-about h4 {
    margin: 16px 0;
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: justify;
  }

  .box-about h4 p {
    display: inline;
    color: var(--color-red);
    font-size: 1.8rem;
  }

  .button-cta {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 30px 0 10px 0;
  }

  .button-cta a {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-family: 'Stalinist One', cursive;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: var(--color-white);
    background: var(--color-red);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .button-cta a:hover {
    filter: brightness(0.85);
  }

  /* ===== PROJECTS ===== */
  #projects {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 0;
    background-image: url('../images/projects-background.png');
    background-size: cover;
  }

  .projects-title {
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
  }

  .projects-title h2 {
    font-size: 1.7rem;
    text-align: left;
    margin: 0;
    padding-top: 10px;
  }

  .swiper-wrapper-container {
    max-width: 100%;
  }

  .swiper {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 2rem;
    padding: 20px 0 0 0;
  }

  .swiper-wrapper {
    display: flex;
    align-items: stretch;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
  }

  .swiper-pagination-bullet-active {
    background: var(--color-gold);
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: var(--color-red);
  }

  .card-project {
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 20px 50px 20px;
    background: var(--color-black);
    border-radius: 20px;
    position: relative;
    z-index: 1;
  }

  .card-project p {
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .image-project {
    width: 85%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 20px;
  }

  .image-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ===== CONTACT ===== */
  .section-container {
    padding-bottom: 30px;
  }

  .contact-icons-wrapper {
    display: flex;
    flex-direction: row;
    margin: 20px 0 0 0;
  }

  .contact-icon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
  }

  .contact-icon-content a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .contact-content h2 {
    font-size: 1.9rem;
  }

  .contact-icon {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .contact-info span {
    display: block;
    text-align: center;
    width: 100%;
  }

  /* ===== FOOTER ===== */
  .container-footer h2 {
    font-size: 1.6rem;
  }

  .container-footer h3 {
    font-size: 1.2rem;
  }
}

/* LANDSCAPE - MENU OVERLAY */
@media (orientation: landscape) and (max-height: 500px) {
  .navbar-links {
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 15px;
  }

  .navbar-links li {
    width: auto;
    opacity: 1; 
    transform: none;
  }

  .navbar-links li a {
    padding: 8px 12px;
    font-size: 1.4rem;
    justify-content: center;
  }
}