/*reset e globais*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: #0d0f24;
  color: white;
  transition: background 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

/*------------------ header e navegação ---------------------------*/
header {
  background: linear-gradient(180deg, #0d0f24, #0a0c1a);
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
}

main {
  margin-top: 70px;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(129, 33, 208, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 0, 122, 0.1) 0%,
      transparent 40%
    );
}

@keyframes mesh-float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 50px);
  }
}

.vector-global {
  position: absolute; 
  z-index: 0; 
  pointer-events: none; 
  opacity: 0.4; 
  width: 290px; 
  filter: drop-shadow(0 0 15px rgba(129, 33, 208, 0.2)); 
}

.vector-left {
  top: 98%;
  left: -100px;
}

.vector-right {
  top: 25%;
  right: -100px;
}

.navegacao-principal {
  width: 90%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-portfolio {
  color: white;
  font-size: 25px;
  letter-spacing: 1px;
  margin-right: auto;
}

.menu-de-navegacao {
  display: flex;
  gap: 35px;
  list-style: none;
  margin-right: auto;
}

.menu-de-navegacao a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
  font-size: 16px;
}

.menu-de-navegacao a:hover {
  color: #ff1493;
}

.menu-de-navegacao a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ff1493;
  border-radius: 2px;
}

/*-------------------------- home --------------------------------*/
.home-page-intro {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 55px;
}

.home-page-intro figure {
  position: relative;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  transition: transform 0.5s ease;
  border: 2px solid rgba(129, 33, 208, 0.5);
  overflow: hidden;
  box-shadow: 0 0 50px rgba(129, 33, 208, 0.4);
}
.home-page-intro figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page-intro p {
  font-size: 30px;
  letter-spacing: 1px;
}
.home-page-intro h1 {
  font-size: 60px;
  font-weight: bold;
  line-height: 1.1;
  background: linear-gradient(135deg, #bf0c6d, #3a2dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem 0;
}

.subtitle-intro {
  margin-top: 10px;
  font-weight: 500;
  font-size: 24px !important;
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  opacity: 1;
}

.intro-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 40px;
}

.intro-buttons button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
}

.button-primary-intro {
  background: linear-gradient(135deg, #da0067, #6919ab);
  color: white;
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: block;
  transition: 0.3s ease;
}

.button-secondary-intro {
  background:
    linear-gradient(#0d1028, #080a1a) padding-box,
    linear-gradient(135deg, #da0067, #6919ab) border-box;

  border: 2px solid transparent;

  border-radius: 50px;
  padding: 16px 40px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  display: block;
  transition: 0.3s ease;
}

.button-primary-intro:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 0, 122, 0.6);
}

.button-secondary-intro:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 0, 122, 0.6);
}

/*----------------------------- SEÇÃO ABOUT ME ---------------------------------------*/
.home-page-about {
  position: relative; 
  z-index: 10;
  padding: 100px 32px;
  max-width: 1500px;
  margin: 0 auto;
}

.container-about {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 22px;
  text-align: center;
}

.about-text-gradient {
  background: linear-gradient(135deg, #bf0c6d, #3a2dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  font-size: 20px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  margin-left: 120px;
  margin-right: 50px;
}

.about-visual::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(129, 33, 208, 0.2) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/*---------------------------- sessão skills ----------------------------------------*/
.home-page-skills {
  position: relative;
  z-index: 10;
  padding: 80px 32px;
  max-width: 1500px;
  margin: 0 auto;
  display: flex; 
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.container-skills {
  flex: 1;
  min-width: 250px;
  margin-top: 15px;
  margin-left: 90px;
}
.tech-skills {
  flex: 1;
  min-width: 300px;
}

.container-skills h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.container-skills p {
  color: #94a3b8;
  margin-bottom: 20px;
  font-size: 16px;
}

.skill-item {
  margin-bottom: 25px;
}

.skill-item label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 18px;
  color: #e2e8f0;
}

.progress-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

progress {
  -webkit-appearance: none;
  appearance: none;
  width: 80%;
  height: 12px; 
}

progress::-webkit-progress-bar {
  background-color: rgba(255, 255, 255, 0.05); 
  border-radius: 20px;
}

progress::-webkit-progress-value {
  border-radius: 20px;
  transition: width 1.5s cubic-bezier(0.1, 0.42, 0.41, 1); 
}


#comm::-webkit-progress-value {
  background: #3a2dff;
  box-shadow: 0 0 15px rgba(58, 45, 255, 0.6);
}
#team::-webkit-progress-value {
  background: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}
