:root { 
  /* Paleta Premium - Baseada na identidade mas ajustada para luxo */
  --verde: #d3fb51; 
  --preto-profundo: #0f0e0f; 
  --cinza-escuro: #1a1819;
  --bege: #d7cab5; 
  --off-white: #f5f5f5; 
  
  --text-muted: rgba(245, 245, 245, 0.5);
  --border: rgba(215, 202, 181, 0.15); /* Linhas sutis com toque de areia/bege */
  --border-light: rgba(245, 245, 245, 0.08);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { 
  font-family: 'Inter', sans-serif; 
  color: var(--off-white); 
  background-color: var(--preto-profundo); 
  overflow-x: hidden; 
  -webkit-font-smoothing: antialiased;
}

/* Tipografia Editorial */
h1, h2, h3, .serif { font-family: 'DM Serif Display', serif; font-weight: 400; }
.syne { font-family: 'Syne', sans-serif; }

::selection { background: var(--verde); color: var(--preto-profundo); }

/* Borda arredondada baseada nos semicírculos (logo) */
:root {
  --radius-l: 120px; /* Grande curva suave */
  --radius-s: 16px;  /* Curva sutil para equilíbrio */
}

/* Navbar */
nav { 
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; 
  display: flex; justify-content: space-between; align-items: center; 
  padding: 1.5rem 5vw; 
  background: linear-gradient(to bottom, rgba(15, 14, 15, 0.9) 0%, rgba(15, 14, 15, 0) 100%);
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1); 
}
nav.scrolled { 
  padding: 1rem 5vw; 
  background: rgba(15, 14, 15, 0.85); 
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); 
  border-bottom: 1px solid var(--border-light); 
}
.nav-logo img { height: 35px; transition: transform .4s ease; }

.nav-links { display: flex; gap: 3vw; align-items: center; }
.nav-links a { 
  font-family: 'Syne', sans-serif; font-weight: 500; font-size: 0.75rem; 
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; 
  color: var(--off-white); transition: color .4s, opacity .4s; opacity: 0.8;
}
.nav-links a:hover { color: var(--verde); opacity: 1; }

.nav-cta { 
  font-family: 'Syne', sans-serif; font-weight: 500; font-size: 0.7rem; 
  letter-spacing: 0.15em; text-transform: uppercase; 
  padding: 0.8rem 2rem; background: transparent; color: var(--verde); 
  border: 1px solid var(--verde); border-radius: 100px; cursor: pointer; 
  text-decoration: none; transition: all .4s cubic-bezier(0.16, 1, 0.3, 1); 
  position: relative; overflow: hidden;
}
.nav-cta:hover { background: var(--verde); color: var(--preto-profundo); }

.menu-toggle {
  display: none; flex-direction: column; gap: 8px; cursor: pointer; z-index: 105;
}
.menu-toggle span {
  display: block; width: 35px; height: 1px; background-color: var(--off-white);
  transition: all 0.4s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { transform: translateY(-9px) rotate(-45deg); }

/* Linhas Arquitetônicas Globais */
.grid-lines {
  position: fixed; top: 0; left: 5vw; right: 5vw; bottom: 0; 
  pointer-events: none; z-index: 0;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}
.grid-lines::after {
  content: ''; position: absolute; top: 0; left: 50%; bottom: 0;
  border-left: 1px solid var(--border-light);
}

/* Hero Section */
.hero { 
  min-height: 85vh; display: flex; flex-direction: column; justify-content: center; 
  padding: 8rem 5vw 4rem; position: relative; overflow: hidden; 
}
.hero-media { 
  position: absolute; inset: 0; z-index: 0; background-color: var(--preto-profundo);
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,14,15,0.85) 0%, rgba(15,14,15,0.3) 100%);
  z-index: 2; pointer-events: none;
}
.hero-media img { 
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; 
  filter: grayscale(80%) contrast(1.1) brightness(0.45); /* Clareado levemente */
  opacity: 0; transform: scale(1);
  transition: opacity 2s ease-in-out, transform 8s ease-out;
  z-index: 1;
}
.hero-media img.active {
  opacity: 1; transform: scale(1.05);
}

