/* Global resets and variables */
:root {
  /* Variáveis de Cores */
  --primary-color: #2E7D32; 
  --secondary-color: #4CAF50;
  --accent-color: #81C784;
  --dark-bg: #1B5E20;
  --light-bg: #F1F8E9;
  --text-color: #333;
  --white: #ffffff;
  --transition: all 0.3s ease;
  
  --primary: #2E7D32;
  --secondary: #4CAF50;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: #f9f9f9;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- CABEÇALHO E NAVEGAÇÃO --- */
.navbar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  min-height: 120px; 
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  padding: 2px 0;
  max-height: none; 
}

.nav-logo-img {
  height: 110px; 
  width: auto;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.4));
  transition: var(--transition);
}

.nav-logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links li a {
  color: var(--white);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* --- HERO SECTIONS --- */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.service-hero {
  position: relative;
  min-height: 50vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.service-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  z-index: -1;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ATUALIZADO: Estilo Dourado (Gold) mais discreto e elegante 
   Removemos o gradiente "flashy" e usamos uma cor sólida sofisticada.
*/
.hero-company-name {
    display: block;
    font-size: 2.5rem; /* Tamanho reduzido para elegância */
    text-transform: uppercase;
    letter-spacing: 5px; /* Espaçamento generoso entre letras (estilo premium) */
    margin-bottom: 0.5rem;
    font-weight: 500; /* Peso médio, similar à fonte da logo */
    
    /* Cor Dourada Creme/Areia (matches the logo better than yellow gold) */
    color: #E6C288; 
    
    /* Sombra simples para leitura, sem brilho excessivo */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    
    /* Remove as propriedades de gradiente anteriores */
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    filter: none;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- BOTÕES --- */
.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.whatsapp-contact .btn {
  background-color: #25D366; 
}

.whatsapp-contact .btn:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  color: white;
}

/* --- SEÇÕES GERAIS --- */
section {
  padding: 80px 0;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

section > .container > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: #666;
}

.service-content {
  background-color: var(--white);
  padding: 4rem 0;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* --- CARDS E GRID --- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  text-align: center;
}

.card-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-item img:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Sobre */
.about {
  background-color: var(--light-bg);
}

/* Contato */
.whatsapp-contact {
  text-align: center;
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
}

/* --- RODAPÉ --- */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  height: 140px; 
  width: auto;
  margin: 0 auto 20px auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

footer p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.reveal {
  opacity: 1; 
} 

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
  .nav-links {
    display: none; 
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-company-name {
      font-size: 2.5rem; /* Ajuste para celular */
  }

  .nav-logo-img {
    height: 80px; 
  }
  
  .navbar {
    min-height: 90px;
  }

  .footer-logo {
      height: 100px;
  }
}

/* --- ESTILOS FULL PAGE SCROLL (Novo Index) --- */

/* Permite que a página "trabalhe" a rolagem magnética */
html.full-page-mode {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

/* Cada seção ocupa exatamente 100% da altura da tela */
.fullscreen-section {
  position: relative;
  height: 100vh; /* Altura total da tela */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  scroll-snap-align: start; /* Onde a rolagem deve parar */
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efeito Parallax sutil */
}

/* O overlay escuro para garantir leitura do texto */
.fullscreen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.5s ease;
  z-index: 1;
}

.fullscreen-section:hover .fullscreen-overlay {
background: rgba(0, 0, 0, 0.1);
}

/* O conteúdo centralizado */
.fullscreen-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

/* Animação quando a seção fica visível */
.fullscreen-section.active .fullscreen-content {
  opacity: 1;
  transform: translateY(0);
}

.fullscreen-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.fullscreen-text {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Botão Transparente (Ghost Button) para elegância */
.btn-outline {
  display: inline-block;
  padding: 15px 40px;
  border: 2px solid #fff;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 50px;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--dark-bg); /* Usa a cor verde escura do seu tema */
  transform: scale(1.05);
}

/* Ajuste Mobile */
@media (max-width: 768px) {
  .fullscreen-title { font-size: 2.2rem; }
  .fullscreen-text { font-size: 1rem; }
  /* Desativa parallax no mobile para performance */
  .fullscreen-section { background-attachment: scroll; }
}


/* --- MENU MINIMALISTA (OVERLAY) --- */

/* Barra fixa transparente apenas para posicionamento */
.navbar-minimal {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav-container-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo fixa menor e elegante */
.logo-img-small {
  height: 120px; /* Aumentado de 60px para 120px */
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.8)); /* Sombra mais forte para destacar do fundo */
  transition: transform 0.3s ease;
}

.logo-img-small:hover {
  transform: scale(1.05); /* Leve zoom ao passar o mouse */
}

/* Ajuste específico para Celular */
@media (max-width: 768px) {
  .logo-img-small {
    height: 90px; /* Um pouco menor no mobile, mas ainda legível */
  }
  
  /* Ajuste a barra para acomodar a logo maior */
  .navbar-minimal {
    padding: 10px 0;
  }
}

/* Botão Hambúrguer Estilizado */
.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001; /* Fica acima do overlay se precisar */
}

.menu-toggle .bar {
  width: 35px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.4s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Sombra para ver no fundo claro */
}

/* Efeito Hover no botão */
.menu-toggle:hover .bar {
  background-color: var(--accent-color);
}

/* --- TELA DE MENU (OVERLAY) --- */
.nav-overlay {
  height: 100%;
  width: 0; /* Começa fechado */
  position: fixed;
  z-index: 2000; /* Acima de tudo */
  top: 0;
  right: 0;
  background-color: rgba(27, 94, 32, 0.95); /* Fundo Verde Escuro Transparente */
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px); /* Efeito de desfoque no fundo */
}

/* Links dentro do menu */
.overlay-content {
  position: relative;
  text-align: center;
  width: 100%;
  margin-top: 30px;
}

.nav-overlay a {
  padding: 15px;
  text-decoration: none;
  font-size: 2rem; /* Letras Grandes */
  color: #fff;
  display: block;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 2px;
}

.nav-overlay a:hover, .nav-overlay a:focus {
  color: #E6C288; /* Dourado ao passar o mouse */
  transform: scale(1.1);
}

/* Botão de Fechar (X) */
.nav-overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  color: #fff;
}

/* Ajuste para Celular */
@media screen and (max-height: 450px) {
  .nav-overlay a {font-size: 20px}
  .nav-overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

/* ... (Mantenha o seu CSS anterior e adicione/atualize estas partes) ... */

/* --- LIGHTBOX MODAL --- */
.lightbox {
  display: none; /* Escondido por padrão */
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: #E6C288;
}

#lightbox-caption {
  margin-top: 20px;
  color: #ccc;
  font-size: 1rem;
  text-align: center;
}

/* Cursor nas imagens que podem ampliar */
.lightbox-trigger {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lightbox-trigger:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Container principal da galeria */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Base para imagens e vídeos */
.portfolio-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f0f0f0; /* Fundo neutro caso a mídia demore a carregar */
}

/* Regra mágica para alinhamento perfeito */
.portfolio-item img, 
.portfolio-item video {
    width: 100%;
    /* Define que a mídia deve ser um retângulo de proporção 4:3 ou 16:9 */
    aspect-ratio: 3 / 2; 
    object-fit: cover; /* Corta as bordas excedentes para preencher o espaço */
    display: block;
}

/* Ajuste específico para o player de vídeo não quebrar o layout */
.video-item video {
    height: auto; /* Permite que o aspect-ratio controle a altura */
}

/* ... (Resto do seu CSS) ... */