#crit::-webkit-progress-value {
  background: #00d2ff;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}
#org::-webkit-progress-value {
  background: #ff1493;
  box-shadow: 0 0 15px rgba(255, 20, 147, 0.6);
}


#comm::-moz-progress-bar {
  background: #3a2dff;
}
#team::-moz-progress-bar {
  background: #a855f7;
}
#crit::-moz-progress-bar {
  background: #00d2ff;
}
#org::-moz-progress-bar {
  background: #ff1493;
}

.percentage {
  font-weight: bold;
  color: #94a3b8;
  min-width: 45px;
}

.tech-skills h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.tech-skills p {
  color: #94a3b8;
  margin-bottom: 35px;
  font-size: 16px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.tech-box {
  background-color: rgba(22, 8, 38, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.tech-box:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: #ff1493;
  background: rgba(22, 8, 38, 0.8);
  box-shadow: 0 10px 25px rgba(255, 20, 147, 0.25);
}

.tech-box img {
  max-width: 50px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(59, 59, 59, 0.1));
  flex-shrink: 0;
}

/*--------------------------------------- projects ------------------------------------------------*/
.home-page-projects {
  padding: 100px 32px;
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
  margin-top: 20px;
}

.home-page-projects h2 {
  font-size: 40px;
  margin-bottom: 14px;
}

.home-page-projects p {
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 30px;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  gap: 40px;
}

.projects-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.participants-badge {
  background: rgba(58, 45, 255, 0.2); 
  border: 1px solid #3a2dff;
  padding: 4px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: 16px;
  box-shadow: 0 0 10px rgba(58, 45, 255, 0.3);
  flex-shrink: 0; 
}

.participants-badge i {
  color: #584df3;
  font-size: 16px;
}

.projects-header-row h3 {
  margin-bottom: 0 !important;
  font-size: 20px !important;
}

.role-badge {
  display: inline-flex;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.projects-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px; 
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.projects-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  flex: 0 0 calc(33.333% - 20px); 
  overflow: hidden;
  transition: transform 0.3s ease;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;

}

.projects-card:hover {
  transform: translateY(-10px);
  border-color: #3a2dff;
  box-shadow: 0 10px 30px rgba(58, 45, 255, 0.2);
}

.projects-banner {
  background: rgba(255, 255, 255, 0.15);
  height: 200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: hidden;
}

.projects-banner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.projects-info {
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
}

.projects-info h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.projects-desc {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 30px;
}

.projects-info p {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.3;
  margin-bottom: 40px;
  height: 80px;
}

.projects-summary {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 15px;
  overflow: hidden;
}

.projects-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.tag-project {
  background-color: rgba(121, 40, 202, 0.2);
  color: #e2e8f0;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 14px;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.projects-links {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  align-items: center;
  margin-top: auto;
}

.projects-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3 ease;
}

.link-live {
  color: #e2e8f0;
}

.link-code {
  color: #ff0c92;
}

.link-code:hover {
  text-decoration: underline;
}

.link-live:hover {
  text-decoration: underline;
}

.projects-carousel-button {
  background: transparent;
  border: 2px solid #ff1493;
  color: #ff1493;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: 0.3s;
  z-index: 10;
  flex-shrink: 0;
}

