/* ==========================
   RESET & BASE
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0;
  background: #0d1b2a;
  scroll-behavior: smooth;
}

/* ==========================
   Preloader
========================== */
#intro {
  position: fixed;
  inset: 0;
  background: #0d1b2a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #fff;
  opacity: 1;
  transition: opacity 1s ease;
}

#signature {
  width: 400px;
  height: 100px;
}

#signature text {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  fill: none;
  stroke: #e0a93d;
  stroke-width: 2;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: drawText 7.5s ease forwards;
}

#intro #subtitle {
  font-size: 1.5rem;
  color: #e0a93d;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 0 0 10px #e0a93d55;
  animation: fadeSlide 1.2s ease forwards;
  animation-delay: 1.5s; /* sincroniza com fim do SVG */
}

/* Fade para conteúdo principal */
#main-content {
  opacity: 0;
}
#main-content.fade-in {
  animation: contentIn 700ms ease forwards;
}

/* Animações */
@keyframes drawText {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes contentIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 20px #e0a93d;
  }
}

/* ==========================
   NAVBAR
========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  backdrop-filter: blur(12px);
  background: rgba(13, 27, 42, 0.92);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid rgba(224,169,61,0.15);
}
.navbar.scrolled {
  background: #0d1b2a;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
  padding: 10px 40px;
}

.nav-left { flex: 1; }
.nav-center {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 25px;
}
.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}
.logo {
  font-size: 1.7rem;
  font-weight: 600;
  color: #e0a93d;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: translateY(-3px);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links li a {
  color: #eee;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #e0a93d;
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links li a:hover {
  color: #e0a93d;
}
.nav-links li a:hover::after {
  width: 100%;
}


/* Idiomas */
.lang-dropdown { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #eee;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: 110%;
  background: #0d1b2a;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  list-style: none;
  padding: 8px 0;
  min-width: 160px;
  display: none;
  z-index: 999;
}
.lang-dropdown.active .lang-menu { display: block; }
.lang-menu li {
  padding: 8px 12px;
  cursor: pointer;
  color: #eee;
}
.lang-menu li:hover { background: rgba(224, 169, 61, 0.3); }

/* Botão tema */
.theme-toggle {
  background: transparent;
  border: 2px solid #e0a93d;
  color: #e0a93d;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: 0.3s;
}
.theme-toggle:hover {
  background: #e0a93d;
  color: #0d1b2a;
}

/* Mobile */
.menu-toggle { display: none; }
@media (max-width: 768px) {
  .nav-center {
    position: absolute;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: #12263f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    width: 100%;
    padding: 20px;
    border-radius: 0;
    transition: right 0.3s ease;
  }
  .nav-center.show { 
    right: 0; 
  }
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    color: #eee;
    cursor: pointer;
  }
}

/* ==========================
   HERO — Desktop: texto+foto lado a lado, botões por baixo
========================== */
#hero {
  padding: 120px 10%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Texto + imagem lado a lado */
.hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  margin-bottom: 50px; /* espaço para os botões */
}

/* Texto */
.hero-text {
  flex: 1;
  text-align: left;
}
.hero-text h2 {
  font-size: 3rem;
  color: #e0a93d;
  margin-bottom: 15px;
  border-bottom: 2px solid #e0a93d;
  display: inline-block;
  padding-bottom: 4px;
}
.hero-text p {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.6;
  max-width: 500px;
}

/* Foto */
.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
}
.profile-frame img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(224,169,61,0.3);
}

/* ==========================
   BOTÕES (iguais e alinhados)
========================== */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.hero-buttons .btn,
.cv-dropdown .cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 240px;
  height: 68px;
  background: #e0a93d;
  color: #0d1b2a;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 16px rgba(224,169,61,0.6);
  padding: 0;
}

.hero-buttons .btn:hover,
.cv-dropdown .cv-btn:hover {
  background: #d69c2f;
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(224,169,61,0.8);
}

/* Dropdown CV */
.cv-dropdown {
  position: relative;
  display: inline-block;
}
.cv-menu {
  position: absolute;
  top: 115%;
  left: 50%;
  transform: translateX(-50%);
  background: #0d1b2a;
  border: 1px solid #e0a93d;
  border-radius: 10px;
  list-style: none;
  padding: 8px 0;
  display: none;
  min-width: 240px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  z-index: 10;
}
.cv-menu li {
  padding: 10px 15px;
  text-align: left;
}
.cv-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cv-menu li:hover {
  background: rgba(224,169,61,0.15);
}
.cv-dropdown.active .cv-menu {
  display: block;
}

