:root {
  --dark-bg: #121212;
  --darker: #0a0a0a;
  --accent: #00ff88;
  --text: #e0e0e0;
  --text-secondary: #b0b0b0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'JetBrains Mono', monospace, sans-serif;
}
.secao-texto,
h1, h2, h3,
.project-card p,
.project-card h3,
.logo-text {
  cursor: default;
  user-select: none;
}

body {
  background: var(--dark-bg);
  color: var(--text);
  line-height: 1.6;
}
header {
  background: var(--darker);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
    #mensagem {
      margin-left: 10px;
      font-weight: bold;
    }
#matrix-canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 100vh;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08; /* bem leve para não roubar atenção */
}
.btn-outline:hover {
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}

.hero {
  position: relative;
  z-index: 1;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-items: center;
  gap: 30px;
}
section {
  padding: 80px 5%;
  max-width: 1200px;
  margin: auto;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo-img {
  height: 60px;
  border-radius: 6px;
  background-color: white;
  padding: 2px;
}
.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--accent), #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
  background: radial-gradient(circle at 75% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%), var(--dark-bg);
}
.hero-content {
  max-width: 800px;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero h1 span {
  color: var(--accent);
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  min-height: 2.5em;
}
.btn {
  background: transparent;
  color: var(--accent);
  padding: 12px 30px;
  border: 2px solid var(--accent);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}
.btn:hover {
  background: var(--accent);
  color: var(--dark-bg);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}
.btn-outline {
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
}
.btn-outline:hover {
  background: rgba(0, 255, 136, 0.1);
}
.cta-container {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}
.projects {
  padding: 100px 5%;
  background: var(--darker);
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
}
.section-title span {
  color: var(--accent);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}
.project-card {
  background: rgba(30, 30, 30, 0.5);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}
.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-info {
  padding: 20px;
}
.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.project-info p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}
.tech-pill {
  display: inline-block;
  background: rgba(0, 255, 136, 0.2);
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-left: 8px;
}
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
  list-style: none;
}
.tech-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
}
.project-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-right: 25px;
  transition: all 0.3s;
}
.project-link::after {
  content: '→';
  position: absolute;
  right: 0;
  opacity: 0;
  transition: all 0.3s;
}
.project-link:hover {
  color: var(--accent);
  padding-right: 35px;
}
.project-link:hover::after {
  opacity: 1;
  right: -5px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.metric-card {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.perfil-foto-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.perfil-foto {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #39b54a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
footer {
  background: var(--darker);
  padding: 50px 5% 30px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-logo-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 200px; /* opcional: ajusta o tamanho da logo */
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}
.social-links a {
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: color 0.3s;
}
.social-links a:hover {
  color: var(--accent);
}
.newsletter {
  max-width: 500px;
  margin: 30px auto;
}
.newsletter h3 {
  margin-bottom: 15px;
}
.newsletter form {
  display: flex;
  gap: 10px;
}
.newsletter input {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: white;
}
.newsletter button {
  background: var(--accent);
  color: var(--dark-bg);
  border: none;
  padding: 0 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .cta-container { flex-direction: column; }
  .newsletter form { flex-direction: column; }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding: 0 5%;
  justify-items: center;
}

.skill-bar-container {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  overflow: hidden;
  height: 12px;
  margin: 10px 0;
}

.skill-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.6s ease-in-out;
}

.skill-percent {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: right;
}

/* Responsivo */
@media (max-width: 1000px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}


