@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap");

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

body {
  background-color: #f8f8f8;
  color: #222;
  line-height: 1.4;
  scroll-behavior: smooth;
}

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

:root {
  --verde-claro: #8bc49a;
  --verde-escuro: #026639;
  --preto: #000;
  --branco: #fff;
}

.cabecalho {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 1000;
}

.cabecalho .lado-esquerdo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--verde-escuro);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform: translateY(14px);
}

.logo img:hover {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--branco);
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 3px solid var(--preto);
  transition: transform 0.2s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
}

.instagram-btn {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
  color: #fff;
  padding: 10px 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 3px solid var(--preto);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.instagram-btn:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.menu ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu a {
  color: var(--branco);
  font-weight: 700;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--verde-claro);
  transition: width 0.25s ease;
}

.menu a:hover {
  color: var(--verde-claro);
}

.menu a:hover::after {
  width: 100%;
}

.banner {
  height: 90vh;
  background: url("../assets/imagem2.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.texto-banner {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 25px 35px;
  border-radius: 15px;
  border: 2px solid var(--preto);
  text-align: center;
}

.texto-banner h1,
.texto-banner p {
  font-family: "Poppins", sans-serif;
}

.texto-banner h1 {
  color: var(--preto);
  font-weight: 900;
  margin-bottom: 12px;
  font-size: 2.5rem;
}

.texto-banner p {
  margin-bottom: 18px;
  font-weight: 400;
  font-size: 1.1rem;
  color: #333;
}

.botao_orcamento {
  display: inline-block;
  width: 200px;
  height: 55px;
  line-height: 55px;
  background: #25d366;
  color: white;
  border-radius: 20px;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.botao_orcamento:hover {
  background-color: #17ad67;
  transform: translateY(-3px);
}

.btn-cta {
  background-color: #006738;
  color: var(--branco);
  width: 200px;
  height: 65px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}

.btn-cta:hover {
  background-color: #004f28;
  transform: translateY(-3px);
}

.servicos {
  padding: 120px 20px 60px;
  text-align: center;
}

.servicos h2 {
  color: var(--verde-escuro);
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 900;
  font-family: "Poppins", sans-serif;
}

.abas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.aba {
  background-color: var(--preto);
  color: var(--branco);
  border: 2px solid var(--preto);
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.aba:hover {
  color: var(--verde-claro);
  transform: translateY(-2px);
}

.aba::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 10px;
  width: 0%;
  height: 3px;
  background-color: var(--verde-claro);
  transition: width 0.25s ease;
}

.aba:hover::after {
  width: calc(100% - 20px);
}

.aba.ativa {
  background-color: var(--verde-escuro);
  border-color: var(--verde-escuro);
}

.aba.ativa::after {
  width: calc(100% - 20px);
}

.conteudos-abas {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.conteudo-aba {
  display: none;
}

.conteudo-aba.ativa {
  display: block;
  animation: fadeTroca 0.45s ease;
}

.conteudo-linha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--branco);
  border: 3px solid var(--verde-claro);
  border-radius: 12px;
  padding: 28px;
  max-width: 980px;
  margin: 0 auto;
  transition: all 0.4s ease;
}

.conteudo-linha.invertido {
  flex-direction: row-reverse;
}

.conteudo-linha img {
  width: 45%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--verde-escuro);
  object-fit: cover;
}

.conteudo-linha p {
  width: 45%;
  font-size: 1.05rem;
  line-height: 1.6;
}