/* ==========================
   MOBILE — tudo centrado e fluido
========================== */
@media (max-width: 900px) {
  #hero {
    padding: 80px 8%;
  }

  /* Texto e imagem em coluna */
  .hero-top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 25px;
  }

  /* Texto centrado */
  .hero-text {
    text-align: center;
    width: 100%;
    max-width: 90%;
  }
  .hero-text h2 {
    font-size: 2.3rem;
    margin-bottom: 10px;
  }
  .hero-text p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    max-width: 95%;
    margin: 0 auto;
  }

  /* Foto */
  .hero-img {
    justify-content: center;
  }
  .profile-frame img {
    width: 230px;
    height: 230px;
  }

  /* Botões */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: 35px;
  }

  .hero-buttons .btn,
  .cv-dropdown .cv-btn {
    width: 100%;
    max-width: 400px;
    height: 60px;
    font-size: 1.05rem;
  }

  /* 🔥 Fix: força o dropdown a ocupar 100% da largura do botão */
  .cv-dropdown {
    width: 100%;
    max-width: 400px;
  }

  /* 🔥 Fix: menu do CV ocupa a mesma largura e fica centralizado */
  .cv-menu {
    width: 100%;
    min-width: unset;
    left: 0;
    transform: none;
  }
}

/* ==========================
   SEÇÕES GERAIS
========================== */
section {
  padding: 60px 20px;
  max-width: 980px;
  margin: 0 auto;
}
section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #fff;
  border-bottom: 2px solid #e0a93d;
  display: inline-block;
  padding-bottom: 5px;
}
/* ==========================
   SOBRE
========================== */
.sobre-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 30px;
}
.sobre-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.exp-card {
  position: relative;
  padding: 20px 20px 20px 60px;
  background: #0d1b2a;
  border: 1px solid #e0a93d;
  border-radius: 10px;
  transition: 0.3s;
}
.exp-card h3 { 
  color: #e0a93d; margin-bottom: 6px; 
}
.exp-card p { 
  color: #ccc; margin-bottom: 4px; 
}
.exp-card span { 
  font-size: 0.9rem; color: #aaa; 
}
.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(224,169,61,0.4);
}
.exp-icon {
  position: absolute;
  left: 20px;
  top: 25px;
  font-size: 1.6rem;
  color: #e0a93d;
}
.sobre-right {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}
.sobre-right p { 
  margin-bottom: 15px; 
}

/* Responsividade: inverter ordem no mobile */
@media (max-width: 768px) {
  .sobre-container {
    grid-template-columns: 1fr; /* passa para 1 coluna */
  }
  .sobre-left {
    order: 1;  /* caixas primeiro */
  }
  .sobre-right {
    order: 2;  /* texto depois */
  }
}

/* ==========================
   PROJETOS
========================== */
.grid-projetos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: #0d1b2a;
  border: 1px solid #e0a93d;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(224,169,61,0.4);
}
.card h3 { 
  color: #e0a93d; margin-bottom: 10px; 
}
.card p { 
  color: #ccc;
  flex-grow: 1; 
}
.card-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.card-buttons .btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}
.card-buttons .ver-projeto {
  background: #e0a93d;
  color: #0d1b2a;
  border: none;
}
.card-buttons .ver-projeto:hover { 
  background: #d69c2f; 
}
.card-buttons .github {
  background: transparent;
  border: 1px solid #e0a93d;
  color: #e0a93d;
}
.card-buttons .github:hover {
  background: #e0a93d;
  color: #0d1b2a;
}

/* Badges de tecnologias */
.tech-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.tech-badges span {
  background: rgba(224,169,61,0.15);
  border: 1px solid #e0a93d;
  color: #e0a93d;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-badges span:hover {
  background: #e0a93d;
  color: #0d1b2a;
  cursor: default;
}

/* Mostrar badges no hover */
.card:hover .tech-badges {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   MODAL + CARROSSEL (corrigido e responsivo)
========================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.modal.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.modal-content {
  background: #0d1b2a;
  border-radius: 14px;
  padding: 20px;
  color: #fff;
  width: 80%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  position: relative;
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-content h2 { 
  margin-bottom: 10px; color: #e0a93d; 
}
.modal-content p { 
  margin-bottom: 15px; color: #ccc; 
}

/* Botão fechar */
.close {
  position: fixed;
  top: 25px;
  right: 25px;
  font-size: 2.2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 3001;
  transition: all 0.3s ease;
}
.close:hover {
  background: #e0a93d;
  color: #0d1b2a;
}

/* Carrossel */
.modal-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  position: relative;
}
.carousel-image-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.modal-carousel img,
#carousel-video {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 65vh;
  border-radius: 12px;
  object-fit: contain;
}

