/* ============ RESET / BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: #123;
  background: #fff;
}

a {
  color: #f6f8f7;
  text-decoration: none;
  transition: 0.3s;
}
a:hover { opacity: 0.75; }

/* ============ HEADER / NAV ============ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #121313;
  height: 64px;
  padding: 0 16px;
}

.logo {
  font-family: "Helvetica", cursive;
  font-size: 26px;
  font-style: italic;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============ NAV LIST DESKTOP ============ */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list li { letter-spacing: 1px; }
.nav-list a { font-weight: 600; }

/* ============ MOBILE MENU BUTTON ============ */
.mobile-menu {
  display: none;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.mobile-menu span {
  display: block;
  width: 32px;
  height: 2px;
  background: #f9f5f4;
  margin: 8px;
  transition: 0.3s;
}

/* ============ SECTIONS / CONTAINER ============ */
.section { padding: 72px 16px; }

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.section h1, .section h2 {
  margin-bottom: 12px;
  color: #fbfcfc;
}

.section p {
  line-height: 1.6;
  max-width: 72ch;
  margin: 0 auto;
}

/* ============ HERO (INÍCIO) COM SLIDER ============ */
.section.inicio {
  position: relative;
  height: calc(100vh - 64px);
  overflow: hidden;
  padding: 0; /* importante pro slider ocupar tudo */
}

/* slider ocupa tudo */
.slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active { opacity: 1; }

/* overlay no hero pra texto ficar legível */
.section.inicio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* texto por cima */
.hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
  color: #fff;
}

.hero-text h1 { font-size: 48px; margin-bottom: 10px; }
.hero-text p { font-size: 20px; max-width: 800px; }

/* ============ SEÇÃO SOBRE (VÍDEO + SLIDESHOW FUNDO) ============ */
.section.sobre {
  position: relative;
  min-height: 600px;
  padding: 80px 20px;
  overflow: hidden;
}

.bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.bg-slide.active { opacity: 1; }

.section.sobre::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2;
}

.section.sobre .container {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
}

.section.sobre .titulo-secao { color: #fff; }

.video-container {
  max-width: 900px;
  margin: 24px auto 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-container video { width: 100%; display: block; }

/* ============ SEÇÃO PROJETOS (GALERIA) ============ */
.section.projetos {
  padding: 80px 20px;
  position: relative;
  text-align: center;
  background: #f7fffa;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 0.8s ease, background-position 6s linear;
  
}

/* (opcional) overlay quando tiver background */
.section.projetos.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.65);
}

/* garante conteúdo acima do overlay */
.section.projetos .container {
  position: relative;
  z-index: 2;
}

.galeria {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  outline: 3px solid #2a8147;
  transition: transform .3s ease;
  cursor:pointer;
}

.galeria-item img {
  width: 100%;
  height: 100px;          /* dá altura consistente */
  object-fit: cover;
  transition: transform 0.6s ease;
  cursor: pointer;
}

.galeria-item:hover{
  transform: translateY(-6px);
}

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

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; /* ✅ deixa clicar na imagem */
}
.galeria-item:hover .overlay { opacity: 1; }
.overlay h3 { font-size: 20px; }