.site-footer {
  background-color: var(--verde-claro);
  border-top: 2px solid var(--preto);
  padding: 40px 20px 5px 20px; 
  color: var(--preto);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-col h3 {
  color: var(--verde-escuro);
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.copy {
  text-align: center;
  font-weight: 500;
}
.parte_branca {
  padding-top: 110px;
  background: #dbdbdb;
  background: linear-gradient(
    1deg,
    rgb(236, 236, 236) 0%,
    rgb(236, 236, 236) 100%
  );
}
.parte_branca_dentro {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 10px;
}
.parte_branca_dentro h1 {
  text-align: center;
  color: #006837;
  font-family: "Poppins", sans-serif;
}

.imagem {
  max-width: 48%;
  border-radius: 8px;
  margin: 5px;
  border: 3px solid #026639;
}
.imagems {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
  transition: transform 0.3s ease;
  border: none;
  background-color: #000;
}
.galeria-trabalhos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
  margin: 20px auto;
}

.item-galeria {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 3px solid var(--verde-escuro);
  max-width: 340px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-galeria:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.imagems {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
  border: none;
}

.item-galeria:hover .imagems {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid #fff;
  border-radius: 12px;
  animation: aparecer 0.3s ease;
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox .fechar {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox .fechar:hover {
  color: var(--verde-claro);
}

.agrupar {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  text-align: center;
  font-weight: 500;
  color: #444;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
nav.menu {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  flex: 1;
}

nav.menu ul {
  display: flex;
  list-style: none;
  gap: 24px;
  padding: 0;
  margin: 0;
}

nav.menu ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  padding: 8px 12px;
  font-size: 1rem;
  transition: opacity 0.3s;
}

nav.menu ul li a:hover {
  opacity: 0.8;
}
body.pagina-trabalhos .parte_branca_dentro {
  max-width: 1200px;
  padding: 70px;
}

body.pagina-trabalhos .imagem-slider {
  max-height: 550px;
}

body.pagina-trabalhos .thumbnail {
  width: 120px;
  height: 90px;
}
.slider-miniaturas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 8px;
  justify-items: center;
  margin-top: 15px;
}

.thumbnail {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, border 0.2s ease;
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail.active {
  opacity: 1;
  border: 2px solid var(--verde-escuro);
}

.slider-imagem-container {
  position: relative;
  width: 100%;
}
.slider-container {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 12px;
}

.slider-container img {
  border-radius: 16px;
}

.btn {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 50%;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: 0.3s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.imagem-slider {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.imagem-slider:hover {
  transform: scale(1.02);
}

.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  font-size: 28px;
  background-color: rgba(0, 100, 0, 0.5);
  cursor: pointer;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  transition: 0.3s;
  user-select: none;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
}

.seta:hover {
  background-color: rgba(0, 150, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}
.seta-esq,
.seta-dir {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); 
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 100, 0, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

.play-pause {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(46, 139, 87, 0.9);
  color: #fff;
  border: 2px solid #2e8b57;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.play-pause:hover {
  background-color: rgba(0, 150, 0, 0.9);
  transform: scale(1.1);
}

.play-pause:focus {
  outline: none;
  box-shadow: none;
}
.play-pause svg {
  width: 22px;
  height: 22px;
  fill: white;
}

/* MINIATURAS */
.slider-miniaturas {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.thumbnail {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.9;
  border: 2px solid var(--verde-escuro);
  transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail.active {
  opacity: 1;
  border: 2px solid var(--verde-escuro);
  transform: scale(1.05);
}

.galeria-container {
  text-align: center;
  padding: 60px 20px;
}

.galeria-container h2 {
  font-family: "Poppins", sans-serif;
  color: var(--verde-escuro);
  margin-bottom: 30px;
  font-size: 2rem;
}

.galeria-carrossel {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.galeria-wrapper {
  overflow: hidden;
  width: 100%;
}

.galeria-slide {
  display: flex;
  transition: transform 0.6s ease;
}

.galeria-slide img {
  width: calc(100% / 3);
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid var(--verde-escuro);
  margin: 5px;
}

.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(46, 139, 87, 0.9);
  color: #fff;
  border: 2px solid #2e8b57;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seta:hover {
  background-color: rgba(0, 150, 0, 0.8);
}

.seta-esq {
  left: 10px;
}

.seta-dir {
  right: 10px;
}

.bolinhas {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.bolinha {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bolinha.active {
  background-color: var(--verde-escuro);
}

.assinatura-dev {
  width: 100%;
  text-align: center !important;
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--preto);
}

.assinatura-dev a {
  color: var(--preto);
  text-decoration: none;
  font-weight: bold;
}
.assinatura-dev {
  width: 100%;
  text-align: center !important;
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--preto);
}

.assinatura-dev a {
  color: var(--preto);
  text-decoration: none;
  font-weight: bold;
}

.assinatura-dev a:hover {
  text-decoration: underline;
}


@media (max-width: 768px) {
  header.cabecalho {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 12px 16px;
    gap: 10px;
    text-align: center;
  }

  .logo img {
    width: 100px;
    height: 100px;
  }

  .whatsapp-btn,
  .instagram-btn {
    font-size: 0.9rem;
    padding: 8px 14px;
    display: inline-block;
    margin: 4px 0;
    border-radius: 8px;
  }

  nav.menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 8px 0;
  }

  nav.menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  nav.menu ul li {
    width: auto;
    text-align: center;
  }

  nav.menu ul li a {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 8px 12px;
    text-decoration: none;
    transition: opacity 0.3s;
  }

  nav.menu ul li a:hover {
    opacity: 0.8;
  }

  .banner {
    height: 75vh;
    background-position: center;
  }

  .texto-banner {
    width: 90%;
    padding: 20px;
    text-align: center;
  }

  .texto-banner h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .texto-banner p {
    font-size: 1rem;
  }

  .btn-cta {
    width: auto;
    min-width: 180px;
    font-size: 1rem;
    padding: 10px 20px;
    display: inline-block;
    text-align: center;
  }

  .servicos {
    padding: 60px 12px 40px;
  }

  .abas {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
  }

  .conteudo-linha {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px;
    gap: 20px;
  }

  .conteudo-linha.invertido {
    flex-direction: column-reverse;
  }

  .conteudo-linha img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto;
  }

  .conteudo-linha p {
    width: 100%;
    text-align: justify;
    font-size: 1rem;
  }

  .parte_branca_dentro div img.imagem {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 10px;
  }

  .galeria-trabalhos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    justify-items: center;
    width: 100%;
  }

  .item-galeria {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
  }

  .item-galeria img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
  }

  .item-galeria img:hover {
    transform: scale(1.03);
  }

  #lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    overflow: auto;
  }

  #lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
  }

  #lightbox .fechar {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-col iframe {
    width: 100%;
    height: 180px;
  }

  .copy {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
  }

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .slider-container {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    position: relative;
  }

  .imagem-slider {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3 / 7;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }

  .seta-esq,
  .seta-dir,
  .play-pause {
    position: absolute;
    background: rgba(46, 139, 87, 0.9);
    color: #fff;
    border: 2px solid #2e8b57;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
  }

  .seta-esq:hover,
  .seta-dir:hover,
  .play-pause:hover {
    background: rgba(46, 139, 87, 1);
  }

  .seta-esq {
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
  }

  .seta-dir {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }

  .play-pause {
    bottom: 10px;
    right: 10px;
  }
  .slider-miniaturas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
  }

  .thumbnail {
    width: 40px;
    height: 30px;
    border-radius: 4px;
    border: 2px solid var(--verde-escuro);
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease, border 0.2s ease;

    .galeria-slide img {
      width: 50%;
      margin: 20 auto;
    }
  }
}
