:root {
  --primary: #A100FF;       /* Roxo Accenture */
  --secondary: #000000;     /* Preto */
  --light-bg: #F2F2F2;      /* Cinza claro */
  --white: #FFFFFF;
  --radius: 8px;
  --transition: 0.3s ease;
}

/* ------------------ NAVBAR ------------------ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--light-bg);
  padding: 1rem 5%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

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

.logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--secondary);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

/* Ajuste do topo das seções por conta da navbar fixa */
section {
  scroll-margin-top: 80px;
}

/* ------------------ RESET E BASE ------------------ */

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

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--light-bg);
  color: var(--secondary);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #5E00B9;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* ------------------ HERO (NOVA VERSÃO) ------------------ */

.hero {
  display: flex;
  align-items: center;
  margin-top: 80px;
  justify-content: space-between;
  padding: 4rem 5%;
  background-color: #000000;
  color: var(--secondary);
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #fff;
}

.hero-skills {
  font-size: 1rem;
  color: #667;
  margin-bottom: 1.5rem;
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-img {
  filter: brightness(0.9);
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-img:hover {
  transform: scale(1.05); ;
  border: #000;
}

.hero-icons {
  filter: invert(100%);
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-icons a img {
  width: 64px;
  height: 64px;
  transition: transform var(--transition), filter var(--transition);
}

.hero-icons a:hover img {
  transform: scale(1.5);
  filter: brightness(1.5);
}

/* ---------- RESPONSIVO PARA TELAS PEQUENAS ---------- */

@media (max-width: 768px) {
  .hero-left {
    max-width: 50%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-img {
    max-width: 200px;
    margin: 0 auto;
  }

  .hero-img:hover {
    transform: scale(1.05); ;
    border: #000;
  }

  .hero-icons {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.8rem;
    gap: 0.8rem;
  }

  .hero-icons a img {
    width: 30px;
    height: 30px;
  }
}

/* ------------------ BOTÕES ------------------ */

.btn,
.btn-hero {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: background-color var(--transition), transform var(--transition);
}

.btn:hover,
.btn-hero:hover {
  background-color: #5E00B9;
  color: #667; /* força o texto a permanecer visível */
  transform: translateY(-5px);
}

/* ------------------ HEADER ------------------ */

header {
  text-align: center;
  padding: 4rem 0 2rem;
}

header h1 {
  font-size: 2.8rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  color: #333;
}

/* ------------------ SEÇÕES GERAIS ------------------ */

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* ------------------ PROJETOS ------------------ */

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.project-card a {
  font-size: 1.1rem;
  font-weight: bold;
}

.project-card p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #666;
}

/* ---------- CONTATO (FORMULÁRIO) ---------- */
.contact-section {
  background-color: #000;
  width: 100vw;           
  padding: 4rem 5%;
  display: flex;
  justify-content: center;
}


.contact-container {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 4px 8px 0 rgba(0, 0, 0, 0.6);
  max-width: 600px;
  width: 100%;
  box-shadow: none;
}

.contact-container h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: flex-end;
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
  background-color: #5E00B9;
  transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }

  .contact-container {
    padding: 1.5rem;
  }
}


/* ------------------ FOOTER ------------------ */

footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #888;
}


/* ------------------ ANIMAÇÕES AO ROLAR ------------------ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 0.8s ease forwards;
}

.projects.animate-on-scroll {
  animation-delay: 0.2s;
}

.contact-section.animate-on-scroll {
  animation-delay: 0.4s;
}