.hero-content { position: relative; z-index: 1; max-width: 1000px; margin-top: 2rem; }

.hero-tag { 
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: 'Syne', sans-serif; font-weight: 500; 
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; 
  color: var(--verde); margin-bottom: 2rem; 
}
.hero-tag::before {
  content: ''; display: block; width: 40px; height: 1px; background-color: var(--verde);
}

.hero h1 { 
  font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.1; letter-spacing: -0.02em; 
  color: var(--off-white); margin-bottom: 2rem; font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--verde); }

.hero-sub { 
  font-weight: 300; font-size: clamp(0.95rem, 1.1vw, 1.1rem); line-height: 1.7; 
  max-width: 500px; color: var(--text-muted); margin-bottom: 3.5rem;
  padding-left: 2rem; border-left: 1px solid var(--verde); /* Toque minimalista do verde */
}

.hero-actions { display: flex; gap: 2rem; align-items: center; }
.btn-primary { 
  font-family: 'Syne', sans-serif; font-weight: 500; font-size: 0.75rem; 
  letter-spacing: 0.15em; text-transform: uppercase; padding: 1.2rem 3rem; 
  background: var(--verde); color: var(--preto-profundo); border: 1px solid var(--verde); 
  border-radius: 100px; cursor: pointer; text-decoration: none; 
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block;
}
.btn-primary:hover { background: transparent; color: var(--verde); }

.scroll-down {
  position: absolute; bottom: 3rem; right: 5vw; z-index: 1;
  font-family: 'Syne', sans-serif; font-size: 0.6rem; letter-spacing: 0.2em;
  color: var(--off-white); text-transform: uppercase; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  opacity: 0.5; transition: opacity .3s;
}
.scroll-down:hover { opacity: 1; }
.scroll-down::after {
  content: ''; width: 1px; height: 40px; background: var(--off-white);
}

.about-stats { 
  display: flex; gap: 3rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 0.4rem; }
.stat-num { 
  font-family: 'DM Serif Display', serif; font-size: 2.4rem; 
  color: var(--verde); line-height: 1;
}
.stat-desc { 
  font-family: 'Syne', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em; 
  text-transform: uppercase; color: var(--off-white); opacity: 0.7; max-width: 140px;
  line-height: 1.5;
}

/* Seções Comuns */
section { padding: 8rem 5vw; position: relative; z-index: 1; }

.section-header { margin-bottom: 4rem; display: flex; flex-direction: column; gap: 1rem; }
.section-tag { 
  font-family: 'Syne', sans-serif; font-weight: 500; font-size: 0.65rem; 
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); 
}
.section-title { 
  font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.15; letter-spacing: -0.01em; 
  color: var(--off-white); max-width: 800px;
}

/* About / Autoridade */
.about { 
  background: var(--preto-profundo); 
  border-top: 1px solid var(--border-light); 
  position: relative;
  overflow: hidden;
}
.about-bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.15; /* Um pouco mais visível */
  pointer-events: none;
}
.about-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-grid { 
  display: grid; grid-template-columns: 5fr 6fr; gap: 6vw; align-items: center; 
  position: relative; z-index: 1; /* Acima da imagem de fundo */
}

.about-visual { position: relative; height: 500px; overflow: hidden; border-radius: var(--radius-l) var(--radius-s) var(--radius-l) var(--radius-s); }
.about-visual img { 
  width: 100%; height: 100%; object-fit: cover; 
  filter: grayscale(100%); transition: filter 1s ease, transform 1.5s ease;
}
.about-visual:hover img { filter: grayscale(0%); transform: scale(1.05); }

.about-text-wrapper { padding-top: 4rem; }
.about-text { 
  font-weight: 300; font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); 
  margin-bottom: 2rem;
}
.about-text strong { color: var(--verde); font-weight: 400; }
.about-highlight { 
  margin-top: 3rem; padding: 2rem 0; border-top: 1px solid var(--border-light);
  font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--off-white); 
  line-height: 1.4; font-style: italic;
}

