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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden; 
}


body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background: #0b2136;
  color: #e0e0e0;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(20, 34, 62, 0.9);
  backdrop-filter: blur(6px);
  padding: 12px 30px;
  border-bottom: 2px solid #273d39;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #89aba5;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
  color: #efefef;
  text-shadow: 0 0 8px #cbf0c8;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-center img {
  width: 42px;
  height: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.btn-cv {
  background: linear-gradient(135deg, #00ffcc, #8a2be2);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cv:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px #8a2be2;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(20, 34, 62, 0.98);
  backdrop-filter: blur(6px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  z-index: 1000;
}

.mobile-menu a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu.active {
  display: flex;
}

@media (max-width: 768px) {
  .nav-links, .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

section {
  padding: 120px 20px;
  min-height: 100vh;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; 
  height: 100vh;
  background: #0b2136;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1; 
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 8vw, 5.5rem); 
  font-weight: 700;
  color: #cbf0c8;
  text-shadow: 0 0 12px rgba(0, 255, 204, 0.6);
  margin: 0;
  text-align: center;
  white-space: nowrap; 
}

.cinza1,
.cinza2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #89aba5;
  text-shadow: 0 0 8px rgba(138, 43, 226, 0.4);
}

.hero h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  color: #89aba5;
  text-shadow: 0 0 8px rgba(138, 43, 226, 0.4);
  margin: 0;
  text-align: center;
}

@media (min-width: 769px) {
  .hero h2 br {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    line-height: 1.4;
  }
  .hero h2 br {
    display: inline;
  }
}

.scroll-down {
  position: absolute;
  bottom: 40px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none; 
  z-index: 2; 
}


.scroll-down span {
  display: block;
  width: 18px;
  height: 18px;
  border-bottom: 3px solid #cbf0c8; 
  border-right: 3px solid #cbf0c8;
  transform: rotate(45deg);
  animation: scrollBlink 1.5s infinite;
  opacity: 0.6;
}

.scroll-down span:nth-child(2) {
  animation-delay: 0.3s;
}
.scroll-down span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes scrollBlink {
  0% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: rotate(45deg) translateY(6px);
    opacity: 1;
  }
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.2;
  }
}

.sobre {
  padding: 80px 20px; 
  background: #0d243a;
  color: #e0e0e0;
  min-height: auto; 
}


.sobre-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sobre-imagem img {
  width: 300px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 16px rgba(0,255,204,0.3);
}

.sobre-texto {
  flex: 1;
}

.sobre-texto h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #cbf0c8;
  text-shadow: 0 0 8px rgba(0,255,204,0.5);
}

.sobre-texto p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #cbd4de;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.skills span {
  background: #1f3f5b;
  color: #89aba5;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.skills span:hover {
  background: #00ffcc;
  color: #0b2136;
}


.projetos {
  padding: 100px 20px;
  background: #0b2136;
  color: #e0e0e0;
  text-align: center;
}

.projetos-header h2 {
  font-size: 2.8rem;
  color: #cbf0c8;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
  margin-bottom: 10px;
}

.projetos-header p {
  font-size: 1.2rem;
  color: #89aba5;
  margin-bottom: 50px;
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.projeto-card {
  background: #162b45;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,255,204,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.projeto-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.projeto-info {
  padding: 20px;
  text-align: left;
}

.projeto-info h3 {
  margin: 15px 0 10px;
  font-size: 1.3rem;
  color: #cbf0c8;
}

.projeto-info p {
  font-size: 1rem;
  color: #cbd4de;
  line-height: 1.5;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: #1f3f5b;
  color: #89aba5;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  transition: background 0.3s, color 0.3s;
}

.tags span:hover {
  background: #00ffcc;
  color: #0b2136;
}

.projeto-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 18px rgba(0,255,204,0.3);
}

.projeto-info a {
  display: inline-block;
  margin-top: 15px;
  background: linear-gradient(135deg, #00ffcc, #8a2be2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.projeto-info a:hover {
  transform: scale(1.08);
  box-shadow: 0 0 12px #8a2be2;
}

.contato {
  padding: 40px 20px;
  background: #0d243a;
  color: #e0e0e0;
  text-align: center;
  min-height: auto;
}

.contato-header h2 {
  font-size: 2.8rem;
  color: #cbf0c8;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
  margin-bottom: 10px;
}

.contato-header p {
  font-size: 1.2rem;
  color: #89aba5;
  margin-bottom: 50px;
}

.contato-container {
  max-width: 800px;
  margin: 0 auto;
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contato-form input,
.contato-form textarea {
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #162b45;
  color: #e0e0e0;
  font-size: 1rem;
}

.contato-form input::placeholder,
.contato-form textarea::placeholder {
  color: #89aba5;
}

.btn-enviar {
  background: linear-gradient(135deg, #00ffcc, #8a2be2);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-enviar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 14px #8a2be2;
}

.contato-redes {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.contato-redes a {
  font-size: 2rem;
  color: #89aba5;
  transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
}

.contato-redes a:hover {
  color: #00ffcc;
  text-shadow: 0 0 10px #00ffcc;
  transform: scale(1.2);
}

footer {
  padding: 20px 30px;
  border-top: 2px solid #273d39;
  font-size: 1rem;
  color: #cbd4de;
  text-align: center;
  width: 100%;
  background: rgba(20, 34, 62, 0.9);
  backdrop-filter: blur(6px);
}


footer a {
  color: #00ffcc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, text-shadow 0.3s;
}

footer a:hover {
  color: #efefef;
  text-shadow: 0 0 8px #cbf0c8;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1100;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none; 
  animation: pulse-whatsapp 1.8s infinite; 
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  background: #1ebe5d;
}

@keyframes pulse-whatsapp {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