.projects-carousel-button:hover {
  background-color: #ff1493;
  color: white;
}

/* ----------------- seção experience & Education ---------------------*/
.home-page-experience {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.experience-education-wrapper {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.experience-column,
.education-column {
  flex: 1;
  min-width: 300px;
}

.experience-column h2,
.education-column h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.timeline-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 16px;

  background:
    linear-gradient(#0d0f24, #0d0f24) padding-box,
    linear-gradient(135deg, #da0067, #3a2dff) border-box;
  border: 2px solid transparent;
  transition: 0.3s ease;
}

.timeline-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(218, 0, 103, 0.2);
}

.icon-box {
  font-size: 35px;
  background: linear-gradient(135deg, #da0067, #3a2dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
}

.card-info h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.card-info,
.company,
.card-info .school {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 2px;
}

.card-info .date {
  color: #94a3b8;
  font-size: 14px;
}

/*---------------------------------------------- contact --------------------------------------*/
.home-page-contact {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contacts-info {
  flex: 1;
  min-width: 320px;
}

.contact-form-container {
  flex: 1.6;
  min-width: 320px;
}

.contact-info h2,
.contact-form-container h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-subtitle {
  color: #94a3b8;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-card-mini {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-circle {
  width: 55px;
  height: 55px;
  background-color: rgba(218, 0, 183, 0.1);
  border: 1px solid rgba(218, 0, 103, 0.3);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ff1493;
}

.contact-item span {
  font-size: 16px;
  color: #ff1493;
  font-weight: bold;
  display: block;
}

.contact-item p {
  font-size: 16px;
  color: #e2e8f0;
  word-break: break-all;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.03); 
  backdrop-filter: blur(10px); 
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3a2dff;
  background: rgba(58, 45, 255, 0.05);
  box-shadow: 0 0 15px rgba(58, 45, 255, 0.4);
}

.form-group label {
  position: absolute;
  left: 18px;
  top: 18px;
  color: #94a3b8;
  pointer-events: none;
  transition: 0.3s ease all;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -25px;
  left: 5px;
  font-size: 14px;
  color: #ff1493;
}

.contact-form .button-primary-intro {
  width: 100%;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 18px;
}

/* --------------------------------------------- Footer ----------------------------------------------*/

.footer-section {
  background-color: #1a1033;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(129, 33, 208, 0.5);
}

.footer-content p {
  color: white;
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.footer-content strong {
  color: #ff1493;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-social-links a {
  color: white;
  font-size: 32px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  text-decoration: none;
}

.footer-social-links a:hover {
  color: #ff1493;
  transform: translateY(-5px);
  filter: drop-shadow(0 0 8px rgba(255, 20, 147, 0.5));
}

.header-actions {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

#play-music {
  background: transparent;
  border: 2px solid #ff1493;
  color: #ff1493;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

#play-music:hover {
  background-color: #ff1493;
  color: white;
  transform: scale(1.1);
}

/* --- AJUSTES PARA MOBILE (768px) --- */
@media (max-width: 768px) {
  .header-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    margin-left: 0;
    z-index: 1100;
  }

  #play-music {
    background: rgba(13, 15, 36, 0.9); 
    width: 50px; 
    height: 50px;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.4);
  }
}


/* --- MENU MOBILE (BOTÃO) --- */
.menu-mobile-btn {
  display: none; /* Escondido no desktop */
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  z-index: 1001;
}

/* ------------------------------------------ responsividade ------------------------------------------------ */
.home-page-skills,
.home-page-projects,
.home-page-experience,
.home-page-contact {
  position: relative;
  padding: 80px 32px;
  margin-top: 0 !important; /* Garante que nenhuma seção "invada" a outra */
}

/* --- MENU MOBILE (BOTÃO) --- */
.menu-mobile-btn {
  display: none; /* Escondido no desktop */
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  z-index: 1001;
}

/* --- TABLETS (1024px) --- */
@media (max-width: 1024px) {
  .home-page-intro {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
    padding: 140px 20px 60px;
  }

  .home-page-intro h1 {
    font-size: 48px;
  }

  .container-about {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .about-text p {
    margin: 0 0 1.5rem 0;
  }

  .container-skills {
    margin-left: 0;
  }

  .vector-global {
    width: 180px;
    opacity: 0.2; /* Suaviza vetores no tablet */
  }
}

/* --- CELULARES (768px) --- */
@media (max-width: 768px) {
  header {
    height: 60px;
  }

  .navegacao-principal {
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo-portfolio {
    font-size: 20px;
    order: 1;
  }

  .menu-mobile-btn {
    display: block;
    order: 2;
  }

  /* Menu Lateral */
  .menu-de-navegacao {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(13, 15, 36, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .menu-de-navegacao.active {
    right: 0;
  }

  #theme-toggle {
    display: none;
  } 

  .home-page-intro h1 {
    font-size: 40px;
  }
  .home-page-intro figure {
    width: 250px;
    height: 250px;
  }

  .intro-buttons {
    flex-direction: column;
    width: 100%;
  }

  .button-primary-intro,
  .button-secondary-intro {
    width: 100%;
    text-align: center;
  }

  @media (max-width: 768px) {

    .projects-container {
      padding: 0 45px;
      position: relative;
      display: flex;
      align-items: center;
    }

    .projects-grid {
      gap: 15px; 
      overflow-x: hidden;
    }

    .projects-card {
      flex: 0 0 100%;
      max-width: 100%;
    }

    .projects-carousel-button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 20;
      background-color: rgba(13, 15, 36, 0.8); 
    }

    .projects-carousel-button.left {
      left: 5px;
    }

    .projects-carousel-button.right {
      right: 5px;
    }
  }

  /* Experience, Skills e Contact */
  .experience-education-wrapper,
  .contact-wrapper,
  .home-page-skills {
    flex-direction: column;
    gap: 40px;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .contacts-info,
  .contact-form-container {
    width: 100%;
  }

  /* Vetores Mobile */
  .vector-left {
    display: none;
  }
  .vector-right {
    top: 10%;
    right: -60px;
    width: 120px;
  }
}

/* --- CELULARES PEQUENOS (480px) --- */
@media (max-width: 480px) {
  .home-page-intro h1 {
    font-size: 32px;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vector-global {
    display: none;
  } 
}

/* ------------------------------------------ MOBILE (Até 768px) ------------------------------------------------ */
@media (max-width: 768px) {
  

  header {
    height: 60px; 
  }

  main {
    margin-top: 20px;
  }

  .container-skills {
    text-align: center; 
    margin-left: 0 !important;
    width: 100%;
  }

  .skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
  }

  .progress-wrapper {
    justify-content: center; 
    width: 100%;
    max-width: 350px; 
    margin: 0 auto;
  }

  progress {
    width: 80%;
  }

  .skills-grid {
    grid-template-columns: repeat(4, 1fr); 
    gap: 12px; 

  .tech-box {
    border-radius: 12px;
    padding: 10px; 
  }

  .tech-box img {
    max-width: 35px; 
    max-height: 35px;
  }
}


/* --- CELULARES MUITO PEQUENOS (Até 480px) --- */
@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(4, 1fr); 
    gap: 8px; 
  }

  .tech-box img {
    max-width: 28px; /* Ícones minúsculos para telas pequenas */
    max-height: 28px;
  }

  .home-page-intro h1 {
    font-size: 32px; /* Título menor para não quebrar o layout */
  }
}

/* Para celulares muito pequenos (480px) */
@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .tech-box img {
    max-width: 28px;
    max-height: 28px;
  }
}

@media (max-width: 768px) {
  header {
    height: 60px;
  }
  main {
    margin-top: 20px;
  }
}