/* RESET E FONTE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Bebas Neue', sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  min-height: 100vh;
}

.interface {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4%;
}

.flex {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* CABEÇALHO */
header {
  padding: 40px 0;
  background: #111;
  box-shadow: 0 2px 10px rgba(255, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 999;
}

header .interface {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header a {
  color: #bbb;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s;
}

header a:hover {
  color: red;
  transform: scale(1.1);
}

/* BOTÃO */
.btn-contato button {
  padding: 10px 30px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(45deg, red, darkred);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-contato button:hover {
  box-shadow: 0 0 15px red;
  transform: scale(1.05);
}

/* TOPO DO SITE */
section.topo-do-site {
  padding: 100px 0;
  background: #000;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

section.topo-do-site.ativo {
  opacity: 1;
  transform: translateY(0);
}

.topo-do-site h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
}

.topo-do-site h1 span {
  color: red;
}

.topo-do-site p {
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}

.img-topo-site {
  flex: 1;
  text-align: center;
}

.img-topo-site img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: none;
}

.txt-topo-site {
  flex: 1;
}

/* ESPECIALIDADES */
section.especialidades {
  padding: 80px 0;
  background: #111;
}

.titulo {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.titulo span {
  color: red;
}

.especialidades-box {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 20px;
  flex: 1;
  text-align: center;
  transition: 0.3s;
}

.especialidades-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px red;
}

.especialidades-box i {
  font-size: 40px;
  color: red;
  margin-bottom: 10px;
}

/* SOBRE */
section.sobre {
  padding: 100px 0;
  background: #000;
}

.sobre .flex {
  gap: 40px;
}

.img-sobre {
  flex: 1;
  text-align: center;
}

.img-sobre img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 0 15px red;
}

.txt-sobre {
  flex: 1;
}

.txt-sobre h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.nome-vermelho {
  color: red;
}

.txt-sobre p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 15px;
}

.social a {
  font-size: 24px;
  color: red;
  margin-right: 15px;
  transition: 0.3s;
}

.social a:hover {
  color: #fff;
}

/* PINTURAS */
.pinturas {
  padding: 80px 0;
  background: #111;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.galeria img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
  border: none;
}

.galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px red;
}

.frase-pintura {
  margin-top: 40px;
  text-align: center;
  font-size: 20px;
  color: red;
  font-style: italic;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.conteudo-lightbox {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 10px red;
}

.close, .prev, .next {
  color: red;
  font-size: 40px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  z-index: 10000;
}

.close {
  right: 30px;
}

.prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* LAYOUTS */
.layoutts {
  padding: 100px 0;
  background: #000;
}

.texto-layout {
  flex: 1;
  color: #fff;
  font-size: 18px;
  line-height: 1.8;
}

.texto-layout span {
  color: red;
  font-weight: bold;
}

.img-layout {
  flex: 1;
  text-align: center;
}

.layout-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.layout-container.ativo {
  opacity: 1;
  transform: translateY(0);
}

.layout-desenhado {
  width: 100%;
  height: auto;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  filter: drop-shadow(0 0 5px red);
}

.layout-container.ativo .layout-desenhado {
  animation: desenhar-traco 4s ease-in-out forwards;
}

.layout-container.ativo .lapis {
  animation: mover-lapis 4s ease-in-out forwards;
}

@keyframes desenhar-traco {
  to {
    stroke-dashoffset: 0;
  }
}

.lapis {
  position: absolute;
  width: 40px;
  height: 40px;
  background: url('images/lapis.png') no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: 10;
}

@keyframes mover-lapis {
  0%   { top: 245px; left: 50px; }
  25%  { top: 140px; left: 150px; }
  50%  { top: 245px; left: 250px; }
  75%  { top: 350px; left: 350px; }
  100% { top: 245px; left: 450px; }
}

/* RESPONSIVO */
@media screen and (max-width: 768px) {
  .flex {
    flex-direction: column;
    text-align: center;
  }

  .texto-layout {
    font-size: 16px;
  }

  .btn-contato button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* linha de producao */
.processo {
  padding: 100px 0;
  background: #111;
}

.imagem-processo {
  text-align: center;
  margin-bottom: 40px;
}

.imagem-processo img {
  max-width: 100%;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 20px red;
}

.linha-processo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.etapa {
  flex: 1;
  min-width: 220px;
  background: #1a1a1a;
  border-left: 5px solid red;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.etapa.ativo {
  opacity: 1;
  transform: translateY(0);
}

.etapa i {
  font-size: 40px;
  color: red;
  margin-bottom: 15px;
}

.etapa h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
}

.etapa p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.5;
}
.processo-flex {
  align-items: flex-start;
}

.imagem-processo {
  flex: 1;
  text-align: center;
}

.imagem-processo img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 0 20px red;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.imagem-processo.ativo img {
  opacity: 1;
  transform: translateY(0);
}

/* Animação ativada por rolagem */
@keyframes surgir {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO PARA PROCESSO */
@media screen and (max-width: 768px) {
  .linha-processo {
    flex-direction: column;
    align-items: center;
  }

  .etapa {
    width: 100%;
    max-width: 400px;
  }
}

/* CONTATO FINAL */
.contato-final {
  background: #000;
  padding: 100px 0;
  text-align: center;
}

.contato-final .titulo {
  font-size: 36px;
  margin-bottom: 70px;
  margin-top:50px;
}

.texto-contato {
  font-size: 18px;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.8;
}

.botoes-contato {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, red, darkred);
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-social i {
  font-size: 22px;
}

.btn-social:hover {
  box-shadow: 0 0 15px red;
  transform: scale(1.05);
}

/* RODAPÉ */
.rodape {
  background: #111;
  color: #888;
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}

.rodape p {
  margin: 0;
}

/* ROLAGEM SUAVE PARA ANCORAGEM */
html {
  scroll-behavior: smooth;
}

#contato {
  scroll-margin-top: 100px; /* ajusta para header sticky */
}

#inicio {
  scroll-margin-top: 100px;
}