/* Estilo para vídeo no carrossel */
#carousel-video {
  width: 100%;
  max-width: 900px;
  height: 500px;
  border: none;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Responsivo */
@media (max-width: 768px) {
  #carousel-video {
    height: 250px;
  }
}


.carousel-caption {
  margin-top: 12px;
  font-size: 1rem;
  color: #ddd;
  font-style: italic;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #e0a93d;
  border: none;
  font-size: 2rem;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}
.carousel-btn:hover {
  background: #e0a93d;
  color: #0d1b2a;
  transform: translateY(-50%) scale(1.15);
}
.carousel-btn.prev { 
  left: 10px; 
}
.carousel-btn.next { 
  right: 10px; 
}

.carousel-dots {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.carousel-dots span {
  width: 12px;
  height: 12px;
  background: #555;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dots span.active {
  background: #e0a93d;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(224,169,61,0.7);
}

/* Responsivo */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 85vh;
    padding: 15px;
  }
  .modal-carousel img,
  #carousel-video {
    width: 100%;
    max-width: 100%;
    max-height: 50vh;
  }
  .carousel-btn {
    font-size: 1.6rem;
    padding: 8px;
  }
  .carousel-btn.prev { 
    left: 5px; 
  }
  .carousel-btn.next { 
    right: 5px; 
  }
  .close {
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    font-size: 1.8rem;
  }
}

/* ==========================
   COMPETÊNCIAS
========================== */
#competencias h3 {
  margin: 30px 0 20px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #e0a93d;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.ides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 25px;
}
.skill {
  width: 110px;
  height: 110px;
  background: linear-gradient(145deg, #0f2236, #0b1929);
  border: 1px solid rgba(224,169,61,0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.skill img {
  max-width: 65%;
  max-height: 65%;
  object-fit: contain;
  transition: transform 0.3s ease;
  z-index: 2;
}
.skill::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(224, 169, 61, 0.1);
  transform: rotate(25deg);
}
.skill:hover {
  transform: translateY(-8px) scale(1.07);
  border-color: #e0a93d;
  box-shadow: 0 10px 20px rgba(224,169,61,0.25);
}
.skill:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(224,169,61,0.7));
}

/* ==========================
   CONTACTO
========================== */
#contacto {
  padding: 60px 20px;
  max-width: 980px;
  margin: 0 auto;
}

#contacto h2 {
  margin-bottom: 25px;
  font-size: 2rem;
  color: #fff;
  text-align: left;
}

#contacto p {
  color: #ccc;
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: left;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #e0a93d;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid #e0a93d;
  border-radius: 30px;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}
.contact-email i {
  font-size: 1.2rem;
}
.contact-email:hover {
  background: #e0a93d;
  color: #0d1b2a;
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(224,169,61,0.5);
}

/* Redes sociais */
.socials {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}
.socials a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #e0a93d;
  color: #e0a93d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.socials a:hover {
  background: #e0a93d;
  color: #0d1b2a;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 0 10px rgba(224,169,61,0.6);
}

/* Mobile */
@media (max-width: 600px) {
  .contact-email {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
  }
  .socials {
    justify-content: center;
  }
}

/* ==========================
   FOOTER
========================== */
footer {
  background: #0b1929;
  border-top: 2px solid #e0a93d;
  margin-top: 60px;
  color: #ccc;
  font-size: 0.95rem;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.footer-about h3 { 
  color: #e0a93d; margin-bottom: 10px; 
}
.footer-about p { 
  color: #bbb; line-height: 1.6; 
}
.footer-links h4,
.footer-contact h4 { 
  color: #e0a93d; margin-bottom: 15px; 
}
.footer-links ul { 
  list-style: none; padding: 0; 
}
.footer-links ul li { 
  margin-bottom: 8px; 
}
.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links ul li a:hover { 
  color: #e0a93d; 
}
.footer-contact p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bbb;
}
.footer-contact i { 
  color: #e0a93d; 
}
.footer-socials {
  margin-top: 12px;
  display: flex;
  gap: 15px;
}
.footer-socials a {
  color: #e0a93d;
  font-size: 1.3rem;
  transition: transform 0.3s, color 0.3s;
}
.footer-socials a:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.1);
}
.footer-bottom {
  text-align: center;
  padding: 15px;
  border-top: 1px solid rgba(224,169,61,0.3);
  background: #091523;
  color: #888;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-contact p { justify-content: center; }
  .footer-socials { justify-content: center; }
}

