* {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #1f2937;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background: rgba(153, 173, 240, 0.726); /* leve transparência */
  backdrop-filter: blur(10px); /* efeito glass */
  height: 75px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
}

nav ul li a {
  position: relative;
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  top: 20px;
}

/* underline animado */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #0400ff;
}

nav ul li a:hover::after {
  width: 100%;
}

section.hero {
  position: relative;
  width: 100%;
  height: 85vh; /* Hero ocupa só 80% da altura da tela */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Vídeo de fundo */
.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 2rem;
  max-width: 600px;
}

.perfil-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn-contato {
  background-color: #6366f1;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
  display: inline-block;
}

.btn-contato:hover {
  background-color: transparent;
  border: white 2px solid;
  border-radius: 5px;
}

section.sobre,
section.tecnologias,
section.projetos,
section.contato {
  padding: 4rem 2rem;
  background-color: #f5f0f0;
}

section.tecnologias {
  background-color: #f5f0f0;
}

section h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.sobre-flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.sobre-flex img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tecnologias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.tecnologia-item {
  text-align: center;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.tecnologia-item:hover {
  transform: translateY(-5px);
}

.tecnologia-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 0.5rem;
}

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

.projeto-card {
  background: #d4d4d4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.projeto-card:hover {
  transform: translateY(-5px);
}

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

.projeto-card .conteudo {
  padding: 1rem;
}

.projeto-card h4 {
  margin-bottom: 0.5rem;
}

.contato-flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.contato-info {
  font-size: 1.1rem;
}

.contato-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

form button {
  background-color: #6366f1;
  color: white;
  padding: 0.75rem;
  width: 100%;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #2529a0;
}

footer {
  background-color: #2f2f44;
  color: #cbd5e0;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #cbd5e0;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #4d50ff;
  transform: translateY(-3px);
}

.copyright {
  margin-top: 2rem;
  text-align: center;
  color: #718096;
  border-top: 1px solid #2d3748;
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .sobre-flex {
    flex-direction: row;
    text-align: left;
  }

  .sobre-flex div {
    max-width: 600px;
  }

  .contato-flex {
    flex-direction: row;
    justify-content: space-between;
  }
}

.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}
