/*
Theme Name: Vinicius Soares Desenvolvedor
Text Domain: alcancecompany
Tags: custom-menu, custom-logo, featured-images, blog
*/

* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  font-family: 'DM Sans', sans-serif;
}

/* CORREÇÕES GLOBAIS PARA EVITAR SCROLL HORIZONTAL */
html,
body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

:root {
  --primary-color: #f5f5f5;
  --portfolio-color: #2c2c2c;
  --secondary-color: #f8f9fa;
  --accent-color: #007bff;
  --text-light: #6c757d;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bg: #f0ede6;
  --ink: #111110;
  --ink-soft: #555550;
  --accent: #111110;
  --border: rgba(17, 17, 16, 0.12);
  --grain-opacity: 0.045;

  /* NOVA NAVBAR VARIABLES */
  --nav-bg: #111111;
  --nav-text: #1a1a1a;
  --nav-bg-mobile: #111111;
}

body {
  background-color: var(--primary-color) !important;
}

/* ===== NOVA NAVBAR STYLES ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--primary-color);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.logo img,
.logo svg {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--nav-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 0 0 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--nav-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--nav-text);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #333;
  transform: scale(1.03);
  color: #fff !important;
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 23px;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--nav-text);
  border-radius: 3px;
  transition: background 0.3s ease;
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--nav-bg-mobile);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  visibility: hidden;
}

.mobile-nav-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 40px;
}

/* logo inside mobile nav */
.mobile-logo {
  position: absolute;
  top: 20px;
  left: 24px;
  opacity: 0;
  pointer-events: none;
  color: #fff;
}

.mobile-logo-img {
  width: auto;
  height: 40px;
  display: block;
  filter: brightness(0) invert(1);
}


/* close button */
.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 32px;
  height: 40px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 160;
}

.mobile-close::before,
.mobile-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 32px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.mobile-close::before {
  transform: translateY(-50%) rotate(-45deg);
}

.mobile-close::after {
  transform: translateY(-50%) rotate(45deg);
}

.mobile-close:hover::before,
.mobile-close:hover::after {
  background: #535353;
}

/* nav list */
.mobile-nav ul {
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
}

.mobile-nav ul li {
  margin: 32px 0;
}

