/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
 cursor: url('images/GENESISLOGO.png') 10 10, auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease;
  background: rgba(15, 15, 20, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.3);
}

.navbar .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 35px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* LINKS */

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links li a {
  color: #dcdcdc;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #0e39f8, #00e0ff);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: #fff;
}

/* EFEITO SCROLL */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px);
}


/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  background: url('images/fundo.jpg') no-repeat center center/cover;
  padding-left: 8%;
}

/* Overlay suave opcional */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

/* ===== TÍTULO ===== */
.hero-title {
  display: inline-block;
  font-size: 2.rem;
  background: linear-gradient(90deg, #ffffff, #4879ff, #00f0ff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 4s ease infinite, revealText 1.8s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

/* Garante que o efeito não afete as palavras destacadas */
.hero-title .highlight {
  background: #3d5aff;
  color: #fff;
  padding: 0 8px;
  border-radius: 6px;
  font-weight: 800;
  display: inline-block;
  transform: skew(-5deg);
  box-shadow: 0 0 20px rgba(0, 255, 178, 0.25);
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

/* Animação de gradiente */
@keyframes gradientMove {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

/* Animação de entrada */
@keyframes revealText {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(10px);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.highlight {
  background: #3d5aff;
  color: #ffffff;
  padding: 0 8px;
  border-radius: 6px;
  font-weight: 800;
  display: inline-block;
  transform: skew(-5deg);
  box-shadow: 0 0 20px rgba(0, 255, 178, 0.25);
}


/* ===== SUBTÍTULO ===== */
.hero-subtitle {
  font-size: 1rem;
  color: #d8d8d8;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 550px;
}

/* ===== BOTÃO ===== */
.btn-hero {
  display: inline-block;
  margin-top: 2.8rem;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #0e39f8, #4879ff);
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: all 0.6s ease;
}

.btn-hero:hover::before {
  left: 120%;
}

.btn-hero:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.6);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ===== SERVIÇOS ===== */
.servicos {
  background: url('images/fundo2.jpg') no-repeat center center/cover;
  padding: 9rem 8%;
  position: relative;
  overflow: hidden;
}

.titulo-servicos {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 5rem;
  background: linear-gradient(90deg, #ffffff, #3d5aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 6s ease infinite;
}

.titulo-servicos span {
  color: #3d5aff;
}

/* ===== GRID ===== */
.painel-servicos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  perspective: 1000px;
}

.bloco {
  position: relative;
  width: 300px;
  height: 320px;
  background: #1b1788;
  border: 1px solid rgba(61, 90, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(61, 90, 255, 0.15);
  backdrop-filter: blur(15px);
  transition: transform 0.6s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: hidden;
}

.bloco1{
  position: relative;
  width: 300px;
  height: 320px;
  background: #0e0b5c;
  border: 1px solid rgba(61, 90, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(61, 90, 255, 0.15);
  backdrop-filter: blur(15px);
  transition: transform 0.6s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: hidden;
}

.bloco::before {
  content: attr(data-title);
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  transition: all 0.3s ease;
}

.bloco1::before {
  content: attr(data-title);
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  transition: all 0.3s ease;
}

.bloco::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(61, 90, 255, 0.15), transparent 70%);
  z-index: 0;
  transition: opacity 0.4s ease;
}
.bloco1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(61, 90, 255, 0.15), transparent 70%);
  z-index: 0;
  transition: opacity 0.4s ease;
}

/* Ícone flutuante */
.bloco i {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 1.8rem;
  color: #3d5aff;
  opacity: 0.8;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.bloco1 i {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 1.8rem;
  color: #0e0b5c;
  opacity: 0.8;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.bloco ul {
  list-style: none;
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  z-index: 2;
  padding: 0;
}
.bloco1 ul {
  list-style: none;
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  z-index: 2;
  padding: 0;
}
.bloco ul li {
  font-size: 0.9rem;
  color: #dcdcdc;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.3s ease, transform 0.3s ease;
}
.bloco1 ul li {
  font-size: 0.9rem;
  color: #dcdcdc;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.3s ease, transform 0.3s ease;
}

.bloco ul li:hover {
  color: #3d5aff;
  transform: translateX(6px);
}
.bloco1 ul li:hover {
  color: #332ce9;
  transform: translateX(6px);
}
/* Hover 3D e glow */
.bloco:hover {
  transform: rotateY(10deg) rotateX(8deg) scale(1.05);
  box-shadow: 0 0 40px rgba(61, 90, 255, 0.3);
}
.bloco1:hover {
  transform: rotateY(10deg) rotateX(8deg) scale(1.05);
  box-shadow: 0 0 40px rgba(61, 90, 255, 0.3);
}

.bloco:hover i {
  transform: scale(1.15) rotate(10deg);
  opacity: 1;
}
.bloco1:hover i {
  transform: scale(1.15) rotate(10deg);
  opacity: 1;
}
/* Fundo com movimento */
.servicos::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at 25% 30%, rgba(61,90,255,0.06), transparent 70%),
              radial-gradient(circle at 70% 80%, rgba(61,90,255,0.08), transparent 70%);
  animation: bgMove 10s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes bgMove {
  0% { transform: translate(0,0); }
  100% { transform: translate(60px, -40px); }
}
.faixa-glass {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.faixa-track {
  display: flex;
  width: fit-content;
  animation: marquee 12s linear infinite;
  position: relative;
}

/* Bloco duplicado que garante a continuidade */
.faixa-content {
  white-space: nowrap;
  padding: 1.3rem 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255,255,255,0.25);
}

/* brilho passando */
.faixa-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 20%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: sweep 4.5s ease-in-out infinite;
}

/* ANIMAÇÕES */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes sweep {
  0% { left: -20%; opacity: 0; }
  50% { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

/* Remove o cursor padrao */
body, * {
  cursor: none;
}

/* Triangulo azul */
.custom-cursor {
  position: fixed;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #007BFF; /* Azul */
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
   filter: drop-shadow(0 0 6px #007BFF);
}
.custom-cursor {
  filter: drop-shadow(0 0 6px #007BFF);
}
/* ===== PORTFÓLIO ===== */
.portfolio {
  background: #050505;
  padding: 9rem 8%;
  position: relative;
}

.titulo-portfolio {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: linear-gradient(90deg, #ffffff, #4879ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 6s ease infinite;
}

.titulo-portfolio span {
  color: #3d5aff;
}

/* ===== FILTRO DE CATEGORIAS ===== */
.filtro-categorias {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.btn-categoria {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #dcdcdc;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-categoria:hover,
.btn-categoria.ativo {
  background: linear-gradient(90deg, #0e39f8, #4879ff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(61, 90, 255, 0.4);
}

/* ===== GALERIA ===== */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(61, 90, 255, 0.15);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.item:hover img {
  transform: scale(1.1);
}

.overlay-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.item:hover .overlay-item {
  opacity: 1;
}

.overlay-item h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.overlay-item p {
  color: #3d5aff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.portfolio-section {
  background: #000;
  color: #fff;
  padding: 100px 60px;
  overflow: hidden;
  position: relative;
}

.portfolio-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.gradient-text {
  background: linear-gradient(90deg, #00c9ff, #92fe9d);
  -webkit-background-clip: text;
  color: transparent;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 24px;
  background: #111;
  border: none;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #0040ff;
  box-shadow: 0 0 15px #0040ff;
}

.portfolio-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.portfolio-track {
  display: flex;
  gap: 24px;
  padding-bottom: 10px;
}

.project-card {
  position: relative;
  flex: 0 0 auto;
  width: 380px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  transition: opacity 0.4s ease;
}

.project-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.overlay p {
  font-size: 1rem;
  color: #bbb;
}
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #00ff88, #0044ff);
  border-radius: 50px;
  z-index: 9999;
  transition: width 0.2s ease-out;
}
/* ===== CONTATO ===== */
.contato-section {
  background: radial-gradient(circle at top right, rgba(61,90,255,0.15), rgba(0,0,0,0.95));
  padding: 8rem 8% 10rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contato-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 174, 255, 0.25), transparent 70%);
  filter: blur(80px);
  z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 1; }
}

.contato-container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 3rem 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(61, 90, 255, 0.2);
}

.contato-titulo {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff, #3d5aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contato-titulo span {
  color: #3d5aff;
}

.contato-subtitulo {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ===== FORM ===== */
.contato-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  position: relative;
}

.input-group input,
.input-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding: 12px 8px;
  font-size: 1rem;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.input-group label {
  position: absolute;
  top: 12px;
  left: 8px;
  font-size: 1rem;
  color: #aaa;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Efeito flutuante */
.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
  top: -10px;
  left: 4px;
  font-size: 0.8rem;
  color: #3d5aff;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #3d5aff;
}

/* ===== BOTÃO ===== */
.btn-enviar {
  background: linear-gradient(90deg, #0e39f8, #4879ff);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(61, 90, 255, 0.3);
}

.btn-enviar:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(61, 90, 255, 0.6);
}

/* ===== ICONES SOCIAIS ===== */
.social-icons {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #3d5aff;
  transform: scale(1.2);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #25D366, #128C7E);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(214, 36, 159, 0.3);
}

.btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(214, 36, 159, 0.6);
}
html {
  scroll-behavior: smooth;
}
/* ===== Telas grandes até tablets (≤ 1024px) ===== */
@media (max-width: 1024px) {
  .navbar .container {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 6rem 1rem 3rem;
  }

  .hero-content {
    width: 100%;
    max-width: 700px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
  }

  .painel-servicos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .servico {
    width: 45%;
  }

  .project-card {
    width: 45%;
  }
}

/* ===== Tablets e celulares médios (≤ 768px) ===== */
@media (max-width: 768px) {
  /* --- Navbar --- */
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem 1.5rem;
  }

  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    display: none;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 70px;
    left: 0;
    padding: 1.5rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }

  .hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
  }

  /* --- Hero --- */
  .hero {
    flex-direction: column;
    padding: 6rem 1rem 2rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .btn-hero {
    font-size: 0.9rem;
    padding: 0.9rem 1.5rem;
  }

  /* --- Serviços --- */
  .painel-servicos {
    flex-direction: column;
    align-items: center;
  }

  .servico {
    width: 90%;
    text-align: center;
  }

  /* --- Portfólio --- */
  .portfolio-filters {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
  }

  .portfolio-filters button {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .project-card {
    width: 90%;
    margin-bottom: 1rem;
  }

  /* --- Contato --- */
  .formulario-contato {
    width: 95%;
    padding: 1.5rem;
  }

  .formulario-contato input,
  .formulario-contato textarea {
    font-size: 0.95rem;
  }

  .formulario-contato button {
    width: 100%;
  }
}

/* ===== Celulares pequenos (≤ 480px) ===== */

/* ====== NAVBAR HAMBURGUER ====== */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  z-index: 1000;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Links padrão */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  transition: all 0.3s ease;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  nav {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none;
    padding: 1.5rem 0;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.4s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hamburger {
    display: flex;
  }

  /* animação do X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}

@media (max-width: 480px) {
  /* --- Hero --- */
  .hero-title {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn-hero {
    font-size: 0.85rem;
    padding: 0.8rem 1.2rem;
  }

  /* --- Serviços e Portfólio --- */
  .servico,
  .project-card {
    width: 100%;
  }

  /* --- Contato --- */
  .formulario-contato {
    padding: 1rem;
  }

  .formulario-contato h2 {
    font-size: 1.4rem;
  }

  footer {
    text-align: center;
    padding: 1rem;
  }
}