/* ============ CONTATO ============ */
.section.contato { background: #fff; }

/* ============ NAV MOBILE ============ */
@media (max-width: 999px) {
  body { overflow-x: hidden; }

  nav { justify-content: space-between; }

  .mobile-menu { display: block; }

  .nav-list {
    position: absolute;
    top: 64px;
    right: 0;
    width: min(320px, 75vw);
    height: calc(100vh - 64px);
    background: #0f1f17;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    padding: 28px 12px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
  }

  .nav-list a { color: #e8fff0; font-weight: 700; }

  .nav-list li { opacity: 0; }
}

.nav-list.active { transform: translateX(0); }

@keyframes navLinkFade {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.mobile-menu.active .line1 { transform: rotate(-45deg) translate(-8px, 8px); }
.mobile-menu.active .line2 { opacity: 0; }
.mobile-menu.active .line3 { transform: rotate(45deg) translate(-5px, -7px); }



/* ============ SEÇÃO IMPACTO ============ */

.impacto-header{
  position: relative;   /* garante que não escape da seção */
  z-index: 2;
  margin-bottom: 40px;
  text-align: center;
}

.section.impacto{
  position: relative;
  padding: 90px 16px;
}

.impacto-wrap {
  text-align: center;
}

.impacto-header .titulo-secao {
  margin-bottom: 12px;
}

.impacto-sub {
  max-width: 820px;
  margin: 0 auto 38px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.72);
}

.impacto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.impacto-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.impacto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

.impacto-card h3 {
  margin-bottom: 10px;
  color: #1b3a2a;
  font-size: 20px;
}

.impacto-card p {
  color: rgba(0,0,0,0.72);
  line-height: 1.6;
}

.impacto-card.destaque {
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(114, 238, 151, 0.18);
  border: 1px solid rgba(42, 129, 71, 0.25);
}

.impacto-card.destaque .numero {
  font-size: 44px;
  font-weight: 800;
  color: #2a8147;
  line-height: 1;
  margin-bottom: 10px;
}

.impacto-card.destaque .legenda {
  max-width: 22ch;
  margin: 0 auto;
  font-weight: 600;
  color: rgba(0,0,0,0.70);
}

/* CTA */
.impacto-cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsivo */
@media (max-width: 999px) {
  .impacto-grid {
    grid-template-columns: 1fr;
  }
  .impacto-card {
    text-align: left;
  }
}

/*  --  botões   ---  */

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: #2a8147;
  color: #fff;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}

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

.btn.btn-outline {
  background: transparent;
  color: #2a8147;
  border: 2px solid #2a8147;
}


/* wdwito da pagina  */  

/* ===== Scroll Reveal ===== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

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

/* variações opcionais */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal-left.show {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
}


/* ===== PARALLAX ===== */

.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* melhora no mobile */
@media (max-width: 999px) {
  .parallax {
    background-attachment: scroll;
  }
}

/* ===== SEÇÃO PIX ===== */

.section.pix-doacao{
  padding: 80px 20px;
  background: #f7fffa;
  text-align: center;
}

.pix-texto{
  max-width: 600px;
  margin: 10px auto 40px;
  font-size: 18px;
}

/* container */

.pix-box{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}

/* QR code */

.pix-qrcode img{
  width:220px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* info */

.pix-logo{
  width:90px;
  margin-bottom:15px;
}

.pix-chave-label{
  font-weight:600;
  margin-bottom:10px;
}

/* chave */

.pix-chave{
  display:flex;
  align-items:center;
  gap:10px;
  background:white;
  padding:10px 15px;
  border-radius:8px;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.pix-chave span{
  font-weight:600;
}

.pix-chave button{
  border:none;
  background:#2a8147;
  color:white;
  padding:6px 12px;
  border-radius:6px;
  cursor:pointer;
}

.pix-chave button:hover{
  opacity:.9;
}


/* ===== LIGHTBOX ===== */

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);

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

  opacity: 0;
  visibility: hidden;

  transition: opacity .4s ease;

  z-index: 9999;
}

.lightbox.show{
  opacity: 1;
  visibility: visible;
}

.lightbox img{
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.lightbox-close{
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:40px;
  color:white;
  cursor:pointer;
  padding:10px;
}

.lightbox-prev{
  left:40px;
}

.lightbox-next{
  right:40px;
}

/* ============ Galeria de Videos  ============ */
/* ===== GALERIA DE VÍDEOS ===== */
/* ===== GALERIA ===== */

.galeria-videos{
  padding:60px 20px;
  background:#f6faf7;
}

.titulo-videos{
  text-align:center;
  font-size:32px;
  margin-bottom:40px;
  color:#163325;
}

/* GRID 4 POR LINHA */
.videos-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* CARD DO VÍDEO */
.video-item{
  position:relative;
  cursor:pointer;
  overflow:hidden;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

.video-item img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  transition:.4s;
}

.video-item:hover img{
  transform:scale(1.05);
}

/* OVERLAY */
.video-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:12px;
  color:white;
}

.video-overlay p{
  margin:6px 0 0;
  font-size:14px;
}

/* BOTÃO PLAY */
.play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  background:rgba(0,0,0,0.6);
  padding:10px 14px;
  border-radius:50%;
  font-size:20px;
}

/* ===== POPUP ===== */

.video-popup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}

.popup-content{
  width:80%;
  max-width:900px;
  position:relative;
}

.popup-content video{
  width:100%;
  border-radius:10px;
}

.close-video{
  position:absolute;
  top:-40px;
  right:0;
  color:white;
  font-size:28px;
  cursor:pointer;
}

/* ===== RESPONSIVO ===== */

@media(max-width:1024px){
  .videos-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:768px){
  .videos-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:480px){
  .videos-grid{
    grid-template-columns:1fr;
  }
}

/* ============ Galeria de Videos  fim ============ */

.section.contato {
  background: #ffffff;
  padding: 90px 16px 0;
}

.contato-wrap{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 50px;
}

.contato-sub{
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(0,0,0,0.72);
  max-width: 62ch;
}