/* ==========================
   Floating Menu
========================== */
.floating-menu {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: none;
}

.menu-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.menu-btn:hover {
  background: var(--accent-color);
  transform: rotate(90deg) scale(1.1);
}

/* container dos links */
.menu-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  position: absolute;
  bottom: 70px;
  right: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* cada link */
.menu-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 30, 30, 0.9); /* fundo escuro opaco */
  color: #fff;
  padding: 10px 14px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.3s ease;
  backdrop-filter: blur(6px);
}

.menu-links a:hover {
  background: var(--hover-bg-color);
  transform: translateX(-3px);
}

.menu-links a i {
  font-size: 16px;
}

.menu-links.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Responsivo */
@media (max-width: 768px) {
  .menu-btn {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
  .menu-links a {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* ==========================
   ANIMAÇÕES AO SCROLL
========================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================
   LIGHT MODE
========================== */
body.light { 
  background: #fff; color: #0d1b2a; 
}
body.light .navbar { 
  background: rgba(255,255,255,0.9); 
}
body.light .navbar.scrolled { 
  background: #fff; 
}
body.light .logo { 
  color: #0d1b2a; 
}
body.light .lang-btn { 
  color: #0d1b2a; 
}
body.light .lang-menu { 
  background: #fff; border: 1px solid #0d1b2a; 
}
body.light .lang-menu li { 
  color: #0d1b2a; 
}
body.light .lang-menu li:hover { 
  background: rgba(13, 27, 42, 0.1); 
}
body.light .nav-center { 
  background: #fff; 
}
body.light .nav-links li a { 
  color: #0d1b2a; 
}
body.light .nav-links li a:hover { 
  color: #e0a93d; 
}
body.light .menu-toggle { 
  color: #0d1b2a; 
}
body.light .nav-links li a::after { 
  background: #0d1b2a; 
}
body.light .cv-menu {
  background: #fff;
  border: 1px solid #0d1b2a;
}
body.light .cv-menu li a {
  color: #0d1b2a;
}
body.light .cv-menu li:hover {
  background: rgba(13, 27, 42, 0.08);
}
body.light section h2 { 
  color: #0d1b2a; border-bottom: 2px solid #e0a93d; 
}
body.light .card { 
  background: #fff; border: 1px solid #0d1b2a; 
}
body.light .card h3 { 
  color: #0d1b2a; }
body.light .card p { color: #333; 
}
body.light .card-buttons .ver-projeto,
body.light .card-buttons .github { 
  border: 1px solid #0d1b2a; 
}
body.light .skill { 
  background: #fff; border: 1px solid #0d1b2a; 
}
body.light #contacto h2 { 
  color: #0d1b2a; 
}
body.light #contacto p { 
  color: #333; 
}
body.light footer { 
  background: #fff; border-top: 1px solid #0d1b2a; color: #0d1b2a; 
}
body.light .modal-content { 
  background: #fff; border: 2px solid #0d1b2a; color: #0d1b2a; 
}
body.light .modal-content h2 { 
  color: #0d1b2a; 
}
body.light .modal-content p { 
  color: #333; 
}
body.light .close { 
  background: #0d1b2a; color: #fff; 
}
body.light .close:hover { 
  background: #e0a93d; color: #0d1b2a; 
}
body.light #hero { 
  background: #fff; 
}
body.light .hero-text h2 { 
  color: #0d1b2a; 
}
body.light .hero-text h2 span { 
  color: #e0a93d; 
}
body.light .hero-text p { 
  color: #333; 
}
body.light .hero-buttons .btn { 
  background: #0d1b2a; color: #fff; 
}
body.light .hero-buttons .btn:hover { 
  background: #e0a93d; color: #0d1b2a; 
}
body.light .exp-card { 
  background: #fff; border: 1px solid #0d1b2a; 
}
body.light .exp-card h3 { 
  color: #0d1b2a; 
}
body.light .exp-card p { 
  color: #333; 
}
body.light .exp-card span { 
  color: #555; 
}
body.light .exp-icon { 
  color: #0d1b2a; 
}
body.light .sobre-right { 
  color: #333; 
}
body.light .menu-btn { 
  background: #0d1b2a; 
  color: #fff; 
}