#especialidades {
  scroll-margin-top: 100px;
}

#sobre {
  scroll-margin-top: 100px;
}

#projetos {
  scroll-margin-top: 100px;
}

/* RESET E FONTE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Bebas Neue', sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  min-height: 100vh;
}

.interface {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4%;
}

.flex {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

header {
  padding: 40px 0;
  background: #111;
  position: sticky;
  top: 0;
  z-index: 999;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header a {
  color: #bbb;
  text-decoration: none;
}

header a:hover {
  color: red;
}

.btn-contato button {
  padding: 10px 30px;
  color: #fff;
  background: linear-gradient(45deg, red, darkred);
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.btn-contato button:hover {
  box-shadow: 0 0 15px red;
}

section.topo-do-site {
  padding: 100px 0;
  background: #000;
  opacity: 1; /* Forçado visível */
  transform: translateY(0); /* Sem deslocamento */
}

.topo-do-site h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.topo-do-site h1 span {
  color: red;
}

.topo-do-site p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
}

.img-topo-site img {
  max-width: 400px;
  border-radius: 12px;
}

section.contato {
  padding: 80px 0;
}

.titulo span {
  color: red;
}

.botoes-contato {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, red, darkred);
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
}

.btn-social:hover {
  box-shadow: 0 0 15px red;
}

.rodape {
  background: #111;
  text-align: center;
  padding: 30px 0;
  color: #888;
}

html {
  scroll-behavior: smooth;
}

/* IMPORTANTE: Scroll margin para header fixo */
section {
  scroll-margin-top: 120px;
}

/* Layout responsivo geral */
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.flex > * {
  flex: 1 1 100%;
}

/* Responsividade para telas menores */
@media (min-width: 768px) {
  .flex > * {
    flex: 1;
  }
}

/* Imagens fluidas */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Ícone menu mobile */
.menu-mobile-icon {
  display: none;
  font-size: 32px;
  cursor: pointer;
}

/* Menu mobile (escondido por padrão) */
.menu-mobile {
  display: none;
  background-color: #000;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 10;
}

.menu-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-mobile li {
  border-bottom: 1px solid #333;
}

.menu-mobile a {
  display: block;
  padding: 15px;
  color: white;
  text-decoration: none;
}

/* Mostrar ícone e menu mobile em telas menores */
@media (max-width: 768px) {
  .menu-desktop {
    display: none;
  }

  .menu-mobile-icon {
    display: block;
  }

  .menu-mobile.aberto {
    display: block;
  }
}

.img-topo-site, .img-sobre, .img-layout {
  width: 100%;
  text-align: center;
}
 