.contato-cards{
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.contato-card{
  background: #f7fffa;
  border: 1px solid rgba(42,129,71,0.15);
  border-radius: 14px;
  padding: 14px 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.contato-card strong{
  display:block;
  color:#1b3a2a;
  margin-bottom: 6px;
}

.contato-card span{
  color: rgba(0,0,0,0.75);
}


/* ===== FORMULÁRIO =====  novo */

form {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: Arial, Helvetica, sans-serif;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s ease;
}

/* efeito quando clica */
.form-group input:focus,
.form-group textarea:focus {
  border-color: #c79b3b;
  outline: none;
  box-shadow: 0 0 5px rgba(199,155,59,0.3);
}

/* BOTÃO */

.btn-enviar {
  width: 100%;
  padding: 14px;
  background: #c79b3b;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-enviar:hover {
  background: #a67f2f;
  transform: translateY(-2px);
}

/* RESPONSIVO */

@media (max-width: 600px) {
  form {
    padding: 20px;
  }
}

/* ===== FORMULÁRIO =====  novo - fim*/

/* formulário */
.contato-form{
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.08);
}

.contato-form label{
  display:block;
  margin-bottom: 12px;
  text-align:left;
}

.contato-form label span{
  display:block;
  font-weight: 700;
  margin-bottom: 6px;
  color:#1b3a2a;
}

.contato-form input,
.contato-form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  outline: none;
  font: inherit;
  background: #fff;
}

.contato-form input:focus,
.contato-form textarea:focus{
  border-color: rgba(42,129,71,0.6);
  box-shadow: 0 0 0 4px rgba(42,129,71,0.15);
}

.contato-acoes{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status{
  margin-top: 12px;
  font-weight: 600;
  color: rgba(0,0,0,0.75);
}

/* rodapé */
.rodape{
  margin-top: 30px;
  padding: 18px 0;
  background: #0f1f17;
  color: #e8fff0;
}

.rodape-wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.rodape a{
  color:#e8fff0;
  font-weight: 700;
}

/* responsivo */
@media (max-width: 999px){
  .contato-wrap{
    grid-template-columns: 1fr;
  }
}



/* ===== FOOTER ===== */

.footer{
background:linear-gradient(180deg,#132a1f,#0f1f17);
color:#e8fff0;
padding:20px 15px 6px;
border-top:2px solid #2a8147;
box-shadow:0 -4px 20px rgba(0,0,0,0.25);
}

/* GRID */

.footer-grid{
max-width:1100px;
margin:0 auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:18px;
}

/* TITULOS */

.footer-col h3{
margin-bottom:8px;
font-size:14px;
color:#72ee97;
}

/* TEXTOS */

.footer-col p{
margin:0 0 6px;
font-size:13px;
line-height:1.4;
}

/* LINKS */

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

.footer-links li{
margin-bottom:6px;
}

.footer-links a{
color:#ffebe8;
text-decoration:none;
font-size:13px;
transition:all .25s;
}

.footer-links a::before{
content:"▸ ";
color:#72ee97;
}

.footer-links a:hover{
color:#72ee97;
padding-left:4px;
}

/* NEWSLETTER */

.newsletter{
display:flex;
flex-direction:column;
gap:8px;
}

.newsletter input{
width:100%;
padding:9px 12px;
border:none;
border-radius:6px;
background:rgba(255,255,255,0.9);
font-size:13px;
}

/* BOTÃO COM BRILHO */

.newsletter button{
position:relative;
background:#2a8147;
border:none;
color:white;
padding:10px;
border-radius:6px;
cursor:pointer;
font-size:13px;
font-weight:600;
overflow:hidden;
transition:background .25s;
}

.newsletter button:hover{
background:#1f6135;
}

/* EFEITO BRILHO */

.newsletter button::after{
content:"";
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:linear-gradient(
120deg,
transparent,
rgba(255,255,255,.4),
transparent
);
transition:all .6s;
}

.newsletter button:hover::after{
left:100%;
}

/* NOTA */

.footer-note{
font-size:11px;
opacity:.8;
}

/* LINHA FINAL */

.footer-bottom{
max-width:1100px;
margin:15px auto 0;
padding-top:10px;
border-top:1px solid rgba(255,255,255,.08);
text-align:center;
}

.footer-dev,
.footer-version{
font-size:11px;
opacity:.8;
}

/* RESPONSIVO */

@media (max-width: 768px) {

  .footer {
    padding: 22px 18px 10px;
  }

  .footer-grid {
    gap: 14px;
  }

}



.lightbox{
  position: fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:flex;
  justify-content:center;
  align-items:center;

  opacity:0;
  visibility:hidden;

  transition:.3s;
}

.lightbox.show{
  opacity:1;
  visibility:visible;
}

/* BOTÃO WHATSAPP */

.whatsapp-float{

  position:fixed;

  bottom:25px;
  right:25px;

  width:60px;
  height:60px;

  background:#25D366;

  border-radius:50%;

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

  box-shadow:0 10px 25px rgba(0,0,0,0.3);

  z-index:9999;

  transition:transform .3s, box-shadow .3s;

}

.whatsapp-float:hover{

  transform:scale(1.1);

  box-shadow:0 15px 30px rgba(0,0,0,0.35);

}

.whatsapp-float img{

  width:30px;

}