/* ===== VARIÁVEIS E RESET ===== */
:root {
  --bg-dark: #161b22; /* Fundo muito escuro (quase preto) */
  --bg-secondary: #0d1117; /* Fundo para detalhes */
  --accent: #ff6b6b; /* Coral/Laranja da imagem */
  --text-main: #ffffff;
  --text-muted: #8b949e;
  --font-main: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background-color: transparent;
  position: absolute; /* Header flutuante */
  width: 100%;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}
.logo span {
  color: var(--text-muted);
} /* Omega/Batista em cinza */

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh; /* Ocupa a tela toda */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  padding-top: 80px; /* Compensar header */
  position: relative;
}

/* Lado Esquerdo (Texto) */
.hero-content {
  max-width: 500px;
}

.greeting {
  font-size: 2.5rem; /* Hello grande */
  font-weight: 700;
  display: block;
}
.greeting .dot {
  color: var(--accent);
}

.hero-content h1 {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: -10px;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin: 10px 0 30px 0;
  background: -webkit-linear-gradient(#fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botões */
.hero-btns {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px; /* Cantos levemente arredondados como na img */
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--accent);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #30363d;
}
.btn-outline:hover {
  border-color: var(--text-main);
}

/* Lado Direito (Imagem Circular) */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-circle-container {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid #1f252e; /* Borda escura grossa */
  box-shadow: 0 0 50px rgba(255, 107, 107, 0.2); /* Brilho laranja sutil */
  position: relative;
  z-index: 2;
  animation: flutuar 6s ease-in-out infinite; /* Animação de flutuação */
}

.img-circle-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* O anel brilhante atrás da foto */
.hero-image::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 107, 0.3); /* Anel fino laranja */
  z-index: 1;
}

.decor-arrow {
  position: absolute;
  font-size: 3rem;
  color: #30363d;
  z-index: 0;
}
.decor-1 {
  top: 0;
  left: -50px;
}
.decor-2 {
  bottom: 0;
  right: -50px;
}

/* ===== TECH STRIP (Barra de Skills) ===== */
.tech-strip {
  background-color: #0f1319; /* Um pouco mais escuro que o fundo */
  padding: 25px 8%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid #30363d;
  border-bottom: 1px solid #30363d;
}

.tech-item {
  color: #4b5563;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  transition: 0.3s;
  cursor: default;
}

.tech-item:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 8%;
  background-color: var(--bg-dark);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Lado Esquerdo: Serviços com Linha */
.about-services {
  position: relative;
  padding-left: 40px; /* Espaço para a linha */
}

/* Linha Vertical Laranja */
.vertical-line {
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
}

/* Bolinhas na linha */
.service-item::before {
  content: "";
  position: absolute;
  left: -44px; /* Alinha com a linha vertical */
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.icon-box {
  font-size: 1.5rem;
  color: var(--text-main);
  background-color: #21262d;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #30363d;
}

.service-item h4 {
  font-weight: 500;
  font-size: 1.1rem;
}

/* Lado Direito: Texto */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.stats-grid {
  display: flex;
  gap: 50px;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--text-main);
}
.stat-item strong::after {
  content: "+";
  color: var(--accent);
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: #0d1117;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  color: #fff;
  font-size: 1.5rem;
  margin: 20px 0;
  text-decoration: none;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
    gap: 50px;
    padding-top: 120px;
  }

  .hero-content {
    max-width: 100%;
  }
  .hero-btns {
    justify-content: center;
  }

  .img-circle-container {
    width: 280px;
    height: 280px;
  }
  .hero-image::before {
    width: 320px;
    height: 320px;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: block;
    color: #fff;
  }
  .navbar {
    display: none;
  }

  .tech-strip {
    justify-content: center;
    gap: 20px;
  }
} /* ===== VARIÁVEIS E RESET ===== */
:root {
  --bg-dark: #161b22; /* Fundo muito escuro (quase preto) */
  --bg-secondary: #0d1117; /* Fundo para detalhes */
  --accent: #ff6b6b; /* Coral/Laranja da imagem */
  --text-main: #ffffff;
  --text-muted: #8b949e;
  --font-main: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background-color: transparent;
  position: absolute; /* Header flutuante */
  width: 100%;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}
.logo span {
  color: var(--text-muted);
} /* Omega/Batista em cinza */

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh; /* Ocupa a tela toda */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  padding-top: 80px; /* Compensar header */
  position: relative;
}

/* Lado Esquerdo (Texto) */
.hero-content {
  max-width: 500px;
}

.greeting {
  font-size: 2.5rem; /* Hello grande */
  font-weight: 700;
  display: block;
}
.greeting .dot {
  color: var(--accent);
}

.hero-content h1 {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: -10px;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin: 10px 0 30px 0;
  background: -webkit-linear-gradient(#fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botões */
.hero-btns {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px; /* Cantos levemente arredondados como na img */
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--accent);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #30363d;
}
.btn-outline:hover {
  border-color: var(--text-main);
}

/* Lado Direito (Imagem Circular) */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-circle-container {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid #1f252e; /* Borda escura grossa */
  box-shadow: 0 0 50px rgba(255, 107, 107, 0.2); /* Brilho laranja sutil */
  position: relative;
  z-index: 2;
}

.img-circle-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* O anel brilhante atrás da foto */
.hero-image::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 107, 0.3); /* Anel fino laranja */
  z-index: 1;
}