/* Especialidades / Serviços (Cards Premium) */
.services { background: var(--preto-profundo); border-top: 1px solid var(--border-light); }
.services-grid { 
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw;
  margin-top: 3rem;
}
.service-card { 
  padding: 3rem; border: 1px solid var(--border-light);
  background: var(--cinza-escuro);
  border-radius: var(--radius-s) var(--radius-l) var(--radius-s) var(--radius-l);
  transition: all .4s ease; position: relative; overflow: hidden;
}
.service-card:hover { border-color: var(--verde); transform: translateY(-5px); }

.service-icon { 
  width: 40px; height: 40px; object-fit: contain; 
  filter: grayscale(1) brightness(2); opacity: 0.4; transition: all .4s;
  margin-bottom: 2rem;
}
.service-card:hover .service-icon { filter: grayscale(0); opacity: 1; }

.service-title { 
  font-size: 1.6rem; line-height: 1.2; color: var(--off-white); 
  font-family: 'DM Serif Display', serif; transition: color .4s;
  margin-bottom: 1.2rem;
}
.service-card:hover .service-title { color: var(--verde); }

.service-desc { 
  font-weight: 300; font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); 
  margin-bottom: 2.5rem;
}
.service-link { 
  font-family: 'Syne', sans-serif; font-size: 0.65rem; letter-spacing: 0.2em; 
  text-transform: uppercase; color: var(--verde); text-decoration: none; 
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: gap .4s ease;
}
.service-card:hover .service-link { gap: 1rem; }

/* Projetos (Alternating Gallery) */
.projects { background: var(--preto-profundo); }
.projects-list { 
  display: flex; flex-direction: column; gap: 8rem; margin-top: 4rem;
}

.project-item { 
  display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center;
}
.project-item:nth-child(even) { 
  direction: rtl;
}
.project-item:nth-child(even) > * { 
  direction: ltr; 
}

.project-image { 
  position: relative; overflow: hidden; display: block; text-decoration: none;
  border-radius: var(--radius-l) var(--radius-s) var(--radius-l) var(--radius-s);
  aspect-ratio: 4/3;
}
.project-item:nth-child(even) .project-image {
  border-radius: var(--radius-s) var(--radius-l) var(--radius-s) var(--radius-l);
}
.project-image img { 
  width: 100%; height: 100%; object-fit: cover; 
  filter: grayscale(80%) brightness(0.6); transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-item:hover .project-image img { filter: grayscale(0%) brightness(1); transform: scale(1.05); }

.project-info { 
  display: flex; flex-direction: column; justify-content: center; padding: 2rem 0;
}
.project-cat { 
  font-family: 'Syne', sans-serif; font-size: 0.65rem; letter-spacing: 0.25em; 
  text-transform: uppercase; color: var(--verde); margin-bottom: 1.2rem; 
  display: flex; align-items: center; gap: 1rem;
}
.project-cat::before {
  content: ''; display: block; width: 30px; height: 1px; background-color: var(--verde);
}
.project-title { 
  font-family: 'DM Serif Display', serif; font-size: 3rem; color: var(--off-white); 
  line-height: 1.1; margin-bottom: 1.5rem; transition: color .4s ease;
}
.project-desc {
  font-weight: 300; font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); 
  margin-bottom: 3rem; max-width: 480px;
}
.project-link {
  font-family: 'Syne', sans-serif; font-size: 0.65rem; letter-spacing: 0.2em; 
  text-transform: uppercase; color: var(--off-white); text-decoration: none; 
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; align-self: flex-start;
  transition: all .4s ease;
}
.project-item:hover .project-link { gap: 1rem; color: var(--verde); border-color: var(--verde); }

/* Metodologia 5S */
.methodology { 
  background: var(--cinza-escuro); border-top: 1px solid var(--border-light); 
}
.method-grid { 
  display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; 
}
.method-visual { 
  position: relative; height: 600px; overflow: hidden; 
  border-radius: var(--radius-s) var(--radius-l) var(--radius-s) var(--radius-s);
}
.method-visual img { 
  width: 100%; height: 100%; object-fit: cover; 
  filter: grayscale(100%); transition: filter 1s ease, transform 1.5s ease;
}
.method-visual:hover img { filter: grayscale(0%); transform: scale(1.05); }