.mobile-nav ul li a {
  color: #fafafa;
  font-size: clamp(1.6rem, 7vw, 2.6rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
  opacity: 0;
  pointer-events: none;
  position: relative;
  display: inline-block;
}

.mobile-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.mobile-nav ul li a:hover::after {
  transform: scaleX(1);
}

.mobile-cta-link {
  margin-top: 12px;
  opacity: 0;
  pointer-events: none;
}

.mobile-cta-link a {
  display: inline-block;
  background: #fff;
  color: #111 !important;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-cta-link a::after {
  display: none !important;
}

/* HERO SECTION */
.container {
  margin-top: 6rem !important;
  max-width: 100%;
  overflow-x: hidden;
}

.heroLarg {
  max-width: 900px !important;
}

.heroTitle {
  font-size: 70px;
  font-style: normal;
  font-weight: 500 !important;
  color: rgb(34, 34, 34);
  word-break: break-word;
  overflow-wrap: break-word;
}

.subtext,
.namedev {
  font-size: 18px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  color: rgb(34, 34, 34);
}

.hero-btn,
.cta-service-btn {
  font-size: 17px !important;
}

/* Add this new container style */
.social-container {
  position: relative;
  height: 400px;
  margin: 0 auto;
}

#bubbles {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Update the social icons positioning */
.social {
  position: absolute;
  font-size: 35px;
  /* Slightly smaller */
  color: rgb(0, 0, 0);
  width: 60px;
  height: 60px;
  border: 3px solid rgb(0, 0, 0);
  border-radius: 30%;
  text-align: center;
  align-content: center;
  padding: 8px;
  transition: all 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: 50% 50%;
  top: 34%;
  /*34% ou 40% */
  left: 55%;
}

/* Update all animations to work within container */
#js {
  animation-name: js;
  animation-duration: 1000ms;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes js {
  0% {
    transform: translate(80px, 30px);
  }

  100% {
    transform: translate(80px, 36px);
  }
}

#php {
  animation-name: php;
  animation-duration: 950ms;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes php {
  0% {
    transform: translate(-80px, -30px);
  }

  100% {
    transform: translate(-80px, -36px);
  }
}

#figma {
  animation-name: figma;
  animation-duration: 900ms;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes figma {
  0% {
    transform: translate(80px, -30px);
  }

  100% {
    transform: translate(80px, -36px);
  }
}

#github {
  animation-name: github;
  animation-duration: 950ms;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes github {
  0% {
    transform: translate(-80px, 30px);
  }

  100% {
    transform: translate(-80px, 36px);
  }
}

#wordpress {
  animation-name: wordpress;
  animation-duration: 900ms;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes wordpress {
  0% {
    transform: translate(0px, -5px);
  }

  100% {
    transform: translate(0px, -10px);
  }
}

/* SKILLS SECTION */
.skills-section {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}


.skillsTitle {
  font-size: 54px !important;
  font-style: normal;
  font-weight: 500 !important;
  line-height: 65px !important;
  color: rgb(34, 34, 34);
  word-break: break-word;
  overflow-wrap: break-word;
}

.skills-section h3 {
  font-size: 24px !important;
  font-style: normal;
  font-weight: 500;
  line-height: 29px !important;
  color: rgb(34, 34, 34);
}

.skills-section p,
ul,
li {
  font-size: 17px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 24px !important;
  color: rgba(34, 34, 34, 0.8);

}

.skills-section .fa-ul {
  margin-left: 2.5em;

}

.skills-section .fa-li {
  left: -2.5em;
  /* Deve corresponder ao margin-left */
  width: 2em;
  /* Largura adequada para ícones grandes */
  top: 0.35em;
  /* Ajuste fino para compensar o padding */
}

.skills-section li {
  padding-bottom: 30px;
  position: relative;
  /* Importante para o alinhamento */
}

/* Ajuste para ícones maiores */
.skills-section .fa-lg {
  font-size: 26px;

  vertical-align: middle;
  position: relative;
  top: -0.1em;
}

.skill-item h3 {
  position: relative;
}

@keyframes gentle-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.fa-li i {
  animation: gentle-float 4s ease-in-out infinite;
}

/*Section services used for centering process*/
.services-section {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color) !important;
}

.services-section .col-lg-5 {
  position: sticky !important;
  height: fit-content;
  align-self:center;
  transition: none !important;
}

/* Garantir que o conteúdo não se mova */
.services-section .col-lg-5 h2,
.services-section .col-lg-5 p,
.services-section .col-lg-5 .border-start,
.services-section .col-lg-5 a {
  transform: none !important;
  transition: none !important;
}

.services-section h2 {
  font-size: 42px !important;
  font-style: normal;
  font-weight: 500 !important;
  line-height: 50px !important;
  color: rgb(34, 34, 34);
}

