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

:root {
  --bg: #050505;
  --text: #f5f5f5;
  --muted: #b3b3b3;
  --red: #ff004d;
  --purple: #a200ff;
  --blue: #00e0ff;
  --radius: 16px;
  --shadow: 0 0 20px rgba(0,0,0,0.6);
}

body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, var(--red), var(--purple), var(--blue), var(--red));
  animation: spin 20s linear infinite;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

header {
  background: (from 0deg, var(--red), var(--purple), var(--blue), var(--red));
  backdrop-filter: blur(8px);
  padding: 5px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 a {
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(90deg, var(--red), var(--purple), var(--blue));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
header .logo img {
  height: 100px;
  width: 115px;
  display: block;    
}
.menu ul {
  display: flex;
  gap: 25px;
}
.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  position: relative;
}
.menu a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg,var(--red),var(--purple),var(--blue));
  transition: 0.3s;
  margin-top: 3px;
}
.menu a:hover { color: #fff; }
.menu a:hover::after { width: 100%; }

.Hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 60px 10%;
  background: radial-gradient(circle at top left, #0a0a0a, #050505);
  position: relative;
  overflow: hidden;
}
.Hero a{
  background: linear-gradient(90deg,var(--red),var(--purple),var(--blue));
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
  color: #fff;
  display: inline-block;
  margin-top: 6px;
  padding: 15px;
  border-radius: var(--radius);
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: 0.4s;
  transform-style: preserve-3d;
}
.Hero a:hover {
  transform: translateY(-8px) rotate3d(1,1,0,6deg);
  box-shadow: 0 0 25px var(--purple);
}
.Hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, var(--red), var(--purple), var(--blue), var(--red));
  animation: spin 20s linear infinite;
  opacity: 0.2;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.Hero-text {
  z-index: 2;
  max-width: 500px;
}
.Hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 15px;
}
.Hero-text span {
  background: linear-gradient(90deg, var(--red), var(--purple), var(--blue));
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.Hero-text h2 {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 25px;
}
.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--purple), var(--blue));
  box-shadow: 0 0 15px var(--purple);
  transition: 0.3s;
}
.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--blue);
}

.Hero-image {
  z-index: 2;
}
.Hero-image img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 4px solid var(--blue);
  box-shadow: 0 0 25px var(--blue), 0 0 50px var(--purple);
  transition: 0.5s;
}
.Hero-image img:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 40px var(--red), 0 0 70px var(--blue);
}

section {
  padding: 80px 10%;
  position: relative;
  z-index: 2;
}
section h1 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--red), var(--purple), var(--blue));
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
section h2 {
  text-align: center;
  color: var(--muted);
  margin-bottom: 50px;
}
.Conhecimentos-icons ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px; 
  padding: 0;
  list-style: none;
}

.Conhecimentos-icons ul li {
  display: flex;
  background-color: #ffffff5e;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.Conhecimentos-icons ul li img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 10%; 
  border: 0.8px solid var(--muted);
  padding: 5px; 
}

.Conhecimentos-icons ul li img:hover {
  transform: scale(1.1);
  border-color: var(--blue); 
  opacity: 1;
}

.Sobre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.Sobre-text { max-width: 500px; }
.Sobre-text p { color: var(--muted); line-height: 1.6; }
.Sobre-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}
.icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(90deg, var(--red), var(--purple), var(--blue));
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
  transition: 0.3s;
}
.icon img {
  width: 18px;
  height: 18px;
}
.icon:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 0 20px var(--blue);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 25px;
}
.skill {
  background: #0f0f0f;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.4s;
}
.skill img { width: 50px; margin-bottom: 10px; }
.skill:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 25px var(--purple);
}

.Serviços-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.card {
  background: #0f0f0f;
  padding: 25px;
  border-radius: var(--radius);
  text-align: left;
  box-shadow: var(--shadow);
  transition: 0.4s;
  transform-style: preserve-3d;
}
.card img {
  display: block;
  margin: 0 auto 20px auto; 
  width: 70px; height: 70px;
  background-color: #fff;
  border-radius: 20%;
  padding: 10px;
  box-shadow: 0 0 15px var(--red), 0 0 15px var(--blue);
}

.card h1 { margin: 0 0 10px; font-size: 1.2rem; }
.card h2 { margin: 0 0 15px; color: var(--muted); font-size: 0.95rem; }
.card:hover {
  transform: translateY(-10px) rotate3d(1,1,0,6deg);
  box-shadow: 0 0 25px var(--red), 0 0 40px var(--blue);
}
.card button {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, var(--red), var(--blue));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.card button:hover {
  box-shadow: 0 0 20px var(--purple);
}

#contato { text-align: center; }
#contato p { color: var(--muted); margin: 6px 0; }

footer {
  background: #0a0a0a;
  text-align: center;
  padding: 20px;
  font-size: 0.4rem;
  color: var(--muted);
}
footer a { color: var(--blue); text-decoration: none; }

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.reveal-init {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.2,.9,.2,1), transform 700ms cubic-bezier(.2,.9,.2,1);
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.neon-active {
  animation: neonPulse 900ms ease-in-out;
  box-shadow: 0 8px 28px rgba(162,0,255,0.12), 0 0 40px rgba(0,224,255,0.08);
  transform: translateY(-4px);
}
@keyframes neonPulse {
  0% { box-shadow: 0 4px 20px rgba(162,0,255,0.06); }
  50% { box-shadow: 0 12px 48px rgba(255,0,77,0.18), 0 0 80px rgba(0,224,255,0.14); transform: translateY(-6px); }
  100% { box-shadow: 0 6px 26px rgba(162,0,255,0.08); transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles { display: none !important; }
  .reveal-init, .reveal-visible { transition: none !important; transform:none !important; opacity:1 !important; }
  .card, .cta { transition: none !important; transform:none !important; }
}

@media (max-width: 768px) {
  .Hero { flex-direction: column; text-align: center; }
  .Hero-text { max-width: 100%; }
  .Hero-image { margin-top: 30px; }
  .Sobre { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  header .logo img {
    max-width: 120px;
  }
}