.decor-arrow {
  position: absolute;
  font-size: 3rem;
  color: #30363d;
  z-index: 0;
}
.decor-1 {
  top: 0;
  left: -50px;
}
.decor-2 {
  bottom: 0;
  right: -50px;
}

/* ===== TECH STRIP (Barra de Skills) ===== */
.tech-strip {
  background-color: #0f1319; /* Um pouco mais escuro que o fundo */
  padding: 25px 8%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid #30363d;
  border-bottom: 1px solid #30363d;
}

.tech-item {
  color: #4b5563;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  transition: 0.3s;
  cursor: default;
}

.tech-item:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 8%;
  background-color: var(--bg-dark);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Lado Esquerdo: Serviços com Linha */
.about-services {
  position: relative;
  padding-left: 40px; /* Espaço para a linha */
}

/* Linha Vertical Laranja */
.vertical-line {
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
}

/* Bolinhas na linha */
.service-item::before {
  content: "";
  position: absolute;
  left: -44px; /* Alinha com a linha vertical */
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.icon-box {
  font-size: 1.5rem;
  color: var(--text-main);
  background-color: #21262d;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #30363d;
}

.service-item h4 {
  font-weight: 500;
  font-size: 1.1rem;
}

/* Lado Direito: Texto */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.stats-grid {
  display: flex;
  gap: 50px;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--text-main);
}
.stat-item strong::after {
  content: "+";
  color: var(--accent);
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: #0d1117;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  color: #fff;
  font-size: 1.5rem;
  margin: 20px 0;
  text-decoration: none;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
    gap: 50px;
    padding-top: 120px;
  }

  .hero-content {
    max-width: 100%;
  }
  .hero-btns {
    justify-content: center;
  }

  .img-circle-container {
    width: 280px;
    height: 280px;
  }
  .hero-image::before {
    width: 320px;
    height: 320px;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: block;
    color: #fff;
  }
  .navbar {
    display: none;
  }

  .tech-strip {
    justify-content: center;
    gap: 20px;
  }
}

/* ===== SEÇÃO PROJETOS ===== */
.projects-section {
  padding: 100px 8%;
  background-color: var(--bg-dark);
}

.section-title .dot {
  color: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card {
  background-color: var(--bg-secondary);
  border: 1px solid #30363d;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent); /* Borda laranja ao passar o mouse */
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .card-image img {
  transform: scale(1.1);
}

.card-info {
  padding: 25px;
}

.category {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.card-info h3 {
  margin: 10px 0;
  font-size: 1.4rem;
  color: var(--text-main);
}

.card-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-links {
  display: flex;
  gap: 15px;
}

.link-btn {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.link-btn:hover {
  color: var(--accent);
}

.link-github {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.link-github:hover {
  color: var(--text-main);
}

/* ===== SEÇÃO CONTATO ===== */
.contact-section {
  padding: 100px 8%;
  background-color: #0f1319; /* Levemente diferente do fundo principal */
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.info-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Formulário Moderno */
.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--bg-secondary);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #30363d;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid #30363d;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group textarea {
  resize: vertical;
}

/* Efeito do Label Flutuante */
.form-group label {
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--text-muted);
  pointer-events: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
}

.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: -20px;
  font-size: 0.8rem;
  color: var(--accent);
}

/* ===== RODAPÉ ===== */
.footer {
  background-color: var(--bg-secondary);
  padding: 40px 8%;
  border-top: 1px solid #30363d;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-left: 20px;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: var(--accent);
}

/* Ajuste Responsivo para o Rodapé */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-socials a {
    margin: 0 10px;
  }
}

/* ===== FUNDO ANIMADO (PARTICLES) ===== */
#particles-js {
  position: fixed; /* Fica fixo na tela enquanto rola */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--bg-dark); /* Mantém sua cor de fundo original */
  z-index: -1; /* Joga para trás de tudo */
}

/* Garante que o conteúdo fique na frente */
.hero, .header, .about-section, .projects-section, .contact-section, .footer {
  position: relative; 
  z-index: 1;
}

/* ===== ANIMAÇÃO DE FLUTUAÇÃO ===== */
@keyframes flutuar {
  0% {
    transform: translateY(0px) rotate(0deg);
    box-shadow: 0 0 50px rgba(255, 107, 107, 0.2);
  }
  50% {
    /* Sobe e gira levemente (3 graus) */
    transform: translateY(-20px) rotate(3deg);
    box-shadow: 0 25px 70px rgba(255, 107, 107, 0.4);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
    box-shadow: 0 0 50px rgba(255, 107, 107, 0.2);
  }
}

/* CORREÇÃO DO BOTÃO DE ENVIAR */
button.btn {
  cursor: pointer; /* Aparece a mãozinha ao passar o mouse */
  font-family: var(--font-main); /* Usa a mesma fonte do site (Poppins) */
  font-size: 1rem;
  display: inline-block;
  margin-top: 10px;
}