.subttitleOne,
.subtitleTwo {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px !important;
  color: rgba(34, 34, 34, 0.8);
  padding-right: 25px !important;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.accordion-item {
  background-color: var(--primary-color) !important;
  border: none !important;
  border-radius: .4rem;
}

.accordion-item hr {
  border: 1px solid rgb(197, 197, 197) !important;
}

.accordion-link {
  font-size: 1.6rem;
  color: #000000;
  text-decoration: none;
  background-color: var(--primary-color) !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.accordion-link h3 {
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px;
  color: rgb(34, 34, 34);
}

.accordion-link i {
  color: #000000;
  padding: .5rem;

}

.accordion-link div {
  display: flex;
}

.accordion-link .fa-arrow-down {
  display: none;
}

.answer {
  max-height: 0;
  overflow: hidden;
  position: relative;
  transition: max-height 650ms;
}

.answer p {
  font-size: 16px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 22px !important;
  color: rgba(34, 34, 34, 0.8);
}

.accordion-item.active {
  scroll-margin-top: 320px; /* Ajuste este valor conforme necessário */
}

.accordion-item.active .answer {
  max-height: 20rem;
}

.accordion-item.active .accordion-link .fa-arrow-right {
  display: none;
}

.accordion-item.active .accordion-link .fa-arrow-down {
  display: block;
}

.hidden {
  display: none;
}

/* CTA */
.cta-section {

  min-height: 40vh;
  display: flex;
  align-items: center;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-subtitle {
  font-size: 19px;
  color: #666;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.cta-title {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  color: #222;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.cta-title-line {
  display: block;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-buttons a {
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
}

/* Animações sutis */
.cta-content>* {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.cta-subtitle {
  animation-delay: 0.2s;
}

.cta-title {
  animation-delay: 0.4s;
}

.cta-buttons {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PAGE PORTFOLIO PROJECT */
.project-hero {
  margin-top: 60px;
  padding: 30px 0 20px;
}

.project-category {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin-bottom: 8px;
}

.project-title {
  font-size: 50px;
  font-weight: 500;
  color: rgb(34, 34, 34);
  margin-bottom: 12px;
  line-height: 1.2;
}

.project-description {
  font-size: 17px;
  color: rgba(34, 34, 34, 0.8);
  line-height: 1.5;
  width: 100%;
  margin-bottom: 0px;
}

/* PROJECT DETAILS - ESPAÇAMENTO CORRIGIDO */
.project-details {
  padding: 15px 0;
  /* Reduzido para igualar top e bottom */
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin: 20px 0;
}

/* Container interno para controlar o espaçamento */
.project-details .container {
  margin-top: 0px !important;
}

.portcontai {
  margin-top: 30px !important;
  margin-bottom: 28px !important;
}

.detail-item {
  margin-bottom: 12px;
  /* Reduzido de 17px */
  padding: 5px 0;
  /* Espaçamento interno igual */
}

.detail-label {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
  /* Aumentado ligeiramente de 2px */
  font-weight: 500;
}

.detail-value {
  font-size: 16px;
  color: rgb(34, 34, 34);
  font-weight: 400;
  line-height: 1.3;
  /* Adicionado para controle de altura */
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  /* Aumentado de 8px */
  margin-bottom: 5px;
  /* Adicionado espaçamento inferior */
}

.tag {
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 13px;
  color: rgb(34, 34, 34);
  line-height: 1.3;
}

/* PAGE PROJECT CONTENT PORTFOLIO */
.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 2.2rem;
  font-weight: 500;
  color: rgb(34, 34, 34);
  margin: 19px 0 19px;
  line-height: 34px;
}

.content-section p {
  font-size: 17px;
  color: rgba(34, 34, 34, 0.8);
  line-height: 25px;
  margin-bottom: 15px;
  font-weight: 400;
}

/* PROJECT IMAGES */
.project-image {
  width: 90%;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.image-grid img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* CTA SECTION */
.project-cta {
  margin-top: -70px;
  border-radius: 8px;
  text-align: center;
}

.project-cta h2 {
  font-size: 38px;
  font-weight: 700;
  color: #222;
  line-height: 0.9;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.project-cta p {
  font-size: 17px;
  color: #666;
  font-weight: 400;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

/* Photo Gallery Styles */
/* Container principal da galeria */
.photo-gallery,
.gallery {
  color: #313437;
}

.photo-gallery p,
.gallery .intro p {
  color: #7d8285;
}

.photo-gallery h2,
.gallery .intro h2 {
  font-weight: bold;
  margin-bottom: 15px;
  color: inherit;
  font-size: 2.2rem;
  padding-top: 0;
  /* Remove padding-top do original */
}

.photo-gallery .intro,
.gallery .intro {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 50px;
  /* Unifica margin-bottom */
}

.photo-gallery .intro p,
.gallery .intro p {
  margin-bottom: 0;
  font-size: 1.1rem;
  color: #666;
}

/* Grid e layout */
.photo-gallery .photos,
#gallery-grid {
  padding-bottom: 20px;
  margin: 0 -10px;
}

.photo-gallery .item,
.gallery .col-lg-4 {
  padding: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.photo-gallery .item:hover,
.gallery .col-lg-4:hover {
  transform: translateY(-8px);
  /* Usa o valor mais pronunciado */
}

/* Itens da galeria e imagens */
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-decoration: none;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* Thumbnail das imagens - TAMANHO CONTROLADO VIA CSS */
.photo-gallery .img-fluid,
.gallery-thumbnail {
  max-width: 100%;
  height: 100%;
  /* ALTURA FIXA - AJUSTE AQUI */
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: block;
}

.photo-gallery .img-fluid:hover,
.gallery-item:hover .gallery-thumbnail {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Overlay com ícone (APENAS para a nova galeria) */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  color: white;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1.2);
}

/* Ajustes do Lightbox */
.lightbox .lb-image {
  border-radius: 8px;
}

.lightboxOverlay {
  background: rgba(0, 0, 0, 0.9);
}

.lb-data .lb-caption {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

/*PAGE SOBRE */
/* ABOUT HERO */
.about-hero {
  padding-top: 110px;
}

.about-title {
  font-size: 54px;
  font-style: normal;
  font-weight: 500;
  line-height: 65px;
  color: rgb(34, 34, 34);
  margin-bottom: 30px;
}

.about-subtitle {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  color: rgba(34, 34, 34, 0.8);
  margin-bottom: 20px;
}

/* PHOTO SECTION */
.photo-container {
  position: relative;
  padding-left: 30px;
  overflow: hidden;
}

.photo-container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: rgba(222, 226, 230, 0.685);
}

.img-fluid {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
}

.hover-scale {
  transition: transform 0.3s ease;
  display: inline-block;

}

.hover-scale:hover {
  transform: scale(1.2);
  opacity: 0.9;
}

/* ABOUT CONTENT */
.about-section h2 {
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
  line-height: 50px;
  color: rgb(34, 34, 34);
  margin-bottom: 30px;
}

.about-section h3 {
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px;
  color: rgb(34, 34, 34);
  margin-bottom: 15px;
}

.about-section p {
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: rgba(34, 34, 34, 0.8);
  margin-bottom: 20px;
}

.about-section ul {
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: rgba(34, 34, 34, 0.8);
}

.about-section .fa-ul {
  margin-left: 2.5em;
}

.about-section .fa-li {
  left: -2.5em;
  width: 2em;
  top: 1em;
}

.about-section li {
  padding-bottom: 30px;
  position: relative;
}

.about-section .fa-lg {
  font-size: 26px;
  vertical-align: middle;
  position: relative;
  top: -0.1em;
}

@keyframes gentle-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.fa-li i {
  animation: gentle-float 4s ease-in-out infinite;
}

/* FORMATIONS & SPECIALTIES */
.formation-item,
.specialty-item {
  margin-bottom: 40px;
}

.formation-item h3,
.specialty-item h3 {
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 29px;
  color: rgb(34, 34, 34);
  margin-bottom: 10px;
}

.formation-meta,
.specialty-meta {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 10px;
}

/* STATS SECTION */
.stats-section {
  padding: 60px 40px;
  border-radius: 8px;
  margin: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: rgb(34, 34, 34);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: rgba(34, 34, 34, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FOOTER */
footer {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.copyright p {
  font-size: 17px;
}

.social-links a {
  color: rgb(70, 70, 70);
  text-decoration: none;
  padding: 0 13px;
}

.social-link i {
  font-size: 19px !important;
}


/* MEDIA QUERIES */
@media (max-width: 1399px) {
  .photo-container {
    position: relative;
    padding-left: 30px;
  }

  .photo-container::before {
    content: "";
    position: absolute;
    left: 20 !important;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(222, 226, 230, 0.685);
  }

  /* pagina portfolio galeria */
  .photo-gallery .img-fluid,
  .gallery-thumbnail {
    height: 320px;
  }
}

@media(max-width: 991px) {
  .hero-section .row.align-items-center {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-section .col-lg-4 {
    margin-top: 0 !important;

  }

  .aboutsectionformacao,
  .aboutespecialtiessection,
  .homeservicecontai,
  .pagesobrehero,
  .pageportfoliohero,
  .projectheropage,
  .relatedprojectssect {
    margin-top: 0 !important;
  }

  .herohome {
    margin-top: -10px !important;
  }

  .photo-container,
  .photo-container::before {
    display: none !important;
  }

  .ctaHero {
    min-height: 48px;
    /* Altura mínima */
    min-width: 120px;
    /* Largura mínima */
    padding: 0 16px;
    /* Espaçamento interno */
    font-size: 16px;
    /* Tamanho do texto */
    border-radius: 8px;
    /* Cantos arredondados para melhor ergonomia */
    align-content: center !important;
  }

  /* pagina portfolio galeria */
  .photo-gallery .img-fluid,
  .gallery-thumbnail {
    height: 250px;
  }

  /* page sobre */
  .about-hero .row {
    padding: 20px 0;
    display: flex;
    flex-direction: column-reverse;
  }

  .photo-container,
  .photo-container::before {
    display: none !important;
  }

  .social-link i {
    font-size: 21px !important;
  }
}

/* PAGE ERROR 404 */
.error-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.error-404 .container {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 600px;
}

.error-404 h1 {
  font-size: 10rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 1rem;
  position: relative;
}

.error-404 h1::before {
  content: "404";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12rem;
  font-weight: 900;
  color: var(--primary-color);
  opacity: 0.05;
  z-index: -1;
}

.error-404 p {
  font-size: 1.2rem;
  color: var(--accent-color);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Animation */
.error-404 .container {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 768px) {
  header {
    padding: 16px 24px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Ajuste para garantir que o header não conflite com elementos fixos */
  body {
    padding-top: 70px;
  }

  .about-hero {
    padding: 0px 0;
  }

  /* Ajuste específico para os ícones flutuantes (bubbles) */
  .social-container {
    height: 300px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  #bubbles {
    position: relative !important;
    width: auto !important;
    height: 100% !important;
    margin: 0 auto !important;
    top: 15% !important;
  }

  .social {
    position: absolute !important;
    /* Mantém todas as outras propriedades originais */
  }

  /* Ajusta as animações para trabalhar a partir do centro */
  @keyframes js {
    0% {
      transform: translate(calc(80px - 50%), calc(30px - 50%));
    }

    100% {
      transform: translate(calc(80px - 50%), calc(36px - 50%));
    }
  }

  @keyframes php {
    0% {
      transform: translate(calc(-80px - 50%), calc(-30px - 50%));
    }

    100% {
      transform: translate(calc(-80px - 50%), calc(-36px - 50%));
    }
  }

  @keyframes figma {
    0% {
      transform: translate(calc(80px - 50%), calc(-30px - 50%));
    }

    100% {
      transform: translate(calc(80px - 50%), calc(-36px - 50%));
    }
  }

  @keyframes github {
    0% {
      transform: translate(calc(-80px - 50%), calc(30px - 50%));
    }

    100% {
      transform: translate(calc(-80px - 50%), calc(36px - 50%));
    }
  }

  @keyframes wordpress {
    0% {
      transform: translate(-50%, calc(-5px - 50%));
    }

    100% {
      transform: translate(-50%, calc(-10px - 50%));
    }
  }

  .accordion-link {
    padding: 1.2rem 0;
    min-height: 60px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .accordion-link h3 {
    font-size: 20px !important;
    line-height: 1.3;
    pointer-events: none;
    flex: 1;
    padding-right: 15px;
  }

  .accordion-link i {
    pointer-events: none;
    font-size: 18px;
    padding: 12px 8px;
    min-width: 44px;
    /* Área de toque maior */
    text-align: center;
  }

  .answer {
    transition: max-height 0.4s ease-out;
    text-align: left;
    padding: 0 10px;
  }

  .answer p {
    font-size: 17px !important;
    line-height: 1.5;
    margin: 10px 0;
    text-align: left !important;
  }

  /* Feedback visual ao toque */
  .accordion-link:active {
    background-color: rgba(0, 0, 0, 0.02);
  }

  /* Garante que a seta fique à direita */
  .accordion-link {
    justify-content: space-between !important;
    text-align: left !important;
  }

  /* Remove centralização forçada que pode estar atrapalhando */
  #servicos .accordion-link {
    justify-content: space-between !important;
    text-align: left !important;
  }

  #servicos .accordion-link h3 {
    text-align: left !important;
  }

  /* Ajuste para a animação das setas */
  .fa-arrow-right,
  .fa-arrow-down {
    transition: transform 0.3s ease;
  }

  .accordion-item.active .fa-arrow-down {
    transform: rotate(180deg);
  }

  /* Remove qualquer hover effect que possa conflitar */
  .accordion-item:hover {
    background-color: transparent;
  }

  .accordion-item.active {
    scroll-margin-top: 90px;
  }

  .heroTitle,
  .skillsTitle {
    font-size: 28px !important;
    line-height: 42px !important;
    text-align: center;
  }

  .subtext,
  .namedev {
    font-size: 17px !important;
    line-height: 22px !important;
  }

  .heroLarg {
    text-align: center;
  }

  .photo-container {
    padding-left: 0 !important;
  }

  .photo-container::before {
    display: none !important;
  }

  .ctaHero,
  .skills-section {
    text-align: center;
  }

  .skills-section {
    padding-bottom: 0rem !important;
  }

  /* Corrige alinhamento da coluna esquerda */
  .skills-section .col-lg-6.pe-lg-5 {
    text-align: center;
    /* Centraliza todo o conteúdo */
  }

  /* Ajusta listas */
  .skills-section ul,
  .skill-item ul {
    text-align: left;
    /* Mantém alinhamento à esquerda nos itens de lista */
    display: inline-block;
    /* Faz a lista ocupar apenas o espaço necessário */
  }

  /* Remove qualquer padding extra */
  .skills-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important
  }

  /* Seção de Serviços */
  #servicos h2,
  #servicos .subttitleOne,
  #servicos .border-start,
  #servicos .subtitleTwo,
  #servicos .subtitleThree,
  .flex,
  .answer {
    text-align: center !important;
    padding-right: 0 !important;
    font-size: 17px;
  }

  #servicos h2 {
    font-size: 28px !important;
    line-height: 42px !important;
  }

  #servicos .border-start {
    border-left: none !important;
    padding-left: 0 !important;
  }

  .accordion-link h3 {
    font-size: 22px !important;
  }

  .accordion-link {
    justify-content: center !important;
    text-align: center !important;
  }

  /*PAGE SOBRE */
  .about-title {
    padding-top: 1.2rem;
    font-size: 28px;
    line-height: 42px;
    text-align: center;
  }

  .about-subtitle {
    font-size: 17px;
    line-height: 22px;
    text-align: center;
  }

  .about-section h2 {
    font-size: 28px;
    line-height: 42px;
    text-align: center;
  }

  .about-section h3 {
    font-size: 22px;
    text-align: center;
  }

  .stat-number {
    font-size: 36px;
  }

  .cta-title {
    letter-spacing: -1px;
  }

  .about-section .container {
    text-align: center;
  }

  /* Manter títulos centralizados */
  .about-section h2,
  .about-section h3,
  .formation-item h3,
  .specialty-item h3 {
    text-align: center;
    width: 100%;
  }

  /* Ajustar parágrafos */
  .about-section p,
  .formation-item p,
  .specialty-item p {
    text-align: center;
  }

  /* Metadados centralizados */
  .formation-meta,
  .specialty-meta {
    text-align: center;
  }

  /* AJUSTE ESPECÍFICO PARA LISTAS COM ÍCONES */
  .about-section .fa-ul {
    margin-left: 0;
    padding-left: 0;
    display: inline-block;
    text-align: center;
  }

  /* Container da lista para alinhamento central */
  .about-section ul.fa-ul {
    width: 100%;
    max-width: 400px;
    /* Limita a largura em telas grandes */
    margin: 0 auto;
    /* Centraliza o container */
  }

  /* Itens da lista - AQUI ESTÁ A SOLUÇÃO PARA ÍCONES ACIMA DO TEXTO */
  .about-section .fa-ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 25px;
    position: relative;
    text-align: center;
  }

  /* Posicionamento do ícone ACIMA do texto */
  .about-section .fa-li {
    position: relative;
    left: auto !important;
    /* Remove posicionamento absoluto */
    width: auto;
    top: 0;
    margin-bottom: 8px;
    /* Espaço entre ícone e texto */
    display: block;
    text-align: center;
  }

  /* Ajuste do tamanho dos ícones */
  .about-section .fa-li i {
    font-size: 28px;
    /* Um pouco maior para mobile */
    animation: gentle-float 4s ease-in-out infinite;
  }

  /* Texto do item da lista */
  .about-section .fa-ul li {
    text-align: center;
  }

  /* Remover qualquer resquício de posicionamento antigo */
  .about-section .fa-ul {
    margin-left: 0;
  }

  /* Ajuste específico para a lista de Foco */
  .specialty-item .fa-ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Garantir que o strong não quebre o layout */
  .specialty-item .fa-ul li strong {
    display: block;
    margin-bottom: 4px;
  }

  /*PAGE INDIVIDUAL PORTFOLIO */
  .project-hero {
    margin-top: 45px;
    padding: 30px 0 0px;
  }

  .project-title {
    font-size: 32px;
  }

  .project-description {
    font-size: 16px;
  }

  .content-section h2 {
    font-size: 26px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .project-cta {
    padding: 40px 20px;
  }

  .project-cta h2 {
    font-size: 28px;
  }

  .detail-item {
    margin-bottom: 15px;
  }

  /* PAGINA PORTFOLIO GALERIA */

  .gallery .intro h2 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .photo-gallery .img-fluid,
  .gallery-thumbnail {
    height: 220px;
  }

  .gallery-overlay i {
    font-size: 1.5rem;
  }

  /* CTA */

  .cta-container {
    padding: 0 15px;
  }

  .cta-subtitle {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .cta-title {
    margin-bottom: 40px;
    letter-spacing: -1px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 16px 32px;
  }

  .footer {
    text-align: center;
  }

  .social-links {
    margin-top: 20px;
  }

  /* PAGE ERROR 404 */
  .error-404 h1 {
    font-size: 6rem;
  }

  .error-404 h1::before {
    font-size: 8rem;
  }

  .error-404 p {
    font-size: 1rem;
  }

}

@media (max-width: 576px) {

  /* PAGE ERROR 404 */
  .error-404 h1 {
    font-size: 4rem;
  }

  .error-404 h1::before {
    font-size: 6rem;
  }

  .error-404 {
    min-height: 100vh;
  }

  .error-404 .container {
    padding: 1rem;
  }

  .photo-gallery .img-fluid,
  .gallery-thumbnail {
    height: 200px;
  }
}

@media (max-width: 480px) {

  h1,
  h2 {
    font-size: 32px;
    line-height: 38px;
  }

  .skills-section h3 {
    font-size: 20px !important;
  }

  .accordion-link {
    padding: 1rem 0;
  }

  .accordion-link h3 {
    font-size: 20px !important;
  }

  .answer p {
    font-size: 17px !important;
  }

  .cta-section {
    min-height: 0vh;
  }

  .cta-subtitle {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .cta-title {
    margin-bottom: 35px;
  }

  .py-4 {
    padding-top: 0 !important;
  }

  .about-section ul.fa-ul {
    max-width: 300px;
    /* Reduz largura máxima em telas muito pequenas */
  }

  .about-section .fa-ul li {
    padding-bottom: 20px;
  }

  .about-section .fa-li i {
    font-size: 24px;
  }
}

/* Garante que o accordion funcione corretamente */
.accordion-item {
  transition: all 0.3s ease;
}

.accordion-item .answer {
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-item.active {
  scroll-margin-top: 300px;
  /* Ajuste para telas menores */
}

/* ===== ANIMAÇÕES DE SCROLL - SLIDE LATERAL ===== */
.scroll-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}

.scroll-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.scroll-text {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.scroll-item {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.scroll-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
}

/* Itens pares vêm da esquerda, ímpares da direita */
.scroll-item:nth-child(even) {
  transform: translateX(-30px);
}

.scroll-item:nth-child(odd) {
  transform: translateX(30px);
}

/* Estado visível */
.scroll-title.visible,
.scroll-subtitle.visible,
.scroll-text.visible,
.scroll-item.visible,
.scroll-fade.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Delays específicos para o hero */
.hero-section .scroll-title.visible {
  transition-delay: 0.1s;
}

.hero-section .scroll-text.visible {
  transition-delay: 0.2s;
}

.hero-section .scroll-item.visible {
  transition-delay: 0.3s;
}

/* Delays para botões (o primeiro botão, depois o segundo) */
.hero-section .btn-hero .scroll-fade:nth-child(1).visible {
  transition-delay: 0.4s;
}

.hero-section .btn-hero .scroll-fade:nth-child(2).visible {
  transition-delay: 0.5s;
}

/* Delays para ícones */
.hero-section .col-lg-4.scroll-fade.visible {
  transition-delay: 0.3s;
}

/* Garantias de performance */
.scroll-title,
.scroll-subtitle,
.scroll-text,
.scroll-item,
.scroll-fade {
  backface-visibility: hidden;
  transform: translateZ(0);
  overflow: visible !important;
}

/* ===== ANIMAÇÕES ESPECÍFICAS PARA O CTA ===== */
.cta-section .cta-content {
  perspective: 1000px;
}

.cta-section .scroll-item {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-section .scroll-title {
  transition: opacity 1s ease, transform 1s ease;
}

.cta-section .scroll-fade {
  transition: opacity 0.8s ease;
}

/* Delays específicos para o CTA */
.cta-section .scroll-item.visible {
  transition-delay: 0.1s;
}

.cta-section .scroll-title.delay-1.visible {
  transition-delay: 0.2s;
}

.cta-section .scroll-title.delay-2.visible {
  transition-delay: 0.3s;
}

.cta-section .scroll-fade.visible {
  transition-delay: 0.4s;
}

/* Efeito adicional para o título do CTA (opcional) */
.cta-section .cta-title-line {
  display: inline-block;
  transform-origin: center;
}

.cta-section .cta-title-line.visible {
  animation: gentlePop 0.5s ease forwards;
}

@keyframes gentlePop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

/* Garantir que as animações funcionem */
.cta-section .scroll-item,
.cta-section .scroll-title,
.cta-section .scroll-fade {
  will-change: opacity, transform;
  backface-visibility: hidden;
}

/* ===== ANIMAÇÕES ESPECÍFICAS PARA PÁGINA SOBRE ===== */

/* Hero da página sobre */
.about-hero .scroll-title.visible {
  transition-delay: 0.1s;
}

.about-hero .scroll-text.visible:nth-of-type(1) {
  transition-delay: 0.2s;
}

.about-hero .scroll-text.visible:nth-of-type(2) {
  transition-delay: 0.3s;
}

.about-hero .scroll-item.visible {
  transition-delay: 0.4s;
}

/* Seções de formação e especialidades */
.about-section h2.scroll-title.visible {
  transition-delay: 0.1s;
}

/* Itens de formação */
.formation-item .scroll-subtitle.visible {
  transition-delay: 0.2s;
}

.formation-item .scroll-text.visible {
  transition-delay: 0.3s;
}

/* Itens de especialidades */
.specialty-item .scroll-subtitle.visible {
  transition-delay: 0.2s;
}

.specialty-item .scroll-text.visible {
  transition-delay: 0.3s;
}

/* Listas com ícones */
.specialty-item .scroll-item.visible:nth-child(1) {
  transition-delay: 0.1s;
}

.specialty-item .scroll-item.visible:nth-child(2) {
  transition-delay: 0.2s;
}

.specialty-item .scroll-item.visible:nth-child(3) {
  transition-delay: 0.3s;
}

.specialty-item .scroll-item.visible:nth-child(4) {
  transition-delay: 0.4s;
}

.specialty-item .scroll-item.visible:nth-child(5) {
  transition-delay: 0.5s;
}

.specialty-item .scroll-item.visible:nth-child(6) {
  transition-delay: 0.6s;
}

/* Efeito suave para os ícones da lista */
.specialty-item .fa-li i {
  transition: transform 0.3s ease;
}

.specialty-item .scroll-item.visible .fa-li i {
  animation: gentlePop 0.5s ease forwards;
}

/* Animação para os ícones das redes sociais */
.hover-scale {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.2);
  opacity: 0.9;
}

/* Para Chrome, Edge, Safari */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--portfolio-primary);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--portfolio-dark);
  border-radius: 20px;
  border: 2px solid var(--portfolio-primary);
}

/* Alternativa para problemas do icones abaixo da foto de perfil na página sobre usando transform-origin e posicionamento */
.hover-scale {
  transition: transform 0.3s ease;
  display: inline-block;
  position: relative;
  z-index: 10;
}

.hover-scale:hover {
  transform: scale(1.2);
  z-index: 20;
  /* Fica acima dos outros elementos */
}

/* Container dos ícones com overflow visível */
.d-flex.justify-content-center.gap-3.mt-4 {
  display: flex;
  flex-wrap: wrap;
  overflow: visible !important;
  /* Permite que o elemento aumente sem cortar */
  padding: 5px 0;
  /* Espaço extra para o hover */
}

/* Aumentar o gap para dar espaço ao hover */
.gap-3 {
  gap: 1.5rem !important;
  /* Aumenta o espaço entre os ícones */
}