.method-text-wrapper { display: flex; flex-direction: column; }
.method-desc { 
  font-weight: 300; font-size: 1.1rem; line-height: 1.7; color: var(--text-muted); 
  margin-bottom: 3rem;
}

.method-steps { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.method-step { 
  display: flex; align-items: flex-start; gap: 1.5rem; 
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-light);
}
.method-step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num { 
  font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--verde); 
  min-width: 40px; line-height: 1;
}
.step-info h4 { 
  font-family: 'Syne', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em; 
  text-transform: uppercase; color: var(--off-white); margin-bottom: 0.5rem; 
  font-weight: 600;
}
.step-info p { 
  font-weight: 300; font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); 
}

.btn-outline { 
  font-family: 'Syne', sans-serif; font-weight: 500; font-size: 0.75rem; 
  letter-spacing: 0.15em; text-transform: uppercase; padding: 1.2rem 3rem; 
  background: transparent; color: var(--verde); border: 1px solid var(--verde); 
  border-radius: 100px; cursor: pointer; text-decoration: none; 
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block;
  align-self: flex-start;
}
.btn-outline:hover { background: var(--verde); color: var(--preto-profundo); }

/* Footer */
footer { 
  background: var(--cinza-escuro); padding: 8rem 5vw 3rem; 
  border-top: 1px solid var(--border-light); position: relative; z-index: 1;
}
.footer-top { 
  display: grid; grid-template-columns: 4fr 2fr 2fr 2fr; gap: 4rem; padding-bottom: 6rem; 
  border-bottom: 1px solid var(--border-light); 
}
.footer-logo img { height: 50px; margin-bottom: 2.5rem; }
.footer-brand-desc { 
  font-weight: 300; font-size: 1.1rem; line-height: 1.8; color: var(--text-muted); max-width: 400px; 
}
.footer-col h4 { 
  font-family: 'Syne', sans-serif; font-weight: 500; font-size: 0.65rem; 
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--verde); margin-bottom: 2rem; 
}
.footer-col a { 
  display: block; font-size: 0.9rem; font-weight: 300; color: var(--text-muted); 
  text-decoration: none; margin-bottom: 1.2rem; transition: color .4s; 
}
.footer-col a:hover { color: var(--off-white); }

.footer-bottom { 
  display: flex; justify-content: space-between; align-items: center; padding-top: 3rem; 
  font-size: 0.75rem; color: var(--text-muted); font-weight: 300; letter-spacing: 0.05em;
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  background-color: #1EBE55;
  transform: scale(1.1);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Responsive */
@media(max-width: 1024px) {
  .about-grid { display: flex; flex-direction: column-reverse; gap: 4rem; }
  .method-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-visual, .method-visual { height: 400px; width: 100%; }
  .about-text-wrapper { padding-top: 0; }
  .services-grid { grid-template-columns: 1fr; gap: 2rem; }
  .project-item { grid-template-columns: 1fr; gap: 3rem; }
  .project-item:nth-child(even) { direction: ltr; }
  .project-title { font-size: 2.2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .grid-lines::after { display: none; }
}
@media(max-width: 768px) {
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-links { 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--preto-profundo);
    flex-direction: column; justify-content: center; gap: 3rem;
    transform: translateY(-100%); transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }
  .nav-links.active { transform: translateY(0); }
  .nav-links a { font-size: 1.5rem; letter-spacing: 0.2em; }

  .hero h1 { font-size: 3rem; }
  .about-stats { gap: 2rem; justify-content: space-between; }
  .stat-item { width: 40%; }
  .stat-num { font-size: 2rem; }
  section { padding: 6rem 5vw; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  
  .whatsapp-float {
    width: 50px; height: 50px; bottom: 20px; right: 20px;
  }
  .whatsapp-float svg {
    width: 26px; height: 26px;
  }
}
