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

body {
  font-family: system-ui, sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.6;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  
}

/* Cabeçalho */
header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.5rem 3vw;
  margin-top: -8rem;
}

header img {
  width: 250px;
  max-width: 60vw;
  margin-left: -5rem;
  margin-top: -2rem;
}

/* Menu hamburguer */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Navbar */
nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-family: Poppins, sans-serif;
  transition: 0.3s ease-in-out;
}

nav a:hover {
  color: #df5b16;
}

/* Sign-in Button */
.btn-secondary {
  background-color: #df5b16;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  margin-top: 0.5rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: white;
  color: #df5b16;
}


.portifolio-header {
  background-color: #000;
}

.portifolio{
  text-align: center;
  padding: 4rem 2rem;
}

.portifolio {
  color: #df5b16;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.portifolio p {
  color: #ccc;
  font-size: 1.2rem;
}

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

.galeria-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.galeria-card:hover {
  transform: scale(1.02);
}

.galeria-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.galeria-card .info {
  padding: 1rem;
}

.galeria-card h3 {
  color: #df5b16;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.galeria-card p {
  color: #ccc;
  font-size: 0.95rem;
}

/* CTA final */
.cta-final {
  background-color: #df5b16;
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.cta-final h2 {
  margin-bottom: 1rem;
}

.btn-cta {
  background-color: white;
  color: #df5b16;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.btn-cta:hover {
  background-color: #f0f0f0;
}

/* Responsivo */
@media (max-width: 768px) {
  .portifolio-header h1 {
    font-size: 2rem;
  }
}

/* ====================== RESPONSIVIDADE ====================== */
@media screen and (max-width: 1020px) {
  /* Mostra o ícone do menu */
  .menu-toggle {
    display: block;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    margin-top: -36px;
    right: -0.5rem;
    z-index: 1000;
  }

  /* Esconde o menu por padrão */
  nav {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    border-radius: 8px;
  }

  /* Mostra o menu quando ativo */
  nav.active {
    display: flex;
  }

  /* Header em coluna no mobile */
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
    margin-top: -6rem;
  }

  /* Logo menor */
  header img {
    width: 200px;
    margin-left: -5rem;
  }

  /* Botões e textos mais compactos */
  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-secondary {
    display: none ;


  .content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .description {
    font-size: 1rem;
  }

  /* Seções de “sobre” */
  .sobre-mvv .blocos {
    flex-direction: column;
  }

  .sobre-header h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .sobre-header p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col ul li {
    margin-bottom: 0.75rem;
  }

  .servicos h2 {
    font-size: 2rem;
  }

  .servicos .intro {
    font-size: 1rem;
  }

  .servico-card {
    flex: 0 0 100%;
  }
  .servico-card img {
    height: 15rem;
  }
}
}
